/* Accessible application typography and engineering report layout. */
:root{--bg:#f1f5f5;--green:#153f36;--muted:#647974;--line:#dce5e2}body{font-size:16px;background:var(--bg)}button,input,select{font-size:1rem}button{min-height:42px}h1{font-size:2rem}h2{font-size:1.3rem}h3{font-size:1.05rem}.eyebrow{font-size:.76rem;letter-spacing:1.2px}.muted{font-size:.9rem;color:#647974}.tag{font-size:.8rem}.crumb{font-size:.9rem}header{padding-inline:30px}.header-actions>span{font-size:.8rem}.header-actions button{font-size:.9rem}.workspace{font-size:.82rem}.nav-label{font-size:.8rem}.search{font-size:.9rem}.group-label{font-size:.77rem;letter-spacing:.3px;color:#afc7bc;margin-top:23px}nav button{font-size:.93rem;padding:11px 12px;min-height:43px;line-height:1.45}.nav-home{font-size:1rem}.brand small{font-size:.64rem}.sidebar-bottom{font-size:.73rem}.sidebar-bottom small{font-size:.65rem}main{padding:30px;max-width:1500px}.page-title{align-items:center}.page-title .sub-actions button{font-size:.9rem;padding:10px 15px}.panel{padding:26px}.panel-heading{align-items:flex-start}.panel-heading button{font-size:.85rem}.fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.field{font-size:.91rem;color:#3f5952;line-height:1.6}.field span{margin-bottom:8px}.field small{display:none}.field input,.field select{font-size:1rem;color:#173f34;padding:12px 13px;min-height:48px;background:#fbfdfc;border-color:#bdcec6}.field select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23153f36' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}.input-panel fieldset{margin:20px 0 0;border:0;border-top:1px solid var(--line);padding:20px 0 0}.input-panel legend{padding:0 12px 0 0;font-size:.95rem;font-weight:600;color:#294f42}.hero{background:#e6efed}.hero p{max-width:560px}.stats{gap:18px}.stat>span{font-size:.9rem}.stat strong small{font-size:.9rem}.stat em{font-size:.8rem}.card h3{font-size:1rem}.card p{font-size:.9rem}.section-heading small{font-size:.8rem}.sub-actions button{font-size:.9rem}footer,footer span{font-size:.75rem}.paper.studio-report{min-width:0;max-width:1100px;padding:30px;border:1px solid var(--line);border-radius:12px;box-shadow:none}.live-results .report-title h2{font-size:1.65rem}.doc-head{font-size:.85rem;padding-bottom:18px;margin-bottom:22px}.doc-head span{font-size:.8rem}.report-title p{margin:4px 0 14px}.report-meta{display:flex;gap:12px 22px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:20px;font-size:.85rem;color:#647974}.result-banner{display:flex;justify-content:space-between;gap:14px;align-items:center;background:#eef6f2;border:1px solid #c6dfd1;padding:18px 20px;margin:24px 0;border-radius:8px}.result-banner strong{font-size:1rem;color:#245a40}.result-banner p{margin:4px 0 0;font-size:.85rem;color:#536e5c}.result-banner.failed,.result-banner.invalid{background:#fff3f0;border-color:#ecc6b9}.result-banner.failed strong,.result-banner.invalid strong{color:#a03823}.result-banner.failed .tag,.result-banner.invalid .tag{color:#973e29;background:#fce1d8;border-color:#e5b8ab}.result-banner.pending{background:#fff8e6;border-color:#ead7a9}.warning{font-size:.9rem}.section-panel{border:1px solid #d5e0dc;border-radius:10px;margin:26px 0;overflow:hidden;background:white;break-inside:avoid}.section-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line);background:#f7faf9}.section-panel-head h2{font-size:1.15rem;overflow-wrap:anywhere;margin:0}.section-panel-head p{margin:0}.section-panel-head .eyebrow{margin-bottom:4px}.section-content{display:grid;grid-template-columns:minmax(0,1fr) 195px;align-items:center}.section-svg{width:100%;height:auto;display:block;min-height:310px}.section-svg .dimension{fill:#3b5654;stroke:#81928d;stroke-width:1;stroke-linecap:round}.section-svg .dimension text{font-family:Tahoma,sans-serif;stroke:none;font-size:15px;fill:#3b5654}.section-svg .centerline{stroke:#9aafc0;stroke-dasharray:12 5 2 5;stroke-width:1;fill:none}.section-caption{font-size:13px;fill:#6f827c;font-family:Tahoma,sans-serif}.section-specs{padding:18px 20px;margin:0;border-left:1px solid var(--line);background:#fbfcfc;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.section-specs>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #e4ebe8}.section-specs dt{font-size:.8rem;color:#637870}.section-specs dd{margin:0;font-size:.95rem;font-variant-numeric:tabular-nums;color:#294f43;font-weight:600}.section-specs dd small{font-size:.72rem;font-weight:400;margin-left:7px;color:#789187}.section-specs>p{font-size:.72rem;line-height:1.7;color:#768b82;margin:12px 0 0}.report-figures{margin:26px 0}.chart-grid{margin-top:14px;gap:18px}.chart h4{font-size:.9rem;margin:14px 16px 0}.chart svg{min-height:210px}.chart text{font-size:11px}.calculation-form{margin-top:30px}.calculation-rows{border:1px solid var(--line);border-radius:8px;overflow:hidden}.calculation-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;padding:15px 20px;border-bottom:1px solid #e5ebe8;break-inside:avoid}.calculation-row:last-child{border-bottom:0}.calculation-row:nth-child(2n){background:#f8faf9}.calculation-label{flex:1 1 220px;min-width:140px;color:#3c564e;font-size:.95rem;overflow-wrap:anywhere}.calculation-values{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:7px;flex:1 1 270px;min-width:0}.calc-token{font-size:.95rem;padding:0;color:#36574c;background:none;border:0;min-height:0;line-height:1.6;overflow-wrap:anywhere}.calc-token.number{font-weight:650;color:#1b4c3c;font-variant-numeric:tabular-nums}.calculation-values button{border-bottom:1px dotted #acbeb4;border-radius:0;padding:1px 3px;min-height:26px}.calculation-values button:hover{background:#e5eee9}.calc-token.pass{padding:3px 8px;background:#e3f1e8;border-radius:4px;color:#226745;font-weight:600}.calc-token.bad{background:#ffebe5;border-radius:4px;padding:3px 8px;color:#a93b26;font-weight:600}.equals{color:#a1ada6}.equation-line{display:flex;align-items:center;flex-wrap:wrap;gap:20px 28px;min-width:0}.calculation-row .equation-line{flex:1 1 240px;max-width:100%;overflow-x:auto;padding-block:6px}.original-equation{display:inline-block;color:#1c343b;max-width:100%;font-size:1.25rem}.original-equation math{font-size:1.25rem;font-family:'Cambria Math','STIX Two Math',serif;line-height:1.8}.original-equation mtext{font-family:'Cambria Math',serif}.original-details{border:1px solid var(--line);border-radius:8px;padding:16px;margin-top:28px;font-size:.88rem;color:#526b60}.original-details summary{cursor:pointer;font-weight:600}.original-table-scroll{overflow:auto;padding-top:18px}.original-table-scroll .paper{min-width:850px;border:0;box-shadow:none}.report-note{font-size:.8rem;line-height:1.8;padding-top:18px;margin-top:25px}.original-details .doc-head{display:none}.original-details .report-table{font-size:13px}#formula-dialog{width:min(850px,94vw)}#formula-code{font-size:.95rem;background:#f1f5f3}#formula-code code{display:block;white-space:pre-wrap;word-break:break-word;max-height:40vh;overflow:auto;margin-top:16px}.export-option{font-size:.95rem;padding:13px 8px}.export-option small{font-size:.76rem}.export-tools button,.export-tools strong{font-size:.85rem}.modal-foot small{font-size:.8rem}.modal-foot{align-items:flex-end}.database{font-size:.9rem}.footnote{font-size:.85rem}#toast{font-size:.9rem;max-width:90vw}
@media(max-width:1100px){.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.section-content{grid-template-columns:1fr}.section-specs{border:0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px}.section-specs>p{grid-column:1/-1}.section-svg{min-height:300px}.paper.studio-report{padding:24px}}
@media(max-width:760px){body{font-size:16px}.main{width:100%;min-width:0}main{padding:20px 12px}.page-title{flex-wrap:wrap;gap:12px}.page-title .sub-actions{width:100%}.page-title .sub-actions button{flex:1}h1{font-size:1.7rem}.fields{grid-template-columns:1fr;gap:18px}.panel{padding:20px}.panel-heading{gap:10px}.panel-heading button{font-size:.8rem;white-space:nowrap;padding:8px 10px}.field{font-size:.95rem}.field input,.field select{min-height:50px}.paper.studio-report{padding:18px 14px;border-radius:10px}.doc-head{gap:10px;flex-wrap:wrap}.report-title h2{font-size:1.4rem}.report-meta{font-size:.8rem;gap:8px}.result-banner{padding:16px 13px;align-items:flex-start;flex-wrap:wrap}.result-banner .tag{font-size:.76rem}.section-panel-head{padding:17px 14px;flex-wrap:wrap}.section-panel-head h2{font-size:1rem}.section-svg{min-height:250px}.section-specs{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:8px 16px}.section-specs dd{font-size:.9rem}.section-specs dt{font-size:.8rem}.chart-grid{grid-template-columns:1fr}.chart svg{min-height:200px}.calculation-row{display:block;padding:16px 13px}.calculation-label{font-weight:500;margin-bottom:8px}.calculation-values{justify-content:flex-start}.equation-line{margin:9px 0}.original-equation math{font-size:1.2rem}.calculation-row .equation-line{overflow-x:auto}.calc-token{font-size:.95rem}.crumb{font-size:.78rem}.header-actions button{font-size:.82rem}.stats{grid-template-columns:1fr;gap:10px}.stat{display:flex;flex-wrap:wrap;align-items:center;gap:15px}.stat strong{font-size:1.8rem}.stat strong small{display:inline}.stat em{width:100%}.cards{grid-template-columns:1fr}.export-option small{display:none}.export-option{font-size:.95rem}.modal-foot button{width:100%}.database{font-size:.85rem}footer{flex-wrap:wrap}.report-note{font-size:.78rem}#formula-title{font-size:1.1rem}}
@page{size:A4;margin:14mm 12mm}
@media print{body{font-size:11pt;background:white}.studio-report.paper{border:0;border-radius:0;padding:0;max-width:none;min-width:0}.doc-head{font-size:10pt;margin-bottom:16px}.doc-head span{font-size:9pt}.report-title h2{font-size:18pt}.eyebrow{font-size:8pt}.report-meta{font-size:9pt;gap:7px 15px;padding-bottom:12px}.muted{font-size:9pt}.result-banner{padding:10px 12px;margin:16px 0;background:white;border:1px solid #b2c9bd;break-inside:avoid}.result-banner strong{font-size:11pt}.result-banner p{font-size:9pt}.tag{font-size:9pt}.section-panel{margin:16px 0;break-inside:avoid}.section-panel-head{padding:12px 16px}.section-panel-head h2{font-size:12pt}.section-content{grid-template-columns:minmax(0,1fr) 160px}.section-svg{min-height:0;height:auto;max-height:280px}.section-specs{display:flex;border:0;border-left:1px solid #dce5e2;padding:10px 12px;gap:0}.section-specs>div{padding:4px 0}.section-specs dt{font-size:8pt}.section-specs dd{font-size:9pt}.section-specs dd small,.section-specs>p{font-size:7.5pt}.section-panel-head .eyebrow{font-size:7pt}.section-panel-head .muted{font-size:8pt}.calculation-form{margin-top:20px}.calculation-form h3,.report-figures h3{font-size:12pt}.calculation-row{display:flex;gap:8px 14px;padding:10px 12px;break-inside:avoid}.calculation-label{font-size:10pt;flex:1 1 170px;margin:0}.calculation-values{flex:1 1 210px;justify-content:flex-end}.calc-token{font-size:10pt}.original-equation,.original-equation math{font-size:14pt}.calculation-row .equation-line{overflow:visible;flex:1 1 200px;margin:0;gap:14px;max-width:100%}.calc-token.number{color:#111}.calculation-values button{border:0;padding:0;color:#111}.chart-grid{grid-template-columns:1fr 1fr;gap:12px}.chart{break-inside:avoid}.chart svg{min-height:0;aspect-ratio:1.7/1}.chart h4{font-size:9pt;margin:10px}.chart text{font-size:11px}.report-note{font-size:8pt;margin-top:16px;padding-top:12px}.original-details{display:none}.section-panel,.calculation-row,.result-banner,.pass,.bad{-webkit-print-color-adjust:exact;print-color-adjust:exact}.database{font-size:8pt}.warning{font-size:9pt}.print-cover{font-size:12pt}}

.section-svg .dimension path{fill:none}
