/* AntBeacon daylight: warm paper, burnt orange, charcoal. Dark remains the default. */
:root { color-scheme:dark; }
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:24px; background:transparent; color:var(--bone); font:12px Arial,sans-serif; white-space:nowrap; }
.theme-toggle:hover { border-color:var(--acid); color:var(--acid); }
.theme-toggle:focus-visible { outline:3px solid var(--acid); outline-offset:4px; }
.standard-ant { display:block; width:100%; height:auto; object-fit:contain; }
.identity-art .standard-ant { height:280px; margin:14px auto; }
/* The Queen's original green artwork is never inverted or recoloured. */
#queen .effigy { --gold:#d5b57c; --paper:#e6dbc3; --soft:#c6c1b2; background:#191a17; color:#eeecdf; }
#queen .effigy img { mix-blend-mode:normal; }
.queen-teaser:after { opacity:1; width:70px; height:84px; top:18px; right:18px; border-radius:45% 45% 12px 12px; background:#191a17 url('queen-ant.svg') center/80% no-repeat; }
.queen-teaser .eyebrow { display:block; padding-right:74px; }
.queen-teaser h3 { position:relative; z-index:1; }
html[data-theme="light"] {
  color-scheme:light;
  --ink:#f6f0e4; --deep:#fffcf5; --bone:#292b25; --acid:#a84319;
  --muted:#646457; --line:#b7ad97; --honey:#95501f; --paper:#eee2c8;
}
html[data-theme="light"] body { background:#f6f0e4; background-image:radial-gradient(ellipse at 90% 5%,#eddba780,transparent 42%); }
html[data-theme="light"] .masthead { border-bottom-color:#30342c; }
html[data-theme="light"] .button { border-radius:4px; }
html[data-theme="light"] .button.acid { background:#a84319; color:#fffaf1; border-color:#a84319; }
html[data-theme="light"] .button.acid:hover { background:#773111; border-color:#773111; }
html[data-theme="light"] :is(input,textarea,select) { background:#fffcf5; border-color:#aaa18c; border-radius:4px; }
html[data-theme="light"] :is(input,textarea)::placeholder { color:#716e62; }
html[data-theme="light"] .error { color:#a02c24; }
html[data-theme="light"] body h1 em,html[data-theme="light"] body #queen h1 em { color:#995022; }
html[data-theme="light"] :is(.nest-dek,.home-heading p:last-child,.trailhead a>span,.landing-foot,.post-title>p:last-child) { color:#606052; }
html[data-theme="light"] :is(.trailhead>p,.trailhead small,.beacon-art figcaption) { color:#775025; }
html[data-theme="light"] .trailhead>a { border-color:#b7ad97; }
html[data-theme="light"] .trailhead>a:hover { background:#eddfbd55; }
html[data-theme="light"] .beacon-art { filter:drop-shadow(0 15px 25px #62451d18); }
html[data-theme="light"] .beacon-halo { mix-blend-mode:multiply; background:radial-gradient(ellipse,#f5bd4970,transparent 68%); }
html[data-theme="light"] .scene-ant { color:#555b4a; }
html[data-theme="light"] .queen-post { background:#ede7d4; border-color:#b0a47e; border-radius:5px; box-shadow:0 5px 0 #ded4b94d; }
html[data-theme="light"] .queen-notice { background:#fffbef; }
html[data-theme="light"] .queen-teaser { background:#dce2bc; color:#292e22; border:1px solid #a9b28c; border-radius:5px; }
html[data-theme="light"] .queen-teaser .button { color:#292e22; border-color:#6b7554; }
html[data-theme="light"] .queen-teaser .button:hover { background:#292e22; color:#fffaf1; }
html[data-theme="light"] .identity-art { background:#e9d9b3; color:#292b25; border:1px solid #bdab80; border-radius:48% 48% 8px 8px; }
html[data-theme="light"] .identity-art .eyebrow { display:block; text-align:center; padding-top:12px; }
html[data-theme="light"] .review-feedback { background:#ebe9d9; border-color:#b5b79c; }
html[data-theme="light"] .review-feedback .vote-button { background:#fffcf5; }
html[data-theme="light"] .review-feedback .vote-button[aria-pressed="true"] { background:#f4dcc4; }
html[data-theme="light"] dialog { background:#f6f0e4; border-color:#8d846f; box-shadow:0 20px 90px #201a1540; }
html[data-theme="light"] #queen { --gold:#875021; --paper:#34382d; --soft:#5c5d50; --earth:#e6dcc6; --hair:#b4a991; }
html[data-theme="light"] #queen .effigy { --gold:#d5b57c; --paper:#e6dbc3; --soft:#c6c1b2; }
html[data-theme="light"] #queen .chamber { background:#fffaf0; border-color:#a89b78; box-shadow:0 6px 0 #bdab7c20; }
html[data-theme="light"] #queen .chamber:hover { background:#e9e7ca; border-color:#7c842e; color:#292b25; }
html[data-theme="light"] #queen .passage { stroke:#dfd4b9; }
html[data-theme="light"] #queen .contour { stroke:#ded4c0; }
html[data-theme="light"] #queen .trail { stroke:#858454; }
html[data-theme="light"] #queen .common-table { background:#e8dfc9; color:#292b25; }
html[data-theme="light"] #queen .hidden-chamber { background:#fffbef80; }
html[data-theme="light"] #queen .trail-reveal { background:#fffaf0; }
html[data-theme="light"] #queen .trail-reveal .colony-lesson { background:#e7ead3; }
html[data-theme="light"] #queen .map-revision-content>div,html[data-theme="light"] #queen .lost-items article { background:#f5eddb; }
html[data-theme="light"] #queen .open-door { background:#e1e5cb; border-color:#9ca477; }
/* Keep the wandering resident grey, with an edge on both paper and dark panels. */
html[data-theme="light"] #colony-ant { color:#747873; filter:drop-shadow(0 1px 0 #fffcf5) drop-shadow(0 -1px 0 #fffcf5); }
html[data-theme="light"] #colony-ant .body { stroke:#424840; }
@media(max-width:600px) { .theme-toggle { font-size:11px; padding:8px 11px; } .identity-art .standard-ant { height:240px; } }
@media(prefers-reduced-motion:reduce) { .theme-toggle { transition:none; } }
/* Private Queen workbench: approved Operate composition, no public story changes. */
.queen-workbench{--q-surface:#22241f;--q-raised:#2b2d26;--q-edge:#41453b;--q-amber:#e7c38b;--q-amber-bg:#3b3324;--q-red:#efa89e;--q-red-bg:#382927;--q-green:#b7cfa0;--q-green-bg:#2a3527;min-width:0}
html[data-theme=light] .queen-workbench{--q-surface:#fffcf5;--q-raised:#efe8d9;--q-edge:#c8beaa;--q-amber:#755017;--q-amber-bg:#f0e3c8;--q-red:#963f32;--q-red-bg:#f6e1da;--q-green:#3d602f;--q-green-bg:#e5edda}
#profile:has(.queen-workbench)>:not(#live-account){display:none}
.queen-workbench .controls-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 0 30px}
.queen-workbench .controls-heading h2{font:400 clamp(33px,4vw,48px)/1.08 Georgia,serif;letter-spacing:-.04em;margin:9px 0}
.queen-workbench .controls-heading p{color:var(--muted);font-size:14px;margin:10px 0}
.queen-workbench .controls-heading p:first-child{color:var(--q-amber);font-size:10px;letter-spacing:.15em}
.queen-workbench .queen-seal{display:flex;align-items:center;gap:16px;padding:10px 20px;background:#191a17;color:#eeecdf;border:1px solid #41453b;border-radius:6px;font-size:12px;flex-shrink:0}
.queen-workbench .queen-seal img{object-fit:contain}
.queen-workbench .workbench{display:grid;grid-template-columns:216px minmax(0,1fr);gap:38px;border-top:1px solid var(--q-edge);padding-top:28px}
.queen-workbench .workbench-nav{display:flex;flex-direction:column;align-self:start;gap:5px;position:sticky;top:20px}
.queen-workbench .workbench-nav a{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:47px;padding:10px 11px;font-size:13px;border:1px solid transparent;border-radius:4px;text-decoration:none;color:var(--muted)}
.queen-workbench .workbench-nav a[aria-current=page]{color:var(--bone);background:var(--q-raised);border-color:var(--q-edge)}
.queen-workbench .workbench-nav a:hover{background:var(--q-surface);color:var(--bone)}
.queen-workbench .nav-count{font-size:11px;border-radius:4px;padding:2px 7px;color:var(--q-amber);background:var(--q-amber-bg)}
.queen-workbench .workbench-content,.queen-workbench .item-copy{min-width:0}
.queen-workbench .queue-group{margin-bottom:30px}.queen-workbench h3{font:400 26px Georgia,serif;margin:0 0 18px}
.queen-workbench .queue-item{border:1px solid var(--q-edge);border-radius:4px;margin:0 0 10px;background:var(--q-surface);overflow-wrap:anywhere}
.queen-workbench .queue-item>summary{display:grid;grid-template-columns:118px minmax(0,1fr) auto;gap:16px;align-items:center;padding:19px 18px;cursor:pointer;list-style:none;font-size:11px;color:var(--muted);min-height:60px}
.queen-workbench .queue-item>summary::-webkit-details-marker{display:none}
.queen-workbench .queue-item>summary:after{content:'+';grid-column:3;text-align:right}.queen-workbench .queue-item[open]>summary:after{content:'−'}
.queen-workbench .queue-item[open]>summary{background:var(--q-raised);border-bottom:1px solid var(--q-edge)}
.queen-workbench .item-copy strong{display:block;color:var(--bone);font-size:14px;font-weight:600;line-height:1.5}
.queen-workbench .item-copy small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}
.queen-workbench .queue-status{display:inline-block;padding:5px 8px;font:11px Arial,sans-serif;border-radius:4px;color:var(--q-amber);background:var(--q-amber-bg);white-space:normal}
.queen-workbench .queue-status.reported{color:var(--q-red);background:var(--q-red-bg)}
.queen-workbench .queue-status.approved{color:var(--q-green);background:var(--q-green-bg)}
.queen-workbench .review-panel{padding:24px 26px}.queen-workbench .review-panel>img{max-width:100%;max-height:480px;object-fit:contain;display:block;margin:16px 0}
.queen-workbench .review-body{font:14px/1.8 Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--q-edge);padding:20px;max-width:100%;background:var(--ink)}
.queen-workbench .form-stack{margin:20px 0;padding:0;max-width:680px}.queen-workbench .form-stack h3:empty{display:none}
.queen-workbench label{font-size:12px;line-height:1.6}.queen-workbench input,.queen-workbench textarea,.queen-workbench select{max-width:100%;min-width:0}
.queen-workbench input[type=checkbox]{width:20px;height:20px;vertical-align:middle;margin:8px}
.queen-workbench button{min-height:44px;padding:10px 16px;border:1px solid var(--q-edge);border-radius:4px;background:var(--q-raised);color:var(--bone);font:13px Arial,sans-serif;cursor:pointer}
.queen-workbench button:disabled{opacity:.6;cursor:wait}.queen-workbench button:hover:not(:disabled){border-color:var(--acid)}
.queen-workbench [data-decision=approved],.queen-workbench [data-decision=approve],.queen-workbench [data-decision=published]{background:var(--q-green-bg);color:var(--q-green)}
.queen-workbench [data-decision=rejected],.queen-workbench [data-decision=reject],.queen-workbench [data-decision=revoke]{color:var(--q-red)}
.queen-workbench :is(a,button,summary,input,textarea,select):focus-visible{outline:3px solid var(--acid);outline-offset:3px}
.queen-workbench .queen-status:empty{display:none}.queen-workbench .queen-status{color:var(--q-green);margin:0 0 20px}.queen-workbench .queen-audit{margin:24px 0}
@media(max-width:1000px){.queen-workbench .workbench{grid-template-columns:180px minmax(0,1fr);gap:24px}.queen-workbench .queue-item>summary{grid-template-columns:minmax(0,1fr) auto}.queen-workbench .item-copy{grid-column:1;grid-row:2}.queen-workbench .queue-item>summary>.queue-status{grid-column:2;grid-row:1/3}.queen-workbench .queue-item>summary:after{grid-column:2}}
@media(max-width:760px){.queen-workbench .workbench{display:block;padding-top:18px}.queen-workbench .workbench-nav{display:grid;grid-template-columns:1fr 1fr;position:static;margin-bottom:24px}.queen-workbench .workbench-nav a:first-child{grid-column:1/-1}.queen-workbench .workbench-nav a{font-size:12px;padding:10px;min-height:44px}.queen-workbench .controls-heading{gap:15px}.queen-workbench .queen-seal{padding:8px}.queen-workbench .queen-seal span{display:none}.queen-workbench .queen-seal img{width:46px;height:64px}.queen-workbench .controls-heading p{font-size:12px}.queen-workbench .controls-heading p:first-child{font-size:9px}.queen-workbench .queue-item>summary{padding:16px 14px;grid-template-columns:minmax(0,1fr) 15px;gap:8px}.queen-workbench .queue-item>summary>.queue-status{grid-column:1;grid-row:3;justify-self:start}.queen-workbench .queue-item>summary:after{grid-row:1/4}.queen-workbench .review-panel{padding:18px 14px}.queen-workbench .review-body{padding:13px}.queen-workbench .form-stack{width:100%}}

