:root {
  --paper: #f5f3ed; --surface: #fcfbf8; --wash: #eeeee5; --ink: #272922;
  --muted: #666b5e; --line: #dedfd4; --accent: #596443; --soft-accent: #e7eadf;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
[hidden] { display: none !important; }
::selection { background: var(--soft-accent); }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
em { color: var(--accent); font-weight: 400; }
.page-shell { max-width: 1264px; margin: auto; padding: 0 48px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 28px/1 var(--serif); letter-spacing: -1px; }
.brand-logo { position: relative; display: block; width: 1em; height: 1em; flex: 0 0 1em; overflow: hidden; }
/* Crop the supplied image's transparent margin without resampling the logo. */
.brand-logo img { position: absolute; display: block; width: 142.5%; height: auto; max-width: none; left: -21.02%; top: -19.2%; }
.brand-divider { width: 1px; height: 19px; background: var(--line); margin: 0 7px; }
.product-label { font: 10px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: .14em; color: var(--muted); }
.masthead-note { font-size: 9px; letter-spacing: .16em; color: var(--muted); }
.page-intro { padding: 35px 0 30px; display: grid; grid-template-columns: 1.3fr 1fr; column-gap: 50px; align-items: end; }
.eyebrow { font-size: 9px; font-weight: 650; letter-spacing: .18em; color: var(--accent); margin-bottom: 12px; }
.page-intro > .eyebrow { grid-column: 1/-1; margin-bottom: 13px; }
.page-intro h1 { font-size: clamp(36px, 3.6vw, 49px); margin: 0; }
.intro-copy { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 5px; max-width: 350px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); align-items: start; }
.assignment { padding: 27px 30px 28px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
.panel-heading h2 { font-size: 28px; margin: 0; }
.section-caption { font-size: 8px; letter-spacing: .14em; color: var(--muted); max-width: 110px; text-align: right; }
.field-section { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.field-section legend { display: flex; align-items: center; gap: 8px; width: 100%; margin-bottom: 12px; padding: 0; font-size: 9px; letter-spacing: .16em; color: var(--muted); font-weight: 650; }
.field-section legend::after { content: ''; flex: 1; height: 1px; margin-left: 4px; background: var(--line); }
.section-number { font-size: 8px; letter-spacing: 0; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; width: 20px; height: 20px; display: inline-grid; place-items: center; }
.person-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 12px; min-width: 0; }
.field-section .field:last-child { margin-bottom: 0; }
label { font-size: 12px; font-weight: 600; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.optional { font-size: 10px; color: var(--muted); font-weight: 400; margin-left: auto; }
.required { color: var(--accent); }
input, textarea, select { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid #d7d9cd; border-radius: 4px; color: var(--ink); background: var(--surface); outline-offset: 2px; transition: border-color .16s, box-shadow .16s, background .16s; }
input:hover, textarea:hover, select:hover { border-color: #afb59f; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px #5964430c; }
input::placeholder, textarea::placeholder { color: #83867a; font-size: 12px; opacity: 1; }
textarea { min-height: 94px; resize: vertical; line-height: 1.6; font-family: var(--serif); font-size: 17px; background: #f8f8f2; }
textarea::placeholder { font: italic 16px/1.6 var(--serif); color: #858775; }
.field-description { margin: -2px 0 9px; color: var(--muted); font-size: 11px; }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.settings-row { display: grid; grid-template-columns: .7fr 1.15fr 1fr; gap: 12px; }
.interview-settings { background: #f4f4ee; border-radius: 4px; padding: 12px 13px 13px; }
.interview-settings legend { float: left; margin-bottom: 12px; }
.interview-settings .settings-row { clear: both; }
.interview-settings .field { margin: 0; }
.start-action { padding-top: 3px; display: flex; flex-direction: column; align-items: center; }
button { cursor: pointer; transition: background .16s, transform .16s; }
.setup-choice { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.setup-choice legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice-card { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; background: var(--surface); }
.choice-card input { width: 16px; height: 16px; min-height: 0; padding: 0; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.choice-card strong { display: block; font: 400 20px/1.15 var(--serif); letter-spacing: -.025em; margin-bottom: 8px; }
.choice-card span span { display: block; font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.guided-intro { margin-bottom: 24px; padding: 20px; border-left: 3px solid var(--accent); background: var(--wash); }
.guided-intro h3 { font: 400 21px/1.3 var(--serif); letter-spacing: -.025em; margin: 0 0 8px; }
.guided-intro p { color: var(--muted); font-size: 12px; margin: 0; }
#go, #quick { width: 100%; background: var(--ink); color: var(--surface); border: 1px solid var(--ink); border-radius: 4px; padding: 13px 18px; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 13px; font-weight: 600; }
#go:hover, #quick:hover { background: #414638; }
.share-actions a.open-room { padding: 9px 13px; border-radius: 3px; background: var(--ink); color: var(--surface); text-decoration: none; }
@media (max-width: 430px) { .choice-grid { grid-template-columns: 1fr; } }
button:active { transform: translateY(1px); }
button span, .item-footer a span { display: inline-block; transition: transform .16s; }
button:hover span, .item-footer a:hover span { transform: translateX(3px); }
button:disabled { cursor: wait; opacity: .6; transform: none; }
.config-summary { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; overflow-wrap: anywhere; }
.form-error { font-size: 12px; color: #8e392c; white-space: pre-wrap; margin: 14px 0 0; }
.request-status { font-size: 11px; color: var(--accent); margin: 12px 0 0; }
.form-error:empty, .request-status:empty, .room-output:empty { display: none; }
.remote-option { display: flex; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: 23px; }
.remote-icon { flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-size: 16px; }
.remote-option h3 { font-size: 12px; margin-bottom: 4px; }
.remote-option p:not(.field-hint) { color: var(--muted); font-size: 11px; margin-bottom: 7px; max-width: 370px; }
.text-button { background: none; border: 0; border-radius: 2px; color: var(--accent); font-size: 11px; font-weight: 600; padding: 8px 0; min-height: 36px; display: inline-flex; gap: 12px; align-items: center; }
.share-room { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #f7f8f1; padding: 18px; margin-top: 20px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.share-room > div:first-child { flex: 1; min-width: 150px; }
.share-room h3 { font-size: 13px; margin-bottom: 8px; }
.room-link { display: block; font-size: 11px; overflow-wrap: anywhere; margin-bottom: 10px; }
.share-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 10px; }
.share-actions button { border: 1px solid var(--line); border-radius: 3px; background: var(--surface); padding: 8px 12px; color: var(--ink); }
.share-actions a { color: var(--accent); }
.wall-panel { border-left: 1px solid var(--line); padding: 28px 27px; min-width: 0; background: #f1f2ea; align-self: stretch; }
.wall-heading { display: flex; justify-content: space-between; align-items: center; }
.wall-heading .eyebrow { margin: 0 0 12px; }
.archive-mark { color: var(--accent); margin-bottom: 12px; font-size: 18px; }
.wall-panel h2 { font-size: 31px; line-height: 1.18; margin-bottom: 10px; }
.wall-description { font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #d8dccd; padding: 16px 0; margin: 0 0 24px; }
.stat { padding: 0 12px; border-left: 1px solid #d8dccd; min-width: 0; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat:last-child { padding-right: 0; }
.stat b { font-size: 26px; font-weight: 450; line-height: 1.2; display: block; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }
.archive-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.archive-heading h3 { font-size: 11px; font-weight: 600; margin: 0; }
#wallStatus { font-size: 10px; color: var(--muted); text-align: right; }
#wall { max-height: 350px; overflow: auto; padding: 1px 4px 1px 1px; scrollbar-width: thin; scrollbar-color: #b8c2a9 transparent; }
.interview-item { padding: 18px; background: var(--surface); border: 1px solid #dce0d0; border-radius: 4px; margin-bottom: 12px; transition: border-color .18s, box-shadow .18s; overflow-wrap: anywhere; }
.interview-item:hover { border-color: #9da98a; box-shadow: 0 4px 14px #27292207; }
.item-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.item-label { color: var(--muted); font-size: 9px; letter-spacing: .13em; }
.completion { font-size: 10px; color: var(--accent); background: var(--soft-accent); padding: 3px 7px; border-radius: 3px; }
.interview-item h3 { font: 24px/1.25 var(--serif); letter-spacing: -.02em; margin: 0 0 4px; }
.item-company { font-size: 11px; color: var(--muted); margin-bottom: 13px; }
.item-nail { font: 17px/1.45 var(--serif); margin: 16px 0; }
.interview-item blockquote { font: italic 16px/1.5 var(--serif); border-left: 2px solid #bec8ad; color: var(--accent); margin: 16px 0; padding-left: 12px; }
.item-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 17px; font-size: 10px; color: var(--muted); }
.item-footer a { font-weight: 600; color: var(--accent); text-decoration: none; padding: 4px 0; }
.archive-empty { text-align: center; border-block: 1px dashed #cdd3c0; padding: 22px 10px; }
.archive-empty > span { font: 33px var(--serif); color: var(--accent); }
.archive-empty h3 { font: 20px var(--serif); margin-bottom: 7px; }
.archive-empty p { font-size: 11px; color: var(--muted); margin: 0; }
.brief-preview { margin: 0; overflow-wrap: anywhere; }
.brief-preview .eyebrow { font-size: 8px; }
.brief-preview h3 { font: 21px/1.3 var(--serif); margin-bottom: 6px; }
.preview-person { color: var(--muted); font-size: 10px; margin-bottom: 12px; }
#previewAngle { color: var(--muted); font: italic 15px/1.6 var(--serif); margin: 9px 0 12px; white-space: pre-wrap; max-height: 144px; overflow: auto; }
.preview-settings { color: var(--accent); font-size: 9px; margin: 0; }
.how-it-works { margin-top: 25px; border-top: 1px solid #d8dccd; padding-top: 20px; }
.how-it-works h3 { font: 400 21px/1.3 var(--serif); letter-spacing: -.025em; margin-bottom: 14px; }
.archive-section { margin-top: 25px; border-top: 1px solid #d8dccd; padding-top: 24px; }
.archive-disclosure { border-block: 1px solid var(--line); }
.archive-disclosure summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; list-style: none; font-size: 12px; font-weight: 600; }
.archive-disclosure summary::-webkit-details-marker { display: none; }
.archive-disclosure summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.archive-toggle::before { content: "Show interviews +"; color: var(--accent); font-size: 10px; font-weight: 400; }
.archive-disclosure[open] .archive-toggle::before { content: "Hide interviews −"; }
.archive-disclosure #wallStatus { margin: 0 0 12px; font-size: 10px; color: var(--muted); }
.archive-disclosure #wall { margin-bottom: 16px; }
.how-it-works ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 15px; }
.how-it-works li { flex: 1; min-width: 0; }
.how-it-works li > span { color: var(--accent); font: italic 15px var(--serif); }
.how-it-works strong { display: block; font-size: 10px; font-weight: 600; margin: 7px 0 3px; }
.how-it-works p { color: var(--muted); font-size: 9px; margin: 0; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; color: var(--muted); font-size: 10px; }
.page-footer > span { font: 20px var(--serif); color: var(--ink); }
.page-footer p { margin: 0; }
.page-footer a { text-decoration: none; }
.skip-link { position: absolute; top: -100px; left: 15px; padding: 12px; background: var(--ink); color: white; z-index: 2; }
.skip-link:focus { top: 10px; }
@media (max-width: 1050px) {
  .page-shell { padding: 0 28px; } .assignment { padding: 24px; } .wall-panel { padding: 24px; }
  .page-intro { column-gap: 28px; } .wide-only { display: none; }
  .section-caption { display: none; } .settings-row { grid-template-columns: .8fr 1.2fr; }
  .settings-row .field:last-child { grid-column: 1/-1; } .stat { padding-inline: 8px; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 18px; } .masthead { padding: 20px 0; } .masthead-note { display: none; }
  .page-intro { grid-template-columns: 1fr; gap: 17px; padding: 27px 0 24px; }
  .page-intro > .eyebrow { margin: 0; font-size: 8px; } .intro-copy { max-width: 420px; }
  .workspace { grid-template-columns: 1fr; } .assignment { padding: 23px 20px; }
  .wall-panel { border-left: 0; border-top: 1px solid var(--line); padding: 24px 20px; }
  .wall-panel h2 { font-size: 31px; } .page-footer a { display: none; }
  #wall { max-height: none; overflow: visible; }
  input, textarea, select { font-size: 16px; } .stats { gap: 10px; }
  .stat span { font-size: 10px; } .item-footer a, .text-button { min-height: 40px; }
}
@media (max-width: 430px) {
  .person-row { grid-template-columns: 1fr; gap: 0; } .brand-divider { margin-inline: 3px; }
  .brand { font-size: 25px; } .product-label { font-size: 9px; }
  .page-intro h1 { font-size: 35px; } .page-footer { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; }
}
