:root {
  --paper: #f3ede4;
  --paper-deep: #ebe1d5;
  --card: #fffaf3;
  --ink: #1d1c19;
  --muted: #6e665c;
  --muted-light: #70675f;
  --status-muted: #5a534c;
  --line: #ded4c8;
  --orange: #b9481b;
  --orange-dark: #8e3716;
  --orange-soft: #f5d6bd;
  --green: #2f765d;
  --green-soft: #d5e7dc;
  --shadow: 0 18px 50px rgba(65, 42, 24, 0.08);
  --display: 'Manrope', 'Noto Sans SC', system-ui, sans-serif;
  --body: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-shell { overflow: hidden; }
.topbar {
  width: min(1340px, calc(100% - 64px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 700 13px var(--mono);
  letter-spacing: -.08em;
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font: 700 12px var(--mono); letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 500 10px var(--mono); letter-spacing: .04em; }
.secure-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.topbar-divider { width: 1px; height: 15px; background: var(--line); margin: 0 5px; }

main { width: min(1340px, calc(100% - 64px)); margin: 0 auto; }
.hero {
  min-height: 605px;
  padding: 92px 0 50px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: 60px;
}
.eyebrow { margin: 0 0 22px; color: var(--orange-dark); font: 500 11px var(--mono); letter-spacing: .12em; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 9px 3px 0; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; font: 800 clamp(48px, 7vw, 92px)/1.01 var(--display); letter-spacing: -.065em; }
h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 570px; margin-bottom: 34px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }
.button { border: 0; border-radius: 999px; padding: 14px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-weight: 700; font-size: 13px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter-button:focus-visible, .status-button:focus-visible, input:focus-visible, textarea:focus-visible, .upload-trigger:focus-visible { outline: 3px solid rgba(229, 109, 46, .36); outline-offset: 3px; }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 9px 18px rgba(29, 28, 25, .15); }
.button-primary:hover { background: var(--orange); box-shadow: 0 12px 24px rgba(229, 109, 46, .22); }
.button-primary span { color: var(--orange-soft); font-size: 18px; line-height: 0; }
.button-secondary { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--card); }
.autosave-note { color: var(--muted); font-size: 11px; }
.save-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); }

