:root{color-scheme:dark;--bg:#0d1720;--panel:#182631;--line:#30414e;--muted:#9fb4c6;--blue:#79bcff;--accent:#307cc5;--orange:#dc7c36;--text:#e8eff5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'Segoe UI',sans-serif}header{height:86px;position:fixed;inset:0 0 auto;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:18px 28px;gap:28px;z-index:5}header img{width:235px;height:44px}.product{border-left:1px solid var(--line);padding-left:26px}.product strong{display:block;font-size:22px;color:var(--blue);letter-spacing:1px}.product small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.header-note{margin-left:auto;color:var(--muted);font-size:12px}aside{position:fixed;left:0;top:86px;bottom:0;width:240px;background:var(--panel);border-right:1px solid var(--line);padding:22px 16px;overflow:auto}.project{border:1px solid var(--line);border-radius:15px;background:var(--bg);padding:20px 17px;margin-bottom:28px}.project small,.menu-label{font-size:10px;letter-spacing:1.2px;color:var(--muted)}.project h2{font-size:20px;color:var(--blue);overflow-wrap:anywhere}.project p{font-size:12px;margin-bottom:0}.menu-label{display:block;margin:0 10px 10px}nav button{width:100%;text-align:left;border-color:transparent;background:none;margin-bottom:8px;padding:14px 10px;font-size:13px}nav button i{font-style:normal;color:#7e93a3;font-size:10px;margin-right:14px}nav button.active{border:1px solid #3a536a;border-left:3px solid var(--blue);background:#1d3448;color:var(--blue)}.file-actions{border-top:1px solid var(--line);padding-top:16px;display:grid;gap:10px;margin-top:18px}.aside-foot{font-size:10px;line-height:1.8}main{margin-left:240px;padding:118px 34px 45px;max-width:1900px}.crumb{font-size:12px;color:var(--muted);margin-bottom:18px}h1{font-size:29px;margin:0 0 12px;line-height:1.2}h2{font-size:20px;margin:0 0 15px}h3{font-size:16px}p,li{line-height:1.65;color:var(--muted)}p{margin-top:0}.heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.heading p{margin-bottom:0}.panel{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:24px;margin:22px 0}.page{display:none}.page.active{display:block}button,input,select{font:inherit;color:var(--text);border:1px solid #3e566a;background:#24394a;border-radius:7px;padding:10px 12px}button{cursor:pointer;white-space:nowrap}button:hover{background:#304d64;border-color:#6ba9d8}button:focus-visible,input:focus,select:focus{outline:2px solid var(--blue);outline-offset:2px}.primary{background:var(--accent);border-color:var(--accent);font-weight:600}.primary:hover{background:#4097e6}label{display:block;color:var(--muted);font-size:12px}label input,label select{display:block;width:100%;margin-top:7px}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}.check{display:flex;align-items:center;gap:10px;font-size:13px}.check input{display:inline;margin:0}.row{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.between{justify-content:space-between;align-items:center;margin-top:20px}.grow{flex:1;min-width:200px}.fields{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:18px;margin-bottom:22px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-weight:500;color:var(--muted);padding:12px 9px;border-bottom:1px solid #445664;white-space:nowrap}td{padding:10px 8px;border-bottom:1px solid var(--line)}td input{width:88px;padding:9px}td select{min-width:140px;font-size:12px;padding:9px}td .delete{padding:8px;color:#f8a59e}tbody tr:hover{background:#20313f}.hint{font-size:12px;margin:14px 0 0}.tag{font-size:12px;border-radius:30px;background:#23394b;color:var(--blue);padding:8px 13px}.legend{display:flex;gap:25px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:14px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.metric{border:1px solid var(--line);background:var(--panel);padding:20px;border-radius:12px}.metric small{display:block;color:var(--muted);font-size:11px}.metric strong{display:block;font-size:25px;color:var(--blue);margin-top:10px}.metric em{font-style:normal;font-size:12px;color:var(--muted)}svg{display:block;width:100%;height:auto;font-family:'Segoe UI',sans-serif}svg text{fill:#b8c9d7;font-size:12px}.beam-hit{cursor:pointer}.beam-hit:hover{stroke:#a7d7ff}.charts .panel{padding:20px}.chart-title{display:flex;justify-content:space-between;align-items:center}.chart-title span{color:var(--muted);font-size:12px}.ok,.warning,.bad{padding:14px 18px;border-radius:9px;margin:16px 0;line-height:1.6}.ok{background:#163e36;color:#9de0c1;border:1px solid #28604d}.warning{background:#3c3321;color:#e9cf90;border:1px solid #6d5834}.bad{background:#44262b;color:#ffc0ba;border:1px solid #75454b}.split{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}.split .panel{margin-top:0}.section-svg{max-height:420px}.detail-table td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.detail-table td{padding:11px 6px}.pill{display:inline-block;font-size:11px;padding:5px 9px;border-radius:5px;background:#213b4d;color:var(--blue)}#notice{position:sticky;top:98px;padding:13px 18px;border:1px solid #5584a2;background:#203d50;border-radius:8px;z-index:4;margin-bottom:20px}#notice.error{background:#44262b;border-color:#aa6660}#beamDrawing{min-height:240px}#reportOutput{background:#fff;color:#17232c;padding:34px;border-radius:12px;margin-top:20px}#reportOutput p,#reportOutput th,#reportOutput li{color:#475662}#reportOutput h2{margin-top:28px}#reportOutput td,#reportOutput th{border-color:#c6ced5}#reportOutput .panel{background:white;border-color:#ccc}#reportOutput svg text{fill:#374955}#reportOutput .bad{color:#942d2d;background:#fff0ed}#reportOutput .ok{background:#edf8f0;color:#215638}#reportOutput .warning{background:#fff7df;color:#725417}.report-meta{font-size:12px}.empty{padding:45px;text-align:center;border:1px dashed #3e5869;border-radius:12px;color:var(--muted)}@media(max-width:1200px){aside{width:210px}main{margin-left:210px;padding-left:24px;padding-right:24px}.fields{grid-template-columns:repeat(3,1fr)}.metrics{grid-template-columns:repeat(2,1fr)}.header-note{display:none}.split{grid-template-columns:1fr 1fr}}
@media print{@page{size:A4;margin:14mm}body{background:white;color:black;font-size:10px}header,aside,#notice,.page,.heading,.crumb{display:none!important}main{margin:0;padding:0;max-width:none}#report{display:block!important}#report>h1,#report>p{display:none}#reportOutput{padding:0;margin:0;border:0}#reportOutput h1{font-size:23px}#reportOutput h2{font-size:16px}#reportOutput .panel{margin:12px 0;padding:12px;break-inside:avoid}#reportOutput table{font-size:9px}#reportOutput td,#reportOutput th{padding:6px 3px}#reportOutput .split{gap:15px}#reportOutput .section-svg{max-height:230px}#reportOutput .ok,#reportOutput .bad,#reportOutput .warning{font-size:9px;padding:7px}#reportOutput .chart-block{break-inside:avoid}#reportOutput h2,#reportOutput h3{break-after:avoid}}

.capacity-nav{width:100%;white-space:normal;text-align:left;font-size:13px;margin-top:3px}.capacity-nav.active{border-left:3px solid var(--blue);color:var(--blue);background:#1d3448}input[aria-invalid=true]{outline:2px solid #ff9b8e}

#capacityOutput{scroll-margin-top:120px}

.start-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1100px}.start-options .panel{display:flex;flex-direction:column;align-items:flex-start;padding:30px}.start-options h2{margin-top:24px}.start-options p{flex:1}.start-options button{white-space:normal;text-align:left;margin-top:16px;min-height:48px}@media(max-width:1100px){.start-options{grid-template-columns:1fr}}

.load-editor{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px}.load-editor select[size]{min-height:150px}.load-editor .fields{grid-template-columns:repeat(3,minmax(130px,1fr))}@media(max-width:1100px){.load-editor{grid-template-columns:1fr}}

.criteria-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px}.criteria-layout .panel{margin-top:12px}.criteria-tree{align-self:start;position:sticky;top:105px;padding:18px}.criteria-tree button{display:block;width:100%;text-align:left;white-space:normal;margin-top:7px;background:transparent}.criteria-tree button.active{background:#264866;border-color:var(--blue)}.criteria-tree input{margin-bottom:16px}.criteria-content .fields{grid-template-columns:repeat(2,minmax(160px,1fr))}#criteriaActions{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.criteria-state{display:inline-block;margin-bottom:20px;color:var(--blue)}@media(max-width:1100px){.criteria-layout{grid-template-columns:225px minmax(0,1fr)}}
#detailOutput{background:white;margin-top:20px;overflow:auto;border-radius:8px}#detailOutput>svg{display:block;width:100%;min-width:1050px}#detailOutput svg text,#detailPrint svg text{font-family:Arial,sans-serif}#detailPrint{display:none}
@media print{body.printing-detail #report{display:none!important}body.printing-detail #detailing{display:block!important}body.printing-detail #detailing>*{display:none!important}body.printing-detail #detailPrint{display:block!important}.printing-detail .detail-sheet{break-after:page;break-inside:avoid;width:100%;padding:0;margin:0}.printing-detail .detail-sheet:last-child{break-after:auto}.printing-detail .detail-sheet>svg{display:block;width:100%;height:auto;max-height:260mm}}

@media print{@page detail{size:A3 landscape;margin:8mm}.printing-detail .detail-sheet{page:detail}}

#beamElevation{overflow:auto;padding:12px 0}

.live-preview{position:sticky;top:0;z-index:3;box-shadow:0 8px 20px #0003}.live-preview svg{max-height:235px}.live-preview h2{font-size:18px;margin:0}.live-preview .row{margin-bottom:3px}
@media(max-height:750px){.live-preview{position:relative}.live-preview svg{max-height:185px}}

[hidden]{display:none!important}

#planeOutput{text-align:left}#planeOutput svg{display:block;width:100%}#planeFields{margin-top:18px}#plane summary{cursor:pointer;padding:12px 0;font-weight:600}#planeStatus{max-width:650px}#planeMap{overflow:auto}#planeMap svg{min-width:850px}

.criterion-gf{max-width:180px}#criteriaCombinationDialog{background:#192b37;color:#e3edf5;border:1px solid #486172;border-radius:12px;max-width:90vw;max-height:80vh;padding:24px}#criteriaCombinationDialog::backdrop{background:#0009}

.criterion-phi{max-width:180px}

.activity{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #355168;border-radius:10px;background:#12212d}.activity-led{width:11px;height:11px;flex:none;border-radius:50%;background:#7990a2}.activity[data-state=running] .activity-led{background:#5db8ff;animation:activity-pulse 1s ease-in-out infinite}.activity[data-state=success] .activity-led{background:#59d598}.activity[data-state=error] .activity-led{background:#ff7979}.activity[data-state=stale] .activity-led{background:#efbc59}@keyframes activity-pulse{50%{opacity:.35;box-shadow:0 0 0 5px #5db8ff30}}@media(prefers-reduced-motion:reduce){.activity-led{animation:none!important}}

.criterion-gap input,.criterion-anchorLeft input,.criterion-anchorRight input{max-width:180px}

#concreteStressReference output{display:block;padding:12px 0;color:#72c9ff;font-weight:600}

/* RecEst visual standard: fixed A4 pages, shared by screen and PDF. */
#reportOutput.formatted-report{padding:0;background:#dde5eb;border-radius:0;overflow:auto;color:#243e54;font-family:Arial,sans-serif}
#reportOutput .report-sheet{box-sizing:border-box;width:794px;height:1122px;padding:48px 60px 32px;background:white;margin:0 auto 24px;position:relative;font-size:12px;line-height:1.45;color:#243e54}
#reportOutput .report-page-header{height:78px;border-bottom:2px solid #f17b2b;display:flex;justify-content:space-between;align-items:flex-start;padding-top:12px;margin-bottom:24px}
#reportOutput .report-page-header>strong{font-size:30px;font-weight:800;color:#19364d}#reportOutput .report-page-header>strong span{color:#f17b2b}
#reportOutput .report-page-header>div{text-align:right;color:#75899e;font-size:11px;max-width:390px;overflow-wrap:anywhere}
#reportOutput .report-page-body{height:884px;overflow:visible}
#reportOutput .report-page-footer{position:absolute;bottom:30px;left:60px;right:60px;border-top:1px solid #d6e0e8;padding-top:12px;display:flex;justify-content:space-between;color:#75899e;font-size:9px}
#reportOutput .report-hero{background:#19364d;border-radius:10px;padding:26px;margin-bottom:20px;color:white}
#reportOutput .report-hero small{color:#a7c3d4;letter-spacing:2px;font-size:10px}
#reportOutput .report-hero h1{font-size:29px;color:white;margin:14px 0 10px;overflow-wrap:anywhere}
#reportOutput .report-hero p{color:white;margin:0}
#reportOutput .report-identification{font-size:11px;line-height:1.8}
#reportOutput .report-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}
#reportOutput .report-metrics>div{background:#eff4f8;border-left:3px solid #f17b2b;text-align:center;padding:14px}
#reportOutput .report-metrics small{display:block;color:#647f95;font-size:10px}
#reportOutput .report-metrics strong{display:block;font-size:20px;margin-top:5px;color:#243e54}
#reportOutput .report-sheet h2{font-size:17px;color:#28516c;margin:18px 0 12px}
#reportOutput .report-sheet h3{font-size:14px;color:#28516c;margin:14px 0 9px}
#reportOutput .report-sheet p{font-size:11px;color:#354e63;line-height:1.55;margin-bottom:12px}
#reportOutput .report-sheet table{font-size:11px;margin:8px 0 14px;table-layout:fixed;width:100%}
#reportOutput .report-sheet th{background:#e8f0f5;color:#345a72;font-weight:bold;white-space:normal}
#reportOutput .report-sheet td,#reportOutput .report-sheet th{padding:7px 6px;border-bottom:1px solid #d5e0ea;overflow-wrap:anywhere}
#reportOutput .report-sheet tbody tr:nth-child(even){background:#f5f7fa}
#reportOutput .report-sheet tbody tr:hover{background:inherit}
#reportOutput .report-sheet svg{max-height:280px;width:100%;background:white}
#reportOutput .report-sheet .section-svg{max-height:240px}
#reportOutput .report-sheet .ok,#reportOutput .report-sheet .bad,#reportOutput .report-sheet .warning{font-size:11px;padding:10px;border-radius:0;margin:10px 0}
#reportOutput .report-sheet .hint{background:#eff4f8;border-left:2px solid #6c8da4;padding:10px}
@media print{@page{size:A4;margin:0}#reportOutput.formatted-report{overflow:visible;background:white}#reportOutput .report-sheet{margin:0;break-after:page;break-inside:avoid}#reportOutput .report-sheet:last-child{break-after:auto}#reportOutput .report-page-body{height:884px}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
#reportOutput .report-sheet .report-hero p{color:#fff;font-size:12px}
#reportOutput .equation-block{padding:8px 14px;margin:10px 0 16px;background:#f5f7fa;border-left:2px solid #d2e1ec;break-inside:avoid}
#reportOutput .equation-block h3{font:600 12px Arial,sans-serif;margin:0 0 10px}
#reportOutput .equation-line{font:normal 17px 'Cambria Math',Cambria,'Times New Roman',serif;line-height:2.2;color:#18344a;overflow-wrap:anywhere}
#reportOutput .equation-line.numeric{font-size:14px;line-height:2;margin-top:10px}
#reportOutput .fraction{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;line-height:1.35;margin:0 5px}
#reportOutput .fraction>span:first-child{border-bottom:1px solid currentColor;padding:0 5px 2px}
#reportOutput .fraction>span:last-child{padding:2px 5px 0}
#reportOutput .equation-matrix{display:inline-table;border-left:1px solid;border-right:1px solid;margin:5px;vertical-align:middle;font-size:11px;font-style:normal;line-height:1.4}
#reportOutput .equation-matrix>span{display:table-row}#reportOutput .equation-matrix>span>span{display:table-cell;text-align:center;padding:3px 5px}

#reportOutput .report-sheet svg{width:100%!important;height:auto!important;max-width:100%!important}
#reportOutput .report-sheet svg [fill="#101820"]{fill:#fff}
#reportOutput .report-sheet svg [fill="#18343a"],#reportOutput .report-sheet svg [fill="#304352"]{fill:#edf3f7}
#reportOutput .report-sheet svg [stroke="#e5e9ec"]{stroke:#39566a}
#reportOutput .report-sheet svg text{fill:#374955!important}

@media print{body.printing-detail #detailPrint .reinforcement{stroke-width:3}}

.activity-led{width:14px;height:14px}.processing-time{white-space:nowrap;border-left:1px solid #355168;padding-left:12px;font-variant-numeric:tabular-nums;color:#b8c9d7}.activity{flex-wrap:wrap}

#planeDisplacementMap{overflow:auto}#planeDisplacementMap svg{min-width:850px}
@media print {
 @page detailA3 {size:A3 landscape;margin:0}
 @page detailA2 {size:594mm 420mm;margin:0}
 .printing-detail .detail-sheet.sheet-A3 {page:detailA3;width:420mm;height:297mm}
 .printing-detail .detail-sheet.sheet-A2 {page:detailA2;width:594mm;height:420mm}
 .printing-detail .detail-sheet.sheet-A3>svg,.printing-detail .detail-sheet.sheet-A2>svg {width:100%;height:100%;max-height:none}
}
#identificationFields input{max-width:100%}
#canvas3d {width:100%;height:650px;display:block;background:#0c1822;border:1px solid #416071;border-radius:12px;touch-action:none;cursor:grab;margin-top:14px}
#canvas3d:active{cursor:grabbing}
#status3d{padding:12px;border-left:4px solid #55b9ff;background:#162b3b;margin:12px 0}
#status3d[data-error=true]{border-color:#ff7777}

nav button[data-page="plane"]{white-space:normal;line-height:1.45;overflow-wrap:break-word}
nav button[data-page="plane"] span{display:inline-block;margin-top:3px}
/* Report drawings keep half-size dimensions without changing the model view. */
#reportOutput svg .dimension-label{font-size:3px!important}
#reportOutput .metrics>div,#reportOutput .metric{background:#edf3f7!important;border-color:#c2d1dd!important;color:#243e51!important}
#reportOutput .metrics small,#reportOutput .metrics span,#reportOutput .metric small{color:#435e72!important}
#reportOutput .metrics strong,#reportOutput .metric strong{color:#225a83!important}
sub{font-size:.75em;vertical-align:sub;line-height:0}

#reportOutput,#reportOutput *{font-style:normal!important}
.history-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #365064;border-radius:12px;padding:18px;margin:14px 0}.history-card h3{margin:0 0 8px}.history-card p{margin:0}#historyDeleteDialog{width:min(560px,90vw);padding:28px;background:#182631;color:#e8eff5;border:1px solid #526c80;border-radius:16px}#historyDeleteDialog::backdrop{background:#020b14bb}#historyUndo[hidden]{display:none!important}#historyList button[data-history-remove],#historyClear{color:#ffb4b4}#historySearch{max-width:600px}#historyStatus{min-height:1em}
.plane-tooltip{position:fixed;z-index:1000;pointer-events:none;white-space:pre-line;background:#edf4f8;color:#162b39;border:1px solid #668399;border-radius:6px;padding:10px 14px;font:14px/1.6 Arial;box-shadow:0 3px 12px #0005} [hidden]{display:none!important}

.plane-progress-panel{margin:16px 0;padding:18px 22px;background:#182e3c;border:1px solid #42637a;border-radius:10px}.plane-progress-panel progress{display:block;width:100%;height:24px;margin:12px 0;accent-color:#58b7ff}.plane-progress-panel small{color:#b8c9d7}.plane-progress-panel progress::-webkit-progress-bar{background:#0d1c27;border-radius:6px}.plane-progress-panel progress::-webkit-progress-value{background:#58b7ff;border-radius:6px}
.activity:has(#planeProgressPanel){flex:1 1 100%}.activity .plane-progress-panel{flex:1 1 100%;margin:4px 0 0;padding:10px 12px}

#reportOutput .plane-report-chart{break-inside:avoid;margin:12px 0}
#reportOutput .plane-report-chart svg{max-height:none;display:block;width:100%;height:auto}

.image-export-action{display:block;height:0;position:relative}.image-export-action button{position:absolute;right:6px;bottom:6px;z-index:1;padding:4px 8px;font-size:11px;opacity:.85}
@media print{.image-export-action{display:none!important}}

#reportOutput .report-cover-title{padding:58px 0 32px;border-bottom:4px solid #ed7b2a;margin-bottom:32px}
#reportOutput .report-cover-title small{letter-spacing:2px;color:#60788b;font-size:11px}
#reportOutput .report-cover-title h1{font-size:44px;line-height:1.12;margin:22px 0;color:#19364d}
#reportOutput .report-cover-field{margin:20px 0;color:#19364d;font-size:13px}
#reportOutput .report-cover-value{min-height:60px;border-bottom:1px solid #c8d5df;padding:14px 0 8px;overflow-wrap:anywhere;font-size:17px}
#reportOutput .report-cover-date{margin-top:32px;color:#60788b}
#reportOutput .report-toc-row{display:flex;align-items:baseline;gap:16px;padding:9px 0;border-bottom:1px dotted #b6c6d2;text-decoration:none;color:#19364d;font-size:12px;break-inside:avoid}
#reportOutput .report-toc-row>span:first-child{flex:1;overflow-wrap:anywhere}
#reportOutput .report-toc-number{min-width:24px;text-align:right;font-variant-numeric:tabular-nums}

@media print { @page detailA1 {size:841mm 594mm;margin:0} .printing-detail .detail-sheet.sheet-A1 {page:detailA1;width:841mm;height:594mm} .printing-detail .detail-sheet.sheet-A1>svg {width:100%;height:100%;max-height:none} }
