:root{
  --navy:#17365d;
  --navy-2:#0d2746;
  --blue:#2d6fb7;
  --blue-2:#dfeefe;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#65758b;
  --line:#d9e2ec;
  --green:#2f7d4a;
  --amber:#a86f09;
  --red:#9c2b2b;
  --shadow:0 8px 28px rgba(18,43,70,.09);
  --radius:16px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.site-header{position:sticky;top:0;z-index:20;background:rgba(13,39,70,.97);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.nav-wrap{max-width:1240px;margin:auto;padding:14px 22px;display:flex;align-items:center;gap:20px}
.brand{font-weight:800;letter-spacing:.2px;white-space:nowrap}.brand small{display:block;font-size:11px;font-weight:600;color:#b8c9dd;letter-spacing:.8px;text-transform:uppercase}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.nav-links a{padding:8px 12px;border-radius:9px;color:#dce8f5;font-size:14px}.nav-links a:hover,.nav-links a.active{background:#214f80;color:#fff}
.page{max-width:1240px;margin:0 auto;padding:34px 22px 70px}
.hero{background:linear-gradient(120deg,var(--navy-2),var(--blue));color:#fff;border-radius:22px;padding:34px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.4fr .8fr;gap:28px;align-items:center}
.hero h1{margin:0 0 10px;font-size:clamp(30px,5vw,48px);line-height:1.05}.hero p{margin:0;color:#dce9f6;max-width:760px}.hero-badge{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:16px;border-radius:14px}.hero-badge strong{display:block;font-size:28px}
.section-title{margin:32px 0 14px;display:flex;align-items:end;justify-content:space-between;gap:14px}.section-title h2{margin:0;font-size:22px}.section-title p{margin:3px 0 0;color:var(--muted);font-size:14px}
.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 3px 14px rgba(18,43,70,.05)}
.card h3{margin:0 0 8px;font-size:17px}.card p{margin:0;color:var(--muted);font-size:14px}
.action-card{display:block;transition:.16s transform,.16s box-shadow}.action-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.icon-tile{width:42px;height:42px;border-radius:11px;background:var(--blue-2);display:grid;place-items:center;color:var(--navy);font-weight:800;margin-bottom:13px}
.btn{border:0;border-radius:10px;padding:10px 14px;background:var(--navy);color:#fff;font-weight:700}.btn:hover{background:#214f80}.btn.secondary{background:#e9eff6;color:var(--navy)}.btn.ghost{background:transparent;color:var(--navy);border:1px solid var(--line)}.btn.success{background:var(--green)}.btn.danger{background:var(--red)}.btn.small{padding:7px 10px;font-size:13px}
.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.bulletin{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}.bulletin:last-child{border-bottom:0}.bulletin-date{min-width:70px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.5px}.bulletin h4{margin:0 0 3px;font-size:15px}.bulletin p{margin:0;font-size:13px;color:var(--muted)}
.tag{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#e9eff6;color:var(--navy);margin-right:5px}.tag.green{background:#e5f3ea;color:var(--green)}.tag.amber{background:#fff2d8;color:var(--amber)}.tag.red{background:#fbe6e6;color:var(--red)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field label{display:block;font-size:12px;color:var(--muted);font-weight:800;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:10px 11px;background:#fff;color:var(--text)}.field textarea{min-height:90px;resize:vertical}.field.span-2{grid-column:span 2}
.result-box{margin-top:14px;padding:15px;border-radius:12px;background:#eef5fc;border:1px solid #cfe1f5}.result-box strong{font-size:20px}.muted{color:var(--muted)}
.tool-panel{display:none}.tool-panel.active{display:block}.tool-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.tool-tabs button{border:1px solid var(--line);background:#fff;color:var(--navy);padding:9px 12px;border-radius:9px;font-weight:700}.tool-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.workspace{display:grid;grid-template-columns:250px 1fr;gap:18px}.sidebar{background:var(--navy-2);color:#fff;border-radius:16px;padding:14px;height:max-content;position:sticky;top:88px}.sidebar h3{padding:8px 10px;margin:0 0 5px;font-size:14px;color:#b9c9db;text-transform:uppercase;letter-spacing:.8px}.sidebar button{width:100%;border:0;background:transparent;color:#dce7f3;text-align:left;padding:10px 11px;border-radius:9px}.sidebar button:hover,.sidebar button.active{background:#214f80;color:#fff}.workspace-panel{display:none}.workspace-panel.active{display:block}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:16px}.stat .value{font-size:25px;font-weight:850;color:var(--navy)}.stat .label{font-size:12px;color:var(--muted)}
table{width:100%;border-collapse:collapse}th,td{padding:10px 9px;border-bottom:1px solid var(--line);text-align:left;font-size:13px;vertical-align:top}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.5px;background:#f8fafc}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}
.inline-input{width:100%;min-width:90px;border:1px solid #ced8e3;border-radius:7px;padding:7px;background:#fff}
.qa-item{display:grid;grid-template-columns:24px 1fr auto;gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}.qa-item:last-child{border-bottom:0}.qa-item input{margin-top:4px}.qa-status{font-size:11px;font-weight:800;color:var(--muted)}
.login-shell{max-width:430px;margin:60px auto}.login-note{background:#fff5df;border:1px solid #efd49d;border-radius:11px;padding:12px;font-size:13px;color:#6f5014;margin-bottom:16px}
.site-footer{background:#102b49;color:#c8d7e6}.footer-wrap{max-width:1240px;margin:auto;padding:23px 22px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:13px}.site-footer a{text-decoration:underline}
.notice{padding:13px 15px;border-radius:11px;border-left:4px solid var(--blue);background:#edf5fc;font-size:13px}.notice.warning{border-left-color:var(--amber);background:#fff7e8}.notice.danger{border-left-color:var(--red);background:#fceded}
.security-list{display:grid;gap:12px}.security-item{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.security-item strong{display:block;margin-bottom:4px;color:var(--navy)}
.modal{position:fixed;inset:0;background:rgba(6,19,34,.62);display:none;place-items:center;z-index:50;padding:18px}.modal.active{display:grid}.modal-card{background:#fff;border-radius:16px;padding:24px;max-width:560px;width:100%;box-shadow:0 18px 60px rgba(0,0,0,.24)}
@media(max-width:900px){.hero{grid-template-columns:1fr}.grid-4,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:1fr}.sidebar{position:static;display:flex;overflow:auto;gap:4px}.sidebar h3{display:none}.sidebar button{white-space:nowrap;width:auto}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.nav-wrap{align-items:flex-start}.nav-links{gap:3px}.nav-links a{padding:6px 8px;font-size:12px}.page{padding:22px 14px 55px}.hero{padding:24px}.grid-4,.grid-3,.grid-2,.form-grid{grid-template-columns:1fr}.field.span-2{grid-column:auto}.stat-grid{grid-template-columns:1fr 1fr}.footer-wrap{padding:20px 14px}}

/* v0.2.0 Engineering viewport */
.engineering-body{background:#eef1f4;font-size:14px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800;color:var(--muted)}
.eng-topbar{height:48px;background:#15283c;color:#fff;display:flex;align-items:center;gap:18px;padding:0 16px;border-bottom:1px solid #32475c}.eng-brand{font-size:13px;font-weight:850;letter-spacing:.03em}.eng-project-id{font-size:11px;color:#cbd5df}.eng-badge{display:inline-flex;align-items:center;border:1px solid #aab7c4;border-radius:3px;padding:3px 7px;font-size:10px;font-weight:800;letter-spacing:.04em;background:#fff;color:#263849}.eng-topbar .eng-badge{background:#263d53;color:#fff;border-color:#536a80}.eng-top-spacer{flex:1}.ref-current{font-size:10px;font-weight:800;color:#b9d8c4}.eng-exit{font-size:11px;color:#d7e1eb;border-left:1px solid #43586c;padding-left:14px}.project-context{min-height:34px;background:#f8fafb;border-bottom:1px solid #cfd7df;display:flex;align-items:center;gap:22px;padding:6px 16px;font-size:11px;overflow:auto;white-space:nowrap}.project-context span{color:#6a7682}.project-context strong{color:#263849;margin-left:4px}.eng-shell{display:grid;grid-template-columns:156px minmax(0,1fr);min-height:calc(100vh - 82px)}.eng-sidebar{background:#203346;border-right:1px solid #15283c;padding:8px;color:#d9e3ec}.eng-side-label{text-transform:uppercase;letter-spacing:.1em;color:#8799aa;font-size:9px;font-weight:800;padding:10px 8px 5px}.eng-sidebar button,.eng-sidebar a{display:block;width:100%;border:0;background:transparent;color:#d9e3ec;text-align:left;padding:8px 9px;border-radius:2px;font-size:12px;font-weight:650}.eng-sidebar button:hover,.eng-sidebar a:hover{background:#2b4258}.eng-sidebar button.active{background:#324d65;box-shadow:inset 3px 0 #8fb9dc;color:#fff}.eng-canvas{padding:18px;min-width:0}.project-view{display:none}.project-view.active{display:block}.eng-pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.eng-pagehead h1{font-size:22px;margin:2px 0 2px;color:#1e2f40;letter-spacing:-.02em}.eng-pagehead p{margin:0;color:#6b7885;font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.eng-metric,.eng-panel{background:#fff;border:1px solid #cbd4dc;border-radius:3px}.eng-metric{padding:12px}.eng-metric label{display:block;text-transform:uppercase;font-size:9px;letter-spacing:.08em;color:#73808c;font-weight:800}.eng-metric strong{display:block;font-size:21px;color:#1f3347;margin:3px 0}.eng-metric small{color:#788591;font-size:10px}.eng-two{display:grid;grid-template-columns:1.45fr .72fr;gap:10px;margin-bottom:10px}.panel-head{min-height:48px;border-bottom:1px solid #d8dfe5;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:13px;margin:0;color:#263849}.panel-head p{font-size:10px;margin:1px 0 0;color:#77838f}.panel-head button{border:0;background:transparent;color:#315e86;font-size:10px;font-weight:800}.eng-panel table th{background:#f5f7f9}.eng-panel table td,.eng-panel table th{padding:8px;font-size:11px}.eng-panel table td small{display:block;color:#7c8894}.status{display:inline-flex;align-items:center;border:1px solid #b9c3cc;border-radius:3px;padding:2px 6px;font-size:9px;font-weight:850;letter-spacing:.04em;background:#f6f8fa;color:#4d5c68}.status.pass{border-color:#9bc3aa;background:#edf7f0;color:#2f6844}.status.review{border-color:#e0bd7a;background:#fff7e6;color:#835a0c}.property-list{display:grid;grid-template-columns:1fr auto;gap:0;margin:0;padding:7px 11px}.property-list dt,.property-list dd{border-bottom:1px solid #edf0f2;padding:7px 0;font-size:11px}.property-list dt{color:#74818d}.property-list dd{margin:0;font-weight:700;color:#263849;text-align:right}.eng-action{display:inline-flex;border:1px solid #9aabb9;background:#f8fafb;color:#20384d;padding:7px 10px;border-radius:3px;font-size:11px;font-weight:800}.eng-panel>.eng-action,.properties>.eng-action{margin:10px}.plan-layout{display:grid;grid-template-columns:190px minmax(0,1fr) 210px;gap:8px}.sheet-list,.plan-viewer,.properties{background:#fff;border:1px solid #cbd4dc;border-radius:3px;min-width:0}.sheet-list input{width:calc(100% - 14px);margin:7px;padding:7px;border:1px solid #cbd4dc;border-radius:2px;font-size:11px}.sheet-list button{width:100%;border:0;border-top:1px solid #edf0f2;background:#fff;text-align:left;padding:8px;font-size:10px}.sheet-list button.active{background:#e8f0f7;box-shadow:inset 3px 0 #4b789f;font-weight:800}.plan-toolbar{height:36px;border-bottom:1px solid #d4dce3;display:flex;justify-content:space-between;align-items:center;padding:0 8px;font-size:10px}.plan-toolbar button{border:1px solid #c2ccd4;background:#fff}.plan-paper{height:430px;margin:12px;background:#fbfbf7;border:1px solid #bfc6c8;position:relative;overflow:hidden;background-image:linear-gradient(#e8ece9 1px,transparent 1px),linear-gradient(90deg,#e8ece9 1px,transparent 1px);background-size:24px 24px}.road-line{position:absolute;left:8%;right:8%;top:38%;height:60px;border-top:3px double #6d7475;border-bottom:3px double #6d7475;transform:rotate(-2deg)}.profile-line{position:absolute;left:10%;right:8%;bottom:22%;height:70px;border-bottom:2px solid #59686d;transform:skewY(-5deg)}.alignment-label,.station-label,.schematic-note{position:absolute;font-family:ui-monospace,monospace;font-size:10px;color:#4c585b}.alignment-label{top:31%;left:43%}.station-label{top:48%;left:48%;font-weight:800}.schematic-note{bottom:5%;right:4%;color:#8b9294}.estimate-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:8px}.estimate-inspector h3{font-size:13px;margin:12px}.eng-warning{margin:10px;border-left:3px solid #bd841b;background:#fff6e3;padding:9px;font-size:10px;color:#785510;font-weight:750}.segmented,.review-filter{display:flex;gap:2px;margin-bottom:8px}.segmented button,.review-filter button{border:1px solid #c8d1d9;background:#fff;padding:6px 9px;font-size:10px;font-weight:750}.segmented button.active,.review-filter button.active{background:#263e54;color:#fff}.qaqc-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:8px}.review-cats{background:#fff;border:1px solid #cbd4dc}.review-cats button{display:flex;justify-content:space-between;width:100%;border:0;border-bottom:1px solid #e5eaee;background:#fff;padding:9px;text-align:left;font-size:10px}.review-cats button.active{background:#e9f0f6;font-weight:800}.review-filter{padding:8px 8px 0}.qa-engineering-list{padding:0 10px}.qa-engineering-list .qa-item{font-size:11px}.reference-search{display:flex;margin-bottom:10px}.reference-search input{flex:1;border:1px solid #aebbc6;padding:9px;font-size:12px}.reference-search button{border:0;background:#263e54;color:#fff;padding:0 16px;font-weight:800}.ref-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ref-grid .eng-panel{padding:13px}.ref-grid h2{font-size:16px}.doc-list{padding-left:18px;font-size:11px;line-height:2}.parameter-form{padding:14px}.project-launcher{display:grid;gap:8px}.project-row{background:#fff;border:1px solid #cbd4dc;border-radius:4px;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) 120px auto;align-items:center;gap:18px}.project-row h3{margin:6px 0 3px;font-size:17px}.project-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#6c7884}.project-health{text-align:center;border-left:1px solid #dbe1e6;border-right:1px solid #dbe1e6}.project-health strong{display:block;font-size:20px}.project-health small{font-size:9px;color:#77838f}.muted-project{opacity:.7}.create-project{margin-top:16px}.section-title.compact{margin-top:0}.account-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.account-admin-grid .card{border-radius:4px;box-shadow:none}.error-text{color:var(--red);font-size:12px}.table-scroll{overflow:auto}
@media(max-width:900px){.eng-shell{grid-template-columns:1fr}.eng-sidebar{display:flex;overflow:auto;border-right:0;border-bottom:1px solid #15283c}.eng-sidebar .eng-side-label{display:none}.eng-sidebar button,.eng-sidebar a{white-space:nowrap;width:auto}.plan-layout{grid-template-columns:150px minmax(360px,1fr);overflow:auto}.properties{display:none}.eng-two,.estimate-layout{grid-template-columns:1fr}.qaqc-layout{grid-template-columns:1fr}.review-cats{display:flex;overflow:auto}.review-cats button{min-width:120px}.account-admin-grid{grid-template-columns:1fr}.project-row{grid-template-columns:1fr auto}.project-health{display:none}}
@media(max-width:640px){.eng-topbar{height:auto;min-height:48px;flex-wrap:wrap;padding:8px}.eng-project-id,.ref-current{display:none}.project-context{gap:12px}.eng-canvas{padding:10px}.metric-grid{grid-template-columns:1fr 1fr}.eng-pagehead{flex-direction:column}.project-row{grid-template-columns:1fr}.plan-layout{grid-template-columns:130px 420px}.ref-grid{grid-template-columns:1fr}}
/* v0.3.0 workspace refinements */
.side-pro,.mini-pro{font-size:8px;font-weight:900;letter-spacing:.05em;margin-left:4px}.side-pro{float:right;color:#c7d7e5}.mini-pro,.pro-tag{color:#805f18}.compact-head{margin-bottom:10px}.overview-metrics{margin-bottom:8px}.metric-button{appearance:none;text-align:left;cursor:pointer}.metric-button:hover{border-color:#8298aa;background:#f9fbfc}.overview-dashboard{display:grid;grid-template-columns:1.3fr .72fr;gap:8px}.overview-modules{grid-column:1/-1}.compact-alerts{display:grid}.compact-alerts button{display:grid;grid-template-columns:58px 1fr;gap:2px 8px;text-align:left;border:0;border-bottom:1px solid #e7ebee;background:#fff;padding:8px 10px;cursor:pointer}.compact-alerts button:hover{background:#f7f9fa}.compact-alerts .status{grid-row:1/3;align-self:center;justify-self:start}.compact-alerts strong{font-size:11px}.compact-alerts small{font-size:9px;color:#77838f}.compact-properties dt,.compact-properties dd{padding:5px 0}.module-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding:8px}.module-grid button{border:1px solid #cbd4dc;background:#f8fafb;text-align:left;padding:8px;font-size:10px;font-weight:800;color:#263849}.module-grid button small{display:block;font-size:8px;color:#788591;margin-top:2px;font-weight:600}.module-grid button:hover{background:#eaf0f5}.drainage-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:8px;margin-bottom:8px}.tool-shortcuts{display:grid;padding:8px;gap:5px}.tool-shortcuts button{border:1px solid #cbd4dc;background:#f8fafb;text-align:left;padding:8px;font-size:10px;font-weight:750}.drainage-detail{margin-top:8px}.estimate-commandbar{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr)) minmax(170px,1.3fr);gap:6px;margin-bottom:8px;position:sticky;top:0;z-index:4;background:#eef2f5;padding:6px 0}.estimate-commandbar button{border:1px solid #c4ced6;background:#fff;padding:8px 10px;text-align:left;border-radius:3px}.estimate-commandbar label{display:block;font-size:8px;letter-spacing:.08em;color:#71808c;font-weight:850}.estimate-commandbar strong{display:block;font-size:15px;color:#20364a;margin-top:2px}.estimate-commandbar .estimate-check{background:#263e54;border-color:#263e54}.estimate-commandbar .estimate-check label,.estimate-commandbar .estimate-check strong{color:#fff}.estimate-check-results{border:1px solid #d8bc7c;background:#fff9eb;padding:10px;margin-bottom:8px;font-size:11px}.estimate-check-results ul{margin:6px 0 0;padding-left:18px}.calculator-groups{display:grid;gap:8px}.calc-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px}.calc-tile-grid button{position:relative;min-height:86px;border:1px solid #cbd4dc;background:#fff;text-align:left;padding:10px;cursor:pointer}.calc-tile-grid button:hover{background:#f6f9fb}.calc-tile-grid button strong,.calc-tile-grid button small{display:block}.calc-tile-grid button strong{font-size:11px;color:#24394c}.calc-tile-grid button small{font-size:9px;color:#75818d;margin-top:4px;max-width:85%}.calc-tile-grid button.locked{background:#f6f6f4;border-style:dashed}.free-tag,.pro-tag{position:absolute;right:7px;bottom:7px;font-size:8px;font-weight:900;letter-spacing:.05em}.free-tag{color:#4f6d5b}.pro-lock-panel{margin-top:8px;border:1px solid #c6b276;background:#fffaf0;padding:12px}.pro-lock-panel h3{margin:0 0 4px;font-size:13px}.pro-lock-panel p{margin:0;color:#6d6655;font-size:10px}.visualizer-layout{display:grid;grid-template-columns:390px minmax(0,1fr);gap:8px}.visual-controls{padding-bottom:10px}.viz-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px}.viz-form-grid label,.slider-stack label{font-size:9px;font-weight:800;color:#65737f}.viz-form-grid input,.viz-form-grid select{display:block;width:100%;margin-top:3px;border:1px solid #bcc8d1;padding:7px;background:#fff}.viz-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 10px 10px;font-size:10px}.slider-stack{display:grid;gap:8px;padding:8px 10px;border-top:1px solid #e3e8ec}.slider-stack input{width:100%;display:block;margin-top:4px}.visual-preview{min-width:0}.road-concept{margin:12px;border:1px solid #aeb9c1;background:#dfe7eb;min-height:330px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.concept-sky{text-align:center;margin:auto;color:#75838d;font-size:10px;font-weight:900;letter-spacing:.15em}.concept-road{background:#62686b;color:#fff;min-height:105px;display:grid;grid-template-columns:1fr 1fr .7fr 1fr 1fr;align-items:center;text-align:center;border-top:12px solid #7b9b66;border-bottom:12px solid #7b9b66;font-family:ui-monospace,monospace;font-size:10px}.concept-road span{height:100%;display:flex;align-items:center;justify-content:center;border-left:1px dashed #e9e5c8}.concept-road i{font-style:normal;background:#6f8d5c;height:100%;display:flex;align-items:center;justify-content:center;font-size:8px}.concept-caption{background:#fff;padding:8px;font-size:10px;font-weight:750}.pro-note{margin:12px;border-left:3px solid #9e7c32;background:#faf7ee;padding:10px;font-size:10px}.pro-badge{border-color:#c4a762;background:#fff8e7}.button-row{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(3,1fr)}.calc-tile-grid{grid-template-columns:repeat(2,1fr)}.visualizer-layout{grid-template-columns:1fr}.estimate-commandbar{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.overview-dashboard,.drainage-layout{grid-template-columns:1fr}.overview-modules{grid-column:auto}.estimate-commandbar{position:static}.visualizer-layout{grid-template-columns:1fr}}
@media(max-width:640px){.module-grid,.calc-tile-grid,.viz-form-grid{grid-template-columns:1fr 1fr}.estimate-commandbar{grid-template-columns:1fr 1fr}.viz-checks{grid-template-columns:1fr}.road-concept{min-height:250px}}

/* v0.3.1 functional calculator laboratory */
.calc-lab{max-width:1500px;margin:auto;padding:18px 18px 55px}.calc-lab-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#fff7df;border:1px solid #ddc57c;padding:9px 12px;margin-bottom:9px;font-size:10px}.calc-lab-banner strong{display:block;font-size:10px;letter-spacing:.08em}.calc-lab-banner span:not(.status){color:#74694f}.calc-lab-shell{display:grid;grid-template-columns:280px minmax(520px,1fr) 250px;gap:8px;align-items:start}.calc-browser,.calc-workbench,.calc-context-panel{min-width:0}.calc-browser{border:1px solid #c8d2da;background:#fff}.calc-browser-head{padding:10px;border-bottom:1px solid #d8e0e6}.calc-browser-head label{display:block;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.07em;color:#62717e;margin-bottom:4px}.calc-browser-head input{width:100%;border:1px solid #aebbc6;padding:8px 9px;font-size:11px}.calc-category-nav{display:flex;flex-wrap:wrap;border-bottom:1px solid #d8e0e6;padding:5px;gap:3px}.calc-category-nav button{border:1px solid transparent;background:#f4f6f7;padding:5px 7px;font-size:9px;font-weight:800;color:#485b6b}.calc-category-nav button span{margin-left:4px;color:#87939d}.calc-category-nav button.active{background:#263e54;color:#fff}.calc-category-nav button.active span{color:#dbe5ed}.calc-browser-list{max-height:780px;overflow:auto}.calc-list-item{width:100%;border:0;border-bottom:1px solid #e3e8ec;background:#fff;padding:9px 10px;text-align:left;display:flex;gap:8px;justify-content:space-between}.calc-list-item:hover,.calc-list-item.active{background:#edf3f7}.calc-list-item.active{border-left:3px solid #315f82;padding-left:7px}.calc-list-item span{min-width:0}.calc-list-item strong,.calc-list-item small{display:block}.calc-list-item strong{font-size:10px;color:#253b4d}.calc-list-item small{font-size:8px;color:#77838e;margin-top:2px;line-height:1.35}.calc-list-item em{font-style:normal;font-size:7px;font-weight:900;color:#4e715b;align-self:center}.calc-no-match{padding:12px}.calc-workbench{min-height:650px}.calc-empty{border:1px solid #c8d2da;background:#fff;padding:32px}.calc-empty h1{margin:3px 0 6px;font-size:25px}.calc-empty p{max-width:680px;color:#6f7d89;font-size:11px}.calc-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.calc-stats span{border:1px solid #d6dee4;background:#f8fafb;padding:10px 12px;font-size:9px}.calc-stats strong{display:block;font-size:18px;color:#2a4052}.calc-titlebar{background:#fff;border:1px solid #c8d2da;border-bottom:0;padding:14px;display:flex;justify-content:space-between;gap:18px}.calc-titlebar h1{margin:3px 0 3px;font-size:22px}.calc-titlebar p{margin:0;color:#6f7d89;font-size:10px}.calc-access{display:flex;align-items:flex-start;gap:6px}.free-tag-inline,.pro-tag-inline{font-size:8px;font-weight:900;letter-spacing:.08em;padding:4px 6px;border:1px solid}.free-tag-inline{color:#466950;border-color:#b9ccbf;background:#f1f7f2}.pro-tag-inline{color:#775a20;border-color:#dac58b;background:#fff8e5}.calc-toolbar{display:flex;align-items:center;gap:4px;background:#e7edf2;border:1px solid #c8d2da;padding:5px}.calc-toolbar button{border:1px solid #acb9c3;background:#fff;padding:5px 8px;font-size:9px;font-weight:800}.calc-toolbar span{margin-left:auto;font-size:8px;color:#637381;font-weight:750}.calc-main-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.calc-main-grid .eng-panel,.calc-lower-grid .eng-panel{min-height:0}.dynamic-calc-form{padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.dynamic-calc-form label>span{display:block;font-size:9px;font-weight:850;color:#5f6f7c;margin-bottom:3px}.calc-input-wrap{display:flex;border:1px solid #b7c3cc;background:#fff}.calc-input-wrap input{border:0;min-width:0;width:100%;padding:8px;font-size:12px}.calc-input-wrap b{display:flex;align-items:center;padding:0 7px;background:#f1f4f6;border-left:1px solid #d0d8de;font-size:8px;color:#6a7884;white-space:nowrap}.calc-run-row{display:flex;align-items:center;gap:10px;padding:0 10px 10px}.primary-calc{background:#263e54!important;color:#fff!important;border-color:#263e54!important;font-weight:900!important;letter-spacing:.05em}.calc-run-row span{font-size:9px;color:#9a4e27}.dynamic-calc-result{padding:8px}.calc-result-row{display:flex;justify-content:space-between;gap:15px;padding:8px 7px;border-bottom:1px solid #e3e8ec;font-size:10px}.calc-result-row span{color:#697785}.calc-result-row strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#253b4d}.calc-result-row strong small{font-family:inherit;font-size:8px;color:#6c7b87}.calc-result-row.primary{background:#edf3f7;border:1px solid #c2d1dc;margin-bottom:5px}.calc-result-row.primary span{font-weight:850;color:#263e54}.calc-result-row.primary strong{font-size:15px}.calc-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.calc-reference-text{padding:10px;font-size:10px;color:#536575;line-height:1.6}.calc-context-panel{display:grid;gap:8px}.calc-context-list #calc-recent{padding:6px}.recent-calc{padding:7px;border-bottom:1px solid #e4e8eb}.recent-calc strong,.recent-calc small,.recent-calc span{display:block}.recent-calc strong{font-size:9px}.recent-calc small{font-size:8px;color:#667683;margin:2px 0}.recent-calc span{font-size:7px;color:#98a2aa}.calc-pro-preview button{width:100%;border:0;border-top:1px solid #e3e7e9;background:#fff;text-align:left;padding:8px;font-size:9px;font-weight:750;display:flex;justify-content:space-between}.calc-pro-preview button:hover{background:#faf7ef}.calc-context-panel .pro-lock-panel{margin:0}.calc-assumption-panel{border-left:3px solid #c49c44}.calc-formula-panel{border-left:3px solid #587892}
@media(max-width:1180px){.calc-lab-shell{grid-template-columns:240px 1fr}.calc-context-panel{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.calc-pro-message{grid-column:1/-1}}
@media(max-width:820px){.calc-lab-shell{grid-template-columns:1fr}.calc-browser-list{max-height:320px}.calc-main-grid,.calc-lower-grid{grid-template-columns:1fr}.calc-context-panel{grid-template-columns:1fr}.dynamic-calc-form{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.dynamic-calc-form{grid-template-columns:1fr}.calc-titlebar{flex-direction:column}.calc-toolbar{flex-wrap:wrap}.calc-toolbar span{width:100%;margin-left:0}.calc-lab{padding:8px 8px 35px}}

/* v0.4.0 — site-wide engineering identity */
:root{
  --blueprint:#0d335b;
  --blueprint-2:#164f82;
  --blueprint-3:#1e6aa5;
  --draft-paper:#f7f8f4;
  --draft-ink:#1c3143;
  --safety:#e5a72d;
  --calc-blue:#e7f1f8;
  --calc-green:#e9f5ee;
  --calc-amber:#fff5df;
  --calc-slate:#edf1f3;
}
body{
  background-color:#eef2f5;
  background-image:linear-gradient(rgba(31,75,108,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(31,75,108,.035) 1px,transparent 1px);
  background-size:28px 28px;
}
.site-header{background:#102e4d;overflow:visible}
.site-header:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(151,198,231,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(151,198,231,.2) 1px,transparent 1px);background-size:24px 24px}
.site-header:after{content:"";position:absolute;right:4%;top:-62px;width:210px;height:160px;border:1px solid rgba(185,219,241,.16);border-radius:50%;transform:rotate(-12deg);pointer-events:none}
.nav-wrap{position:relative;z-index:100}
.brand{letter-spacing:.04em}.brand small{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em}
.nav-links a{border-radius:3px;border:1px solid transparent}.nav-links a:hover,.nav-links a.active{background:#1c5a90;border-color:#3e79a8}
.page{max-width:1360px}
.engineering-hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#0c2d4c 0%,#134b7b 58%,#1d659f 100%);border:1px solid #2b6d9f;border-radius:8px;box-shadow:0 10px 28px rgba(12,45,76,.16);grid-template-columns:1.05fr .95fr;padding:42px}
.engineering-hero:before{content:"";position:absolute;inset:0;opacity:.24;background-image:linear-gradient(rgba(198,225,244,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(198,225,244,.22) 1px,transparent 1px);background-size:26px 26px}
.engineering-hero:after{content:"";position:absolute;left:-10%;right:22%;bottom:34px;height:1px;background:rgba(220,240,252,.24);transform:rotate(-5deg);box-shadow:0 -38px rgba(220,240,252,.12),0 42px rgba(220,240,252,.1)}
.hero-copy,.hero-engineering-scene{position:relative;z-index:1}.hero-copy{align-self:center}
.hero-kicker{display:flex;gap:12px;flex-wrap:wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.14em;font-weight:800;color:#bcd8eb;margin-bottom:14px}.hero-rule{color:#f2c665}
.engineering-hero h1{font-size:clamp(36px,5vw,58px);max-width:770px;letter-spacing:-.035em}.engineering-hero p{font-size:16px;line-height:1.65;max-width:760px}
.hero-primary{background:#f4f7f8;color:#153954;border:1px solid #fff;border-radius:3px}.hero-primary:hover{background:#fff;color:#0d335b}.hero-secondary{background:transparent;border:1px solid rgba(226,240,250,.75);border-radius:3px}.hero-secondary:hover{background:rgba(255,255,255,.08)}
.hero-statusline{display:flex;flex-wrap:wrap;gap:18px;margin-top:23px;padding-top:12px;border-top:1px solid rgba(207,232,248,.22);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;letter-spacing:.1em;color:#a9c9de}
.hero-engineering-scene{min-height:315px;border:1px solid rgba(190,222,243,.36);background:rgba(5,31,55,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.hero-engineering-scene svg{width:100%;height:100%;display:block;min-height:315px}.hero-engineering-scene svg *{vector-effect:non-scaling-stroke}.bp-grid path{stroke:rgba(185,220,242,.16);stroke-width:1;fill:none}.bp-road path,.bp-dim path,.bp-totalstation path,.bp-hardhat path,.bp-scale path,.bp-protractor path,.bp-protractor circle{stroke:#d8edf9;stroke-width:1.5;fill:none}.bp-totalstation circle{stroke:#f1c25c;fill:rgba(241,194,92,.08);stroke-width:2}.bp-dim text,.bp-note{fill:#bcd7e8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.08em}.scene-label{position:absolute;left:14px;bottom:12px;background:rgba(9,35,59,.78);border-left:3px solid #e5a72d;padding:8px 10px}.scene-label strong,.scene-label span{display:block}.scene-label strong{font-size:12px;letter-spacing:.04em}.scene-label span{font-size:9px;color:#bdd4e4;margin-top:2px}
.engineering-section-title{border-bottom:2px solid #b8c8d5;padding-bottom:8px}.engineering-section-title>div{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:end}.engineering-section-title p{grid-column:2}.section-index{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a5b8c;font-size:12px;font-weight:900;border:1px solid #8aa7bb;padding:3px 5px}.draft-mark{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#7b8d99;font-size:9px;letter-spacing:.12em}
.action-card{border-radius:5px;box-shadow:none;border-top:3px solid #476f8e;position:relative;overflow:hidden}.action-card:after{content:"";position:absolute;right:-15px;top:-15px;width:72px;height:72px;border:1px solid rgba(60,98,127,.12);transform:rotate(45deg)}.action-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(18,43,70,.11);border-top-color:#1c5f91}.icon-tile{border-radius:3px;background:#e5eef4;border:1px solid #c6d8e5}
.card{border-radius:5px}

/* Engineering project shell details */
.engineering-body{background-color:#e9eef1;background-image:linear-gradient(rgba(36,75,103,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(36,75,103,.035) 1px,transparent 1px);background-size:24px 24px}
.eng-topbar{position:relative;background:#102c46;background-image:linear-gradient(rgba(176,210,233,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(176,210,233,.08) 1px,transparent 1px);background-size:22px 22px}
.eng-home{font-size:11px;font-weight:800;color:#eef7fc;border:1px solid #597791;background:#203f5a;padding:5px 9px;border-radius:2px}.eng-home:hover{background:#2f5877}
.eng-sidebar-divider{border-top:1px solid #40566b;margin:10px 6px 7px}.eng-main-link{color:#fff!important;background:#172a3d!important;border:1px solid #4e6579!important;font-weight:850!important}
.eng-panel,.eng-metric,.sheet-list,.plan-viewer,.properties,.review-cats{box-shadow:0 2px 7px rgba(28,49,67,.045)}

/* v0.4.0 — calculator professional engineering workspace */
.calc-lab-page{background-color:#e7edf1;background-image:linear-gradient(rgba(35,76,107,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(35,76,107,.045) 1px,transparent 1px);background-size:22px 22px}
.calc-lab{max-width:1600px;padding-top:14px}.calc-lab-banner{background:#f8edd1;border:1px solid #d2a84c;border-left:5px solid var(--safety);padding:11px 14px;font-size:11px;box-shadow:0 2px 7px rgba(66,59,35,.05)}.calc-lab-banner strong{font-size:11px}.calc-lab-shell{grid-template-columns:330px minmax(560px,1fr) 275px;gap:11px}
.calc-browser{border:1px solid #8fa6b7;background:#f8fafb;box-shadow:0 5px 16px rgba(22,54,78,.08)}.calc-browser-head{padding:14px;background:#183c5c;color:#fff;border-bottom:3px solid #e0aa3e}.calc-browser-head label{font-size:10px;color:#d4e5f0;letter-spacing:.11em}.calc-browser-head input{padding:11px 12px;font-size:14px;border:1px solid #7593aa;background:#fff;color:#20384d;outline:0}.calc-browser-head input:focus{border-color:#e0aa3e;box-shadow:0 0 0 2px rgba(224,170,62,.22)}
.calc-category-nav{padding:7px;background:#e8eef2;gap:4px}.calc-category-nav button{padding:7px 9px;font-size:10px;border-radius:2px;background:#f9fafb;border:1px solid #cad5dd}.calc-category-nav button.active{background:#1f5d8a;border-color:#1f5d8a;box-shadow:inset 0 -2px #efbd55}
.calc-browser-list{max-height:820px}.calc-list-item{padding:14px 13px;border-bottom:1px solid #d5dfe6;background:#fbfcfc;transition:background .12s,border-color .12s,box-shadow .12s}.calc-list-item strong{font-size:13px;color:#1f3548;letter-spacing:.005em}.calc-list-item small{font-size:10px;line-height:1.45;margin-top:4px;color:#687b89}.calc-list-item em{font-size:8px;padding:3px 5px;border:1px solid #aac2b2;background:#edf7f0;color:#386247}.calc-list-item:hover{background:#eef5fa}.calc-list-item.active{background:linear-gradient(90deg,#174f79,#226b9e);border-left:6px solid #f0bd53;padding-left:8px;box-shadow:inset 0 0 0 1px #2e769f}.calc-list-item.active strong{font-size:14px;color:#fff}.calc-list-item.active small{color:#d5e6f1}.calc-list-item.active em{background:#f5fbf7;color:#315a40;border-color:#d0e1d5}
.calc-workbench{position:relative}.calc-workbench:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.045;background-image:linear-gradient(#214f72 1px,transparent 1px),linear-gradient(90deg,#214f72 1px,transparent 1px);background-size:20px 20px}.calc-workbench>*{position:relative;z-index:1}
.calc-empty{border:1px solid #9cb0bf;background:rgba(250,252,252,.92)}
.calc-titlebar{background:linear-gradient(105deg,#143b5b 0%,#1d5e8b 100%);color:#fff;border:1px solid #0f304a;border-bottom:3px solid #e1aa3d;padding:18px 19px;box-shadow:0 4px 12px rgba(20,59,91,.13)}.calc-titlebar .eyebrow{color:#bdd7e8}.calc-titlebar h1{font-size:27px;color:#fff;margin-top:5px}.calc-titlebar p{font-size:12px;color:#d4e6f2;max-width:760px}.calc-titlebar .eng-action{background:#f5f8fa;border-color:#bfced9;color:#173b58}.calc-titlebar .free-tag-inline{background:#edf8ef;border-color:#a8c9b1;color:#356044}
.calc-toolbar{padding:7px 8px;background:#dce6ed;border-color:#a4b7c5;border-top:0}.calc-toolbar button{padding:7px 10px;font-size:10px;border-radius:2px}.calc-toolbar button:hover{background:#f9fbfc;border-color:#6386a0}.calc-toolbar span{font-size:9px;color:#476174}
.calc-main-grid{gap:11px;margin-top:11px}.calc-lower-grid{gap:11px;margin-top:11px}.calc-main-grid .eng-panel,.calc-lower-grid .eng-panel,.calc-context-panel .eng-panel{border-radius:3px;border-color:#aabcc9;overflow:hidden}
.calc-input-panel{background:#f7fbfe;border-top:4px solid #2b6f9f!important}.calc-input-panel .panel-head{background:#e6f0f7}.calc-input-panel .panel-head h2{color:#144d75;font-size:15px}
.calc-result-panel{background:#fbfcfb;border-top:4px solid #6a889c!important}.calc-result-panel .panel-head{background:#edf2f5}.calc-result-panel .panel-head h2{font-size:15px}.calc-result-panel.is-calculated{border-top-color:#3d8a5c!important;background:#f8fcf9}.calc-result-panel.is-calculated .panel-head{background:#e5f3e9}.calc-result-panel.is-calculated .panel-head h2{color:#2c6643}.calc-result-panel.has-warning{border-top-color:#c99028!important}.calc-result-panel.has-warning .panel-head{background:#fff1d3}
.panel-head{min-height:58px;padding:11px 13px}.panel-head h2{font-size:14px}.panel-head p{font-size:10px}
.dynamic-calc-form{padding:15px;gap:12px}.dynamic-calc-form label>span{font-size:11px;color:#3e586b;margin-bottom:5px}.calc-input-wrap{border:1px solid #9eb2c0}.calc-input-wrap:focus-within{border-color:#2d78aa;box-shadow:0 0 0 2px rgba(45,120,170,.13)}.calc-input-wrap input{padding:10px;font-size:15px}.calc-input-wrap b{font-size:10px;padding:0 9px;background:#e8eef2;color:#4b6678}
.calc-run-row{padding:0 15px 15px}.primary-calc{padding:10px 18px!important;background:#145482!important;border-color:#0e4369!important;font-size:11px!important;box-shadow:0 2px 0 #0a3657}.primary-calc:hover{background:#0f466f!important}.calc-run-row span{font-size:10px;font-weight:700}
.dynamic-calc-result{padding:12px}.calc-result-row{padding:11px 10px;font-size:11px}.calc-result-row.primary{background:#e5eef4;border-color:#9fb8c9;border-left:4px solid #2b6f9f}.calc-result-panel.is-calculated .calc-result-row.primary{background:#e3f1e7;border-color:#a6c8b1;border-left-color:#3d8a5c}.calc-result-row.primary strong{font-size:21px}.calc-result-row.primary span{font-size:12px}
.calc-formula-panel{background:#f1f4f6;border-left:0;border-top:4px solid #5f788c!important}.calc-formula-panel .panel-head{background:#e7ecef}.calc-assumption-panel{background:#fffaf0;border-left:0;border-top:4px solid #c58a27!important}.calc-assumption-panel .panel-head{background:#fff0d1}.calc-reference-text{padding:14px;font-size:11px;line-height:1.7}
.calc-context-panel{gap:11px}.calc-context-panel>.eng-panel:first-child{border-top:4px solid #355f7d}.calc-context-panel>.eng-panel:first-child .panel-head{background:#e5edf2}.compact-properties{padding:8px 12px!important}.compact-properties dt,.compact-properties dd{font-size:11px!important}.calc-context-list .panel-head{background:#edf1f3}.calc-pro-preview{border-top:4px solid #c08a2c!important}.calc-pro-preview .panel-head{background:#fff2d6}.calc-pro-preview button{font-size:10px;padding:11px 9px}.recent-calc{padding:10px}.recent-calc strong{font-size:10px}.recent-calc small{font-size:9px}.recent-calc span{font-size:8px}
@media(max-width:1180px){.calc-lab-shell{grid-template-columns:280px 1fr}.calc-context-panel{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.engineering-hero{grid-template-columns:1fr;padding:30px}.hero-engineering-scene{min-height:260px}.calc-lab-shell{grid-template-columns:1fr}.calc-browser-list{max-height:390px}.calc-context-panel{grid-template-columns:1fr}}
@media(max-width:640px){.engineering-hero{padding:24px}.hero-statusline{gap:10px}.hero-engineering-scene{min-height:220px}.eng-home{order:8}.calc-titlebar h1{font-size:23px}.calc-list-item strong{font-size:14px}.calc-list-item small{font-size:11px}}

/* v0.4.1 — homepage bulletin carousel + dedicated engineering news desk */
.home-news-hero{display:block;padding:0;overflow:hidden;border-radius:7px;border:1px solid #244f72;position:relative}.home-news-carousel{position:relative}.home-news-slide{display:none;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center;padding:34px;min-height:395px}.home-news-slide.active{display:grid}.home-news-carousel-controls{display:flex;align-items:center;gap:10px;padding:9px 13px;background:#0a263f;border-top:1px solid rgba(214,235,248,.18);color:#fff}.home-news-carousel-controls>button{width:34px;height:30px;border:1px solid #547590;background:#153d5e;color:#fff;border-radius:2px}.home-news-carousel-controls>button:hover{background:#245c84}.home-news-carousel-controls #home-news-dots{display:flex;gap:6px}.home-news-carousel-controls #home-news-dots button{width:28px;height:5px;border:0;padding:0;background:#55748a}.home-news-carousel-controls #home-news-dots button.active{background:#efb847}.home-news-all{margin-left:auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.08em;color:#dbeaf4;font-weight:800}.hero-symbol-scene,.hero-drafting-scene,.hero-milestone-scene{height:315px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background-image:linear-gradient(rgba(187,219,239,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(187,219,239,.12) 1px,transparent 1px);background-size:28px 28px;color:#eaf4fb}.hero-symbol-scene strong,.hero-drafting-scene strong,.hero-milestone-scene strong{margin-top:18px;font-size:12px;letter-spacing:.14em}.hero-symbol-scene small,.hero-drafting-scene small,.hero-milestone-scene small{font-size:9px;color:#b9d1e0}.hero-hardhat-symbol{font-size:95px;line-height:1;transform:rotate(180deg);color:#f4d77c;text-shadow:0 1px rgba(255,255,255,.2)}.hero-cone-symbol{position:absolute;right:60px;bottom:60px;width:0;height:0;border-left:32px solid transparent;border-right:32px solid transparent;border-bottom:98px solid #e6a137;filter:drop-shadow(0 2px 0 rgba(0,0,0,.15))}.hero-plan-lines{position:absolute;left:30px;bottom:55px;width:145px;height:90px;border:1px solid #b4cfdf;transform:rotate(-7deg)}.hero-plan-lines span{display:block;border-top:1px solid #86a9bf;margin-top:16px}.draft-sheet{width:125px;height:165px;border:2px solid #cee3ef;background:rgba(234,245,251,.05);display:grid;place-content:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.draft-sheet span{font-size:10px}.draft-sheet b{font-size:46px}.draft-protractor{position:absolute;width:145px;height:72px;border:2px solid #efbd55;border-radius:145px 145px 0 0;right:32px;bottom:54px;border-bottom:0}.draft-scale{position:absolute;width:170px;height:20px;border:1px solid #b8d1e0;left:24px;bottom:45px;transform:rotate(9deg);background:repeating-linear-gradient(90deg,transparent 0 13px,#b8d1e0 14px 15px)}.milestone-line{width:82%;height:3px;background:#8db0c6;display:flex;justify-content:space-between;align-items:center}.milestone-line i{display:block;width:20px;height:20px;border-radius:50%;background:#efbd55;border:4px solid #173f60}.milestone-labels{width:85%;display:flex;justify-content:space-between;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;margin-top:11px;color:#c9ddea}
.news-page{background-color:#e8eef2;background-image:linear-gradient(rgba(38,77,104,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(38,77,104,.035) 1px,transparent 1px);background-size:28px 28px}.news-shell{max-width:1500px}.news-masthead{display:flex;justify-content:space-between;gap:24px;align-items:end;padding:23px 0 18px;border-bottom:3px solid #173f60}.news-kicker,.news-section-label,.news-side-title{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.14em;font-weight:900;color:#3f657e}.news-masthead h1{margin:5px 0 5px;font-size:32px;line-height:1.1;color:#17344d}.news-masthead p{margin:0;color:#667b8a;max-width:770px;font-size:13px}.news-feed-status{min-width:225px;border:1px solid #9eb4c2;border-left:4px solid #46905f;background:#f8fbfa;padding:10px 12px;display:grid;grid-template-columns:auto 1fr;column-gap:8px}.news-feed-status .status-dot{width:9px;height:9px;border-radius:50%;background:#46905f;margin-top:4px}.news-feed-status strong{font-size:11px;color:#2e4d3a}.news-feed-status small{grid-column:2;color:#76858f;font-size:9px}.news-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;margin-top:18px}.news-categories{background:#163b59;color:#fff;border-top:4px solid #efb847;padding-bottom:12px;align-self:start;position:sticky;top:80px}.news-side-title{color:#bcd3e2;padding:14px 14px 9px}.news-category{width:100%;border:0;border-top:1px solid rgba(211,229,240,.11);background:transparent;color:#dbe8f0;padding:12px 12px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;text-align:left;gap:7px}.news-category span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;color:#82a8c0}.news-category strong{font-size:12px}.news-category em{font-style:normal;font-size:9px;color:#97b4c7}.news-category:hover{background:#204d70}.news-category.active{background:#245f89;border-left:5px solid #efb847;padding-left:7px;color:#fff}.news-side-note{margin:12px 12px 0;padding:11px;background:rgba(8,31,50,.42);border:1px solid rgba(201,224,238,.14)}.news-side-note strong{font-size:9px;letter-spacing:.1em;color:#efc96f}.news-side-note p{font-size:9px;line-height:1.55;color:#bcd0dc;margin:5px 0 0}.news-main{min-width:0}.news-controls{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px}.news-controls h2{font-size:23px;margin:2px 0 0}.news-search{width:min(390px,46%)}.news-search span{display:block;font-size:9px;font-weight:800;color:#506a7c;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.news-search input{width:100%;padding:9px 11px;border:1px solid #9eb3c1;background:#fff;font-size:13px}.news-search input:focus{outline:2px solid rgba(38,101,145,.18);border-color:#2e709f}.news-feature{display:grid;grid-template-columns:minmax(300px,.9fr) 1.1fr;border:1px solid #8fa8b8;background:#f9fbfc;margin-bottom:13px}.news-feature-visual{position:relative;min-height:225px;background:#123b5d;overflow:hidden}.news-feature-visual svg{width:100%;height:100%}.news-grid-lines path{stroke:rgba(199,224,239,.14);fill:none}.news-road-lines path,.news-survey-line{stroke:#d9eef9;fill:none;stroke-width:2}.news-feature-visual>span{position:absolute;left:12px;bottom:10px;font-size:9px;color:#c3d9e7;letter-spacing:.11em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.news-feature-copy{padding:24px}.news-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#72828d;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.news-chip{padding:3px 6px;border:1px solid #8da8b9;background:#edf3f6;color:#285471;font-weight:900}.news-chip.louisiana{background:#e6f0f7;color:#17577f}.news-chip.construction{background:#fff0d2;color:#815d17}.news-chip.standards{background:#e7edf6;color:#344f75}.news-chip.letting{background:#edf4e8;color:#3f6a36}.news-chip.safety{background:#f9e9e5;color:#834332}.news-chip.drainage{background:#e4f2f3;color:#27646a}.news-chip.delivery{background:#ede8f5;color:#5a477a}.news-feature-copy h2{font-size:25px;line-height:1.16;margin:10px 0 8px;color:#17344d}.news-feature-copy p{font-size:13px;color:#5e7483;line-height:1.65}.news-feature-actions{display:flex;align-items:center;gap:12px;margin-top:18px}.news-feature-actions span{font-size:9px;color:#7d8d97}.news-feed{border-top:3px solid #355f7d}.news-story{display:grid;grid-template-columns:55px 1fr;gap:14px;padding:17px 10px;border-bottom:1px solid #b9c8d2;background:rgba(255,255,255,.72)}.news-story:hover{background:#fff}.news-story-index{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:21px;color:#9aabb6;border-right:1px solid #c4d0d8}.news-story h3{font-size:16px;margin:6px 0 5px;color:#1d3a50}.news-story p{font-size:11px;color:#647886;margin:0;line-height:1.6}.news-source-row{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:9px;color:#7a8b95;font-size:9px}.news-text-button{border:0;background:transparent;color:#1b5e8a;font-weight:800;font-size:10px}.news-empty{padding:30px;border:1px solid #b3c2cc;background:#fff;color:#667887;text-align:center}.news-summary-modal{position:fixed;inset:0;background:rgba(8,27,43,.62);z-index:70;display:grid;place-items:center;padding:20px}.news-summary-modal[hidden]{display:none}.news-summary-card{width:min(620px,100%);background:#f7fafb;border-top:5px solid #efb847;padding:22px;box-shadow:0 18px 50px rgba(0,0,0,.22)}.news-summary-card h2{margin:0 0 8px;color:#17344d}.news-summary-card p{font-size:13px;color:#607482}.news-summary-card button{margin-top:12px}
@media(max-width:900px){.home-news-slide{grid-template-columns:1fr}.news-layout{grid-template-columns:1fr}.news-categories{position:static;display:grid;grid-template-columns:repeat(2,1fr);padding:8px}.news-side-title,.news-side-note{grid-column:1/-1}.news-masthead{align-items:start;flex-direction:column}.news-feed-status{width:100%}.news-feature{grid-template-columns:1fr}.news-feature-visual{min-height:180px}}
@media(max-width:600px){.home-news-slide{padding:24px}.home-news-carousel-controls{flex-wrap:wrap}.home-news-all{width:100%;margin:0}.news-categories{grid-template-columns:1fr}.news-controls{align-items:stretch;flex-direction:column}.news-search{width:100%}.news-story{grid-template-columns:36px 1fr}.news-feature-copy{padding:18px}}


/* v0.4.2 Workbench identity + development login */
.instant-signin{display:flex;align-items:center;gap:11px;margin:14px 0 12px;padding:11px 12px;border:1px solid #adc2d2;border-left:4px solid #2d6fb7;background:#eef5fa;border-radius:4px;cursor:pointer}.instant-signin input{width:18px;height:18px;accent-color:#245e8d}.instant-signin span,.instant-signin strong,.instant-signin small{display:block}.instant-signin strong{font-size:13px;color:#173b58}.instant-signin small{font-size:10px;color:#6f7d88;margin-top:1px}.login-shell .card{border-radius:5px;border-top:4px solid #245e8d;background-image:linear-gradient(rgba(36,94,141,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(36,94,141,.035) 1px,transparent 1px);background-size:22px 22px}.login-submit{border-radius:3px}
.engineering-body{background-color:#e9eef2;background-image:linear-gradient(rgba(41,82,113,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(41,82,113,.055) 1px,transparent 1px);background-size:24px 24px}.eng-topbar{height:50px;background:#0c2d49;background-image:linear-gradient(rgba(146,192,220,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(146,192,220,.08) 1px,transparent 1px);background-size:28px 28px;border-bottom:2px solid #426b89;box-shadow:0 3px 14px rgba(8,31,51,.16)}.eng-brand{font-size:14px;letter-spacing:.085em}.eng-brand a:before{content:'// ';color:#e9b44e}.eng-project-id{padding-left:14px;border-left:1px solid rgba(200,224,239,.22)}.eng-sidebar{background:linear-gradient(180deg,#1a344b 0%,#152b3f 100%);position:relative;overflow:hidden}.eng-sidebar:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.11;background-image:linear-gradient(rgba(190,220,238,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(190,220,238,.22) 1px,transparent 1px);background-size:22px 22px}.eng-sidebar>*{position:relative}.eng-sidebar button,.eng-sidebar a{min-height:34px;font-size:12px;transition:background .13s,border-color .13s,color .13s}.eng-sidebar button:hover,.eng-sidebar a:hover{background:#294b66}.eng-sidebar button.active{background:linear-gradient(90deg,#376986,#2d536d);box-shadow:inset 4px 0 #f0bc55;color:#fff}.eng-side-label{color:#91a9ba;letter-spacing:.16em}.eng-main-link{margin-top:8px;border:1px solid #41627b!important;background:#183147!important}.workbench-version{margin-top:9px;padding:8px 6px 3px;border-top:1px solid #3b566b;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;letter-spacing:.08em;color:#8097a8}.workbench-version strong{display:block;color:#b9cad6;font-size:9px;margin-top:2px}.eng-canvas{position:relative}.eng-canvas:before{content:'';position:absolute;right:2%;top:22px;width:300px;height:130px;opacity:.055;pointer-events:none;border:1px solid #1d5c83;background:repeating-linear-gradient(0deg,transparent 0 19px,#1d5c83 20px),repeating-linear-gradient(90deg,transparent 0 49px,#1d5c83 50px);transform:skewX(-10deg)}.project-view{position:relative;z-index:1}.workbench-titleblock{border-bottom:2px solid #6b879b;padding:3px 0 11px;position:relative}.workbench-titleblock:after{content:'DESIGN DESK / ACTIVE PROJECT';position:absolute;right:0;bottom:-18px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:7px;letter-spacing:.14em;color:#8293a0}.workbench-titleblock h1{font-size:25px!important;letter-spacing:-.025em}.workbench-titleblock .eyebrow{color:#416b88}.overview-metrics{margin-top:20px;gap:10px}.overview-metrics .eng-metric{position:relative;overflow:hidden;padding:13px 14px 12px;border-top-width:4px;transition:transform .13s,border-color .13s,box-shadow .13s}.overview-metrics .eng-metric:after{position:absolute;right:11px;top:9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:22px;font-weight:900;opacity:.11}.overview-metrics .eng-metric:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(29,57,77,.09)}.metric-cost{border-top-color:#2f6d9b!important}.metric-cost:after{content:'$'}.metric-plans{border-top-color:#537d9a!important}.metric-plans:after{content:'PL'}.metric-calcs{border-top-color:#3e7e67!important}.metric-calcs:after{content:'ƒx'}.metric-qaqc{border-top-color:#bc8430!important}.metric-qaqc:after{content:'QC'}.overview-dashboard{gap:11px}.overview-dashboard>.eng-panel{border-color:#aebfcb}.overview-dashboard>.eng-panel>.panel-head{background:linear-gradient(180deg,#f7fafb,#edf3f6);border-bottom-color:#b9c8d2}.overview-dashboard>.eng-panel:first-child{border-top:3px solid #c18a31}.overview-dashboard>.eng-panel:nth-child(2){border-top:3px solid #476f8c}.compact-alerts button{position:relative;min-height:54px}.compact-alerts button:hover{background:#f4f8fa}.compact-alerts button:after{content:'›';position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#8293a0;font-size:18px}.property-list dt{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px!important;text-transform:uppercase;letter-spacing:.03em}.overview-modules{border-top:3px solid #2d648d!important}.module-grid{gap:8px!important;padding:9px!important}.module-grid button{min-height:68px!important;display:flex!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;background:linear-gradient(180deg,#fbfcfd,#f2f6f8)!important;border:1px solid #b8c7d1!important;border-left:4px solid #728fa3!important;transition:transform .13s,background .13s,border-color .13s!important}.module-grid button:hover{transform:translateY(-1px);background:#e8f2f8!important;border-color:#779cb5!important}.module-grid button>span:last-child{display:block;text-align:left}.module-grid button small{display:block!important;margin-top:3px!important}.module-glyph{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #96adbd;background:#e6eef3;color:#234a66;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:900}.module-plans{border-left-color:#386f98!important}.module-quantities{border-left-color:#5a7385!important}.module-drainage{border-left-color:#3d7d8c!important}.module-estimate{border-left-color:#547968!important}.module-calculators{border-left-color:#326e99!important}.module-visualizer{border-left-color:#b47e2b!important}.eng-panel,.eng-metric,.sheet-list,.plan-viewer,.properties,.review-cats{box-shadow:0 2px 8px rgba(22,49,68,.055)}.eng-panel{background:rgba(255,255,255,.97)}.panel-head h2{letter-spacing:.005em}.status.review{box-shadow:inset 3px 0 #d69b36}.status.pass{box-shadow:inset 3px 0 #4b8c65}
@media(max-width:640px){.workbench-titleblock:after{display:none}.overview-metrics{margin-top:8px}.workbench-version{display:none}.module-grid button{min-height:58px!important}.eng-canvas:before{display:none}}


/* v0.4.3 — precision + flow identity */
.calc-workbench,.project-main{position:relative;isolation:isolate}
.calc-workbench:before,.project-main:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.32;background:radial-gradient(ellipse at 82% 14%,rgba(34,108,170,.12),transparent 32%),repeating-radial-gradient(ellipse at 15% 95%,transparent 0 34px,rgba(37,99,140,.08) 35px 36px,transparent 37px 55px)}
.calc-workbench .eng-panel,.calc-project-context-card{border-radius:11px;overflow:hidden}
.calc-list-item{border-radius:9px}.calc-list-item.active{border-radius:11px}
.dynamic-calc-form input,.dynamic-calc-form select,.calc-context-form input{border-radius:7px}
.calc-toolbar button,.primary-calc{border-radius:8px}
.calc-project-context-card{margin:0 0 14px;border:1px solid #9fb6c8;background:linear-gradient(120deg,#f8fbfd,#edf5f8);box-shadow:0 1px 0 rgba(12,48,75,.05)}
.calc-project-context-card summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 15px;background:linear-gradient(90deg,#e9f2f7,#f8fbfd);border-bottom:1px solid #c8d7e1;color:#123b59}
.calc-project-context-card summary span{display:flex;flex-direction:column}.calc-project-context-card summary small{font-weight:400;color:#61798b;margin-top:2px}.calc-project-context-card summary b{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#1c6593}
.calc-context-form{padding:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.calc-context-form label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;color:#496274}.calc-context-form input{display:block;width:100%;margin-top:5px;border:1px solid #b9cbd7;background:#fff;padding:8px 9px;font-size:13px;color:#17364d}.calc-context-form .context-notes{grid-column:span 2}
.calc-titlebar{position:relative}.calc-titlebar:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:1px;background:linear-gradient(90deg,#2678a8 0 34%,transparent 34% 40%,#8eb9c9 40% 64%,transparent 64%)}
@media(max-width:1050px){.calc-context-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.calc-context-form{grid-template-columns:1fr}.calc-context-form .context-notes{grid-column:auto}}

/* v0.4.9 Site-wide dark mode */
:root[data-theme="dark"]{
  --navy:#7fb2e8;
  --navy-2:#0b1521;
  --blue:#4f91d2;
  --blue-2:#162b40;
  --bg:#0d141c;
  --card:#131d27;
  --text:#e8eef5;
  --muted:#9bacbd;
  --line:#2a3948;
  --green:#72c28d;
  --amber:#e0ad4f;
  --red:#e07777;
  --shadow:0 10px 30px rgba(0,0,0,.28);
  color-scheme:dark;
}
:root[data-theme="dark"] body{background:#0d141c;color:var(--text)}
:root[data-theme="dark"] .site-header{background:rgba(8,20,32,.97);box-shadow:0 1px 0 rgba(255,255,255,.06)}
:root[data-theme="dark"] .nav-links a{color:#c8d7e6}:root[data-theme="dark"] .nav-links a:hover,:root[data-theme="dark"] .nav-links a.active{background:#1c456d}
:root[data-theme="dark"] .card,:root[data-theme="dark"] .stat,:root[data-theme="dark"] .security-item,:root[data-theme="dark"] .modal-card{background:#131d27;border-color:#2a3948;color:#e8eef5}
:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .inline-input,:root[data-theme="dark"] .tool-tabs button{background:#0f1822;color:#e8eef5;border-color:#344556}
:root[data-theme="dark"] .btn.secondary{background:#223346;color:#dce8f4}:root[data-theme="dark"] .btn.ghost{color:#cfe0f1;border-color:#3a4b5d}
:root[data-theme="dark"] .result-box,:root[data-theme="dark"] .notice{background:#12263a;border-color:#274862}:root[data-theme="dark"] .notice.warning{background:#302617}:root[data-theme="dark"] .notice.danger{background:#321c20}
:root[data-theme="dark"] th{background:#101923;color:#aab8c6}:root[data-theme="dark"] td,:root[data-theme="dark"] th{border-color:#2a3948}
:root[data-theme="dark"] .table-wrap{border-color:#2a3948}
:root[data-theme="dark"] .tag{background:#223346;color:#cfe0f1}:root[data-theme="dark"] .tag.green{background:#173525}:root[data-theme="dark"] .tag.amber{background:#3b2d13}:root[data-theme="dark"] .tag.red{background:#3c2024}
:root[data-theme="dark"] .site-footer{background:#081420;color:#aebfce}
:root[data-theme="dark"] .engineering-body{background:#0d141c}
:root[data-theme="dark"] .eng-topbar{background:#081523;border-bottom-color:#26384a}
:root[data-theme="dark"] .project-context{background:#0f1822;border-bottom-color:#2a3948;color:#d7e1eb}
:root[data-theme="dark"] .project-context span{color:#91a4b7}:root[data-theme="dark"] .project-context strong{color:#e5edf5}
:root[data-theme="dark"] .eng-sidebar{background:#111f2d;border-right-color:#09131e}
:root[data-theme="dark"] .eng-canvas{background-color:#0d141c}
:root[data-theme="dark"] .eng-panel,:root[data-theme="dark"] .eng-card,:root[data-theme="dark"] .eng-stat,:root[data-theme="dark"] .project-title-block,:root[data-theme="dark"] .eng-module-card{background:#131d27!important;border-color:#2a3948!important;color:#e8eef5}
:root[data-theme="dark"] .eng-panel h2,:root[data-theme="dark"] .eng-panel h3,:root[data-theme="dark"] .eng-card h3{color:#e8eef5}
:root[data-theme="dark"] .calc-shell,:root[data-theme="dark"] .calc-main,:root[data-theme="dark"] .calc-workspace{background:#0d141c}
:root[data-theme="dark"] .calc-browser,:root[data-theme="dark"] .calc-context-panel,:root[data-theme="dark"] .calc-panel,:root[data-theme="dark"] .calc-tool-context,:root[data-theme="dark"] .calc-recent-panel,:root[data-theme="dark"] .calc-active-header{background:#131d27!important;border-color:#2a3948!important;color:#e8eef5}
:root[data-theme="dark"] .calc-list-item{background:#101923!important;color:#dfe8f1!important;border-color:#263747!important}
:root[data-theme="dark"] .calc-list-item small{color:#9eafbf!important}
:root[data-theme="dark"] .calc-list-item.active{background:#173a5b!important;border-color:#4f91d2!important;box-shadow:inset 4px 0 #73a9dc}
:root[data-theme="dark"] .calc-category-nav button{color:#bfd0e1;border-color:#2a3948;background:#101923}
:root[data-theme="dark"] .calc-category-nav button.active{background:#1b4a76;color:#fff}
:root[data-theme="dark"] .calc-input-wrap,:root[data-theme="dark"] .calc-input-wrap input,:root[data-theme="dark"] #dynamic-calc-form select,:root[data-theme="dark"] .calc-context-grid input,:root[data-theme="dark"] .calc-context-grid select,:root[data-theme="dark"] .calc-context-grid textarea{background:#0e1720!important;color:#e8eef5!important;border-color:#34495c!important}
:root[data-theme="dark"] .calc-result-panel{background:#132131!important}:root[data-theme="dark"] .calc-result-panel.is-calculated{background:#132a1d!important;border-color:#2f6d45!important}:root[data-theme="dark"] .calc-result-panel.has-warning{background:#322614!important;border-color:#7a5b22!important}
:root[data-theme="dark"] .home-news-hero{box-shadow:0 12px 36px rgba(0,0,0,.32)}
:root[data-theme="dark"] .news-shell,:root[data-theme="dark"] .news-main,:root[data-theme="dark"] .news-sidebar,:root[data-theme="dark"] .news-item,:root[data-theme="dark"] .news-featured{background-color:#0d141c;color:#e8eef5}
:root[data-theme="dark"] .news-item,:root[data-theme="dark"] .news-featured{border-color:#2a3948;background:#131d27}

.theme-toggle{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#fff;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.theme-toggle:hover{background:rgba(255,255,255,.13)}
.theme-toggle .theme-icon{font-size:14px;line-height:1}
.eng-topbar .theme-toggle{border-color:#41576c;background:#1b3044;padding:5px 8px;border-radius:5px;font-size:11px}
@media(max-width:640px){.theme-toggle .theme-label{display:none}.theme-toggle{padding:7px 9px}.eng-topbar .theme-toggle{padding:5px 7px}}

/* v0.4.9 — dark-mode surface hierarchy / night drafting table */
:root[data-theme="dark"]{
  --tw-night-0:#0b131c;
  --tw-night-1:#101b26;
  --tw-night-2:#142331;
  --tw-night-3:#182a3a;
  --tw-night-border:#2b4053;
  --tw-night-border-strong:#3a566d;
  --tw-night-text:#e8f0f7;
  --tw-night-muted:#94a8ba;
}
:root[data-theme="dark"] body,
:root[data-theme="dark"] .page{background-color:var(--tw-night-0)}
:root[data-theme="dark"] .project-launcher{gap:10px}
:root[data-theme="dark"] .project-row{
  background:linear-gradient(135deg,var(--tw-night-2),#12202c 72%);
  border-color:var(--tw-night-border-strong);
  box-shadow:inset 3px 0 #5f9fd6,0 8px 22px rgba(0,0,0,.12);
  color:var(--tw-night-text);
}
:root[data-theme="dark"] .project-row h3{color:#edf4fb}
:root[data-theme="dark"] .project-row .project-meta{color:var(--tw-night-muted)}
:root[data-theme="dark"] .project-health{border-color:#30475a;color:#dce8f3}
:root[data-theme="dark"] .project-health strong{color:#e9f1f8}
:root[data-theme="dark"] .project-health small{color:#91a5b6}
:root[data-theme="dark"] .muted-project{
  opacity:1;
  background:linear-gradient(135deg,#111b25,#0f1922 75%);
  border-color:#263848;
  box-shadow:inset 3px 0 #526170;
}
:root[data-theme="dark"] .muted-project h3{color:#aebdca}
:root[data-theme="dark"] .muted-project .project-meta{color:#7f92a2}
:root[data-theme="dark"] .muted-project .project-health{border-color:#293a48}
:root[data-theme="dark"] .muted-project .project-health strong{color:#a7b7c5}
:root[data-theme="dark"] .project-row .btn:not(.ghost){background:#397bb7;border-color:#4b8dca;color:#fff}
:root[data-theme="dark"] .project-row .btn:not(.ghost):hover{background:#4488c5}
:root[data-theme="dark"] .project-row .btn.ghost:disabled{background:#131d26;color:#718393;border-color:#3a4b59;opacity:1}
:root[data-theme="dark"] .account-admin-grid .card{
  background:linear-gradient(180deg,#14212d,#111c26)!important;
  border-color:var(--tw-night-border)!important;
}
:root[data-theme="dark"] .account-admin-grid .card h3{color:#e9f1f8}
:root[data-theme="dark"] .account-admin-grid .card p{color:#9fb1c1}
:root[data-theme="dark"] .create-project{background:#121f2a!important;border-color:#30485c!important}
:root[data-theme="dark"] .calc-panel,
:root[data-theme="dark"] .calc-context-panel,
:root[data-theme="dark"] .calc-tool-context,
:root[data-theme="dark"] .calc-recent-panel{background:linear-gradient(180deg,#14222e,#111c26)!important}
:root[data-theme="dark"] .eng-panel,
:root[data-theme="dark"] .eng-card,
:root[data-theme="dark"] .eng-stat,
:root[data-theme="dark"] .eng-module-card{background:linear-gradient(180deg,#14222e,#111c26)!important}
:root[data-theme="dark"] .news-story{background:#121f2a;border-color:#293e50}
:root[data-theme="dark"] .news-story:hover{background:#172735}
:root[data-theme="dark"] .news-feature{background:#13212d;border-color:#30495d}
:root[data-theme="dark"] .news-feature-copy h2,:root[data-theme="dark"] .news-story h3{color:#e7eff6}
:root[data-theme="dark"] .news-feature-copy p,:root[data-theme="dark"] .news-story p{color:#9cafbf}

/* v0.4.9 workspace refinement */
.repeat-fields{display:grid;gap:6px}.repeat-row{display:flex;gap:6px}.repeat-row input{flex:1}.mini-plus{width:36px;min-width:36px;border:1px solid #9eb2c3;border-radius:8px;background:#eef5fa;color:#194f76;font-weight:900;font-size:18px}.mini-plus.remove{color:#8a3d35}
.calc-lab-shell{display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;grid-template-areas:'ribbon ribbon' 'work context'!important;gap:12px}.calc-tool-ribbon{grid-area:ribbon;background:#e8f0f6;border:1px solid #b9cbd8;border-radius:10px;padding:9px}.calc-ribbon-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}.calc-ribbon-top label{font-weight:850;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.calc-ribbon-top input{width:230px;margin-left:auto}.calc-tool-ribbon .calc-category-nav{display:flex;gap:5px;flex-wrap:wrap}.calc-browser-list.horizontal{display:flex;gap:7px;overflow-x:auto;padding:3px 0 2px}.calc-browser-list.horizontal button,.calc-browser-list.horizontal .calc-browser-item{min-width:185px;max-width:230px;flex:0 0 auto;border-radius:8px!important}.calc-workbench{grid-area:work;min-width:0}.calc-context-panel{grid-area:context}.inspector-section{overflow:hidden;border-radius:10px!important;margin-bottom:10px}.inspector-section summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;cursor:pointer;background:#e7eff5;border-bottom:1px solid #c6d4df}.inspector-section summary span{display:grid;gap:2px}.inspector-section summary small{color:#718394;font-weight:500}.inspector-form{padding:10px}.inspector-group{display:grid;gap:7px;padding:8px 0;border-bottom:1px solid #dce4ea}.inspector-group:last-child{border-bottom:0}.inspector-group h4{margin:0;color:#52728d;text-transform:uppercase;letter-spacing:.09em;font-size:9px}.inspector-group label{display:grid;gap:3px;color:#5b6f80;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.inspector-group input,.inspector-group textarea{padding:7px 8px;border:1px solid #bdcbd6;border-radius:7px;background:#fff;color:#21384b;font:inherit;text-transform:none;letter-spacing:0}.plan-prototype-note{padding:8px 11px;margin-bottom:9px;border-left:3px solid #d8a33b;background:#fff5dc;font-size:10px}.plan-layout.prototype{grid-template-columns:220px minmax(0,1fr) 310px}.plan-viewer{position:relative;min-height:650px}.plan-viewer iframe{width:100%;height:610px;border:0;display:none;background:#59636c}.plan-placeholder{height:610px;display:grid;place-content:center;text-align:center;gap:5px;color:#73818d;background:linear-gradient(#f8fafb,#eef3f6)}.sheet-list button small{display:block;font-size:9px;color:#7a8b99;margin-top:3px}.sheet-meta-form{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px}.sheet-meta-form label{display:grid;gap:3px;font-size:9px;font-weight:800;text-transform:uppercase;color:#63788a}.sheet-meta-form input,.sheet-meta-form select,.sheet-meta-form textarea{width:100%;padding:6px;border:1px solid #bdcbd6;border-radius:6px}.sheet-meta-form .span-2,.sheet-meta-form button{grid-column:1/-1}.plan-connect{padding:10px;border-top:1px solid #d3dde5;display:flex;gap:5px;flex-wrap:wrap}.plan-connect span{width:100%;font-size:9px;text-transform:uppercase;font-weight:850;color:#6b7c89}.plan-connect a,.plan-connect button{font-size:10px;padding:6px 8px;border:1px solid #aabac7;border-radius:6px;background:#f3f7fa;color:#285a7e}
html[data-theme="dark"] .eng-metric,html[data-theme="dark"] .eng-panel,html[data-theme="dark"] .overview-modules button,html[data-theme="dark"] .attention-list li,html[data-theme="dark"] .calc-empty,html[data-theme="dark"] .calc-result-panel,html[data-theme="dark"] .calc-input-panel,html[data-theme="dark"] .calc-formula-panel,html[data-theme="dark"] .calc-assumption-panel{background:#132433!important;color:#dce8f2!important;border-color:#314b60!important}html[data-theme="dark"] .panel-head,html[data-theme="dark"] .inspector-section summary,html[data-theme="dark"] .calc-tool-ribbon{background:#182c3d!important;border-color:#36536a!important}html[data-theme="dark"] .eng-metric strong,html[data-theme="dark"] .eng-pagehead h1,html[data-theme="dark"] .panel-head h2,html[data-theme="dark"] .calc-empty h1,html[data-theme="dark"] .overview-modules button,html[data-theme="dark"] .property-list dd{color:#e7f0f7!important}html[data-theme="dark"] .eng-metric label,html[data-theme="dark"] .eng-metric small,html[data-theme="dark"] .panel-head p,html[data-theme="dark"] .property-list dt{color:#91a9bb!important}html[data-theme="dark"] .inspector-group input,html[data-theme="dark"] .inspector-group textarea,html[data-theme="dark"] .sheet-meta-form input,html[data-theme="dark"] .sheet-meta-form select,html[data-theme="dark"] .sheet-meta-form textarea{background:#0d1b27;color:#e6eff6;border-color:#38556b}html[data-theme="dark"] .plan-prototype-note{background:#332a18;color:#f1d69a}html[data-theme="dark"] .plan-placeholder{background:#101f2c;color:#91a7b8}html[data-theme="dark"] .plan-connect a,html[data-theme="dark"] .plan-connect button,html[data-theme="dark"] .mini-plus{background:#193146;color:#d9e9f5;border-color:#45647a}
@media(max-width:1050px){.calc-lab-shell{grid-template-columns:1fr!important;grid-template-areas:'ribbon' 'work' 'context'!important}.calc-context-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.plan-layout.prototype{grid-template-columns:180px 1fr}.plan-metadata{grid-column:1/-1}}

/* v0.4.9 unified dark surfaces, navigation, embedded tools */
:root[data-theme="dark"]{--tw-text:#d9e5ef;--tw-text-strong:#eef5fb;--tw-muted:#9aafbf;--tw-dim:#73899a;--tw-surface:#122231;--tw-raised:#172b3b;--tw-interactive:#193247;--tw-border:#345168;--tw-selected:#24577f}
:root[data-theme="dark"] .attention-list li,:root[data-theme="dark"] .sheet-list,:root[data-theme="dark"] #sheet-index,:root[data-theme="dark"] #sheet-index button,:root[data-theme="dark"] .plan-toolbar,:root[data-theme="dark"] .plan-metadata,:root[data-theme="dark"] .sheet-meta-form,:root[data-theme="dark"] .plan-connect,:root[data-theme="dark"] .review-cats,:root[data-theme="dark"] .review-cats button,:root[data-theme="dark"] .review-filter button,:root[data-theme="dark"] .segmented button,:root[data-theme="dark"] .tool-shortcuts button,:root[data-theme="dark"] .calc-tile-grid button,:root[data-theme="dark"] .estimate-commandbar,:root[data-theme="dark"] .estimate-commandbar>div,:root[data-theme="dark"] .calc-stats span{background:var(--tw-surface)!important;color:var(--tw-text)!important;border-color:var(--tw-border)!important}
:root[data-theme="dark"] .sheet-list .active,:root[data-theme="dark"] .review-cats button.active,:root[data-theme="dark"] .review-filter button.active,:root[data-theme="dark"] .segmented button.active{background:var(--tw-selected)!important;color:var(--tw-text-strong)!important}
:root[data-theme="dark"] .calc-tile-grid button strong,:root[data-theme="dark"] .tool-shortcuts button,:root[data-theme="dark"] .review-cats button,:root[data-theme="dark"] .segmented button,:root[data-theme="dark"] .calc-list-item strong{color:var(--tw-text-strong)!important}
:root[data-theme="dark"] .calc-tile-grid button small,:root[data-theme="dark"] .calc-list-item small,:root[data-theme="dark"] .calc-empty p,:root[data-theme="dark"] .calc-titlebar p,:root[data-theme="dark"] .calc-reference-text{color:var(--tw-muted)!important}
:root[data-theme="dark"] .calc-titlebar,:root[data-theme="dark"] .calc-toolbar,:root[data-theme="dark"] .calc-empty,:root[data-theme="dark"] .calc-stats span{background:var(--tw-surface)!important;border-color:var(--tw-border)!important;color:var(--tw-text)!important}
:root[data-theme="dark"] .calc-toolbar button,:root[data-theme="dark"] .eng-action,:root[data-theme="dark"] .document-row button{background:var(--tw-interactive)!important;color:var(--tw-text-strong)!important;border-color:#456983!important}
:root[data-theme="dark"] .calc-lab-banner{background:#332a18!important;border-color:#7b632e!important;color:#ead6a6!important}
:root[data-theme="dark"] .calc-tool-ribbon{background:#142737!important}
.calc-ribbon-top{justify-content:flex-start}.calc-ribbon-top label{flex:0 0 auto}.calc-ribbon-top .calc-category-nav{order:2}.calc-ribbon-top input{order:3;margin-left:auto}.calc-category-nav{border-bottom:0!important}
.math-method{display:grid;gap:8px}.math-equation{padding:10px 12px;border:1px solid #c9d7e1;border-radius:8px;background:#f7fafc}.eq-label{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#6a8192;margin-bottom:6px}.eq-body{font-family:Cambria Math,STIX Two Math,Georgia,serif;font-size:17px;font-style:italic;letter-spacing:.01em;color:#20384a}.eq-body sup{font-size:.68em}:root[data-theme="dark"] .math-equation{background:#0e1c27;border-color:#36536a}:root[data-theme="dark"] .eq-body{color:#eef5fb}:root[data-theme="dark"] .eq-label{color:#8fa8bb}
.workbench-calc-host{border:1px solid #36536a;background:#0e1a24;margin-bottom:12px}.workbench-calc-host iframe{width:100%;height:980px;border:0;background:#0b141d}.embedded-calculator .site-header,.embedded-calculator .site-footer{display:none}.embedded-calculator .calc-lab{padding:8px;max-width:none}.embedded-calculator .calc-lab-banner{display:none}.embedded-calculator .calc-context-panel{display:block}
.pinned-calc-row{display:flex;gap:7px;flex-wrap:wrap;padding:10px}.pinned-calc-row button{padding:8px 10px;border:1px solid #9fb4c4;background:#f5f8fa;border-radius:6px;font-weight:800}.viz-upload{margin:12px;min-height:120px;border:2px dashed #66839a;border-radius:10px;display:grid;place-content:center;text-align:center;gap:5px;cursor:pointer}.viz-upload input{margin-top:8px}.road-concept.has-upload{background-size:cover;background-position:center}.viz-guide,.doc-permissions{width:min(680px,92vw);border:1px solid #5b7487;border-radius:10px;padding:24px;background:#f8fafb;color:#20384a}.viz-guide::backdrop,.doc-permissions::backdrop{background:rgba(0,0,0,.65)}.viz-guide-close{float:right;border:0;background:transparent;font-size:24px}.viz-guide ol{display:grid;gap:14px}.viz-guide li span{display:block;color:#6b7c89;margin-top:3px}.guide-shot{margin-top:18px;padding:35px;border:1px dashed #9aabba;text-align:center;color:#8294a2}.doc-permissions label{display:block;padding:8px 0;border-bottom:1px solid #dce4e9}.document-permission-note{padding:10px 12px;margin-bottom:10px;border-left:3px solid #d5a53f;background:#fff3d5}.document-row{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #d8e1e7}.document-row>div{flex:1}.document-row small{display:block;color:#718391;margin-top:3px}.document-empty{padding:24px;color:#718391}:root[data-theme="dark"] .viz-guide,:root[data-theme="dark"] .doc-permissions{background:#122231;color:#e7f0f7}:root[data-theme="dark"] .document-permission-note{background:#332a18;color:#ead6a6}:root[data-theme="dark"] .document-row{border-color:#30495d}:root[data-theme="dark"] .document-row small{color:#98adbd}
.account-settings-grid{display:grid;grid-template-columns:230px 1fr;gap:14px}.account-settings-nav{display:grid;align-content:start;border:1px solid #ccd7df}.account-settings-nav button{border:0;border-bottom:1px solid #dbe3e8;background:#fff;text-align:left;padding:12px;font-weight:800}.account-settings-nav button.active{background:#285d84;color:#fff}.account-settings-main{display:grid;gap:12px}.subscription-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #d8e1e7}:root[data-theme="dark"] .account-settings-nav{border-color:#30495d}:root[data-theme="dark"] .account-settings-nav button{background:#122231;color:#dce8f2;border-color:#30495d}:root[data-theme="dark"] .account-settings-nav button.active{background:#24577f;color:#fff}:root[data-theme="dark"] .subscription-row{border-color:#30495d}
@media(max-width:850px){.account-settings-grid{grid-template-columns:1fr}.calc-ribbon-top{flex-wrap:wrap}.calc-ribbon-top input{width:100%;margin-left:0}.workbench-calc-host iframe{height:1200px}}
\n.estimate-searchbar{display:flex;gap:7px;margin:10px 0}.estimate-searchbar input{flex:1;min-width:240px}.estimate-searchbar input,.estimate-searchbar select,.estimate-searchbar button{padding:8px 10px;border:1px solid #b8c7d2;border-radius:6px}.estimate-outlier-panel{padding:10px;margin-bottom:10px}.estimate-outlier-row{display:grid;grid-template-columns:110px 1fr 110px 110px auto;gap:8px;align-items:center;padding:8px;border-bottom:1px solid #d8e1e7}.estimate-row-warning{background:#fff8df!important}.estimate-row-extreme{background:#fff0ea!important}.estimate-desc{min-width:180px}.estimate-desc:focus{position:relative;min-width:360px;min-height:72px;white-space:normal}.estimate-approved{outline:2px solid #4f7f5c}:root[data-theme="dark"] .estimate-searchbar input,:root[data-theme="dark"] .estimate-searchbar select,:root[data-theme="dark"] .estimate-searchbar button{background:#122231;color:#e4edf5;border-color:#36536a}:root[data-theme="dark"] .estimate-row-warning{background:#302817!important}:root[data-theme="dark"] .estimate-row-extreme{background:#342019!important}\n
/* v0.4.9 queued refinements */
.account-section{display:none}.account-section.active{display:block}.preference-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;border-top:1px solid #d8e1e7}.preference-row small{display:block;color:#718391;margin-top:3px}.theme-preference{display:flex;gap:4px;padding:3px;border:1px solid #bdcad4;border-radius:8px;background:#eef3f6}.theme-preference button{border:0;background:transparent;border-radius:6px;padding:8px 12px;font-weight:800;color:#4d6577}.theme-preference button.active{background:#285d84;color:#fff}:root[data-theme="dark"] .preference-row{border-color:#30495d}:root[data-theme="dark"] .preference-row small{color:#98adbd}:root[data-theme="dark"] .theme-preference{background:#0e1c27;border-color:#36536a}:root[data-theme="dark"] .theme-preference button{color:#b8cad8}:root[data-theme="dark"] .theme-preference button.active{background:#24577f;color:#fff}

/* Needs Attention dark-mode fix */
:root[data-theme="dark"] .compact-alerts button{background:#132433!important;color:#dce8f2!important;border-bottom-color:#314b60!important}
:root[data-theme="dark"] .compact-alerts button:hover{background:#182c3d!important}
:root[data-theme="dark"] .compact-alerts strong{color:#e7f0f7!important}
:root[data-theme="dark"] .compact-alerts small{color:#91a9bb!important}
:root[data-theme="dark"] .overview-dashboard>.eng-panel>.panel-head{background:#182c3d!important;border-color:#36536a!important}

/* Calculator toolbar: no decorative divider line */
.calc-toolbar{border-top:0!important;background-image:none!important;box-shadow:none!important}
.calc-toolbar::before,.calc-toolbar::after,.calc-toolbar button::before,.calc-toolbar button::after{content:none!important;display:none!important}

/* Standardized calculation result hierarchy */
.calc-result-panel{border-top:3px solid #5d7b91}
.calc-result-panel.is-calculated{border-top-color:#4d8062}
.calc-result-panel.is-calculated .panel-head{border-bottom-color:#8fae99}
.dynamic-calc-result{display:grid;gap:6px;padding:10px}
.calc-result-row{background:#f8fafb;border:1px solid #d7e0e6;border-radius:7px;padding:9px 10px}
.calc-result-row.primary{display:grid;gap:3px;background:#eef6f0;border-color:#9cbca5;margin:0 0 3px;padding:13px 14px}
.calc-result-row.primary span{text-transform:uppercase;letter-spacing:.06em;font-size:9px}
.calc-result-row.primary strong{font-size:22px;line-height:1.1}
:root[data-theme="dark"] .calc-result-panel{background:#132433!important}
:root[data-theme="dark"] .calc-result-row{background:#142838!important;border-color:#304b60!important}
:root[data-theme="dark"] .calc-result-row span{color:#9db1c0!important}
:root[data-theme="dark"] .calc-result-row strong{color:#edf5fa!important}
:root[data-theme="dark"] .calc-result-row strong small{color:#9fb2c0!important}
:root[data-theme="dark"] .calc-result-row.primary{background:#173126!important;border-color:#47765a!important;box-shadow:inset 3px 0 #5d936f}
:root[data-theme="dark"] .calc-result-row.primary span{color:#a9c8b3!important}
:root[data-theme="dark"] .calc-result-row.primary strong{color:#f1f8f3!important}

.curve-mode-picker{grid-column:1/-1;display:flex;gap:18px;padding:8px 10px;border:1px solid #b7c3cc;border-radius:8px;background:#f3f6f8}.curve-mode-picker label{font-weight:850;font-size:10px}.curve-mode-picker input{margin-right:6px}:root[data-theme="dark"] .curve-mode-picker{background:#0e1c27;border-color:#36536a;color:#e4edf5}

/* Plan intelligence */
.plan-intel-summary{grid-column:1/-1;border-top:3px solid #4c7591!important}.plan-intel-compact{display:grid;grid-template-columns:1.2fr 1.4fr 1fr 1fr;gap:10px;padding:10px 12px;font-size:10px}.plan-intel-compact strong,.plan-intel-compact span{min-width:0}.plan-intel-compact span{color:#627686}.plan-intelligence-toolbar{display:flex;align-items:center;gap:10px;margin:8px 0}.plan-extraction-review{margin-bottom:10px}.plan-title-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px}.plan-title-fields label span,.criteria-check label{display:block;font-size:9px;font-weight:850;color:#5f7180;margin-bottom:3px}.plan-title-fields input,.criteria-check input,.criteria-check select{width:100%;padding:8px;border:1px solid #b7c5cf;background:#fff}.plan-title-fields small{display:block;font-size:7px;color:#8595a1;margin-top:2px}.plan-extraction-split{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border-top:1px solid #d8e1e7}.plan-extraction-split h3{margin:0 0 6px}.extraction-list{max-height:230px;overflow:auto;border:1px solid #d7e0e6}.extraction-list>div{display:grid;grid-template-columns:110px 1fr auto;gap:8px;padding:7px 8px;border-bottom:1px solid #e2e8ec;font-size:9px}.extraction-list em{font-style:normal;color:#8a672a;font-weight:800}.plan-intel-drawer{position:fixed;right:0;top:50px;bottom:0;width:min(520px,94vw);z-index:40;background:#f7fafc;border-left:1px solid #8ea4b4;box-shadow:-14px 0 30px rgba(25,44,58,.18);overflow:auto}.plan-intel-drawer[hidden]{display:none}.plan-intel-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d8e1e7;margin:12px}.plan-intel-detail-grid>div{background:#fff;padding:10px}.plan-intel-detail-grid span,.plan-intel-detail-grid strong{display:block}.plan-intel-detail-grid span{text-transform:uppercase;font-size:8px;color:#748796}.plan-intel-drawer>h3,.plan-intel-drawer>p,#plan-intel-detail-body>h3,#plan-intel-detail-body>p{margin-left:12px;margin-right:12px}:root[data-theme="dark"] .plan-intel-summary,:root[data-theme="dark"] .plan-extraction-review{background:#132433!important}:root[data-theme="dark"] .plan-intel-compact span{color:#98adbd}:root[data-theme="dark"] .plan-title-fields input,:root[data-theme="dark"] .criteria-check input,:root[data-theme="dark"] .criteria-check select{background:#0e1c27;color:#e7f0f7;border-color:#36536a}:root[data-theme="dark"] .plan-title-fields label span,:root[data-theme="dark"] .criteria-check label{color:#9fb2c0}:root[data-theme="dark"] .plan-extraction-split{border-color:#30495d}:root[data-theme="dark"] .extraction-list{border-color:#30495d}:root[data-theme="dark"] .extraction-list>div{border-color:#30495d}:root[data-theme="dark"] .plan-intel-drawer{background:#101f2c;color:#e7f0f7;border-color:#36536a}:root[data-theme="dark"] .plan-intel-detail-grid{background:#30495d}:root[data-theme="dark"] .plan-intel-detail-grid>div{background:#132433}:root[data-theme="dark"] .plan-intel-detail-grid span{color:#98adbd}

/* Criteria check */
.criteria-check{padding-bottom:12px}.criteria-picker{padding:10px;display:block}.criteria-picker select{margin-top:4px}.criteria-check #criteria-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 10px 10px}.criteria-check #criteria-form button{align-self:end}.criteria-result{margin:0 10px;padding:12px;border:1px solid #c9d5de;border-radius:8px;background:#f7fafc}.criteria-result h3{margin:8px 0 3px}.criteria-result p{margin:0 0 6px}:root[data-theme="dark"] .criteria-result{background:#0f202d;border-color:#36536a}

/* Documents intake */
.plan-doc-callout{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 12px;margin-bottom:9px;border-left:3px solid #547d99;background:#edf4f8;font-size:10px}.document-intake{display:grid;grid-template-columns:minmax(250px,.8fr) 1.4fr auto;gap:14px;align-items:center;padding:12px;margin-bottom:9px}.document-type-picker{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:6px}.document-type-picker button{border:1px solid #bdcbd5;background:#f8fafb;text-align:left;padding:9px;border-radius:7px}.document-type-picker button strong,.document-type-picker button small{display:block}.document-type-picker button small{margin-top:3px;color:#718391}.document-type-picker button.active{background:#e5f0f7;border-color:#4f7b9a}.doc-upload-button.disabled{opacity:.55;cursor:not-allowed}:root[data-theme="dark"] .plan-doc-callout{background:#162b3a;color:#dce8f2;border-color:#4d7896}:root[data-theme="dark"] .document-type-picker button{background:#122331;color:#dce8f2;border-color:#36536a}:root[data-theme="dark"] .document-type-picker button small{color:#98adbd}:root[data-theme="dark"] .document-type-picker button.active{background:#20435d;border-color:#5c89a8}

/* Estimate review improvements */
.estimate-outlier-row span small{display:block;color:#768894;margin-top:2px}.estimate-outlier-row.approved{box-shadow:inset 3px 0 #4f7f5c}.price-flag{display:block;font-size:7px;font-weight:900;color:#8a6427;margin-top:2px}.estimate-desc{resize:vertical;min-height:31px;max-height:120px}.estimate-desc:focus{min-width:360px;min-height:72px;position:relative;z-index:2}:root[data-theme="dark"] .price-flag{color:#e3c475}:root[data-theme="dark"] .estimate-outlier-row{border-color:#30495d}

@media(max-width:900px){.plan-intel-compact{grid-template-columns:1fr 1fr}.plan-title-fields{grid-template-columns:1fr 1fr}.document-intake{grid-template-columns:1fr}.plan-doc-callout{grid-template-columns:1fr}.criteria-check #criteria-form{grid-template-columns:1fr}}

/* Next release: lock Workbench navigation rail to viewport on desktop */
@media(min-width:901px){
  .eng-sidebar{position:sticky;top:0;height:100vh;align-self:start;overflow-y:auto;overscroll-behavior:contain}
}
/* Plan Intelligence controlled fields */
.plan-title-fields select{width:100%;padding:8px;border:1px solid #b7c5cf;background:#fff;color:#203346}
:root[data-theme="dark"] .plan-title-fields select{background:#0e1c27;color:#e7f0f7;border-color:#36536a}

/* v0.5.2 account navigation, subscription beta and QA/QC review center */
.account-settings-main{min-height:360px}.account-section[hidden]{display:none!important}.developer-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #d8e1e7;border-bottom:1px solid #d8e1e7}.subscription-mode-toggle{display:flex;gap:12px;align-items:flex-start;cursor:pointer}.subscription-mode-toggle input{width:20px;height:20px;margin-top:2px}.subscription-mode-toggle span{display:grid;gap:4px}.subscription-mode-toggle small,.small-note{color:#718391}.subscription-mode .mini-pro{background:#dcefe2;color:#326447;border-color:#72a383}.subscription-mode .mini-pro.unlocked::after{content:' ✓';}.pro-unlocked{outline:1px solid #6f9f7c!important}
:root[data-theme="dark"] .developer-toggle-row{border-color:#30495d}:root[data-theme="dark"] .subscription-mode-toggle small,:root[data-theme="dark"] .small-note{color:#98adbd}:root[data-theme="dark"] .subscription-mode .mini-pro{background:#1d3b2a;color:#c4ebcf;border-color:#4e7d5d}
.qa-engineering-list{display:grid;gap:7px}.qa-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border:1px solid #d5e0e7;background:#fff}.qa-review-row.resolved{box-shadow:inset 3px 0 #5f936b}.qa-review-main{display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:start}.qa-review-main>strong{font-size:11px}.qa-review-main>small{grid-column:2;color:#718391}.qa-mode{font-size:7px;font-weight:900;letter-spacing:.08em;padding:4px 6px;border:1px solid #aebdca;border-radius:4px;white-space:nowrap}.qa-mode.auto{color:#356c48;background:#edf7f0;border-color:#8ab399}.qa-mode.assisted{color:#7b5e20;background:#fff7df;border-color:#d9ba68}.qa-mode.manual{color:#526a7c;background:#eef3f6}.qa-review-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.qa-review-actions button{border:1px solid #b5c4cf;background:#f6f8fa;color:#3b5669;padding:6px 8px;border-radius:5px;font-size:8px;font-weight:800}.qa-review-actions button.active{background:#285d84;color:#fff;border-color:#285d84}.qa-evidence{grid-column:2;margin-top:4px;padding:7px 8px;border-left:3px solid #c99c36;background:#fff7df;display:grid;gap:2px;font-size:8px}.qa-evidence.pass{border-color:#5d9369;background:#edf7f0}.qa-evidence span{color:#526878}.review-cats button{display:flex;justify-content:space-between}
:root[data-theme="dark"] .qa-review-row{background:#122231;border-color:#30495d;color:#e4edf5}:root[data-theme="dark"] .qa-review-main>small{color:#98adbd}:root[data-theme="dark"] .qa-mode.manual{background:#172b3b;color:#b8cad8;border-color:#3c596e}:root[data-theme="dark"] .qa-mode.assisted{background:#332a18;color:#ead18d;border-color:#725e2f}:root[data-theme="dark"] .qa-mode.auto{background:#183125;color:#bce4c8;border-color:#426e50}:root[data-theme="dark"] .qa-review-actions button{background:#172b3b;color:#dce8f2;border-color:#36536a}:root[data-theme="dark"] .qa-review-actions button.active{background:#24577f;border-color:#5c89a8}:root[data-theme="dark"] .qa-evidence{background:#332a18;color:#e7f0f7}:root[data-theme="dark"] .qa-evidence.pass{background:#183125}:root[data-theme="dark"] .qa-evidence span{color:#a8bccb}
@media(max-width:900px){.qa-review-row{grid-template-columns:1fr}.qa-review-actions{justify-content:flex-start}.qa-review-main{grid-template-columns:auto 1fr}}

/* v0.5.2 navigation, calculator tier filters, controlled PDF viewer, quantity review */
.workbench-nav-launch{margin-left:14px!important;padding:8px 13px!important;border:1px solid #315f82!important;background:#183d59!important;color:#f2f7fb!important;font-weight:900!important;letter-spacing:.04em;border-radius:5px}
.workbench-nav-launch:hover{background:#245b82!important;color:#fff!important}
.calc-tier-nav{display:flex;gap:4px;align-items:center}.calc-tier-nav button{border:1px solid #9db0be;background:#f4f7f9;color:#40576a;padding:7px 10px;border-radius:5px;font-weight:850}.calc-tier-nav button.active{background:#285d84;color:#fff;border-color:#285d84}.calc-list-item.locked{opacity:.78}.calc-list-item.locked em{color:#a46f16}
.plan-canvas-wrap{height:610px;overflow:auto;background:#4d5861;padding:12px;text-align:center}.plan-canvas-wrap canvas{display:inline-block;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.35);max-width:none}.plan-toolbar-spacer{flex:1}.plan-toolbar{display:flex;align-items:center;gap:6px}.plan-toolbar button{min-width:32px}.quantity-candidate-row{grid-template-columns:minmax(120px,.8fr) minmax(240px,2fr) minmax(130px,.8fr) auto!important;align-items:center}.candidate-accept{border:1px solid #4d7a5b;background:#edf7f0;color:#356c48;padding:6px 9px;border-radius:5px;font-weight:900}.qa-evidence.incorrect{border-color:#a64b46;background:#fae9e8}.qa-evidence.incorrect strong{color:#8d302c}
:root[data-theme="dark"] .calc-tool-ribbon{background:#101c27;border-color:#30485c}:root[data-theme="dark"] .calc-ribbon-top{background:#101c27}:root[data-theme="dark"] .calc-tier-nav button{background:#142432;color:#d8e4ed;border-color:#36536a}:root[data-theme="dark"] .calc-tier-nav button.active{background:#285d84;color:#fff;border-color:#5b89aa}:root[data-theme="dark"] .candidate-accept{background:#183125;color:#bce4c8;border-color:#426e50}:root[data-theme="dark"] .qa-evidence.incorrect{background:#3a1f20;border-color:#9c5552}:root[data-theme="dark"] .qa-evidence.incorrect strong{color:#ffb6b2}
@media(max-width:900px){.workbench-nav-launch{margin-left:0!important}.calc-tier-nav{order:3;width:100%}.quantity-candidate-row{grid-template-columns:1fr!important}}

/* v0.5.2 Plan Intelligence v2 — spatial table reconstruction */
.quantity-candidate-row span{min-width:0}.quantity-candidate-row span small{display:block;margin-top:4px;color:#738796;font-size:8px;letter-spacing:.02em}.quantity-candidate-row.needs-review{box-shadow:inset 3px 0 #c59431}.candidate-accept.review{background:#fff6dc;color:#795b19;border-color:#c7a04d}:root[data-theme="dark"] .quantity-candidate-row span small{color:#96aabd}:root[data-theme="dark"] .candidate-accept.review{background:#342b17;color:#efd28c;border-color:#77602d}

/* v0.5.3 quantity/site workflow */
.quantity-view-tabs{margin-bottom:14px}.quantity-site-card{margin-bottom:14px}.quantity-site-card table{min-width:1050px}.plan-quantity-panel{margin-top:16px}.project-sites-field{border-top:1px solid var(--line);padding-top:18px}.site-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:12px}.site-editor-head small{display:block;color:var(--muted);margin-top:4px}.project-sites-editor{display:grid;gap:8px}.site-editor-row{display:grid;grid-template-columns:1.15fr .85fr 1fr 1fr 1fr 1fr auto;gap:8px;align-items:center}.site-editor-row input,.site-editor-row select{min-width:0}.site-remove{min-height:42px;border:1px solid var(--line);background:var(--panel);color:var(--text);padding:0 12px}.site-empty{padding:12px;border:1px dashed var(--line)}
@media(max-width:1100px){.site-editor-row{grid-template-columns:1fr 1fr 1fr}.site-editor-row .site-remove{grid-column:auto}.site-editor-head{align-items:flex-start;flex-direction:column}}

/* v0.5.5 — estimate review legibility in dark mode */
html[data-theme="dark"] .estimate-check-results{
  background:#2b2416!important;
  border-color:#8b6a2e!important;
  color:#f2e3bb!important;
}
html[data-theme="dark"] .estimate-check-results strong{color:#fff0c5!important}
html[data-theme="dark"] .estimate-check-results li{color:#eadbb1!important}
html[data-theme="dark"] .estimate-check-results small{color:#c7b78d!important}

/* v0.5.5 — quantity site assignment + automatic site audit */
.quantity-site-control{display:grid;gap:4px;min-width:180px}.quantity-site-control select{width:100%;min-height:34px;background:var(--panel);color:var(--text);border:1px solid var(--line);padding:5px 28px 5px 8px}.quantity-site-control .site-audit{font-size:8px;letter-spacing:.04em;color:var(--muted);white-space:normal}.quantity-site-control .site-audit.auto{color:#5e8e70}.quantity-site-control .site-audit.manual{color:#b48935}:root[data-theme="dark"] .quantity-site-control .site-audit.auto{color:#8fc9a2}:root[data-theme="dark"] .quantity-site-control .site-audit.manual{color:#e0bf70}
/* v0.5.6 site validation + estimate/quantity integration */
.site-editor-row{grid-template-columns:1.15fr .8fr 1fr 1fr 1fr 1fr auto auto}
.site-editor-row.site-invalid{padding:8px;border:1px solid #d65b5b;background:rgba(170,45,45,.14);box-shadow:inset 4px 0 0 #d65b5b}
.site-editor-row.site-invalid input,.site-editor-row.site-invalid select{border-color:#d65b5b}
.site-override{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:.78rem;color:var(--muted)}.site-override input{width:auto;min-height:auto}
.site-validation-box{margin-top:10px;border:1px solid #d65b5b;background:rgba(170,45,45,.14);padding:10px 12px;color:var(--text)}.site-validation-box div+div{margin-top:8px}.site-validation-box strong,.site-validation-box small{display:block}.site-validation-box small{margin-top:3px;color:#efb0a8}
.estimate-price-cell{display:grid;gap:5px;min-width:190px}.bid-suggest{border:1px solid #a77b25;background:rgba(167,123,37,.14);color:#e8c66e;padding:6px 8px;text-align:left;font-size:.72rem;font-weight:700}.bid-suggest:hover{background:rgba(167,123,37,.24)}
.estimate-searchbar #estimate-site-filter{min-width:160px}
@media(max-width:1100px){.site-editor-row{grid-template-columns:1fr 1fr 1fr}.site-override{min-height:42px}}
/* v0.5.7 tool library + header selectors */
.calc-lab-banner.compact{padding:7px 11px;margin-bottom:10px}.tool-library{padding:14px!important}.tool-library-head{display:flex;justify-content:space-between;gap:22px;align-items:end;padding:4px 4px 12px}.tool-library-head h1{margin:2px 0;font-size:26px}.tool-library-head p{margin:0;color:#64798a;font-size:10px}.tool-library-search{width:min(520px,45%)}.tool-library-search input{width:100%;padding:11px 12px;border:1px solid #9eb3c3;border-radius:6px}.tool-filter-row{display:flex;align-items:center;gap:10px;border-top:1px solid #c9d8e3;border-bottom:1px solid #c9d8e3;padding:8px 3px;margin-bottom:10px}.tool-filter-row .calc-category-nav{border:0;padding:0;flex:1}.tool-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible!important;max-height:none!important}.tool-grid .calc-list-item{min-width:0!important;max-width:none!important;min-height:94px;border:1px solid #c7d5df!important;border-radius:7px!important;padding:12px!important;align-items:flex-start;box-shadow:none}.tool-grid .calc-list-item strong{font-size:12px}.tool-grid .calc-list-item small{font-size:9px}.tool-grid .calc-list-item.active{border-left:4px solid #efb847!important;padding-left:9px!important}.tool-grid .calc-list-item.locked{opacity:.72}.eng-header-selector{display:flex;align-items:center;gap:6px;padding:0 9px;border-left:1px solid #2b4357}.eng-header-selector label{font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;color:#87a5bb}.eng-header-selector select{max-width:280px;background:#0e2232;color:#eaf3f8;border:1px solid #36546b;border-radius:4px;padding:6px 25px 6px 8px;font-size:10px;font-weight:800}.eng-header-selector.stage select{max-width:210px}.project-plan-usage{font-size:10px;font-weight:850;color:#607587;border:1px solid #c7d4dd;background:#f4f7f9;padding:8px 10px;border-radius:5px}.news-page-header h1,.news-hero h1{color:#eaf3f8!important;text-shadow:0 1px 0 rgba(0,0,0,.2)}
:root[data-theme="dark"] .tool-library{background:#101d28!important;border-color:#345069!important}:root[data-theme="dark"] .tool-library-head p{color:#91a9bb}:root[data-theme="dark"] .tool-filter-row{border-color:#2b4356}:root[data-theme="dark"] .tool-grid .calc-list-item{background:#122230!important;border-color:#2d465a!important}:root[data-theme="dark"] .tool-grid .calc-list-item:hover{background:#183149!important}:root[data-theme="dark"] .tool-grid .calc-list-item strong{color:#edf5fa!important}:root[data-theme="dark"] .tool-grid .calc-list-item small{color:#9bb2c3!important}:root[data-theme="dark"] .project-plan-usage{background:#122230;border-color:#30495c;color:#a9bfce}
@media(max-width:1100px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-library-head{align-items:stretch;flex-direction:column}.tool-library-search{width:100%}}@media(max-width:760px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-filter-row{align-items:flex-start;flex-direction:column}.eng-header-selector{max-width:48%}.eng-header-selector select{max-width:100%}}


/* v0.6.0 project deletion */
.project-row-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.btn.danger,.eng-action.danger{border-color:#b42318;color:#8f1d17;background:#fff3f2}
.btn.danger:hover,.eng-action.danger:hover{background:#fee4e2;border-color:#912018;color:#761a15}
:root[data-theme="dark"] .btn.danger,:root[data-theme="dark"] .eng-action.danger{border-color:#a94b4b;color:#ffd7d7;background:rgba(122,31,31,.18)}
:root[data-theme="dark"] .btn.danger:hover,:root[data-theme="dark"] .eng-action.danger:hover{background:rgba(151,43,43,.35);border-color:#d26767;color:#ffe3e3}
.project-danger-zone{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:rgba(183,70,70,.55)}
.project-danger-zone h2{margin:.2rem 0 .35rem}.project-danger-zone p{margin:0;color:var(--muted)}
@media(max-width:760px){.project-danger-zone{align-items:flex-start;flex-direction:column}.project-row-actions{justify-content:flex-start}}

/* v0.6.0 — project selectors, segmented tool filters, current project control, typical section */
.workbench-header-select{display:flex;align-items:center;gap:7px;padding:0 10px;border-left:1px solid rgba(190,218,236,.22)}
.workbench-header-select span{font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;color:#8ba9bd}
.workbench-header-select select{appearance:none;background:#0e2232;color:#edf5fa;border:1px solid #36546b;border-radius:5px;padding:7px 30px 7px 9px;font-size:10px;font-weight:850;line-height:1;max-width:310px;background-image:linear-gradient(45deg,transparent 50%,#8fb1c8 50%),linear-gradient(135deg,#8fb1c8 50%,transparent 50%);background-position:calc(100% - 13px) 50%,calc(100% - 9px) 50%;background-size:4px 4px,4px 4px;background-repeat:no-repeat;cursor:pointer}
.workbench-header-select.milestone-select select{max-width:230px}.workbench-header-select select:hover,.workbench-header-select select:focus{border-color:#6c9cbc;background-color:#142e42;outline:none;box-shadow:0 0 0 2px rgba(86,142,181,.16)}

.current-project-button{min-width:96px;border:1px solid #91a8b9;background:transparent;color:#43627a;border-radius:7px;padding:9px 12px;font-weight:900;font-size:11px;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.current-project-button:hover{background:#eaf2f7;border-color:#5881a0}.current-project-button.selected{background:#2f78b2;border-color:#4f94c8;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.current-project-row{border-color:#6da0c6!important;box-shadow:inset 3px 0 #5ba6df}.project-health{display:grid;place-items:center;gap:5px;padding:8px 10px}
:root[data-theme="dark"] .current-project-button{background:#101d28;color:#bfd1df;border-color:#38566d}:root[data-theme="dark"] .current-project-button:hover{background:#183149}:root[data-theme="dark"] .current-project-button.selected{background:#347fb8;border-color:#5c9fd0;color:#fff}:root[data-theme="dark"] .current-project-row{border-color:#47799c!important}

/* Apple-like segmented selection adapted to engineering UI */
.tool-filter-row{gap:12px!important;padding:8px 0!important;border:0!important;background:transparent!important}
.tool-filter-row .calc-category-nav,.calc-tier-nav{position:relative;display:grid!important;align-items:stretch;gap:3px!important;padding:4px!important;border:1px solid #b7c8d4!important;border-radius:11px!important;background:#dbe5ec!important;box-shadow:inset 0 1px 2px rgba(18,49,70,.08)}
.tool-filter-row .calc-category-nav{grid-template-columns:repeat(6,minmax(88px,1fr));flex:1!important;flex-wrap:nowrap!important}
.calc-tier-nav{grid-template-columns:repeat(3,minmax(68px,1fr));flex:0 0 auto}
.tool-filter-row .calc-category-nav button,.calc-tier-nav button{min-height:42px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#435b6e!important;padding:8px 12px!important;font-size:11px!important;font-weight:850!important;letter-spacing:.01em;transition:background .2s cubic-bezier(.2,.8,.2,1),color .2s ease,box-shadow .2s ease,transform .12s ease;white-space:nowrap}
.tool-filter-row .calc-category-nav button span{margin-left:5px;color:#758a99;font-size:9px;font-weight:800}
.tool-filter-row .calc-category-nav button:hover,.calc-tier-nav button:hover{background:rgba(255,255,255,.48)!important}
.tool-filter-row .calc-category-nav button:active,.calc-tier-nav button:active{transform:scale(.985)}
.tool-filter-row .calc-category-nav button.active,.calc-tier-nav button.active{background:#fff!important;color:#173a55!important;box-shadow:0 1px 5px rgba(13,45,68,.18),inset 0 0 0 1px rgba(37,87,122,.08)!important}
.tool-filter-row .calc-category-nav button.active span{color:#47738f!important}
:root[data-theme="dark"] .tool-filter-row .calc-category-nav,:root[data-theme="dark"] .calc-tier-nav{background:#0c1720!important;border-color:#2f4a5e!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.35)}
:root[data-theme="dark"] .tool-filter-row .calc-category-nav button,:root[data-theme="dark"] .calc-tier-nav button{color:#9eb4c4!important}
:root[data-theme="dark"] .tool-filter-row .calc-category-nav button:hover,:root[data-theme="dark"] .calc-tier-nav button:hover{background:#162b3a!important}
:root[data-theme="dark"] .tool-filter-row .calc-category-nav button.active,:root[data-theme="dark"] .calc-tier-nav button.active{background:#275d84!important;color:#fff!important;box-shadow:0 1px 6px rgba(0,0,0,.35),inset 0 0 0 1px #4a7fa4!important}
:root[data-theme="dark"] .tool-filter-row .calc-category-nav button.active span{color:#d4e5f1!important}

.subscription-testing-block{margin-top:16px;padding-top:14px;border-top:1px solid var(--line,#d6e0e7)}

.typical-output{background:#f5f5f2;border:1px solid #b9c2c7;border-radius:5px;overflow:auto}.typical-output-tabs{display:flex;justify-content:space-between;gap:10px;padding:7px 10px;background:#e8ecec;border-bottom:1px solid #c5cdcf;color:#33434b;font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}.typical-plan-svg{display:block;width:100%;min-width:720px;height:auto;background:white}.typical-plan-svg .sheet-title{font:700 17px Arial,sans-serif;letter-spacing:.05em;fill:#111}.typical-plan-svg .anno,.typical-plan-svg .slope,.typical-plan-svg .legend,.typical-plan-svg .legend-title,.typical-plan-svg .depth-label{font-family:Arial,sans-serif;fill:#111}.typical-plan-svg .anno{font-size:9px}.typical-plan-svg .slope{font-size:10px;font-weight:700}.typical-plan-svg .legend{font-size:11px}.typical-plan-svg .legend-title{font-size:11px;font-weight:800;text-decoration:underline}.typical-plan-svg .depth-label{font-size:9px;font-weight:800}.typical-plan-svg .grading{fill:none;stroke:#111;stroke-width:2}.typical-plan-svg .wearing{fill:none;stroke:#111;stroke-width:3}.typical-plan-svg .binder{fill:none;stroke:#333;stroke-width:2}.typical-plan-svg .base{fill:none;stroke:#555;stroke-width:2;stroke-dasharray:5 2}.typical-plan-svg .subgrade{fill:none;stroke:#777;stroke-width:2;stroke-dasharray:2 2}.typical-plan-svg .centerline{stroke:#111;stroke-width:1;stroke-dasharray:8 4}.typical-plan-svg .dim,.typical-plan-svg .tick,.typical-plan-svg .depth-dim{stroke:#111;stroke-width:1}

@media(max-width:900px){.workbench-header-select{max-width:47%;padding:0 5px}.workbench-header-select span{display:none}.workbench-header-select select{max-width:100%;width:100%}.tool-filter-row .calc-category-nav{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.tool-filter-row{flex-direction:column!important;align-items:stretch!important}.calc-tier-nav{width:100%;grid-template-columns:repeat(3,1fr)}}
.analyzer-template-panel{margin:0 0 10px}.analyzer-template-regions{padding:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.analyzer-template-regions[hidden]{display:none}.template-region{border:1px solid #c4d1da;border-left:4px solid #557f9c;border-radius:4px;padding:8px;background:#f7fafb}.template-region strong,.template-region small,.template-region span{display:block}.template-region strong{font-size:10px}.template-region span{margin-top:4px;font:800 8px ui-monospace,SFMono-Regular,Menlo,monospace;color:#547186}.template-region small{margin-top:3px;font-size:8px;color:#71818e}.template-region[data-mode="FIXED"]{border-left-color:#4b8564}.template-region[data-mode="SEARCH"]{border-left-color:#bd8734}:root[data-theme="dark"] .template-region{background:#10202d;border-color:#314c60}:root[data-theme="dark"] .template-region strong{color:#e7f1f8}:root[data-theme="dark"] .template-region small{color:#91a9bb}@media(max-width:850px){.analyzer-template-regions{grid-template-columns:1fr 1fr}}
.calc-active.typical-active .calc-main-grid,.typical-active .calc-main-grid{grid-template-columns:minmax(300px,.72fr) minmax(0,1.8fr)}.typical-active .calc-result-panel{min-width:0}.typical-active .dynamic-calc-result{overflow:auto}@media(max-width:1100px){.calc-active.typical-active .calc-main-grid,.typical-active .calc-main-grid{grid-template-columns:1fr}}

/* v0.6.2 — project creation plan intake + intelligence scope */
.project-plan-intake{margin-top:18px;padding:16px;border:1px solid #bdccd7;background:#f7fafc;border-radius:10px}
.project-plan-intake h3{margin:0 0 8px;color:#163d59}.project-plan-intake .section-title{margin-bottom:10px}
.plan-drop-field{display:flex;flex-direction:column;gap:7px;padding:13px;border:1px dashed #8fa9bb;background:#fff;border-radius:8px;font-weight:800;color:#24475f}
.plan-drop-field input[type=file]{font-weight:500;color:#405d72}.plan-drop-field small,.scope-note{font-weight:400;color:#6e8291}
.scope-master{display:flex;align-items:center;gap:8px;margin-top:13px;font-weight:800;color:#234963}.scope-master.secondary{font-weight:700;font-size:12px;color:#587080}
.intel-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin-top:10px;padding:10px;border:1px solid #d0dce4;background:#fff;border-radius:7px}
.intel-scope-grid label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#36556a}.intel-scope-grid.disabled{opacity:.48}
.project-row-actions{flex-wrap:wrap}
@media(max-width:700px){.intel-scope-grid{grid-template-columns:1fr}}
:root[data-theme="dark"] .project-plan-intake{background:#101a24;border-color:#314353}:root[data-theme="dark"] .project-plan-intake h3{color:#dce9f5}
:root[data-theme="dark"] .plan-drop-field,:root[data-theme="dark"] .intel-scope-grid{background:#0d1720;border-color:#34495b;color:#dfeaf4}
:root[data-theme="dark"] .intel-scope-grid label,:root[data-theme="dark"] .scope-master{color:#c9d8e6}:root[data-theme="dark"] .plan-drop-field small,:root[data-theme="dark"] .scope-note{color:#91a4b6}

/* v0.6.3 — title intelligence diagnostics + sheet-size setup */
.plan-analysis-setup{margin-bottom:12px}.plan-sheet-size-picker{border:0;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.plan-sheet-size-picker legend{font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.plan-sheet-size-picker label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid var(--line,#cbd5e1);border-radius:8px;padding:12px 14px;cursor:pointer;background:var(--panel,#fff)}.plan-sheet-size-picker label:has(input:checked){border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.plan-sheet-size-picker strong{font-size:.92rem}.plan-sheet-size-picker span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.analyzer-diagnostics-panel{margin-top:12px}.diagnostic-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.diagnostic-summary span{border:1px solid var(--line,#d8dee8);border-radius:6px;padding:9px 10px;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.diagnostic-summary strong{display:block;font-size:1rem;margin-bottom:2px}.diagnostic-zones{display:grid;gap:6px}.diagnostic-zones details{border:1px solid var(--line,#d8dee8);border-radius:6px;padding:8px 10px}.diagnostic-zones summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer}.diagnostic-zones code{display:block;white-space:pre-wrap;word-break:break-word;margin-top:8px;padding:8px;background:rgba(100,116,139,.09);border-radius:4px;font-size:.72rem;max-height:150px;overflow:auto}@media(max-width:760px){.plan-sheet-size-picker,.diagnostic-summary{grid-template-columns:1fr}}

/* v0.6.4 engineering units + derived traffic values */
.unit-input,.derived-field{display:flex;align-items:stretch;min-width:0}
.unit-input input{min-width:0;flex:1;border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.unit-input>span,.derived-field>span{display:flex;align-items:center;padding:0 10px;border:1px solid var(--line,#31485a);border-left:0;background:rgba(85,117,139,.12);font-size:.78rem;font-weight:700;white-space:nowrap;color:var(--muted,#90a9ba);border-radius:0 4px 4px 0}
.derived-field output{display:flex;align-items:center;min-height:38px;flex:1;padding:8px 10px;border:1px solid var(--line,#31485a);background:rgba(58,83,101,.12);font-weight:800;border-radius:4px 0 0 4px}
.field>small{display:block;margin-top:5px;color:var(--muted,#90a9ba);font-size:.72rem}
.diagnostic-error{margin-bottom:10px;border-left-color:#d76b5e}

/* v0.6.5 Professional Credentials + PDH */
.credential-heading,.pdh-log-header,.pdh-year-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.professional-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:14px;margin-top:16px}.credential-card{border:1px solid #ccd7df;background:#f9fbfc;padding:16px}.credential-form-grid{margin-top:12px}.credential-summary{margin-top:14px;padding:12px;border-left:3px solid #7895aa;background:#eef3f6}.credential-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.source-note{font-size:12px;color:#718391;margin-top:10px}.link-button{border:0;background:transparent;color:#285d84;font-weight:800;padding:0 0 0 5px;cursor:pointer}.pdh-summary-card{align-self:start}.pdh-year-row{align-items:center}.pdh-year-row h4{margin:0}.pdh-year-row select{width:auto;min-width:95px}.pdh-progress-shell{height:12px;background:#dbe4ea;border:1px solid #c3d0d9;margin:18px 0 14px;overflow:hidden}.pdh-progress-bar{height:100%;width:0;background:#477b5d;transition:width .2s ease}.pdh-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pdh-metrics>div{border-top:2px solid #90a6b6;padding-top:9px}.pdh-metrics strong{font-size:22px;display:block}.pdh-metrics span,.pdh-metrics small{display:block}.pdh-metrics span{font-weight:800;font-size:12px}.pdh-metrics small{color:#718391;margin-top:3px}.pdh-log-card{margin-top:14px}.pdh-log-header{align-items:center}.pdh-log-header h4{margin:3px 0 0}.pdh-form-grid{margin-top:14px}.pdh-wide{grid-column:1/-1}.unit-input{display:flex;align-items:stretch}.unit-input input{border-radius:0!important}.unit-input span{display:flex;align-items:center;padding:0 10px;border:1px solid #bdcad4;border-left:0;background:#eef3f6;font-weight:800;color:#526b7e}.pdh-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:13px}.pdh-table th,.pdh-table td{padding:9px 8px;border-bottom:1px solid #d8e1e7;text-align:left;vertical-align:top}.pdh-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#5e7485}.pdh-delete{border:0;background:transparent;color:#9a3c3c;font-weight:800;cursor:pointer}.empty-state.compact{margin-top:14px;padding:12px}.credential-card textarea{width:100%;resize:vertical}
:root[data-theme="dark"] .credential-card{background:#10202d;border-color:#30495d}:root[data-theme="dark"] .credential-summary{background:#0e1c27;border-color:#537996}:root[data-theme="dark"] .source-note,:root[data-theme="dark"] .pdh-metrics small{color:#98adbd}:root[data-theme="dark"] .link-button{color:#76abd1}:root[data-theme="dark"] .pdh-progress-shell{background:#182c3b;border-color:#36536a}:root[data-theme="dark"] .pdh-metrics>div{border-color:#46677f}:root[data-theme="dark"] .unit-input span{background:#0e1c27;border-color:#36536a;color:#b8cad8}:root[data-theme="dark"] .pdh-table th,:root[data-theme="dark"] .pdh-table td{border-color:#30495d}:root[data-theme="dark"] .pdh-table th{color:#9db1c0}
@media(max-width:900px){.professional-grid{grid-template-columns:1fr}.pdh-metrics{grid-template-columns:1fr 1fr}.credential-heading{align-items:flex-start}}@media(max-width:600px){.pdh-metrics{grid-template-columns:1fr}.credential-actions{align-items:stretch}.credential-actions .btn{width:100%;text-align:center}.pdh-log-header{align-items:flex-start}}

/* v0.6.7 — side-by-side project creation */
.create-project-v2{padding-bottom:20px}.create-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.create-method-card{display:flex;flex-direction:column;min-height:100%;padding:20px;border:1px solid #c6d3dc;background:#f8fbfc;border-radius:10px}.create-method-card.analyze-method{border-top:4px solid #2f6f99}.create-method-card.manual-method{border-top:4px solid #738797}.create-method-card h3{margin:5px 0 7px;color:#173d58;font-size:1.2rem}.create-method-card>p{margin:0 0 14px;color:#647b8c}.create-method-kicker{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#55758c}.create-method-card .plan-drop-field{margin-top:4px}.create-primary{margin-top:auto;width:100%;justify-content:center}.create-sheet-size{border:0;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.create-sheet-size legend{grid-column:1/-1;margin-bottom:5px;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#526b7d}.create-sheet-size label{display:flex;align-items:center;gap:9px;border:1px solid #cbd6de;background:#fff;padding:10px;border-radius:7px;cursor:pointer}.create-sheet-size label:has(input:checked){border-color:#2f6f99;box-shadow:inset 0 0 0 1px #2f6f99}.create-sheet-size span,.create-sheet-size strong,.create-sheet-size small{display:block}.create-sheet-size strong{font-size:12px}.create-sheet-size small{font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:#698092}.create-intel-scope{margin:14px 0 12px}.scope-heading{display:flex;flex-direction:column;gap:2px}.scope-heading strong{font-size:12px;color:#244b65}.scope-heading small{font-size:11px;color:#718493}.analyze-method .intel-scope-grid{grid-template-columns:1fr 1fr;margin-top:8px}.manual-method-points{display:grid;gap:8px;margin:6px 0 22px}.manual-method-points span{padding:8px 10px;border-left:3px solid #90a5b4;background:rgba(89,117,137,.08);font-size:12px;font-weight:700;color:#405f73}.manual-entry-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:18px 0 14px;padding-top:16px;border-top:1px solid #d5dee5}.manual-entry-header h3{margin:3px 0 4px}.create-project-v2 [hidden]{display:none!important}
:root[data-theme="dark"] .create-method-card{background:#101c26;border-color:#304859}:root[data-theme="dark"] .create-method-card h3{color:#dceaf4}:root[data-theme="dark"] .create-method-card>p,:root[data-theme="dark"] .create-method-kicker,:root[data-theme="dark"] .scope-heading small{color:#91a7b7}:root[data-theme="dark"] .create-sheet-size label{background:#0c1720;border-color:#334b5d}:root[data-theme="dark"] .create-sheet-size legend,:root[data-theme="dark"] .create-sheet-size small,:root[data-theme="dark"] .scope-heading strong{color:#b9cbd8}:root[data-theme="dark"] .manual-method-points span{background:#0d1821;color:#b9cbd8;border-color:#55778e}:root[data-theme="dark"] .manual-entry-header{border-color:#304859}
@media(max-width:900px){.create-method-grid{grid-template-columns:1fr}.analyze-method .intel-scope-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.create-sheet-size,.analyze-method .intel-scope-grid{grid-template-columns:1fr}.manual-entry-header{flex-direction:column}}

/* v0.7.0 — operational Plan/Profile Reader v1 */
.pp-reader-panel{border-top:3px solid #4c7591!important}.pp-reader-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 0}.pp-file-button{position:relative;overflow:hidden}.pp-reader-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);gap:12px;margin-top:10px}.pp-sheet-view{min-width:0;border:1px solid var(--line,#d8e1e7);background:#eef3f6}.pp-view-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:6px;border-bottom:1px solid var(--line,#d8e1e7)}.pp-view-toolbar button{min-width:32px;padding:5px 8px;border:1px solid #aebdc8;background:#fff;cursor:pointer}.pp-canvas-wrap{overflow:auto;max-height:70vh;padding:4px;background:#8b969e}.pp-canvas-wrap canvas{display:block;margin:auto;background:white;box-shadow:0 1px 5px rgba(0,0,0,.18)}.pp-results{border:1px solid var(--line,#d8e1e7);background:var(--panel,#fff);padding:10px}.pp-results h3{margin:0 0 8px}.pp-detected-data{display:grid;gap:1px;background:var(--line,#d8e1e7)}.pp-detected-data>div{background:var(--panel,#fff);padding:8px}.pp-detected-data span,.pp-detected-data strong{display:block}.pp-detected-data span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#728493}.pp-detected-data strong{font-size:10px;margin-top:2px;word-break:break-word}:root[data-theme="dark"] .pp-sheet-view{background:#0d1821;border-color:#30495d}:root[data-theme="dark"] .pp-view-toolbar{border-color:#30495d}:root[data-theme="dark"] .pp-view-toolbar button{background:#132433;color:#e7f0f7;border-color:#36536a}:root[data-theme="dark"] .pp-results{background:#132433;border-color:#30495d}:root[data-theme="dark"] .pp-detected-data{background:#30495d}:root[data-theme="dark"] .pp-detected-data>div{background:#132433}:root[data-theme="dark"] .pp-detected-data span{color:#98adbd}@media(max-width:980px){.pp-reader-layout{grid-template-columns:1fr}.pp-canvas-wrap{max-height:58vh}}

/* v0.7.1 Plan/Profile calibration overlay */
.pp-view-toolbar{justify-content:flex-start}.pp-toolbar-spacer{flex:1}.pp-view-toolbar #pp-toggle-regions{min-width:150px;padding:5px 10px;font-weight:700}.pp-canvas-wrap canvas{image-rendering:auto}

/* v0.7.6 Profile Coordinate Calibration */
.pp-cursor-readout{font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;padding:6px 9px;border:1px solid var(--line,#d8e1e7);background:var(--panel,#fff);white-space:nowrap}.pp-coordinate-calibration{margin:10px 0 12px;border:1px solid var(--line,#d8e1e7);background:var(--panel,#fff)}.pp-cal-head{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 10px;border-bottom:1px solid var(--line,#d8e1e7)}.pp-cal-head strong{font-size:11px}.pp-cal-head span{font-size:9px;text-transform:uppercase;letter-spacing:.05em}.pp-cal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pp-cal-block{padding:10px;border-right:1px solid var(--line,#d8e1e7)}.pp-cal-block:last-child{border-right:0}.pp-cal-block h4{margin:0 0 7px;font-size:10px}.pp-cal-table{width:100%;border-collapse:collapse;font-size:9px}.pp-cal-table th,.pp-cal-table td{text-align:left;padding:4px 5px;border-top:1px solid var(--line,#d8e1e7)}.pp-cal-table th{color:#728493;text-transform:uppercase;font-size:8px}.pp-cal-pass{color:#287447}.pp-cal-review{color:#a36a12}:root[data-theme="dark"] .pp-cursor-readout,:root[data-theme="dark"] .pp-coordinate-calibration{background:#132433;border-color:#30495d}:root[data-theme="dark"] .pp-cal-head,:root[data-theme="dark"] .pp-cal-block,:root[data-theme="dark"] .pp-cal-table th,:root[data-theme="dark"] .pp-cal-table td{border-color:#30495d}@media(max-width:760px){.pp-cal-grid{grid-template-columns:1fr}.pp-cal-block{border-right:0;border-bottom:1px solid var(--line,#d8e1e7)}}

/* v0.8.0 — Template Intelligence v2 experimental diagnostics */
.pp-template-v2{margin-top:18px;padding-top:18px;border-top:1px solid var(--line,#d8dee8)}
.pp-v2-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0 14px}
.pp-v2-summary>div{border:1px solid var(--line,#d8dee8);border-radius:8px;padding:10px;background:var(--panel-soft,#f7f9fc)}
.pp-v2-summary span{display:block;font-size:.75rem;color:var(--muted,#687386);text-transform:uppercase;letter-spacing:.04em}.pp-v2-summary strong{display:block;margin-top:4px;font-size:.95rem}
.pp-v2-flow{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.79rem;padding:9px 10px;border:1px solid var(--line,#d8dee8);border-radius:7px;background:var(--panel-soft,#f7f9fc);margin:8px 0 14px;overflow:auto}
.pp-v2-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pp-v2-block{min-width:0}.pp-v2-block h4{margin:0 0 7px}.pp-v2-table{width:100%;border-collapse:collapse;font-size:.78rem}.pp-v2-table th,.pp-v2-table td{padding:6px 7px;border-bottom:1px solid var(--line,#d8dee8);text-align:left;vertical-align:top}.pp-v2-table th{font-size:.69rem;text-transform:uppercase;letter-spacing:.035em;color:var(--muted,#687386)}
@media(max-width:900px){.pp-v2-grid{grid-template-columns:1fr}}

/* v0.8.1 — Plan/Profile document-first viewport */
.pp-reader-layout{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:10px}
.pp-sheet-view{border:1px solid var(--line,#d8e1e7);border-radius:3px;overflow:hidden;background:#0c1720}
.pp-view-toolbar{min-height:48px;padding:8px 10px;gap:8px;background:var(--panel,#fff)}
.pp-view-toolbar button{min-height:34px;padding:6px 12px;font-weight:800}
.pp-view-toolbar #pp-toggle-regions{min-width:170px}
.pp-cursor-readout{font-size:11px;padding:8px 10px}
.pp-canvas-wrap{height:min(78vh,860px);max-height:none;min-height:560px;overflow:auto;padding:10px;background:#26333d;overscroll-behavior:contain}
.pp-canvas-wrap canvas{margin:0 auto;box-shadow:0 3px 18px rgba(0,0,0,.38);outline:1px solid rgba(255,255,255,.35)}
.pp-results{padding:12px;border-radius:3px}
.pp-results h3{margin-bottom:10px}
.pp-detected-data{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px}
.pp-detected-data>div{min-width:0;padding:10px 11px}
.pp-detected-data span{font-size:8px}.pp-detected-data strong{font-size:10px}
:root[data-theme="dark"] .pp-view-toolbar{background:#101e2a;border-color:#30495d}
:root[data-theme="dark"] .pp-canvas-wrap{background:#07121a}
:root[data-theme="dark"] .pp-sheet-view{background:#07121a}
@media(max-width:1180px){.pp-detected-data{grid-template-columns:repeat(3,minmax(0,1fr))}.pp-canvas-wrap{height:72vh;min-height:480px}}
@media(max-width:760px){.pp-detected-data{grid-template-columns:1fr 1fr}.pp-canvas-wrap{height:62vh;min-height:380px;padding:5px}.pp-view-toolbar{flex-wrap:wrap}.pp-toolbar-spacer{display:none}.pp-cursor-readout{order:3;width:100%}}


/* v0.8.4 — QA/QC summary-table reconciliation + light destructive-action contrast */
.qa-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.qa-panel-toolbar .review-filter{margin-bottom:0}.qa-verify-summary{margin-left:auto;white-space:nowrap}.qa-seq-verification{margin:0 0 12px;border:1px solid #b8cad8;background:#f7fafc;padding:12px}.qa-seq-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.qa-seq-head>div{display:flex;align-items:center;gap:10px}.qa-seq-head button{border:1px solid #b9c9d4;background:#fff;color:#17324a;padding:6px 10px;font-weight:800}.qa-seq-verification p{margin:5px 0;color:#304b61}.qa-seq-verification>small{display:block;color:#617689}.qa-seq-table-wrap{overflow:auto;margin:8px 0}.qa-seq-table{width:100%;border-collapse:collapse;font-size:11px}.qa-seq-table th,.qa-seq-table td{border-bottom:1px solid #d3dfe7;padding:8px;text-align:left;white-space:nowrap}.qa-seq-table th{font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:#5b7183;background:#eef4f7}.qa-seq-table td small{color:#718595}:root[data-theme="dark"] .qa-seq-verification{background:#101f2b;border-color:#30495c}:root[data-theme="dark"] .qa-seq-head button{background:#132635;border-color:#38546a;color:#e7f1f6}:root[data-theme="dark"] .qa-seq-verification p,:root[data-theme="dark"] .qa-seq-verification>small{color:#9db2c1}:root[data-theme="dark"] .qa-seq-table th{background:#0f1c26;color:#9eb2c1}:root[data-theme="dark"] .qa-seq-table th,:root[data-theme="dark"] .qa-seq-table td{border-color:#2a4355}@media(max-width:900px){.qa-panel-toolbar{align-items:stretch;flex-direction:column}.qa-verify-summary{margin-left:0;align-self:flex-start}}

/* v0.9.0 · Project command summary / milestone readiness */
.overview-stage-strip{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);gap:10px;align-items:stretch;margin:0 0 14px}.stage-card{border:1px solid var(--eng-border,#b9c9d6);background:var(--eng-panel,#fff);padding:15px 18px;display:flex;flex-direction:column;gap:5px;min-height:92px}.stage-card span{font-size:11px;font-weight:800;letter-spacing:.09em;color:#557086}.stage-card strong{font-size:19px;color:var(--eng-ink,#162b3b)}.stage-card small{color:#63798b;line-height:1.4}.current-stage{border-left:4px solid #2d779f}.upcoming-stage{border-left:4px solid #8a6a1e}.stage-arrow{display:grid;place-items:center;font-size:26px;font-weight:800;color:#6d8191}.overview-readiness-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.readiness-list{display:grid;gap:7px}.readiness-item{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;padding:8px 0;border-bottom:1px solid rgba(120,145,164,.24);font-size:13px}.readiness-item:last-child{border-bottom:0}.readiness-dot{width:20px;height:20px;border:1px solid #9bb0bf;display:grid;place-items:center;font-size:11px;font-weight:900}.readiness-dot.current{background:#e8f3ed;color:#226744;border-color:#8db9a0}.readiness-dot.upcoming{background:#fbf4df;color:#755914;border-color:#d3bb72}.command-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-resource-list{display:grid;gap:8px}.overview-resource-list button{text-align:left;border:1px solid var(--eng-border,#c5d2dc);background:transparent;padding:11px 12px;display:flex;flex-direction:column;gap:2px}.overview-resource-list button strong{font-size:13px}.overview-resource-list button span{font-size:11px;color:#6b8192}.registry-priority{display:flex;flex-wrap:wrap;gap:7px;align-items:center;padding:10px 12px;background:rgba(97,128,150,.08);border:1px solid rgba(97,128,150,.22);font-size:11px;font-weight:700;margin-bottom:12px}.registry-priority b{opacity:.5}.registry-metrics{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.registry-metrics span{border:1px solid var(--eng-border,#c4d1da);padding:8px 10px;background:rgba(255,255,255,.55);font-size:11px}.registry-metrics strong{font-size:15px;margin-right:4px}.sheet-registry-table-wrap{overflow:auto;max-height:440px;border:1px solid var(--eng-border,#c4d1da)}.sheet-registry-table{width:100%;border-collapse:collapse;font-size:11px}.sheet-registry-table th,.sheet-registry-table td{padding:8px 9px;border-bottom:1px solid var(--eng-border,#d3dde4);text-align:left;vertical-align:top}.sheet-registry-table th{position:sticky;top:0;background:var(--eng-panel,#fff);z-index:1;letter-spacing:.04em;text-transform:uppercase;font-size:10px}.sheet-registry-table td small{display:block;margin-top:3px;color:#8a641a;max-width:340px}.sheet-registry-panel{margin-top:14px}
[data-theme="dark"] .stage-card,[data-theme="dark"] .sheet-registry-table th{background:#102432;color:#e6eef4}[data-theme="dark"] .stage-card strong{color:#edf5fa}[data-theme="dark"] .stage-card small,[data-theme="dark"] .overview-resource-list button span{color:#9bb0bf}[data-theme="dark"] .registry-metrics span{background:#0d202d}[data-theme="dark"] .readiness-dot.current{background:#17382c;color:#bce4cd}[data-theme="dark"] .readiness-dot.upcoming{background:#3b3117;color:#ead58b}
@media(max-width:900px){.overview-stage-strip{grid-template-columns:1fr}.stage-arrow{transform:rotate(90deg);height:26px}.overview-readiness-grid,.command-overview{grid-template-columns:1fr}}

/* v0.9.4 integrated dark-mode controls + shared Workbench session */
.eng-signout{font:inherit;background:transparent;color:inherit;border:0;cursor:pointer;padding:0}
[data-theme="dark"] .plan-sheet-size-picker label{background:#101f2c;border-color:#365064;color:#e7eef5;box-shadow:none}
[data-theme="dark"] .plan-sheet-size-picker label:hover{background:#15293a;border-color:#537089}
[data-theme="dark"] .plan-sheet-size-picker label:has(input:checked){background:#173148;border-color:#5f9fd1;box-shadow:inset 0 0 0 1px rgba(95,159,209,.35)}
[data-theme="dark"] .plan-sheet-size-picker label:has(input:checked) strong{color:#f4f8fb}
[data-theme="dark"] .plan-sheet-size-picker span{color:#9eb3c4}
[data-theme="dark"] .plan-sheet-size-picker label:has(input:checked) span{color:#c7d9e7}
[data-theme="dark"] .plan-sheet-size-picker input[type="radio"]{accent-color:#6aa8d7}

/* ======================================================================
   v0.9.7 · Global Search + Pay Item Intelligence
   ====================================================================== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.nav-wrap{gap:18px}
.header-search{display:flex;align-items:stretch;min-width:360px;max-width:560px;flex:1;margin-left:18px;position:relative;z-index:50}
.header-search-mode{width:104px;min-width:104px;border:1px solid rgba(116,162,199,.38);border-right:0;border-radius:4px 0 0 4px;background:#10273a;color:#dce9f3;padding:0 28px 0 10px;font-size:12px;font-weight:700;letter-spacing:.02em;height:36px}
.header-search-box{position:relative;flex:1;min-width:0}
.header-search-box>input{width:100%;height:36px;border:1px solid rgba(116,162,199,.38);border-radius:0 4px 4px 0;background:#091b2a;color:#eef6fb;padding:0 12px;font-size:13px;outline:none}
.header-search-box>input::placeholder{color:#8499aa}
.header-search-box>input:focus,.header-search-mode:focus{border-color:#4a98d2;box-shadow:0 0 0 1px rgba(74,152,210,.2)}
.header-search-results{position:absolute;left:-104px;right:0;top:42px;background:#0b1d2c;border:1px solid #29465e;border-radius:5px;box-shadow:0 16px 36px rgba(0,0,0,.32);overflow:hidden;max-height:430px;overflow-y:auto;z-index:500}
.header-search-result{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(115,148,172,.16);color:#e7f1f7;text-decoration:none;background:transparent}
.header-search-result:last-child{border-bottom:0}
.header-search-result:hover,.header-search-result:focus,.header-search-result.active{background:#163754;outline:none}
.header-search-result strong{display:block;font-size:13px;line-height:1.25}
.header-search-result small{display:block;color:#9cb2c2;margin-top:3px;font-size:11px;line-height:1.3}
.header-search-kind{font-size:9px;font-weight:800;letter-spacing:.08em;color:#6db5e8;border:1px solid rgba(109,181,232,.35);padding:3px 5px;border-radius:3px;text-align:center}
.header-search-empty{padding:14px;color:#d6e2ea}
.header-search-empty strong,.header-search-empty small{display:block}.header-search-empty small{color:#8fa5b5;margin-top:4px}

.pay-item-page{max-width:1500px}
.pay-item-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:34px 0 22px;border-bottom:1px solid var(--line)}
.pay-item-hero h1{margin:5px 0 10px;font-size:clamp(25px,2.4vw,38px);line-height:1.12}
.pay-item-badges{display:flex;gap:8px;align-items:center}.pay-item-badges>span:not(.status){font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border:1px solid var(--line);border-radius:3px;color:var(--muted)}
.pay-item-core{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));border:1px solid var(--line);border-radius:5px;overflow:hidden;min-width:390px;background:var(--card)}
.pay-item-core>div{padding:12px 16px;border-right:1px solid var(--line)}.pay-item-core>div:last-child{border-right:0}.pay-item-core small{display:block;font-size:9px;font-weight:800;letter-spacing:.09em;color:var(--muted)}.pay-item-core strong{display:block;font-size:19px;margin-top:4px}
.pay-item-lineage{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0}.pay-item-lineage span{border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:11px;background:var(--card)}
.pay-item-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;padding:22px 0 46px}.pay-item-main{display:grid;gap:16px}.pay-item-sidebar{display:grid;align-content:start;gap:16px}
.pay-intel-card{padding:20px}.pay-intel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.pay-intel-head h2{margin:3px 0 0;font-size:20px}.pay-intel-card>p{max-width:900px;color:var(--muted);line-height:1.55}
.pay-placeholder-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.pay-placeholder-grid>div{border:1px solid var(--line);background:var(--bg);padding:12px}.pay-placeholder-grid small{display:block;font-size:9px;letter-spacing:.08em;font-weight:800;color:var(--muted)}.pay-placeholder-grid strong{display:block;margin-top:5px;font-size:12px}
.pay-item-dl{margin:14px 0 0}.pay-item-dl>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.pay-item-dl>div:last-child{border-bottom:0}.pay-item-dl dt{font-size:11px;color:var(--muted)}.pay-item-dl dd{margin:0;text-align:right;font-size:11px;font-weight:700;overflow-wrap:anywhere}
.pay-item-not-found{padding:60px 0}.pay-item-not-found h1{font-size:34px;margin:5px 0 12px}

html[data-theme="dark"] .header-search-mode,html[data-theme="dark"] .header-search-box>input{background:#0b1d2c;color:#edf6fb;border-color:#36546b}
html[data-theme="light"] .header-search-mode{background:#edf3f7;color:#17344a;border-color:#aabcca}
html[data-theme="light"] .header-search-box>input{background:#fff;color:#172b3b;border-color:#aabcca}
html[data-theme="light"] .header-search-results{background:#fff;border-color:#aabcca;box-shadow:0 16px 34px rgba(25,53,74,.18)}
html[data-theme="light"] .header-search-result{color:#183247;border-bottom-color:#dbe4eb}html[data-theme="light"] .header-search-result:hover,html[data-theme="light"] .header-search-result:focus,html[data-theme="light"] .header-search-result.active{background:#eaf3fa}html[data-theme="light"] .header-search-result small{color:#617789}html[data-theme="light"] .header-search-empty{color:#183247}

@media(max-width:1180px){.header-search{min-width:280px;margin-left:6px}.nav-wrap{gap:10px}.nav-links a{padding-left:9px;padding-right:9px}}
@media(max-width:980px){.site-header .nav-wrap{flex-wrap:wrap}.header-search{order:3;flex-basis:100%;max-width:none;margin:6px 0 0}.header-search-results{left:0}.nav-links{margin-left:auto}.pay-item-hero{align-items:stretch;flex-direction:column}.pay-item-core{min-width:0}.pay-item-layout{grid-template-columns:1fr}}
@media(max-width:640px){.header-search-mode{width:92px;min-width:92px}.header-search-results{left:-92px}.pay-item-core{grid-template-columns:1fr}.pay-item-core>div{border-right:0;border-bottom:1px solid var(--line)}.pay-item-core>div:last-child{border-bottom:0}.pay-placeholder-grid{grid-template-columns:1fr}}

/* v0.9.7 header layering + Pay Item Cost Intelligence */
.site-header{z-index:1000!important;overflow:visible!important}
.site-header:before,.site-header:after{z-index:0}
.site-header .nav-wrap{position:relative;z-index:1001;overflow:visible}
.header-search{z-index:1100}
.header-search-box{z-index:1101}
.header-search-results{z-index:1200!important}
.cost-intel-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,1fr);gap:12px;align-items:end;margin:16px 0}
.cost-intel-form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:var(--muted)}
.cost-intel-input-wrap{display:flex;align-items:center;border:1px solid var(--line);border-radius:4px;background:var(--card);overflow:hidden}
.cost-intel-input-wrap input{min-width:0;flex:1;border:0;background:transparent;color:var(--text);padding:10px 12px;font:inherit;outline:none}
.cost-intel-input-wrap span{padding:10px 12px;border-left:1px solid var(--line);font-size:11px;font-weight:800;color:var(--muted)}
.cost-intel-form select{height:40px;border:1px solid var(--line);border-radius:4px;background:var(--card);color:var(--text);padding:0 10px}
.cost-intel-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;overflow:hidden;margin-top:14px}
.cost-intel-summary>div{padding:12px;border-right:1px solid var(--line)}
.cost-intel-summary>div:last-child{border-right:0}
.cost-intel-summary small{display:block;font-size:9px;font-weight:800;letter-spacing:.08em;color:var(--muted)}
.cost-intel-summary strong{display:block;margin-top:5px;font-size:16px}
.cost-estimate{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:5px;background:var(--surface)}
.cost-estimate-row{display:flex;justify-content:space-between;gap:20px;align-items:baseline}
.cost-estimate-row strong{font-size:24px}
.cost-intel-source{margin-top:10px;font-size:11px;color:var(--muted);line-height:1.45}
.cost-intel-source a{font-weight:700}
@media(max-width:760px){.cost-intel-form{grid-template-columns:1fr}.cost-intel-summary{grid-template-columns:1fr 1fr}.cost-intel-summary>div:nth-child(2){border-right:0}.cost-intel-summary>div{border-bottom:1px solid var(--line)}.cost-intel-summary>div:nth-last-child(-n+2){border-bottom:0}}

/* v0.9.7 quantity-sensitive cost intelligence */
.comparable-projects{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.comparable-projects h3{margin:0 0 8px;font-size:13px}.comparable-project-list{border:1px solid var(--line);border-radius:5px;overflow:hidden}.comparable-project-row{display:grid;grid-template-columns:1fr auto;gap:18px;padding:10px 12px;border-bottom:1px solid var(--line);align-items:center}.comparable-project-row:last-child{border-bottom:0}.comparable-project-row span:last-child{text-align:right}.comparable-project-row strong{display:block;font-size:12px}.comparable-project-row small{display:block;margin-top:2px;color:var(--muted);font-size:10px}@media(max-width:650px){.comparable-project-row{grid-template-columns:1fr}.comparable-project-row span:last-child{text-align:left}}

/* v0.9.9 Pay Item Specification Intelligence */
.spec-mapping-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.spec-mapping-panel{border:1px solid var(--line,#334155);background:rgba(5,12,20,.32);padding:16px;min-width:0}
.spec-mapping-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
.spec-mapping-title small{display:block;font-size:.68rem;letter-spacing:.08em;font-weight:800;color:var(--muted,#9fb2c8);margin-bottom:4px}
.spec-mapping-title strong{font-size:1rem}
.spec-source-chip{border:1px solid var(--line,#334155);padding:4px 7px;font-size:.68rem;font-weight:800;white-space:nowrap;color:var(--muted,#a8bdd0)}
.spec-mapping-panel ul{margin:0;padding-left:19px;display:grid;gap:8px;line-height:1.45}
.spec-engineer-note{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line,#334155);font-size:.86rem;line-height:1.45;color:var(--muted,#aec0d2)}
.spec-source-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}
.spec-source-note{font-size:.78rem;color:var(--muted,#9fb2c8)}
@media(max-width:800px){.spec-mapping-grid{grid-template-columns:1fr}}

/* v0.9.9 grouped stages + collapsible specification mapping */
.project-stage-field{align-self:start}.stage-pair-fields{display:grid;gap:7px}.stage-pair-row{display:grid;grid-template-columns:minmax(150px,220px) 1fr;align-items:center;gap:12px;padding:7px 8px;border:1px solid var(--line);background:var(--panel-soft,#0d1a25)}.stage-pair-row:first-child{border-radius:7px 7px 0 0}.stage-pair-row+ .stage-pair-row{margin-top:-1px;border-radius:0 0 7px 7px}.stage-pair-label{display:flex;flex-direction:column;gap:2px}.stage-pair-label strong{font-size:13px}.stage-pair-label small,.stage-pair-note{color:var(--muted);font-size:11px}.stage-pair-row select{width:100%;min-width:0}
.spec-toggle-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 10px}.spec-toggle-button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:62px;padding:12px 14px;border:1px solid var(--line);border-radius:5px;background:var(--panel-soft,#0d1a25);color:var(--text);text-align:left;cursor:pointer}.spec-toggle-button:hover,.spec-toggle-button.active{border-color:var(--accent,#6aa4c8);background:rgba(72,130,166,.12)}.spec-toggle-button span:first-child{display:flex;flex-direction:column;gap:3px}.spec-toggle-button small{font-size:10px;letter-spacing:.09em;color:var(--muted)}.spec-toggle-button strong{font-size:15px}.spec-toggle-status{font-size:10px;font-weight:800;letter-spacing:.05em;color:#8fd0a5}.spec-collapsible-grid:has([data-spec-panel]:not([hidden])){margin-top:10px}.spec-collapsible-grid [hidden]{display:none!important}
html[data-theme="light"] .stage-pair-row,html[data-theme="light"] .spec-toggle-button{background:#f7fafc}
@media(max-width:760px){.stage-pair-row{grid-template-columns:1fr}.spec-toggle-row{grid-template-columns:1fr}}

/* v0.9.14 Summary Intelligence debug log */
.summary-debug-log{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}.summary-debug-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.summary-debug-head h3{margin:0 0 3px;font-size:14px}.summary-debug-head p{margin:0;color:var(--muted);font-size:11px}.summary-debug-head .button-row{margin:0;display:flex;gap:7px;flex-wrap:wrap}.summary-debug-log textarea{width:100%;min-height:300px;max-height:520px;resize:vertical;box-sizing:border-box;border:1px solid var(--line);border-radius:4px;background:#07121c;color:var(--text);padding:12px;font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;overflow:auto}.summary-debug-log-state{margin-top:6px;font-size:10px}html[data-theme="light"] .summary-debug-log textarea{background:#f8fafc;color:#17202a}@media(max-width:760px){.summary-debug-head{flex-direction:column}}


/* v0.9.16 Recognition Region Calibration */
.recognition-calibration-panel{margin-top:10px}.recognition-cal-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:9px 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel-2,#f4f7f9)}.recognition-cal-toolbar label{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:800}.recognition-cal-toolbar select{min-width:110px;padding:6px}.recognition-overlay-toggle{margin-left:4px}.recognition-cal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:12px;padding:12px}.recognition-sheet-shell{min-width:0}.recognition-sheet-frame{position:relative;width:100%;aspect-ratio:17/11;background:#fff;border:1px solid #8093a1;box-shadow:0 2px 10px rgba(20,40,55,.12);overflow:hidden}.recognition-sheet-frame canvas{position:absolute;inset:0;width:100%;height:100%;display:block}.recognition-overlay-layer{position:absolute;inset:0;z-index:4;pointer-events:auto}.recognition-cal-placeholder{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#6e7e89;background:#fff}.recognition-cal-placeholder[hidden]{display:none}.recognition-sheet-dim{display:flex;justify-content:space-between;font:9px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted);padding:4px 2px}.recognition-box{position:absolute;border:2px solid #e2523f;background:rgba(226,82,63,.08);box-sizing:border-box;cursor:move;min-width:7px;min-height:7px}.recognition-box:nth-child(3n+2){border-color:#2f83c5;background:rgba(47,131,197,.07)}.recognition-box:nth-child(3n){border-color:#2a9b6f;background:rgba(42,155,111,.07)}.recognition-box.selected{outline:3px solid rgba(255,190,35,.8);outline-offset:1px;z-index:8}.recognition-box>span{position:absolute;left:1px;top:1px;background:rgba(8,20,30,.83);color:#fff;padding:1px 3px;font:8px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.recognition-resize-handle{position:absolute;right:-5px;bottom:-5px;width:10px;height:10px;background:#fff;border:2px solid currentColor;cursor:nwse-resize}.recognition-region-inspector{border-left:1px solid var(--line);padding-left:12px}.recognition-region-inspector>select{width:100%;margin:6px 0 10px;padding:7px}.recognition-region-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.recognition-region-fields label{font-size:9px;font-weight:850;color:var(--muted)}.recognition-region-fields input{width:100%;box-sizing:border-box;margin-top:3px;padding:7px;border:1px solid var(--line);background:var(--panel,#fff);color:var(--text)}.recognition-inch-readout{display:grid;gap:3px;margin:10px 0;padding:9px;background:var(--panel-2,#f5f7f8);border:1px solid var(--line);font-size:10px}.recognition-inch-readout span{color:var(--muted)}html[data-theme="dark"] .recognition-cal-toolbar,html[data-theme="dark"] .recognition-inch-readout{background:#0f1f2c}html[data-theme="dark"] .recognition-sheet-frame,html[data-theme="dark"] .recognition-cal-placeholder{background:#fff;color:#60717d}@media(max-width:980px){.recognition-cal-layout{grid-template-columns:1fr}.recognition-region-inspector{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:10px}}

/* v0.9.16 Recognition Calibration interaction + zoom */
.recognition-zoom-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.recognition-zoom-controls select{min-width:72px;padding:6px}.recognition-sheet-frame{touch-action:none;cursor:default}.recognition-sheet-frame.is-panning{cursor:grabbing}.recognition-sheet-frame canvas,.recognition-overlay-layer{transform-origin:0 0;will-change:transform}.recognition-box{pointer-events:none;opacity:.62}.recognition-box.selected{pointer-events:auto;opacity:1;z-index:100!important}.recognition-box.inactive-hidden{display:none}.recognition-resize-handle{pointer-events:auto}.recognition-region-inspector .eyebrow{margin-bottom:4px}

/* v0.9.18 recognition rectangle authoring */
.recognition-region-actions{margin:0 0 10px}.recognition-semantic-fields{display:grid;gap:7px;margin-bottom:9px}.recognition-semantic-fields label{display:grid;gap:3px;font-size:9px;font-weight:850;color:var(--muted)}.recognition-semantic-fields select,.recognition-semantic-fields input,.recognition-semantic-fields textarea{width:100%;box-sizing:border-box;padding:7px;border:1px solid var(--line);background:var(--panel,#fff);color:var(--text);font:inherit}.recognition-comment-field textarea{resize:vertical}.recognition-box .recognition-rotation-tag{left:auto;right:1px;max-width:none}.recognition-box[data-analyzer-role="detection-parent"]{border-style:dashed;background:rgba(240,138,36,.06)}.recognition-box[data-analyzer-role="reference"]{border-style:dotted}.recognition-box[data-analyzer-role="ignore"]{opacity:.3}.recognition-region-inspector .button-row button{white-space:nowrap}


/* v0.9.20 high-fidelity PDF + recognition editor dark-mode usability */
#plan-canvas,.recognition-sheet-frame canvas{image-rendering:auto}

/* Plan Intelligence v5 - evidence-first extraction review */
.plan-title-fields{display:grid;grid-template-columns:1fr;gap:12px;padding:14px;background:#edf2f5}.plan-field-group{overflow:hidden;border:1px solid #c7d3dc;border-radius:6px;background:#fff}.plan-field-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-bottom:1px solid #d6e0e6;background:linear-gradient(180deg,#f8fafb,#eef3f6)}.plan-field-group-head h3{margin:0;color:#263e52;font-size:12px}.plan-field-group-head span{color:#6d7f8d;font:750 9px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;letter-spacing:.05em}.plan-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dce4e9}.plan-field-card{min-width:0;padding:10px;background:#fff;border-left:3px solid #8298a7}.plan-field-card[data-evidence-state="VERIFIED"]{border-left-color:#3f8860}.plan-field-card[data-evidence-state="REVIEW"],.plan-field-card[data-evidence-state="MISSING"]{border-left-color:#c28a31}.plan-field-card-head,.plan-field-source{display:flex;align-items:center;justify-content:space-between;gap:8px}.plan-field-card-head>span:first-child{color:#536b7d;font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.plan-field-card input,.plan-field-card select{width:100%;margin:7px 0 6px;padding:8px;border:1px solid #b7c5cf;border-radius:4px;background:#fff;color:#21384b;font-size:11px}.plan-field-source{color:#738694;font:700 8px ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase}.plan-field-source button{border:0;background:transparent;color:#28638b;padding:2px 0;font:850 9px inherit;cursor:pointer}.plan-field-card details{margin-top:7px;border-top:1px solid #e3e9ed;padding-top:6px}.plan-field-card details summary{cursor:pointer;color:#6c7e8b;font-size:8px;font-weight:800;text-transform:uppercase}.plan-field-card details code{display:block;max-height:90px;overflow:auto;margin-top:5px;padding:6px;background:#f3f6f8;color:#344b5c;white-space:pre-wrap;word-break:break-word;font-size:8px}.diagnostic-summary-v5 span{display:grid;align-content:start;gap:2px}.diagnostic-summary-v5 small,.diagnostic-region-meta{display:block;color:#748795;font-size:8px;font-weight:600;text-transform:none;letter-spacing:0}.diagnostic-region-meta{margin-top:7px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:1050px){.plan-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.plan-field-grid{grid-template-columns:1fr}.plan-title-fields{padding:8px}}
:root[data-theme="dark"] .plan-title-fields{background:#0b1b27}:root[data-theme="dark"] .plan-field-group{border-color:#304a5c;background:#102330}:root[data-theme="dark"] .plan-field-group-head{background:linear-gradient(180deg,#172d3c,#122633);border-color:#304a5c}:root[data-theme="dark"] .plan-field-group-head h3{color:#e0ebf1}:root[data-theme="dark"] .plan-field-group-head span,:root[data-theme="dark"] .plan-field-card-head>span:first-child,:root[data-theme="dark"] .plan-field-source{color:#98adba}:root[data-theme="dark"] .plan-field-grid{background:#294252}:root[data-theme="dark"] .plan-field-card{background:#102330}:root[data-theme="dark"] .plan-field-card details{border-color:#294252}:root[data-theme="dark"] .plan-field-card details code{background:#0a1b27;color:#c8d8e1}:root[data-theme="dark"] .plan-field-source button{color:#79b7db}
.recognition-region-inspector{position:relative;z-index:12;pointer-events:auto}
.recognition-region-inspector select,.recognition-region-inspector input,.recognition-region-inspector textarea{pointer-events:auto;user-select:text;-webkit-user-select:text}
.recognition-comment-field textarea{min-height:72px;cursor:text;resize:vertical}
html[data-theme="dark"] .recognition-region-inspector select,
html[data-theme="dark"] .recognition-region-inspector input,
html[data-theme="dark"] .recognition-region-inspector textarea,
html[data-theme="dark"] .recognition-cal-toolbar select{background:#102331!important;color:#eef6fb!important;border-color:#466278!important;color-scheme:dark}
html[data-theme="dark"] .recognition-region-inspector select option,
html[data-theme="dark"] .recognition-cal-toolbar select option{background:#102331;color:#eef6fb}
html[data-theme="dark"] .recognition-region-inspector input::placeholder,
html[data-theme="dark"] .recognition-region-inspector textarea::placeholder{color:#9fb2c0;opacity:1}


/* v0.9.23 marketing landing page */
.landing-page{max-width:1500px}
.landing-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:42px;align-items:center;padding:58px 0 44px;border-bottom:1px solid var(--line)}
.landing-hero-copy h1{font-size:clamp(38px,5vw,68px);line-height:1.02;max-width:900px;margin:12px 0 18px;letter-spacing:-.035em}
.landing-hero-copy>p{font-size:clamp(16px,1.5vw,20px);line-height:1.55;color:var(--muted);max-width:780px}
.landing-proof-strip{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.landing-proof-strip span{padding:7px 10px;border:1px solid var(--line);font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;background:var(--card)}
.landing-workflow-visual{position:relative;min-height:410px;border:1px solid var(--line);background:var(--card);padding:30px;display:flex;flex-direction:column;justify-content:center;gap:8px;overflow:hidden}
.workflow-blueprint-grid{position:absolute;inset:0;opacity:.13;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:32px 32px}
.workflow-node{position:relative;z-index:2;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:12px;border:1px solid var(--line);background:var(--surface);padding:14px 16px;max-width:78%}.workflow-node:nth-of-type(even){align-self:flex-end}.workflow-node small{grid-row:1/3;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}.workflow-node strong{font-size:14px;letter-spacing:.05em}.workflow-node span{font-size:11px;color:var(--muted);margin-top:2px}.workflow-line{position:relative;z-index:1;width:1px;height:22px;background:var(--line);margin-left:20%;transform:skewX(-28deg)}
.landing-value,.landing-plans{padding:42px 0}.landing-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.landing-feature{border:1px solid var(--line);background:var(--card);padding:22px;min-height:190px}.landing-feature>span{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);font:800 13px ui-monospace,SFMono-Regular,Menlo,monospace}.landing-feature h3{margin:18px 0 8px;font-size:17px}.landing-feature p{margin:0;color:var(--muted);line-height:1.5;font-size:12px}
.landing-intelligence{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;padding:34px;border:1px solid var(--line);background:var(--card)}.landing-intelligence-copy h2{font-size:clamp(28px,3vw,43px);margin:7px 0 12px}.landing-intelligence-copy p{color:var(--muted);line-height:1.55;max-width:780px}.landing-pipeline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:22px}.landing-pipeline span{border:1px solid var(--line);background:var(--surface);padding:8px 10px;font-size:10px;font-weight:800}.landing-pipeline b{color:var(--muted)}
.landing-intelligence-status{display:grid;align-content:center}.landing-intelligence-status>div{display:grid;padding:14px 0;border-bottom:1px solid var(--line)}.landing-intelligence-status>div:last-child{border-bottom:0}.landing-intelligence-status small{font-size:9px;letter-spacing:.11em;color:var(--muted);font-weight:850}.landing-intelligence-status strong{font-size:17px;margin-top:3px}.landing-intelligence-status span{font-size:11px;color:var(--muted)}
.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1120px;margin:0 auto}.pricing-card{border:1px solid var(--line);background:var(--card);padding:28px}.pricing-card.pro-card{box-shadow:inset 4px 0 0 var(--accent)}.pricing-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--muted)}.pricing-card h3{font-size:28px;margin:6px 0 8px}.pricing-lead{min-height:48px;color:var(--muted);line-height:1.5}.pricing-card ul{padding-left:19px;margin:20px 0 26px;display:grid;gap:10px;font-size:12px;line-height:1.45}
.landing-funnel{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;border:1px solid var(--line);padding:28px;background:var(--card);margin:8px 0 44px}.landing-funnel h2{margin:5px 0;font-size:26px}.funnel-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.funnel-steps span{border-top:2px solid var(--line);padding-top:10px;font-size:11px;font-weight:750}.funnel-steps b{display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid var(--line);margin-right:7px}
.landing-news-title{margin-top:14px}.landing-news-feed{margin-bottom:48px}
@media(max-width:980px){.landing-hero{grid-template-columns:1fr}.landing-workflow-visual{min-height:340px}.landing-feature-grid{grid-template-columns:1fr 1fr}.landing-intelligence{grid-template-columns:1fr}.pricing-grid{grid-template-columns:1fr}.landing-funnel{grid-template-columns:1fr}.funnel-steps{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.landing-feature-grid,.funnel-steps{grid-template-columns:1fr}.landing-hero{padding-top:34px}.landing-workflow-visual{padding:18px}.workflow-node{max-width:92%}}

/* v0.9.23 complete authentication experience */
.auth-shell{max-width:1180px;margin:34px auto 60px}.auth-stage{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(380px,1.1fr);border:1px solid var(--line);background:var(--card);min-height:620px}.auth-intro{padding:46px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line);background:linear-gradient(145deg,var(--card),var(--surface))}.auth-intro h1{font-size:clamp(30px,3.5vw,48px);line-height:1.04;margin:8px 0 16px}.auth-intro>p{color:var(--muted);line-height:1.55}.auth-choice-row{display:grid;gap:8px;margin:28px 0}.auth-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line);background:var(--card);color:var(--text);padding:14px;cursor:pointer}.auth-choice.active,.auth-choice:hover{border-color:var(--accent);background:var(--surface)}.auth-choice strong{font-size:13px}.auth-choice small{margin-top:3px;color:var(--muted);font-size:10px}.auth-trust-note{display:grid;gap:4px;border-top:1px solid var(--line);padding-top:18px}.auth-trust-note strong{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.auth-trust-note span{font-size:11px;color:var(--muted);line-height:1.45}.auth-panel-stack{position:relative;display:flex;align-items:center;padding:40px}.auth-panel{width:100%;box-sizing:border-box;animation:authPanelIn .24s ease-out}.auth-panel[hidden]{display:none!important}@keyframes authPanelIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}.auth-panel h2{font-size:30px;margin:5px 0 8px}.auth-register-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-register-grid .auth-wide{grid-column:1/-1}.rules-acknowledgement{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);background:var(--surface);padding:13px;margin-top:14px}.rules-acknowledgement input{margin-top:2px}.rules-acknowledgement span{display:grid;gap:4px}.rules-acknowledgement strong{font-size:12px}.rules-acknowledgement small{font-size:10px;color:var(--muted)}.auth-back{width:100%;margin-top:8px}.success-text{color:#5ca97a!important}
@media(max-width:820px){.auth-stage{grid-template-columns:1fr}.auth-intro{border-right:0;border-bottom:1px solid var(--line);padding:28px}.auth-panel-stack{padding:24px}.auth-register-grid{grid-template-columns:1fr}.auth-register-grid .auth-wide{grid-column:auto}}

/* v0.9.23 dynamic create-project analysis state */
.create-analysis-progress{border:1px solid var(--line);background:var(--surface);padding:28px;min-height:330px;animation:analysisPanelIn .25s ease-out}.create-analysis-progress[hidden]{display:none!important}@keyframes analysisPanelIn{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}.analysis-progress-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.analysis-progress-head h3{font-size:25px;margin:5px 0 7px}.analysis-progress-head p{margin:0;color:var(--muted)}.analysis-progress-head>strong{font:900 30px ui-monospace,SFMono-Regular,Menlo,monospace}.analysis-progress-track{height:12px;border:1px solid var(--line);background:var(--card);margin:24px 0 8px;overflow:hidden}.analysis-progress-track span{display:block;height:100%;background:var(--accent);transition:width .3s ease}.analysis-progress-meta{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.analysis-event-list{display:grid;gap:7px;margin:22px 0}.analysis-event{display:flex;gap:9px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--line);font-size:11px}.analysis-event span{width:18px;font-weight:900}.analysis-event.active span{animation:analysisPulse 1s infinite}@keyframes analysisPulse{50%{opacity:.35}}.analysis-event.error{color:#c5675d}.analysis-progress-foot{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:10px}
@media(max-width:650px){.analysis-progress-head,.analysis-progress-foot{flex-direction:column}.analysis-progress-head>strong{align-self:flex-start}}

/* v0.9.24 — Home drafting-paper theme + unified light-mode panels */
.landing-page{
  position:relative;
  isolation:isolate;
}
.landing-page:before{
  content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;
  background-color:#edf3f7;
  background-image:
    linear-gradient(rgba(56,102,139,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(56,102,139,.075) 1px,transparent 1px),
    linear-gradient(rgba(56,102,139,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(56,102,139,.035) 1px,transparent 1px);
  background-size:128px 128px,128px 128px,32px 32px,32px 32px;
}
.landing-page .landing-feature,
.landing-page .landing-intelligence,
.landing-page .pricing-card,
.landing-page .landing-funnel,
.landing-page .landing-workflow-visual{
  border:1px solid #cbd9e5;
  border-radius:9px;
  background-color:rgba(255,255,255,.97);
  background-image:
    linear-gradient(rgba(55,102,140,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(55,102,140,.025) 1px,transparent 1px);
  background-size:24px 24px;
  box-shadow:0 7px 20px rgba(25,56,83,.055);
}
.landing-page .landing-feature{border-top:3px solid #2d6fb7}
.landing-page .landing-feature h3,
.landing-page .landing-intelligence h2,
.landing-page .pricing-card h3,
.landing-page .landing-funnel h2{color:#112c49}
.landing-page .landing-feature p,
.landing-page .landing-intelligence p,
.landing-page .pricing-lead{color:#58708a}
.landing-page .landing-intelligence{border-left:4px solid #245e8d}
.landing-page .pricing-card.pro-card{box-shadow:inset 4px 0 #2d6fb7,0 7px 20px rgba(25,56,83,.055)}
.landing-page .landing-funnel{border-top:3px solid #245e8d}
.landing-page .hero-secondary{background:#fff;color:#163a5a;border:1px solid #9fb6c9}
.landing-page .hero-secondary:hover{background:#eef5fa;color:#0f2f4c}

/* v0.9.24 — Hero workflow process map */
.landing-workflow-visual{min-height:440px!important;display:block!important;padding:28px 30px!important;position:relative;overflow:hidden}
.workflow-blueprint-grid{opacity:.32!important;background-size:24px 24px!important}
.workflow-map-head,.workflow-map-foot{position:relative;z-index:3;display:flex;justify-content:space-between;gap:14px;font:800 9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em;color:#58708a}
.workflow-map-head small{font:inherit;color:#7e93a7}.workflow-map-foot{position:absolute;left:30px;right:30px;bottom:22px;border-top:1px solid #cbd9e5;padding-top:10px}
.workflow-spine{position:absolute;z-index:1;left:50%;top:88px;bottom:64px;width:2px;background:linear-gradient(#8fb7d8,#2d6fb7 52%,#efaa31)}
.workflow-spine:before{content:"";position:absolute;left:-5px;top:-5px;width:12px;height:12px;border-radius:50%;background:#2d6fb7;box-shadow:0 0 0 5px rgba(45,111,183,.11)}
.workflow-spine:after{content:"";position:absolute;left:-4px;bottom:-4px;width:10px;height:10px;transform:rotate(45deg);background:#efaa31}
.workflow-spine i{position:absolute;left:-4px;width:10px;height:10px;border:2px solid #2d6fb7;background:#fff;border-radius:50%}.workflow-spine i:nth-child(1){top:12%}.workflow-spine i:nth-child(2){top:38%}.workflow-spine i:nth-child(3){top:64%}.workflow-spine i:nth-child(4){top:88%;border-color:#efaa31}
.workflow-stage{position:absolute;z-index:3;width:42%;min-height:72px;border:1px solid #b9cad8;background:rgba(255,255,255,.94);display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:12px 14px;box-shadow:0 4px 12px rgba(24,53,78,.06)}
.workflow-stage:after{content:"";position:absolute;top:50%;height:1px;width:19%;background:#7fa6c4}
.workflow-stage:nth-of-type(odd):after{right:-19%}.workflow-stage:nth-of-type(even):after{left:-19%}
.workflow-stage.stage-1{left:5%;top:92px}.workflow-stage.stage-2{right:5%;top:174px}.workflow-stage.stage-3{left:5%;top:256px}.workflow-stage.stage-4{right:5%;top:338px}
.workflow-number{font:900 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:#2d6fb7;border:1px solid #a8bfd1;width:30px;height:30px;display:grid;place-items:center}
.workflow-stage div{display:grid}.workflow-stage strong{font-size:14px;letter-spacing:.035em;color:#102f4b}.workflow-stage small{font-size:10px;color:#617991}.workflow-stage>b{font-size:8px;letter-spacing:.11em;color:#8aa0b3}.workflow-stage.stage-4 .workflow-number,.workflow-stage.stage-4>b{color:#aa6d05}.workflow-stage.stage-4 .workflow-number{border-color:#dbb56c}

/* v0.9.24 — full-width Create Account primary action */
.auth-create-panel .login-submit{width:100%;display:block}

/* Dark drafting-paper equivalent */
:root[data-theme="dark"] .landing-page:before{
  background-color:#09131d;
  background-image:
    linear-gradient(rgba(93,146,185,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(93,146,185,.07) 1px,transparent 1px),
    linear-gradient(rgba(93,146,185,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(93,146,185,.032) 1px,transparent 1px);
  background-size:128px 128px,128px 128px,32px 32px,32px 32px;
}
:root[data-theme="dark"] .landing-page .landing-feature,
:root[data-theme="dark"] .landing-page .landing-intelligence,
:root[data-theme="dark"] .landing-page .pricing-card,
:root[data-theme="dark"] .landing-page .landing-funnel,
:root[data-theme="dark"] .landing-page .landing-workflow-visual{
  background-color:rgba(16,29,41,.97);border-color:#31495d;
  background-image:linear-gradient(rgba(96,150,190,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(96,150,190,.035) 1px,transparent 1px);
  box-shadow:0 9px 24px rgba(0,0,0,.16);
}
:root[data-theme="dark"] .landing-page .landing-feature h3,
:root[data-theme="dark"] .landing-page .landing-intelligence h2,
:root[data-theme="dark"] .landing-page .pricing-card h3,
:root[data-theme="dark"] .landing-page .landing-funnel h2{color:#e7f0f8}
:root[data-theme="dark"] .landing-page .landing-feature p,
:root[data-theme="dark"] .landing-page .landing-intelligence p,
:root[data-theme="dark"] .landing-page .pricing-lead{color:#9fb3c5}
:root[data-theme="dark"] .workflow-map-head,:root[data-theme="dark"] .workflow-map-foot{color:#8fb0c9}
:root[data-theme="dark"] .workflow-map-head small{color:#68869d}
:root[data-theme="dark"] .workflow-map-foot{border-color:#31495d}
:root[data-theme="dark"] .workflow-stage{background:rgba(18,34,48,.96);border-color:#3a5870;box-shadow:0 5px 16px rgba(0,0,0,.18)}
:root[data-theme="dark"] .workflow-stage strong{color:#edf5fb}:root[data-theme="dark"] .workflow-stage small{color:#9eb4c6}:root[data-theme="dark"] .workflow-stage>b{color:#7692a8}
:root[data-theme="dark"] .workflow-spine i{background:#101d29;border-color:#5b98c8}
:root[data-theme="dark"] .workflow-stage:after{background:#486f8d}
:root[data-theme="dark"] .landing-page .hero-secondary{background:#132433;color:#e7f0f8;border-color:#49657b}

@media(max-width:700px){
  .landing-workflow-visual{min-height:520px!important}
  .workflow-spine{left:28px;top:90px;bottom:62px}
  .workflow-stage,.workflow-stage.stage-1,.workflow-stage.stage-2,.workflow-stage.stage-3,.workflow-stage.stage-4{left:56px;right:22px;width:auto}
  .workflow-stage.stage-1{top:92px}.workflow-stage.stage-2{top:188px}.workflow-stage.stage-3{top:284px}.workflow-stage.stage-4{top:380px}
  .workflow-stage:after{left:-28px!important;right:auto!important;width:28px!important}
}


/* v0.9.27 — Home light-mode News-style blue section surfaces */
:root:not([data-theme="dark"]) .landing-page .landing-workflow-visual,
:root:not([data-theme="dark"]) .landing-page .landing-intelligence,
:root:not([data-theme="dark"]) .landing-page .landing-funnel{
  border:1px solid #174c75;
  background-color:#164f7b;
  background-image:
    linear-gradient(rgba(214,235,248,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(214,235,248,.07) 1px,transparent 1px),
    linear-gradient(135deg,rgba(8,45,74,.18),rgba(40,108,157,.14));
  background-size:28px 28px,28px 28px,100% 100%;
  box-shadow:0 8px 22px rgba(24,63,94,.10);
}
:root:not([data-theme="dark"]) .landing-page .landing-workflow-visual{padding:30px 34px!important}
:root:not([data-theme="dark"]) .landing-page .landing-intelligence{padding:38px}
:root:not([data-theme="dark"]) .landing-page .landing-funnel{padding:32px}
:root:not([data-theme="dark"]) .landing-page .landing-intelligence h2,
:root:not([data-theme="dark"]) .landing-page .landing-funnel h2{color:#fff}
:root:not([data-theme="dark"]) .landing-page .landing-intelligence p,
:root:not([data-theme="dark"]) .landing-page .landing-intelligence-status span,
:root:not([data-theme="dark"]) .landing-page .landing-intelligence-status small{color:#d5e6f2}
:root:not([data-theme="dark"]) .landing-page .landing-intelligence-status strong,
:root:not([data-theme="dark"]) .landing-page .landing-funnel .eyebrow{color:#fff}
:root:not([data-theme="dark"]) .landing-page .landing-intelligence-status>div{border-color:rgba(220,237,248,.24)}
:root:not([data-theme="dark"]) .landing-page .landing-pipeline span,
:root:not([data-theme="dark"]) .landing-page .funnel-steps span{background:rgba(255,255,255,.96);border-color:#bfd2e1;color:#183b58}
:root:not([data-theme="dark"]) .landing-page .funnel-steps b{border-color:#789fbd;background:#fff;color:#245e8d}
:root:not([data-theme="dark"]) .landing-page .workflow-map-head,
:root:not([data-theme="dark"]) .landing-page .workflow-map-head small,
:root:not([data-theme="dark"]) .landing-page .workflow-map-foot{color:#d5e6f2}
:root:not([data-theme="dark"]) .landing-page .workflow-map-foot{border-color:rgba(220,237,248,.28)}
:root:not([data-theme="dark"]) .landing-page .landing-feature-grid,
:root:not([data-theme="dark"]) .landing-page .pricing-grid{
  background-color:#164f7b;
  background-image:linear-gradient(rgba(214,235,248,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(214,235,248,.07) 1px,transparent 1px),linear-gradient(135deg,rgba(8,45,74,.18),rgba(40,108,157,.14));
  background-size:28px 28px,28px 28px,100% 100%;
  padding:14px;border-radius:9px;border:1px solid #174c75;box-sizing:border-box;box-shadow:0 8px 22px rgba(24,63,94,.08);
}
:root:not([data-theme="dark"]) .landing-page .landing-feature,
:root:not([data-theme="dark"]) .landing-page .pricing-card{margin:0;border-color:#c5d7e5;box-shadow:none}
@media(max-width:700px){
  :root:not([data-theme="dark"]) .landing-page .landing-workflow-visual{padding:22px!important}
  :root:not([data-theme="dark"]) .landing-page .landing-intelligence,
  :root:not([data-theme="dark"]) .landing-page .landing-funnel{padding:24px}
  :root:not([data-theme="dark"]) .landing-page .landing-feature-grid,
  :root:not([data-theme="dark"]) .landing-page .pricing-grid{padding:9px}
}

/* v0.9.27 — Engineering Reference Library */
.reference-page{max-width:1240px;margin:0 auto;padding:34px 24px 70px}.reference-hero{padding:28px}.reference-hero .panel-head{align-items:center}.reference-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center;margin-top:24px}.reference-flow strong{padding:16px;border:1px solid var(--line);background:var(--surface);text-align:center}.reference-flow span{font-weight:900;color:var(--muted)}.reference-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:16px 0}.reference-card{padding:22px}.reference-card h3{margin:8px 0}.reference-percent{display:block;font-size:30px;margin:10px 0;color:var(--accent)}.reference-card p{color:var(--muted);line-height:1.55}@media(max-width:800px){.reference-card-grid{grid-template-columns:1fr}.reference-flow{grid-template-columns:1fr}.reference-flow span{transform:rotate(90deg);text-align:center}}

/* v0.9.29 — Pay Item Intelligence 2/3 + 1/3 workspace */
.pay-item-layout-priority{grid-template-columns:minmax(0,2fr) minmax(280px,1fr);align-items:start}
.master-item-primary{padding:22px;border-top:4px solid var(--accent)}
.master-item-primary .pay-item-dl{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:0 22px}
.master-item-aliases{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.master-item-aliases small{font-weight:800;letter-spacing:.08em;color:var(--muted)}
.master-item-aliases p{margin:6px 0 0;line-height:1.55;color:var(--muted)}
.pay-item-layout-priority .pay-item-sidebar .spec-intel-card{position:sticky;top:96px}
@media(max-width:980px){.pay-item-layout-priority{grid-template-columns:1fr}.master-item-primary .pay-item-dl{grid-template-columns:1fr}.pay-item-layout-priority .pay-item-sidebar .spec-intel-card{position:static}}
/* v0.9.31 Project Design / Minimum Design Guidelines workflow */
.mdg-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.mdg-flow{margin-bottom:10px}.mdg-flowline{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;gap:8px;align-items:center;padding:16px}.mdg-flowline>b{color:#7890a5}.mdg-flow-node{min-height:84px;border:1px solid #c7d2dc;background:#f7fafc;padding:10px;display:flex;flex-direction:column;justify-content:center}.mdg-flow-node small{font-size:9px;color:#718292;font-weight:850}.mdg-flow-node strong{font-size:11px;color:#213a50;margin:3px 0}.mdg-flow-node span{font-size:10px;color:#6d7b88;line-height:1.35}.mdg-source-warning{margin:0 16px 16px;border-left:4px solid #b47b13;background:#fff7e6;padding:10px 12px;display:flex;gap:12px;align-items:flex-start;font-size:10px;color:#76540f}.mdg-source-warning strong{white-space:nowrap}.mdg-criteria{padding:10px}.mdg-criterion{display:grid;grid-template-columns:180px minmax(105px,.65fr) minmax(170px,1fr) minmax(105px,.65fr) 150px;gap:8px;align-items:end;padding:10px;border-bottom:1px solid #e2e8ed}.mdg-criterion:last-child{border-bottom:0}.mdg-criterion h3{font-size:12px;margin:0;color:#263849}.mdg-criterion .mdg-kind{font-size:9px;color:#758493}.mdg-criterion label{font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:#6e7d8a}.mdg-criterion input,.mdg-criterion select{width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #bfcbd5;background:#fff;padding:7px;font-size:11px}.mdg-rulebox{min-height:31px;border:1px dashed #d1aa60;background:#fff9ed;padding:7px;font-size:10px;color:#7c5b19;box-sizing:border-box}.mdg-completion{margin-top:10px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:20px}.mdg-completion h2{font-size:15px;margin:2px 0}.mdg-completion p{font-size:11px;color:#6f7c88;margin:0}.mdg-status-pass{color:#2f6844!important}.mdg-status-open{color:#835a0c!important}@media(max-width:1050px){.mdg-flowline{grid-template-columns:1fr}.mdg-flowline>b{transform:rotate(90deg);justify-self:center}.mdg-criterion{grid-template-columns:1fr 1fr}.mdg-criterion>div:first-child,.mdg-criterion>.mdg-rule-wrap{grid-column:1/-1}}@media(max-width:700px){.mdg-summary{grid-template-columns:1fr 1fr}.mdg-criterion{grid-template-columns:1fr}}
:root[data-theme="dark"] .mdg-flow-node{background:#172b3d;border-color:#385168}:root[data-theme="dark"] .mdg-flow-node strong{color:#e4edf5}:root[data-theme="dark"] .mdg-flow-node span,:root[data-theme="dark"] .mdg-flow-node small{color:#9eb0c0}:root[data-theme="dark"] .mdg-source-warning{background:#3a2d14;color:#f2d99e;border-color:#d2a34c}:root[data-theme="dark"] .mdg-rulebox{background:#332a18;border-color:#8d713b;color:#e6cf9c}:root[data-theme="dark"] .mdg-criterion input,:root[data-theme="dark"] .mdg-criterion select{background:#15283a;color:#e7edf2;border-color:#456077}
/* v0.9.31 verified Minimum Design Guidelines rules engine */
.mdg-source-warning.verified{border-left-color:#3f7653;background:#edf7f0;color:#315a40}.mdg-source-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 16px 16px}.mdg-source-links a{border:1px solid #b9c9d5;background:#f7fafc;color:#28587e;text-decoration:none;padding:7px 10px;font-size:10px;font-weight:800}.mdg-source-links a:hover{background:#edf4f8}.mdg-context-panel{margin-bottom:10px}.mdg-context-controls{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;padding:12px}.mdg-context-controls label{position:relative;font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:800;color:#6e7d8a}.mdg-context-controls input,.mdg-context-controls select{width:100%;box-sizing:border-box;margin-top:4px;border:1px solid #bfcbd5;background:#fff;padding:8px;font-size:11px}.mdg-context-controls label>span{position:absolute;right:8px;bottom:8px;font-size:9px;color:#8996a1}.mdg-result-cell{display:flex;flex-direction:column;gap:5px;align-items:stretch}.mdg-result-cell .status{text-align:center;white-space:nowrap}.mdg-result-cell select{margin-top:0!important;font-size:9px!important;padding:6px!important}.mdg-rulebox small{display:block;margin-top:4px;color:#6b7780;line-height:1.3}.mdg-page-ref{display:inline-block;margin-left:5px;padding:1px 4px;border:1px solid #c5d0d8;background:#eef3f6;color:#526675;font-size:8px;font-weight:850;white-space:nowrap}.status.fail{background:#f9e5e2!important;color:#8a352d!important;border-color:#e0a9a3!important}
:root[data-theme="dark"] .mdg-source-warning.verified{background:#183225;color:#bfe1c8;border-color:#67a979}:root[data-theme="dark"] .mdg-source-links a{background:#172b3d;border-color:#385168;color:#c9deed}:root[data-theme="dark"] .mdg-context-controls input,:root[data-theme="dark"] .mdg-context-controls select{background:#15283a;color:#e7edf2;border-color:#456077}:root[data-theme="dark"] .mdg-page-ref{background:#243a4c;color:#c3d3df;border-color:#496276}:root[data-theme="dark"] .mdg-rulebox small{color:#b6c0c8}:root[data-theme="dark"] .status.fail{background:#462622!important;color:#f0bbb5!important;border-color:#7e443e!important}
@media(max-width:1200px){.mdg-context-controls{grid-template-columns:repeat(3,minmax(120px,1fr))}}@media(max-width:700px){.mdg-context-controls{grid-template-columns:1fr 1fr}.mdg-result-cell{grid-column:1/-1}}

/* v0.9.32 categorical engineering tool library */
.tool-selectors{display:flex;gap:8px;flex:1;min-width:0}.tool-selectors label{display:grid;gap:3px;min-width:180px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#5a7183}.tool-selectors select{min-height:42px;padding:8px 34px 8px 10px;border:1px solid #b7c8d4;border-radius:8px;background:#fff;color:#173a55;font-size:11px;font-weight:800}.tool-grid .calc-list-item small{line-height:1.45}.tool-grid .calc-list-item small::first-line{font-weight:800}.embedded-calculator .tool-library{position:relative}.embedded-calculator .tool-selectors select{background:#f8fbfd}.curve-mode-picker{grid-column:1/-1}.calc-titlebar .eyebrow{letter-spacing:.08em}@media(max-width:760px){.tool-selectors{width:100%;flex-direction:column}.tool-selectors label{min-width:0;width:100%}.tool-selectors select{width:100%}}:root[data-theme="dark"] .tool-selectors label{color:#9eb4c4}:root[data-theme="dark"] .tool-selectors select{background:#122230;color:#edf5fa;border-color:#345069}

.workbench-tool-browser{margin-top:12px}.workbench-tool-selectors{display:grid;grid-template-columns:1.05fr 1.2fr 1.4fr auto;gap:9px;padding:14px}.workbench-tool-selectors label{display:grid;gap:4px;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:#5c7283}.workbench-tool-selectors select{min-height:42px;padding:8px;border:1px solid #b8c8d4;border-radius:7px;background:#fff;color:#203b50;font-weight:750}.workbench-tool-selectors .eng-action{align-self:end;min-height:42px}.workbench-tool-summary{margin:0 14px 14px;padding:12px;border-left:3px solid #4e7896;background:#f2f6f8;display:grid;gap:3px}.workbench-tool-summary strong{font-size:12px;color:#203b50}.workbench-tool-summary span{font-size:9px;font-weight:850;color:#4e718b}.workbench-tool-summary small{font-size:9px;color:#71818d}:root[data-theme="dark"] .workbench-tool-selectors label{color:#9db3c3}:root[data-theme="dark"] .workbench-tool-selectors select{background:#122230;color:#edf5fa;border-color:#345069}:root[data-theme="dark"] .workbench-tool-summary{background:#122230;border-color:#4c7898}:root[data-theme="dark"] .workbench-tool-summary strong{color:#edf5fa}@media(max-width:900px){.workbench-tool-selectors{grid-template-columns:1fr 1fr}.workbench-tool-selectors .eng-action{grid-column:1/-1}}@media(max-width:600px){.workbench-tool-selectors{grid-template-columns:1fr}}

/* v0.9.34 Tools hierarchy spacing */
.tool-library{padding:18px!important}
.tool-library-head{padding:6px 6px 20px!important}
.tool-filter-row{padding:4px 4px 18px!important;margin-bottom:18px!important;align-items:end!important}
.tool-selectors{gap:12px!important;align-items:end}
.tool-selectors label{gap:5px!important}
.tool-selectors select{min-height:44px!important}
.tool-grid{gap:12px!important}
@media(max-width:760px){.tool-library{padding:14px!important}.tool-library-head{padding-bottom:16px!important}.tool-filter-row{padding-bottom:14px!important;margin-bottom:14px!important}}


/* v0.9.37 calculator selector rhythm + resizable input/output workspace */
.tool-filter-row{padding:8px 8px 24px!important;margin-bottom:20px!important;gap:22px!important;align-items:end!important}
.tool-selectors{gap:20px!important;align-items:end!important;flex-wrap:wrap}
.tool-selectors label{gap:7px!important;min-width:210px!important}
.tool-selectors select{min-height:46px!important}
.calc-tier-nav{margin-left:auto;align-self:end}
.tool-grid{margin-top:2px!important;gap:14px!important}
.calc-main-grid{--calc-input-width:38%;display:grid;grid-template-columns:minmax(260px,var(--calc-input-width)) 12px minmax(0,1fr);gap:0!important;align-items:stretch}
.calc-main-grid>.calc-input-panel{grid-column:1;border-right:0!important}
.calc-main-grid>.calc-result-panel{grid-column:3;border-left:0!important}
.calc-splitter{grid-column:2;position:relative;cursor:col-resize;min-width:12px;background:linear-gradient(to right,transparent 5px,#9fb4c3 5px,#9fb4c3 7px,transparent 7px);touch-action:none;outline:none}
.calc-splitter::before{content:"";position:absolute;left:2px;right:2px;top:50%;height:54px;transform:translateY(-50%);border:1px solid #9fb4c3;border-radius:8px;background:#edf3f7}
.calc-splitter span,.calc-splitter span::before,.calc-splitter span::after{position:absolute;z-index:2;left:50%;width:2px;height:2px;border-radius:50%;background:#55758c;transform:translate(-50%,-50%)}
.calc-splitter span{top:50%}.calc-splitter span::before,.calc-splitter span::after{content:""}.calc-splitter span::before{top:-7px}.calc-splitter span::after{top:9px}
.calc-splitter:hover::before,.calc-splitter:focus-visible::before,.calc-splitter.is-dragging::before{border-color:#2d648c;background:#e3eef5}
.calc-splitter:focus-visible{outline:2px solid #2d648c;outline-offset:2px}
:root[data-theme="dark"] .calc-splitter{background:linear-gradient(to right,transparent 5px,#49687e 5px,#49687e 7px,transparent 7px)}
:root[data-theme="dark"] .calc-splitter::before{background:#172b3d;border-color:#49687e}
:root[data-theme="dark"] .calc-splitter span,:root[data-theme="dark"] .calc-splitter span::before,:root[data-theme="dark"] .calc-splitter span::after{background:#a8bfd0}
@media(max-width:980px){.tool-filter-row{gap:16px!important}.tool-selectors{gap:12px!important}.tool-selectors label{min-width:170px!important}}
@media(max-width:820px){.calc-main-grid{display:grid;grid-template-columns:1fr!important;gap:11px!important}.calc-main-grid>.calc-input-panel,.calc-main-grid>.calc-result-panel{grid-column:1;border-left:1px solid #aabcc9!important;border-right:1px solid #aabcc9!important}.calc-splitter{display:none}.tool-filter-row{padding-bottom:16px!important;margin-bottom:16px!important}}


/* v0.9.37 tool selector alignment + Typical Section splitter hardening */
.tool-filter-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:24px!important;row-gap:16px!important;align-items:end!important}
.tool-selectors{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;min-width:0!important;flex-wrap:nowrap!important;width:min(820px,100%)!important}
.tool-selectors label{min-width:0!important;width:100%!important}
.tool-selectors select{width:100%!important;min-width:0!important}
.calc-tier-nav{margin-left:0!important;justify-self:end!important;align-self:end!important}
.calc-main-grid{overflow:visible!important;min-width:0!important}
.calc-main-grid>.calc-input-panel,.calc-main-grid>.calc-result-panel{min-width:0!important;overflow:hidden}
.calc-splitter{width:12px!important;min-width:12px!important;max-width:12px!important;align-self:stretch!important;justify-self:stretch!important;z-index:4;user-select:none;-webkit-user-select:none}
html.calc-resizing,html.calc-resizing *{cursor:col-resize!important;user-select:none!important;-webkit-user-select:none!important}
#calc-active.typical-active .dynamic-calc-form{grid-template-columns:1fr!important}
#calc-active.typical-active .dynamic-calc-form label{min-width:0!important}
#calc-active.typical-active .calc-input-wrap,#calc-active.typical-active .dynamic-calc-form select{width:100%!important;min-width:0!important;box-sizing:border-box}
#calc-active.typical-active .calc-input-panel{overflow:visible!important}
@media(max-width:1100px){.tool-filter-row{grid-template-columns:1fr!important}.tool-selectors{width:100%!important}.calc-tier-nav{justify-self:start!important}}
@media(max-width:760px){.tool-selectors{grid-template-columns:1fr!important;gap:12px!important}}

/* v0.9.37 — calculator header hierarchy + Typical Section layout repair */
.tool-library-head{align-items:flex-start!important}
.tool-library-actions{width:min(540px,46%);display:grid;gap:14px;justify-items:stretch}
.tool-library-actions .tool-library-search{width:100%!important}
.tool-library-actions .calc-tier-nav{justify-self:end!important;width:min(300px,100%);margin:0!important}
.tool-filter-row{grid-template-columns:minmax(0,1fr)!important;display:grid!important;padding-top:14px!important}
.tool-selectors{width:min(900px,100%)!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}

/* Restore the 3-track resizable workspace for Typical Section. An older
   Typical Section rule used only two tracks and displaced the splitter. */
#calc-active.typical-active .calc-main-grid{
  --calc-input-width:42%;
  display:grid!important;
  grid-template-columns:minmax(360px,var(--calc-input-width)) 12px minmax(0,1fr)!important;
  gap:0!important;
}
#calc-active.typical-active .calc-input-panel{grid-column:1!important;overflow:hidden!important}
#calc-active.typical-active .calc-splitter{display:block!important;grid-column:2!important}
#calc-active.typical-active .calc-result-panel{grid-column:3!important;min-width:0!important}
#calc-active.typical-active .dynamic-calc-form{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 14px!important;
}
#calc-active.typical-active .dynamic-calc-form label{min-width:0!important}
#calc-active.typical-active .calc-input-wrap,
#calc-active.typical-active .dynamic-calc-form select{width:100%!important;min-width:0!important;box-sizing:border-box}

@media(max-width:1100px){
  .tool-library-head{flex-direction:column!important;gap:16px!important}
  .tool-library-actions{width:100%!important;grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .tool-library-actions .calc-tier-nav{width:auto;min-width:240px}
  .tool-selectors{width:100%!important}
}
@media(max-width:820px){
  .tool-library-actions{grid-template-columns:1fr!important}
  .tool-library-actions .calc-tier-nav{justify-self:start!important;width:min(300px,100%)}
  #calc-active.typical-active .calc-main-grid{grid-template-columns:1fr!important;gap:11px!important}
  #calc-active.typical-active .calc-input-panel,#calc-active.typical-active .calc-result-panel{grid-column:1!important}
  #calc-active.typical-active .calc-splitter{display:none!important}
}
@media(max-width:620px){
  #calc-active.typical-active .dynamic-calc-form{grid-template-columns:1fr!important}
}

/* v0.9.38 — dynamic Typical Section drafting + hatching */
.typical-plan-svg .material-band{stroke:#111;stroke-width:1;vector-effect:non-scaling-stroke}
.typical-plan-svg .finished-line{fill:none;stroke:#050505;stroke-width:2.2;vector-effect:non-scaling-stroke}
.typical-plan-svg .grading-overlay{stroke-dasharray:7 4;stroke-width:1.25;opacity:.8}
.typical-plan-svg .hydro{stroke:#111;stroke-width:1;stroke-dasharray:5 3}
.typical-plan-svg .callout{fill:#fff;stroke:#111;stroke-width:1}
.typical-plan-svg .callout-text{font:700 9px Arial,sans-serif;fill:#111}
.typical-live-note{padding:8px 11px;border-top:1px solid #c5cdcf;background:#f7f8f6;color:#526169;font-size:11px;line-height:1.45}
#calc-active.typical-active .calc-state.status.pass{background:#e8f4ec;color:#245c35}

/* v0.9.39 Typical Section drafting refinement + full-screen preview */
.typical-output-tabs{align-items:center;flex-wrap:wrap}
.typical-preview-head{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.typical-preview-tools{display:inline-flex;align-items:center;gap:4px}
.typical-preview-btn{border:1px solid #9ba9af;background:#fff;color:#233641;border-radius:4px;padding:4px 8px;font:700 10px Arial,sans-serif;cursor:pointer;line-height:1.1}
.typical-preview-btn:hover{background:#f2f5f6}
.typical-svg-stage{overflow:auto;background:#fff;overscroll-behavior:contain}
.typical-svg-stage.is-zoomed{cursor:grab}
.typical-plan-svg{transform-origin:top left;transition:width .14s ease}
.typical-plan-svg .dim-text{font:700 8.5px Arial,sans-serif;fill:#111}
.typical-plan-svg .dim-extension{stroke:#777;stroke-width:.65;stroke-dasharray:2 2}
.typical-plan-svg .profile-grade{stroke:#111;stroke-width:1;stroke-dasharray:7 4;vector-effect:non-scaling-stroke}
.typical-plan-svg .grade-note,.typical-plan-svg .hydro-label,.typical-plan-svg .half-section-label,.typical-plan-svg .vertical-label{font-family:Arial,sans-serif;fill:#111}
.typical-plan-svg .grade-note{font-size:8px;font-weight:700}
.typical-plan-svg .hydro-label,.typical-plan-svg .half-section-label{font-size:8px}
.typical-plan-svg .vertical-label{font-size:8.5px;font-weight:700}
.typical-plan-svg .vertical-dim{stroke:#111;stroke-width:1}
.typical-plan-svg .text-knockout{fill:#fff;opacity:.94}
.typical-plan-svg .slope-ratio{paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.typical-output:fullscreen{background:#edf2f4;border:0;border-radius:0;width:100vw;height:100vh;display:flex;flex-direction:column;padding:10px}
.typical-output:fullscreen .typical-svg-stage{flex:1;display:flex;align-items:flex-start;justify-content:center;background:#fff}
.typical-output:fullscreen .typical-plan-svg{width:min(100%,1600px);min-width:1000px}
.typical-output:fullscreen .typical-live-note{flex:0 0 auto}
.typical-fullscreen-fallback{position:fixed!important;inset:0!important;z-index:10000!important;width:100vw!important;height:100vh!important;background:#edf2f4!important;border:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;padding:10px!important}
.typical-fullscreen-fallback .typical-svg-stage{flex:1;display:flex;align-items:flex-start;justify-content:center;background:#fff}
.typical-fullscreen-fallback .typical-plan-svg{width:min(100%,1600px);min-width:1000px}
@media(max-width:900px){.typical-preview-head{width:100%;justify-content:space-between}.typical-preview-tools{margin-left:auto}.typical-preview-btn{padding:5px 7px}}
/* v0.9.40 submittal date controls */
.stage-date-field{display:grid;gap:4px;min-width:170px;font-size:.78rem;font-weight:700}.stage-date-field input{min-height:38px}
@media(max-width:760px){.stage-pair-row{align-items:stretch}.stage-date-field{min-width:0}}
.stage-card-date{display:block;margin-top:5px;font-weight:800;letter-spacing:.02em}

/* v0.9.41 Typical Section dedicated horizontal design workspace */
#calc-active.typical-active .calc-main-grid{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
#calc-active.typical-active .calc-input-panel,
#calc-active.typical-active .calc-result-panel{
  width:100%!important;
  grid-column:auto!important;
  border:1px solid #aabcc9!important;
  overflow:visible!important;
}
#calc-active.typical-active .calc-splitter{display:none!important}
#calc-active.typical-active .dynamic-calc-form{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(145px,1fr))!important;
  gap:11px 14px!important;
}
#calc-active.typical-active .calc-result-panel{min-height:560px}
#calc-active.typical-active .typical-svg-stage{min-height:520px}
#calc-active.typical-active .typical-plan-svg{width:100%;min-width:900px}
@media(max-width:1250px){#calc-active.typical-active .dynamic-calc-form{grid-template-columns:repeat(3,minmax(145px,1fr))!important}}
@media(max-width:820px){#calc-active.typical-active .dynamic-calc-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}#calc-active.typical-active .typical-plan-svg{min-width:760px}}
@media(max-width:560px){#calc-active.typical-active .dynamic-calc-form{grid-template-columns:1fr!important}}

/* v0.9.43 — site-wide tactile action feedback */
button,[role="button"],.btn,.eng-action{transition:transform .09s ease,box-shadow .16s ease,filter .16s ease,background-color .16s ease,border-color .16s ease}
button:not(:disabled):active,[role="button"]:not([aria-disabled="true"]):active,.btn:active,.eng-action:active,.tw-action-pressed{transform:translateY(1px) scale(.975)!important;filter:brightness(.94)}
.tw-action-pulse{animation:twActionPulse .5s ease-out}
@keyframes twActionPulse{0%{box-shadow:0 0 0 0 rgba(73,151,202,.48)}55%{box-shadow:0 0 0 5px rgba(73,151,202,.15)}100%{box-shadow:0 0 0 8px rgba(73,151,202,0)}}
.tw-action-feedback-toast{position:fixed;right:18px;bottom:18px;z-index:99999;max-width:min(360px,calc(100vw - 36px));padding:9px 13px;border:1px solid #6d8da4;border-radius:7px;background:#17354a;color:#eef8ff;font:800 10px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:.025em;box-shadow:0 8px 24px rgba(0,0,0,.22);opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .15s ease,transform .15s ease}
.tw-action-feedback-toast.show{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){button,[role="button"],.btn,.eng-action,.tw-action-feedback-toast{transition:none!important}.tw-action-pulse{animation:none!important}}

/* v0.9.43 — organized Typical Section design groups + viewer controls */
#calc-active.typical-active .dynamic-calc-form{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:10px!important;padding:12px!important;align-items:start}
#calc-active.typical-active .typical-input-group{min-width:0;margin:0;border:1px solid #3c586b;background:rgba(9,28,41,.22);padding:9px;border-radius:5px}
#calc-active.typical-active .typical-input-group legend{padding:0 6px;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#8fc0df}
#calc-active.typical-active .typical-group-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}
#calc-active.typical-active .typical-group-section{grid-column:span 5}#calc-active.typical-active .typical-group-lanes{grid-column:span 4}#calc-active.typical-active .typical-group-shoulders{grid-column:span 3}
#calc-active.typical-active .typical-group-left,#calc-active.typical-active .typical-group-right{grid-column:span 6}#calc-active.typical-active .typical-group-left .typical-group-fields,#calc-active.typical-active .typical-group-right .typical-group-fields{grid-template-columns:1.35fr repeat(4,1fr)}
#calc-active.typical-active .typical-group-pavement{grid-column:span 9}#calc-active.typical-active .typical-group-pavement .typical-group-fields{grid-template-columns:repeat(4,minmax(0,1fr))}#calc-active.typical-active .typical-group-elevation{grid-column:span 3}#calc-active.typical-active .typical-group-elevation .typical-group-fields{grid-template-columns:1fr}
.typical-preview-tools{flex-wrap:wrap;justify-content:flex-end}.typical-viewer-control{display:flex;align-items:center;gap:2px;margin-right:5px}.typical-viewer-control>span{font-size:6px;font-weight:900;letter-spacing:.1em;color:#60717d;margin-right:3px}.typical-preview-btn.active{background:#244c68!important;color:#fff!important;border-color:#244c68!important}.typical-tool-sep{height:20px;width:1px;background:#aab6bd;margin:0 3px}
@media(max-width:1250px){#calc-active.typical-active .dynamic-calc-form{grid-template-columns:repeat(6,minmax(0,1fr))!important}#calc-active.typical-active .typical-input-group{grid-column:span 6!important}}
@media(max-width:760px){#calc-active.typical-active .typical-group-fields,#calc-active.typical-active .typical-group-left .typical-group-fields,#calc-active.typical-active .typical-group-right .typical-group-fields,#calc-active.typical-active .typical-group-pavement .typical-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.typical-viewer-control>span{display:none}}


/* v0.9.46 Typical Section input alignment */
#calc-active.typical-active .typical-group-fields>label{min-width:0;display:grid;grid-template-rows:28px 44px;align-items:start;gap:4px}
#calc-active.typical-active .typical-group-fields>label>span{display:flex;align-items:flex-end;min-height:28px;line-height:1.15;overflow-wrap:normal;word-break:normal}
#calc-active.typical-active .typical-group-fields>label>.calc-input-wrap,
#calc-active.typical-active .typical-group-fields>label>select{height:44px;align-self:start}
#calc-active.typical-active .typical-group-fields>label>select{width:100%;min-width:0}
#calc-active.typical-active .calc-input-wrap input{height:42px}
#calc-active.typical-active .typical-group-left .typical-group-fields,
#calc-active.typical-active .typical-group-right .typical-group-fields{align-items:start}

/* v0.9.48 — Typical Section crown/superelevation controls */
#calc-active.typical-active .typical-group-lanes .typical-group-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){#calc-active.typical-active .typical-group-lanes .typical-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.9.49 — Header alignment + long search-category labels */
.site-header .nav-wrap{
  max-width:none;
  margin:0;
  padding-left:7px;
  padding-right:22px;
}
.header-search-mode{
  width:150px;
  min-width:150px;
  padding-left:12px;
  padding-right:32px;
  white-space:nowrap;
}
.header-search-results{left:-150px}
@media(max-width:640px){
  .site-header .nav-wrap{padding-left:10px;padding-right:10px}
  .header-search-mode{width:150px;min-width:150px}
  .header-search-results{left:-150px}
}


/* v0.9.50 — align global header container with Home landing content datum */
.site-header .nav-wrap{
  max-width:1500px;
  margin:0 auto;
  padding-left:22px;
  padding-right:22px;
}
@media(max-width:640px){
  .site-header .nav-wrap{padding-left:14px;padding-right:14px}
}

/* v0.9.52 — landing page section system, readable tools, project actions, promo + estimate lookup */
.landing-page .home-section-shell,.landing-page .home-section-panel{margin:24px 0;padding:26px 28px;border:1px solid #6f9fbe;border-radius:10px;background:linear-gradient(rgba(255,255,255,.035),rgba(255,255,255,.035)),#174f78;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.landing-page .home-section-shell .engineering-section-title,.landing-page .home-section-panel .engineering-section-title{margin-top:0}
.landing-page .home-section-shell .engineering-section-title h2,.landing-page .home-section-panel .engineering-section-title h2,.landing-page .home-section-shell .engineering-section-title p,.landing-page .home-section-panel .engineering-section-title p,.landing-page .home-section-shell .draft-mark,.landing-page .home-section-panel .draft-mark{color:#f4f8fb!important}
.landing-page .home-section-shell .engineering-section-title p,.landing-page .home-section-panel .engineering-section-title p{opacity:.84}
.landing-page .home-news-shell{padding:18px}.landing-page .home-news-shell .landing-news-feed{margin:12px 0 0}.landing-page .home-value-shell .landing-value{padding:0}.landing-page .home-value-shell .landing-feature-grid{margin-top:18px}
.landing-page .landing-plans.home-section-panel{padding:26px 28px}.landing-page .landing-plans.home-section-panel .pricing-grid{margin-top:16px}
:root[data-theme="dark"] .landing-page .home-section-shell,:root[data-theme="dark"] .landing-page .home-section-panel{background:#102b40;border-color:#355c76}
:root[data-theme="dark"] .landing-page .home-section-shell .engineering-section-title h2,:root[data-theme="dark"] .landing-page .home-section-panel .engineering-section-title h2,:root[data-theme="dark"] .landing-page .home-section-shell .engineering-section-title p,:root[data-theme="dark"] .landing-page .home-section-panel .engineering-section-title p{color:#edf6fb!important}

/* Tools typography: consistent, legible supporting scale */
.tool-library-head h1{font-size:28px!important}.tool-library-head p{font-size:13px!important;line-height:1.5!important}.tool-selectors label{font-size:11px!important}.tool-selectors select{font-size:13px!important}.tool-grid .calc-list-item strong{font-size:14px!important;line-height:1.25}.tool-grid .calc-list-item small{font-size:11px!important;line-height:1.45!important}.tool-grid .calc-list-item .status,.tool-grid .calc-list-item [class*="tier"]{font-size:10px!important}

/* Light-mode utility actions must read as buttons */
:root:not([data-theme="dark"]) #create-project-button,:root:not([data-theme="dark"]) .section-title .btn.ghost{background:#f4f8fb!important;border:1px solid #9bb7cb!important;color:#123a5b!important;box-shadow:0 1px 2px rgba(20,55,80,.08)}
:root:not([data-theme="dark"]) #create-project-button:hover,:root:not([data-theme="dark"]) .section-title .btn.ghost:hover{background:#e4f0f8!important;border-color:#5e91b4!important}

/* Pro scroll marketing prototype */
.home-pro-promo{position:fixed;right:24px;bottom:24px;z-index:1200;width:min(430px,calc(100vw - 32px));padding:24px;border:1px solid #6fa7cc;border-radius:12px;background:#0d3552;color:#eef7fc;box-shadow:0 22px 60px rgba(0,0,0,.32);animation:twPromoIn .28s ease-out}
.home-pro-promo[hidden]{display:none}.home-pro-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:1px solid #7199b5;border-radius:7px;background:#173f5b;color:#fff;font-size:22px;cursor:pointer}.promo-kicker{font:850 10px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;color:#f2bd45}.home-pro-promo h2{margin:8px 42px 8px 0;font-size:25px}.home-pro-promo p{color:#c7dce9;line-height:1.5}.promo-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin:17px 0}.promo-original{text-decoration:line-through;color:#9fb7c7}.promo-price strong{font-size:30px;color:#fff}.promo-price strong small{font-size:13px}.promo-price em{font-style:normal;color:#f2bd45;font-weight:800}.promo-compare{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.promo-compare span{padding:10px;border:1px solid #456d88;background:#123f5e;font-size:11px;line-height:1.4}.promo-compare b{display:block;color:#fff;margin-bottom:3px}.promo-disclaimer{display:block;margin-top:12px;color:#8faabd}.home-pro-promo .btn.ghost{color:#fff;border-color:#6e94ad;background:#163e59}@keyframes twPromoIn{from{transform:translateY(22px);opacity:0}to{transform:none;opacity:1}}@media(max-width:620px){.home-pro-promo{right:16px;bottom:16px}.promo-compare{grid-template-columns:1fr}}

/* Estimate bid-history lookup */
.estimate-history-lookup{margin:0 0 12px;padding:16px}.estimate-history-head h2{margin:3px 0 4px;font-size:18px}.estimate-history-head p{margin:0;color:var(--muted);font-size:12px}.estimate-history-search{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;gap:8px;margin-top:12px}.estimate-history-search input,.estimate-history-search select{min-height:40px;border:1px solid var(--line);border-radius:5px;background:var(--card);color:var(--text);padding:8px 10px}.bid-history-results{margin-top:12px}.bid-history-card{display:grid;grid-template-columns:1.5fr repeat(4,minmax(90px,.7fr)) auto;gap:8px;align-items:center;border-top:1px solid var(--line);padding:11px 0}.bid-history-card small{display:block;color:var(--muted)}.bid-history-stat b{display:block;font-size:12px}.bid-history-stat span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}@media(max-width:900px){.estimate-history-search{grid-template-columns:1fr}.bid-history-card{grid-template-columns:1fr 1fr}}


/* v0.9.52 — Home hero containment + focused Pro modal + subscription UI */
.landing-page>.landing-hero{margin:24px 0;padding:42px 38px 48px!important;border:1px solid #6f9fbe!important;border-radius:12px;background:linear-gradient(rgba(255,255,255,.025),rgba(255,255,255,.025)),#174f78;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);color:#f4f8fb}
.landing-page>.landing-hero .landing-hero-copy>p{color:#dcebf5!important}.landing-page>.landing-hero .hero-kicker span{color:#c9dfed}.landing-page>.landing-hero .hero-rule{color:#f1b93d!important}
.landing-page>.landing-hero .landing-workflow-visual{margin:0!important;min-width:0}.landing-page>.landing-hero .workflow-map-foot{bottom:16px!important;padding-top:8px!important;background:linear-gradient(90deg,rgba(20,77,116,.92),rgba(20,77,116,.76));z-index:8}.landing-page>.landing-hero .workflow-stage.stage-4{bottom:58px!important}.landing-page>.landing-hero .workflow-map-foot span:last-child{padding-left:14px;white-space:nowrap}
:root[data-theme="dark"] .landing-page>.landing-hero{background:#102b40;border-color:#355c76!important}.landing-page>.landing-hero h1{color:#f7fbff!important}
@media(max-width:980px){.landing-page>.landing-hero{padding:28px 24px 34px!important}.landing-page>.landing-hero .workflow-stage.stage-4{bottom:68px!important}}

.home-pro-backdrop{position:fixed;inset:0;z-index:1490;background:rgba(3,13,22,.60);backdrop-filter:blur(8px) saturate(.8);-webkit-backdrop-filter:blur(8px) saturate(.8)}.home-pro-backdrop[hidden]{display:none}.pro-modal-open{overflow:hidden}
.home-pro-modal{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);z-index:1500;width:min(980px,calc(100vw - 42px));padding:0!important;border:1px solid #678ba6;border-radius:16px;background:#0e3048;color:#eef7fc;box-shadow:0 32px 100px rgba(0,0,0,.52);overflow:hidden;animation:twPromoCenterIn .24s ease-out}
.home-pro-modal[hidden]{display:none!important}.home-pro-split{display:grid;grid-template-columns:1fr 1fr;min-height:520px}.promo-free-side,.promo-pro-side{padding:46px 42px;display:flex;flex-direction:column}.promo-free-side{background:linear-gradient(145deg,#123e5c,#0c2b41)}.promo-pro-side{position:relative;background:radial-gradient(circle at 88% 4%,rgba(255,208,89,.25),transparent 35%),linear-gradient(145deg,#47350d 0%,#1b2630 52%,#102f47 100%);border-left:1px solid rgba(244,191,57,.48);box-shadow:inset 5px 0 0 rgba(231,169,31,.82)}
.promo-pro-side:before{content:"";position:absolute;inset:14px;border:1px solid rgba(248,203,91,.24);border-radius:10px;pointer-events:none}.promo-free-side h2,.promo-pro-side h2{font-size:30px;line-height:1.12;margin:10px 0 13px;color:#fff}.promo-free-side p,.promo-pro-side p{font-size:15px;line-height:1.55;color:#c8dbe8}.promo-pro-side .promo-kicker{color:#ffd36b}.promo-benefit-list{display:grid;gap:10px;margin:20px 0 26px}.promo-benefit-list span{padding:10px 12px;border:1px solid rgba(132,178,207,.28);background:rgba(8,28,42,.30);font-weight:750}.promo-benefit-list.pro span{border-color:rgba(247,198,75,.33);background:rgba(94,66,11,.23);color:#fff3c7}.promo-free-side .promo-later{margin-top:auto;align-self:flex-start;color:#fff;border-color:#6f91a8;background:#163e59}.promo-price{display:grid!important;grid-template-columns:auto 1fr;align-items:end!important;margin:14px 0 4px!important}.promo-price .promo-original{grid-column:1/3;font-size:15px}.promo-price strong{font-size:42px!important;color:#fff5d2!important;text-shadow:0 0 22px rgba(255,196,55,.22)}.promo-price em{font-size:16px!important;color:#ffd15c!important}.promo-pro-cta{position:relative;z-index:2;background:linear-gradient(#ffd66d,#e7ad28)!important;color:#1e2a35!important;border:1px solid #ffe3a1!important;box-shadow:0 8px 28px rgba(231,173,40,.22)!important;font-weight:900!important}.promo-disclaimer{margin-top:14px;color:#aabcc8!important}.home-pro-close,.pro-checkout-close{z-index:5}.home-pro-modal .home-pro-close{right:14px;top:14px;background:rgba(9,31,45,.66);border-color:#819daf}.home-pro-modal .home-pro-close:hover{background:#1d4a68}
@keyframes twPromoCenterIn{from{transform:translate(-50%,-46%) scale(.975);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}

.pro-checkout-modal{position:fixed;z-index:1510;left:50%;top:50%;transform:translate(-50%,-50%);width:min(850px,calc(100vw - 42px));display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.7fr);background:#f7fafc;color:#14293a;border:1px solid #d2b45b;border-radius:15px;box-shadow:0 32px 100px rgba(0,0,0,.55);overflow:hidden}.pro-checkout-modal[hidden]{display:none}.pro-checkout-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border-radius:8px;border:1px solid #a38b45;background:#fff8dc;color:#2c3540;font-size:22px;cursor:pointer}.checkout-main{padding:38px}.checkout-main h2{font-size:28px;margin:8px 0}.checkout-warning{padding:10px 12px;background:#fff4c7;border:1px solid #e6c760;color:#5d4b12;font-weight:700}.checkout-main form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.checkout-main label{display:grid;gap:6px;font-size:12px;font-weight:850}.checkout-main input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #9fb4c3;border-radius:6px;background:#fff;color:#162737;font:inherit}.checkout-wide{grid-column:1/-1}.checkout-state{min-height:22px;margin-top:12px;font-weight:850;color:#2d6b49}.checkout-summary{padding:72px 30px 32px;background:radial-gradient(circle at 80% 8%,rgba(255,213,95,.30),transparent 34%),linear-gradient(160deg,#503b0e,#19354a 68%);color:#fff;border-left:1px solid #d7ad3e}.checkout-summary>span{font:850 10px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.13em;color:#ffd565}.checkout-summary>strong{display:block;font-size:38px;margin:14px 0 0;color:#fff3c7}.checkout-summary strong small{font-size:13px}.checkout-summary>b{color:#ffd565}.checkout-summary hr{border:0;border-top:1px solid rgba(255,215,110,.35);margin:28px 0}.checkout-summary .regular-price{font-size:28px}.checkout-summary p{color:#cbd8e2;line-height:1.5}
:root[data-theme="dark"] .pro-checkout-modal{background:#102331;color:#eef7fb;border-color:#8b7536}:root[data-theme="dark"] .checkout-main input{background:#0a1823;color:#eef7fb;border-color:#46647a}:root[data-theme="dark"] .checkout-warning{background:#493b10;color:#ffe8a0;border-color:#8a7227}

.subscription-current-card{display:grid;grid-template-columns:auto 1fr;gap:5px 16px;align-items:center;padding:18px 20px;margin:10px 0 18px;border:1px solid #b9cad6;border-radius:9px;background:#eef4f7}.subscription-current-card>span{grid-row:1/3;font:900 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.11em;color:#597285}.subscription-current-card>strong{font-size:26px;color:#153b5a}.subscription-current-card>small{color:#667b8b}.subscription-actions{display:flex;gap:10px;flex-wrap:wrap;padding:18px 0}.btn.danger{border-color:#d4473c!important;color:#a92820!important;background:#fff5f3!important}.btn.danger:hover{background:#ffe3df!important}:root[data-theme="dark"] .subscription-current-card{background:#0c1d29;border-color:#365267}:root[data-theme="dark"] .subscription-current-card>strong{color:#f0f7fb}:root[data-theme="dark"] .subscription-current-card>small,:root[data-theme="dark"] .subscription-current-card>span{color:#9eb5c5}:root[data-theme="dark"] .btn.danger{background:#341817!important;color:#ffaaa3!important;border-color:#9a4640!important}

@media(max-width:760px){.home-pro-split{grid-template-columns:1fr;max-height:82vh;overflow:auto}.promo-free-side,.promo-pro-side{padding:32px 26px}.promo-pro-side{border-left:0;border-top:1px solid rgba(244,191,57,.48);box-shadow:inset 0 5px 0 rgba(231,169,31,.82)}.pro-checkout-modal{grid-template-columns:1fr;max-height:88vh;overflow:auto}.checkout-summary{padding:28px 32px;border-left:0;border-top:1px solid #d7ad3e}.checkout-main form{grid-template-columns:1fr}.checkout-wide{grid-column:auto}.landing-page>.landing-hero{padding:24px 18px 30px!important}}


/* v0.9.53 — product hero, checkout validation, taxonomy, and light-mode action consistency */
.header-search-mode{min-width:172px!important;width:172px!important}
.landing-page>.landing-hero .landing-proof-strip span{color:#f5fbff!important;background:rgba(5,35,56,.48)!important;border-color:rgba(196,224,241,.55)!important;font-weight:850!important}
.landing-page>.landing-hero .hero-kicker span{color:#e8f5fc!important}
.landing-page>.landing-hero .button-row .hero-primary{background:#0877bd!important;border-color:#2e9cdb!important;color:#fff!important;padding:12px 22px!important;box-shadow:0 8px 22px rgba(0,37,64,.22)}
.landing-page>.landing-hero .button-row .hero-secondary{background:#f5fbff!important;border:2px solid #78afd0!important;color:#103a58!important;padding:11px 22px!important}
.landing-page>.landing-hero .button-row .hero-primary:hover{background:#096aa6!important}.landing-page>.landing-hero .button-row .hero-secondary:hover{background:#dceefa!important;border-color:#9ac8e3!important}
.landing-workbench-visual{position:relative;min-height:430px;overflow:hidden;border:1px solid rgba(177,215,237,.6);background:linear-gradient(rgba(5,43,69,.18),rgba(5,43,69,.18)),#0e3e5e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}
.workbench-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(139,197,229,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(139,197,229,.14) 1px,transparent 1px);background-size:24px 24px}
.workbench-visual-head{position:absolute;left:24px;right:24px;top:20px;display:flex;justify-content:space-between;gap:20px;font:850 9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;color:#cce9f8}.workbench-visual-head small{font:inherit;color:#9bc7df}
.workbench-plan-sheet{position:absolute;left:23%;top:24%;width:54%;height:48%;transform:rotate(-2deg);background:#edf5f8;border:1px solid #a8c7d8;box-shadow:0 16px 36px rgba(0,18,31,.34);overflow:hidden;color:#1a5275}.workbench-plan-sheet:before,.workbench-plan-sheet:after{content:"";position:absolute;left:-5%;right:-5%;border-top:2px solid #5b89a4;transform:rotate(-8deg)}.workbench-plan-sheet:before{top:42%}.workbench-plan-sheet:after{top:58%;transform:rotate(6deg)}.workbench-plan-sheet i{position:absolute;left:10%;right:10%;height:1px;background:#8bb0c4}.workbench-plan-sheet i:nth-of-type(1){top:25%}.workbench-plan-sheet i:nth-of-type(2){top:50%}.workbench-plan-sheet i:nth-of-type(3){top:75%}.workbench-plan-sheet span{position:absolute;left:8%;top:8%;font:800 9px ui-monospace,monospace}.workbench-plan-sheet b{position:absolute;right:7%;bottom:7%;font:900 10px ui-monospace,monospace;letter-spacing:.08em}
.workbench-module{position:absolute;z-index:3;display:grid;gap:2px;min-width:150px;padding:12px 14px;border:1px solid #a8ccdf;background:rgba(248,252,254,.97);box-shadow:0 9px 24px rgba(0,24,40,.28);color:#123b58}.workbench-module small{font:900 8px ui-monospace,monospace;letter-spacing:.1em;color:#4b7690}.workbench-module strong{font-size:14px}.workbench-module span{font-size:9px;color:#5e7c8e}.wb-plans{left:5%;top:21%}.wb-design{right:4%;top:20%}.wb-estimate{left:5%;bottom:18%}.wb-qaqc{right:5%;bottom:17%}.wb-drainage{right:3%;top:48%}
.workbench-stage{position:absolute;z-index:4;left:40%;top:39%;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #f3c24f;background:#173f58;color:#fff;box-shadow:0 10px 24px rgba(0,18,31,.28)}.workbench-stage>span{display:grid;place-items:center;width:38px;height:38px;border:1px solid #f3c24f;color:#ffd46b;font-weight:900}.workbench-stage div{display:grid}.workbench-stage small{font:800 7px ui-monospace,monospace;letter-spacing:.09em;color:#a9cadc}.workbench-stage strong{font-size:12px}
.workbench-capability-rail{position:absolute;z-index:5;left:20px;right:20px;bottom:14px;display:flex;justify-content:center;align-items:center;gap:8px;padding:8px 10px;background:rgba(6,31,48,.8);border-top:1px solid rgba(150,203,232,.35);font:850 8px ui-monospace,monospace;letter-spacing:.08em;color:#d8effa}.workbench-capability-rail i{font-style:normal;color:#f2bc3e}
.checkout-main input.field-invalid{border-color:#c9382c!important;box-shadow:0 0 0 2px rgba(201,56,44,.13)!important}.checkout-state.error{color:#b42318!important}.checkout-main input:focus{outline:2px solid rgba(25,112,167,.22);outline-offset:1px}
:root:not([data-theme="dark"]) body[data-page="calculators"] .eng-action,:root:not([data-theme="dark"]) body[data-page="calculators"] .calc-actions .btn:not(.ghost),:root:not([data-theme="dark"]) body[data-page="project"] .calc-actions .btn:not(.ghost){background:#0b6092!important;border-color:#0b6092!important;color:#fff!important}:root:not([data-theme="dark"]) body[data-page="calculators"] .eng-action:hover,:root:not([data-theme="dark"]) body[data-page="calculators"] .calc-actions .btn:not(.ghost):hover{background:#084d76!important;border-color:#084d76!important}
@media(max-width:980px){.landing-workbench-visual{min-height:410px}.workbench-module{min-width:135px}.workbench-visual-head small{display:none}}
@media(max-width:620px){.header-search-mode{min-width:150px!important;width:150px!important}.landing-workbench-visual{min-height:520px}.workbench-plan-sheet{left:13%;width:74%;top:28%;height:38%}.wb-plans{left:4%;top:17%}.wb-design{right:4%;top:17%}.wb-estimate{left:4%;bottom:19%}.wb-qaqc{right:4%;bottom:19%}.wb-drainage{display:none}.workbench-stage{left:31%;top:43%}.workbench-capability-rail{gap:5px;font-size:7px}}

/* v0.9.54 — interactive photographic home hero using the approved generated visual. */
.landing-page>.landing-hero.landing-hero-image{display:block!important;padding:0!important;overflow:hidden;border-color:#6f9fbe!important;background:#0d3654!important}
.home-hero-image-map{position:relative;width:100%;aspect-ratio:1658/873;overflow:hidden;background:#0b2f49}
.home-hero-image-map>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-hotspot{position:absolute;display:block;border:1px solid transparent;border-radius:10px;z-index:3;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.hero-hotspot:hover,.hero-hotspot:focus-visible{background:rgba(39,160,229,.10);border-color:rgba(121,210,255,.85);box-shadow:0 0 0 2px rgba(17,102,157,.22),0 10px 26px rgba(0,20,36,.22);outline:none;transform:translateY(-1px)}
.hero-start-free{left:3.6%;top:45.2%;width:9.4%;height:6.6%}.hero-learn-more{left:13.3%;top:45.2%;width:9.5%;height:6.6%}
.hero-plans{left:32.4%;top:5.4%;width:17.2%;height:14.2%}.hero-design{left:32.4%;top:21.2%;width:17.2%;height:14.4%}.hero-estimate{left:32.4%;top:37.1%;width:17.2%;height:14.2%}
.hero-drainage{left:78.9%;top:5.4%;width:17.2%;height:14.2%}.hero-qaqc{left:78.9%;top:21.2%;width:17.2%;height:14.4%}.hero-project-management{left:78.9%;top:37.1%;width:17.2%;height:14.2%}
.hero-rail-plans{left:4.4%;bottom:1.5%;width:9.2%;height:7.2%}.hero-rail-design{left:16.2%;bottom:1.5%;width:10.2%;height:7.2%}.hero-rail-estimate{left:29.4%;bottom:1.5%;width:10.2%;height:7.2%}.hero-rail-qaqc{left:42.5%;bottom:1.5%;width:9.4%;height:7.2%}.hero-rail-manage{left:55.4%;bottom:1.5%;width:10.0%;height:7.2%}.hero-rail-deliver{left:68.1%;bottom:1.5%;width:9.6%;height:7.2%}
.home-hero-mobile-links{display:none}
@media(max-width:900px){.landing-page>.landing-hero.landing-hero-image{margin-top:18px}.home-hero-image-map{aspect-ratio:1658/873}.hero-hotspot{border-radius:7px}.home-hero-mobile-links{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#0b2f49;border-top:1px solid rgba(137,197,230,.35)}.home-hero-mobile-links a{flex:1 1 110px;text-align:center;text-decoration:none;color:#eef8ff;background:#145c8a;border:1px solid #4c98c5;border-radius:7px;padding:10px 8px;font-weight:800;font-size:12px}.home-hero-mobile-links a:hover{background:#1873aa}}
@media(max-width:620px){.landing-page>.landing-hero.landing-hero-image{padding:0!important}.home-hero-image-map{aspect-ratio:1/1.05}.home-hero-image-map>img{width:200%;max-width:none;transform:translateX(-49%);object-fit:cover}.hero-hotspot{display:none}.home-hero-mobile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v0.9.57 — clean hero hotspots; only the bottom workflow rail is visibly interactive. */
.hero-hotspot:not([class*="hero-rail-"]){
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.hero-hotspot:not([class*="hero-rail-"]):hover,
.hero-hotspot:not([class*="hero-rail-"]):focus-visible{
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  outline:none;
}
.hero-hotspot[class*="hero-rail-"]{
  bottom:1.9%;
  height:7.0%;
  border:1px solid rgba(119,205,255,.38);
  border-radius:6px;
  background:rgba(8,48,76,.10);
  box-shadow:inset 0 0 0 1px rgba(7,30,48,.08);
}
.hero-hotspot[class*="hero-rail-"]:hover,
.hero-hotspot[class*="hero-rail-"]:focus-visible{
  background:rgba(35,151,218,.18);
  border-color:rgba(128,216,255,.92);
  box-shadow:0 0 0 2px rgba(20,112,168,.18),0 5px 14px rgba(0,20,36,.18);
  outline:none;
  transform:translateY(-1px);
}
.hero-rail-plans{left:4.2%;width:9.5%}
.hero-rail-design{left:16.3%;width:10.1%}
.hero-rail-estimate{left:29.5%;width:10.0%}
.hero-rail-qaqc{left:42.5%;width:9.5%}
.hero-rail-manage{left:55.4%;width:10.0%}
.hero-rail-deliver{left:68.1%;width:9.7%}


/* v0.9.57 — homepage interaction polish, fixed news frame, non-blocking Pro overlay. */
/* Home section numbering was removed in markup; normalize the title layout after the badge is gone. */
.landing-page .engineering-section-title>div{grid-template-columns:1fr;column-gap:0}
.landing-page .engineering-section-title p{grid-column:1}

/* News carousel keeps one footprint so changing stories never shifts the rest of the Home page. */
.home-news-carousel{height:395px;min-height:395px}
.home-news-slide{height:395px;min-height:395px;max-height:395px;box-sizing:border-box;overflow:hidden}
.home-news-slide .hero-copy{min-width:0;max-height:327px;overflow:hidden}
.home-news-slide .hero-copy h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-news-slide .hero-copy>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.home-news-slide .hero-engineering-scene{height:315px;max-height:315px;overflow:hidden}
.home-news-carousel-controls>button{cursor:pointer;touch-action:manipulation}
.home-news-carousel-controls>button:active{transform:translateY(1px)}
@media(max-width:900px){.home-news-carousel{height:610px;min-height:610px}.home-news-slide{height:610px;min-height:610px;max-height:610px}.home-news-slide .hero-copy{max-height:255px}.home-news-slide .hero-engineering-scene{height:280px;max-height:280px}}
@media(max-width:600px){.home-news-carousel{height:650px;min-height:650px}.home-news-slide{height:650px;min-height:650px;max-height:650px}}

/* The marketing offer floats above the page without freezing or intercepting the background. */
html.pro-modal-open,html.pro-modal-open body{overflow:auto!important}
.home-pro-backdrop{pointer-events:none;background:rgba(3,13,22,.38);backdrop-filter:blur(4px) saturate(.9);-webkit-backdrop-filter:blur(4px) saturate(.9)}
.home-pro-promo,.pro-checkout-modal{pointer-events:auto}

/* Bottom workflow controls are the only visible hero hotspots. Align each control around its icon + label. */
.hero-hotspot[class*="hero-rail-"]{bottom:1.15%;height:9.25%;border-radius:8px;background:rgba(8,48,76,.08)}
.hero-rail-plans{left:2.9%;width:11.7%}
.hero-rail-design{left:15.1%;width:11.8%}
.hero-rail-estimate{left:28.0%;width:11.5%}
.hero-rail-qaqc{left:40.9%;width:11.2%}
.hero-rail-manage{left:53.8%;width:11.4%}
.hero-rail-deliver{left:66.6%;width:11.0%}

/* v0.9.57 — replace the baked-in secondary hero CTA label without regenerating artwork. */
.hero-learn-more::after{
  content:'Sign In';
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#eef8ff;
  background:#0b2f49;
  border:1px solid #45b8f2;
  border-radius:5px;
  font-weight:800;
  font-size:clamp(10px,1vw,17px);
  line-height:1;
  pointer-events:none;
}
.hero-learn-more:hover::after,.hero-learn-more:focus-visible::after{background:#123f5f;border-color:#7ed5ff}


/* Header sequence: identity → primary nav → search → account/workbench. */
.site-header .nav-wrap{display:flex;align-items:center;gap:10px;max-width:1760px;padding-left:16px;padding-right:16px}
.header-nav-primary,.header-nav-actions{margin-left:0!important;flex-wrap:nowrap!important}
.header-nav-primary{gap:4px}
.header-nav-actions{gap:4px}
.header-search{margin-left:8px!important;max-width:none;min-width:360px;flex:1}
.header-search-mode{min-width:178px!important;width:178px!important}
.header-search-results{left:-178px!important}
@media(max-width:1100px){.site-header .nav-wrap{flex-wrap:wrap}.header-search{order:4;flex-basis:100%;margin:4px 0 0!important}.header-nav-actions{margin-left:auto!important}}
@media(max-width:720px){.header-nav-primary{order:3}.header-nav-actions{order:2;margin-left:auto!important}.header-search{order:4}.header-search-mode{min-width:150px!important;width:150px!important}.header-search-results{left:-150px!important}}

/* The image supplies the CTA appearance; functional hotspots do not draw duplicate boxes. */
.hero-start-free,.hero-learn-more{top:46.15%;height:7.0%}
.hero-start-free{left:3.68%;width:9.36%}
.hero-learn-more{left:13.64%;width:9.47%}
.hero-learn-more::after{content:'Sign In';position:absolute;inset:0;display:grid;place-items:center;color:#eef8ff;background:#0b2f49;border:1px solid #45b8f2;border-radius:5px;font-weight:800;font-size:clamp(10px,1vw,17px);line-height:1;pointer-events:none;box-shadow:none}
.hero-learn-more:hover::after,.hero-learn-more:focus-visible::after{background:#123f5f;border-color:#7ed5ff}

/* News arrows always sit above slide artwork and accept pointer input. */
.home-news-carousel-controls{position:relative;z-index:20}
.home-news-carousel-controls>button{position:relative;z-index:21;pointer-events:auto!important}

/* Promotional offer is a top-level, non-blocking visual overlay. */
.home-pro-backdrop{z-index:2147483000!important;pointer-events:none!important}
.home-pro-promo,.home-pro-modal{z-index:2147483100!important;position:fixed!important}
.pro-checkout-modal{z-index:2147483200!important}
.site-header{z-index:1000!important}
html.pro-modal-open,html.pro-modal-open body{overflow:auto!important}


/* v0.9.58 — restore original global header order: brand → search → page navigation → Workbench. */
.site-header .nav-wrap{display:flex;align-items:center;gap:14px;max-width:1500px;margin:0 auto;padding-left:14px;padding-right:14px}
.site-header .header-search{order:initial;margin-left:18px!important;min-width:360px;max-width:560px;flex:1}
.site-header .nav-links{order:initial;margin-left:auto!important;display:flex;align-items:center;flex-wrap:nowrap}
@media(max-width:1180px){.site-header .header-search{min-width:280px;margin-left:6px!important}.site-header .nav-wrap{gap:10px}}
@media(max-width:980px){.site-header .nav-wrap{flex-wrap:wrap}.site-header .header-search{order:3;flex-basis:100%;max-width:none;margin:6px 0 0!important}.site-header .nav-links{margin-left:auto!important}}

/* QA/QC controlled review workspace */
.qa-pagehead{align-items:center}.qa-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.qa-head-actions .eng-action{background:#fff;cursor:pointer}.qa-control-strip{display:grid;grid-template-columns:230px minmax(260px,1fr) auto;gap:18px;align-items:end;padding:12px 14px;margin-bottom:10px;border-top:4px solid #1f5d8a}.qa-control-strip label>span{display:block;margin-bottom:5px;color:#5a6d7d;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.qa-control-strip select,.qa-control-strip input{width:100%;min-height:38px;border:1px solid #aebdca;background:#fff;padding:8px 10px;color:#20384d;font-size:13px}.qa-control-strip select:focus,.qa-control-strip input:focus{outline:2px solid #77a8ca;outline-offset:1px}.qa-review-path{display:flex;align-items:center;gap:7px;padding-bottom:7px;white-space:nowrap}.qa-review-path span{display:flex;align-items:center;gap:6px;color:#6b7c89;font-size:10px;font-weight:800}.qa-review-path span b{display:grid;place-items:center;width:21px;height:21px;border:1px solid #afbdc8;border-radius:50%;font-size:9px}.qa-review-path span.active{color:#1f5d8a}.qa-review-path span.active b{border-color:#1f5d8a;background:#1f5d8a;color:#fff}.qa-review-path i{color:#9aabb7;font-style:normal}.qa-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.qa-metric-grid article{background:#fff;border:1px solid #cbd4dc;border-top:3px solid #4c718c;padding:11px 12px;min-width:0}.qa-metric-grid article.attention{border-top-color:#b54a43;background:#fffafa}.qa-metric-grid span,.qa-metric-grid small,.qa-metric-grid strong{display:block}.qa-metric-grid span{text-transform:uppercase;letter-spacing:.07em;color:#6a7b88;font-size:9px;font-weight:900}.qa-metric-grid strong{margin:3px 0;color:#20384d;font-size:24px}.qa-metric-grid small{color:#6c7d89;font-size:10px}.qa-metric-grid article>div{height:4px;margin:6px 0;background:#dce4e9}.qa-metric-grid article>div i{display:block;height:100%;background:#3f8660}.qaqc-layout{grid-template-columns:210px minmax(0,1fr);align-items:start}.qaqc-layout>aside{display:grid;gap:8px}.review-cats{overflow:hidden}.review-cats button{align-items:center;padding:10px 11px;color:#334b5d;font-size:11px;cursor:pointer}.review-cats button b{display:grid;place-items:center;min-width:24px;height:20px;border-radius:10px;background:#e8edf1;color:#566a78;font-size:9px}.review-cats button.active{background:#173f5f;color:#fff;box-shadow:inset 4px 0 #efb943}.review-cats button.active b{background:#fff;color:#173f5f}.qa-readiness{overflow:hidden}.qa-readiness #qa-readiness{padding:5px 10px 10px}.qa-readiness #qa-readiness>div{display:flex;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #e6ebee;color:#6c7d89;font-size:10px}.qa-readiness #qa-readiness>div:last-child{border-bottom:0}.qa-readiness #qa-readiness b{color:#9bacb8}.qa-readiness #qa-readiness .ready{color:#2f6844;font-weight:750}.qa-readiness #qa-readiness .ready b{color:#3f8660}.qa-worklist{min-width:0;overflow:hidden}.qa-panel-toolbar{padding:9px 10px;border-bottom:1px solid #dbe2e7;background:#f6f8fa;margin-bottom:0}.qa-panel-toolbar .review-filter{overflow:auto}.qa-panel-toolbar .review-filter button{cursor:pointer;white-space:nowrap}.qa-engineering-list{padding:9px;background:#eef2f4}.qa-review-row{grid-template-columns:34px minmax(0,1fr) 190px;align-items:start;gap:10px;padding:14px;border-color:#cbd6de;border-left:4px solid #9aabb7;border-radius:3px}.qa-review-row.complete{border-left-color:#3f8660}.qa-review-row.review{border-left-color:#d39a2b}.qa-review-row.issue{border-left-color:#b54a43;background:#fffafa}.qa-row-index{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#82939f;font-size:10px;font-weight:850;padding-top:3px}.qa-review-main{display:block}.qa-review-main>strong{display:block;margin:7px 0 3px;color:#1e3447;font-size:14px;line-height:1.45}.qa-row-meta{display:flex;align-items:center;gap:7px;color:#73838f;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.qa-mode{display:inline-flex;font-size:8px}.qa-evidence{margin:8px 0 0;grid-column:auto;font-size:10px}.qa-detail{margin-top:8px}.qa-detail summary{width:max-content;cursor:pointer;color:#315f82;font-size:10px;font-weight:800}.qa-detail>div{display:grid;grid-template-columns:1.5fr 1fr;gap:7px;margin-top:7px;padding:9px;background:#f5f8fa;border:1px solid #d9e1e6}.qa-detail label{color:#607381;font-size:9px;font-weight:800}.qa-detail textarea,.qa-detail input{display:block;width:100%;margin-top:4px;border:1px solid #b7c5cf;background:#fff;padding:7px;font:inherit;color:#263e50;resize:vertical}.qa-detail textarea{min-height:55px}.qa-review-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px}.qa-review-actions button{min-height:34px;border-radius:2px;font-size:9px;cursor:pointer}.qa-review-actions button span,.qa-review-actions button b{display:block}.qa-review-actions button b{margin-top:2px}.qa-review-actions button:disabled{opacity:.43;cursor:not-allowed}.qa-review-actions button.issue-active{border-color:#b54a43;background:#a9433d;color:#fff}.qa-review-actions button.na-active{border-color:#647887;background:#647887;color:#fff}.qa-empty{padding:30px;text-align:center;color:#71828e}.qa-signoff{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(600px,1.6fr);gap:20px;align-items:center;margin-top:10px;padding:15px;border-top:4px solid #1f5d8a}.qa-signoff h2{margin:3px 0;font-size:16px}.qa-signoff p{margin:0;color:#6c7d89;font-size:10px}.qa-signoff-fields{display:grid;grid-template-columns:1fr 145px 1fr 145px auto;gap:7px;align-items:end}.qa-signoff-fields label{color:#5a6d7c;font-size:9px;font-weight:850;text-transform:uppercase}.qa-signoff-fields input{display:block;width:100%;margin-top:4px;min-height:34px;border:1px solid #b4c1cb;padding:7px;font-size:11px}.qa-signoff-fields button{min-height:34px}.qa-signoff-fields button:disabled{opacity:.45}.qa-cert-state{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;color:#627582;font-size:10px}.qa-cert-state strong{color:#345f46}
:root[data-theme="dark"] .qa-control-strip,:root[data-theme="dark"] .qa-metric-grid article,:root[data-theme="dark"] .qa-signoff{background:#122231;border-color:#30495d}:root[data-theme="dark"] .qa-control-strip input,:root[data-theme="dark"] .qa-control-strip select,:root[data-theme="dark"] .qa-signoff input,:root[data-theme="dark"] .qa-detail textarea,:root[data-theme="dark"] .qa-detail input{background:#0f1e2a;border-color:#3b566b;color:#e4edf5}:root[data-theme="dark"] .qa-engineering-list,:root[data-theme="dark"] .qa-panel-toolbar,:root[data-theme="dark"] .qa-detail>div{background:#0e1b25;border-color:#2d4558}:root[data-theme="dark"] .qa-review-main>strong{color:#e4edf5}:root[data-theme="dark"] .qa-review-row.issue{background:#321e20}
@media(max-width:1200px){.qa-control-strip{grid-template-columns:210px 1fr}.qa-review-path{grid-column:1/-1}.qa-signoff{grid-template-columns:1fr}.qa-signoff-fields{grid-template-columns:1fr 150px 1fr 150px}.qa-signoff-fields button{grid-column:1/-1;justify-self:end}}
@media(max-width:900px){.qa-metric-grid{grid-template-columns:1fr 1fr}.qaqc-layout{grid-template-columns:1fr}.review-cats{display:grid;grid-template-columns:repeat(3,1fr)}.qa-review-row{grid-template-columns:30px 1fr}.qa-review-actions{grid-column:2;display:flex}.qa-review-actions button{min-width:90px}.qa-signoff-fields{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.qa-pagehead,.qa-head-actions{align-items:flex-start}.qa-pagehead{display:grid}.qa-head-actions{justify-content:flex-start}.qa-control-strip{grid-template-columns:1fr}.qa-review-path{overflow:auto}.qa-metric-grid{grid-template-columns:1fr}.review-cats{grid-template-columns:1fr 1fr}.qa-review-row{grid-template-columns:1fr}.qa-row-index{display:none}.qa-review-actions{grid-column:1}.qa-detail>div,.qa-signoff-fields{grid-template-columns:1fr}.qa-cert-state{display:grid;justify-content:start}}

/* v1 workbench redesign · DOTD project delivery pipeline */
:root{--wb-navy:#071a2b;--wb-blue:#0e385c;--wb-blue-2:#14547f;--wb-sky:#78b9de;--wb-paper:#f7f9fa;--wb-canvas:#e9eef1;--wb-ink:#132b3d;--wb-muted:#607484;--wb-line:#c6d1d8;--wb-amber:#f0b33b;--wb-green:#3f8761;--wb-red:#b64b45;--wb-shadow:0 8px 24px rgba(15,39,57,.08)}
.engineering-body{background:#e8edf0;background-image:linear-gradient(rgba(28,70,100,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(28,70,100,.035) 1px,transparent 1px);background-size:32px 32px;color:var(--wb-ink)}
.eng-topbar{position:sticky;top:0;z-index:100;height:64px;padding:0 18px;gap:14px;background:linear-gradient(110deg,#061827,#0b2d49);border-bottom:1px solid #214761;box-shadow:0 4px 18px rgba(3,17,28,.22)}
.eng-brand a{display:grid;line-height:1;color:#fff}.eng-brand a span{font-size:8px;letter-spacing:.18em;color:#86b8d5}.eng-brand a strong{margin-top:3px;font-size:14px;letter-spacing:.045em}.workbench-home{padding:7px 9px;border:1px solid transparent;border-radius:4px;transition:background .12s,border-color .12s}.workbench-home:hover{border-color:#355b75;background:#123852}.workbench-header-select{border-left:1px solid #315068;padding-left:13px}.workbench-header-select span{color:#83a8be!important;font-size:8px!important;letter-spacing:.12em!important}.workbench-header-select select{height:31px!important;min-width:190px!important;color:#f1f7fa!important;background:#102f48!important;border:1px solid #385a70!important;border-radius:3px!important;font-size:11px!important}.eng-exit{border-left:0;padding:8px;color:#c7d8e2;border-radius:3px}.eng-exit:hover{background:#163b58;color:#fff}.ref-current{color:#83d0a1;font-size:9px;letter-spacing:.07em}.project-context{min-height:37px;padding:6px 20px;background:#f8fafb;border-color:#c7d1d8;box-shadow:0 2px 5px rgba(16,45,65,.04)}
.project-pipeline{display:grid;grid-template-columns:repeat(6,1fr);position:sticky;top:64px;z-index:80;background:#0b2941;border-bottom:1px solid #274b64;padding:0 18px 0 264px}.project-pipeline button{position:relative;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:9px;min-height:64px;padding:8px 12px;border:0;border-right:1px solid #22445c;background:transparent;color:#b9ccda;text-align:left;cursor:pointer}.project-pipeline button:first-child{border-left:1px solid #22445c}.project-pipeline button:hover{background:#103650;color:#fff}.project-pipeline button.active{background:#154b70;color:#fff;box-shadow:inset 0 -4px var(--wb-amber)}.project-pipeline button.complete i{background:var(--wb-green)}.project-pipeline button.attention i{background:var(--wb-amber)}.project-pipeline button b{font:800 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#75a8c6}.project-pipeline button span{font-size:12px;font-weight:850}.project-pipeline button small{display:block;margin-top:2px;color:#83a5b9;font-size:8px;font-weight:650}.project-pipeline button i{width:7px;height:7px;border:1px solid #62839a;border-radius:50%}
.eng-shell{grid-template-columns:246px minmax(0,1fr);min-height:calc(100vh - 165px)}.eng-sidebar{position:sticky;top:128px;height:calc(100vh - 128px);overflow:auto;padding:12px 9px 70px;background:#0a2134;border-color:#25465e;scrollbar-width:thin}.eng-side-project{margin:0 4px 10px;padding:12px;background:#0e304a;border:1px solid #31536a;border-left:3px solid var(--wb-amber)}.eng-side-project span,.eng-side-project strong,.eng-side-project small{display:block}.eng-side-project span{color:#78a4bd;font-size:8px;letter-spacing:.11em;font-weight:850}.eng-side-project strong{margin:4px 0 2px;color:#fff;font-size:13px}.eng-side-project small{color:#a7bdca;font-size:9px}.eng-sidebar .eng-side-label{padding:15px 10px 6px;color:#6f94aa;font-size:8px;letter-spacing:.14em}.eng-sidebar button{display:grid;grid-template-columns:29px 1fr;align-items:center;gap:8px;padding:9px 8px;border-radius:3px;color:#c5d6e0}.eng-sidebar button>b{display:grid;place-items:center;width:27px;height:27px;border:1px solid #3a596f;border-radius:3px;color:#7fa7bd;font:850 9px ui-monospace,SFMono-Regular,Menlo,monospace}.eng-sidebar button>span{font-size:11px}.eng-sidebar button small{display:block;margin-top:2px;color:#728fa1;font-size:8px;font-weight:600}.eng-sidebar button:hover{background:#103650}.eng-sidebar button.active{background:linear-gradient(90deg,#164d73,#123e5d);box-shadow:inset 4px 0 var(--wb-amber)}.eng-sidebar button.active>b{border-color:#dba33a;background:#f0b33b;color:#172b39}.eng-sidebar button.active small{color:#b9d0dc}.eng-sidebar .side-overview{margin-bottom:2px;border:1px solid #31536a;background:#0d2e47}.workbench-version{padding:16px 9px;color:#55798f;font-size:8px}.eng-canvas{padding:24px clamp(16px,2.2vw,34px) 70px;max-width:1720px;width:100%;margin:0 auto}.eng-pagehead h1{font-size:clamp(24px,2vw,34px);letter-spacing:-.03em}.eng-pagehead p{font-size:13px}.eng-panel,.eng-metric,.sheet-list,.plan-viewer,.properties,.review-cats{border-color:var(--wb-line);border-radius:5px;box-shadow:0 3px 10px rgba(18,48,68,.045)}
@media(max-width:1100px){.project-pipeline{padding-left:18px}.project-pipeline button{grid-template-columns:24px 1fr}.project-pipeline button i{display:none}.eng-topbar .design-stage-select,.eng-topbar .ref-current{display:none}}
@media(max-width:900px){.eng-shell{grid-template-columns:1fr}.eng-sidebar{position:static;height:auto;display:flex;padding:7px;overflow:auto}.eng-side-project,.eng-sidebar .eng-side-label,.eng-sidebar button small,.eng-sidebar .eng-sidebar-divider,.eng-sidebar .eng-main-link,.eng-sidebar .workbench-version{display:none}.eng-sidebar button{display:flex;min-width:max-content}.project-pipeline{position:static;overflow:auto;grid-template-columns:repeat(6,minmax(150px,1fr))}.project-pipeline button small{display:none}.eng-topbar{position:static}}
@media(max-width:640px){.eng-topbar{min-height:62px}.eng-brand a span,.eng-topbar .milestone-select{display:none}.workbench-header-select select{min-width:150px!important}.project-context{padding-inline:10px}.project-pipeline{padding-inline:0}.eng-canvas{padding:18px 10px 50px}}

/* Unified working surfaces */
.engineering-body button,.engineering-body input,.engineering-body select,.engineering-body textarea{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.engineering-body button:focus-visible,.engineering-body a:focus-visible,.engineering-body input:focus-visible,.engineering-body select:focus-visible,.engineering-body textarea:focus-visible{outline:3px solid rgba(56,151,207,.42);outline-offset:2px}.eng-canvas>.project-view>.eng-pagehead{margin:-2px 0 18px;padding:0 0 14px;border-bottom:1px solid #bdcbd4}.eng-pagehead .eyebrow{color:#1b6696;font-size:.72rem;letter-spacing:.12em}.eng-pagehead h1{color:#112b3d}.eng-pagehead p{max-width:780px;color:#5a7080;font-size:.9rem;line-height:1.55}.eng-badge{padding:5px 8px;border-color:#9fb2c0;background:#fff;color:#27465c;font-size:.7rem}.eng-panel{overflow:hidden}.panel-head{min-height:64px;padding:13px 15px;background:linear-gradient(180deg,#fbfcfd,#f5f8f9);border-color:#d2dce2}.panel-head h2,.panel-head h3{color:#18384f;font-size:1rem}.panel-head p{margin-top:3px;color:#657987;font-size:.76rem;line-height:1.35}.panel-head button{font-size:.76rem;cursor:pointer}.eng-action{align-items:center;justify-content:center;min-height:38px;padding:9px 13px;border-color:#9bafbd;background:#fff;color:#163e5b;border-radius:4px;font-size:.78rem;cursor:pointer;transition:background .12s,border-color .12s,transform .12s}.eng-action:hover{border-color:#3978a1;background:#edf6fb}.eng-action:active{transform:translateY(1px)}.eng-panel table th{padding:10px 12px;background:#eaf0f4;color:#496070;font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}.eng-panel table td{padding:11px 12px;color:#294355;font-size:.8rem}.eng-panel table tbody tr:hover td{background:#f3f8fb}.status{padding:4px 7px;font-size:.68rem}.property-list{padding:8px 15px}.property-list dt,.property-list dd{padding:9px 0;font-size:.78rem}.muted{font-size:.78rem;line-height:1.5}.button-row{gap:8px}
.stage-context-bar{display:grid;grid-template-columns:190px minmax(180px,1fr) 24px minmax(220px,1.3fr) auto;align-items:center;gap:14px;margin:-8px 0 16px;padding:10px 12px;background:#f8fafb;border:1px solid #bdcbd4;border-left:4px solid #1c6898;border-radius:4px}.stage-context-id{display:flex;align-items:center;gap:10px}.stage-context-id>b{display:grid;place-items:center;width:34px;height:34px;background:#103f61;color:#fff;border-radius:3px;font:850 .72rem ui-monospace,SFMono-Regular,Menlo,monospace}.stage-context-id span{color:#183c55;font-size:.82rem;font-weight:900}.stage-context-id small{display:block;margin-top:2px;color:#68808f;font-size:.64rem;font-weight:650}.stage-context-bar>div:not(.stage-context-id)>span{display:block;color:#708493;font-size:.61rem;font-weight:900;letter-spacing:.1em}.stage-context-bar>div:not(.stage-context-id)>strong{display:block;margin-top:3px;color:#29475a;font-size:.72rem;line-height:1.35}.stage-context-bar>i{color:#78909e;font-style:normal}.stage-context-bar>button{min-height:34px;border:1px solid #2b709c;background:#17547c;color:#fff;padding:7px 10px;border-radius:3px;font-size:.68rem;font-weight:850;cursor:pointer;white-space:nowrap}.stage-context-bar>button:hover{background:#0f4265}
.delivery-command{display:grid;grid-template-columns:minmax(300px,.9fr) 180px minmax(420px,1.25fr);gap:24px;align-items:center;margin-bottom:12px;padding:24px;background:linear-gradient(122deg,#092943 0%,#0d3f63 64%,#14577e 100%);border:1px solid #1a5f88;border-radius:7px;color:#fff;box-shadow:0 14px 34px rgba(11,48,73,.18)}.command-kicker{font-size:.7rem;font-weight:850;letter-spacing:.15em;color:#91c4df}.delivery-command h2{margin:7px 0 6px;color:#fff;font-size:clamp(1.4rem,2.2vw,2rem);letter-spacing:-.025em}.delivery-command-copy>p{margin:0;color:#bad3e2;font-size:.85rem;line-height:1.55}.delivery-next{margin-top:18px}.delivery-next>span{display:block;margin-bottom:5px;color:#80adc5;font-size:.65rem;font-weight:900;letter-spacing:.12em}.delivery-next button{display:flex;justify-content:space-between;gap:14px;width:100%;max-width:430px;border:1px solid #789db2;background:#f4f8fa;color:#153b57;padding:11px 13px;border-radius:3px;text-align:left;font-size:.8rem;font-weight:850;cursor:pointer}.delivery-next button:hover{background:#fff;border-color:#fff}.delivery-score{position:relative;width:160px;height:160px;justify-self:center}.delivery-score svg{width:100%;height:100%;transform:rotate(-90deg)}.delivery-score circle{fill:none;stroke:rgba(187,216,232,.18);stroke-width:9}.delivery-score #delivery-score-ring{stroke:var(--wb-amber);stroke-linecap:round;transition:stroke-dashoffset .4s ease}.delivery-score>div{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.delivery-score strong{font-size:1.8rem}.delivery-score span{color:#9fc3d7;font-size:.6rem;font-weight:850;letter-spacing:.12em;line-height:1.3}.delivery-stage-summary{display:grid;gap:3px}.delivery-stage-summary button{display:grid;grid-template-columns:26px 1fr 22px;align-items:center;gap:9px;min-height:43px;border:1px solid rgba(151,190,212,.22);background:rgba(4,27,44,.25);color:#d5e4ed;padding:6px 9px;text-align:left;cursor:pointer}.delivery-stage-summary button:hover{background:rgba(28,93,132,.5)}.delivery-stage-summary button b{color:#79a7c0;font:800 .66rem ui-monospace,SFMono-Regular,Menlo,monospace}.delivery-stage-summary button span{font-size:.76rem;font-weight:850}.delivery-stage-summary button small{display:block;color:#82a4b7;font-size:.62rem;font-weight:600}.delivery-stage-summary button i{display:grid;place-items:center;width:20px;height:20px;border:1px solid #527c94;border-radius:50%;color:#8eb0c2;font-size:.68rem;font-style:normal}.delivery-stage-summary button.complete i{border-color:#70af88;background:#397854;color:#fff}.delivery-stage-summary button.attention{border-color:#a47c30;background:rgba(147,105,26,.17)}.delivery-stage-summary button.attention i{border-color:#e6ad3b;background:#e6ad3b;color:#172b39}
.overview-stage-strip{gap:9px;margin-bottom:10px}.stage-card{padding:17px 18px;border-radius:5px;border-color:#b8c8d2}.stage-card.current-stage{border-left:5px solid #1d6999;background:linear-gradient(90deg,#eef7fc,#fff)}.stage-card.upcoming-stage{border-left:5px solid var(--wb-amber);background:linear-gradient(90deg,#fff8e8,#fff)}.stage-card>span{font-size:.68rem}.stage-card>strong{font-size:1rem}.stage-card small{font-size:.72rem;line-height:1.4}.stage-arrow{font-size:1.2rem;color:#6c8290}.overview-readiness-grid,.overview-dashboard{gap:10px}.readiness-item{min-height:38px;padding:8px 13px;font-size:.78rem}.readiness-dot{width:22px;height:22px}.overview-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-dashboard>.eng-panel{min-height:0}.overview-modules{grid-column:1/-1}.module-grid{grid-template-columns:repeat(6,minmax(130px,1fr));gap:8px;padding:12px}.module-grid button{display:flex;align-items:center;gap:10px;min-height:76px;padding:12px;border-color:#c0ced7;background:#f9fbfc;border-radius:4px;font-size:.82rem}.module-grid button:hover{border-color:#5b8dab;background:#edf6fb;transform:translateY(-1px)}.module-grid button small{font-size:.68rem}.module-glyph{display:grid;place-items:center;min-width:38px;height:38px;background:#153f5f;color:#fff;border-radius:3px;font-size:.68rem}.overview-resource-list button,.compact-alerts button{min-height:50px;padding:10px 13px}.overview-resource-list button strong,.compact-alerts strong{font-size:.8rem}.overview-resource-list button span,.compact-alerts small{font-size:.7rem}
.metric-grid,.mdg-summary{gap:9px}.eng-metric{padding:15px;border-top:3px solid #4d7c9b}.eng-metric label{font-size:.66rem}.eng-metric strong{font-size:1.55rem}.eng-metric small{font-size:.7rem}.estimate-commandbar{gap:8px;padding:8px 0}.estimate-commandbar button{padding:11px 12px;border-radius:4px}.estimate-commandbar label{font-size:.65rem}.estimate-commandbar strong{font-size:1rem}.reference-search input,.estimate-searchbar input,.estimate-searchbar select{min-height:42px;padding:9px 12px;font-size:.82rem}.sheet-list input,.viz-form-grid input,.viz-form-grid select,.dynamic-calc-form input,.dynamic-calc-form select,.parameter-form input,.parameter-form select,.parameter-form textarea{min-height:38px;font-size:.8rem}.tool-shortcuts button,.calc-tile-grid button{font-size:.78rem}.plan-prototype-note,.eng-warning,.pro-note,.document-permission-note{font-size:.74rem;line-height:1.5}.plan-intelligence-toolbar{gap:8px}.recognition-calibration-panel,.sheet-registry-panel,.analyzer-diagnostics-panel,.analyzer-template-panel{margin-top:10px}.recognition-cal-toolbar{padding:9px;gap:6px}.recognition-cal-toolbar button,.recognition-cal-toolbar select{min-height:34px;font-size:.7rem}.recognition-region-inspector{background:#f8fafb}.recognition-region-inspector label{font-size:.7rem}.recognition-region-inspector input,.recognition-region-inspector select,.recognition-region-inspector textarea{font-size:.76rem}.calc-titlebar{border-radius:5px 5px 0 0}.calc-titlebar h1{font-size:1.55rem}.calc-titlebar p{font-size:.78rem}.calc-browser-head label,.dynamic-calc-form label>span{font-size:.7rem}.calc-browser-head input{font-size:.82rem}.calc-list-item strong{font-size:.8rem}.calc-list-item small{font-size:.68rem}.visualizer-layout{gap:10px}.road-concept{border-radius:4px}
:root[data-theme="dark"]{--wb-paper:#102230;--wb-canvas:#091723;--wb-ink:#e2ecf2;--wb-muted:#99adba;--wb-line:#2d4759}.engineering-body[data-theme="dark"],:root[data-theme="dark"] .engineering-body{background:#08141e;color:#dce8ef}.engineering-body[data-theme="dark"] .eng-canvas,:root[data-theme="dark"] .eng-canvas{color:#dce8ef}:root[data-theme="dark"] .eng-canvas>.project-view>.eng-pagehead{border-color:#294456}:root[data-theme="dark"] .eng-pagehead h1,:root[data-theme="dark"] .panel-head h2,:root[data-theme="dark"] .panel-head h3,:root[data-theme="dark"] .eng-metric strong,:root[data-theme="dark"] .property-list dd{color:#e2edf3}:root[data-theme="dark"] .eng-pagehead p,:root[data-theme="dark"] .panel-head p,:root[data-theme="dark"] .property-list dt{color:#95aab8}:root[data-theme="dark"] .eng-panel,:root[data-theme="dark"] .eng-metric,:root[data-theme="dark"] .sheet-list,:root[data-theme="dark"] .plan-viewer,:root[data-theme="dark"] .properties{background:#102230;border-color:#2d4759}:root[data-theme="dark"] .panel-head{background:linear-gradient(#152b3a,#112533);border-color:#2d4759}:root[data-theme="dark"] .eng-panel table th{background:#142b3a;color:#9db1bd}:root[data-theme="dark"] .eng-panel table td{color:#cbd9e1;border-color:#274153}:root[data-theme="dark"] .eng-panel table tbody tr:hover td{background:#152b3a}:root[data-theme="dark"] .stage-card.current-stage{background:linear-gradient(90deg,#143149,#102230)}:root[data-theme="dark"] .stage-card.upcoming-stage{background:linear-gradient(90deg,#352b18,#102230)}:root[data-theme="dark"] .module-grid button,:root[data-theme="dark"] .overview-resource-list button,:root[data-theme="dark"] .compact-alerts button{background:#132838;border-color:#304b5d;color:#dce8ef}:root[data-theme="dark"] .module-grid button:hover{background:#18364b}:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#0b1d29!important;border-color:#365166!important;color:#dce8ef!important}
:root[data-theme="dark"] .stage-context-bar{background:#102230;border-color:#304b5d;border-left-color:#3b8bbc}:root[data-theme="dark"] .stage-context-id span,:root[data-theme="dark"] .stage-context-bar>div:not(.stage-context-id)>strong{color:#dce8ef}:root[data-theme="dark"] .stage-context-id small,:root[data-theme="dark"] .stage-context-bar>div:not(.stage-context-id)>span{color:#91a8b7}
@media(max-width:1350px){.delivery-command{grid-template-columns:minmax(260px,.9fr) 150px minmax(350px,1.15fr);gap:16px;padding:20px}.delivery-score{width:140px;height:140px}.module-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.delivery-command{grid-template-columns:1fr 150px}.delivery-stage-summary{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.overview-dashboard{grid-template-columns:1fr}}
@media(max-width:1050px){.stage-context-bar{grid-template-columns:170px 1fr 20px 1.2fr}.stage-context-bar>button{grid-column:1/-1;justify-self:end}}
@media(max-width:720px){.delivery-command{grid-template-columns:1fr}.delivery-score{justify-self:start}.delivery-stage-summary{grid-template-columns:1fr 1fr}.overview-readiness-grid{grid-template-columns:1fr}.overview-stage-strip{grid-template-columns:1fr}.stage-arrow{display:none}.module-grid{grid-template-columns:1fr 1fr}.stage-context-bar{grid-template-columns:1fr}.stage-context-bar>i{transform:rotate(90deg)}.stage-context-bar>button{grid-column:auto;justify-self:start}}
@media(max-width:480px){.delivery-stage-summary,.module-grid{grid-template-columns:1fr}.delivery-command{padding:16px}}

/* Keep top-right account actions visually consistent. */
.eng-topbar>.eng-exit{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:0;padding:0 11px;border:1px solid transparent;border-radius:3px;background:transparent;color:#c7d8e2;font:700 .75rem/1 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer}.eng-topbar>.eng-exit:hover{border-color:#355b75;background:#163b58;color:#fff}.eng-topbar>.eng-signout{appearance:none;-webkit-appearance:none;box-sizing:border-box}

/* Place the wordmark's drafting slashes beside the type, never over it. */
.eng-brand .workbench-home{position:relative;padding-left:31px}.eng-brand .workbench-home::before{content:'//';position:absolute;left:9px;top:50%;width:14px;transform:translateY(-52%);color:var(--wb-amber);font:900 15px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-4px;text-align:left;pointer-events:none}

/* v0.9.58 account center overhaul · scoped to account.html */
body[data-page="account"]{--ac-bg:#eef3f6;--ac-surface:#fff;--ac-surface-2:#f7fafb;--ac-ink:#10273a;--ac-text:#2c4354;--ac-muted:#657b8b;--ac-line:#cbd7df;--ac-line-strong:#afc0cc;--ac-navy:#082b4a;--ac-blue:#145d91;--ac-blue-hover:#0e4b77;--ac-amber:#f0ad24;--ac-green:#28764b;--ac-danger:#a3342d;--ac-focus:#efb438;background-color:var(--ac-bg);background-image:linear-gradient(rgba(39,91,126,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(39,91,126,.035) 1px,transparent 1px);background-size:28px 28px;color:var(--ac-text)}
body[data-page="account"]>.page{max-width:1540px;padding:28px 24px 60px}.account-center{margin:0 auto}.account-center-shell{display:grid;grid-template-columns:286px minmax(0,1fr);min-height:780px;background:var(--ac-surface);border:1px solid var(--ac-line);border-radius:10px;box-shadow:0 16px 42px rgba(21,52,73,.1);overflow:hidden}.account-profile-rail{display:flex;flex-direction:column;align-items:center;padding:42px 22px 26px;background:linear-gradient(180deg,var(--ac-surface-2),var(--ac-surface));border-right:1px solid var(--ac-line)}.account-avatar{display:grid;place-items:center;width:92px;height:92px;margin-bottom:15px;border-radius:50%;background:linear-gradient(145deg,#176aa6,#063f73);box-shadow:0 8px 22px rgba(14,75,119,.18);color:#fff;font-size:2rem;font-weight:750}.account-profile-name{color:var(--ac-ink);font-size:1.1rem}.account-profile-role,.account-profile-email{margin-top:7px;color:var(--ac-muted);font-size:.8rem;text-align:center}.account-profile-email{margin-top:4px}.account-plan-badge{margin:14px 0 22px;padding:5px 9px;border:1px solid #d99610;border-radius:4px;background:#fff9e9;color:#9a5e00;font-size:.68rem;font-weight:900;letter-spacing:.06em}.account-settings-nav{display:grid;width:100%;border:0;border-top:1px solid var(--ac-line);padding-top:14px}.account-settings-nav button{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;min-height:46px;padding:8px 11px;border:0;border-left:4px solid transparent;border-radius:4px;background:transparent;color:var(--ac-text);font-size:.78rem;font-weight:700;text-align:left;cursor:pointer;transition:background .12s,color .12s,border-color .12s}.account-settings-nav button b{display:grid;place-items:center;color:var(--ac-muted);font:850 .75rem ui-monospace,SFMono-Regular,Menlo,monospace}.account-settings-nav button:hover{background:#eaf2f7;color:var(--ac-navy)}.account-settings-nav button.active{border-left-color:var(--ac-amber);background:var(--ac-navy);color:#fff}.account-settings-nav button.active b{color:#fff}.account-rail-signout{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:42px;margin-top:auto;border:1px solid var(--ac-line-strong);border-radius:4px;background:var(--ac-surface);color:var(--ac-text);font-size:.78rem;font-weight:750;cursor:pointer}.account-rail-signout:hover{border-color:#839aa9;background:var(--ac-surface-2);color:var(--ac-ink)}
.account-settings-main{display:block;min-width:0;padding:36px}.account-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.account-page-heading .eyebrow,.account-panel-heading>.eyebrow{color:var(--ac-blue);font-size:.7rem;letter-spacing:.11em}.account-page-heading h1,.account-panel-heading h1{margin:5px 0 5px;color:var(--ac-ink);font-size:clamp(1.65rem,2.6vw,2.35rem);letter-spacing:-.03em}.account-page-heading p,.account-panel-heading p{margin:0;color:var(--ac-muted);font-size:.86rem}.account-completion{display:flex;align-items:center;gap:13px;max-width:280px}.account-completion-ring{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at center,var(--ac-surface) 57%,transparent 59%),conic-gradient(var(--ac-amber) 0 60%,#dfe7ec 60% 100%)}.account-completion-ring strong{color:var(--ac-ink);font-size:1rem}.account-completion>div:last-child{display:grid;gap:4px}.account-completion>div:last-child>strong{color:var(--ac-ink);font-size:.8rem}.account-completion span{color:var(--ac-muted);font-size:.72rem;line-height:1.4}.account-settings-main .account-section{display:none}.account-settings-main .account-section.active{display:block}.account-profile-panel,.account-settings-main>.account-section{border:1px solid var(--ac-line);border-radius:7px;background:var(--ac-surface);box-shadow:0 3px 12px rgba(20,53,75,.04);padding:26px}.account-profile-panel{padding:0!important}.account-profile-form{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;padding:28px}.account-profile-form>section{padding-right:28px;border-right:1px solid var(--ac-line)}.account-profile-form h2,.account-status-list h2,.professional-snapshot h2{margin:0 0 20px;color:var(--ac-ink);font-size:1rem}.account-profile-panel .form-grid{gap:18px 28px}.account-profile-panel .field label,.account-settings-main .field label{margin-bottom:6px;color:var(--ac-text);font-size:.75rem;font-weight:750}.account-profile-panel input,.account-settings-main input,.account-settings-main select,.account-settings-main textarea{min-height:43px;border:1px solid var(--ac-line-strong);border-radius:4px;background:var(--ac-surface);color:var(--ac-ink);font-size:.8rem}.account-profile-panel input:hover,.account-settings-main input:hover,.account-settings-main select:hover,.account-settings-main textarea:hover{border-color:#7e9aad}.account-profile-panel input:focus,.account-settings-main input:focus,.account-settings-main select:focus,.account-settings-main textarea:focus{border-color:var(--ac-blue);outline:3px solid rgba(20,93,145,.16)}.verified-field{position:relative}.verified-field input{padding-right:84px}.verified-field span{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:var(--ac-green);font-size:.7rem;font-weight:800}.account-primary-action{min-height:43px;margin-top:22px;padding:0 20px!important;border:1px solid #06243d!important;border-radius:4px!important;background:var(--ac-navy)!important;color:#fff!important;font-size:.78rem!important;font-weight:850!important}.account-primary-action:hover{border-color:#134f78!important;background:#0e456e!important;color:#fff!important}.account-status-list{display:grid;align-content:start}.account-status-list>div{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px;min-height:58px;border-bottom:1px solid var(--ac-line);color:var(--ac-text);font-size:.78rem}.account-status-list>div:last-child{border-bottom:0}.account-status-list b{color:var(--ac-navy);font:850 .9rem ui-monospace,SFMono-Regular,Menlo,monospace}.professional-snapshot{padding:25px 28px;border-top:1px solid var(--ac-line)}.professional-snapshot button{display:grid;grid-template-columns:minmax(230px,auto) 1fr auto;align-items:center;gap:18px;width:100%;min-height:51px;border:0;border-bottom:1px dotted var(--ac-line-strong);background:transparent;color:var(--ac-text);text-align:left;cursor:pointer}.professional-snapshot button::after{content:"";grid-column:2;border-bottom:1px dotted var(--ac-line-strong)}.professional-snapshot button:last-child{border-bottom:0}.professional-snapshot button:hover{color:var(--ac-blue)}.professional-snapshot button>span{grid-column:1;display:flex;align-items:center;gap:11px;font-size:.78rem}.professional-snapshot button>strong{grid-column:3;color:var(--ac-ink);font-size:.78rem}.professional-snapshot button b{display:grid;place-items:center;width:28px;color:var(--ac-navy);font-size:.9rem}
.account-panel-heading{margin:-4px 0 24px}.credential-heading h1{font-size:1.65rem}.account-settings-main .credential-card{border:1px solid var(--ac-line);border-radius:5px;background:var(--ac-surface-2);padding:20px}.account-settings-main .credential-summary{border-left-color:var(--ac-blue);background:#edf5fa;color:#486174}.account-settings-main .pdh-progress-shell{border-color:var(--ac-line);background:#dce6eb;border-radius:10px}.account-settings-main .pdh-progress-bar{background:var(--ac-green)}.account-settings-main .pdh-metrics>div{border-color:#9fb3c0}.account-settings-main .btn{min-height:39px;border-radius:4px;font-size:.76rem}.account-settings-main .btn:not(.ghost):not(.danger):not(.hero-primary){border-color:var(--ac-navy);background:var(--ac-navy);color:#fff}.account-settings-main .btn:not(.ghost):not(.danger):not(.hero-primary):hover{background:var(--ac-blue-hover);color:#fff}.account-settings-main .btn.ghost{border-color:var(--ac-line-strong);background:var(--ac-surface);color:var(--ac-navy)}.account-settings-main .btn.ghost:hover{border-color:var(--ac-blue);background:#edf5fa;color:var(--ac-blue-hover)}.account-settings-main .link-button{color:var(--ac-blue)}.account-settings-main .link-button:hover{color:var(--ac-blue-hover);text-decoration:underline}.account-settings-main .subscription-current-card{border-color:var(--ac-line);background:var(--ac-surface-2)}.account-settings-main .subscription-current-card>strong{color:var(--ac-ink)}.account-settings-main .subscription-row,.account-settings-main .preference-row,.account-settings-main .developer-toggle-row{border-color:var(--ac-line)}.account-settings-main .theme-preference{border-color:var(--ac-line-strong);background:var(--ac-surface-2)}.account-settings-main .theme-preference button{color:var(--ac-text)}.account-settings-main .theme-preference button:hover{background:#e5eef4;color:var(--ac-ink)}.account-settings-main .theme-preference button.active{background:var(--ac-navy);color:#fff}.account-settings-main .hero-primary{border-color:#8e6100!important;background:var(--ac-amber)!important;color:#2c210b!important}.account-settings-main .hero-primary:hover{background:#ffc44e!important;color:#201807!important}.account-settings-main .btn.danger{border-color:#c95c54!important;background:#fff5f4!important;color:var(--ac-danger)!important}.account-settings-main .btn.danger:hover{background:#fbe1df!important;color:#7e211b!important}.account-settings-main .status{font-weight:850}.account-settings-main .status.review{border-color:#d2a13c;background:#fff7e5;color:#704600}.account-settings-main .status.pass{border-color:#74a78a;background:#eaf6ee;color:#225d3b}.account-settings-main>.account-section.card>h3{margin:6px 0 8px;color:var(--ac-ink);font-size:1.5rem}.account-settings-main>.account-section.card>.eyebrow{color:var(--ac-blue)}.account-settings-main>.account-section.card>.muted{max-width:720px;color:var(--ac-muted);line-height:1.6}
body[data-page="account"] .account-settings-main button:focus-visible,body[data-page="account"] .account-settings-main a:focus-visible,body[data-page="account"] .account-profile-rail button:focus-visible{outline:3px solid var(--ac-focus);outline-offset:3px}
:root[data-theme="dark"] body[data-page="account"]{--ac-bg:#07131d;--ac-surface:#0f2230;--ac-surface-2:#132a39;--ac-ink:#edf5f9;--ac-text:#cbd9e2;--ac-muted:#91a7b5;--ac-line:#2e485a;--ac-line-strong:#436176;--ac-navy:#123f60;--ac-blue:#68b8e6;--ac-blue-hover:#86cdf1;--ac-amber:#f2b63e;--ac-green:#69bd8b;--ac-danger:#ff928b;--ac-focus:#ffc65b;background-color:var(--ac-bg);background-image:linear-gradient(rgba(119,174,207,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(119,174,207,.035) 1px,transparent 1px)}:root[data-theme="dark"] .account-center-shell{box-shadow:0 18px 52px rgba(0,0,0,.28)}:root[data-theme="dark"] .account-profile-rail{background:linear-gradient(180deg,#102736,var(--ac-surface))}:root[data-theme="dark"] .account-plan-badge{border-color:#9d751f;background:#332a17;color:#ffd779}:root[data-theme="dark"] .account-settings-nav button:hover{background:#173447;color:#fff}:root[data-theme="dark"] .account-settings-nav button.active{border-left-color:var(--ac-amber);background:#215f86;color:#fff}:root[data-theme="dark"] .account-rail-signout{background:#132a39;color:#e1edf3}:root[data-theme="dark"] .account-rail-signout:hover{border-color:#7192a7;background:#1b384b;color:#fff}:root[data-theme="dark"] .account-completion-ring{background:radial-gradient(circle at center,var(--ac-surface) 57%,transparent 59%),conic-gradient(var(--ac-amber) 0 60%,#294454 60% 100%)}:root[data-theme="dark"] .account-settings-main input,:root[data-theme="dark"] .account-settings-main select,:root[data-theme="dark"] .account-settings-main textarea{background:#0b1b27!important;border-color:var(--ac-line-strong)!important;color:var(--ac-ink)!important}:root[data-theme="dark"] .verified-field span{color:#8ed7aa}:root[data-theme="dark"] .account-primary-action,:root[data-theme="dark"] .account-settings-main .btn:not(.ghost):not(.danger):not(.hero-primary){border-color:#70b9df!important;background:#1c658f!important;color:#fff!important}:root[data-theme="dark"] .account-primary-action:hover,:root[data-theme="dark"] .account-settings-main .btn:not(.ghost):not(.danger):not(.hero-primary):hover{border-color:#9ad8f7!important;background:#2b7ca8!important;color:#fff!important}:root[data-theme="dark"] .account-settings-main .btn.ghost{border-color:#577387;background:#132a39;color:#e1edf3}:root[data-theme="dark"] .account-settings-main .btn.ghost:hover{border-color:#8cc9eb;background:#1a3b50;color:#fff}:root[data-theme="dark"] .account-settings-main .credential-summary{background:#153448;color:#bcd2df}:root[data-theme="dark"] .account-settings-main .theme-preference{background:#0b1c28}:root[data-theme="dark"] .account-settings-main .theme-preference button{color:#c8d8e1}:root[data-theme="dark"] .account-settings-main .theme-preference button:hover{background:#1a3b50;color:#fff}:root[data-theme="dark"] .account-settings-main .theme-preference button.active{background:#28749e;color:#fff}:root[data-theme="dark"] .account-settings-main .hero-primary{border-color:#ffd16a!important;background:#eeb13a!important;color:#201806!important}:root[data-theme="dark"] .account-settings-main .hero-primary:hover{background:#ffd16a!important;color:#181205!important}:root[data-theme="dark"] .account-settings-main .btn.danger{border-color:#a94e48!important;background:#371d1d!important;color:#ffb1ac!important}:root[data-theme="dark"] .account-settings-main .btn.danger:hover{background:#522522!important;color:#ffd4d1!important}:root[data-theme="dark"] .account-settings-main .status.review{border-color:#9d7a30;background:#332a17;color:#ffd87d}:root[data-theme="dark"] .account-settings-main .status.pass{border-color:#477c5b;background:#173426;color:#9eddb5}:root[data-theme="dark"] .account-settings-main .link-button{color:#84c9ee}:root[data-theme="dark"] .account-settings-main .link-button:hover{color:#b6e3fa}
@media(max-width:1050px){.account-center-shell{grid-template-columns:240px minmax(0,1fr)}.account-settings-main{padding:28px}.account-profile-form{grid-template-columns:1fr}.account-profile-form>section{padding-right:0;border-right:0;border-bottom:1px solid var(--ac-line);padding-bottom:22px}.account-status-list{grid-template-columns:repeat(3,1fr);gap:12px}.account-status-list h2{grid-column:1/-1}.account-status-list>div{border:1px solid var(--ac-line);padding:0 10px}}
@media(max-width:780px){body[data-page="account"]>.page{padding:14px 10px 40px}.account-center-shell{grid-template-columns:1fr}.account-profile-rail{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:3px 12px;padding:18px;border-right:0;border-bottom:1px solid var(--ac-line)}.account-avatar{grid-row:1/4;width:58px;height:58px;margin:0;font-size:1.25rem}.account-profile-name,.account-profile-role,.account-profile-email{text-align:left}.account-plan-badge{grid-column:3;grid-row:1/4;margin:0}.account-settings-nav{grid-column:1/-1;display:flex;overflow:auto;margin-top:12px;padding-top:10px}.account-settings-nav button{flex:0 0 auto;display:block;min-height:39px;border-left:0;border-bottom:3px solid transparent}.account-settings-nav button b{display:none}.account-settings-nav button.active{border-left:0;border-bottom-color:var(--ac-amber)}.account-rail-signout{display:none}.account-settings-main{padding:24px 18px}.account-page-heading{align-items:flex-start}.account-completion{display:none}.account-profile-form{padding:22px}.professional-snapshot{padding:22px}.professional-grid{grid-template-columns:1fr}}
@media(max-width:560px){.account-profile-email{display:none}.account-plan-badge{grid-row:1/3}.account-settings-main{padding:20px 12px}.account-page-heading h1{font-size:1.7rem}.account-profile-panel .form-grid,.account-settings-main .form-grid{grid-template-columns:1fr}.account-status-list{grid-template-columns:1fr}.professional-snapshot button{grid-template-columns:1fr auto}.professional-snapshot button::after{display:none}.professional-snapshot button>strong{grid-column:2}.account-settings-main>.account-section{padding:18px}}

/* Keep the profile subscription badge synchronized and readable in both themes. */
body[data-page="account"] .account-plan-badge.is-pro{border-color:#0b527f;background:#0b527f;color:#fff;box-shadow:0 4px 12px rgba(11,82,127,.18)}
:root[data-theme="dark"] body[data-page="account"] .account-plan-badge.is-pro{border-color:#ffd16a;background:#eeb13a;color:#201806;box-shadow:0 4px 14px rgba(238,177,58,.13)}

/* v0.9.59 engineering intelligence desk · news.html only */
body.news-intelligence-page{--ni-bg:#eaf0f3;--ni-panel:#fff;--ni-panel-soft:#f4f7f9;--ni-ink:#122b3d;--ni-text:#334c5d;--ni-muted:#687d8b;--ni-line:#bdcbd4;--ni-line-soft:#d8e1e6;--ni-navy:#0a2d48;--ni-blue:#176895;--ni-blue-2:#0e527b;--ni-amber:#eab13a;--ni-green:#2f7650;--ni-red:#a54d3a;background:var(--ni-bg);color:var(--ni-text)}
.news-command-page{width:min(1720px,calc(100% - 40px));margin:0 auto;padding:26px 0 54px}.news-command-header{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:12px 2px 20px;border-bottom:3px solid var(--ni-navy)}.news-command-header>div:first-child{max-width:880px}.news-command-header .news-kicker{color:var(--ni-blue);font-size:.75rem}.news-command-header h1{margin:7px 0 8px;color:var(--ni-ink);font-size:clamp(2rem,3.5vw,3.55rem);line-height:1.02;letter-spacing:-.045em}.news-command-header p{max-width:820px;margin:0;color:var(--ni-muted);font-size:1rem;line-height:1.55}.news-command-status{display:flex;align-items:center;gap:12px;min-width:285px;padding:13px 15px;border:1px solid var(--ni-line);border-left:4px solid var(--ni-green);background:var(--ni-panel);box-shadow:0 4px 14px rgba(20,50,70,.06)}.news-live-dot{position:relative;width:12px;height:12px;flex:0 0 12px;border-radius:50%;background:var(--ni-green);box-shadow:0 0 0 5px rgba(47,118,80,.12)}.news-live-dot:after{content:"";position:absolute;inset:-6px;border:1px solid rgba(47,118,80,.35);border-radius:50%;animation:newsPulse 2.4s ease-out infinite}.news-command-status div{display:grid;gap:3px}.news-command-status strong{color:var(--ni-ink);font-size:.84rem}.news-command-status small{color:var(--ni-muted);font-size:.75rem}
.news-signal-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:43px;padding:0 13px;border:1px solid #355d78;border-top:0;background:var(--ni-navy);color:#e8f2f8;overflow:hidden}.news-signal-label,.news-signal-time{font:850 .68rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;white-space:nowrap}.news-signal-label{display:flex;align-items:center;gap:8px;color:#ffd371}.news-signal-label i{width:7px;height:7px;border-radius:50%;background:#65d192}.news-signal-time{color:#95afc0}.news-signal-track{display:flex;gap:34px;min-width:max-content;animation:newsTicker 30s linear infinite}.news-signal-track span{font-size:.75rem;color:#d7e7f0}.news-signal-track span:before{content:"//";margin-right:10px;color:#eab13a;font-family:ui-monospace,monospace}
.news-intelligence-layout{display:grid;grid-template-columns:248px minmax(520px,1fr) 284px;gap:16px;margin-top:17px;align-items:start}.news-filter-rail,.news-context-card,.news-intelligence-main{min-width:0}.news-filter-rail{position:sticky;top:78px;border:1px solid #1d4c6c;border-top:4px solid var(--ni-amber);background:var(--ni-navy);color:#fff}.news-rail-heading{display:grid;gap:4px;padding:17px 15px 12px}.news-rail-heading span{color:#8fb0c4;font:850 .66rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em}.news-rail-heading strong{color:#fff;font-size:.9rem}.news-channel-list{display:grid}.news-channel-list .news-category{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:8px;min-height:48px;padding:7px 13px;border:0;border-top:1px solid rgba(211,229,240,.12);background:transparent;color:#d7e5ed;text-align:left;cursor:pointer}.news-channel-list .news-category>span{color:#769db6;font:.68rem ui-monospace,monospace}.news-channel-list .news-category strong{font-size:.79rem;line-height:1.25}.news-channel-list .news-category em{min-width:23px;padding:3px 5px;border-radius:10px;background:rgba(255,255,255,.08);color:#adc4d2;font-size:.64rem;font-style:normal;text-align:center}.news-channel-list .news-category:hover{background:#164663;color:#fff}.news-channel-list .news-category.active{padding-left:9px;border-left:4px solid var(--ni-amber);background:#1b5b83;color:#fff}.news-channel-list .news-category.active em{background:#fff;color:#134a6d}.news-source-registry{margin-top:12px;border-top:1px solid rgba(211,229,240,.18);padding-bottom:12px}.news-source-registry a{display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin:0 12px 8px;padding:10px;border:1px solid rgba(199,221,234,.17);background:rgba(4,25,40,.35);color:#fff;text-decoration:none}.news-source-registry a:hover{border-color:#75abc9;background:#123e5a}.news-source-registry b{font-size:.76rem;letter-spacing:.04em}.news-source-registry span{grid-column:1/-1;color:#afc5d2;font-size:.69rem;line-height:1.4}.news-source-registry i{color:#f4ca68;font-size:.65rem;font-style:normal}
.news-intelligence-main{border-top:4px solid var(--ni-navy)}.news-desk-controls{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:16px 18px;border:1px solid var(--ni-line);border-top:0;background:var(--ni-panel)}.news-desk-controls h2{margin:3px 0 3px;color:var(--ni-ink);font-size:1.55rem}.news-desk-controls>div:first-child>small{color:var(--ni-muted);font-size:.75rem}.news-desk-controls>div:first-child>small b{color:var(--ni-blue)}.news-control-stack{display:grid;grid-template-columns:minmax(230px,1fr) 150px;gap:8px;width:min(520px,55%)}.news-search,.news-sort{width:auto}.news-search span,.news-sort span{display:block;margin-bottom:5px;color:var(--ni-muted);font-size:.68rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.news-search input,.news-sort select{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--ni-line);border-radius:3px;background:var(--ni-panel);color:var(--ni-ink);font:inherit;font-size:.82rem}.news-search input:focus,.news-sort select:focus{outline:3px solid rgba(23,104,149,.16);border-color:var(--ni-blue)}
.news-lead-brief{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);min-height:330px;margin-top:13px;border:1px solid #6f8fa3;background:var(--ni-panel);box-shadow:0 8px 24px rgba(14,47,68,.09);overflow:hidden}.news-lead-map{position:relative;min-height:300px;background:#0c3b59;overflow:hidden}.news-map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(180,216,235,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(180,216,235,.12) 1px,transparent 1px);background-size:25px 25px}.route-line{position:absolute;display:block;height:12px;border-top:3px solid #cce7f5;border-bottom:1px dashed #9fc9de;filter:drop-shadow(0 5px 0 rgba(4,25,39,.28))}.route-a{left:-14%;top:40%;width:128%;transform:rotate(-13deg)}.route-b{left:22%;top:28%;width:92%;transform:rotate(58deg)}.news-map-node{position:absolute;width:13px;height:13px;border:3px solid #0c3b59;border-radius:50%;background:var(--ni-amber);box-shadow:0 0 0 2px #ffe3a0}.node-a{left:24%;top:49%}.node-b{left:54%;top:40%}.node-c{right:17%;top:28%}.news-map-label{position:absolute;left:18px;right:18px;bottom:17px;display:grid;gap:3px;padding:13px 14px;border-left:4px solid var(--ni-amber);background:rgba(5,28,43,.82);backdrop-filter:blur(5px)}.news-map-label span{color:#e9bd54;font:.66rem ui-monospace,monospace;letter-spacing:.12em}.news-map-label strong{color:#fff;font-size:1rem;letter-spacing:.04em}.news-map-label small{color:#b9d2df;font-size:.72rem}.news-lead-copy{display:flex;flex-direction:column;justify-content:center;padding:30px}.news-meta{font-size:.67rem}.news-official-mark{color:var(--ni-green);font-weight:850}.news-lead-copy h2{margin:12px 0 10px;color:var(--ni-ink);font-size:clamp(1.55rem,2.3vw,2.25rem);line-height:1.12;letter-spacing:-.028em}.news-lead-copy>p{margin:0;color:var(--ni-text);font-size:1rem;line-height:1.6}.news-impact-line{display:grid;gap:5px;margin-top:19px;padding:12px 14px;border-left:4px solid var(--ni-amber);background:var(--ni-panel-soft)}.news-impact-line span{color:#876117;font:.68rem ui-monospace,monospace;letter-spacing:.1em}.news-impact-line strong{color:var(--ni-ink);font-size:.78rem;line-height:1.45}.news-feature-actions{margin-top:20px}.news-feature-actions .btn{border-color:var(--ni-navy);background:var(--ni-navy);color:#fff}.news-feature-actions .btn:hover{background:var(--ni-blue-2);color:#fff}.news-feature-actions a{color:var(--ni-blue-2);font-size:.76rem;font-weight:800}
.news-intelligence-main .news-feed{display:grid;gap:9px;margin-top:11px;border:0}.news-intelligence-main .news-story{display:grid;grid-template-columns:92px minmax(0,1fr);gap:0;padding:0;border:1px solid var(--ni-line);background:var(--ni-panel);transition:transform .14s,box-shadow .14s,border-color .14s}.news-intelligence-main .news-story:hover{transform:translateY(-1px);border-color:#7999ad;background:var(--ni-panel);box-shadow:0 7px 18px rgba(18,52,73,.08)}.news-story-source{display:grid;align-content:center;justify-items:center;gap:5px;padding:14px 7px;border-right:1px solid var(--ni-line);background:#eaf1f5;color:#1b5579}.news-story-source b{font-size:.85rem;letter-spacing:.04em}.news-story-source span{color:#678394;font:.58rem ui-monospace,monospace;letter-spacing:.08em}.news-story-source.dotd{background:#e7f0f5;color:#174f72}.news-story-source.lapels{background:#f4efe2;color:#725617}.news-story-source.movebr{background:#e8f1ea;color:#376b48}.news-story-copy{padding:16px 18px}.news-story-copy h3{margin:7px 0 5px;color:var(--ni-ink);font-size:1rem;line-height:1.3}.news-story-copy>p{margin:0;color:var(--ni-text);font-size:.85rem;line-height:1.55}.news-story-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:11px;padding-top:9px;border-top:1px dotted var(--ni-line);color:var(--ni-muted);font-size:.7rem}.news-story-footer b{color:var(--ni-blue-2)}.news-intelligence-main .news-text-button{padding:5px 0;border:0;background:transparent;color:var(--ni-blue-2);font-size:.72rem;font-weight:850;cursor:pointer}.news-intelligence-main .news-text-button:hover{text-decoration:underline}.news-intelligence-main .news-empty{display:grid;gap:6px;margin-top:12px;padding:32px;border:1px dashed var(--ni-line);background:var(--ni-panel);color:var(--ni-muted)}.news-intelligence-main .news-empty[hidden]{display:none}.news-intelligence-main .news-empty strong{color:var(--ni-ink);font-size:1rem}
.news-context-rail{position:sticky;top:78px;display:grid;gap:12px}.news-context-card{border:1px solid var(--ni-line);border-top:4px solid var(--ni-blue);background:var(--ni-panel);padding:17px;box-shadow:0 4px 15px rgba(16,48,68,.05)}.news-context-card h2{margin:5px 0 13px;color:var(--ni-ink);font-size:1.05rem}.watch-item{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px 0;border-top:1px solid var(--ni-line-soft)}.watch-item>b{color:#9b6b0b;font:.75rem ui-monospace,monospace}.watch-item div{display:grid;gap:4px}.watch-item strong{color:var(--ni-ink);font-size:.78rem}.watch-item span{color:var(--ni-muted);font-size:.7rem;line-height:1.45}.news-context-head{display:flex;align-items:center;justify-content:space-between}.news-context-head>strong{color:var(--ni-green);font-size:.82rem}.source-health-row{display:grid;grid-template-columns:55px 1fr auto;align-items:center;gap:8px;margin-top:12px}.source-health-row>span{color:var(--ni-ink);font-size:.7rem;font-weight:800}.source-health-row>i{height:5px;background:#dce5e9;overflow:hidden}.source-health-row>i b{display:block;height:100%;background:var(--ni-green)}.source-health-row>em{color:var(--ni-green);font-size:.64rem;font-style:normal}.source-health-card>p,.integrity-card>p{margin:15px 0 0;color:var(--ni-muted);font-size:.7rem;line-height:1.55}.integrity-card{border-top-color:var(--ni-amber);background:linear-gradient(150deg,#fffdf7,var(--ni-panel))}
.news-intelligence-page .news-summary-modal{backdrop-filter:blur(8px)}.news-intelligence-page .news-summary-card{width:min(680px,100%);border:1px solid #6e8da1;border-top:5px solid var(--ni-amber);border-radius:6px;background:var(--ni-panel);color:var(--ni-text);padding:28px}.news-intelligence-page .news-summary-card h2{margin:7px 0 12px;color:var(--ni-ink);font-size:1.65rem}.news-intelligence-page .news-summary-card p{color:var(--ni-text);font-size:.95rem;line-height:1.65}.news-modal-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--ni-muted);font-size:.7rem;text-transform:uppercase}.news-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.news-modal-actions .btn{margin:0}.news-modal-actions .btn:first-child{background:var(--ni-navy);border-color:var(--ni-navy);color:#fff}.news-modal-actions .btn.ghost{background:var(--ni-panel);border-color:var(--ni-line);color:var(--ni-blue-2)}
body.news-intelligence-page button:focus-visible,body.news-intelligence-page a:focus-visible,body.news-intelligence-page input:focus-visible,body.news-intelligence-page select:focus-visible{outline:3px solid var(--ni-amber);outline-offset:3px}
@keyframes newsPulse{0%{transform:scale(.65);opacity:1}75%,100%{transform:scale(1.6);opacity:0}}@keyframes newsTicker{from{transform:translateX(0)}to{transform:translateX(-35%)}}
@media(prefers-reduced-motion:reduce){.news-live-dot:after,.news-signal-track{animation:none}}
@media(max-width:1320px){.news-intelligence-layout{grid-template-columns:225px minmax(500px,1fr)}.news-context-rail{position:static;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.news-context-card{min-height:100%}}
@media(max-width:940px){.news-command-page{width:min(100% - 24px,1100px)}.news-command-header{align-items:flex-start;flex-direction:column}.news-command-status{width:100%}.news-intelligence-layout{grid-template-columns:1fr}.news-filter-rail{position:static}.news-channel-list{grid-template-columns:repeat(2,1fr)}.news-source-registry{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:12px}.news-source-registry .news-rail-heading{grid-column:1/-1;padding:0 3px 8px}.news-source-registry a{margin:0}.news-context-rail{grid-template-columns:1fr 1fr}.integrity-card{grid-column:1/-1}.news-lead-brief{grid-template-columns:1fr}.news-lead-map{min-height:240px}}
@media(max-width:680px){.news-command-page{width:calc(100% - 18px);padding-top:16px}.news-command-header h1{font-size:2.15rem}.news-command-header p{font-size:.9rem}.news-signal-strip{grid-template-columns:auto 1fr}.news-signal-time{display:none}.news-channel-list{grid-template-columns:1fr}.news-source-registry{grid-template-columns:1fr}.news-desk-controls{align-items:stretch;flex-direction:column}.news-control-stack{grid-template-columns:1fr;width:100%}.news-lead-copy{padding:22px}.news-lead-copy>p{font-size:.9rem}.news-intelligence-main .news-story{grid-template-columns:1fr}.news-story-source{grid-template-columns:auto auto;justify-content:start;border-right:0;border-bottom:1px solid var(--ni-line);padding:9px 15px}.news-story-footer{align-items:flex-start;flex-direction:column}.news-context-rail{grid-template-columns:1fr}.integrity-card{grid-column:auto}}

/* Dark engineering intelligence palette */
:root[data-theme="dark"] body.news-intelligence-page{--ni-bg:#07131d;--ni-panel:#0f2230;--ni-panel-soft:#142b3a;--ni-ink:#edf5f9;--ni-text:#c5d5de;--ni-muted:#91a8b6;--ni-line:#355064;--ni-line-soft:#294354;--ni-navy:#0a2a40;--ni-blue:#70c0ea;--ni-blue-2:#8ed0f1;--ni-amber:#f0b941;--ni-green:#74c995;--ni-red:#ff9b8e}.news-intelligence-page[data-page="news"]{background-image:linear-gradient(rgba(117,170,201,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(117,170,201,.035) 1px,transparent 1px);background-size:28px 28px}:root[data-theme="dark"] .news-command-status{background:#102635;border-color:#36556a;border-left-color:#74c995}:root[data-theme="dark"] .news-signal-strip{background:#09283d;border-color:#31546b}:root[data-theme="dark"] .news-filter-rail{background:#0b2b42;border-color:#31556e}:root[data-theme="dark"] .news-channel-list .news-category.active{background:#215f86;color:#fff}:root[data-theme="dark"] .news-channel-list .news-category.active em{background:#e8f4fa;color:#103c59}:root[data-theme="dark"] .news-search input,:root[data-theme="dark"] .news-sort select{background:#0b1d29!important;border-color:#436176!important;color:#edf5f9!important}:root[data-theme="dark"] .news-lead-brief{border-color:#42657b}:root[data-theme="dark"] .news-impact-line{background:#132c3b}:root[data-theme="dark"] .news-impact-line span{color:#ffd477}:root[data-theme="dark"] .news-feature-actions .btn{border-color:#79bfe3;background:#1d668f;color:#fff}:root[data-theme="dark"] .news-feature-actions .btn:hover{background:#2b7da8;color:#fff}:root[data-theme="dark"] .news-story-source{background:#162f40;color:#9bd8f5}:root[data-theme="dark"] .news-story-source.dotd{background:#153247;color:#a9def8}:root[data-theme="dark"] .news-story-source.lapels{background:#352c19;color:#ffdc82}:root[data-theme="dark"] .news-story-source.movebr{background:#173628;color:#9bdeb1}:root[data-theme="dark"] .source-health-row>i{background:#294453}:root[data-theme="dark"] .integrity-card{background:linear-gradient(150deg,#302918,var(--ni-panel))}:root[data-theme="dark"] .news-intelligence-page .news-summary-card{background:#102431;border-color:#4a6a7f}:root[data-theme="dark"] .news-modal-actions .btn:first-child{border-color:#79bfe3;background:#1d668f;color:#fff}:root[data-theme="dark"] .news-modal-actions .btn.ghost{background:#142b3a;color:#cceafa;border-color:#4a687c}

/* v0.9.60 home page below-hero redesign · the image hero remains untouched */
.landing-page{--hr-bg:#eef3f6;--hr-panel:#fff;--hr-panel-soft:#f5f8fa;--hr-ink:#102d42;--hr-text:#3a5263;--hr-muted:#667d8d;--hr-line:#bdcdd7;--hr-line-soft:#d8e2e8;--hr-navy:#0a2d48;--hr-navy-2:#123f5f;--hr-blue:#1681bf;--hr-cyan:#64bff1;--hr-amber:#edb43f}.home-news-redesign,.home-workflow-redesign,.home-capability-redesign,.home-trust-redesign,.home-entry-redesign{margin:28px 0 0}.home-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:0 2px 18px}.home-section-heading>div{max-width:820px}.home-section-index{display:block;color:#286a91;font:850 .72rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em}.home-section-heading h2,.home-trust-intro h2,.home-entry-redesign h2{margin:7px 0 7px;color:var(--hr-ink);font-size:clamp(1.75rem,3vw,2.65rem);line-height:1.12;letter-spacing:-.035em}.home-section-heading p,.home-trust-intro p,.home-entry-redesign p{margin:0;color:var(--hr-muted);font-size:1rem;line-height:1.55}.home-inline-link{display:flex;align-items:center;gap:10px;white-space:nowrap;color:#125f8e;font-size:.84rem;font-weight:850;text-decoration:none}.home-inline-link span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #79a8c4;background:#fff}.home-inline-link:hover{color:#0a466d}.home-heading-note{padding:7px 10px;border:1px solid #9fb6c5;color:#5b7484;font:850 .68rem ui-monospace,monospace;letter-spacing:.11em}
.home-news-frame{border:1px solid #365e78;border-top:4px solid var(--hr-amber);background:var(--hr-navy);box-shadow:0 13px 32px rgba(13,47,68,.12);overflow:hidden}.home-news-redesign .home-news-carousel{height:360px;min-height:360px;background:var(--hr-navy)}.home-news-redesign .home-news-slide{height:360px;min-height:360px;max-height:360px;grid-template-columns:minmax(0,1.38fr) minmax(290px,.62fr);gap:0;padding:0;background:var(--hr-navy);color:#fff;overflow:hidden}.home-news-redesign .home-news-slide.active{display:grid}.home-news-editorial-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:42px 48px;background:radial-gradient(circle at 96% 0,rgba(70,161,215,.16),transparent 34%),linear-gradient(140deg,#0a2d48,#123f5f)}.home-news-meta{display:flex;align-items:center;gap:10px;color:#a8c8da;font:.7rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em}.home-news-meta span{color:#f3c456}.home-news-meta b{padding-left:10px;border-left:1px solid #4b748e;font:inherit}.home-news-editorial-copy h3{max-width:800px;margin:17px 0 12px;color:#fff;font-size:clamp(1.75rem,3.1vw,3rem);line-height:1.08;letter-spacing:-.038em}.home-news-editorial-copy>p{max-width:760px;margin:0;color:#c9dce8;font-size:1rem;line-height:1.6}.home-news-actions{display:flex;align-items:center;gap:16px;margin-top:25px}.home-news-actions .btn{border-color:#7ac8f2;background:#1681bf;color:#fff}.home-news-actions .btn:hover{background:#0d6fa8;color:#fff}.home-news-actions>span{color:#8eafc2;font-size:.75rem}.home-news-brief-panel{display:grid;align-content:center;gap:0;padding:30px;background:#f7fafc;color:var(--hr-text);border-left:1px solid #587a90}.brief-label{margin-bottom:10px;color:#356d8e;font:.68rem ui-monospace,monospace;letter-spacing:.12em}.home-news-brief-panel>div{display:grid;grid-template-columns:74px 1fr;gap:10px;padding:14px 0;border-top:1px solid var(--hr-line)}.home-news-brief-panel b{color:var(--hr-ink);font-size:.78rem;letter-spacing:.04em}.home-news-brief-panel div span{color:var(--hr-muted);font-size:.78rem;line-height:1.4}.home-news-redesign .home-news-carousel-controls{min-height:46px;padding:7px 12px;border-top:1px solid #345a73;background:#08263d}.home-news-redesign .home-news-carousel-controls>button{width:36px;height:32px;border-color:#527891;background:#113c59;color:#fff;cursor:pointer}.home-news-redesign .home-news-carousel-controls>button:hover{background:#1c5c84}.home-news-redesign .home-news-carousel-controls #home-news-dots button{height:4px;background:#56768a;cursor:pointer}.home-news-redesign .home-news-carousel-controls #home-news-dots button.active{background:var(--hr-amber)}.home-news-position{margin-left:auto;color:#94b1c2;font:.68rem ui-monospace,monospace;letter-spacing:.11em}
.home-workflow-redesign{padding:38px 34px 32px;border:1px solid var(--hr-line);background:var(--hr-panel);box-shadow:0 7px 24px rgba(17,52,73,.06)}.home-delivery-path{display:grid;grid-template-columns:repeat(6,1fr);border-top:3px solid var(--hr-navy)}.home-delivery-path article{position:relative;display:grid;grid-template-columns:auto 1fr;gap:11px;min-width:0;padding:23px 16px 6px 0}.home-delivery-path article:not(:last-child){margin-right:16px;border-right:1px solid var(--hr-line-soft)}.home-delivery-path article:before{content:"";position:absolute;top:-7px;left:0;width:11px;height:11px;border:2px solid var(--hr-panel);border-radius:50%;background:var(--hr-amber);box-shadow:0 0 0 1px var(--hr-navy)}.home-delivery-path article>span{color:#9b6d16;font:850 .7rem ui-monospace,monospace}.home-delivery-path small{color:#397596;font:.65rem ui-monospace,monospace;letter-spacing:.09em}.home-delivery-path h3{margin:4px 0 6px;color:var(--hr-ink);font-size:1rem}.home-delivery-path p{margin:0;color:var(--hr-muted);font-size:.78rem;line-height:1.5}
.home-capability-redesign{padding:38px 34px;background:var(--hr-navy);border:1px solid #315a74;border-top:4px solid var(--hr-cyan);box-shadow:0 15px 36px rgba(10,36,54,.16)}.home-capability-redesign .home-section-heading h2{color:#fff}.home-capability-redesign .home-section-heading p{color:#b7cfdd}.home-capability-redesign .home-section-index{color:#79c6ee}.home-capability-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:11px}.home-capability-grid article{border:1px solid #4b7088;background:#103a57;color:#fff}.home-capability-primary{grid-row:span 2;display:grid;grid-template-columns:auto 1fr;gap:20px;padding:30px;background:radial-gradient(circle at 92% 8%,rgba(49,144,199,.18),transparent 35%),#0b334f!important}.capability-number{color:#f0c25b;font:850 .8rem ui-monospace,monospace}.capability-kicker{color:#79c6ee;font:850 .68rem ui-monospace,monospace;letter-spacing:.11em}.home-capability-grid h3{color:#fff}.home-capability-primary h3{max-width:680px;margin:10px 0 12px;font-size:clamp(1.5rem,2.6vw,2.35rem);line-height:1.14;letter-spacing:-.03em}.home-capability-primary p{margin:0;color:#c1d6e2;font-size:.92rem;line-height:1.65}.capability-flow{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:22px 0;padding:13px;border:1px solid #466c84;background:#082940}.capability-flow span{color:#dbeaf2;font-size:.7rem}.capability-flow b{color:#eaba4e}.home-capability-grid a{color:#8dd5f7;font-size:.78rem;font-weight:850;text-decoration:none}.home-capability-grid a:hover{color:#fff;text-decoration:underline}.home-capability-card{padding:23px}.home-capability-card h3{margin:10px 0 8px;font-size:1.08rem}.home-capability-card p{min-height:62px;margin:0 0 16px;color:#b8cfdb;font-size:.8rem;line-height:1.55}
.home-trust-redesign{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.6fr);gap:35px;padding:39px 35px;border:1px solid var(--hr-line);background:var(--hr-panel)}.home-trust-intro{padding-right:30px;border-right:1px solid var(--hr-line)}.home-trust-intro h2{font-size:clamp(1.7rem,2.8vw,2.45rem)}.home-principle-list{display:grid}.home-principle-list article{display:grid;grid-template-columns:42px 1fr;gap:16px;padding:17px 0;border-top:1px solid var(--hr-line-soft)}.home-principle-list article:first-child{border-top:0;padding-top:3px}.home-principle-list article>span{color:#a06d0f;font:850 .75rem ui-monospace,monospace}.home-principle-list h3{margin:0 0 5px;color:var(--hr-ink);font-size:1rem}.home-principle-list p{margin:0;color:var(--hr-muted);font-size:.86rem;line-height:1.55}.home-entry-redesign{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:28px;padding:34px 38px;border-left:5px solid var(--hr-amber);background:linear-gradient(120deg,#0a2d48,#124665);color:#fff;box-shadow:0 12px 28px rgba(11,42,61,.15)}.home-entry-redesign>div:first-child{max-width:760px}.home-entry-redesign .home-section-index{color:#f1c45f}.home-entry-redesign h2{color:#fff;font-size:clamp(1.55rem,2.8vw,2.35rem)}.home-entry-redesign p{color:#c4d9e5}.home-entry-actions{display:flex;gap:10px;flex-wrap:wrap}.home-entry-actions .btn{min-height:43px;white-space:nowrap}.home-entry-actions .hero-primary{border-color:#7ac8f2!important;background:#1681bf!important;color:#fff!important}.home-entry-actions .hero-primary:hover{background:#0f6fa7!important}.home-entry-actions .ghost{border-color:#7598ad;background:#113e5a;color:#fff}.home-entry-actions .ghost:hover{background:#1a5374;color:#fff}
@media(max-width:1180px){.home-delivery-path{grid-template-columns:repeat(3,1fr);row-gap:20px}.home-delivery-path article:nth-child(3){border-right:0}.home-capability-grid{grid-template-columns:1.25fr 1fr}.home-capability-primary{grid-row:span 4}.home-news-redesign .home-news-slide{grid-template-columns:minmax(0,1.2fr) minmax(275px,.8fr)}}
@media(max-width:820px){.home-section-heading{align-items:flex-start;flex-direction:column}.home-news-redesign .home-news-carousel{height:560px;min-height:560px}.home-news-redesign .home-news-slide{height:560px;min-height:560px;max-height:560px;grid-template-columns:1fr}.home-news-editorial-copy{padding:32px}.home-news-brief-panel{grid-template-columns:1fr 1fr;padding:20px 26px;border-left:0;border-top:1px solid #587a90}.brief-label{grid-column:1/-1}.home-news-brief-panel>div{padding:10px 6px}.home-workflow-redesign,.home-capability-redesign{padding:29px 24px}.home-delivery-path{grid-template-columns:1fr 1fr}.home-delivery-path article:nth-child(2n){border-right:0}.home-delivery-path article:nth-child(3){border-right:1px solid var(--hr-line-soft)}.home-capability-grid{grid-template-columns:1fr}.home-capability-primary{grid-row:auto}.home-trust-redesign{grid-template-columns:1fr}.home-trust-intro{padding-right:0;padding-bottom:24px;border-right:0;border-bottom:1px solid var(--hr-line)}.home-entry-redesign{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.home-news-redesign,.home-workflow-redesign,.home-capability-redesign,.home-trust-redesign,.home-entry-redesign{margin-top:18px}.home-news-redesign .home-news-carousel{height:620px;min-height:620px}.home-news-redesign .home-news-slide{height:620px;min-height:620px;max-height:620px}.home-news-editorial-copy{padding:26px 22px}.home-news-editorial-copy h3{font-size:1.75rem}.home-news-actions{align-items:flex-start;flex-direction:column}.home-news-brief-panel{grid-template-columns:1fr}.brief-label{grid-column:auto}.home-news-brief-panel>div{grid-template-columns:65px 1fr}.home-news-position{display:none}.home-delivery-path{grid-template-columns:1fr}.home-delivery-path article,.home-delivery-path article:nth-child(3){margin-right:0;border-right:0;border-bottom:1px solid var(--hr-line-soft)}.home-capability-primary{grid-template-columns:1fr}.capability-flow{align-items:flex-start;flex-direction:column}.capability-flow b{transform:rotate(90deg)}.home-trust-redesign,.home-entry-redesign{padding:27px 22px}.home-entry-actions{width:100%}.home-entry-actions .btn{width:100%;justify-content:center}}

:root[data-theme="dark"] .landing-page{--hr-bg:#07131d;--hr-panel:#0f2230;--hr-panel-soft:#142b39;--hr-ink:#edf5f9;--hr-text:#c6d6df;--hr-muted:#91a7b5;--hr-line:#355064;--hr-line-soft:#294354;--hr-navy:#09283e;--hr-navy-2:#123c58;--hr-blue:#54b0df;--hr-cyan:#78c8ef;--hr-amber:#f0b941}:root[data-theme="dark"] .home-inline-link{color:#8dd3f5}:root[data-theme="dark"] .home-inline-link span{border-color:#4d6c80;background:#132b3a}:root[data-theme="dark"] .home-heading-note{border-color:#496779;color:#a7bcc8}:root[data-theme="dark"] .home-news-brief-panel{background:#102431;color:var(--hr-text)}:root[data-theme="dark"] .home-workflow-redesign,:root[data-theme="dark"] .home-trust-redesign{background:#0f2230}:root[data-theme="dark"] .home-delivery-path article:before{border-color:#0f2230}:root[data-theme="dark"] .home-capability-grid article{border-color:#466b83;background:#113a56}:root[data-theme="dark"] .home-entry-redesign{background:linear-gradient(120deg,#09283e,#123c58)}

/* Accessible action contrast within the redesigned below-hero content. */
.home-news-redesign .home-news-actions .btn,.home-entry-redesign .home-entry-actions .hero-primary{border-color:#79bfe5!important;background:#0b679b!important;color:#fff!important}
.home-news-redesign .home-news-actions .btn:hover,.home-entry-redesign .home-entry-actions .hero-primary:hover{background:#084f78!important;color:#fff!important}

/* Compact home-news preview: one lead briefing with three secondary headlines. */
.home-news-redesign .home-news-carousel{height:310px;min-height:310px}.home-news-redesign .home-news-slide{height:310px;min-height:310px;max-height:310px;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)}.home-news-redesign .home-news-editorial-copy{padding:30px 38px}.home-news-redesign .home-news-editorial-copy h3{margin:13px 0 9px;font-size:clamp(1.55rem,2.5vw,2.35rem)}.home-news-redesign .home-news-editorial-copy>p{font-size:.9rem;line-height:1.55}.home-news-redesign .home-news-actions{margin-top:17px}.home-headline-stack{display:grid;align-content:center;padding:17px 22px;background:#f7fafc;border-left:1px solid #587a90}.home-headline-stack>.brief-label{margin:0 0 5px}.home-headline-stack>a{display:grid;gap:4px;padding:12px 0;border-top:1px solid var(--hr-line);color:var(--hr-ink);text-decoration:none}.home-headline-stack>a:hover strong{color:#0b679b;text-decoration:underline}.home-headline-stack small{color:#51778e;font:.66rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.07em}.home-headline-stack strong{font-size:.78rem;line-height:1.35}.home-news-redesign .home-news-carousel-controls{min-height:42px;padding-top:5px;padding-bottom:5px}
:root[data-theme="dark"] .home-headline-stack{background:#102431;border-left-color:#4b6b80}:root[data-theme="dark"] .home-headline-stack>a{color:#e7f1f6}:root[data-theme="dark"] .home-headline-stack small{color:#8bc4e2}:root[data-theme="dark"] .home-headline-stack>a:hover strong{color:#9ddcff}
@media(max-width:820px){.home-news-redesign .home-news-carousel{height:500px;min-height:500px}.home-news-redesign .home-news-slide{height:500px;min-height:500px;max-height:500px;grid-template-columns:1fr}.home-news-redesign .home-news-editorial-copy{padding:27px 30px}.home-headline-stack{grid-template-columns:repeat(3,1fr);gap:0 14px;padding:16px 24px;border-left:0;border-top:1px solid #587a90}.home-headline-stack>.brief-label{grid-column:1/-1}.home-headline-stack>a{align-content:start}}
@media(max-width:560px){.home-news-redesign .home-news-carousel{height:590px;min-height:590px}.home-news-redesign .home-news-slide{height:590px;min-height:590px;max-height:590px}.home-news-redesign .home-news-editorial-copy{padding:24px 21px}.home-news-redesign .home-news-editorial-copy h3{font-size:1.55rem}.home-headline-stack{grid-template-columns:1fr;padding:13px 20px}.home-headline-stack>.brief-label{grid-column:auto}.home-headline-stack>a{padding:9px 0}.home-news-redesign .home-news-position{display:none}}

/* v0.9.61 mobile home refinement · desktop presentation is intentionally unchanged */
@media(max-width:620px){
  body[data-page="home"] .site-header .nav-wrap{display:flex;flex-wrap:nowrap;gap:10px;min-height:58px;padding:9px 13px}
  body[data-page="home"] .site-header .brand{min-width:0;font-size:.88rem;line-height:1.05;letter-spacing:-.01em;white-space:normal}
  body[data-page="home"] .site-header .brand small,
  body[data-page="home"] .site-header .header-search,
  body[data-page="home"] .site-header .nav-links a[data-page="home"],
  body[data-page="home"] .site-header .nav-links a[data-page="tools"],
  body[data-page="home"] .site-header .workbench-nav-launch{display:none!important}
  body[data-page="home"] .site-header .nav-links{display:flex;flex:0 0 auto;gap:3px;margin-left:auto}
  body[data-page="home"] .site-header .nav-links a{display:inline-flex;align-items:center;min-height:36px;padding:7px 8px;border:1px solid transparent;border-radius:4px;font-size:.68rem;white-space:nowrap}
  body[data-page="home"] .site-header .nav-links a[data-page="account"]{border-color:#53748a;background:#123b57;color:#fff}

  body[data-page="home"] .landing-page.page{width:100%;max-width:none;padding:12px 12px 34px;overflow:hidden}
  body[data-page="home"] .home-news-redesign,
  body[data-page="home"] .home-workflow-redesign,
  body[data-page="home"] .home-capability-redesign,
  body[data-page="home"] .home-trust-redesign,
  body[data-page="home"] .home-entry-redesign{margin-top:15px}

  body[data-page="home"] .home-hero-image-map{isolation:isolate;aspect-ratio:4/5;min-height:0;border-radius:6px;overflow:hidden;background:#09283e}
  body[data-page="home"] .home-hero-image-map>img{width:100%!important;height:100%;max-width:none;transform:none!important;object-fit:cover;object-position:57% center;filter:brightness(.65) saturate(.88)}
  body[data-page="home"] .home-hero-image-map .sr-only{position:absolute!important;z-index:2;inset:auto 0 0;width:auto!important;height:auto!important;margin:0!important;padding:88px 20px 21px!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;background:linear-gradient(180deg,transparent,rgba(4,24,38,.94) 58%);color:#fff}
  body[data-page="home"] .home-hero-image-map .sr-only h1{max-width:320px;margin:0 0 9px;color:#fff;font-size:clamp(1.72rem,8vw,2rem);line-height:1.04;letter-spacing:-.04em}
  body[data-page="home"] .home-hero-image-map .sr-only p{max-width:315px;margin:0;color:#d3e2ea;font-size:.86rem;line-height:1.48}
  body[data-page="home"] .hero-hotspot{display:none!important}
  body[data-page="home"] .home-hero-mobile-links{display:grid;grid-template-columns:1.15fr .85fr;gap:8px;margin-top:9px}
  body[data-page="home"] .home-hero-mobile-links a{display:flex;align-items:center;justify-content:center;min-height:43px;padding:9px 12px;border:1px solid #7391a4;border-radius:4px;background:#fff;color:#143b55;font-size:.78rem;font-weight:850;text-decoration:none}
  body[data-page="home"] .home-hero-mobile-links a:first-child{border-color:#0b679b;background:#0b679b;color:#fff}
  body[data-page="home"] .home-hero-mobile-links a:nth-child(n+3){display:none}

  body[data-page="home"] .home-section-heading{display:block;padding:3px 2px 13px}
  body[data-page="home"] .home-section-index{font-size:.62rem;letter-spacing:.1em}
  body[data-page="home"] .home-section-heading h2,
  body[data-page="home"] .home-trust-intro h2,
  body[data-page="home"] .home-entry-redesign h2{margin:5px 0 5px;font-size:1.48rem;line-height:1.12}
  body[data-page="home"] .home-section-heading p,
  body[data-page="home"] .home-trust-intro p,
  body[data-page="home"] .home-entry-redesign p{font-size:.84rem;line-height:1.48}
  body[data-page="home"] .home-inline-link{display:inline-flex;min-height:34px;margin-top:10px;font-size:.75rem}
  body[data-page="home"] .home-inline-link span{width:25px;height:25px}
  body[data-page="home"] .home-heading-note{display:none}

  body[data-page="home"] .home-news-frame{border-top-width:3px;border-radius:5px;box-shadow:none}
  body[data-page="home"] .home-news-redesign .home-news-carousel,
  body[data-page="home"] .home-news-redesign .home-news-slide{height:300px;min-height:300px;max-height:300px}
  body[data-page="home"] .home-news-redesign .home-news-slide{grid-template-columns:1fr}
  body[data-page="home"] .home-news-redesign .home-news-editorial-copy{justify-content:flex-start;padding:24px 19px}
  body[data-page="home"] .home-news-meta{display:block;font-size:.61rem;line-height:1.6;letter-spacing:.07em}
  body[data-page="home"] .home-news-meta b{display:block;padding:0;border:0}
  body[data-page="home"] .home-news-redesign .home-news-editorial-copy h3{margin:11px 0 8px;font-size:1.42rem;line-height:1.08}
  body[data-page="home"] .home-news-redesign .home-news-editorial-copy>p{font-size:.82rem;line-height:1.45}
  body[data-page="home"] .home-news-actions{margin-top:16px}
  body[data-page="home"] .home-news-actions .btn{min-height:39px;padding:9px 12px;font-size:.73rem}
  body[data-page="home"] .home-news-actions>span,
  body[data-page="home"] .home-headline-stack{display:none}
  body[data-page="home"] .home-news-redesign .home-news-carousel-controls{justify-content:center;min-height:39px;padding:5px 12px}
  body[data-page="home"] .home-news-redesign .home-news-carousel-controls>button,
  body[data-page="home"] .home-news-position{display:none}
  body[data-page="home"] .home-news-redesign .home-news-carousel-controls #home-news-dots{display:flex;align-items:center;justify-content:center;gap:7px}
  body[data-page="home"] .home-news-redesign .home-news-carousel-controls #home-news-dots button{width:28px;min-width:28px;height:4px}

  body[data-page="home"] .home-workflow-redesign{padding:22px 18px 12px;border-radius:5px;box-shadow:none}
  body[data-page="home"] .home-delivery-path{display:block;border-top:1px solid var(--hr-line)}
  body[data-page="home"] .home-delivery-path article,
  body[data-page="home"] .home-delivery-path article:nth-child(3){display:grid;grid-template-columns:31px 1fr;gap:9px;align-items:center;margin:0;padding:10px 0;border:0;border-bottom:1px solid var(--hr-line-soft)}
  body[data-page="home"] .home-delivery-path article:last-child{border-bottom:0}
  body[data-page="home"] .home-delivery-path article:before{display:none}
  body[data-page="home"] .home-delivery-path article>span{font-size:.66rem}
  body[data-page="home"] .home-delivery-path small{font-size:.57rem}
  body[data-page="home"] .home-delivery-path h3{margin:2px 0 0;font-size:.9rem}
  body[data-page="home"] .home-delivery-path p{display:none}

  body[data-page="home"] .home-capability-redesign{padding:22px 17px 18px;border-top-width:3px;border-radius:5px;box-shadow:none}
  body[data-page="home"] .home-capability-grid{grid-template-columns:1fr 1fr;gap:8px}
  body[data-page="home"] .home-capability-primary{grid-column:1/-1;display:grid;grid-template-columns:24px 1fr;gap:9px;padding:19px 15px}
  body[data-page="home"] .home-capability-primary h3{margin:7px 0 9px;font-size:1.28rem}
  body[data-page="home"] .home-capability-primary p{font-size:.8rem;line-height:1.48}
  body[data-page="home"] .capability-flow{display:none}
  body[data-page="home"] .home-capability-primary a{display:inline-flex;margin-top:13px;font-size:.75rem}
  body[data-page="home"] .home-capability-card{min-height:106px;padding:14px 12px}
  body[data-page="home"] .home-capability-card h3{margin:7px 0 0;font-size:.92rem;line-height:1.25}
  body[data-page="home"] .home-capability-card p,
  body[data-page="home"] .home-capability-card a{display:none}

  body[data-page="home"] .home-trust-redesign{display:block;padding:23px 18px 14px;border-radius:5px}
  body[data-page="home"] .home-trust-intro{padding:0 0 17px;border:0;border-bottom:1px solid var(--hr-line)}
  body[data-page="home"] .home-principle-list article,
  body[data-page="home"] .home-principle-list article:first-child{grid-template-columns:29px 1fr;gap:9px;padding:12px 0;border-top:0;border-bottom:1px solid var(--hr-line-soft)}
  body[data-page="home"] .home-principle-list article:last-child{border-bottom:0}
  body[data-page="home"] .home-principle-list h3{font-size:.9rem}
  body[data-page="home"] .home-principle-list p{font-size:.77rem;line-height:1.43}

  body[data-page="home"] .home-entry-redesign{display:block;margin-bottom:0;padding:23px 18px;border-left-width:4px;border-radius:4px;box-shadow:none}
  body[data-page="home"] .home-entry-actions{display:block;width:100%;margin-top:17px}
  body[data-page="home"] .home-entry-actions .btn{width:100%;min-height:43px;justify-content:center}
  body[data-page="home"] .home-entry-actions .ghost{display:none}
}

@media(max-width:370px){
  body[data-page="home"] .site-header .nav-links a[data-page="projects"]{display:none}
  body[data-page="home"] .home-hero-image-map{aspect-ratio:1/1.18}
  body[data-page="home"] .home-capability-grid{grid-template-columns:1fr}
  body[data-page="home"] .home-capability-primary{grid-column:auto}
}

/* v0.9.62 shared Transportation Workbench home button */
.site-header .brand{position:relative;display:grid;align-content:center;min-width:166px;padding:7px 9px 7px 31px;border:1px solid transparent;border-radius:4px;color:#fff;line-height:1;letter-spacing:0;white-space:nowrap;transition:background .12s,border-color .12s}
.site-header .brand:hover{border-color:#355b75;background:#123852;color:#fff}
.site-header .brand::before{content:'//';position:absolute;left:9px;top:50%;width:14px;transform:translateY(-52%);color:var(--amber);font:900 15px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-4px;text-align:left;pointer-events:none}
.site-header .brand>span{color:#86b8d5;font-size:8px;font-weight:850;letter-spacing:.18em}
.site-header .brand>strong{margin-top:3px;color:#fff;font-size:14px;font-weight:850;letter-spacing:.045em}
@media(max-width:620px){
  .site-header .brand{min-width:145px;padding-left:29px}
  .site-header .brand::before{left:8px}
  .site-header .brand>strong{font-size:13px}
}

/* v0.9.63 center the global search within the space between brand and navigation */
@media(min-width:1181px){
  .site-header .header-search{margin-left:auto!important;margin-right:auto!important}
  .site-header .nav-links{margin-left:0!important}
}

/* v0.9.65 let global search occupy the full header lane between identity and navigation */
@media(min-width:981px){
  .site-header .header-search{flex:1 1 auto;width:auto;max-width:none;min-width:280px;margin-left:18px!important;margin-right:12px!important}
  .site-header .nav-links{flex:0 0 auto;margin-left:0!important}
}

/* v0.9.66 compact engineering-news chyron between the global header and home hero */
body[data-page="home"] .landing-page.page{padding-top:11px}
.home-news-chyron{height:39px;margin:0 0 11px;border:1px solid #365b73;border-left:4px solid var(--amber);background:#0a273b;color:#d9e7ef;overflow:hidden;box-shadow:0 3px 10px rgba(4,24,38,.12)}
.home-news-chyron>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;height:100%;color:inherit;text-decoration:none}
.home-news-chyron-label{display:flex;align-items:center;gap:8px;align-self:stretch;padding:0 14px;border-right:1px solid #3b5c72;background:#102f45;color:#fff;font:850 .66rem/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.home-news-chyron-label>i{position:relative;width:7px;height:7px;border-radius:50%;background:#62c18a;box-shadow:0 0 0 3px rgba(98,193,138,.13)}
.home-news-chyron-window{min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 20px,#000 calc(100% - 20px),transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 20px,#000 calc(100% - 20px),transparent)}
.home-news-chyron-track{display:flex;align-items:center;width:max-content;white-space:nowrap;animation:homeChyron 42s linear infinite;will-change:transform}
.home-news-chyron-track>span{padding:0 13px;color:#c9d9e2;font-size:.72rem}
.home-news-chyron-track b{margin-right:7px;color:#77c6ed;font:850 .65rem ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.07em;text-transform:uppercase}
.home-news-chyron-track>em{color:#d8a73c;font-size:.48rem;font-style:normal}
.home-news-chyron-open{display:flex;align-items:center;gap:8px;align-self:stretch;padding:0 13px;border-left:1px solid #3b5c72;background:#102f45;color:#a9d9f2;font-size:.68rem;font-weight:850;white-space:nowrap}
.home-news-chyron:hover .home-news-chyron-track{animation-play-state:paused}
.home-news-chyron:hover .home-news-chyron-open{background:#16415d;color:#fff}
@keyframes homeChyron{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.home-news-chyron-track{animation:none}}
@media(max-width:620px){
  .home-news-chyron{height:36px;margin-bottom:9px;border-left-width:3px;border-radius:3px}
  .home-news-chyron-label{padding:0 9px;font-size:.58rem;letter-spacing:.07em}
  .home-news-chyron-label>i{display:none}
  .home-news-chyron-track>span{font-size:.68rem}
  .home-news-chyron-open{width:34px;padding:0;justify-content:center;font-size:0}
  .home-news-chyron-open i{font-size:.78rem}
}