.hero-art { height: 470px; position: relative; }
.hero-orbit { position: absolute; border: 1px solid rgba(229, 109, 46, .3); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 430px; height: 170px; top: 135px; left: 38px; }
.orbit-two { width: 430px; height: 170px; top: 135px; left: 38px; transform: rotate(64deg); border-color: rgba(29, 28, 25, .18); }
.hero-card { position: absolute; width: 246px; height: 369px; overflow: hidden; border-radius: 5px; box-shadow: 0 24px 38px rgba(42, 26, 15, .2); }
.hero-card-back { top: 49px; left: 144px; background: var(--orange); transform: rotate(11deg); }
.hero-card-front { top: 30px; left: 60px; background: #30231b; transform: rotate(-7deg); }
.hero-card-front img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-card-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.66)); }
.hero-card-label { position: absolute; left: 20px; right: 18px; bottom: 20px; z-index: 1; display: grid; gap: 3px; color: #fff; }
.hero-card-label span { font: 11px var(--mono); color: var(--orange-soft); }
.hero-card-label strong { font-size: 18px; }
.hero-sticker { position: absolute; right: 5px; bottom: 37px; width: 95px; height: 95px; display: grid; place-content: center; border-radius: 50%; background: var(--orange); color: #fff; text-align: center; transform: rotate(12deg); font: 700 10px/1.15 var(--mono); letter-spacing: .12em; box-shadow: 0 10px 20px rgba(120, 48, 18, .18); }
.hero-sticker b { font: 800 34px var(--display); letter-spacing: -.1em; }
.hero-footnote { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; align-items: center; gap: 12px; color: var(--muted-light); font: 10px var(--mono); letter-spacing: .1em; }
.hero-footnote .line { width: 70px; height: 1px; background: var(--line); }
.hero-footnote span:last-child { margin-left: auto; }

.review-guide { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.guide-item { display: flex; gap: 16px; }
.guide-number { color: var(--orange); font: 500 12px var(--mono); }
.guide-item strong { font-size: 14px; }
.guide-item p { max-width: 250px; margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.review-section { padding: 105px 0 118px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 13px; }
h2 { margin-bottom: 0; font: 800 clamp(32px, 4vw, 54px)/1.05 var(--display); letter-spacing: -.055em; }
.progress-block { width: min(260px, 35%); padding-bottom: 3px; }
.progress-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: var(--muted); font: 10px var(--mono); }
.progress-label strong { color: var(--ink); font-size: 13px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 10px; background: var(--paper-deep); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .3s ease; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-label, .filter-hint { color: var(--muted-light); font-size: 11px; }
.filter-label { margin-right: 4px; font-family: var(--mono); }
.filter-hint { margin-left: auto; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: transparent; color: var(--muted); font-size: 11px; transition: all .2s ease; }
.filter-button b { margin-left: 5px; font: 10px var(--mono); color: var(--muted-light); }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.filter-button.is-active b, .filter-button:hover b { color: var(--orange-soft); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.module-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--card); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.module-card:hover { transform: translateY(-3px); box-shadow: 0 22px 55px rgba(65, 42, 24, .12); }
.module-card[data-status="changes_requested"] { border-color: #e0a482; }
.module-card[data-status="approved"] { border-color: #a5cbb5; }
.card-media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: #2c2723; }
.card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.module-card:hover .card-media img { transform: scale(1.025); }
.module-number { position: absolute; top: 14px; left: 14px; z-index: 1; display: grid; place-items: center; min-width: 43px; height: 25px; padding: 0 8px; border-radius: 4px; background: rgba(29, 28, 25, .82); color: #fff; font: 10px var(--mono); letter-spacing: .05em; }
.media-actions { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: flex; gap: 6px; }
.annotate-button, .zoom-button { border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 7px 10px; background: rgba(29,28,25,.72); color: #fff; font-size: 10px; backdrop-filter: blur(8px); }
.annotate-button { border-color: rgba(255, 196, 132, .72); background: rgba(142, 55, 22, .86); }
.annotate-button b { display: inline-grid; place-items: center; min-width: 15px; height: 15px; margin-left: 3px; border-radius: 50%; background: #fff1b8; color: #6d2a13; font: 700 9px var(--mono); }
.annotate-button:hover, .zoom-button:hover { background: var(--orange); border-color: var(--orange); }
.card-body { padding: 18px 18px 20px; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.card-heading h3 { margin: 0; font-size: 16px; }
.card-heading small { display: block; margin-bottom: 3px; color: var(--muted-light); font: 10px var(--mono); }
.status-pill { flex: 0 0 auto; border-radius: 999px; padding: 5px 8px; background: var(--paper-deep); color: var(--status-muted); font-size: 10px; white-space: nowrap; }
.module-card[data-status="approved"] .status-pill { background: var(--green-soft); color: var(--green); }
.module-card[data-status="changes_requested"] .status-pill { background: var(--orange-soft); color: var(--orange-dark); }
.status-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 12px; }
.status-button { border: 1px solid var(--line); border-radius: 4px; padding: 8px 3px; background: transparent; color: var(--muted); font-size: 11px; transition: all .18s ease; }
.status-button:hover { border-color: var(--ink); color: var(--ink); }
.status-button.is-active[data-status="approved"] { border-color: var(--green); background: var(--green-soft); color: var(--green); font-weight: 700; }
.status-button.is-active[data-status="changes_requested"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }
.status-button.is-active[data-status="pending"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.field { position: relative; display: grid; gap: 8px; }
.field > span { color: var(--muted); font-size: 11px; }
.field > span i { color: var(--orange); font-style: normal; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; outline: none; background: rgba(255,255,255,.45); color: var(--ink); padding: 11px 12px; font-size: 13px; transition: border .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus { border-color: var(--orange); background: #fffdf9; }
.field textarea { min-height: 88px; resize: vertical; line-height: 1.65; }
.field textarea::placeholder, .field input::placeholder { color: #b0a69c; }
.character-count { position: absolute; right: 10px; bottom: 8px; color: var(--muted-light); font: 9px var(--mono); }
.character-count b { color: var(--muted); font-weight: 500; }
.upload-box { margin-top: 15px; padding-top: 14px; border-top: 1px dashed var(--line); }
.upload-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px dashed #cbbdae; border-radius: 5px; padding: 10px 11px; background: transparent; color: var(--muted); font-size: 11px; transition: all .2s ease; }
.upload-trigger:hover { border-color: var(--orange); color: var(--orange-dark); background: #fff6ee; }
.upload-trigger strong { color: var(--orange); font-size: 16px; font-weight: 400; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.file-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 8px; }
.file-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--paper-deep); }
.file-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.file-thumb button { position: absolute; top: 2px; right: 2px; width: 17px; height: 17px; border: 0; border-radius: 50%; background: rgba(29,28,25,.78); color: #fff; line-height: 13px; font-size: 14px; }
.file-thumb button:hover { background: var(--orange); }
.file-error { margin: 7px 0 0; color: var(--orange-dark); font-size: 10px; }

.submission-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 160px); padding: 95px max(0px, 7vw) 110px; border-top: 1px solid var(--line); }
.submission-intro h2 { max-width: 330px; margin-bottom: 20px; }
.submission-intro > p:not(.eyebrow) { max-width: 340px; margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.submission-tip { max-width: 340px; padding: 13px 15px; border-radius: 5px; background: var(--orange-soft); color: var(--orange-dark); font-size: 11px; line-height: 1.7; }
.submission-tip span { margin-right: 5px; font-size: 16px; }
.review-form { display: grid; gap: 22px; align-content: start; }
.form-row { display: grid; gap: 15px; }
.two-columns { grid-template-columns: 1fr 1fr; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; }
.submit-summary { display: grid; gap: 4px; }
.submit-summary strong { font-size: 13px; }
.submit-summary span { color: var(--muted); font-size: 11px; }
.button-submit { padding-left: 22px; padding-right: 18px; }
.form-message { min-height: 18px; margin: -7px 0 0; color: var(--orange-dark); font-size: 12px; }
.form-message.is-success { color: var(--green); }
.success-state { margin: 30px 0 110px; padding: 80px 30px; border: 1px solid #b8d5c3; border-radius: 10px; background: var(--green-soft); text-align: center; }
.success-symbol { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: 25px; }
.success-state .eyebrow { color: var(--green); }
.success-state h2 { margin-bottom: 15px; }
.success-state > p:not(.eyebrow) { max-width: 420px; margin: 0 auto 25px; color: #477363; font-size: 13px; line-height: 1.8; }
.review-id-box { display: inline-grid; gap: 5px; margin-bottom: 27px; padding: 11px 18px; border: 1px dashed #9fc2ad; border-radius: 5px; background: rgba(255,255,255,.38); }
.review-id-box span { color: #5f8873; font-size: 10px; }
.review-id-box strong { color: var(--green); font: 12px var(--mono); }
.site-footer { width: min(1340px, calc(100% - 64px)); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted-light); font: 9px var(--mono); letter-spacing: .05em; }

.lightbox { width: min(92vw, 520px); max-height: 94vh; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; background: #1d1c19; color: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(25, 18, 12, .76); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(94vh - 60px); display: block; object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(29,28,25,.72); color: #fff; font-size: 23px; line-height: 1; }
.lightbox-close:hover { background: var(--orange); }
.lightbox-caption { display: flex; align-items: center; gap: 12px; padding: 11px 15px 13px; }
.lightbox-caption span { color: var(--orange-soft); font: 10px var(--mono); }
.lightbox-caption strong { font-size: 13px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: min(340px, calc(100% - 44px)); transform: translateY(20px); opacity: 0; pointer-events: none; padding: 12px 15px; border-radius: 5px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 12px; transition: all .25s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast.is-error { background: var(--orange-dark); }

/* Multi-point annotation editor */
.annotation-summary { display: flex; align-items: center; gap: 7px; min-height: 30px; margin: 0 0 14px; padding: 7px 9px; border: 1px dashed var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; }
.annotation-summary.has-annotations { border-style: solid; border-color: #e7b290; background: #fff6ee; color: var(--orange-dark); }
.annotation-summary-icon { color: var(--orange); font-size: 15px; }
.annotation-summary button { margin-left: auto; border: 0; padding: 0; background: transparent; color: var(--orange-dark); font-size: 10px; font-weight: 700; }
.annotation-summary button:hover { text-decoration: underline; }
.annotation-dialog { width: min(1180px, 96vw); max-width: 1180px; height: min(94vh, 900px); max-height: 94vh; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: #211e1b; color: #fff; box-shadow: 0 30px 120px rgba(0,0,0,.48); }
.annotation-dialog::backdrop { background: rgba(26, 18, 12, .78); backdrop-filter: blur(5px); }
.annotation-editor { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.annotation-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 24px 28px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.annotation-header .eyebrow { margin-bottom: 9px; color: #f3a06d; }
.annotation-header h2 { color: #fff; font-size: 28px; }
.annotation-header p:not(.eyebrow) { margin: 7px 0 0; color: #b9aea4; font-size: 12px; }
.annotation-header .lightbox-close { position: static; flex: 0 0 auto; background: rgba(255,255,255,.1); }
.annotation-header .lightbox-close:hover { background: var(--orange); }
.annotation-workspace { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.annotation-stage-wrap { min-width: 0; min-height: 0; display: grid; place-items: center; padding: 20px; background: #171513; }
.annotation-stage { position: relative; width: auto; height: min(100%, 700px); max-width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(255,255,255,.17); background: #2d2925; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.annotation-stage img { width: 100%; height: 100%; display: block; object-fit: contain; }
.annotation-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.annotation-empty-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); pointer-events: none; padding: 8px 11px; border-radius: 999px; background: rgba(20,18,16,.76); color: #eee0d5; font-size: 11px; white-space: nowrap; transition: opacity .2s ease; }
.annotation-empty-hint[hidden] { opacity: 0; }
.annotation-sidebar { min-width: 0; min-height: 0; overflow: auto; padding: 22px 18px; background: #292622; }
.annotation-sidebar-heading, .annotation-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.annotation-sidebar-heading strong, .annotation-list-heading strong { font-size: 13px; }
.annotation-sidebar-heading span, .annotation-list-heading span { color: #9f958c; font: 10px var(--mono); }
.annotation-tools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 9px; }
.annotation-tool { min-width: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 9px 3px 8px; background: transparent; color: #c5bbb2; font-size: 17px; line-height: 1; }
.annotation-tool span { display: block; margin-top: 6px; font-size: 9px; }
.annotation-tool:hover, .annotation-tool.is-active { border-color: #f09a65; background: rgba(229,109,46,.2); color: #ffd9bf; }
.annotation-tool-hint { min-height: 34px; margin: 0 0 13px; color: #a69b91; font-size: 10px; line-height: 1.7; }
.annotation-utility-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; }
.annotation-utility { border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: 8px; background: transparent; color: #c5bbb2; font-size: 10px; }
.annotation-utility:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.annotation-utility-danger:hover { border-color: #e98959; color: #ffc4a1; }
.annotation-list-heading { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.annotation-list { display: grid; gap: 9px; margin-top: 12px; }
.annotation-list-empty { margin: 10px 0; padding: 18px 10px; border: 1px dashed rgba(255,255,255,.15); border-radius: 4px; color: #968b82; text-align: center; font-size: 10px; line-height: 1.7; }
.annotation-item { padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(0,0,0,.13); }
.annotation-item.is-active { border-color: #df8859; background: rgba(229,109,46,.13); }
.annotation-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.annotation-item-heading button { border: 0; padding: 0; background: transparent; color: #d6ccc3; font-size: 10px; }
.annotation-item-heading button:first-child { color: #ffc19a; font-weight: 700; text-align: left; }
.annotation-item-heading button:hover { color: #fff; text-decoration: underline; }
.annotation-item .field { gap: 5px; }
.annotation-item .field > span { color: #9f958c; font-size: 10px; }
.annotation-item textarea { min-height: 54px; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font-size: 11px; }
.annotation-item textarea:focus { border-color: #e98959; background: rgba(255,255,255,.1); }
.annotation-item textarea::placeholder { color: #877d75; }
.annotation-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 28px; border-top: 1px solid rgba(255,255,255,.12); background: #211e1b; }
.annotation-footer > div { display: flex; gap: 8px; }
.annotation-footer .button-secondary { border-color: rgba(255,255,255,.22); color: #d1c6bd; }
.annotation-message { min-height: 18px; margin: 0; color: #a9cdb6; font-size: 11px; }
.annotation-message.is-error { color: #ffb08a; }

/* Admin view */
.admin-shell { min-height: 100vh; }
.admin-main { padding-top: 55px; padding-bottom: 80px; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.admin-header h1 { max-width: none; margin-bottom: 0; font-size: clamp(36px, 5vw, 62px); }
.admin-header p:not(.eyebrow) { max-width: 410px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.admin-toolbar strong { font-size: 14px; }
.admin-toolbar span { color: var(--muted); font-size: 12px; }
.admin-review-list { display: grid; gap: 15px; }
.admin-empty { padding: 55px 20px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; font-size: 13px; }
.admin-review { border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); }
.admin-review-summary { display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: center; gap: 20px; padding: 20px; }
.admin-review-summary h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.03em; }
.admin-review-summary p { margin: 0; color: var(--muted); font-size: 11px; }
.admin-stat { display: grid; gap: 3px; }
.admin-stat span { color: var(--muted-light); font: 10px var(--mono); }
.admin-stat strong { font-size: 14px; }
.admin-review-toggle { border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; background: transparent; font-size: 11px; }
.admin-review-toggle:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.admin-detail { display: none; padding: 0 20px 22px; border-top: 1px solid var(--line); }
.admin-review.is-open .admin-detail { display: block; }
.admin-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.admin-detail-top h3 { margin: 0; font-size: 14px; }
.admin-detail-top a { color: var(--orange-dark); font-size: 11px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-module { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 5px; }
.admin-module[data-status="approved"] { background: #f2f8f3; border-color: #c7dfcf; }
.admin-module[data-status="changes_requested"] { background: #fff6ee; border-color: #e8c0a7; }
.admin-module-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 10px; }
.admin-module-head strong { font-size: 12px; }
.admin-module-head span { color: var(--muted); font: 9px var(--mono); }
.admin-module p { min-height: 18px; margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.admin-annotation-preview { position: relative; width: 100%; margin: 0 0 10px; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 4px; background: #2c2723; }
.admin-annotation-preview img, .admin-annotation-preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.admin-annotation-preview canvas { pointer-events: none; }
.admin-annotation-list { display: grid; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.admin-annotation-list li { display: grid; grid-template-columns: auto auto; gap: 3px 8px; padding: 7px 8px; border-radius: 4px; background: rgba(229,109,46,.09); font-size: 10px; }
.admin-annotation-list li strong { color: var(--orange-dark); }
.admin-annotation-list li > span { margin-left: auto; color: var(--muted-light); font: 9px var(--mono); }
.admin-annotation-list li p { grid-column: 1 / -1; min-height: 0; margin: 0; color: var(--muted); font-size: 10px; }
.admin-module ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.admin-module li a { display: block; overflow: hidden; width: 46px; height: 46px; border-radius: 3px; background: var(--paper-deep); }
.admin-module li img { width: 100%; height: 100%; object-fit: cover; }
.admin-overall { margin: 0 0 15px; padding: 13px; border-radius: 5px; background: var(--paper-deep); color: var(--muted); font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.admin-copy-button { border: 0; padding: 0; background: transparent; color: var(--orange-dark); font-size: 11px; }
.admin-copy-button:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
  .hero-art { transform: scale(.82); transform-origin: center right; margin-right: -48px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submission-section { padding-left: 0; padding-right: 0; gap: 50px; }
  .admin-review-summary { grid-template-columns: 1.4fr 1fr auto; }
  .admin-review-summary .admin-stat:nth-child(3) { display: none; }
}
@media (max-width: 680px) {
  .topbar, main, .site-footer { width: min(100% - 36px, 520px); }
  .topbar { height: 70px; }
  .topbar-meta { font-size: 0; }
  .topbar-meta .secure-dot { margin-right: 5px; }
  .topbar-meta::after { content: 'PRIVATE LINK'; font-size: 9px; }
  .topbar-divider, #header-version { display: none; }
  .hero { display: block; min-height: auto; padding: 70px 0 50px; }
  h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero-intro { font-size: 14px; }
  .hero-art { width: 100%; height: 360px; margin: 38px 0 0; transform: scale(.74); transform-origin: center; }
  .hero-footnote { bottom: 0; }
  .review-guide { grid-template-columns: 1fr; gap: 20px; padding: 25px 0; }
  .guide-item p { max-width: none; }
  .review-section { padding: 70px 0 78px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .progress-block { width: 100%; margin-top: 26px; }
  .filter-hint { width: 100%; margin: 5px 0 0; }
  .module-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-media { aspect-ratio: 2 / 3; }
  .submission-section { display: block; padding: 65px 0 80px; }
  .submission-intro { margin-bottom: 38px; }
  .two-columns { grid-template-columns: 1fr; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .button-submit { width: 100%; }
  .site-footer { display: grid; gap: 8px; }
  .admin-main { padding-top: 35px; }
  .media-actions { right: 8px; bottom: 8px; gap: 4px; }
  .annotate-button, .zoom-button { padding: 7px 8px; font-size: 9px; }
  .annotation-workspace { grid-template-columns: 1fr; }
  .annotation-stage-wrap { min-height: 0; }
  .annotation-sidebar { max-height: 34vh; }
  .annotation-list { max-height: 190px; }
  .admin-header { display: block; }
  .admin-header p:not(.eyebrow) { margin-top: 20px; }
  .admin-review-summary { grid-template-columns: 1fr auto; gap: 14px; }
  .admin-review-summary .admin-stat { display: none; }
  .admin-detail-grid { grid-template-columns: 1fr; }
}
