:root{--bg:#0b1416;--side:#152023;--panel:#18272a;--panel2:#101e20;--line:#3a504e;--text:#e1e9e0;--muted:#95aaa5;--teal:#9adbc7;--amber:#e2bc78;--red:#ec8580;--green:#95ddb8;font-family:'Segoe UI',Tahoma,Arial,sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#090f10;color:var(--text);font-size:13px}button,a,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b7f0d6;outline-offset:1px}.app-shell{display:flex;min-height:100vh}.sidebar{width:210px;flex-shrink:0;background:linear-gradient(170deg,#1b2d2f,#121c1f);border-right:1px solid #435b56;padding:24px 12px;display:flex;flex-direction:column}.identity{display:flex;align-items:center;gap:9px;padding:3px 8px 30px;border-bottom:1px solid #405752;margin-bottom:25px}.seal{width:46px;height:46px;color:#90c9b6;filter:drop-shadow(0 0 8px #6ec9b244)}.seal svg{width:100%;height:100%}.brand{font-family:Bahnschrift,'Arial Narrow',sans-serif;font-size:16px;font-weight:900;letter-spacing:1.8px;line-height:1.02}.brand b{color:var(--teal)}.brand small{font-size:8px;display:block;margin-top:6px;color:#7e9e95;letter-spacing:1.1px}.nav-label{font:10px Consolas,monospace;color:#7a948c;letter-spacing:2px;margin:0 9px 10px}.nav{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:1px solid transparent;color:#93aba4;min-height:43px;text-align:left;font:700 10px Consolas,monospace;letter-spacing:.5px;padding:8px 9px;margin-bottom:4px}.nav span{font-size:17px;width:19px}.nav.active{border-left:3px solid #8ed6bd;border-top-color:#345950;border-bottom-color:#345950;background:#263e3a;color:#e4fff0}.nav:hover{background:#29423f;color:#fff}.sidebar-bottom{margin-top:auto;border-top:1px solid #35514a;padding:18px 9px;font:10px/1.9 Consolas,monospace;color:#b7d0c2}.status-light{display:inline-block;height:7px;width:7px;background:#76e9b9;border-radius:50%;box-shadow:0 0 12px #6aecbd;margin-right:6px}.version{margin-top:9px;color:#819b95}.app-main{flex:1;min-width:0;background:repeating-linear-gradient(0deg,transparent,transparent 4px,#ffffff02 5px),radial-gradient(ellipse at 92% -15%,#24433e,#0c1416 55%);display:flex;flex-direction:column}.topbar{height:53px;border-bottom:1px solid #3d534e;display:flex;justify-content:space-between;align-items:center;padding:0 26px;gap:8px;font:10px Consolas,monospace;color:#a5bab3;letter-spacing:1.1px}.topbar strong{color:var(--teal)}.top-right{display:flex;gap:16px}.hazard-label{color:#e6c481}.hazard-stripe{height:5px;background:repeating-linear-gradient(120deg,#8b693c 0,#8b693c 9px,#182527 9px,#182527 17px)}main{width:100%;max-width:1470px;margin:0 auto;padding:25px 25px 35px;flex:1}.view{display:none}.view.active{display:block}.hero{min-height:240px;border:1px solid #477064;background:radial-gradient(ellipse at 83% 50%,#31564e,#1a3031 36%,#162528 75%);display:flex;position:relative;overflow:hidden}.hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent 50px,#eaffee06 51px),repeating-linear-gradient(0deg,transparent,transparent 50px,#eaffee06 51px);pointer-events:none}.hero-content{z-index:1;padding:28px 28px;flex:1}.hero h1{margin:10px 0 11px;font-family:Bahnschrift,'Arial Narrow',Impact,sans-serif;font-size:clamp(33px,5vw,55px);letter-spacing:2px;line-height:.93;font-weight:900}.hero em{font-style:normal;color:var(--teal)}.hero p{color:#aac7b9;line-height:1.6;font-size:12px;margin-bottom:17px}.specimen-art{width:42%;max-width:460px;display:flex;align-items:center;justify-content:center;opacity:.92;filter:drop-shadow(0 0 8px #66cdac44)}.specimen-art svg{height:245px;max-width:100%}.corner{position:absolute;width:15px;height:15px;border:2px solid #b4e9c4;z-index:2}.tl{top:0;left:0;border-right:0;border-bottom:0}.br{bottom:0;right:0;border-left:0;border-top:0}.overline{font:700 10px Consolas,monospace;letter-spacing:2px}.amber{color:var(--amber)!important}.green{color:var(--green)!important}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace}.small{font-size:11px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:16px 0 19px}.stat{padding:15px 15px;background:linear-gradient(145deg,#1b2c2e,#131e20);border:1px solid #405954;position:relative}.stat:before{content:'';position:absolute;left:0;top:0;width:26px;height:2px;background:var(--teal)}.stat.alert:before{background:var(--amber)}.stat .statlabel{font:10px Consolas,monospace;letter-spacing:1px;color:#9db4ab;line-height:1.4}.stat .statnum{font:800 29px Consolas,monospace;margin-top:10px}.stat .statdetail{font-size:10px;color:#829d94;margin-top:4px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.panel{border:1px solid #3f5651;background:linear-gradient(145deg,#19292c,#121e21);margin-bottom:14px;min-width:0}.panel-title{border-bottom:1px solid #3b5450;padding:13px 15px;font:800 11px Consolas,monospace;letter-spacing:.9px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-body{padding:15px}.panel-body p{line-height:1.7;margin-top:0}.status-line{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #314945;font-size:11px}.status-line:last-child{border-bottom:none}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:12px}.button{min-height:37px;border:1px solid #6aa993;padding:10px 13px;display:inline-flex;align-items:center;justify-content:center;text-align:center;font:700 10px Consolas,monospace;letter-spacing:.4px;white-space:normal}.button.primary{background:#386c5e;color:#e8fff0}.button.secondary{background:#263b39;color:#d3eadd;border-color:#65847b}.button:hover{filter:brightness(1.18)}.button:disabled{opacity:.44;cursor:not-allowed}.page-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.page-title h2{font:900 30px Bahnschrift,'Arial Narrow',Impact,sans-serif;letter-spacing:.6px;margin:6px 0 5px;color:#f5f1e6}.page-title p{margin:0;font-size:12px;line-height:1.6}.pill{font:9px Consolas,monospace;padding:6px 7px;border:1px solid #607e70;background:#233c34;color:#bee4d1;white-space:nowrap}.pill.warn{background:#443722;border-color:#866a41;color:#f2cd85}.pill.success{background:#24463b;border-color:#5b997a;color:#aee7c5}.pill.danger{background:#503029;border-color:#996259;color:#ffc5b6}.action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:16px}.action-card{border:1px solid #4c685e;padding:19px;background:linear-gradient(120deg,#25403a,#1a2b2d 80%);min-width:0}.action-card .section-number{font:9px Consolas,monospace;letter-spacing:1.4px;color:var(--amber)}.action-card h3{font-size:17px;margin:13px 0 7px;letter-spacing:1px}.action-card p{font-size:12px;color:#a8beb3;line-height:1.6;max-width:420px}.stats.compact .stat{padding:11px}.stats.compact .statnum{font-size:23px}input,select,textarea{border:1px solid #526e64;border-radius:0;background:#0d1a1d;color:#e1f0e5;min-height:37px;padding:9px 10px;min-width:0;outline:none}input::placeholder{color:#6e8880}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.filters .search{flex:1;min-width:230px}.filters select{min-width:145px}.table-scroll{overflow-x:auto;max-height:550px;overflow-y:auto}table{width:100%;border-collapse:collapse;min-width:650px;text-align:left}th{font:700 10px Consolas,monospace;color:#92b4a7;letter-spacing:.7px;background:#122122;padding:12px 9px;border-bottom:1px solid #36524a;position:sticky;top:0}td{border-bottom:1px solid #304740;padding:11px 9px;vertical-align:top;font-size:11px;color:#bbcec3}tr:last-child td{border-bottom:0}tr:hover td{background:#ffffff03}.spec-name{font-weight:750;color:#e8e7db;font-size:12px}.secondary-text{font-size:10px;color:#809e92;margin-top:5px;line-height:1.5}.table-actions{display:flex;gap:5px}.mini-button,.quiet{background:#263c38;border:1px solid #587a6e;padding:7px 9px;font:10px Consolas,monospace;color:#c6e2d1}.mini-button:hover,.quiet:hover{background:#35564c}.notice{border-left:3px solid #bd9757;background:#342e23;color:#e4cda5;padding:12px;font-size:11px;line-height:1.7;margin-top:13px}.notice.danger{border-left-color:#de8b7e;background:#3a2423;color:#f6c7c2}.empty{padding:30px 10px;text-align:center;color:#92aba0;font:11px/1.7 Consolas,monospace}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-grid label,.panel-body>label,.pod-grid label{font:10px Consolas,monospace;color:#aac2b4;display:flex;flex-direction:column;gap:7px}.form-grid .full{grid-column:1/-1}.label-block{font:700 10px Consolas,monospace;letter-spacing:.7px;margin:15px 0 9px;color:var(--amber)}.fusion-cols{grid-template-columns:minmax(0,1.4fr) minmax(265px,.8fr)}.pod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guide-layout{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(0,1.3fr);gap:12px;min-height:400px}.guide-list{border:1px solid #3c5650;background:#122123;max-height:580px;overflow:auto}.guide-entry{width:100%;border:0;border-bottom:1px solid #324c45;text-align:left;background:none;color:#bed4c6;padding:11px 13px;font-size:11px;line-height:1.5}.guide-entry:hover,.guide-entry.selected{background:#27453b;color:#edfff4}.guide-entry small{display:block;color:#819e90;margin-top:3px}.guide-detail{border:1px solid #3e5b51;background:#122022;padding:19px;max-height:580px;overflow:auto}.guide-detail h3{font-size:20px;letter-spacing:.5px;margin:0 0 15px;color:#f2ead9}.detail-row{padding:9px 0;border-top:1px solid #38514a;display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;line-height:1.6}.detail-row dt{font:10px Consolas,monospace;color:#86aa9b}.detail-row dd{margin:0;font-size:12px;overflow-wrap:anywhere}.modal-backdrop{position:fixed;inset:0;z-index:9;background:#050b0bdf;display:flex;align-items:flex-start;justify-content:center;padding:25px 13px;overflow-y:auto}.hidden{display:none!important}.modal{width:min(770px,100%);border:1px solid #6e9a85;background:#192a2b;padding:21px 24px 25px;box-shadow:0 25px 85px #000b}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:17px;border-bottom:1px solid #425e53;padding-bottom:13px}.modal-header h3{font:900 19px Bahnschrift,'Arial Narrow',sans-serif;letter-spacing:1px;margin:0}.modal-subtitle{font:800 11px Consolas,monospace;color:#eccb8c;letter-spacing:.8px;border-top:1px solid #455e54;margin:21px 0 11px;padding-top:14px}.trait-edit{display:grid;grid-template-columns:50px 1fr 80px 105px;gap:8px;align-items:center;margin-bottom:7px}.trait-edit.scp{grid-template-columns:80px 1fr 110px}.trait-edit .num{font:10px Consolas,monospace;color:#b8d5bb}.trait-edit input,.trait-edit select{width:100%}.modal-actions{justify-content:flex-end;margin-top:21px}footer{display:flex;justify-content:space-between;gap:15px;padding:15px 26px;border-top:1px solid #324943;color:#719689;font:9px Consolas,monospace;letter-spacing:.5px}#toast{position:fixed;bottom:22px;right:20px;background:#24463b;color:#d8fae4;border:1px solid #7cbb98;padding:13px 16px;max-width:320px;box-shadow:0 8px 30px #0007;font-size:12px;display:none;z-index:20;line-height:1.5}#toast.visible{display:block}
@media(max-width:940px){.sidebar{width:163px;padding:17px 8px}.identity{padding:3px 1px 18px}.seal{width:35px;height:35px}.brand{font-size:13px}.nav{font-size:9px;padding:8px 5px}.nav span{width:12px}main{padding:17px}.hero-content{padding:23px}.fusion-cols{grid-template-columns:1fr}}@media(max-width:680px){.app-shell{display:block}.sidebar{width:100%;padding:8px;display:block;border-right:0;border-bottom:1px solid #4b5b53}.identity,.sidebar-bottom,.nav-label{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.nav{flex:1;white-space:nowrap;font-size:9px;justify-content:center;padding:10px 6px;margin:0;min-width:110px}.nav span{display:none}.topbar{padding:0 10px;height:40px;font-size:8px}.top-right{gap:5px}main{padding:12px}.hero{min-height:205px}.hero-content{padding:18px 14px}.hero h1{font-size:37px}.specimen-art{width:32%}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.action-grid,.two-col{grid-template-columns:1fr}.page-title h2{font-size:24px}.guide-layout{grid-template-columns:1fr}.guide-list{max-height:195px}.guide-detail{min-height:230px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.trait-edit{grid-template-columns:32px 1fr 52px 90px;gap:5px}.trait-edit.scp{grid-template-columns:45px 1fr 68px}.modal{padding:13px}footer{display:block;line-height:1.8}}

/* V0.2: long-term Deviation Projects and reservations */
.project-layout{grid-template-columns:minmax(245px,.85fr) minmax(360px,1.35fr);align-items:start}
.project-list{display:grid;gap:8px}
.project-entry{width:100%;padding:13px 11px;border:1px solid #344e45;background:#142426;color:#e5efe4;text-align:left;display:flex;justify-content:space-between;gap:8px;align-items:center}
.project-entry:hover,.project-entry.selected{border-color:#84bba3;background:#234039}
.project-entry b{display:block;font:800 12px Bahnschrift,'Segoe UI',sans-serif;letter-spacing:.4px;overflow-wrap:anywhere}
.project-entry small,.reserved-item small{display:block;color:#8aa69a;margin-top:5px;font:10px/1.5 Consolas,monospace}
.project-entry .pill{flex-shrink:0}
.project-title{font:900 22px Bahnschrift,'Arial Narrow',sans-serif;letter-spacing:1px;margin:10px 0 16px;color:#f1ead6;overflow-wrap:anywhere}
.project-notes{padding:12px 11px;border-left:3px solid #b99765;background:#262f29;color:#cfdfc9;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.reserved-list{border:1px solid #405c51;background:#102023;margin-bottom:12px;max-height:320px;overflow:auto}
.reserved-item{padding:12px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #3b5249}
.reserved-item:last-child{border-bottom:0}.reserved-item b{color:#e4f1df}
.reserved-item .mini-button{flex-shrink:0}
.project-reservation{color:#a9dfc4;font-weight:700}
.compact-empty{padding:18px 9px}
#projectWorkspace>label select,#reservationMode{width:100%}
#projectWorkspace .button-row{margin-top:11px;margin-bottom:8px}
#projectWorkspace .status-line b{overflow-wrap:anywhere;text-align:right}
#view-settings .panel> .panel-body>label select{margin-top:8px}
@media(max-width:1000px){.project-layout{grid-template-columns:1fr}}
@media(max-width:680px){.project-entry{align-items:flex-start}.project-entry .pill{font-size:9px}#projectWorkspace .button-row{flex-wrap:wrap}}

/* Fusion v0.4 proposal cards */
.plan-card{border:1px solid #426056;background:#152926;padding:14px;margin:10px 0;color:#dfe7dc;line-height:1.7}.plan-card b{font-size:13px;overflow-wrap:anywhere}.plan-card .pill{display:inline-block;margin-top:8px}.plan-card .secondary-text{margin-top:4px}

/* V0.4.1 — target-first Fusion Lab; proposals before optional research lists */
.fusion-target-panel{border-color:#557a68;background:linear-gradient(125deg,#1b3330,#121d20)}
.fusion-target-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(255px,.8fr);gap:20px}
.fusion-target-columns>div{min-width:0}.fusion-options{border:1px solid #385e50;background:#102322;padding:13px;display:grid;gap:13px}
.fusion-options label{font:10px Consolas,monospace;color:#accabb;display:flex;flex-direction:column;gap:7px}
.fusion-depth-warning{font:10px/1.65 Consolas,monospace;color:#e2cc9e;border-left:2px solid #bb935c;padding:8px 9px;background:#2d2b22}
.fusion-target-summary{padding:10px 12px;margin-top:11px;border:1px solid #34594f;background:#122723}
.fusion-primary-action{border-top:1px solid #3b5c50;padding-top:15px;margin-top:17px;display:flex;align-items:center;flex-wrap:wrap;gap:13px}
.fusion-find-button{font-size:12px!important;padding:13px 23px!important;min-height:45px!important;box-shadow:0 0 16px #2c80642a}
.fusion-proposals{border-color:#78ac91;box-shadow:0 0 20px #2c83601c}.fusion-proposals .panel-title{background:#203a34;color:#ecf7e9}
.fusion-proposal-feature{border:1px solid #6a957d;background:linear-gradient(140deg,#203c34,#152d2a);padding:16px;margin-top:12px}
.fusion-proposal-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.fusion-pod-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.fusion-slot{background:#102220;border:1px solid #456c59;padding:11px;min-width:0}.fusion-slot.middle{border-color:#695a3b;background:#24261e}
.fusion-slot-label{font:9px Consolas,monospace;color:#b9d3c0;letter-spacing:.8px;margin-bottom:8px}
.fusion-slot.middle .fusion-slot-label{color:#ddc793}
.fusion-slot-name{font:700 12px/1.4 'Segoe UI',sans-serif;color:#f3f4e6;overflow-wrap:anywhere}
.fusion-slot-meta{font:10px/1.6 Consolas,monospace;color:#93ada3;margin-top:6px;overflow-wrap:anywhere}
.fusion-slot.empty-slot{opacity:.75;border-style:dashed}
.fusion-model-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
.fusion-goal{border-left:2px solid #87bca0;background:#132823;padding:9px;color:#d5e5d8;font-size:11px;line-height:1.55}
.fusion-goal.unknown{border-color:#ba975e;background:#272820}.fusion-goal strong{display:block;margin-top:4px;font:10px Consolas,monospace;color:#d8ceac}
.fusion-alternatives{border-top:1px solid #405c50;margin-top:17px;padding-top:12px}
.fusion-alternatives summary{cursor:pointer;color:#b7d9c6;font:700 11px Consolas,monospace;padding:8px 0}
.fusion-drawer{border:1px solid #39574f;background:#172525;margin-bottom:13px}
.fusion-drawer>summary{list-style:none;cursor:pointer;padding:15px;display:flex;gap:8px;justify-content:space-between;align-items:center;font:700 11px Consolas,monospace;letter-spacing:.5px}
.fusion-drawer>summary::-webkit-details-marker{display:none}.fusion-drawer[open]>summary{border-bottom:1px solid #3a5950;background:#223731}
.fusion-drawer .drawer-hint{color:#9db6a9;font:10px Consolas,monospace;text-align:right}
.fusion-drawer .drawer-body{padding:15px}.fusion-source-drawer{margin-bottom:20px}
.fusion-candidate-alert{margin-top:12px;background:#282c22;border-left:3px solid #bd9b63;padding:10px;color:#e4d1a5;font-size:11px;line-height:1.7}
@media(max-width:930px){.fusion-target-columns{grid-template-columns:1fr}.fusion-options{grid-template-columns:repeat(2,minmax(0,1fr))}.fusion-options .label-block,.fusion-depth-warning{grid-column:1/-1}}
@media(max-width:600px){.fusion-options,.fusion-pod-layout,.fusion-model-goals{grid-template-columns:1fr}.fusion-target-panel .panel-body{padding:10px}.fusion-proposal-feature{padding:10px}}
/* V0.5: readable post-apocalyptic research enhancements */
.research-alert,.research-match,.history-entry{border:1px solid #405c52;background:linear-gradient(105deg,#182b2b,#111d1f);padding:12px;margin-bottom:10px;line-height:1.7}
.research-alert b,.research-match b,.history-entry b{color:#e7e9d9}
.research-alert .mini-button{margin-top:8px}
.research-match,.history-entry{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.research-match>div,.history-entry>div{flex:1;min-width:180px}
.fusion-explain{border:1px solid #3d6659;background:#142824;padding:11px 10px;margin:10px 0 14px;line-height:1.7}
.fusion-explain .pill{display:inline-block;margin:3px}
.import-update{display:flex;gap:9px;align-items:start;margin:13px 0;color:#d7c399;background:#272a20;padding:10px;border-left:3px solid #c29c52}
.import-update input{flex:0 0 auto;width:auto;accent-color:#9ed6b9}
.compact-mode .panel-body{padding:10px}
.compact-mode .panel-title{padding:9px 12px}
.compact-mode td,.compact-mode th{padding:6px}
.compact-mode .status-line{padding:6px 0}
.compact-mode .nav{padding:8px 10px}
.large-text-mode{font-size:115%}
.large-text-mode .muted,.large-text-mode .small,.large-text-mode .secondary-text{font-size:1em;line-height:1.65}
#qualitySearch{width:100%}
#backupReminder{border-left:4px solid #cb9d52}
@media(max-width:680px){.history-entry{display:block}.history-entry .button{margin-top:10px}.research-match{display:block}.research-match .mini-button{margin-top:10px}}
.research-chain{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:13px 0}
.chain-step{padding:12px;border:1px solid #587167;background:#142728;line-height:1.65}
.chain-step b{display:block;margin:9px 0 2px;color:#eaf0dc}
.chain-step p{color:#abc6bc;margin:4px 0;font-size:11px}
.chain-arrow{text-align:center;color:#d7bb79;font:10px Consolas,monospace;letter-spacing:1px;padding:5px}

/* V0.5.1 in-app manual and contextual guidance */
.getting-started{border-color:#638e78;background:linear-gradient(125deg,#1d3331,#172326)}
.help-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0}
.help-start-entry{display:flex;gap:11px;padding:12px;border:1px solid #3b5c51;background:#101f20;align-items:flex-start}
.help-start-entry .help-step-check{font:700 17px Consolas,monospace;color:#7d9b91}
.help-start-entry.done .help-step-check{color:#93ddbb}
.help-start-entry b{display:block;color:#e5eee5;font-size:12px;margin-bottom:5px}
.help-start-entry p{font-size:11px;line-height:1.55;color:#a7c1b6;margin:0 0 8px}
.help-start-entry .mini-button{font-size:10px}
.help-start-actions{margin-top:12px}
.help-inline{border:1px solid #40584f;background:#142523;margin:13px 0;color:#bed6c7}
.help-inline>summary{cursor:pointer;list-style:none;padding:12px 13px;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:8px}
.help-inline>summary::-webkit-details-marker{display:none}
.help-inline[open]>summary{border-bottom:1px solid #39564d}
.help-caret{font:10px Consolas,monospace;white-space:nowrap;color:#88b9a6}
.help-inline-body{padding:12px 13px;line-height:1.75;color:#a9c3b9;font-size:11px}
.help-more{display:block;margin-top:11px}
.help-lead{border-left:4px solid #89c8af;background:#1d3430;padding:14px 15px;margin:13px 0 17px;display:flex;flex-direction:column;gap:7px;line-height:1.7;color:#c6ded2}
.help-lead b{font:700 11px Consolas,monospace;letter-spacing:1px;color:#ecdfb2}
.help-steps{display:grid;gap:11px;margin-bottom:17px}
.help-step{display:flex;gap:16px;border:1px solid #426052;background:linear-gradient(110deg,#192d29,#131f21);padding:15px 16px}
.help-step-number{font:900 27px Consolas,monospace;color:#d7b979;flex:0 0 43px}
.help-step>div{flex:1;min-width:0}
.help-step h3{font:800 13px 'Segoe UI',sans-serif;letter-spacing:.4px;color:#f2eee3;margin:0 0 7px}
.help-step p{color:#acc4b9;line-height:1.75;margin:0 0 10px;max-width:950px}
.help-faq details{background:#132325;border:1px solid #354e47;margin:8px 0}
.help-faq details>summary{cursor:pointer;font-weight:700;color:#deeadc;list-style:none;padding:13px 12px;font-size:12px}
.help-faq details>summary::-webkit-details-marker{display:none}
.help-faq details[open]>summary{background:#203b33;border-bottom:1px solid #395f4e}
.help-faq details>p{color:#abc8ba;line-height:1.8;padding:11px 13px;margin:0}
.help-faq code{color:#e4ce9e;overflow-wrap:anywhere}
.help-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.help-status-grid>div{padding:13px;background:#101f20;border:1px solid #3e5b50}
.help-status-grid b{color:#d9dcbf;letter-spacing:.5px;font-size:11px}
.help-status-grid p{margin:7px 0 0;color:#aac5b8;line-height:1.7}
.help-last{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;color:#8aa99d;font:10px Consolas,monospace;margin:20px 0}
@media(max-width:760px){.help-start-grid,.help-status-grid{grid-template-columns:1fr}.help-step{padding:12px 10px;gap:8px}.help-step-number{font-size:20px;flex-basis:29px}}

/* Dedicated account gate for server-authoritative staging; hide application until login. */
body:not(.authenticated) #app{display:none!important}
.auth-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 20%,#183d3e,#0b1518 65%);padding:1.5rem;color:#e5f5e8}
.auth-screen.hidden{display:none}.auth-card{width:min(470px,96vw);background:#16282b;border:1px solid #4a8179;border-radius:14px;padding:2rem;box-shadow:0 20px 55px #0008}
.auth-card label{display:block;margin:0.8rem 0}.auth-card input{width:100%;margin-top:0.3rem;display:block;padding:0.7rem;border:1px solid #487269;background:#0a1719;color:#ebf5ee;border-radius:5px}
.auth-card .button{width:100%;margin-top:0.7rem}.admin-user{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;border-bottom:1px solid #37514a;padding:0.7rem 0}.admin-user span{flex:1}.admin-user button{background:#28443d;color:white;border:1px solid #54887b;border-radius:4px;padding:.4rem;cursor:pointer}

