* { box-sizing: border-box }
:root {
  color-scheme: dark;
  --paper: #281e26;
  --input: #372b34;
  --ink: #f3e6e9;
  --heading: #f0becf;
  --muted: #cdb9c2;
  --rule: #6a505f;
  --border: #a48898;
  --button: #e8a5bf;
}
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.4 "Segoe UI", sans-serif }
main { max-width: 38rem; padding: 0 19px 18px; margin: auto }
header, h1, h2, h3 { font-family: Georgia, serif; color: var(--heading) }
header { font-size: 1.8125rem; font-weight: bold; padding: 10px 0 15px; border-bottom: 1px solid var(--rule) }
h1, h2 { font-size: 1.875rem; line-height: 1.12; letter-spacing: -.075rem; margin: 0 }
h2 { margin: 24px 0 16px }
h3 { font-size: 1.15rem; margin: 18px 0 4px }
p { margin: 12px 0 0 }
.intro { padding: 23px 0 24px }
.intro.with-photo { display: grid; grid-template-columns: minmax(0,1fr) clamp(82px,27.18vw,106px); align-items: center; gap: 10px }
.intro h1 { font-size: 1.625rem }
.portrait { width: 100%; height: auto; aspect-ratio: 106/141; object-fit: cover; border: 4px solid #f9f2ed; transform: rotate(4deg); box-shadow: 0 2px 4px #3c172427 }
.rates { border-block: 1px solid var(--rule) }
summary { display: flex; align-items: center; justify-content: space-between; padding: 8px 3px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600 }
summary::-webkit-details-marker { display: none }
.plus { width: 11px; height: 11px; position: relative; margin-right: 3px }
.plus::before,.plus::after { content: ""; position: absolute; inset: 5px 0 4.5px; background: currentColor }
.plus::after { transform: rotate(90deg) }
details[open] .plus::after { display: none }
.terms { padding: 0 3px 18px }
.terms p { margin-top: 5px }
.group { margin: 0 0 19px }
label, legend { display: block; font-weight: 600; margin: 0 0 8px; padding: 0 }
fieldset { padding: 0; border: 0; min-width: 0 }
input, select, textarea, button { font: inherit; color: inherit }
input:not([type=radio]), select, textarea, .choice {
  width: 100%; padding: 9px 12px; background: var(--input); border: 1px solid var(--border); border-radius: 5px;
}
input:not([type=radio]), select, .choice { min-height: 44px }
input::placeholder { color: var(--muted); opacity: 1 }
textarea { display: block; height: 105px; resize: vertical }
:focus-visible { outline: 3px solid #ffb8d4; outline-offset: 3px }
.row { display: flex; gap: 10px }
.choice { cursor: pointer; flex: 1; display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 400 }
.choice:has(:checked) { background: #efdae0; border-color: #a3506e }
input[type=radio] { appearance: none; margin: 0; border: 1.5px solid #806965; border-radius: 50%; width: 19px; height: 19px; display: grid; place-items: center }
input[type=radio]:checked { border-color: #812647 }
input[type=radio]:checked::after { content: ""; width: 9px; height: 9px; background: #812647; border-radius: 50% }
@media (forced-colors: active) { input[type=radio] { appearance: auto } }
.handle-label { display: flex; align-items: center; gap: 5px; margin-bottom: 8px }
.handle-label label { margin: 0 }
.help-toggle { min-width: 28px; min-height: 28px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--heading); font-weight: 600; cursor: pointer }
.handle-help { margin: 0 0 10px; font-size: .9375rem }
.item-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.item-counts label { margin: 0; font-size: .9375rem; font-weight: 400 }
.item-counts select { display: block; margin-top: 5px }
.video-lengths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); gap: 10px }
.video-length { display: none; margin-top: 12px }
.video-length label { font-size: .9375rem; font-weight: 400; margin-bottom: 5px }
.items:has(#video_count option:checked:not([value="0"])) .length-1,
.items:has(#video_count option:checked:is([value="2"],[value="3"])) .length-2,
.items:has(#video_count option[value="3"]:checked) .length-3 { display: block }
.primary { display: block; width: 100%; cursor: pointer; text-align: center; border: 0; border-radius: 5px; background: var(--button); color: #371e2d; font-weight: 600; padding: 11px; text-decoration: none }
.primary:hover { background: #f4bed2 }
.primary:disabled { background: #50404b; color: var(--muted); cursor: default }
.reply,.note { font-size: .875rem; margin-top: 8px }
.reply { text-align: center }
a,.text-button { color: var(--heading); text-underline-offset: .18em }
.panel { padding: 26px 0 }
.panel .primary,.panel .group { margin-top: 20px }
.error { color: #ffb4b8; margin-bottom: 12px; font-weight: 600 }
[aria-invalid=true] { border-color: #ffb4b8 }
.lower-photo { display: block; max-width: 80%; max-height: 24rem; margin: 30px auto 12px; border: 5px solid var(--input) }
@media (prefers-reduced-motion: no-preference) {
  .in-view { animation: settle .35s ease-out }
  @keyframes settle { from { transform: translateY(3px) } to { transform: translateY(0) } }
}
.admin { max-width: 48rem; overflow-wrap: anywhere }
.queue-heading,.order-top,.order-meta,.order-actions { display: flex; align-items: center; gap: 12px }
.queue-heading,.order-top,.order-meta { justify-content: space-between }
.queue-heading { margin: 24px 0 16px }
.text-button,.secondary { background: transparent; cursor: pointer; min-height: 44px }
.text-button { border: 0; text-decoration: underline }
.secondary { border: 1px solid var(--border); padding: 9px 16px; border-radius: 5px }
.queue-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--rule) }
.admin nav a,.back-link { display: inline-block; padding: 12px 0; text-underline-offset: 4px }
.admin .queue-tabs a { text-decoration: none }
.queue-tabs a[aria-current] { font-weight: 650; border-bottom: 2px solid var(--button) }
.order-list { padding: 0; margin: 0; list-style: none }
.order-link { display: block; padding: 16px 6px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none }
.order-link:hover,.order-link:focus-visible { background: var(--input) }
.order-top strong { font-size: 1.0625rem }
.order-status { font-size: .875rem; color: var(--heading) }
.order-status.status-new { padding: 3px 9px; border-radius: 3px; background: #ffdb94; color: #462d17; font-weight: 750; letter-spacing: .055em; text-transform: uppercase }
.order-items { margin: 4px 0 6px }
.order-meta,.detail-meta { font-size: .875rem; color: var(--muted) }
.order-meta { flex-wrap: wrap; gap: 2px 10px }
.order-detail { max-width: 41rem }
.back-link { margin: 7px 0 12px }
.detail-block { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 17px }
.detail-block h2 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: -.03rem }
.requested-items { margin: 13px 0 }
.requested-items div { display: flex; justify-content: space-between; padding: 4px 0; gap: 12px }
.requested-items dt { color: var(--muted) }
.requested-items dd { margin: 0 }
.description { white-space: pre-wrap; margin-top: 12px }
.admin-fields { margin: 14px 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)) }
.admin-fields label { margin: 0; font-size: .9375rem }
.admin-fields input,.admin-fields select { margin-top: 6px; font-weight: 400 }
.order-actions { flex-wrap: wrap; margin-top: 18px }
.order-actions .primary { margin: 0 }
.compact { width: auto; padding-inline: 16px }
.notice,.empty { padding: 11px 0 }
.admin nav a + a { margin-left: 7px }
@media (min-width: 700px) {
  main { padding: 24px 24px 36px }
  .intro.with-photo { grid-template-columns: 1fr 120px; gap: 30px }
  .intro { padding: 27px 0 }
  .intro h1 { font-size: 2rem }
  .intro p { max-width: 32ch }
}


