:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #5a5a6a;
  --line: #151515;
  --paper: #f2f0e8;
  --panel: #fffdf3;
  --acid: #d8ff00;
  --acid-2: #7cff00;
  --pink: #ff4fd8;
  --cyan: #00e5ff;
  --violet: #7b61ff;
  --orange: #ff8a00;
  --red: #ff3158;
  --green: #0a7f54;
  --shadow: 7px 7px 0 #111;
  font-family: "Arial Narrow", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(216, 255, 0, 0.75), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(0, 229, 255, 0.45), transparent 25%),
    radial-gradient(circle at 72% 82%, rgba(255, 79, 216, 0.35), transparent 28%),
    var(--paper);
  background-size: 28px 28px, 28px 28px, auto, auto, auto, auto;
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #111 4px);
  mix-blend-mode: multiply;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 3px;
  background: var(--acid);
  color: var(--ink);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 4px 4px 0 #111;
}

button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 #111;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: 2px 2px 0 #777;
  filter: grayscale(0.85);
}

button.secondary,
.ghost-button {
  background: #fffdf3;
  color: var(--ink);
}

button.danger {
  background: var(--red);
  color: white;
}

main {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.topbar {
  min-height: 70px;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(242, 240, 232, 0.86);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-button {
  min-height: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: left;
  text-transform: none;
}

.brand-button:hover {
  transform: none;
  box-shadow: none;
}

.brand strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--acid), var(--cyan));
  font-size: 23px;
  box-shadow: 4px 4px 0 #111;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-button {
  min-height: 38px;
  box-shadow: 3px 3px 0 #111;
}

.status-pill,
.usage-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.screen {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.acid-hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 34px;
  align-items: center;
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 24px;
  position: relative;
}

.hero-copy {
  position: relative;
}

.acid-kicker,
.eyebrow {
  color: #111;
  background: var(--acid);
  border: 2px solid #111;
  box-shadow: 3px 3px 0 #111;
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}

.hero-copy h1,
.intro h1,
.section-heading h1 {
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.86;
  margin: 16px 0 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 820px;
  text-shadow: 4px 0 var(--pink), -3px 0 var(--cyan);
}

.hero-copy h1.main-landing-title {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 0.94;
  max-width: 680px;
}

.main-landing-title span {
  display: block;
  white-space: nowrap;
}

.setup-screen .section-heading h1,
.device-screen .section-heading h1,
.report-screen .section-heading h1,
.archive-screen .section-heading h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.94;
  max-width: 980px;
}

