/* Shared workspace language: parchment, ink, and quiet champagne accents. */
:root{--bg:#f7f6f2;--raised:#fff;--panel:#f5f2eb;--ink:#302c26;--muted:#8b8275;--line:#e7e3da;--soft:#f0ece3;--primary:#302d27;--on-primary:#fffaf0;--accent:#a8854b;--active:#efe9dc;--danger:#a8473e;--success:#59776a;--wine:#5b4d3b;--wine-dark:#342f26;--gold:#c7a971;--radius:14px}
body:not(.stage-mode){background:var(--bg);color:var(--ink)}
body:not(.stage-mode) .sidebar{background:#f0ede5;color:#5a5348;border-right:1px solid #e5e0d5;box-shadow:none;padding-top:26px}
.sidebar .brand{color:#302b23;gap:11px;letter-spacing:-.025em;font-size:19px;padding-bottom:28px}
.sidebar .brand-mark{background:#353026;border:0;color:#dfc58e;width:35px;height:38px;border-radius:10px;box-shadow:none}
.sidebar .brand-mark i{width:21px;height:21px}.sidebar .brand strong{font-weight:650}
body:not(.stage-mode) .event-switch{background:#ffffffa6;border-color:#e0dbd0;color:#4e473a;padding:12px;box-shadow:0 2px 6px #54422203}
body:not(.stage-mode) .event-avatar{background:#ebe2cf;color:#8f713e;border:1px solid #e4d8bf}
body:not(.stage-mode) .event-switch small{color:#9a8d78;font-size:11px;margin-top:3px}
body:not(.stage-mode) .nav-label{color:#a59b8b;font-size:10px;letter-spacing:.1em;margin-bottom:8px}
body:not(.stage-mode) .sidebar nav button{color:#736a5c;font-size:13px;min-height:39px;border:0;transition:background .18s,color .18s}
body:not(.stage-mode) .sidebar nav button:hover{background:#e8e3d8;color:#3a342a}
body:not(.stage-mode) .sidebar nav button.active{color:#3d3323;background:#e8deca;box-shadow:none;font-weight:600;border:0}
body:not(.stage-mode) .sidebar nav button i{color:#a28b65;width:17px;height:17px}
body:not(.stage-mode) .sidebar nav button.active i{color:#9a7739}
body:not(.stage-mode) .sidebar-bottom{border-color:#e0dbd0;gap:8px}
body:not(.stage-mode) .sidebar-bottom span,body:not(.stage-mode) .sidebar-bottom small{color:#a19786;font-size:11px}
body:not(.stage-mode) .sidebar-bottom a{color:#756a59;font-size:12px}
body:not(.stage-mode) .appbar{background:#fbfaf7ed;color:#4b4439;border-bottom:1px solid #e8e4db;backdrop-filter:blur(16px);box-shadow:none}
body:not(.stage-mode) .breadcrumbs #crumb-event{font-size:13px;font-weight:500;color:#776c5b}
body:not(.stage-mode) .appbar .button{color:#766b5a;border-color:#e1dccf;background:#fff;font-size:12px;min-height:36px;padding:8px 12px}
body:not(.stage-mode) .appbar .button.primary{background:#353026;color:#f8edd4;border-color:#353026;min-width:111px}
body:not(.stage-mode) .appbar .local-pill{color:#93846c;font-size:11px}
body:not(.stage-mode) .product-status{color:#8f774e;border-color:#e0d6c3;background:#f7f2e7;font-size:11px;border-radius:7px}
body:not(.stage-mode) main{padding-top:30px}
body:not(.stage-mode) h1{font-size:25px;font-weight:600;letter-spacing:-.035em;line-height:1.4}
body:not(.stage-mode) h2{font-size:17px;letter-spacing:-.02em;font-weight:600;color:#39332a}
body:not(.stage-mode) .page-head{margin-bottom:25px}
body:not(.stage-mode) .panel{border-color:#e7e2d8;background:#fff;border-radius:14px;box-shadow:0 3px 16px #33271403;padding:24px}
body:not(.stage-mode) .button{background:#fff;border-color:#ded8cb;color:#625746;font-size:13px;border-radius:8px;min-height:38px;padding:9px 15px;font-weight:500;transition:background .18s,border-color .18s,transform .18s}
body:not(.stage-mode) .button:hover:not(:disabled){background:#f6f2e9;border-color:#c6b897}
body:not(.stage-mode) .button.primary{background:#373128;border-color:#373128;color:#fff7e8;box-shadow:none}
body:not(.stage-mode) .button.primary:hover:not(:disabled){background:#514536;border-color:#514536;transform:translateY(-1px)}
body:not(.stage-mode) .button.quiet{background:transparent;border-color:transparent;color:#978361}
body:not(.stage-mode) .button.danger{background:#fff;color:#a54940;border-color:#e4c5be}
body:not(.stage-mode) .field>span{color:#756b5b;font-size:13px;font-weight:500}
body:not(.stage-mode) .field input,body:not(.stage-mode) .field select,body:not(.stage-mode) .field textarea,body:not(.stage-mode) .search-field input{background:#fdfcf9;border-color:#ded8cc;color:#3f372b;border-radius:8px;font-size:14px;min-height:40px;transition:border-color .15s,box-shadow .15s}
body:not(.stage-mode) .field input:focus,body:not(.stage-mode) .field select:focus,body:not(.stage-mode) .field textarea:focus{outline:none;border-color:#baa16e;box-shadow:0 0 0 3px #bca57016}
body:not(.stage-mode) input[type=checkbox],body:not(.stage-mode) input[type=radio]{accent-color:#9c8150}
body:not(.stage-mode) .switch:checked{background:#a68a57}
body:not(.stage-mode) .checkline{color:#756b5a;font-size:13px}
body:not(.stage-mode) .count-badge{background:#f2ecde;color:#a0834b;border-color:#e8ddc5;font-size:12px;padding:3px 9px}
body:not(.stage-mode) .save-tag{color:#798b76;font-size:11px}
body:not(.stage-mode) .scene-fold>summary,body:not(.stage-mode) .scene-fold>summary>span{color:#86765c}
body:not(.stage-mode) .mode-buttons button{background:#f9f7f1;color:#7c705c;border-color:#e1d9c9;font-size:12px}
body:not(.stage-mode) .mode-buttons button[aria-pressed=true]{background:#ebe2cf;border-color:#c9b68d;color:#6b5330}
body:not(.stage-mode) .preset-button{background:#fff;border-color:#e3ded3;color:#655a47;box-shadow:none}
body:not(.stage-mode) .preset-button.active{background:#fbf7ed;border-color:#bda06a;box-shadow:inset 0 0 0 1px #bda06a}
body:not(.stage-mode) .preset-button strong{font-size:13px;font-weight:550}
body:not(.stage-mode) .color-pick{border-color:#e2daca;color:#817159;background:#fff}
body:not(.stage-mode) .color-pick[aria-pressed=true]{border-color:#b49a64;background:#faf6eb}
body:not(.stage-mode) .setup-step{background:#fff;border-color:#e6dfd1;box-shadow:none}
body:not(.stage-mode) .setup-step:hover{border-color:#b9a273;background:#fcfaf4}
body:not(.stage-mode) .setup-icon{background:#f2ebdd;color:#b2945c;border-color:#eadfc9}
body:not(.stage-mode) .activity-counts a{background:#faf8f3;border-color:#ebe5d9;color:#897657}
body:not(.stage-mode) .activity-counts strong{color:#57452e;font-size:32px;font-weight:500}
body:not(.stage-mode) .activity-rule{color:#87785f;border-color:#e3d9c7;background:#faf7ef}
body:not(.stage-mode) .table-wrap,body:not(.stage-mode) table{border-color:#e9e3d8;background:#fff}
body:not(.stage-mode) thead{background:#f8f5ee;color:#978569}
body:not(.stage-mode) th{color:#978569;font-size:11px;font-weight:500;letter-spacing:.02em}
body:not(.stage-mode) td{font-size:13px;color:#655c4d;border-color:#eee9df}
body:not(.stage-mode) .prize-tabs{border-color:#e2d9c8}
body:not(.stage-mode) .prize-tabs [aria-current=page]{color:#8d7344;border-color:#b19968}
body:not(.stage-mode) .pool-item-select strong{color:#564730;font-size:17px}
body:not(.stage-mode) .pool-item-progress i{background:linear-gradient(90deg,#a68954,#dbc79a)}
body:not(.stage-mode) .pool-summary b{color:#76603d}
body:not(.stage-mode) .warning,body:not(.stage-mode) .recovery{background:#fbf4e5;color:#8e713c;border-color:#e9d9b5;font-size:13px}
body:not(.stage-mode) .essential-note,body:not(.stage-mode) .help{font-size:12px;color:#9a8c77}
body:not(.stage-mode) dialog{background:#fdfcf8;border-color:#e5dccb;box-shadow:0 26px 90px #30261725;border-radius:16px}
body:not(.stage-mode) dialog::backdrop{background:#3c342a55;backdrop-filter:blur(4px)}
body:not(.stage-mode) .dialog-head{background:#f9f6ef;border-color:#e8e0d1;padding:20px 24px}
body:not(.stage-mode) .dialog-head h2{font-size:20px}
body:not(.stage-mode) .dialog-actions{background:#fdfcf8;border-color:#e8e0d1}
body:not(.stage-mode) #toast{background:#3c3429;border-color:#b59c6d;color:#fff4dc;font-size:13px;box-shadow:0 8px 28px #3b2b1820}
body:not(.stage-mode) .trial-banner{background:#eee6d5;color:#8e7955;border-bottom:1px solid #e2d5bb;font-size:12px}
/* Preparation pages use workspace colors, independently of the chosen stage theme. */
body:not(.stage-mode) .opening-summary{background:linear-gradient(115deg,#f0e8d8,#f9f6ee);color:var(--ink);border-color:#dfd3bb;box-shadow:none}
body:not(.stage-mode) .opening-summary>div>span{color:#806a43}
body:not(.stage-mode) .opening-summary h2{color:#39332a;font-size:22px;line-height:1.5}
body:not(.stage-mode) .opening-summary p{color:#706451;line-height:1.7}
body:not(.stage-mode) .opening-summary>.button{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
body:not(.stage-mode) .opening-summary>.button:hover{background:#514536;border-color:#514536}
body:not(.stage-mode) .opening-item,body:not(.stage-mode) .opening-confirm{border-color:var(--line)}
body:not(.stage-mode) .opening-item p,body:not(.stage-mode) .opening-item h3>span,body:not(.stage-mode) .opening-note,body:not(.stage-mode) .opening-confirm small{color:#796f60}
body:not(.stage-mode) .opening-item>a{color:#806a43}
body:not(.stage-mode) .opening-item.info .opening-mark{background:var(--soft);color:#796f60}
body:not(.stage-mode) .import-counts button{background:#f8f5ee;border-color:#e2d9c9;color:#766649}
body:not(.stage-mode) .import-counts button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
body:not(.stage-mode) .import-review-options select{background:#fdfcf9;border-color:#ded8cc;color:#3f372b}
body:not(.stage-mode) .import-review-table th{background:#f8f5ee}
body:not(.stage-mode) .checkin-tags span{background:var(--soft);color:#766649}
@media(max-width:600px){body:not(.stage-mode) .opening-summary h2{font-size:20px}}
/* Activation is a calm continuation of the public landing page. */
body.access-gate{background:#fbf7ef;color:#463a2b}
.access-gate .activation-shell{display:grid;grid-template-columns:minmax(340px,1fr) minmax(400px,1.1fr);column-gap:6vw;align-items:center;min-height:100dvh;padding:34px 7vw 24px;background:radial-gradient(ellipse at 90% 30%,#e7c99628,transparent 57%),#fbf7ef;overflow:hidden;position:relative;isolation:isolate}
.access-gate .activation-shell>.public-brand{grid-column:1/-1;align-self:start;color:#5d4c35;gap:10px;font-size:18px}
.access-gate .activation-shell>.public-brand>span{border:1px solid #cdb780;border-radius:9px;width:36px;height:39px;color:#95763c;background:#f7edda}
.access-gate .activation-shell>.public-brand small{font-size:10px;font-weight:400;letter-spacing:.05em;color:#b49a70;margin-left:4px}
.access-gate .activation-panel{width:100%;max-width:430px;justify-self:center;margin:45px 0 55px;padding:0;position:relative;z-index:2}
.access-gate .activation-panel h1{font-family:"Songti SC","STSong",Georgia,serif;font-size:clamp(34px,3.6vw,51px);color:#57432c;font-weight:500;line-height:1.5;margin:0 0 32px;letter-spacing:-.025em}
.access-gate .activation-panel .public-eyebrow{color:#b3986c;font-size:10px;letter-spacing:.14em;margin-bottom:21px}
.access-gate .activation-panel label{font-size:12px;font-weight:500;letter-spacing:.04em;color:#98856a}
.access-gate .activation-panel input{font-size:16px;border:1px solid #ded1b9;border-radius:9px;background:#fffefa;color:#4e402b;margin:10px 0 20px;padding:17px 18px;box-shadow:0 2px 7px #543f1d03;transition:border-color .2s,box-shadow .2s}
.access-gate .activation-panel input:focus{border-color:#b89a5e;box-shadow:0 0 0 4px #c3a56b14}
.access-gate .activation-panel input::placeholder{color:#b6a88f;font-size:13px}
.access-gate .activation-panel .public-button.gold{border-radius:9px;background:#3d3428;color:#fff4dc!important;box-shadow:none;font:500 14px/1.5 "PingFang SC",sans-serif;padding:16px 20px;min-height:54px;border:1px solid #3d3428;justify-content:space-between;transition:transform .2s,background .2s}
.access-gate .activation-panel .public-button.gold:hover:not(:disabled){transform:translateY(-2px);background:#5b4932}
.access-gate .activation-alt{border-color:#e7ddca;color:#a28a64;font-size:12px;padding-block:23px}
.access-gate .activation-note{color:#ac9b81;font-size:11px;line-height:1.9;margin-top:18px;max-width:390px}
.access-gate #activation-error{color:#ac6550;font-size:12px;margin:12px 0}
.access-gate .activation-shell>footer{grid-column:1/-1;color:#b5a38a;font-size:10px;letter-spacing:.05em;align-self:end}
.activation-story{max-width:650px;align-self:center;position:relative;text-align:center;isolation:isolate;padding:20px 0 40px}
.activation-story:before{content:"";position:absolute;inset:16% 8% 9%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse,#e8c58d32,transparent 69%)}
.activation-story img{width:min(100%,620px);height:auto;display:block;mix-blend-mode:multiply;filter:saturate(.8)}
.activation-story>span{display:block;color:#a58b60;font-size:10px;letter-spacing:.15em;margin-top:-15px}
.activation-modules{display:flex;justify-content:center;gap:24px;margin-top:25px;color:#ad9876;font-size:11px;letter-spacing:.08em}
.activation-modules span+span:before{content:"";display:inline-block;height:9px;border-left:1px solid #d8c7a7;margin-right:24px}
@media(min-width:1600px){body:not(.stage-mode) main{padding-inline:44px}.activation-shell{padding-inline:10vw}}
@media(max-width:1000px){.access-gate .activation-shell{column-gap:3vw;padding-inline:5vw;grid-template-columns:1fr 1fr}.activation-story{max-width:440px}.activation-modules{gap:15px}.activation-modules span+span:before{margin-right:15px}}
@media(max-width:760px){body:not(.stage-mode) .appbar{}body:not(.stage-mode) main{padding:23px 18px 35px}body:not(.stage-mode) h1{font-size:23px}body:not(.stage-mode) .appbar .mobile-menu{color:#88744e;border-color:#dfd3bc;background:#fff}body:not(.stage-mode) .panel{padding:20px}.access-gate .activation-shell{display:flex;flex-direction:column;align-items:stretch;padding:25px 7vw 24px;min-height:100dvh}.access-gate .activation-shell>.public-brand{align-self:flex-start}.access-gate .activation-panel{margin:60px auto 35px;max-width:440px}.access-gate .activation-panel h1{font-size:38px}.activation-story{display:none}.access-gate .activation-shell>footer{margin-top:auto;text-align:left;font-size:9px}.access-gate .activation-note{font-size:10px}.access-gate .activation-panel input{font-size:16px}}
@media(prefers-reduced-motion:reduce){.access-gate *,body:not(.stage-mode) .button{transition:none!important;animation:none!important}}

@media(min-width:901px){body:not(.stage-mode) .scene-preview{position:sticky;top:85px;align-self:start}body:not(.stage-mode) .scene-settings .grid2{gap:14px}body:not(.stage-mode) .scene-settings .scene-fold{margin-block:14px}body:not(.stage-mode) .scene-preview>.stage-frame{max-height:calc(100dvh - 185px)}}
@media(max-width:900px){body:not(.stage-mode) .scene-preview{position:static}}

/* Workspace completion: account, check-in, imports, results and local backups only. */
body:not(.stage-mode) #main .status{padding:4px 8px;font-size:12px;line-height:1.45;background:#f2eee5;color:#75654b}
body:not(.stage-mode) #main .status.valid{background:#edf3ee;color:#466753}
body:not(.stage-mode) #main .status.excluded,body:not(.stage-mode) #main .status.abandoned{background:#fbefec;color:#99473f}
body:not(.stage-mode) #main .table-foot{font-size:12px;color:#7e7363;border-color:#e7e3da;margin-top:18px}
body:not(.stage-mode) #main .table-foot .button{min-height:32px;padding:6px 11px;font-size:12px}
body:not(.stage-mode) #main .selection-actions{background:#f5f1e8;color:#6c5a3f;border:1px solid #e7decd;padding:11px 13px}
body:not(.stage-mode) #main .selection-actions>span{font-size:13px}
body:not(.stage-mode) #main .account-details{margin:20px 0 25px}
body:not(.stage-mode) #main .account-details>div{grid-template-columns:102px minmax(0,1fr);gap:18px;padding:14px 0;font-size:13px;border-color:#ece7dd}
body:not(.stage-mode) #main .account-details dt{color:#7e7363}
body:not(.stage-mode) #main .account-details dd{color:#40392e;font-weight:500;line-height:1.65}
body:not(.stage-mode) #main .config-layout:has(.account-details) .offline-pass-state{font-size:15px;line-height:1.75;color:#615540;margin:21px 0;max-width:36em}
body:not(.stage-mode) #main .config-layout:has(.account-details) .essential-note{color:#7e7363;line-height:1.8}
body:not(.stage-mode) #main .result-total>strong{color:#69543a;font-size:36px;font-weight:600;line-height:1.25;margin:19px 0 17px;font-variant-numeric:tabular-nums}
body:not(.stage-mode) #main .result-total>strong small{font-size:13px;font-weight:400;color:#7e7363}
body:not(.stage-mode) #main .result-total>span{font-size:12px;color:#7e7363}
body:not(.stage-mode) #main .backup-card .large-icon{width:56px;height:56px;border-radius:12px;background:#f4efe4;border-color:#e5dbc7;color:#927542;margin-bottom:23px}
body:not(.stage-mode) #main .backup-counts{gap:16px;margin:19px 0 23px;color:#7e7363;font-size:13px}
body:not(.stage-mode) #main .backup-card .offline-ready{font-size:15px;line-height:1.75;color:#67583f;margin:20px 0 23px;min-height:30px}
body:not(.stage-mode) #main .backup-card .button{margin-top:11px}
body:not(.stage-mode) #main .backup-card .essential-note{color:#7e7363;line-height:1.75}
body:not(.stage-mode) #main .audit-fold .outline-list li{padding:13px 0;font-size:13px;color:#625748}
body:not(.stage-mode) #main .audit-fold .outline-list time{font-size:12px;color:#7e7363}
body:not(.stage-mode) #main .event-entry.active{background:#fbf8f0;border-color:#cbb88d}
body:not(.stage-mode) #main .event-tile{width:52px;height:52px;background:#f3eddf;color:#947540}
body:not(.stage-mode) #main .current-tag{background:#f0e7d3;color:#745d36;border:1px solid #e2d4b6;font-size:12px;padding:5px 10px}
body:not(.stage-mode) #main .asset-preview{background:repeating-linear-gradient(45deg,#f1efea,#f1efea 12px,#f8f7f3 12px,#f8f7f3 24px);border-color:#d6cbb8}
body:not(.stage-mode) #main .asset-preview>span{width:56px;height:56px;border-radius:12px;background:#eee6d6;color:#947947}
body:not(.stage-mode) #main .asset-caption{font-size:12px;color:#7e7363;margin:15px 0}
body:not(.stage-mode) #main .checkin-stats>div{border-color:#e7e3da}
body:not(.stage-mode) #main .checkin-stats strong{font-size:27px;font-weight:550;color:#4d4436;font-variant-numeric:tabular-nums}
body:not(.stage-mode) #main .checkin-stats span,body:not(.stage-mode) #main .checkin-sync-actions>span{color:#7e7363;font-size:12px}
body:not(.stage-mode) #main .checkin-qr{border-color:#e4ded2;border-radius:10px;background:#fff}
body:not(.stage-mode) #main .checkin-button-grid .button{padding:8px 10px;min-width:0;min-height:38px;white-space:normal;font-size:12px;line-height:1.45}
body:not(.stage-mode) #main .checkin-remote-status{color:#67583f;font-size:13px;line-height:1.65;margin:17px 0}
body:not(.stage-mode) #main .checkin-history li{padding:11px 0;font-size:13px;border-color:#ece7dd}
body:not(.stage-mode) #main .checkin-history small{color:#7e7363;font-size:11px}
body:not(.stage-mode) #main .checkin-code-panel .essential-note{color:#7e7363;font-size:12px;line-height:1.8}
body:not(.stage-mode) #main .checkin-empty{min-height:360px}
body:not(.stage-mode) #main .checkin-empty-mark{font-size:30px;color:#a0824d}
body:not(.stage-mode) #main .checkin-empty h2{font-size:21px}
body:not(.stage-mode) #main .checkin-empty>p{font-size:13px;color:#7e7363}
body:not(.stage-mode) #main .checkin-empty>button{min-width:190px}
body:not(.stage-mode) #main .checkin-empty>button+button{margin-top:9px}
body:not(.stage-mode) #dialog:has(#checkin-create-form) .field,body:not(.stage-mode) #dialog:has(#import-text) .field{margin-bottom:18px}
body:not(.stage-mode) #dialog:has(#checkin-create-form) .grid2{column-gap:20px;row-gap:0}
body:not(.stage-mode) #dialog:has(#checkin-create-form) .checkline{margin:12px 0;gap:8px;font-size:13px}
body:not(.stage-mode) #dialog:has(#checkin-create-form) .essential-note,body:not(.stage-mode) #dialog .checkin-review .essential-note{color:#7e7363;line-height:1.8}
body:not(.stage-mode) #dialog .checkin-review h3{font-size:17px;color:#463c2c;margin-bottom:14px}
body:not(.stage-mode) #dialog .checkin-review p{font-size:13px;color:#756955}
body:not(.stage-mode) #dialog .checkin-qr-dialog>p{font-size:13px;color:#7e7363}
body:not(.stage-mode) #dialog:has(#import-text) .import-layout{gap:22px}
body:not(.stage-mode) #dialog:has(#import-text) .import-upload{background:#faf8f2;border-color:#d2c5ab;border-radius:11px;padding:24px;gap:13px}
body:not(.stage-mode) #dialog:has(#import-text) .import-upload>i{width:38px;height:38px;color:#a28a5d}
body:not(.stage-mode) #dialog:has(#import-text) .import-upload h3{font-size:16px;color:#65543a}
body:not(.stage-mode) #dialog:has(#import-text) .import-upload select{font-size:13px;min-height:38px;padding:8px 10px;border-color:#ded8cc;background:#fff;color:#5e5342}
body:not(.stage-mode) #dialog:has(#import-text) .import-paste textarea{min-height:190px;font-size:14px;line-height:1.65}
body:not(.stage-mode) #dialog:has(#import-text) .progress-note{color:#7e6a46;font-size:12px;margin-top:18px}
body:not(.stage-mode) #dialog .import-review-options>span,body:not(.stage-mode) #dialog .import-preserved,body:not(.stage-mode) #dialog .import-review-foot{color:#7e7363;font-size:12px;line-height:1.7}
body:not(.stage-mode) #dialog .import-review-table td:last-child b{color:#7e7363}
body:not(.stage-mode) #dialog .import-review-table del{color:#887d6d}
body:not(.stage-mode) #dialog .import-review-table strong{color:#5e4d33}
body:not(.stage-mode) #dialog .import-kind{background:#f1ede5;color:#73654e;font-size:11px;padding:4px 7px}
body:not(.stage-mode) #dialog .import-kind.add{background:#edf3ee;color:#466753}
body:not(.stage-mode) #dialog .import-kind.update,body:not(.stage-mode) #dialog .import-kind.restore{background:#f6efdf;color:#7b612d}
body:not(.stage-mode) #dialog .import-kind.conflict,body:not(.stage-mode) #dialog .import-kind.error{background:#fbefec;color:#99473f}
body:not(.stage-mode) #dialog .import-block{background:#fbefec;color:#99473f;border:1px solid #efd8d1;font-size:12px;line-height:1.65}
body:not(.stage-mode) #dialog .import-confirm{background:#faf5e9;border-color:#e3d6b9;color:#76603b;font-size:13px;line-height:1.7}
body:not(.stage-mode) #dialog:has(#backup-takeover-form) .outline-list li{padding:12px 0;font-size:13px;border-color:#e7e3da}
@media(max-width:760px){body:not(.stage-mode) #main .account-details>div{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:12px 0}body:not(.stage-mode) #main .checkin-stats strong{font-size:23px}body:not(.stage-mode) #dialog:has(#import-text) .import-paste textarea{min-height:150px}body:not(.stage-mode) #main .backup-counts{gap:12px}}

/* Activity preparation uses one workspace and one continuous setup flow. */
.workspace-eyebrow{font-size:12px;color:#9a8662;letter-spacing:.08em}
.activity-start{padding:12px 0 28px}
.activity-start-heading{margin-bottom:22px}
.activity-start-heading h2{margin:9px 0 0;font-size:21px!important}
.entry-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.entry-mode-card{position:relative;display:grid;gap:12px;text-align:left;padding:29px 30px 27px;border:1px solid #e2dcd0;border-radius:14px;background:#fff;color:#393229;font:inherit;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.entry-mode-card:hover{border-color:#bca16c;background:#fffcf5;transform:translateY(-2px)}
.entry-mode-card.is-selected{border-color:#b69a60;background:#fbf7ec}
.entry-mode-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #e6d9ba;background:#f3ecd9;color:#a0854b;border-radius:11px;margin-bottom:11px}
.entry-mode-icon i{width:23px;height:23px}
.entry-mode-card strong{font-size:20px;font-weight:600}
.entry-mode-card small{font-size:13px;color:#948873;line-height:1.5}
.entry-mode-arrow{position:absolute;right:28px;top:35px;color:#a98d55}
.activity-current{display:flex;justify-content:space-between;align-items:center;gap:20px}
.activity-current>div:first-child{display:grid;gap:7px}
.activity-current strong{font-size:27px;color:#5a4c32;font-variant-numeric:tabular-nums}
.activity-current strong small{font-size:13px;font-weight:400;color:#91826a;margin-left:10px}
.activity-current-actions{display:flex;gap:10px}
.activity-repeat-setting{display:flex;align-items:center;gap:16px;width:100%;margin-top:15px;padding:17px 21px;background:transparent;border:1px solid #e6e0d3;border-radius:11px;color:#8a7c65;font:inherit;font-size:13px;cursor:pointer}
.activity-repeat-setting>span{display:flex;align-items:center;gap:10px}
.activity-repeat-setting>strong{margin-left:auto;font-size:13px;font-weight:550;color:#655338}
.activity-repeat-setting i{width:17px;height:17px}
.setup-guided #guided-event-host{display:none}
#event-switch>i:last-child{display:none}
.prize-rules-entry{margin:22px 0;padding:19px 18px;border:1px solid #e4dac5;border-radius:10px;background:#faf7ef}
.prize-rules-entry .section-heading{margin:0 0 13px}
.prize-rules-entry h3{margin:0;font-size:14px;font-weight:600;color:#5e5038}
.prize-rules-entry .button{min-height:33px;padding:7px 13px;font-size:12px}
.prize-rule-summary{display:grid;gap:11px}
.prize-rule-capabilities{font-size:11px;color:#9c8e76;line-height:1.7}
.opening-launch-actions{display:flex;gap:12px;flex:none}
.opening-launch-actions .button{min-width:111px}
body:not(.stage-mode) .opening-summary{background:linear-gradient(115deg,#ebe1cb,#f5eddb);border:1px solid #d9c59e;color:#6e5c39;box-shadow:none}
body:not(.stage-mode) .opening-summary h2{color:#493e2b}
body:not(.stage-mode) .opening-summary p,body:not(.stage-mode) .opening-summary>div>span{color:#8f7b57}
.launch-session-summary{display:flex;align-items:baseline;gap:12px;padding:13px 0 18px;color:#978365}
.launch-session-summary strong{font-size:36px;font-weight:550;color:#8f703b}
.reset-active-warning{border:1px solid #e4ccae;background:#faf2e7;color:#9a6c42;border-radius:8px;padding:12px;font-size:13px;line-height:1.7}
body:not(.stage-mode) .rule-choice{background:#fff;border:1px solid #e4dece;color:#75654d;border-radius:10px;padding:15px 17px;gap:10px;min-height:52px}
body:not(.stage-mode) .rule-choice:has(input:checked){background:#f6efdf;border-color:#b79b60;color:#6a5530;box-shadow:none}
body:not(.stage-mode) .rule-choice input{width:15px;height:15px;margin:0;flex:none}
body:not(.stage-mode) .rule-choice span{font-size:13px;font-weight:500}
body:not(.stage-mode) fieldset{min-width:0}
body:not(.stage-mode) .field input:disabled,body:not(.stage-mode) .field select:disabled{background:#f0eee8;color:#a69d90;cursor:not-allowed}
body:not(.stage-mode) button:focus-visible,body:not(.stage-mode) a:focus-visible,body:not(.stage-mode) summary:focus-visible{outline:2px solid #baa16e;outline-offset:3px}
@media(max-width:720px){.entry-mode-grid{gap:13px}.entry-mode-card{padding:22px 17px}.entry-mode-card strong{font-size:17px}.entry-mode-card small{font-size:12px}.entry-mode-arrow{right:15px;top:27px}.activity-current{align-items:flex-start;flex-direction:column}.activity-current-actions{width:100%}.activity-current-actions .button{flex:1}.opening-launch-actions{width:100%}.opening-launch-actions .button{flex:1}}
@media(prefers-reduced-motion:reduce){.entry-mode-card{transition:none}.entry-mode-card:hover{transform:none}}
.local-archive{margin-top:22px}
.local-archive>summary{cursor:pointer;font-size:14px;color:#887654;font-weight:550}
.local-archive-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:19px;margin-top:18px;border-top:1px solid #e7e0d1}
.local-archive-row>span{display:grid;gap:6px;min-width:0}
.local-archive-row strong{font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.local-archive-row small{font-size:12px;color:#9a8c75}
/* Match global and award-level rule filters to the workspace controls. */
.rule-filter-search{display:flex;align-items:center;gap:9px;min-width:0;width:100%;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--raised);color:var(--muted)}
.rule-filter-search>i{width:17px;height:17px;flex:none}
.rule-filter-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #a8854b18}
body .rule-filter-search input[type=search]{width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);outline:0;font:inherit;font-size:13px}
.global-exclusions input[type=search],.rule-range-field input[type=search]{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:var(--raised);color:var(--ink);font-family:inherit}
.global-exclusions,.rule-range-field{min-width:0}
.global-exclusions .rule-chips,.rule-range-field .rule-chips{gap:8px;padding:12px 0 0;scrollbar-width:thin}
.global-exclusions .rule-chip,.rule-range-field .rule-chip{min-height:34px;max-width:100%;gap:8px;margin:0;padding:7px 10px;border-color:var(--line);border-radius:7px;background:var(--raised);color:var(--ink);font-size:13px;line-height:1.4;overflow-wrap:anywhere;transition:background .15s,border-color .15s}
.global-exclusions .rule-chip:hover,.rule-range-field .rule-chip:hover{background:var(--panel);border-color:#c9b78e}
.global-exclusions .rule-chip:has(:checked),.rule-range-field .rule-chip:has(:checked){background:var(--active);border-color:var(--accent);color:#715b31}
.global-exclusions .rule-chip input,.rule-range-field .rule-chip input{width:15px;height:15px;margin:0;accent-color:var(--accent)}
#rule-form .switch-row{margin:0;padding:18px 0;border-top:0;border-bottom:1px solid var(--line);font-size:14px}
#rule-form .switch{width:42px!important;height:24px!important}
#rule-form .switch:after{top:3px;left:3px;width:18px;height:18px}
#rule-form .switch:checked:after{transform:translateX(18px)}
#rule-form>.rule-note{margin:12px 0 18px;color:var(--muted)}
#rule-form .global-exclusion-fields{margin-top:22px;gap:18px}
.rule-form-footer{display:flex;justify-content:flex-end;padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}
.rule-form-footer .button{min-width:112px}
.storage-protection{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.storage-protection>span{font-size:13px;color:var(--muted)}
.storage-protection>span.is-protected{color:var(--success)}
.storage-protection .button{margin:0}
.storage-options .essential-note{margin:14px 0 0;font-size:12px;line-height:1.7}
.local-use-banner{display:flex;align-items:center;gap:17px;padding:20px 22px;margin-bottom:24px;border:1px solid #e6dece;border-radius:12px;background:linear-gradient(110deg,#f4efe4,#faf8f2);color:var(--ink)}
.local-use-banner>i{width:29px;height:29px;color:var(--accent);flex:none}
.local-use-banner>div{min-width:0;flex:1}
.local-use-banner strong{font-size:16px;font-weight:600;line-height:1.5}
.local-use-banner p{font-size:13px;color:#746b5b;line-height:1.7;margin:5px 0 0}
.local-use-banner small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:4px}
.local-use-banner>a{display:flex;align-items:center;gap:8px;flex:none;font-size:12px;color:#88703e;white-space:nowrap}
.local-use-banner>a i{width:15px;height:15px}
.activation-data-promise{padding:15px 0 16px;margin-top:22px;border-block:1px solid #dfd3bb}
.activation-data-promise strong{display:block;font-size:15px;color:#6f592f;line-height:1.5}
.activation-data-promise span{display:block;font-size:12px;line-height:1.9;margin-top:6px;color:#88785e;max-width:390px}
@media(max-width:600px){.local-use-banner{padding:17px;gap:12px;flex-wrap:wrap}.local-use-banner>i{width:24px;height:24px}.local-use-banner strong{font-size:14px}.local-use-banner p{font-size:12px}.local-use-banner>a{margin-left:36px}.activation-data-promise{margin-top:18px}}

.activity-roster-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}
.roster-entry{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid var(--line,#e7ded2);border-radius:16px;background:#fffdf9;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:border-color .18s,box-shadow .18s}
.roster-entry>span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#f5ede2;color:#a58149;flex-shrink:0}
.roster-entry>div{display:grid;gap:7px;flex:1}.roster-entry strong{font-size:18px}.roster-entry small{font-size:13px;color:#8b7e70}.roster-entry>.icon{color:#ae9171}
.roster-entry.checkin-entry{border-color:#d7afa0;background:linear-gradient(115deg,#fff9f2,#fffdf9)}.roster-entry.checkin-entry>span{background:#bf3b2d;color:#fff9ee}
.roster-entry:hover{border-color:#bc3c30;box-shadow:0 5px 20px #6a3c1e0a}.roster-entry:focus-visible{outline:2px solid #bc3c30;outline-offset:3px}
@media(max-width:700px){.activity-roster-entries{grid-template-columns:1fr;gap:12px}.roster-entry{padding:20px}}
