:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#020817;font-family:Inter,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:#f8fafc;background:#020817;min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{transition:all .2s}#root{width:100%;min-height:100vh}h1,h2,h3,p{margin-top:0}img,svg{max-width:100%;display:block}a{color:inherit;text-decoration:none}.app-shell{color:#e5eefb;background:radial-gradient(circle at 0 0,#60a5fa2e,#0000 28%),linear-gradient(135deg,#0a1120 0%,#111827 50%,#050b16 100%);width:100%;min-height:100vh;display:flex}.theme-light{color:#112033;background:radial-gradient(circle at 0 0,#3b82f61f,#0000 30%),linear-gradient(135deg,#f4f8ff 0%,#edf3fb 50%,#eef6ff 100%)}.sidebar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-sizing:border-box;background:#0f172ae6;border-right:1px solid #94a3b82e;flex-direction:column;flex:0 0 280px;width:280px;height:100dvh;padding:1.3rem 1rem;display:flex;position:sticky;top:0;overflow:hidden}.theme-light .sidebar{background:#fffc}.sidebar-header{flex:none;justify-content:space-between;align-items:center;margin-bottom:.8rem;display:flex}.sidebar-header h2,.eyebrow,.page-header h1,.hero-panel h1,.section-head h2,.category-card h3,.calculator-card h3,.mini-item span,.brand-block strong{margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#7dd3fc;font-size:.72rem;font-weight:700}.menu-button,.theme-toggle,.back-button,.secondary-button,.primary-button,.nav-item,.calculator-card,.category-card,.mini-item{font:inherit}.menu-button,.theme-toggle,.back-button,.secondary-button,.primary-button{color:inherit;cursor:pointer;background:#94a3b814;border:1px solid #94a3b838;border-radius:10px}.sidebar-header .sidebar-theme-toggle{white-space:nowrap;justify-content:center;align-items:center;min-width:0;min-height:40px;padding:.5rem .65rem;font-size:.85rem;display:inline-flex}.sidebar-backdrop{display:none}.sidebar-nav{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:.25rem;min-height:0;padding-right:.2rem;display:flex;overflow-y:auto}.nav-category{gap:.12rem;display:grid}.nav-item-label{flex:1;min-width:0}.nav-chevron{opacity:.62;font-size:1.1rem;transition:transform .18s}.nav-chevron.expanded{transform:rotate(180deg)}.nav-subsections{border-left:1px solid #94a3b83d;gap:.12rem;margin:.1rem 0 .35rem 2.25rem;padding-left:.55rem;display:grid}.nav-subsection{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:.38rem .55rem;font-size:.82rem;line-height:1.25}.nav-subsection:hover,.nav-subsection.active{color:#7dd3fc;background:#60a5fa1c;border-color:#60a5fa33}.sidebar-search{border-top:1px solid #94a3b829;flex:none;margin-top:.6rem;padding-top:.8rem}.sidebar-search .search-bar{border-radius:11px;gap:.55rem;min-height:44px;padding:.55rem .7rem}.sidebar-search .search-icon{font-size:1rem}.sidebar-search-results{gap:.2rem;max-height:min(34vh,300px);margin-bottom:.5rem;display:grid;overflow-y:auto}.sidebar-search-results-heading{color:#7dd3fc;padding:.1rem .35rem .25rem;font-size:.72rem;font-weight:700}.sidebar-search-results button{width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;gap:.1rem;padding:.38rem .45rem;font-size:.78rem;display:grid}.sidebar-search-results button:hover{background:#60a5fa1f}.sidebar-search-results small{color:#94a3b8e6;font-size:.68rem}.sidebar-search-results p{margin:0;padding:.35rem;font-size:.8rem}.nav-item{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:.8rem;padding:.55rem .9rem;transition:all .2s;display:flex}.nav-item:hover,.nav-item.active{background:#60a5fa1f;border-color:#60a5fa42}.nav-icon{background:#7dd3fc1f;border-radius:8px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.content-shell{box-sizing:border-box;flex-direction:column;flex:1;min-width:0;min-height:100vh;padding:.25rem 1.4rem 1.5rem;display:flex}.brand-block{align-items:center;gap:.8rem;min-width:150px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#60a5fa,#7c3aed);border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-weight:700;display:flex}.topbar-search{flex:1;max-width:620px}.search-bar{box-sizing:border-box;background:#0f172abf;border:1px solid #94a3b82e;border-radius:14px;align-items:center;gap:.8rem;min-height:50px;padding:.75rem 1rem;display:flex}.theme-light .search-bar{background:#ffffffb8}.search-bar input{color:inherit;width:100%;font:inherit;background:0 0;border:none;outline:none}.search-bar input::placeholder{color:#94a3b8e6}.search-icon{color:#7dd3fc;font-size:1.2rem}.theme-toggle{min-width:120px;padding:.75rem 1rem}.desktop-only{display:inline-flex}.mobile-header{justify-content:space-between;align-items:center;padding:1rem 1.2rem;display:none}.mobile-brand{font-weight:700}.main-content{flex:1 0 auto;min-width:0}.app-footer{color:#e2e8f0b3;border-top:1px solid #94a3b82e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1.25rem;margin-top:1.2rem;padding:1rem 0 .2rem;font-size:.82rem;display:flex}.app-footer nav{flex-wrap:wrap;gap:.5rem 1.1rem;display:flex}.app-footer a,.app-footer button,.inline-link{color:#7dd3fc;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.app-footer a:hover,.app-footer button:hover,.inline-link:hover{text-decoration:underline}.theme-light .app-footer{color:#475569}.theme-light .app-footer a,.theme-light .app-footer button,.theme-light .inline-link{color:#0369a1}.legal-page{max-width:1000px;margin:0 auto}.legal-page-header{justify-content:flex-start;margin:1rem 0 1.2rem}.legal-page-header h1{margin-top:.3rem}.legal-copy{line-height:1.65}.legal-copy h2{margin:1.5rem 0 .5rem;font-size:1.18rem}.legal-copy h2:first-child{margin-top:0}.legal-copy p{margin:.55rem 0}.legal-copy a{color:#7dd3fc}.theme-light .legal-copy a{color:#0369a1}.cookie-banner{z-index:30;left:max(1rem, env(safe-area-inset-left));right:max(1rem, env(safe-area-inset-right));bottom:max(1rem, env(safe-area-inset-bottom));color:#e5eefb;box-sizing:border-box;background:#0f172af7;border:1px solid #7dd3fc3d;border-radius:16px;justify-content:space-between;align-items:center;gap:1rem 1.5rem;max-width:1120px;margin:0 auto;padding:1rem 1.15rem;display:flex;position:fixed;box-shadow:0 16px 48px #02061761}.cookie-banner-copy{min-width:0}.cookie-banner-copy strong{margin-bottom:.25rem;display:block}.cookie-banner-copy p{color:#e2e8f0c7;margin:0;font-size:.85rem;line-height:1.45}.cookie-banner-actions{flex-wrap:wrap;flex:none;gap:.5rem;display:flex}.cookie-banner-actions button,.consent-dialog-actions button{padding:.58rem .75rem;font-size:.82rem}.theme-light .cookie-banner{color:#112033;background:#fffffffa;border-color:#0369a133}.theme-light .cookie-banner-copy p{color:#334155}.consent-backdrop{z-index:40;box-sizing:border-box;background:#020617ad;place-items:center;padding:1rem;display:grid;position:fixed;inset:0;overflow-y:auto}.consent-dialog{width:min(100%,640px);max-height:min(90vh,850px);margin:auto;padding:1.25rem;overflow-y:auto;box-shadow:0 24px 70px #0206176b}.consent-dialog-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.consent-dialog-header h2{margin:.2rem 0 0}.consent-close{padding:.3rem .6rem;font-size:1.25rem}.consent-dialog>p{line-height:1.5}.consent-category{border-top:1px solid #94a3b826;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem 0;display:flex}.consent-category p{color:#e2e8f0b8;margin:.2rem 0 0;font-size:.84rem;line-height:1.45}.theme-light .consent-category p{color:#475569}.consent-status,.consent-informational>span{color:#7dd3fc;flex:none;font-size:.76rem;font-weight:700}.theme-light .consent-status,.theme-light .consent-informational>span{color:#0369a1}.consent-toggle-row{cursor:pointer}.consent-toggle-row input{accent-color:#3b82f6;width:1.2rem;height:1.2rem}.consent-policy-link{font-size:.85rem}.consent-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;margin-top:1rem;display:flex}.page,.panel,.hero-panel{width:100%}.hero-panel{border-radius:24px;padding:2rem 0 1rem}.hero-panel h1{margin:.55rem 0 .8rem;font-size:clamp(2.3rem,4vw,4.4rem);line-height:.95}.hero-copy,.intro-copy,.empty-state,.category-card p,.calculator-card p,.mini-item small,.card-tag,.section-head span,.field-row span,.result-row span,.result-row strong,.steps-list li,.formula-vars li{color:#e2e8f0cc}.theme-light .hero-copy,.theme-light .intro-copy,.theme-light .empty-state,.theme-light .category-card p,.theme-light .calculator-card p,.theme-light .mini-item small,.theme-light .card-tag,.theme-light .section-head span,.theme-light .field-row span,.theme-light .result-row span,.theme-light .result-row strong,.theme-light .steps-list li,.theme-light .formula-vars li{color:#334155}.panel{box-sizing:border-box;background:#0f172aad;border:1px solid #94a3b81f;border-radius:20px;margin-bottom:1.2rem;padding:1rem}.theme-light .panel,.theme-light .hero-panel{background:#ffffffbf}.section-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.ad-placeholder{box-sizing:border-box;width:min(100%,728px);min-height:132px;color:inherit;text-align:center;background:#94a3b80b;border:1px dashed #94a3b852;border-radius:16px;align-content:center;justify-items:center;gap:.35rem;margin:1.25rem auto;padding:1rem;display:grid}.ad-placeholder-label{color:#7dd3fc;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:700}.ad-placeholder strong{font-size:.9rem}.ad-placeholder-detail{color:#e2e8f0ad;font-size:.75rem}.theme-light .ad-placeholder{background:#94a3b814;border-color:#47556947}.theme-light .ad-placeholder-label{color:#0369a1}.theme-light .ad-placeholder-detail{color:#475569}.category-grid,.calculator-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;display:grid}.category-card,.calculator-card,.mini-item{text-align:left;color:inherit;cursor:pointer;background:#60a5fa0a;border:1px solid #94a3b824;border-radius:18px;padding:1rem;transition:transform .2s,border-color .2s}.category-card:hover,.calculator-card:hover,.mini-item:hover{border-color:#60a5fa59;transform:translateY(-2px)}.category-card-header{justify-content:space-between;align-items:center;margin-bottom:.8rem;display:flex}.category-icon{background:#7dd3fc1c;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.2rem;display:inline-flex}.category-count{background:#60a5fa1f;border-radius:999px;padding:.35rem .6rem;font-size:.8rem}.card-tag{background:#7dd3fc14;border-radius:999px;width:fit-content;margin-bottom:.8rem;padding:.28rem .65rem;font-size:.72rem;display:inline-block}.coming-soon-badge{color:#7dd3fc;background:#7dd3fc1f;border:1px solid #7dd3fc4d;border-radius:999px;align-items:center;width:fit-content;margin:0 0 .65rem;padding:.25rem .65rem;font-size:.75rem;font-weight:700;display:inline-flex}.theme-light .coming-soon-badge{color:#0369a1;background:#0ea5e91a;border-color:#0369a138}.category-page .page-header{align-items:start;justify-content:initial;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);gap:0 1rem;display:grid}.category-page .page-header>.back-button{grid-area:1/1;align-self:start}.category-page .page-header>div{display:contents}.category-page .page-header h1{grid-area:1/2}.category-page .page-header .coming-soon-badge{grid-area:2/2}.calculator-card h3,.category-card h3{margin-bottom:.4rem;font-size:1.1rem}.calculator-card p,.category-card p{margin:0 0 .7rem;line-height:1.5}.calculator-card small{color:#7dd3fc;display:block}.panels-double{grid-template-columns:repeat(2,minmax(240px,1fr));gap:1rem;display:grid}.mini-list{gap:.7rem;display:grid}.mini-item{justify-content:space-between;align-items:center;gap:1rem;width:100%;display:flex}.empty-state{padding:.8rem 0}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem;display:flex}.page-header h1{margin-top:.45rem;font-size:clamp(2rem,4vw,3rem)}.back-button,.secondary-button,.primary-button{cursor:pointer;padding:.7rem .95rem}.primary-button{color:#fff;background:linear-gradient(135deg,#60a5fa,#8b5cf6);border:none}.calculator-page{max-width:1180px;margin:0 auto;padding-top:.25rem}.calculator-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem .9rem;margin-bottom:.75rem;display:grid}.calculator-topline{align-self:start;align-items:center;gap:0;display:flex}.calculator-title-wrap h1{margin:0;font-size:clamp(1.75rem,2.7vw,2.55rem);line-height:1.08}.calculator-title-wrap .intro-copy{max-width:54ch;margin:.28rem 0 0}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;min-width:0;display:flex}.report-problem-button{white-space:nowrap;justify-content:center;align-items:center;gap:.4rem;display:inline-flex}.report-problem-button svg{flex:none;width:1rem;height:1rem}.report-modal-backdrop{z-index:1000;background:#020617ad;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.report-modal{color:#e5eefb;background:#111c2e;border:1px solid #94a3b83d;border-radius:18px;width:min(100%,30rem);max-height:min(90vh,42rem);padding:clamp(1.25rem,4vw,2rem);overflow-y:auto;box-shadow:0 24px 80px #0006}.theme-light .report-modal{color:#112033;background:#fff}.report-modal h2{margin:0 0 .8rem}.report-modal p{line-height:1.55}.report-email-link{color:#7dd3fc;overflow-wrap:anywhere;margin:.25rem 0 .5rem;font-size:1.15rem;font-weight:700;display:inline-block}.theme-light .report-email-link{color:#0369a1}.favorite-button{white-space:nowrap}.calculator-workspace{grid-template-columns:minmax(0,1.35fr) minmax(280px,.9fr);align-items:start;gap:1rem;display:grid}@media (width>=1700px){.calculator-page{grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) 300px;gap:0 1.25rem;width:100%;max-width:1504px;margin-left:0;margin-right:auto;display:grid}.calculator-header{grid-area:1/1}.calculator-workspace{grid-area:2/1}.calc-steps-panel{grid-area:3/1}.calculator-page>.ad-placeholder-rail{grid-area:1/2/span 3;align-self:start;width:300px;max-width:300px;height:min(80vh,700px);min-height:600px;margin:0;position:sticky;top:1rem}}.calculator-input-panel,.calculator-result-panel{margin:0}.function-plot-wrap{width:100%;min-width:0;margin-top:1rem;overflow:hidden}.function-plot{background:var(--panel-bg,#7f8caa0f);border-radius:12px;width:100%;height:auto;min-height:210px;display:block}.plot-grid{stroke:currentColor;opacity:.12;stroke-width:1px}.plot-axis{stroke:currentColor;opacity:.55;stroke-width:1.4px}.plot-label{fill:currentColor;opacity:.75;font-size:10px}.plot-legend{flex-wrap:wrap;gap:.5rem 1rem;margin:.5rem .25rem 0;font-size:.8rem;display:flex}.plot-legend span{align-items:center;gap:.35rem;display:inline-flex}.plot-legend i{border-radius:50%;width:.65rem;height:.65rem}.plot-empty{color:var(--muted,#888);text-align:center;margin-top:1rem;padding:1rem}.field-list{gap:.55rem;margin-bottom:.65rem;display:grid}.field-entry{gap:.25rem;min-width:0;display:grid}.field-row{gap:.32rem;display:grid}.field-row>span{font-size:.9rem;font-weight:600}.dynamic-number-list{min-width:0}.dynamic-list-items{gap:.4rem;min-width:0;display:grid}.dynamic-list-item{align-items:center;gap:.45rem;min-width:0;display:flex}.dynamic-list-item input{width:100%;min-width:0;color:inherit;font:inherit;background:#0f172a8c;border:1px solid #94a3b824;border-radius:12px;flex:auto;padding:.58rem .72rem}.theme-light .dynamic-list-item input{background:#f1f5f9b8}.dynamic-list-footer{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.dynamic-list-footer small{color:#7dd3fc;font-weight:600}.list-remove-button,.add-list-item-button{color:#bfdbfe;font:inherit;cursor:pointer;background:#60a5fa1a;border:1px solid #7dd3fc33;border-radius:8px;flex:none;padding:.32rem .52rem;font-size:.76rem}.list-remove-button:disabled,.add-list-item-button:disabled{opacity:.45;cursor:not-allowed}.theme-light .list-remove-button,.theme-light .add-list-item-button{color:#155e9a}.input-wrap{background:#0f172a8c;border:1px solid #94a3b824;border-radius:12px;align-items:center;gap:.5rem;padding:.58rem .72rem;display:flex}.apply-unit-button{color:#7dd3fc;font:inherit;cursor:pointer;background:#60a5fa14;border:1px solid #7dd3fc33;border-radius:7px;justify-self:start;padding:.25rem .48rem;font-size:.72rem;line-height:1.25}.apply-unit-button:hover{background:#60a5fa29}.theme-light .apply-unit-button{color:#155e9a;border-color:#2563eb38}.theme-light .input-wrap{background:#f1f5f9b8}.input-wrap input,.input-wrap select{width:100%;color:inherit;font:inherit;background:0 0;border:none;outline:none}.input-wrap select option{color:#112033}.input-wrap .unit-select{flex:0 45%;min-width:6rem;max-width:48%;font-size:.78rem}.input-wrap small{color:#7dd3fc;font-weight:600}.control-row{flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem;display:flex}.error-box{color:#fecaca;background:#ef44441a;border:1px solid #ef44444d;border-radius:12px;margin-top:.35rem;padding:.8rem 1rem}.formula-compact{background:#60a5fa0d;border:1px solid #94a3b81f;border-radius:12px;gap:.5rem;margin-top:.7rem;padding:.85rem .9rem;display:grid}.formula-label{letter-spacing:.08em;text-transform:uppercase;color:#7dd3fc;font-size:.78rem;font-weight:700}.formula-main{color:#7dd3fc;font-size:1rem;font-weight:700;line-height:1.4}.formula-vars{gap:.2rem;margin:0;padding-left:1.1rem;display:grid}.result-primary{background:linear-gradient(135deg,#60a5fa24,#8b5cf614);border:1px solid #7dd3fc2e;border-radius:14px;gap:.35rem;margin-bottom:.8rem;padding:.9rem 1rem;display:grid}.result-label{letter-spacing:.08em;text-transform:uppercase;color:#7dd3fc;font-size:.76rem;font-weight:700}.result-value-line{flex-wrap:wrap;align-items:baseline;gap:.35rem;display:flex}.result-value{font-size:clamp(1.8rem,2vw,2.7rem);line-height:1.08}.result-unit{color:#7dd3fc;font-size:.92rem;font-weight:600}.result-unit-select{max-width:10rem;color:inherit;font:inherit;background:#0f172a8c;border:1px solid #94a3b833;border-radius:8px;padding:.25rem .4rem;font-size:.75rem}.result-unit-select option{color:#112033}.theme-light .result-unit-select{color:#172033;background:#f1f5f9e6;border-color:#1e293b33}.result-copy-button{color:inherit;font:inherit;cursor:pointer;background:#94a3b814;border:1px solid #94a3b840;border-radius:7px;flex:none;padding:.25rem .45rem;font-size:.68rem;line-height:1.2}.result-copy-button:hover{background:#7dd3fc29;border-color:#7dd3fc73}.result-expanded-value{max-width:100%;color:var(--muted-text,#a8b4ca);overflow-wrap:anywhere;word-break:break-word;font-size:.76rem;line-height:1.35;display:block}.compact-result-display{text-align:right;justify-items:end;min-width:0;max-width:100%;display:grid}.compact-result-display strong{overflow-wrap:anywhere;word-break:break-word}.compact-result-row{flex-wrap:wrap}.trig-diagram-box{background:#0f172a47;border:1px solid #94a3b824;border-radius:14px;width:min(100%,300px);margin:.65rem auto 0;padding:.55rem}.trig-diagram-svg{width:100%;height:auto;display:block;overflow:visible}.trig-circle,.trig-triangle{fill:#60a5fa1a;stroke:currentColor;stroke-width:2px}.trig-axis{stroke:#94a3b880;stroke-width:1px}.trig-radius{stroke:#7dd3fc;stroke-width:2.5px}.trig-angle-arc{fill:none;stroke:#a78bfa;stroke-width:2px}.trig-angle-leader{stroke:#7dd3fcb3;stroke-width:1px;stroke-dasharray:2 2;vector-effect:non-scaling-stroke}.trig-point{fill:#fb7185;stroke:#fff;stroke-width:1.2px}.trig-origin{fill:currentColor}.trig-right-angle{fill:none;stroke:#fbbf24;stroke-width:1.5px}.trig-diagram-label,.trig-angle-label{fill:currentColor;font-size:10px}.trig-angle-label{fill:#7dd3fc}.unit-note{color:#fbbf24;margin:0 0 .7rem;font-size:.8rem}.theme-light .unit-note{color:#92400e}.mini-results{gap:.4rem;margin-bottom:.8rem;display:grid}.result-row{border-bottom:1px solid #94a3b81f;justify-content:space-between;gap:.8rem;padding-bottom:.55rem;display:flex}.compact-result-row{align-items:center;padding-bottom:.4rem;font-size:.9rem}.result-row:last-child{border-bottom:none;padding-bottom:0}.diagram-box{background:#0f172a59;border:1px solid #94a3b81f;border-radius:14px;justify-content:center;align-items:center;width:min(100%,240px);height:170px;min-height:0;margin:.4rem auto 0;padding:.5rem;display:flex}.theme-light .diagram-box{background:#f1f5f9b8}.diagram-svg{width:100%;max-width:200px;height:100%;max-height:160px;color:inherit}.calc-steps-panel{margin-top:.2rem}.steps-toggle{width:100%;color:inherit;cursor:pointer;text-align:left;font:inherit;background:#60a5fa14;border:1px solid #94a3b824;border-radius:12px;padding:.8rem 1rem;font-weight:600}.steps-list{gap:.55rem;margin:.8rem 0 0;padding-left:1.2rem;display:grid}@media (width<=900px){.cookie-banner{grid-template-columns:minmax(0,1fr);gap:.7rem;padding:.85rem .95rem;display:grid}.cookie-banner-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.cookie-banner-actions .primary-button{grid-column:1/-1}.app-shell{display:block}.sidebar{z-index:10;flex:none;width:min(80vw,320px);height:100dvh;transition:left .25s;position:fixed;top:0;bottom:0;left:-100%}.sidebar.open{left:0}.sidebar-backdrop{z-index:9;background:#02061794;border:0;display:block;position:fixed;inset:0}.sidebar-header .sidebar-theme-toggle{display:none}.content-shell{padding-top:.5rem}.mobile-header{display:flex}.desktop-only{display:none}.calculator-header{grid-template-columns:1fr;align-items:start}.header-actions{justify-content:flex-start}.calculator-workspace,.panels-double{grid-template-columns:1fr}.diagram-box{width:min(100%,220px)}}@media (width<=560px){.content-shell{padding:.8rem}.control-row{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.primary-button{grid-column:1/-1}.header-actions{width:100%}.header-actions>button{flex:1}.calculator-page{padding-top:0}.calculator-title-wrap h1{font-size:1.75rem}.calculator-workspace{gap:.7rem}.calculator-input-panel,.calculator-result-panel{padding:.85rem}.diagram-box{width:min(100%,180px);height:150px}.trig-diagram-box{width:min(100%,260px)}.trig-diagram-label,.trig-angle-label{font-size:11px}}@media (width>=901px) and (height<=700px){.sidebar{padding-top:.85rem;padding-bottom:.85rem}.sidebar-header{margin-bottom:.45rem}.nav-item{padding-top:.4rem;padding-bottom:.4rem}.sidebar-search{margin-top:.4rem;padding-top:.55rem}}@media (width<=900px){.app-shell{display:block}.sidebar{z-index:10;width:min(80vw,320px);transition:left .25s;position:fixed;top:0;bottom:0;left:-100%}.sidebar.open{left:0}.content-shell{padding-top:.5rem}.mobile-header{display:flex}.desktop-only{display:none}.calculator-layout,.results-grid,.panels-double{grid-template-columns:1fr}}