.hero-sub,
.intro p,
.section-heading p,
.jd-card p {
  color: #25252d;
  font-size: 18px;
  line-height: 1.58;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.text-link-button {
  min-height: auto;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link-button:hover {
  transform: none;
  box-shadow: none;
}

.route-access-note {
  border: 2px solid #111;
  background: #e6fbff;
  box-shadow: 4px 4px 0 #111;
  padding: 12px 14px;
  display: grid;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
}

.invite-screen .intro h1 {
  text-transform: none;
}

.route-access-note strong {
  font-size: 15px;
  text-transform: uppercase;
}

.route-access-note span {
  color: #383844;
  font-weight: 900;
  line-height: 1.35;
}

.acid-secondary {
  background: var(--cyan) !important;
}

.hero-terminal {
  border: 2px solid #111;
  background: #121212;
  color: #f7f7ee;
  box-shadow: 12px 12px 0 #111;
  transform: rotate(1.25deg);
}

.terminal-head {
  height: 44px;
  border-bottom: 2px solid #111;
  background: var(--pink);
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: 900;
}

.terminal-head span {
  width: 12px;
  height: 12px;
  border: 2px solid #111;
  background: var(--acid);
  display: inline-block;
}

.terminal-head strong {
  margin-left: auto;
}

.terminal-body {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.pixel-panel {
  border: 2px solid #f7f7ee;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #17171d;
  background-size: 12px 12px;
}

.panel-hot {
  background: var(--orange);
  color: #111;
}

.panel-lime {
  background: var(--acid);
  color: #111;
}

.mini-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mini-teachers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.mini-teachers b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  background: #fff;
  font-size: 30px;
}

.pixel-panel p {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.testimonial-section {
  padding-top: 0;
  padding-bottom: 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.testimonial-card {
  border: 2px solid #111;
  background: #fffdf3;
  box-shadow: 5px 5px 0 #111;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.testimonial-card img {
  width: 100%;
  border: 2px solid #111;
  display: block;
  background: white;
}

.testimonial-card blockquote {
  margin: 0;
  color: #111;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: #4b4b57;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 900;
}

.landing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 0;
}

.strip-card {
  border: 2px solid #111;
  background: var(--panel);
  padding: 18px;
  box-shadow: 5px 5px 0 #111;
}

.strip-card strong,
.strip-card span {
  display: block;
}

.strip-card strong {
  font-size: 20px;
  margin-bottom: 6px;
}

.strip-card span {
  color: #383844;
  line-height: 1.45;
}

.external-preview-section {
  padding-top: 18px;
}

.external-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.external-panelist-card {
  border: 2px solid #111;
  background: #e6fbff;
  box-shadow: 5px 5px 0 #111;
  padding: 14px;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.external-panelist-card strong,
.external-panelist-card span {
  display: block;
}

.external-panelist-card strong {
  font-size: 17px;
  line-height: 1.1;
}

.external-panelist-card span {
  color: #4b4b57;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.external-panelist-card p {
  margin: 0;
  color: #25252d;
  line-height: 1.35;
  font-weight: 900;
}

.external-preview-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.external-preview-actions p {
  margin: 0;
  color: #383844;
  font-weight: 900;
}

.csc-entry-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 2px solid #111;
  background: #fffdf3;
  box-shadow: 6px 6px 0 #111;
  padding: 24px;
  margin-top: 18px;
}

.csc-entry-section h2 {
  margin: 14px 0 8px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.96;
  text-transform: uppercase;
}

.csc-entry-section p {
  margin: 0;
  max-width: 760px;
  color: #383844;
  font-weight: 900;
  line-height: 1.5;
}

.tutorial-section {
  padding-top: 18px;
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tutorial-card {
  border: 2px solid #111;
  background: #fffdf3;
  box-shadow: 5px 5px 0 #111;
  padding: 16px;
  min-height: 230px;
}

.tutorial-card span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  border: 2px solid #111;
  background: var(--cyan);
  font-weight: 900;
  margin-bottom: 14px;
}

.tutorial-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.08;
}

.tutorial-card p {
  margin: 0;
  color: #383844;
  line-height: 1.55;
  font-weight: 800;
}

.mode-tutorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mode-tutorial article {
  border: 2px solid #111;
  background: #fffdf3;
  box-shadow: 5px 5px 0 #111;
  padding: 16px;
}

.mode-tutorial strong,
.mode-tutorial p {
  display: block;
  margin: 0;
}

.mode-tutorial strong {
  font-size: 20px;
  text-transform: uppercase;
}

.mode-tutorial p {
  margin-top: 8px;
  color: #33333c;
  line-height: 1.45;
  font-weight: 900;
}

.examiner-roster {
  padding-top: 18px;
}

.section-kicker {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-kicker h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 3px 0 var(--pink), -2px 0 var(--cyan);
}

.examiner-roster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-credit {
  width: min(1180px, calc(100% - 32px));
  margin: 8px auto 34px;
  color: #5f5f68;
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.landing-credit span {
  display: block;
}

.roster-card {
  border: 2px solid #111;
  background: var(--panel);
  box-shadow: 5px 5px 0 #111;
  padding: 14px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  min-height: 136px;
}

.roster-emoji {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  background: #fff;
  font-size: 30px;
}

.roster-card strong,
.roster-card span,
.roster-card p {
  display: block;
}

.roster-card strong {
  font-size: 17px;
  line-height: 1.05;
}

.roster-card span {
  color: #111;
  background: var(--acid);
  border: 2px solid #111;
  width: fit-content;
  padding: 3px 6px;
  margin: 6px 0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.roster-card p {
  margin: 0;
  color: #383844;
  line-height: 1.38;
  font-weight: 900;
}

.invite-screen {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.panel {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 3px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-card {
  display: grid;
  gap: 14px;
  background: linear-gradient(135deg, #fffdf3 0 68%, #ffe2f8);
}

label {
  font-weight: 900;
  margin-bottom: -4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: white;
  color: var(--ink);
  outline: none;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

select {
  text-overflow: ellipsis;
}

textarea {
  min-height: 230px;
  padding: 14px;
  line-height: 1.5;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 79, 216, 0.24);
}

.error {
  margin: 0;
  color: var(--red);
  font-weight: 900;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(500px, 1.22fr);
  gap: 24px;
  margin-top: 28px;
}

.setup-grid .panel:first-child {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.single-segmented {
  grid-template-columns: 1fr;
}

.interview-type-segmented {
  grid-template-columns: 1fr 1.35fr;
}

.source-segmented {
  grid-template-columns: 1fr 1fr;
}

.segmented button {
  background: #fffdf3;
  color: var(--ink);
  min-height: 56px;
  text-transform: none;
}

.segmented button.selected {
  background: var(--cyan);
}

.route-summary {
  border: 2px solid #111;
  background: #e6fbff;
  box-shadow: 4px 4px 0 #111;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.route-summary strong {
  font-size: 18px;
  text-transform: uppercase;
}

.route-summary span {
  color: #383844;
  font-weight: 900;
  line-height: 1.35;
}

.api-box {
  border: 2px dashed #111;
  background: #f7ffe2;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.api-box strong,
.api-box span {
  display: block;
}

.api-box span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.option-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.option-count {
  border: 2px solid #111;
  background: var(--acid);
  padding: 0 10px;
  min-height: 48px;
  display: grid;
  place-items: center;
  font-weight: 900;
  white-space: nowrap;
}

.org-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 2px 0 4px;
}

.org-rail button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 10px;
  background: #fffdf3;
  box-shadow: 3px 3px 0 #111;
  font-size: 12px;
}

.org-rail button.selected {
  background: var(--pink);
}

.custom-jd-box,
.custom-edit-box {
  border: 2px dashed #111;
  background: #fffdf3;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.custom-jd-box textarea {
  min-height: 190px;
}

.custom-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.custom-edit-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.custom-edit-grid textarea {
  min-height: 110px;
}

.wide-field {
  grid-column: 1 / -1;
}

.custom-save-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-save-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.warning-list {
  margin: 0;
  padding-left: 18px;
  color: #725500;
  font-weight: 900;
  line-height: 1.45;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title h2 {
  font-size: 18px;
  margin: 0;
  text-transform: uppercase;
}

.job-id {
  color: #111 !important;
  background: var(--acid);
  border: 2px solid #111;
  display: inline-flex;
  padding: 5px 8px;
  font-weight: 900;
  margin-bottom: 0;
}

.jd-card h3 {
  margin: 10px 0 10px;
  font-size: 30px;
  line-height: 1.08;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}

.jd-focus {
  border: 2px solid #111;
  background: #e6fbff;
  box-shadow: 4px 4px 0 #111;
  padding: 14px;
  margin: 16px 0;
}

.external-runtime-card {
  background: #fff2fb;
}

.jd-focus h4 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.jd-focus .chips {
  margin: 0 0 12px;
}

.jd-focus ul {
  margin: 0;
  padding-left: 18px;
  color: #25252d;
  line-height: 1.45;
  font-weight: 800;
}

.jd-focus li + li {
  margin-top: 7px;
}

.job-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
}

.job-facts div {
  border: 2px solid #111;
  background: #fff;
  padding: 10px;
  min-width: 0;
}

.job-facts dt,
.job-facts dd {
  margin: 0;
}

.job-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-facts dd {
  margin-top: 4px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.note-line {
  border: 2px dashed #111;
  background: #fff4c7;
  padding: 10px;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  max-width: none !important;
}

.privacy-note {
  border: 2px dashed #111;
  background: #e6fbff;
  padding: 10px;
  margin: 0;
  color: #111;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.limit-message {
  border: 2px solid #111;
  background: #fff4c7;
  padding: 12px;
  margin: 0;
  color: #111;
  line-height: 1.45;
  font-weight: 900;
}

.quota-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quota-strip span,
.order-note {
  border: 2px solid #111;
  background: #fff;
  padding: 10px;
  font-weight: 900;
}

.quota-strip strong {
  font-size: 22px;
}

.xhs-unlock,
.payment-box,
.pass-teaser {
  border: 2px solid #111;
  background: #fff;
  padding: 14px;
  box-shadow: 4px 4px 0 #111;
}

.xhs-unlock {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.xhs-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 34px;
  line-height: 1;
  filter: drop-shadow(2px 2px 0 #111);
}

.xhs-unlock span,
.xhs-unlock strong,
.xhs-unlock p,
.pass-teaser strong,
.pass-teaser span,
.payment-box strong,
.payment-box span {
  display: block;
}

.xhs-unlock span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.xhs-unlock strong {
  font-size: 20px;
}

.xhs-unlock p {
  margin: 2px 0 0;
  color: #44444f;
  font-weight: 900;
}

.payment-box {
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, #fffdf3 0 72%, #d8ff00);
}

.pass-teaser {
  display: grid;
  gap: 10px;
  background: linear-gradient(135deg, #fffdf3 0 76%, #e6fbff);
}

.pass-service-banner {
  border: 2px solid #111;
  background: linear-gradient(135deg, #fffdf3 0 62%, #d8ff00 62% 78%, #e6fbff 78%);
  box-shadow: 6px 6px 0 #111;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-top: 22px;
}

.pass-service-copy span,
.pass-service-copy strong,
.pass-service-copy p,
.pass-service-copy code {
  display: block;
}

.pass-service-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass-service-copy strong {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.pass-service-copy p {
  max-width: 780px;
  margin: 8px 0 0;
  color: #25252d;
  font-weight: 900;
  line-height: 1.45;
}

.pass-service-copy code {
  width: fit-content;
  margin-top: 10px;
  border: 2px solid #111;
  background: #fff;
  padding: 5px 8px;
  font-weight: 900;
}

.pass-service-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.archive-screen {
  display: grid;
  gap: 22px;
}

.archive-heading h1 {
  max-width: 940px;
}

.archive-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: end;
}

.archive-access form,
.archive-help {
  display: grid;
  gap: 10px;
}

.archive-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.archive-help {
  border: 2px dashed #111;
  background: #e6fbff;
  padding: 12px;
}

.archive-help strong,
.archive-help span {
  display: block;
}

.archive-help span {
  color: #33333c;
  font-weight: 900;
  line-height: 1.45;
}

.archive-empty {
  display: grid;
  gap: 10px;
  background: #fff4c7;
}

.archive-empty strong {
  font-size: 22px;
  text-transform: uppercase;
}

.archive-empty p {
  margin: 0;
  color: #33333c;
  font-weight: 900;
  line-height: 1.5;
}

.archive-list {
  display: grid;
  gap: 14px;
}

.archive-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 2px solid #111;
  background: var(--acid);
  box-shadow: 4px 4px 0 #111;
  padding: 12px 14px;
  font-weight: 900;
}

.archive-list-head strong,
.archive-list-head span {
  display: block;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.archive-card {
  border: 2px solid #111;
  background: var(--panel);
  box-shadow: 5px 5px 0 #111;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.archive-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-card-top code {
  border: 2px solid #111;
  background: #e6fbff;
  color: #111;
  padding: 3px 6px;
  overflow-wrap: anywhere;
}

.archive-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.archive-card p {
  margin: 0;
  color: #33333c;
  font-weight: 900;
  line-height: 1.45;
}

.archive-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.archive-card dl div {
  border: 2px solid #111;
  background: #fff;
  padding: 8px;
}

.archive-card dt,
.archive-card dd {
  margin: 0;
}

.archive-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-card dd {
  margin-top: 4px;
  font-weight: 900;
}

.payment-box strong,
.pass-teaser strong {
  font-size: 20px;
}

.payment-box span,
.pass-teaser span {
  color: #33333c;
  line-height: 1.45;
  font-weight: 900;
}

.payment-note {
  border: 2px dashed #111;
  background: #e6fbff;
  padding: 10px;
  margin: 0;
  color: #111;
  line-height: 1.45;
  font-weight: 900;
}

.alipay-qr {
  width: min(100%, 360px);
  justify-self: center;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 4px 4px 0 #111;
}

.pass-result,
.payment-help {
  border: 2px solid #111;
  background: #fffdf3;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.pass-result {
  background: #e6fbff;
}

.pass-result span,
.pass-result strong,
.pass-result p,
.payment-help strong,
.payment-help span {
  display: block;
}

.pass-result span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pass-result strong {
  font-size: 28px;
  overflow-wrap: anywhere;
}

.pass-result p {
  margin: 0;
  color: #33333c;
  line-height: 1.45;
  font-weight: 900;
}

.pass-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-help {
  background: #fff4c7;
}

.order-note {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.order-note span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.order-note strong {
  font-size: 18px;
}

.mode-help,
.mode-badge {
  border: 2px dashed #111;
  background: #fff4c7;
  padding: 10px;
  margin: 0;
  color: #111;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.mode-badge {
  display: inline-flex;
  width: fit-content;
  background: var(--acid);
  text-transform: uppercase;
}

.setup-primary {
  width: 100%;
  min-height: 58px;
  margin-top: 2px;
  background: var(--pink);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.device-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-card p {
  color: #33333c;
  line-height: 1.5;
  margin: 0;
}

.device-card h3 {
  font-size: 26px;
  line-height: 1.08;
  margin: 0;
}

.device-card button {
  margin-top: auto;
}

.mic-meter {
  height: 28px;
  border: 2px solid #111;
  background: white;
  overflow: hidden;
}

.mic-meter div {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--acid), var(--pink));
  transition: width 80ms linear;
}

.teacher-test-status {
  border: 2px dashed #111;
  background: #fff4c7;
  padding: 10px;
  font-weight: 900;
}

.device-ready {
  background: linear-gradient(135deg, #fffdf3 0 70%, #d8ff00);
}

.chips span {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.meeting-screen {
  width: min(1380px, calc(100% - 24px));
  padding-top: 24px;
}

.meeting-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.meeting-top h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 3px 0 var(--pink), -2px 0 var(--cyan);
}

.meeting-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.meeting-meta span {
  border: 2px solid #111;
  background: var(--panel);
  box-shadow: 4px 4px 0 #111;
  padding: 10px 12px;
  font-weight: 900;
}

.meeting-meta b {
  color: inherit;
  font: inherit;
}

.meeting-progress {
  margin-bottom: 16px;
}

.meeting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.external-interview .meeting-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-tile {
  min-height: 286px;
  border: 2px solid #111;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #17171d;
  background-size: 18px 18px;
  color: #fffdf3;
  box-shadow: 7px 7px 0 #111;
  position: relative;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-tile.speaking {
  outline: 5px solid var(--acid);
}

.video-tile.recording {
  outline: 5px solid var(--pink);
}

.video-avatar,
.candidate-avatar {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 2px solid #fffdf3;
  background: #252530;
  color: #fffdf3;
  font-size: 52px;
  margin: 0 auto;
}

.candidate-avatar {
  background: linear-gradient(135deg, var(--acid), var(--cyan));
  color: #111;
  font-size: 28px;
  font-weight: 900;
}

.video-name {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 2px solid #fffdf3;
  background: rgba(0, 0, 0, 0.72);
  padding: 8px 10px;
}

.video-name strong,
.video-name span {
  display: block;
}

.video-name span {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.question-bubble {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  border: 2px solid #111;
  background: var(--panel);
  color: #111;
  padding: 12px;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.25;
  font-weight: 900;
}

.tile-status {
  position: absolute;
  right: 14px;
  top: 14px;
  max-width: 50%;
  background: rgba(216, 255, 0, 0.92);
  color: #111;
  border: 2px solid #111;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 900;
}

.tile-status.live-status {
  left: 14px;
  right: auto;
  background: var(--pink);
  color: white;
  text-transform: uppercase;
}

.candidate-status {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  border: 2px solid #fffdf3;
  background: rgba(0, 0, 0, 0.74);
  padding: 12px;
  display: grid;
  gap: 6px;
}

.candidate-status strong,
.candidate-status span {
  display: block;
}

.candidate-status span {
  color: var(--acid);
  font-weight: 900;
}

.candidate-status .answer-hint {
  color: #fffdf3;
  font-size: 12px;
  line-height: 1.35;
}

.meeting-controls {
  margin-top: 18px;
  border: 2px solid #111;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
}

.queue-mini {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.queue-mini span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  background: white;
  font-weight: 900;
}

.queue-mini span.current {
  background: var(--pink);
  color: white;
}

.queue-mini span.done {
  background: var(--acid);
}

.control-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.control-buttons button {
  min-height: 42px;
}

.interview-screen {
  width: min(1320px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
}

.committee {
  position: sticky;
  top: 94px;
  align-self: start;
}

.examiner {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  margin-bottom: 12px;
  box-shadow: 4px 4px 0 #111;
}

.examiner.active {
  background: var(--acid);
}

.queue-card {
  border: 2px solid #111;
  background: #fffdf3;
  box-shadow: 4px 4px 0 #111;
  padding: 14px;
  margin-top: 18px;
}

.queue-card strong {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.queue-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
  border-top: 2px solid #111;
  padding: 9px 0;
  color: #5a5a6a;
  font-weight: 900;
}

.queue-item span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
  background: white;
  color: #111;
  font-size: 12px;
}

.queue-item.current {
  color: #111;
}

.queue-item.current span {
  background: var(--pink);
}

.queue-item.done span {
  background: var(--acid);
}

.avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: white;
  border: 2px solid #111;
  font-size: 28px;
}

.examiner strong,
.examiner span,
.examiner small {
  display: block;
}

.examiner span {
  color: #111;
  font-weight: 900;
  margin: 2px 0;
}

.examiner small {
  color: #2f2f39;
  line-height: 1.35;
}

.progress-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 16px;
}

.progress {
  height: 14px;
  background: white;
  border: 2px solid #111;
  overflow: hidden;
}

.progress div {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--acid), var(--cyan));
}

.question-card,
.answer-card {
  background: rgba(255, 253, 243, 0.96);
  border: 2px solid var(--line);
  border-radius: 3px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.speaker > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: white;
  border: 2px solid #111;
  font-size: 28px;
}

.speaker strong,
.speaker small {
  display: block;
}

.speaker small {
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  font-weight: 900;
}

.question-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
}

.teacher-audio-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 2px solid #111;
  background: #fff;
  margin-top: 20px;
  padding: 12px;
}

.teacher-audio-panel strong,
.teacher-audio-panel span,
.teacher-audio-panel small {
  display: block;
}

.teacher-audio-panel strong {
  text-transform: uppercase;
}

.teacher-audio-panel span {
  color: #33333c;
  margin-top: 3px;
  font-weight: 900;
}

.teacher-audio-panel small {
  color: var(--muted);
  margin-top: 4px;
  font-weight: 900;
}

.teacher-audio-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.teacher-audio-actions button {
  min-height: 38px;
  box-shadow: 3px 3px 0 #111;
}

.question-meta,
.word-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.question-meta b {
  color: #111;
  background: var(--acid);
  border: 2px solid #111;
  padding: 2px 6px;
}

.answer-tools,
.answer-footer,
.bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.answer-tools {
  margin-bottom: 14px;
  flex-wrap: wrap;
}

audio {
  width: min(360px, 100%);
}

.voice-note {
  border: 2px dashed #111;
  background: #e6fbff;
  padding: 10px;
  margin: 0 0 12px;
  color: #111;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 900;
}

.answer-footer {
  margin-top: 12px;
}

.report-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.report-summary div {
  border: 2px solid #111;
  background: var(--acid);
  padding: 14px;
  box-shadow: 4px 4px 0 #111;
}

.report-summary strong,
.report-summary span {
  display: block;
}

.report-summary span {
  color: #2f2f39;
  margin-top: 4px;
}

.report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.report-section {
  box-shadow: var(--shadow);
}

.report-item {
  padding: 18px 0;
  border-top: 2px solid var(--line);
}

.report-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.report-item p {
  color: #33333c;
  line-height: 1.6;
  margin: 0 0 12px;
}

blockquote {
  margin: 0;
  border: 2px solid #111;
  background: var(--acid);
  padding: 12px 14px;
  line-height: 1.5;
  color: #111;
  font-weight: 900;
}

.risk blockquote {
  background: #ffe4ea;
}

.knowledge blockquote {
  background: #e6fbff;
}

.bottom-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 18px;
}

.download-error {
  flex: 1 1 100%;
  color: #9f1239;
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.report-capture {
  background: transparent;
  padding: 1px 0 12px;
}

.admin-screen {
  display: grid;
  gap: 18px;
}

.admin-login {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: end;
}

.admin-login label,
.admin-login input,
.admin-login p {
  grid-column: 1 / -1;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.admin-table th,
.admin-table td {
  border: 2px solid #111;
  background: #fff;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-weight: 900;
}

.admin-table th {
  background: var(--acid);
  text-transform: uppercase;
  font-size: 12px;
}

.admin-table td:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-table code {
  background: #e6fbff;
  border: 2px solid #111;
  padding: 4px 6px;
  font-weight: 900;
}

.admin-table-empty {
  border: 2px dashed #111;
  background: #fff4c7;
  padding: 18px;
  font-weight: 900;
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 14px;
  }

  .status-pill {
    display: none;
  }

  .acid-hero,
  .screen,
  .interview-screen {
    width: min(100% - 24px, 720px);
  }

  .acid-hero,
  .invite-screen,
  .admin-login,
  .setup-grid,
  .device-grid,
  .interview-screen,
  .meeting-grid,
  .examiner-roster-grid,
  .testimonial-grid,
  .external-preview-grid,
  .tutorial-grid,
  .mode-tutorial,
  .landing-strip,
  .report-summary,
  .quota-strip,
  .xhs-unlock,
  .pass-service-banner,
  .csc-entry-section,
  .archive-access,
  .archive-input-row,
  .archive-grid,
  .order-note {
    grid-template-columns: 1fr;
  }

  .hero-terminal {
    transform: none;
  }

  .committee {
    position: static;
  }

  .segmented {
    grid-template-columns: 1fr;
  }

  .interview-type-segmented,
  .external-interview .meeting-grid,
  .custom-edit-grid {
    grid-template-columns: 1fr;
  }

  .option-tools {
    grid-template-columns: 1fr;
  }

  .job-facts {
    grid-template-columns: 1fr;
  }

  .answer-tools,
  .teacher-audio-panel,
  .answer-footer,
  .external-preview-actions,
  .meeting-top,
  .section-kicker,
  .control-buttons,
  .pass-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .answer-tools button,
  .teacher-audio-actions button,
  .answer-footer button,
  .control-buttons button,
  .pass-actions button,
  .pass-service-actions button,
  .archive-input-row button,
  .archive-help button,
  .bottom-actions button,
  .hero-actions button {
    width: 100%;
  }

  .pass-service-actions,
  .archive-list-head,
  .archive-card-top {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-meta {
    justify-content: stretch;
  }

  .video-tile {
    min-height: 340px;
  }

  .tile-status {
    max-width: none;
    left: 14px;
    right: auto;
  }

  .teacher-audio-panel {
    grid-template-columns: 1fr;
  }

  .teacher-audio-actions {
    justify-content: stretch;
  }

  .hero-copy h1,
  .intro h1,
  .section-heading h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .hero-copy h1.main-landing-title {
    font-size: clamp(28px, 7vw, 40px);
  }
}
