:root {
  font-family: Arial, sans-serif;
  color: #2a302a;
  background: #faf9f6;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 4vw;
  border-bottom: 1px solid #deddd6;
  font-size: 11px;
  letter-spacing: 1px;
}
a {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-family: Georgia, serif;
  font-size: 30px;
  text-align: center;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font: 8px Arial;
  letter-spacing: 2px;
  margin-top: 8px;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 55px 4vw;
}
h1,
h2 {
  font:
    normal clamp(36px, 4vw, 62px)/1.12 Georgia,
    serif;
  letter-spacing: -1px;
}
h2 {
  font-size: 36px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.intro {
  text-align: center;
  margin-bottom: 50px;
}
.intro h1 {
  margin: 20px 0;
}
p {
  line-height: 1.7;
  color: #656a60;
}
.layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7vw;
}
.wall {
  min-height: 620px;
  background: #e8e5df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px;
}
#portrait {
  width: 85%;
  max-height: 660px;
  object-fit: contain;
  box-shadow:
    6px 12px 15px #211b2033,
    25px 35px 50px #211b202b;
  border: 9px solid #fff;
}
#placeholder {
  text-align: center;
  font: 32px Georgia;
  color: #777c6d;
}
#placeholder em {
  font-size: 21px;
}
.panel {
  padding: 25px 0;
}
.panel h2 {
  margin: 16px 0;
}
.price {
  font-size: 24px;
  color: #2a302a;
}
.price small {
  font-size: 12px;
  color: #73796e;
}
.note {
  background: #efeee5;
  padding: 12px;
  font-size: 12px;
}
label {
  display: block;
  font-size: 13px;
  margin: 24px 0 10px;
}
input,
select,
button,
.button {
  font: 14px Arial;
  width: 100%;
  padding: 15px;
  border: 1px solid #d5d6cd;
  background: white;
  border-radius: 0;
}
button,
.button {
  display: block;
  background: #344535;
  color: #fff;
  border: none;
  margin-top: 24px;
  cursor: pointer;
  text-align: center;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input[type="file"] {
  font-size: 12px;
}
.hint {
  font-size: 12px;
  color: #73796e;
}
details {
  font-size: 13px;
  padding-top: 20px;
}
summary {
  cursor: pointer;
}
#progress {
  font-size: 14px;
  padding-top: 20px;
  line-height: 1.6;
}
#error {
  color: #992f2f;
}
#login {
  max-width: 620px;
  margin: 40px auto 100px;
}
#login-form {
  max-width: 380px;
}
.history {
  margin-top: 50px;
}
.history h2 {
  font-size: 25px;
}
#history {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#history button {
  width: auto;
  margin: 0;
  background: #eeeee7;
  color: #344535;
}
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid #deddd6;
  font-size: 11px;
  color: #73796e;
}
[hidden] {
  display: none !important;
}
@media (max-width: 750px) {
  header > span {
    display: none;
  }
  .brand {
    font-size: 25px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wall {
    min-height: 400px;
    padding: 35px;
  }
  main {
    padding: 35px 6vw;
  }
  #portrait {
    max-height: 500px;
  }
  .intro {
    margin-bottom: 30px;
  }
  h1 {
    font-size: 38px;
  }
  .panel {
    padding: 0;
  }
}

input[type="checkbox"] { width: auto; display: inline-block; margin: 0 8px 0 0; }
