/*
 * Empire Meet — the "clean" theme: a plain video call, the way Google Meet
 * looks. White pre-join, dark grey call, round grey buttons, names on tiles,
 * normal fonts. No LEDs, bezels or monospace print.
 *
 * It is the only look: every page (home, sign in, download, keys, notes and
 * the room) sets data-theme="clean" on <html> itself, so there is no flash of
 * another look. The retro rules in style.css are the base this file overrides.
 *
 * Every rule is scoped to html[data-theme="clean"]. It overrides style.css by
 * redefining its variables first, then the handful of components whose
 * shape — not just colour — is the retro one.
 */

html[data-theme="clean"] {
  --desk: #ffffff;
  --case: #ffffff;
  --edge: #dadce0;
  --hi: #ffffff;
  --ink: #202124;
  --ink-2: #3c4043;
  --print-solid: #5f6368;
  --orange: #1a73e8;
  --orange-face: #1a73e8;
  --orange-edge: #1a73e8;
  --led-green: #34a853;
  --led-red: #ea4335;
  --led-amber: #fbbc04;
  --led-off: #9aa0a6;
  --lcd: #f1f3f4;
  --lcd-fg: #202124;
  --lcd-dim: #5f6368;
  --screen: #202124;
  --r-key: 24px;
  --r-mod: 8px;
  --r-unit: 8px;
  --f-ui: "Google Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-print: var(--f-ui);
  --f-dot: var(--f-ui);
  --unit-shadow: none;
}

/* ── Type: one family, no tracking, no shouting ─────────────────────────── */
html[data-theme="clean"] body { font-family: var(--f-ui); letter-spacing: 0; }
html[data-theme="clean"] .print,
html[data-theme="clean"] .field-label,
html[data-theme="clean"] .p-meta,
html[data-theme="clean"] .chat-msg .who,
html[data-theme="clean"] .knock-head,
html[data-theme="clean"] .ai-row .lvl,
html[data-theme="clean"] .notes-banner .lang-heard,
html[data-theme="clean"] .translate-banner .hear,
html[data-theme="clean"] .ai-notice label { letter-spacing: 0; text-transform: none; font-weight: 500; }
html[data-theme="clean"] .field-label { font-size: 12px; color: var(--print-solid); }
html[data-theme="clean"] .headline { font-weight: 400; font-stretch: 100%; letter-spacing: 0; line-height: 1.2; }
html[data-theme="clean"] .headline .hl { color: var(--ink); }

