/* Shared design tokens: models.diderot.app and Get-Real-XR/diderot. */
:root {
  color-scheme: light;
  --accent: #5d71ff;
  --accent-hover: #7d8dff;
  --accent-soft: #eff1ff;
  --text: #0a1a35;
  --heading: #060f1e;
  --muted: #121212b3;
  --border: #12121221;
  --faint: #1212120f;
  --card: #f3f3ee66;
  --surface: #fff;
  --ivory: #fafaf8;
  --error: #c0231c;
  --success: #13703e;
  --radius: 8px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #9ea9ff;
  --accent-hover: #bdc3ff;
  --accent-soft: #5d71ff20;
  --text: #ffffffe6;
  --heading: #fff;
  --muted: #ffffffb3;
  --border: #ffffff33;
  --faint: #ffffff0f;
  --card: #ffffff0f;
  --surface: #0a1a35;
  --ivory: #192841;
  --error: #ffa4a0;
  --success: #66d99a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--text); font: 14px/1.6 Poppins,sans-serif; -webkit-font-smoothing: antialiased; }
h1,h2,h3 { color: var(--heading); margin: 0; }
h1 { font: 600 34px/1.3 Sora,sans-serif; letter-spacing: -1px; margin: 10px 0; }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 14px; }
h3 { font-size: 14px; font-weight: 500; margin: 18px 0 6px; }
p { margin: 8px 0; }
a { color: var(--accent); }
button,input,textarea,select { font: inherit; }
button,.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; text-decoration: none; cursor: pointer; background: transparent; color: var(--text); }
button:hover { background: var(--faint); }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button.primary,.button.primary { background: #5d71ff; color: white; border-color: transparent; }
button.primary:hover,.button.primary:hover { background: #7d8dff; }
button.primary:active { background: #5567e8; }
.ghost { background: transparent; color: var(--muted); padding: 6px 10px; font-size: 13px; border-color: transparent; }
input,textarea,select { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); padding: 10px 12px; min-width: 0; max-width: 100%; }
input:focus,textarea:focus,select:focus { outline: none; border-color: #cbd2ff; box-shadow: 0 0 0 4px #5d71ff26; }
input::placeholder,textarea::placeholder { color: var(--muted); opacity: .65; }
textarea { width: 100%; min-height: 100px; resize: vertical; line-height: 1.65; }
select { width: 100%; }
input[type="checkbox"] { accent-color: #5d71ff; }
label { display: block; margin: 12px 0 6px; font-size: 12px; color: var(--muted); }
.topbar { height: 76px; border-bottom: 1px solid var(--faint); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 600 19px Sora,sans-serif; }
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand-divider { color: var(--border); font-weight: 400; margin: 0 5px; }
.product { font: 500 16px Poppins,sans-serif; }
main { max-width: 1440px; margin: auto; padding: 0 40px 32px; }
.intro { margin: 38px 0 28px; }
.toolbar,.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar { margin-bottom: 18px; }
.toolbar label { margin: 0; }
.grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 24px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--faint); border-radius: 12px; padding: 24px; margin-bottom: 16px; min-width: 0; }
.proposal { border-top: 3px solid var(--accent); }
.eyebrow { font-size: 10px; letter-spacing: 1.8px; font-weight: 600; color: var(--accent); text-transform: uppercase; }
.answer { font: 500 24px/1.4 Sora,sans-serif; letter-spacing: -.5px; margin: 16px 0; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 12px; }
.notice { min-height: 24px; font-size: 13px; }
.error { color: var(--error); }
.saved { color: var(--success); }
.document { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 600px; overflow: auto; border-top: 1px solid var(--border); padding: 14px 0; font-size: 15px; line-height: 1.75; }
.quote { border-left: 3px solid var(--accent); padding: 10px 14px; margin: 12px 0; background: var(--surface); white-space: pre-wrap; overflow-wrap: anywhere; }
.quote button { display: block; font-size: 12px; margin-top: 8px; }
.context { margin: 0; }
.context dt { font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 12px; }
.context dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
summary { cursor: pointer; color: var(--muted); font-size: 12px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.65 "IBM Plex Mono",monospace; }
.actions button { font-size: 12px; flex: 1 1 auto; padding: 10px 12px; }
.actions button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
#criteria { padding-left: 20px; font-size: 13px; }
#model-concerns:empty { display: none; }
#human-evidence { padding-left: 18px; font-size: 12px; }
#human-evidence button { font-size: 12px; margin-left: 8px; }
#identity { overflow-wrap: anywhere; font-family: "IBM Plex Mono",monospace; font-size: 10px; }
mark { background: var(--accent-soft); color: var(--accent); outline: 1px solid var(--accent); }
.hidden { display: none; }
::selection { background: #5d71ff33; color: var(--accent); }
@media(max-width:900px) { .grid { grid-template-columns: minmax(0,1fr); } main,.topbar { padding-inline: 24px; } h1 { font-size: 28px; } }
@media(max-width:540px) { main,.topbar { padding-inline: 16px; } .topbar { height: 65px; } .brand { gap: 8px; font-size: 16px; } .brand svg { width: 24px; height: 24px; } .brand-divider { margin: 0; } .intro { margin: 26px 0 22px; } h1 { font-size: 26px; } .card { padding: 18px; } button,select,summary { min-height: 44px; } input,textarea,select { font-size: 16px; } .toolbar input { flex: 1; } }
@media(prefers-reduced-motion:no-preference) { button { transition: background .15s,color .15s; } }
