:root {
    color-scheme: dark;
    --ink: #f2eee6;
    --muted: #b8b2a7;
    --gold: #d8b778;
    --gold-light: #edcf94;
    --line: #373228;
    --paper: #0d0d0c;
    --panel: #171715;
    --field: #10100f;
    --radius: 4px;
    --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
::selection { background: var(--gold); color: #17130d; }
a { color: var(--gold); text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--gold-light); text-decoration: underline; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--gold-light); }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
form { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--gold); color: #17130d; }
.skip-link:focus { top: 12px; color: #17130d; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 108px; padding: 16px 4vw; background: #10100f; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 22px; align-items: center; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-logo { display: block; width: 82px; flex-shrink: 0; }
.brand-type { border-left: 1px solid #655439; padding-left: 22px; font-size: 14px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.brand small { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; letter-spacing: .19em; color: var(--gold); }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 24px; }
nav a, .text-button { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 14px; }
.text-button { background: none; border: 0; padding: 0 4px; }
.text-button:hover { color: var(--gold-light); }
.nav-caption { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
main { max-width: 1440px; min-height: calc(100vh - 193px); margin: auto; padding: 48px 4vw 72px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.1; margin: 12px 0 18px; }
h2 { font-size: 32px; line-height: 1.2; margin: 0 0 18px; }
h3 { font-size: 18px; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; color: var(--gold); }
.lede { max-width: 660px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 12px 0 26px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.page-heading .lede { margin-bottom: 0; }
.badge { display: inline-block; padding: 5px 11px; border: 1px solid #5c4c31; border-radius: 3px; background: #292419; color: #e2c591; font-size: 13px; font-weight: 500; white-space: nowrap; }
a.badge { padding: 10px 13px; white-space: normal; }
a.badge:hover { background: #3a3020; text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; margin: 28px 0; border: 1px solid var(--line); border-top: 2px solid #8b7045; border-radius: var(--radius); background: var(--panel); }
.stats > div { padding: 25px 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats small { color: var(--muted); font-size: 14px; }
.stats strong { display: block; margin-top: 8px; color: var(--gold-light); font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1.15; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats em { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; font-style: normal; letter-spacing: 0; }
.stats strong.smaller { padding-top: 10px; font-size: 30px; }
.notice, .error { margin: 24px 0; padding: 17px 21px; border: 1px solid #4d412c; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: #221e16; color: #ded4c1; font-size: 15px; }
.error { border-color: #744443; border-left-color: #e99e98; background: #2b1b1b; color: #f3c1bd; }
.panel { overflow: hidden; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.filters { display: flex; gap: 16px; align-items: end; padding: 24px; border-bottom: 1px solid var(--line); background: #1b1a17; }
label { display: block; color: #e0dbd0; font-size: 14px; font-weight: 500; }
.grow { flex: 1; min-width: 0; }
input, select, textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #676052; border-radius: 3px; padding: 12px 14px; color: var(--ink); background: var(--field); }
input::placeholder, textarea::placeholder { color: #9e978a; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #9b855e; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input[type=hidden] { display: none; }
input[type=checkbox] { display: inline-block; width: 19px; height: 19px; margin: 0 9px 0 0; vertical-align: -4px; accent-color: var(--gold); }
textarea { min-height: 110px; resize: vertical; }
.button { display: inline-flex; gap: 24px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 21px; border: 1px solid var(--gold); border-radius: 3px; color: #16120c; background: var(--gold); font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; }
.button:hover { color: #16120c; background: var(--gold-light); border-color: var(--gold-light); text-decoration: none; }
.button.secondary { color: var(--gold-light); border-color: #8c734b; background: transparent; }
.button.secondary:hover { color: #f3dcaf; border-color: var(--gold); background: #2b251b; }
.button:disabled { color: #aca394; border-color: #51493b; background: #29251f; cursor: not-allowed; }
.full { width: 100%; margin-top: 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
th { padding: 16px 24px; border-bottom: 1px solid var(--line); color: #c9bda5; background: #1c1b17; font-weight: 500; }
td { padding: 20px 24px; border-bottom: 1px solid #302d26; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #1d1c18; }
td small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.client-name { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 400; }
.row-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.pagination a { display: inline-flex; align-items: center; min-height: 44px; }
.muted { color: var(--muted); font-size: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; }
.split > * { min-width: 0; }
.pad { padding: 28px; }
.stack > * + * { margin-top: 20px; }
.file-path { max-width: 650px; min-width: 180px; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
code { padding: 3px 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--field); color: var(--gold-light); font-size: 14px; overflow-wrap: anywhere; }
.plain { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--gold); font-size: 14px; text-align: left; }
.plain:hover { color: var(--gold-light); text-decoration: underline; text-underline-offset: 5px; }
.event { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.event small, .recipient small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.recipient { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.deadline { flex-shrink: 0; padding: 8px 0 8px 24px; border-left: 1px solid var(--gold); }
.deadline span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.deadline strong { color: var(--gold-light); font-family: var(--serif); font-size: 26px; font-weight: 400; }
.bundle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bundle { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 22px; border: 1px solid var(--line); border-top: 2px solid #8b7045; border-radius: var(--radius); background: #121210; }
.bundle strong { color: var(--gold-light); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.bundle .button { width: 100%; }
.collection-card { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-left: 2px solid #8b7045; padding: 30px 34px; }
.collection-card h2 { margin-bottom: 12px; font-size: 36px; }
.collection-card p:last-child { color: var(--muted); }
.empty-state { max-width: 680px; margin: 40px auto; padding: 50px 0; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 28px 4vw; border-top: 1px solid var(--line); background: #10100f; color: var(--muted); font-size: 12px; }
.site-footer > span:first-child { color: #d1c3a8; letter-spacing: .06em; }
.footer-divider { margin: 0 12px; color: #8b7045; }

/* The sign-in screen frames the original white studio mark in black and gold. */
.login-page { background: radial-gradient(ellipse at 20% 35%, #201c13 0, #0d0d0c 65%); }
.login-page main { max-width: 1300px; padding-top: 42px; padding-bottom: 48px; }
.login-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 624px; border: 1px solid #453b28; border-radius: 4px; background: #131310; box-shadow: 0 24px 70px #0005; }
.login-story { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 38px 44px; border-right: 1px solid #453b28; background: radial-gradient(ellipse at 50% 44%, #282217 0, #15140f 49%, #0c0c0b 100%); text-align: center; }
.login-story::before { position: absolute; inset: 16px; border: 1px solid #6a55372e; content: ""; pointer-events: none; }
.story-logo { position: relative; display: block; width: 222px; margin: 0 0 12px; }
.login-story .eyebrow { font-size: 12px; letter-spacing: .23em; }
.story-title { margin: 12px 0 20px; color: #f3ede0; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); line-height: 1.1; letter-spacing: -.035em; }
.story-title em { color: var(--gold-light); font-weight: 400; }
.story-note { color: #bcb19d; font-size: 14px; line-height: 1.8; }
.story-rule { display: block; width: 48px; height: 1px; margin-top: 28px; background: #8b7045; }
.login { align-self: center; width: 100%; max-width: 500px; margin: 0 auto; padding: 48px clamp(26px, 4.5vw, 64px); }
.login h1 { margin-bottom: 24px; font-size: clamp(38px, 4vw, 54px); }
.login .lede { font-size: 16px; }
.login form { margin-top: 30px; }
.login label + label { margin-top: 22px; }
.login input { min-height: 52px; }
.login .button { justify-content: space-between; min-height: 52px; margin-top: 28px; }
.login-privacy { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: #d0c5b0; font-family: var(--serif); font-size: 18px; }
.login-privacy span { display: block; margin-top: 7px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; line-height: 1.7; }
.login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: 14px; }
.login-options label { margin: 0; }
.admin-login-hint { margin-top: 18px; }
.account-panel { max-width: 640px; }
.centered-panel { margin: 24px auto; }
.account-note { margin-top: 24px; }

@media (max-width: 1000px) {
    .bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats > div { padding: 22px; }
    .split { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 18px; }
    .login-story { padding-left: 26px; padding-right: 26px; }
    .login { padding-left: 30px; padding-right: 30px; }
}
@media (max-width: 800px) {
    main { padding: 30px 5vw 48px; }
    .top { padding: 14px 5vw; gap: 18px; }
    .brand { gap: 14px; }
    .brand-type { padding-left: 14px; font-size: 12px; letter-spacing: .08em; }
    .brand small { letter-spacing: .1em; }
    .brand-logo { width: 68px; }
    nav { gap: 14px; }
    .nav-caption { display: none; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats > div { padding: 20px; }
    .stats > div:nth-child(2) { border-right: 0; }
    .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stats strong { font-size: 36px; }
    .page-heading { display: block; }
    .page-heading > .badge, .page-heading > .button { margin-top: 22px; }
    .filters { flex-wrap: wrap; padding: 20px; }
    .filters .grow { flex-basis: 100%; }
    .split { display: block; }
    .pad { padding: 24px; }
    th, td { padding: 16px; }
    .deadline { margin-top: 26px; }
    .collection-card { display: block; padding: 26px; }
    .collection-card > .button { margin-top: 24px; }
}
@media (max-width: 680px) {
    .top { flex-wrap: wrap; min-height: 94px; }
    .brand-type { font-size: 12px; }
    .top nav:has(a) { gap: 24px; width: 100%; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 6px; }
    .login-page main { padding: 22px 5vw 32px; }
    .login-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .login-story { flex-direction: row; gap: 22px; padding: 22px 20px; border-right: 0; border-bottom: 1px solid #453b28; }
    .login-story::before { inset: 10px; }
    .story-logo { width: 110px; margin: 0; }
    .story-title { margin: 0; font-size: clamp(25px, 6.3vw, 36px); text-align: left; }
    .login-story .eyebrow, .story-note, .story-rule { display: none; }
    .login { max-width: 480px; padding: 30px 26px; }
    .login h1 { font-size: 42px; margin-bottom: 20px; }
    .login form { margin-top: 26px; }
    .login-privacy { margin-top: 24px; }
    .bundle-grid { grid-template-columns: minmax(0, 1fr); }
    .recipient { align-items: flex-start; flex-direction: column; }
    .pagination { padding: 14px 18px; gap: 12px; flex-wrap: wrap; }
    .site-footer { padding: 24px 5vw; }
}
@media (prefers-reduced-motion: no-preference) {
    a, button, input, select, textarea { transition: color .16s ease, border-color .16s ease, background-color .16s ease; }
}

.recovery-details { margin: 18px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.recovery-details summary { cursor: pointer; color: var(--gold); }
.recovery-details form { margin-top: 20px; max-width: 560px; }

.request-notes{white-space:pre-wrap;overflow-wrap:anywhere}