/* ── Buttons: pills, normal case ───────────────────────────────────────── */
html[data-theme="clean"] .btn,
html[data-theme="clean"] .pill {
  border: 1px solid var(--edge); border-bottom-width: 1px; border-radius: 24px;
  background: #fff; color: var(--ink); box-shadow: none;
  font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none;
  padding: 10px 18px;
}
html[data-theme="clean"] .btn:hover, html[data-theme="clean"] .pill:hover { background: #f8f9fa; }
html[data-theme="clean"] .btn:active, html[data-theme="clean"] .pill:active { transform: none; border-bottom-width: 1px; box-shadow: none; background: #f1f3f4; }
html[data-theme="clean"] .btn-sm { padding: 6px 12px; font-size: 13px; }
html[data-theme="clean"] .btn-lg { padding: 12px 24px; font-size: 15px; }
html[data-theme="clean"] .btn-primary { background: #1a73e8; border-color: #1a73e8; color: #fff; }
html[data-theme="clean"] .btn-primary:hover { background: #1967d2; }
html[data-theme="clean"] .btn-dark { background: #3c4043; border-color: #3c4043; color: #fff; }
html[data-theme="clean"] .btn-danger { background: #ea4335; border-color: #ea4335; color: #fff; }
html[data-theme="clean"] .pill[aria-pressed="false"] { background: #ea4335; border-color: #ea4335; color: #fff; }

/* ── Inputs ─────────────────────────────────────────────────────────────── */
html[data-theme="clean"] .input {
  border: 1px solid var(--edge); border-radius: 8px; background: #fff; color: var(--ink);
  box-shadow: none; font-family: var(--f-ui); font-size: 14px; letter-spacing: 0; padding: 12px 14px;
}
html[data-theme="clean"] .input:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 1px #1a73e8; }

/* ── Pre-join: laid out like Google Meet's "Ready to join?" ────────────────
 * Left: the preview, large, with the mic and camera buttons floating over its
 * bottom edge and the device pickers as pills beneath it. Right: a centred
 * column — the heading, the AI-notes card, one big blue Join button.
 * The device pickers live inside the preview column in the markup, so they
 * sit under the preview here and under the monitor in the default look. */
html[data-theme="clean"] body.room { background: #fff; }
html[data-theme="clean"] .prejoin-card { background: transparent; border: 0; box-shadow: none; padding: 24px; gap: 40px; align-items: center; }
html[data-theme="clean"] .bezel { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 8px; }
html[data-theme="clean"] .preview-wrap { border-radius: 8px; background: #202124; }
html[data-theme="clean"] .preview-corner { display: none; }
html[data-theme="clean"] .preview-off { color: #e8eaed; font-family: var(--f-ui); font-size: 16px; letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] .prejoin-controls .pill { width: 56px; height: 56px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0; }
html[data-theme="clean"] .prejoin-controls .pill .ico { width: 22px; height: 22px; }
html[data-theme="clean"] .prejoin-controls .pill .led { display: none; }
html[data-theme="clean"] .prejoin-side { background: transparent; border: 0; box-shadow: none; padding: 8px 0; gap: 14px; }
html[data-theme="clean"] .module-head { display: none; }
html[data-theme="clean"] .prejoin-side .headline { font-size: 28px; }
html[data-theme="clean"] .prejoin-side .headline br { display: none; }
html[data-theme="clean"] .prejoin-side .headline .hl::before { content: " "; }
html[data-theme="clean"] .prejoin-side .sub { font-size: 14px; color: var(--print-solid); }
html[data-theme="clean"] .room-tag { height: auto; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 8px; font-size: 13px; color: var(--print-solid); }
html[data-theme="clean"] .room-tag small { color: var(--print-solid); letter-spacing: 0; text-transform: none; font-size: 13px; }
html[data-theme="clean"] .room-tag small::after { content: ":"; }
html[data-theme="clean"] .room-tag code, html[data-theme="clean"] .prejoin-card code { font-family: var(--f-ui); font-weight: 500; color: var(--ink); font-size: 13px; letter-spacing: 0; }
html[data-theme="clean"] .prejoin-side .err { background: #fce8e6; color: #c5221f; box-shadow: none; }
html[data-theme="clean"] .ai-notice { background: #f1f3f4; color: var(--ink); border-radius: 8px; }
html[data-theme="clean"] .ai-notice b { color: var(--ink); }
html[data-theme="clean"] .foot { color: var(--print-solid); font-size: 12px; }

/* The product's name, top left, the way Meet signs its join screen. */
html[data-theme="clean"] .prejoin { position: relative; padding-top: 72px; }
html[data-theme="clean"] .prejoin::before {
  content: "Empire Meet"; position: absolute; top: 22px; left: 28px;
  font-family: var(--f-ui); font-size: 22px; font-weight: 500; color: #5f6368; letter-spacing: 0;
}

/* ── The left screen ───────────────────────────────────────────────────── */
html[data-theme="clean"] .left-screen .module { background: transparent; border: 0; box-shadow: none; }

/* ── The call: dark grey stage, plain header, round controls ───────────── */
html[data-theme="clean"] body.room:has(#call:not([hidden])) { background: #202124; }
html[data-theme="clean"] .call { background: #202124; color: #e8eaed; }
html[data-theme="clean"] .call-header { background: transparent; border: 0; box-shadow: none; padding: 10px 16px; }
html[data-theme="clean"] .brand-mark {
  display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; padding: 0; margin-right: 6px;
  background: transparent; border: 0; box-shadow: none; color: #e8eaed; font-size: 15px; font-weight: 500;
}
html[data-theme="clean"] .brand-mark .ico { display: none; }
html[data-theme="clean"] .brand-mark::after { content: "Empire Meet"; }
html[data-theme="clean"] .lcd { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 14px; color: #e8eaed; }
html[data-theme="clean"] .lcd .seg { background: transparent; border: 0; box-shadow: none; padding: 0; }
html[data-theme="clean"] .lcd small, html[data-theme="clean"] .lcd .label { display: none; }
html[data-theme="clean"] .lcd .live-dot { display: none; }
html[data-theme="clean"] .lcd code, html[data-theme="clean"] .lcd .timer, html[data-theme="clean"] #count {
  font-family: var(--f-ui); font-weight: 500; font-size: 14px; letter-spacing: 0; color: #e8eaed;
}
html[data-theme="clean"] #count::before { content: "👤 "; }
html[data-theme="clean"] .call-header .btn { background: transparent; border-color: #5f6368; color: #e8eaed; }
html[data-theme="clean"] .call-header .btn:hover { background: #3c4043; }
html[data-theme="clean"] .screen-bezel { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
html[data-theme="clean"] .grid-wrap { background: transparent; border-radius: 0; padding: 8px 16px; }
html[data-theme="clean"] .tile { border-radius: 8px; background: #3c4043; }
html[data-theme="clean"] .tile.speaking { box-shadow: inset 0 0 0 2px #8ab4f8; }
html[data-theme="clean"] .tile-avatar span { font-family: var(--f-ui); font-weight: 400; color: #e8eaed; letter-spacing: 0; }
html[data-theme="clean"] .tile.speaking .tile-avatar span { color: #e8eaed; }
html[data-theme="clean"] .tile-name {
  font-family: var(--f-ui); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: #fff; background: rgba(0, 0, 0, 0.4); border-radius: 4px; padding: 4px 8px;
}
html[data-theme="clean"] .tile-name::before { display: none; }
html[data-theme="clean"] .tile-name[data-lang]::after { color: #e8eaed; }
html[data-theme="clean"] .tile-badge { border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: #fff; }

/* Controls: a centred row of round grey buttons, each with its name under
 * it — a student should never have to guess what a button does. The round
 * grey disc is the icon's; the button itself is transparent so the label
 * can sit beneath. */
html[data-theme="clean"] .controls { background: transparent; border: 0; box-shadow: none; padding: 10px 16px 14px; gap: 6px; justify-content: center; align-items: start; }
html[data-theme="clean"] .dock-sep { display: none; }
html[data-theme="clean"] .ctrl {
  width: 72px; height: auto; padding: 0; border: 0; border-radius: 12px; box-shadow: none;
  background: transparent; color: #e8eaed;
  display: grid; justify-items: center; gap: 5px; grid-auto-flow: row;
}
html[data-theme="clean"] .ctrl:hover { background: transparent; }
html[data-theme="clean"] .ctrl:active { transform: none; border-bottom-width: 0; }
html[data-theme="clean"] .ctrl .ico {
  width: 56px; height: 56px; padding: 16px; box-sizing: border-box; border-radius: 50%;
  background: #3c4043; color: #e8eaed; transition: background 0.12s;
}
html[data-theme="clean"] .ctrl:hover .ico { background: #4a4d51; }
html[data-theme="clean"] .ctrl .lbl {
  position: static; transform: none; display: block;
  font-family: var(--f-ui); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #e8eaed;
  white-space: nowrap; opacity: 1;
}
html[data-theme="clean"] .ctrl:active .lbl { transform: none; }
html[data-theme="clean"] .ctrl::before { display: none !important; }
html[data-theme="clean"] .ctrl.off { background: transparent; color: #e8eaed; border: 0; }
html[data-theme="clean"] .ctrl.off .ico { background: #ea4335; color: #fff; }
html[data-theme="clean"] .ctrl.off:hover .ico { background: #d93025; }
html[data-theme="clean"] .ctrl.on .ico { background: #8ab4f8; color: #202124; }
html[data-theme="clean"] .ctrl[data-unread]::after { background: #ea4335; color: #fff; top: 0; right: 8px; }
html[data-theme="clean"] .ctrl-danger { width: 72px; padding: 0; border: 0; background: transparent; color: #e8eaed; }
html[data-theme="clean"] .ctrl-danger .ico { width: 56px; height: 56px; padding: 16px; border-radius: 28px; background: #ea4335; color: #fff; }
html[data-theme="clean"] .ctrl-danger:hover .ico { background: #d93025; }
html[data-theme="clean"] .ctrl-danger .lbl { position: static; transform: none; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #e8eaed; }
html[data-theme="clean"] .ctrl-danger:active .lbl { transform: none; }
@media (max-width: 720px) {
  html[data-theme="clean"] .ctrl, html[data-theme="clean"] .ctrl-danger { width: 56px; }
  html[data-theme="clean"] .ctrl .ico, html[data-theme="clean"] .ctrl-danger .ico { width: 46px; height: 46px; padding: 12px; }
  html[data-theme="clean"] .ctrl .lbl, html[data-theme="clean"] .ctrl-danger .lbl { font-size: 10px; }
}

/* A shared screen: large on the left, the people stacked down the right,
 * the way Meet lays a presentation out. Without a share, the usual grid. */
html[data-theme="clean"] .grid:has(> .tile.sharing-tile) {
  grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 300px) !important;
  grid-auto-rows: max-content; align-content: start; align-items: start; max-width: none;
  height: 100%;
}
html[data-theme="clean"] .grid:has(> .tile.sharing-tile) > .tile.sharing-tile {
  grid-column: 1; grid-row: 1 / span 40; aspect-ratio: auto; align-self: stretch; min-height: 0; height: 100%;
}
html[data-theme="clean"] .grid:has(> .tile.sharing-tile) > .tile:not(.sharing-tile) { grid-column: 2; }
@media (max-width: 720px) {
  html[data-theme="clean"] .grid:has(> .tile.sharing-tile) { grid-template-columns: 1fr !important; }
  html[data-theme="clean"] .grid:has(> .tile.sharing-tile) > .tile.sharing-tile { grid-row: 1; height: auto; aspect-ratio: 16 / 9; }
  html[data-theme="clean"] .grid:has(> .tile.sharing-tile) > .tile:not(.sharing-tile) { grid-column: 1; }
}

/* Side panel (people, chat), menus, banners, toasts: white cards, soft shadow. */
html[data-theme="clean"] .panel { border-radius: 8px; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); color: var(--ink); }
html[data-theme="clean"] .panel-tabs { background: #f1f3f4; box-shadow: none; border-radius: 8px; }
html[data-theme="clean"] .panel-tab { font-family: var(--f-ui); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--print-solid); }
html[data-theme="clean"] .panel-tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
html[data-theme="clean"] .p-person { border-bottom: 1px solid #f1f3f4; }
html[data-theme="clean"] .avatar { border-radius: 50%; background: #1a73e8; color: #fff; font-family: var(--f-ui); }
html[data-theme="clean"] .p-meta { color: var(--print-solid); font-size: 12px; }
html[data-theme="clean"] .chat-msgs { background: #fff; border-radius: 0; margin: 0; }
html[data-theme="clean"] .chat-msg { border-bottom: 0; font-family: var(--f-ui); }
html[data-theme="clean"] .chat-msg .who { font-size: 12px; color: var(--print-solid); }
html[data-theme="clean"] .chat-msg .who::before { content: none; }
html[data-theme="clean"] .chat-msg.mine .who { color: #1a73e8; }
html[data-theme="clean"] .chat-input-row .btn { background: #1a73e8; border-color: #1a73e8; color: #fff; }
html[data-theme="clean"] .ai-menu { border-radius: 8px; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); color: var(--ink); }
html[data-theme="clean"] .ai-row + .ai-row { border-top-color: #f1f3f4; }
html[data-theme="clean"] .ai-off { font-family: var(--f-ui); }
html[data-theme="clean"] .notes-banner, html[data-theme="clean"] .translate-banner, html[data-theme="clean"] .control-banner, html[data-theme="clean"] .knock-card {
  background: #fff; color: var(--ink); border: 0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none;
}
html[data-theme="clean"] .notes-banner b, html[data-theme="clean"] .notes-banner .lang-heard b, html[data-theme="clean"] .control-banner b { color: var(--ink); text-transform: none; letter-spacing: 0; }
html[data-theme="clean"] .notes-banner .dot { box-shadow: none; }
html[data-theme="clean"] .translate-banner select, html[data-theme="clean"] .notes-banner select {
  font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: #fff; border: 1px solid var(--edge); border-radius: 6px; padding: 4px 8px;
}
html[data-theme="clean"] .toast { background: #3c4043; color: #fff; border: 0; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); font-family: var(--f-ui); font-size: 14px; letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] .modal { border-radius: 8px; background: #fff; border: 0; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
html[data-theme="clean"] .modal-scrim { background: rgba(0, 0, 0, 0.5); }
html[data-theme="clean"] .react-tray { background: #fff; }
html[data-theme="clean"] .react-emoji { border-radius: 50%; }
html[data-theme="clean"] .net-status { font-family: var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] .tile-caption { font-family: var(--f-ui); letter-spacing: 0; }
html[data-theme="clean"] .tile-caption .cap-lang { font-family: var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] .host-bar { border-bottom-color: #f1f3f4; }

/* Layout: preview left with the pickers under it; the rest centred right. */
html[data-theme="clean"] .prejoin { padding: 16px; }
html[data-theme="clean"] .prejoin-card { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr); gap: 16px 56px; align-items: center; }
html[data-theme="clean"] .prejoin-stage { position: relative; gap: 14px; }
html[data-theme="clean"] #devices { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
html[data-theme="clean"] #devices[hidden] { display: none; }
html[data-theme="clean"] #devices > div { display: flex; }
html[data-theme="clean"] #devices .field-label { display: none; }
html[data-theme="clean"] #devices .input {
  width: auto; max-width: 220px; padding: 8px 32px 8px 14px; border-radius: 24px; font-size: 14px;
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235f6368' stroke-width='1.8'/></svg>") no-repeat right 12px center;
}
html[data-theme="clean"] .prejoin-side { align-items: center; justify-content: center; gap: 18px; }
html[data-theme="clean"] .prejoin-side > * { width: min(100%, 360px); text-align: center; }
html[data-theme="clean"] .prejoin-side .grow { display: none; }
html[data-theme="clean"] .prejoin-side .sub, html[data-theme="clean"] .room-tag { display: none; }

/* The preview: large, rounded, buttons floating over its bottom edge. */
html[data-theme="clean"] .preview-wrap { border-radius: 10px; aspect-ratio: 16 / 9; }
/* Pulled up over the preview's bottom edge (they follow it in the flow). */
html[data-theme="clean"] .prejoin-controls {
  position: relative; z-index: 3; margin: -70px 0 10px; gap: 14px; pointer-events: none;
}
html[data-theme="clean"] .prejoin-controls .pill {
  pointer-events: auto; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(32, 33, 36, 0.55); color: #fff;
}
html[data-theme="clean"] .prejoin-controls .pill:hover { background: rgba(32, 33, 36, 0.75); }
html[data-theme="clean"] .prejoin-controls .pill[aria-pressed="false"] { background: #ea4335; border-color: #ea4335; }

/* The right column: centred, Meet's order — heading, notes card, Join. */
html[data-theme="clean"] .prejoin-side .headline { margin: 0; font-size: 28px; font-weight: 400; }
html[data-theme="clean"] .prejoin-side .sub { font-size: 14px; color: var(--print-solid); margin: -6px 0 0; }
html[data-theme="clean"] .room-tag { justify-content: center; font-size: 13px; }
html[data-theme="clean"] .prejoin-side .field-label { text-align: left; }
html[data-theme="clean"] .prejoin-side .input { text-align: left; }
html[data-theme="clean"] .ai-notice {
  text-align: left; border-radius: 28px; padding: 14px 20px; gap: 6px;
  background: #f1f3f4; color: var(--ink); font-size: 14px;
}
html[data-theme="clean"] .ai-notice label { font-size: 13px; color: var(--print-solid); }
html[data-theme="clean"] .ai-notice .lang-heard { font-size: 13px; }
html[data-theme="clean"] #join { width: min(100%, 320px); padding: 16px 24px; font-size: 16px; border-radius: 32px; }
html[data-theme="clean"] #join .ico { display: none; }
html[data-theme="clean"] .foot { font-size: 12px; line-height: 1.5; }
@media (max-width: 860px) {
  html[data-theme="clean"] .prejoin-card { grid-template-columns: 1fr; gap: 20px; }
}

/* ── The home page (meet.codnov.ai) ───────────────────────────────────────
 * Same look as a clean room, so the front door and the call match: white page,
 * the name top left, one big headline, a blue "New room" pill and a code box,
 * the way Meet's own home page reads. The retro furniture (OP display, LEDs,
 * spec table, speaker grille, model plate) is dropped, not restyled.
 * index.html sets data-theme="clean" itself: the home page has no per-link
 * choice to make. */
html[data-theme="clean"] body.landing { background: #fff; }
html[data-theme="clean"] body.landing .page { gap: 0; padding: 0 24px; }
html[data-theme="clean"] body.landing .strip {
  max-width: 1180px; padding: 16px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
html[data-theme="clean"] body.landing .brand-mark,
html[data-theme="clean"] body.landing .model,
html[data-theme="clean"] body.landing .led-row,
html[data-theme="clean"] body.landing .strip .divider,
html[data-theme="clean"] body.landing .account-bar .lcd,
html[data-theme="clean"] body.landing .control > .lcd,
html[data-theme="clean"] body.landing .spec,
html[data-theme="clean"] body.landing .grille,
html[data-theme="clean"] body.landing .download-cta .port,
html[data-theme="clean"] body.landing .feature::before,
html[data-theme="clean"] body.landing .foot-plate .led { display: none; }
html[data-theme="clean"] body.landing .wordmark { font-size: 22px; font-weight: 500; color: #5f6368; letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] body.landing .brand { text-decoration: none; }
html[data-theme="clean"] body.landing .account-bar .avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; font-size: 12px; }

html[data-theme="clean"] body.landing .landing-unit {
  max-width: 1180px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  align-items: center; align-content: center; gap: 56px; flex: 1 0 auto;
}
html[data-theme="clean"] body.landing .module { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
html[data-theme="clean"] body.landing .about,
html[data-theme="clean"] body.landing .control { padding: 0; gap: 20px; }
html[data-theme="clean"] body.landing .headline { font-size: clamp(32px, 4vw, 44px); }
html[data-theme="clean"] body.landing .lede { font-size: 16px; line-height: 1.5; color: var(--print-solid); max-width: 460px; }
html[data-theme="clean"] body.landing .divider-or { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--print-solid); }
html[data-theme="clean"] body.landing .divider-or::before,
html[data-theme="clean"] body.landing .divider-or::after { border-top: 1px solid var(--edge); }
html[data-theme="clean"] body.landing .link-panel { background: #f1f3f4; border: 0; box-shadow: none; border-radius: 8px; }
html[data-theme="clean"] body.landing .link-label { font-family: var(--f-ui); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
html[data-theme="clean"] body.landing .link-input {
  background: #fff !important; color: var(--ink) !important; border-color: var(--edge) !important;
  font-family: var(--f-ui); font-size: 14px; box-shadow: none !important;
}
html[data-theme="clean"] body.landing .feature-row { gap: 6px 16px; }
html[data-theme="clean"] body.landing .feature { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--print-solid); }
html[data-theme="clean"] body.landing .feature + .feature::before { content: "·"; display: inline; background: none; box-shadow: none; width: auto; height: auto; margin-right: 9px; }
html[data-theme="clean"] body.landing .download-cta { background: #fff; border: 1px solid var(--edge); border-radius: 8px; box-shadow: none; }
html[data-theme="clean"] body.landing .download-cta:hover { background: #f8f9fa; border-color: var(--edge); }
html[data-theme="clean"] body.landing .download-cta .cta-text { font-weight: 500; }
html[data-theme="clean"] body.landing .download-cta .cta-text small { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; }
html[data-theme="clean"] body.landing .foot-plate {
  max-width: 1180px; padding: 20px 0; border: 0; border-top: 1px solid #f1f3f4; border-radius: 0;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0; text-transform: none;
}
html[data-theme="clean"] body.landing .foot-plate > span:first-child { display: none; }
@media (max-width: 960px) {
  html[data-theme="clean"] body.landing .landing-unit { gap: 28px; padding: 8px 0 24px; }
}
@media (max-width: 720px) {
  html[data-theme="clean"] body.landing .page { padding: 0 16px; }
}

/* ── Every other page: sign in, download, API keys, notes ─────────────────
 * Same furniture removal as the home page, applied to the shared shell so
 * the whole site reads as one product. Only pages with body.landing. */
html[data-theme="clean"] body.landing .unit {
  width: 100%; max-width: 1180px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
html[data-theme="clean"] body.landing .page > .unit { padding-top: 8px; padding-bottom: 32px; }
html[data-theme="clean"] body.landing .cursor::after { content: none; }
html[data-theme="clean"] body.landing h1,
html[data-theme="clean"] body.landing h2,
html[data-theme="clean"] body.landing h3,
html[data-theme="clean"] body.landing h4 { font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
html[data-theme="clean"] body.landing .headline { font-weight: 400; }
html[data-theme="clean"] body.landing .module { padding: 0; }
html[data-theme="clean"] body.landing code, html[data-theme="clean"] body.landing pre,
html[data-theme="clean"] body.landing td.mono, html[data-theme="clean"] body.landing .secret .lcd,
html[data-theme="clean"] body.landing textarea.input, html[data-theme="clean"] body.landing .link-input { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Sign in */
html[data-theme="clean"] body.landing .auth-unit { max-width: 960px; align-items: center; gap: 56px; }
html[data-theme="clean"] body.landing .auth-card { padding: 28px; border: 1px solid var(--edge); border-radius: 12px; gap: 16px; }
html[data-theme="clean"] body.landing .auth-card .lcd { height: auto; font-size: 24px; font-weight: 400; color: var(--ink); }
html[data-theme="clean"] body.landing .auth-card .lcd small { display: none; }
html[data-theme="clean"] body.landing .auth-tag, html[data-theme="clean"] body.landing .auth-foot { font-size: 14px; color: var(--print-solid); }
html[data-theme="clean"] body.landing .auth-tabs { background: #f1f3f4; box-shadow: none; border-radius: 24px; }
html[data-theme="clean"] body.landing .auth-tab { font-family: var(--f-ui); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--print-solid); border-radius: 20px; }
html[data-theme="clean"] body.landing .auth-tab.active { background: #fff; color: #1a73e8; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
html[data-theme="clean"] body.landing .auth-field label { font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--print-solid); }
html[data-theme="clean"] body.landing .auth-err,
html[data-theme="clean"] body.landing .msg-err { background: #fce8e6; color: #c5221f; box-shadow: none; font-family: var(--f-ui); font-size: 13px; }
html[data-theme="clean"] body.landing .auth-err::before { content: none; }
html[data-theme="clean"] body.landing .auth-switch { color: #1a73e8; text-decoration: none; font-weight: 500; }
html[data-theme="clean"] body.landing .auth-switch:hover { text-decoration: underline; }
html[data-theme="clean"] body.landing .msg-ok { font-family: var(--f-ui); font-size: 13px; }

/* Download */
html[data-theme="clean"] body.landing .dl-hero { gap: 40px; align-items: center; padding: 8px 0 16px; }
html[data-theme="clean"] body.landing .dl-hero .headline { font-size: clamp(32px, 4vw, 44px); }
html[data-theme="clean"] body.landing .dl-sub { color: var(--print-solid); font-size: 16px; line-height: 1.5; }
html[data-theme="clean"] body.landing .dl-sub b { font-weight: 500; }
html[data-theme="clean"] body.landing .dl-card { padding: 24px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
html[data-theme="clean"] body.landing .dl-card.recommended { border-color: #1a73e8; box-shadow: 0 0 0 1px #1a73e8; }
html[data-theme="clean"] body.landing .dl-os .os-badge { width: 48px; height: 48px; border-radius: 50%; background: #f1f3f4; color: var(--ink); box-shadow: none; }
html[data-theme="clean"] body.landing .dl-card.recommended .os-badge { color: #1a73e8; }
html[data-theme="clean"] body.landing .dl-os h3 { font-size: 20px; }
html[data-theme="clean"] body.landing .dl-os .note { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] body.landing .dl-badge { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #1a73e8; }
html[data-theme="clean"] body.landing .dl-badge::before { background: #1a73e8; box-shadow: none; }
html[data-theme="clean"] body.landing .dl-card:not(.recommended) .dl-btns .btn-primary { background: #fff; color: #1a73e8; border-color: var(--edge); box-shadow: none; }
html[data-theme="clean"] body.landing .dl-card:not(.recommended) .dl-btns .btn-primary:hover { background: #f8f9fa; }
html[data-theme="clean"] body.landing .dl-soon { border: 1px solid var(--edge); border-radius: 8px; font-family: var(--f-ui); font-size: 13px; }
html[data-theme="clean"] body.landing .dl-why { padding: 16px 0 0; gap: 40px; }
html[data-theme="clean"] body.landing .dl-why h4 { font-size: 22px; line-height: 1.2; }
html[data-theme="clean"] body.landing .dl-why h4 + p { color: var(--print-solid); }
html[data-theme="clean"] body.landing .dl-steps li { border-top-color: #f1f3f4; color: var(--ink-2); }
html[data-theme="clean"] body.landing .dl-steps li:last-child { border-bottom-color: #f1f3f4; }
html[data-theme="clean"] body.landing .dl-steps li::before { width: 28px; height: 28px; border-radius: 50%; background: #e8f0fe; color: #1a73e8; font-family: var(--f-ui); font-size: 13px; font-weight: 500; }
html[data-theme="clean"] body.landing .dl-steps b { font-weight: 500; }
html[data-theme="clean"] body.landing .dl-why code { background: #f1f3f4; border: 0; font-size: 12.5px; }
html[data-theme="clean"] body.landing .dl-note { font-family: var(--f-ui); font-size: 13px; }

/* API keys + notes */
html[data-theme="clean"] body.landing .keys-unit,
html[data-theme="clean"] body.landing .notes-unit { gap: 20px; }
html[data-theme="clean"] body.landing .keys-unit .module,
html[data-theme="clean"] body.landing .notes-unit .module { padding: 24px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
html[data-theme="clean"] body.landing .keys-unit h2 { font-size: 20px; }
html[data-theme="clean"] body.landing .notes-unit h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }
html[data-theme="clean"] body.landing .notes-unit h2 { font-size: 18px; }
html[data-theme="clean"] body.landing .secret { background: #f1f3f4; border: 0; border-radius: 8px; }
html[data-theme="clean"] body.landing .secret .lcd { font-size: 13px; color: var(--ink); }
html[data-theme="clean"] body.landing .warn { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] body.landing table.keys th { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; }
html[data-theme="clean"] body.landing table.keys td { border-top-color: #f1f3f4; }
html[data-theme="clean"] body.landing .empty { border: 1px solid var(--edge); font-family: var(--f-ui); font-size: 13px; }
html[data-theme="clean"] body.landing pre.code { background: #f1f3f4; color: var(--ink); box-shadow: none; font-size: 12.5px; }
html[data-theme="clean"] body.landing pre.code .c { color: var(--print-solid); }
html[data-theme="clean"] body.landing .result a { color: #1a73e8; font-weight: 500; }
html[data-theme="clean"] body.landing .origins { font-size: 12.5px; }
html[data-theme="clean"] body.landing .meta,
html[data-theme="clean"] body.landing .lvl,
html[data-theme="clean"] body.landing .tag { font-family: var(--f-ui); letter-spacing: 0; text-transform: none; }
html[data-theme="clean"] body.landing .meta { font-size: 13px; }
html[data-theme="clean"] body.landing .tag { font-size: 12px; font-weight: 500; }
html[data-theme="clean"] body.landing ul.clean li { background: #f8f9fa; border: 0; border-radius: 8px; }
html[data-theme="clean"] body.landing .bar { background: #e8eaed; box-shadow: none; }
html[data-theme="clean"] body.landing .bar-row .num, html[data-theme="clean"] body.landing .transcript { font-family: var(--f-ui); }
html[data-theme="clean"] body.landing .who { font-family: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; }
@media (max-width: 960px) {
  html[data-theme="clean"] body.landing .auth-unit { gap: 24px; }
  html[data-theme="clean"] body.landing .keys-unit .module,
  html[data-theme="clean"] body.landing .notes-unit .module { padding: 18px; }
}
html[data-theme="clean"] body.landing .auth-card .lcd #auth-title { display: block; text-transform: lowercase; }
html[data-theme="clean"] body.landing .auth-card .lcd #auth-title::first-letter { text-transform: uppercase; }
html[data-theme="clean"] body.landing .keys-unit,
html[data-theme="clean"] body.landing .notes-unit { align-content: start; align-items: start; }
