@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700;750;800&family=Outfit:wght@500;600;650;700;800&display=swap');
:root{color-scheme:light;--navy:#0b1931;--navy2:#102343;--blue:#147df5;--aqua:#36b9f8;--bg:#f4f7fc;--white:#fff;--border:#e4eaf2;--ink:#152642;--muted:#718098;--green:#16704e;--radius:18px;--shadow:0 5px 35px rgba(19,41,78,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#176bca;text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #89c8ff;outline-offset:2px}
.layout{display:flex;min-height:100vh}.sidebar{background:linear-gradient(178deg,#09172d,#101f3a 70%,#0b1a33);width:272px;flex:0 0 272px;padding:29px 16px 24px;color:#b7c8e0;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#284267 transparent}.brand{display:flex;gap:10px;align-items:center;padding:4px 8px 29px;color:white!important;text-decoration:none!important;white-space:nowrap}.brand svg{width:43px;height:43px;flex-shrink:0}.brand-copy strong{font-family:Outfit,sans-serif;display:block;letter-spacing:-.8px;color:white;font-size:23px;line-height:1.15}.brand-copy strong span{color:#61c2fc}.brand-copy small{font-size:8.5px;letter-spacing:1.35px;color:#a2bad8;font-weight:700}.side-label{font-size:10px;letter-spacing:1.7px;color:#718aaa;font-weight:800;padding:9px 14px 12px}.main-nav{display:grid;gap:4px}.nav-btn{border:0;background:transparent;color:#b6c7dd;padding:13px 14px;text-align:left;border-radius:11px;font-weight:650;width:100%;display:flex;align-items:center;gap:12px;transition:background .16s;color:#c9d7ec}.nav-btn:hover,.nav-btn.active{color:#fff;background:#1a3760}.nav-btn.active{background:linear-gradient(95deg,#135ead,#193f70);box-shadow:inset 3px 0 #53c3ff}.nav-icon{width:20px;text-align:center;font-size:21px;line-height:1}.nav-arrow{margin-left:auto;color:#94c7fa;font-size:20px}.badge{margin-left:auto;color:white;background:#1c75cb;padding:2px 8px;border-radius:30px;font-size:11px}.side-separator{height:1px;background:#243b59;margin:24px 6px 16px}.tool-nav{display:grid;gap:3px}.tool-link{border:0;border-radius:9px;width:100%;padding:11px 11px;background:transparent;display:flex;align-items:center;gap:11px;color:#acbfd7;text-align:left;font-size:12.5px;font-weight:600}.tool-link:hover,.tool-link.current{background:#18335a;color:#fff}.tool-link.current .mini-symbol{color:#80ddff}.mini-symbol{width:20px;display:block;text-align:center;color:#7c9dc5;font-size:17px}.side-bottom{margin-top:auto;border-top:1px solid #2b405e;padding:20px 6px 0;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:#c5d6e9}.side-bottom small{display:block;width:100%;color:#7c97b6;margin:3px 0 0 16px}.status-dot,.offline-pill i{width:8px;height:8px;border-radius:50%;background:#3cdda3;box-shadow:0 0 0 3px #3cdda31a}
.workspace{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:76px;flex-shrink:0;background:#fff;box-shadow:0 1px 0 var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,3.5vw,64px);gap:16px}.topbar-left{display:flex;align-items:center;gap:15px}.eyebrow{color:#7d8fa8;font-size:11px;font-weight:800;letter-spacing:1.6px}.eyebrow span{color:#bcc8d8;padding:0 8px}.topbar-actions{display:flex;align-items:center;gap:16px}.offline-pill{display:inline-flex;gap:10px;align-items:center;color:#6a7e98;font-size:12px;font-weight:650}.offline-pill i{display:inline-block;width:7px;height:7px}.header-report-btn{background:#0d2444;color:#fff;padding:12px 17px;border:0;border-radius:10px;font-weight:750}.header-report-btn span{background:#317aca;color:#fff;border-radius:50px;min-width:22px;display:inline-block;text-align:center;margin-left:5px;font-size:11px;padding:2px 5px}.menu-trigger{display:none}main{padding:34px clamp(24px,3.5vw,64px) 50px;width:100%;max-width:1660px;margin:0 auto;flex:1}.page{display:none;animation:enter .24s ease}.page.active{display:block}@keyframes enter{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.page-intro{position:relative;overflow:hidden;background:radial-gradient(circle at 85% 30%,#163c6f,#112a4d 53%,#0b1931);border-radius:21px;padding:40px 44px;color:#fff;display:flex;align-items:center;min-height:206px;margin-bottom:20px;box-shadow:0 12px 38px #102e5017}.tag{display:inline-flex;align-items:center;gap:8px;border:1px solid #3a658f;background:#18406c;color:#a5dcff;font-size:10.5px;letter-spacing:1.65px;font-weight:800;border-radius:30px;padding:7px 11px}.page-intro h1,.subpage-head h1{font-family:Outfit,system-ui,sans-serif;letter-spacing:-1.4px;font-weight:750;font-size:clamp(30px,3.2vw,44px);line-height:1.08;margin:16px 0 12px}.page-intro h1 em,.subpage-head h1 em{font-style:normal;color:#59bafb}.page-intro p{margin:0;max-width:690px;color:#c0d1e7;line-height:1.65;font-size:14px}.intro-decoration{width:165px;flex-shrink:0;margin:0 25px}.intro-decoration svg{width:100%}.status-banner{display:flex;align-items:flex-start;gap:13px;background:#eaf4ff;border:1px solid #d0e6fb;border-radius:14px;padding:17px 20px;margin-bottom:31px;color:#174578}.banner-symbol{background:#cae5ff;color:#0965b9;border-radius:100%;font-weight:900;display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;font-size:13px}.status-banner strong{font-size:13px}.status-banner p{line-height:1.55;margin:4px 0 0;color:#466787;font-size:12.4px}.status-banner a{white-space:nowrap}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 15px}.section-head h2,.white-card h2,.row-heading h2{font-family:Outfit,sans-serif;font-size:21px;letter-spacing:-.45px;margin:0 0 5px}.section-head p,.white-card>p{color:#718098;margin:0;line-height:1.65;font-size:12.5px}.search-wrap{height:42px;display:flex;align-items:center;gap:9px;border:1px solid #dfe8f2;background:#fff;border-radius:10px;padding:0 13px;color:#7b93ac;min-width:280px}.search-wrap:focus-within{border-color:#3d9cf9;box-shadow:0 0 0 3px #3d9cf917}.search-wrap span{font-size:22px}.search-wrap input{border:0;background:transparent;outline:0;width:100%;color:#172741;font-size:12px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.category-chip{border:1px solid var(--border);background:#fff;color:#57708a;font-size:12px;font-weight:750;border-radius:30px;padding:9px 16px}.category-chip:hover{background:#e6f1ff}.category-chip.active{color:#fff;border-color:#147df5;background:#147df5;box-shadow:0 3px 10px #1a84f523}.tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:32px}.tool-card{border:1px solid var(--border);background:#fff;box-shadow:var(--shadow);border-radius:14px;padding:16px 14px;text-align:left;min-height:110px;display:flex;flex-direction:column;gap:10px;transition:transform .16s,border .16s,box-shadow .16s}.tool-card:hover{transform:translateY(-2px);border-color:#a8d2fc;box-shadow:0 10px 25px #1a6fb912}.tool-card.selected{border:1.5px solid #258ff0;background:#f7fbff;box-shadow:0 0 0 2px #0e81e80e}.tool-card-top{display:flex;align-items:center;justify-content:space-between}.card-symbol,.tool-symbol{display:grid;place-items:center;border-radius:11px;color:#166bce;background:#eaf4ff;font-size:22px;font-weight:700;height:38px;width:38px}.tool-card .arrow{font-size:19px;color:#a1b3c6}.tool-card h3{font-size:12.8px;color:#203552;margin:0 0 3px;font-weight:800;line-height:1.25}.tool-card p{font-size:11px;color:#8090a3;margin:0}.calculator-layout{display:grid;grid-template-columns:minmax(310px,1fr) minmax(360px,1.08fr);gap:18px;scroll-margin-top:20px}.calc-panel,.result-panel,.white-card{border-radius:18px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow)}.calc-panel,.result-panel{min-height:450px;padding:26px}.panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:27px}.panel-heading.compact{justify-content:space-between;align-items:flex-start;margin-bottom:16px}.tool-symbol{height:48px;width:48px;flex-shrink:0;font-size:27px}.overline{display:block;font-size:10px;letter-spacing:1.55px;font-weight:800;color:#7e96ad;margin-bottom:5px}.panel-heading h2{font-family:Outfit,sans-serif;margin:0 0 3px;letter-spacing:-.4px;font-size:23px}.panel-heading p{font-size:12px;line-height:1.5;color:#7b8a9f;margin:0}.form-grid,.tfm-form,.report-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 15px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field>span,.tfm-form label,.report-input-grid label{font-size:12px;font-weight:750;color:#314562}.form-field small{font-size:10.5px;color:#8795a9;font-weight:500;line-height:1.4}.form-field input,.form-field select,.tfm-form input,.tfm-form select,.report-input-grid input,.report-input-grid select,.report-input-grid textarea{width:100%;margin-top:0;height:43px;border-radius:9px;border:1px solid #dce5ef;background:#fff;padding:10px 12px;color:#1d2f4a;min-width:0;outline:0;transition:border .15s,box-shadow .15s}.form-field input:focus,.form-field select:focus,.tfm-form input:focus,.tfm-form select:focus,.report-input-grid input:focus,.report-input-grid textarea:focus{border-color:#399aff;box-shadow:0 0 0 3px #1486f513}.form-field input::placeholder{color:#a0aebc}.form-field.is-wide{grid-column:1/-1}.form-actions,.report-actions{display:flex;gap:10px;margin-top:25px;flex-wrap:wrap}.primary-btn,.outline-btn{min-height:43px;padding:11px 19px;border-radius:9px;font-weight:800;font-size:12px}.primary-btn{color:white;background:linear-gradient(120deg,#147df5,#0870df);border:1px solid #0874e6;box-shadow:0 4px 10px #157aff23}.primary-btn:hover{filter:brightness(1.05)}.outline-btn{background:#fff;border:1px solid #dce5ef;color:#4b627e}.outline-btn:hover{background:#f3f8fe}.outline-btn.danger{color:#b24242}.result-status{font-size:10px;letter-spacing:.8px;padding:6px 10px;border-radius:30px;background:#eef3f8;color:#77879b;font-weight:850}.result-status.done{background:#def6e9;color:#137c52}.result-status.error{background:#ffeaea;color:#a23939}.empty-result{margin-top:60px;text-align:center;color:#8392a8;max-width:290px;margin-left:auto;margin-right:auto}.empty-icon{font-size:36px;width:68px;height:68px;border-radius:20px;background:#eef5fc;color:#6295d6;display:grid;place-items:center;margin:0 auto 14px}.empty-result h3{color:#37506d;margin:6px 0 8px}.empty-result p{font-size:12.5px;line-height:1.7}.result-hero{background:linear-gradient(140deg,#e9f8f3,#f7fcf9);border:1px solid #a9e4c8;border-radius:12px;padding:17px 18px;color:#146d4d;margin-bottom:18px}.result-hero>span{display:block;font-weight:750;font-size:12px;margin-bottom:5px}.result-number{font:750 32px Outfit,sans-serif;letter-spacing:-.7px;line-height:1.3}.result-sub{font-size:12px;margin:6px 0 0;color:#4d7867}.detail-block{border-top:1px solid #e8edf3;padding-top:14px;margin-top:14px}.detail-block h3{font-size:13.5px;margin:0 0 11px;color:#21334c}.detail-block ol,.detail-block ul{margin:0;padding-left:20px}.detail-block li{line-height:1.65;font-size:12px;margin:6px 0;color:#475976}.step-formula{margin:3px 0 7px;padding:8px 11px;background:#f4f8fc;color:#204064;border-radius:7px;font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;overflow-wrap:anywhere;font-size:11.3px;white-space:pre-wrap}.source-tag{background:#eef5fc;color:#2b699e;padding:5px 9px;display:inline-block;border-radius:6px;font-size:11px;font-weight:750;margin:3px 5px 3px 0}.warnings{background:#fff7e8;border:1px solid #f3deaf;border-radius:10px;padding:12px 14px;font-size:11.8px;color:#7f5b21;line-height:1.55;margin-top:16px}.warnings ul{padding-left:17px;margin:6px 0}.result-add{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.result-add .outline-btn,.result-add .primary-btn{flex:1}.result-error{color:#ab3333;background:#fff0f0;border:1px solid #ffc8c8;padding:16px;border-radius:10px;line-height:1.6}
.subpage-head{margin:5px 0 26px;max-width:800px}.subpage-head .tag{background:#e8f3ff;color:#1a66aa;border-color:#c8e2ff}.subpage-head h1{color:#162c4b;font-size:clamp(32px,3.5vw,46px)}.subpage-head p{color:#63768d;line-height:1.7;font-size:14px;max-width:700px}.notice-yellow{background:#fff7e5;border:1px solid #eddcb0;padding:16px 20px;border-radius:12px;line-height:1.7;font-size:12.5px;color:#77602c;margin-bottom:19px}.label-layout{display:grid;grid-template-columns:minmax(320px,1.25fr) minmax(305px,.9fr);align-items:start;gap:18px}.white-card{padding:26px}.section-head.inline{margin-bottom:18px}.search-wrap.full{min-width:0;width:100%;margin-bottom:18px}.mark-list{display:grid;gap:9px;max-height:900px;overflow-y:auto}.mark-entry{border:1px solid #e8eef6;border-radius:10px;padding:13px 15px;background:#fbfdff}.mark-entry-top{display:flex;gap:10px;justify-content:space-between;align-items:center}.mark-entry h3{margin:0 0 4px;color:#233a55;font-size:13px}.mark-code{background:#e7f1fd;color:#0b64b8;padding:5px 9px;border-radius:6px;letter-spacing:1px;font-weight:850;font-size:12px;flex-shrink:0}.mark-entry p{font-size:12px;color:#60748d;line-height:1.65;margin:6px 0}.mark-entry small{color:#7e92a9;font-size:10.5px}.tfm-card>p{margin-bottom:24px}.tfm-form{gap:16px}.tfm-form label{display:block}.tfm-form input,.tfm-form select{margin-top:6px}.tfm-form button{grid-column:1/-1}.tfm-output{margin-top:21px;background:#0e2748;border-radius:13px;padding:21px;color:#fff;display:flex;flex-direction:column;gap:11px}.tfm-output>span{font-size:10px;letter-spacing:1.5px;color:#99bee7;font-weight:800}.tfm-output strong{overflow-wrap:anywhere;font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;font-size:20px;letter-spacing:1.1px;color:#a9e1ff}.tfm-output small{font-size:11px;line-height:1.65;color:#b1c5dd}.text-button{color:#9ed3ff;text-align:left;background:transparent;border:0;padding:0;font-weight:800;font-size:12px;width:max-content}.ref-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ref-card{border:1px solid var(--border);background:white;border-radius:15px;padding:21px;display:flex;flex-direction:column;gap:8px}.ref-card span{font-size:10px;letter-spacing:1.3px;color:#3083c8;font-weight:900}.ref-card h3{font-family:Outfit,sans-serif;font-size:19px;margin:0;color:#1b3456}.ref-card p{font-size:12.5px;line-height:1.65;color:#5f728b;margin:0;flex:1}.ref-card a{margin-top:5px;display:inline-block;font-size:11.5px;font-weight:800}.reference-note{margin-top:18px}.reference-note p{font-size:12.5px}.report-header{display:flex;max-width:none;justify-content:space-between;gap:20px}.report-count-box{background:#e5f2ff;border:1px solid #c9e6ff;padding:20px 32px;border-radius:13px;text-align:center;min-width:160px}.report-count-box span{font-size:10px;letter-spacing:1px;display:block;color:#597da3;font-weight:850}.report-count-box b{font:800 35px Outfit,sans-serif;color:#1267b2}.report-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:20px;align-items:start}.report-input-grid{margin-top:24px}.report-input-grid label{display:block}.report-input-grid label.wide{grid-column:1/-1}.report-input-grid input,.report-input-grid select,.report-input-grid textarea{margin-top:7px}.report-input-grid textarea{height:auto;min-height:100px;resize:vertical}.report-actions{margin-top:24px}.small-note{font-size:11px!important;margin-top:14px!important}.row-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.row-heading span{font-size:11px;font-weight:700;color:#7d8fa4}.report-item{border:1px solid #e5ebf2;background:#fbfdff;border-radius:11px;padding:14px;margin-top:12px;display:flex;align-items:center;gap:13px}.report-item .numb{width:29px;height:29px;display:grid;place-items:center;background:#e8f2fc;color:#246caa;border-radius:8px;font-weight:900;font-size:12px;flex-shrink:0}.report-item b{font-size:12.5px;display:block}.report-item small{display:block;font-size:10.5px;color:#69809b;margin-top:5px}.report-item button{margin-left:auto;border:none;border-radius:8px;color:#ac5151;background:#fee;font-weight:750;padding:7px 10px}.report-empty{text-align:center;padding:45px 14px;color:#7c8da4;line-height:1.7}.report-empty strong{display:block;color:#36516d;font-size:14px}.footer{border-top:1px solid #e4e9f0;margin:0 clamp(24px,3.5vw,64px);padding:20px 0 24px;color:#8695a8;font-size:10.5px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.footer-link{color:#427caa;padding:0;background:none;border:0;font-size:10.5px;font-weight:750}#toast{position:fixed;right:25px;bottom:24px;z-index:100;border-radius:10px;background:#0f2d50;color:#fff;box-shadow:0 12px 36px #00244f3e;font-weight:700;padding:14px 20px;max-width:400px;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translateY(0)}.hidden{display:none!important}
@media(max-width:1300px){.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{width:253px;flex-basis:253px}.page-intro{padding:33px}.intro-decoration{margin-right:0}.form-grid{gap:14px}.calc-panel,.result-panel{padding:22px}}
@media(max-width:1050px){.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.calculator-layout,.label-layout,.report-layout{grid-template-columns:1fr}.sidebar{width:235px;flex-basis:235px}.brand-copy strong{font-size:20px}.intro-decoration{width:90px}.ref-list{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sidebar{position:fixed;z-index:80;left:0;top:0;height:100dvh;transform:translateX(-101%);transition:transform .2s;width:270px;box-shadow:10px 0 45px #001c3e2e}.sidebar.open{transform:translateX(0)}.menu-trigger{display:grid!important;place-items:center;height:37px;width:37px;font-size:19px;border:1px solid #e1e9f3;background:#fff;color:#153758;border-radius:8px}.topbar{height:66px;padding:0 17px}.topbar .eyebrow{letter-spacing:.7px;font-size:10px}.offline-pill{display:none}.header-report-btn{padding:10px 12px;font-size:11px}main{padding:18px 16px 33px}.page-intro{padding:26px;border-radius:15px;min-height:0}.page-intro h1{font-size:31px}.page-intro p{font-size:12.5px}.intro-decoration{display:none}.status-banner{padding:14px 15px;margin-bottom:25px}.section-head{align-items:flex-start;flex-direction:column;gap:13px}.search-wrap{width:100%;min-width:0}.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tool-card{padding:13px;min-height:105px}.calculator-layout{gap:13px}.calc-panel,.result-panel,.white-card{padding:19px;border-radius:14px}.form-grid{gap:13px}.panel-heading h2{font-size:21px}.page-intro h1,.subpage-head h1{letter-spacing:-.9px}.ref-list{grid-template-columns:1fr}.report-header{display:block}.report-count-box{display:none}.footer{margin:0 16px}.report-input-grid{grid-template-columns:1fr}.report-input-grid label.wide{grid-column:auto}}
@media(max-width:440px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.tfm-form{grid-template-columns:1fr}.form-field.is-wide{grid-column:auto}.tfm-form button{grid-column:auto}.page-intro h1{font-size:28px}.tool-card h3{font-size:12px}.tool-card p{font-size:10px}.status-banner p{font-size:11.5px}.form-actions button{flex:1}.row-heading{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ENKEL V2 — Minimalistisk, rask oppgaveløsning. Original funksjonalitet uendret. */
:root{--navy:#192c47;--navy2:#213857;--blue:#176fe2;--aqua:#176fe2;--bg:#f7f9fb;--border:#e3e9f0;--ink:#192b40;--muted:#677b92;--radius:12px;--shadow:0 2px 14px rgba(34,54,80,.035)}
body{font-size:14px;background:#f7f9fb}
.layout{display:flex;flex-direction:column;min-height:100vh}
.sidebar{z-index:50;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:30px;background:#fff;color:#27405b;width:100%;height:72px;flex:0 0 72px;position:sticky;top:0;padding:0 max(22px,calc((100vw - 1320px)/2));overflow:visible;box-shadow:0 1px 0 #e8edf2}
.sidebar .brand{padding:0;color:var(--ink)!important;gap:8px;flex:0 0 auto}
.brand svg{height:38px;width:38px}.brand-copy strong{color:#1c324d;font-size:22px}.brand-copy strong span{color:#1473d4}.brand-copy small{color:#8395a8;font-size:8px;letter-spacing:.8px}
.sidebar .side-label,.sidebar .side-separator,.sidebar .tool-nav,.sidebar .side-bottom{display:none!important}
.main-nav{display:flex;align-items:center;gap:6px;justify-content:flex-end}
.nav-btn{width:auto;white-space:nowrap;padding:11px 13px;color:#546a81;border-radius:9px;font-size:12.5px;gap:8px;box-shadow:none}
.nav-btn:hover,.nav-btn.active{background:#eaf3fd;color:#1764ad;box-shadow:none}
.nav-btn.active{background:#eaf3fd;color:#1764ad;box-shadow:inset 0 -2px #267bd5}
.nav-icon{font-size:17px;width:17px}.badge{background:#186fc7;color:#fff;margin-left:2px;padding:2px 7px}
.workspace{width:100%;min-height:calc(100vh - 72px)}.topbar{display:none!important}
main{max-width:1360px;padding:30px 24px 56px}
.page-intro{padding:0!important;background:transparent!important;color:#182b41;min-height:0!important;border-radius:0;box-shadow:none;margin:3px 0 26px}
.page-intro .tag{background:transparent;border:0;padding:0;border-radius:0;color:#64819f;font-size:10px;letter-spacing:1.4px}
.page-intro h1{font-family:'Outfit',sans-serif;color:#1d344d;font-size:clamp(28px,3.4vw,40px);font-weight:700;letter-spacing:-1.2px;margin:12px 0 7px}
.page-intro p{color:#6e8094;font-size:14px;max-width:850px}
.quick-tools{background:#fff;border:1px solid #e4eaf1;border-radius:13px;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow);padding:16px 19px;margin-bottom:16px}
.quick-tools label{font-weight:800;font-size:13px;min-width:max-content}
.quick-tools select{border:1px solid #d7e1eb;background:#fff;color:#1b3450;border-radius:9px;padding:11px 14px;min-height:44px;flex:0 1 390px;min-width:0;font-weight:700}
.quick-tools span{margin-left:auto;color:#8593a5;font-size:11.5px;white-space:pre}
.calculator-layout{scroll-margin-top:115px;grid-template-columns:minmax(300px,1fr) minmax(350px,1.12fr);gap:16px}
.calc-panel,.result-panel,.white-card{border-radius:13px;box-shadow:var(--shadow);border-color:#e1e8ef}
.calc-panel,.result-panel{min-height:410px;padding:25px}
.panel-heading{margin-bottom:22px}.panel-heading h2{font-size:23px}.tool-symbol{border-radius:11px;background:#eef5fc;color:#2675bd}
.primary-btn{background:#176fe2;border-color:#176fe2;box-shadow:none}.primary-btn:hover{background:#1263ca}
.status-banner{margin:16px 0 17px;background:#f1f7fd;border:1px solid #e0ebf6;padding:12px 16px;border-radius:10px}
.status-banner p{font-size:11.5px;color:#607890}.status-banner strong{color:#466886}
.all-tools{background:#fff;border:1px solid #e2e8f0;border-radius:13px;margin:18px 0 10px;box-shadow:var(--shadow);padding:0 18px}
.all-tools>summary{padding:17px 4px;cursor:pointer;font-weight:800;font-size:13px;color:#285b95;list-style-position:inside}
.all-tools[open] summary{margin-bottom:18px;border-bottom:1px solid #e6eaf0}
.all-tools .tools-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
.all-tools .tool-card{min-height:95px;padding:13px}
.all-tools .section-head{margin-bottom:13px}
.all-tools .category-chip{padding:8px 14px}.category-chip.active{background:#176fe2;border-color:#176fe2}
.footer{max-width:1312px;width:calc(100% - 48px);margin:0 auto;border-color:#e2e8ef}
.subpage-head{margin-top:10px}.subpage-head h1{font-size:35px}
.tfm-output{background:#183656}
@media(max-width:1060px){.sidebar{gap:10px;padding:0 15px}.nav-btn{font-size:11px;padding:10px 9px}.brand-copy strong{font-size:18px}.nav-icon{display:none}.quick-tools span{display:none}.all-tools .tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.sidebar{position:sticky;transform:none!important;height:auto;min-height:72px;width:100%;flex-basis:auto;display:flex;flex-wrap:wrap;padding:12px 16px;gap:10px;box-shadow:0 1px 0 #e8edf2}.sidebar .brand{width:100%}.brand svg{height:31px;width:31px}.brand-copy strong{font-size:19px}.brand-copy small{font-size:7px}.main-nav{width:100%;overflow-x:auto;justify-content:space-between;gap:4px}.nav-btn{flex:1;text-align:center;justify-content:center;padding:9px 7px;font-size:11px}.nav-icon{display:none}.badge{margin-left:0}.workspace{min-height:0}main{padding:22px 14px 40px}.page-intro{margin:5px 0 20px}.page-intro h1{font-size:30px}.page-intro p{font-size:12.5px}.quick-tools{padding:13px;flex-wrap:wrap;gap:8px}.quick-tools label{width:100%}.quick-tools select{width:100%;flex:1 1 100%}.calculator-layout,.label-layout,.report-layout{grid-template-columns:1fr}.all-tools .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.all-tools .section-head{display:block}.all-tools .search-wrap{margin-top:12px}.calc-panel,.result-panel{padding:20px;min-height:0}.footer{width:calc(100% - 28px)}.category-tabs{gap:5px}.category-chip{font-size:11px}}
@media(max-width:450px){.nav-btn{font-size:10px;padding:9px 5px}.form-grid{grid-template-columns:1fr}.all-tools .tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.all-tools .tool-card{min-height:92px}}
