/* AI Landman uses the same aperture, type and colors as the public examination desk. */
@font-face {
  font-family: Fraunces;
  src: url(fonts/fraunces.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --midnight: #0b1726;
  --bg: #101e30;
  --surface: #172a40;
  --surface-solid: #172a40;
  --raised: #20364c;
  --line: #3b5066;
  --line-soft: #2c4056;
  --edge: #859db5;
  --ink: #f8f8f3;
  --muted: #c3cfdb;
  --faint: #a3b7ca;
  --gold: #e9b677;
  --gold-light: #ffdaad;
  --cyan: #b4cfe3;
  --violet: var(--gold);
  --display: Fraunces, Georgia, serif;
  --wordmark: var(--display);
  accent-color: var(--gold);
}
html, html:has(.tool-body), body, body.tool-body, .tool { background: var(--bg); }
.mast, .foot, .tool-top, .tool .runbar, .preview-note, .tool-preview {
  background: var(--midnight);
  border-color: var(--line);
  box-shadow: none;
}
.mast .wordmark, .foot-brand .wordmark, .tool-brand .wordmark, .admin-brand .wordmark {
  color: var(--ink);
  font: 510 clamp(1.15rem, 2vw, 1.7rem)/1 var(--wordmark);
  letter-spacing: -.055em;
  text-transform: none;
  text-shadow: none;
  white-space: nowrap;
}
.mast .examiner-aperture, .foot-brand .examiner-aperture, .tool .examiner-aperture,
.admin-brand .examiner-aperture {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
  filter: none;
}
.mast .brand, .tool .tool-brand { gap: 10px; }
h1, h2, .band.first h1, .band h2:not(.sub), .tool .desk-overview h1, .tool h2 {
  font-family: var(--display);
  font-weight: 470;
  color: var(--ink);
  text-shadow: none;
  letter-spacing: -.035em;
}
h3, .tool .helper-summary { font-family: var(--body); }
.eyebrow, .desk-eyebrow, .foot-h, .harness-kicker { color: var(--gold); }
.eyebrow::before { width: 20px; height: 1px; border: 0; background: var(--gold); transform: none; }
.preview-note, .tool-preview, .foot-sub, .foot-legal, .notice, .harness-note { color: var(--faint); }
.button, .tool .button { font-family: var(--body); }
.button.primary, .tool .button.primary {
  background: var(--gold);
  color: #172b34;
  border-color: var(--gold);
  box-shadow: none;
}
.button.primary:hover, .tool .button.primary:hover {
  background: var(--gold-light);
  color: #172b34;
  box-shadow: none;
  transform: none;
}
.button.secondary, .tool .button.secondary, .menu summary {
  background: var(--raised);
  color: var(--ink);
  border-color: var(--edge);
  box-shadow: none;
}
.button.secondary:hover, .tool .button.secondary:hover { background: #304d69; color: var(--ink); }
.button:disabled, .tool .button:disabled { color: var(--faint); background: var(--raised); border-color: var(--line); }
:focus-visible, .tool :focus-visible, .button.primary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.menu-links, .legal-toc, .start, .team, .calc, .closing, .card, .early, .toggle, .chargeflow,
.econ-strip, .tmenu-panel, .tool .msg, .dev-box {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}
main.narrow { max-width: 54rem; }
main.narrow p, .legal { max-width: 72ch; }
main.narrow h1 { overflow-wrap: anywhere; }
.legal .legal-section h2 { font-size: 1.55rem; max-width: none; }
.legal-section { border-color: var(--line); }
.receipt-scroll { max-width: 100%; overflow-x: auto; }
.receipt-scroll table { border-collapse: collapse; font-size: .86rem; }
.receipt-scroll th, .receipt-scroll td { text-align: left; border-bottom: 1px solid var(--line); padding: .6rem; }
.receipt-scroll thead { background: var(--surface); }
input:not([type=radio], [type=checkbox], [type=range], [type=file], [type=hidden]), select, textarea {
  background: var(--midnight);
  color: var(--ink);
  border-color: var(--edge);
}

/* The sign-in form stays first in the tab order and above the image on phones. */
.examiner-entry {
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 5.5rem);
}
.examiner-entry-form { width: min(100%, 28rem); }
.examiner-entry h1 { max-width: 13ch; font-size: clamp(2.8rem, 4.4vw, 4.8rem); line-height: 1.02; }
.examiner-entry .lede { font-size: 1.02rem; }
.examiner-entry-form .button { width: 100%; min-height: 48px; }
.examiner-entry-form input { width: 100%; font-size: 1rem; }
.examiner-entry-form .actions { margin-block: .3rem .8rem; }
.examiner-entry-form .google-signin {
  gap: .7rem;
  color: #1f1f1f;
  background: #f2f2f2;
  border: 1px solid #8e918f;
  font: 500 14px/1.4 Arial, sans-serif;
  letter-spacing: .25px;
}
.examiner-entry-form .google-signin:hover { background: white; }
.examiner-entry-form .google-privacy { margin-block: .6rem 1.1rem; }
.examiner-portrait {
  display: block;
  width: 100%;
  height: clamp(25rem, 36vw, 37rem);
  object-fit: cover;
  object-position: 54% center;
  border-radius: 2px;
}
.signin-divider { color: var(--faint); }
.signin-divider::before, .signin-divider::after { background: var(--line); }

/* Retain the workbench's panel layout, state indicators and paper source field. */
.tool-top, .tool .runbar { border-color: var(--line); }
.tool .desk-overview::before { background: none; }
.tool .desk-overview::after { background: var(--line); }
.tool .pane, .tool .console > div, .tool .results > div, .tool .readback {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}
.tool .pane-head, .tool .telemetry-strip, .tool .helper-foot, .tool .helper-ask,
.tool .tabs, .tool .results-book .pane-head {
  background: var(--raised);
  border-color: var(--line);
}
.tool .tlist, .tool .seg, .tool .doclist li, .tool .drop-zone, .tool .chip {
  background: var(--midnight);
  border-color: var(--line);
}
.tool .drop-zone:hover, .tool .drop.over .drop-zone { background: var(--raised); border-color: var(--gold); }
.tool .chip-gold, .tool .desk-route .current, .tool .guide-spark, .tool .pane-index { color: var(--gold); }
.tool .desk-route .current > span { background: var(--gold); color: var(--midnight); box-shadow: none; }
.tool .desk-route li:not(.current, .complete), .tool .tcell span,
.tool .pane-count, .tool .save-state, .tool .help, .tool .guide-welcome p { color: var(--faint); }
.tool input:not([type=radio], [type=range], [type=file], [type=hidden], [type=checkbox]),
.tool select, .tool textarea:not(#assignment_text) {
  background-color: var(--midnight);
  border-color: var(--edge);
}
.tool .trow input, .tool .trow select { background: var(--midnight) !important; border-color: var(--edge) !important; }
.tool .run-terrain { background: var(--midnight); }
.tool .run-terrain img { object-fit: cover; object-position: 50% 52%; mask-image: none; mix-blend-mode: normal; }
.tool .guide-illustration { background: none; }
.tool .hformat, .tool-setup > .tabs:not([hidden]) { background: var(--surface); border-color: var(--line); }
.tool .hformat pre, .tool .hchat pre { background: var(--midnight); border-color: var(--line); color: var(--ink); }
.tool .tool-switch select { background: var(--midnight); border-color: var(--edge); }
.tool .tabs button { color: var(--muted); }
.tool .tabs button[aria-pressed=true] { background: var(--raised); border-bottom-color: var(--gold); color: var(--gold-light); }
@media (max-width: 740px) {
  .examiner-entry { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 2rem; }
  .examiner-entry-form { justify-self: center; }
  .examiner-portrait { max-height: 15rem; height: auto; }
  .mast .examiner-aperture, .tool .examiner-aperture { width: 25px; height: 25px; }
}
@media (forced-colors: active) {
  .button { outline: 1px solid ButtonText; }
  .button:focus-visible { outline: 3px solid Highlight; }
}
