/* Laskentapoyta: cool ledger, ink blue and acid-lime. Existing text/links stay intact. */
.tm-site{--tm-ink:#172a46;--tm-paper:#f1f4f3;--tm-text:#23334b;--tm-accent:#d8ed68;--tm-muted:#52647a;--tm-line:#c8d2d8;background:#f1f4f3;color:#23334b;font-family:Arial,Helvetica,sans-serif;line-height:1.65}
.tm-site h1,.tm-site h2,.tm-site h3{color:#172a46;font-family:Georgia,'Times New Roman',serif;font-weight:500;line-height:1.2;letter-spacing:-.025em}
.tm-site h1{font-size:clamp(2rem,4.5vw,4.2rem);max-width:24ch}.tm-site h2{font-size:clamp(1.45rem,2.5vw,2.1rem)}
.tm-site a{color:#1c426e;text-underline-offset:.2em}.tm-site a:hover{color:#102440;text-decoration-thickness:2px}.tm-site a:focus-visible,.tm-site button:focus-visible,.tm-site input:focus-visible,.tm-site select:focus-visible{outline:3px solid #446400;outline-offset:4px}
.tm-site .tm-header{background:#172a46;color:#fff;border:0}.tm-site .tm-header a{color:#f5f7f8}.tm-site .tm-brand{font-family:Georgia,serif;letter-spacing:-.04em}.tm-site .tm-brand span{color:#d8ed68;font-family:Arial,sans-serif;letter-spacing:.06em}.tm-site .tm-nav{border-color:#506078}.tm-site .tm-search input{background:#fff;color:#172a46}.tm-site .tm-search button{background:#d8ed68;color:#172a46}
.tm-calc-nav{display:flex;gap:2rem;align-items:center;padding:.7rem 0}.tm-calc-nav a{font-size:1.05rem;font-weight:700;text-decoration:none;border-bottom:3px solid #d8ed68;padding:.25rem 0}
.tm-site .tm-notebook-hero{background:none;border:0;border-bottom:1px solid #aebbc5;box-shadow:none;padding:3rem 0;gap:2rem}.tm-site .tm-hero-copy>p{max-width:52ch}.tm-site .tm-hero-avatar{max-width:150px}.tm-site .tm-hero-avatar img{max-width:130px;height:auto}.tm-site .tm-kicker{color:#38526d;font-size:.73rem;font-family:Arial,sans-serif;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.tm-calculation-bench{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.5fr);gap:2.8rem;margin:3rem 0}.tm-bench-heading{border-top:7px solid #172a46;padding-top:1rem}.tm-tool-list{list-style:none;padding:0;margin:0;counter-reset:tools}.tm-tool-list>li{counter-increment:tools;border-top:1px solid #aebbc5;display:flex;gap:1.3rem;padding:1.25rem 0}.tm-tool-list>li:before{content:counter(tools,decimal-leading-zero);color:#38526d;font:13px monospace;padding-top:.3rem}.tm-tool-list>li>span{margin-left:auto;background:#d8ed68;color:#172a46;border-radius:50%;min-width:30px;height:30px;text-align:center}.tm-tool-list a{font:1.35rem Georgia,serif;text-decoration:none}.tm-tool-list p{font-size:.95rem;margin:.5rem 0 0;max-width:63ch}
.tm-decision-strip{border-top:3px solid #172a46;border-bottom:1px solid #aebbc5;padding:1.5rem 0;margin:3rem 0}.tm-decision-strip ul{display:grid;grid-template-columns:1fr 1fr;gap:.7rem 2rem;padding-left:1.2rem}.tm-preserved-archive{padding:1.4rem 1.6rem;background:#e4eaf0;border-left:0;margin-bottom:3rem}.tm-preserved-archive h2{font-size:1.2rem}.tm-preserved-archive p{font-size:.9rem}
.tm-site .tm-lead,.tm-site .tm-latest,.tm-site .tm-topics{border-top:1px solid #b9c5cf;padding-top:2rem}.tm-site .tm-card{box-shadow:none;background:none;border:0;border-bottom:1px solid #c8d2d8;border-radius:0}.tm-site .tm-card h2,.tm-site .tm-card h3{font-size:1.35rem}.tm-site .tm-card-grid{gap:2rem}.tm-site .tm-card p{font-size:.9rem}.tm-site .tm-method-note{background:#e4eaf0;border:0;border-radius:0}
.tm-calc-page{max-width:960px;margin:3rem auto 5rem}.tm-calc-page>header{border-top:7px solid #172a46;padding-top:1.3rem}.tm-calc-page h1{font-size:clamp(2rem,4vw,3.5rem);margin-top:.7rem}.tm-calc-page h2{margin-top:2.3rem}.tm-calc-page p{max-width:72ch}.tm-calc-page section{margin:1.5rem 0}.tm-calc-answer{border:0;border-top:4px solid #172a46;background:#e6ecd8;padding:1.2rem 1.4rem;margin:1.6rem 0;color:#172a46}.tm-calc-answer>span{font:700 .75rem Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}.tm-calc-answer p{margin:.4rem 0 0;font-size:1.1rem}.tm-quick-facts{display:flex;flex-wrap:wrap;gap:.5rem 2rem;padding-left:1.2rem;font-size:.88rem}
.tm-calculator{background:#fff;border:1px solid #b7c6d1;padding:clamp(1rem,3vw,2rem);box-shadow:9px 9px 0 #e0e6e9;margin:2rem 0}.tm-input-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:2rem}.tm-calculator fieldset{padding:0;border:0;min-width:0}.tm-calculator legend{font:1.35rem Georgia,serif;padding:0;margin-bottom:1rem}.tm-calculator label{display:block;font-size:.9rem;font-weight:700;margin:1rem 0 .3rem}.tm-calculator input,.tm-calculator select{display:block;width:100%;box-sizing:border-box;background:#f6f8f9;border:1px solid #8195a7;border-radius:0;padding:.8rem;font:1.1rem Arial,sans-serif;color:#172a46;min-height:48px}.tm-calculator #tm-input-help{font-size:.84rem;color:#52647a;margin:1.2rem 0}.tm-calc-buttons{display:flex;gap:1rem;flex-wrap:wrap}.tm-calc-buttons button{min-height:48px;padding:.7rem 1.8rem;font:700 1rem Arial,sans-serif;background:#172a46;color:#fff;border:2px solid #172a46;border-radius:0;cursor:pointer}.tm-calc-buttons button[type=reset]{background:#fff;color:#172a46}.tm-calc-status{font-size:.9rem;border-top:1px solid #d3dce2;padding-top:1rem;min-height:1.5em}.tm-result:empty{display:none}.tm-result{background:#d8ed68;padding:1rem 1.5rem;margin-top:1rem}.tm-result-line{padding:.6rem 0}.tm-result-line h3{font-size:1rem;margin:.5rem 0}.tm-result-value{font-family:monospace;font-size:clamp(1.6rem,4vw,2.7rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tm-workings{font-family:monospace;font-size:.9rem}.tm-comparison-answer{border-top:1px solid #7b8d39;padding-top:1rem;font-weight:700}
.tm-formula{border-top:2px solid #172a46;border-bottom:1px solid #b8c6cf;padding:.2rem 0 1rem}.tm-formula p{font-family:monospace;font-size:1.02rem;overflow-wrap:anywhere}.tm-calc-limit{background:#e8eef2;padding:1rem 1.5rem}.tm-calc-limit h2{font-size:1.25rem;margin-top:.5rem}.tm-calc-source{font-size:.88rem;border-top:1px solid #c8d2d8;margin-top:2.5rem;padding-top:.5rem}.tm-calc-source h2{font-size:1.15rem}.tm-voice-note{border-top:1px solid #c8d2d8;margin-top:2rem;padding-top:1rem;font-size:.85rem}.tm-voice-note p{margin-bottom:.3rem}
.tm-hub-list{counter-reset:hub;list-style:none;padding:0}.tm-hub-list li{counter-increment:hub;border-top:1px solid #aebbc5;padding:1.3rem 0 1.3rem 3.4rem;position:relative}.tm-hub-list li:before{content:counter(hub,decimal-leading-zero);position:absolute;left:0;top:1.6rem;color:#38526d;font-family:monospace}.tm-hub-list h2{margin:0 0 .6rem!important;font-size:1.55rem}.tm-hub-list h2 a{text-decoration:none}.tm-hub-list p{margin:0}.tm-guide-content table{border-collapse:collapse;width:100%;margin:1.5rem 0}.tm-guide-content th{background:#172a46;color:white;text-align:left}.tm-guide-content th,.tm-guide-content td{padding:.8rem;border-bottom:1px solid #bdcbd6;vertical-align:top}.tm-worksheet{border-top:2px solid #172a46;padding-top:.8rem}.tm-worksheet dt{font-weight:700;margin-top:1.2rem}.tm-worksheet dd{margin:0;color:#718295;overflow:hidden;white-space:nowrap}
/* Shared old and future article adapters. Every nested child may shrink. */
.tm-site .tm-content{max-width:780px;margin-left:auto;margin-right:auto;color:#23334b;overflow-wrap:anywhere}.tm-site .tm-content :where(div,section,article,aside){min-width:0;box-sizing:border-box}.tm-site .tm-content :where(p,li){color:inherit;font-size:1rem;line-height:1.75}.tm-site .tm-content :where(h2,h3,h4){color:#172a46;font-family:Georgia,serif}.tm-site .tm-content :where(img,video,iframe){max-width:100%}.tm-site .tm-content :where(table){display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:.92rem}.tm-site .tm-content :where(th,td){padding:.75rem;border:0;border-bottom:1px solid #c8d2d8;text-align:left;vertical-align:top}.tm-site .tm-content th{background:#172a46;color:#fff}.tm-site .tm-content :where(.n24-wrap,.mm-article-v1,.news-content){max-width:100%;width:auto;background:transparent;padding:0;color:#23334b;--n24-accent:#172a46;--n24-surface:#fff;--n24-border:#c8d2d8}
.tm-site .tm-content :where(.n24-tldr,.n24-note,.n24-tip,.n24-warning,.mm-direct-answer,.mm-note,.news-box){background:#e8eef2;border:0;border-top:3px solid #172a46;border-radius:0;box-shadow:none;color:#23334b;padding:1rem;margin:1.4rem 0}.tm-site .tm-content :where(.n24-tip,.mm-tip){border-top-color:#839b20}.tm-site .tm-content :where(.n24-warning){border-top-color:#a13c37}.tm-site .tm-content :where(.n24-grid,.n24-grid-wrap,.n24-overview-grid,.mm-quick-picks,.mm-offer-grid,.news-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem;max-width:100%;margin:1.3rem 0}.tm-site .tm-content :where(.n24-card,.n24-grid-item,.mm-quick-item,.mm-card-compact){display:block;max-width:100%;background:#fff;border:1px solid #c8d2d8;border-radius:0;box-shadow:none;padding:1rem;color:#23334b}.tm-site .tm-content :where(.n24-card-header,.news-box-header){display:flex;align-items:baseline;gap:.7rem}.tm-site .tm-content :where(.n24-card-num,.box-num){display:inline-block;min-width:1.5em;margin-right:.4rem;font-family:monospace;color:#38526d}.tm-site .tm-content :where(.n24-card-title,.n24-note-label,.n24-tip-label,.mm-kicker){color:#172a46;font-weight:700}.tm-site .tm-content :where(.n24-card-body,.news-box-content){padding:.5rem 0 0;background:none;max-width:100%}.tm-site .tm-content :where(.n24-faq-item,.mm-faq-item){border:0;border-top:1px solid #c8d2d8;border-radius:0;padding:.9rem 0;background:none}.tm-site .tm-content .n24-stats-line{background:none;border-top:1px solid #c8d2d8;border-bottom:1px solid #c8d2d8;padding:.6rem 0;font: .85rem monospace}.tm-site .tm-content :where(.mm-comparison,.n24-clarity){overflow:auto;max-width:100%}.tm-site .tm-content :where(.mm-offer-item,.mm-spec-row){max-width:100%;box-sizing:border-box}
.tm-site .tm-footer{background:#172a46;color:#eff3f7;border:0}.tm-site .tm-footer a{color:#e2edc1}.tm-site .tm-footer-brand{color:#fff}
@media(max-width:760px){.tm-calculation-bench{grid-template-columns:1fr;gap:1.2rem}.tm-notebook-hero{display:block!important}.tm-site .tm-hero-avatar{display:none}.tm-decision-strip ul{grid-template-columns:1fr}.tm-site .tm-content :where(.n24-grid,.n24-grid-wrap,.n24-overview-grid,.mm-quick-picks,.mm-offer-grid,.news-grid){grid-template-columns:minmax(0,1fr)}.tm-calc-page{margin-top:1.6rem}.tm-site .tm-content .mm-spec-row{display:block}.tm-calculator{box-shadow:4px 4px 0 #e0e6e9}.tm-guide-content table{display:block;overflow:auto}.tm-site .tm-wrap{width:calc(100% - 32px)}}
@media print{.tm-header,.tm-footer,.tm-voice-note,.tm-calc-nav,.tm-print-help{display:none!important}.tm-calc-page{max-width:none;margin:0}.tm-worksheet dd{padding-bottom:1.1rem}.tm-site{background:white;color:black}.tm-calc-page h1{font-size:24pt}}
/* The n24 wrapper is not a second grid; only its inner grid lays out cards. */
.tm-site .tm-content .n24-grid-wrap{display:block}.tm-site .tm-content .n24-card-header{min-width:0}.tm-site .tm-content .n24-card-title{overflow-wrap:anywhere;min-width:0}
.tm-site{margin:0}.tm-site .tm-header .tm-search label{color:#cad8e7}
.tm-site .tm-content .mm-card-compact{border:1px solid #c8d2d8;border-radius:0;box-shadow:none;background:#fff;padding:1rem}.tm-site .tm-content a.mm-cta{background:#172a46;color:#fff;border:0;border-radius:0;min-height:44px;padding:.75rem 1rem}.tm-site .tm-content .mm-card-compact img{border-color:#c8d2d8;border-radius:0}.tm-site .tm-content .mm-card-compact :where(h2,h3,h4){color:#172a46}
@media(max-width:759px){.tm-site .tm-hero-avatar{display:flex;max-width:none;margin-top:1.2rem}.tm-site .tm-hero-avatar img{width:80px;height:80px}.tm-site .tm-nav summary{display:flex;color:#fff}.tm-site .tm-nav summary:after{border-color:#d8ed68}}
.tm-site .tm-content .mm-article-v1{--mm-ink:#172a46;--mm-muted:#52647a;--mm-accent:#172a46;--mm-accent-strong:#102440;--mm-line:#c8d2d8;--mm-soft:#e8eef2;--mm-bar:#839b20;--mm-bar-track:#e4e9d8;--mm-focus:#446400;--mm-edit-ink:#172a46;--mm-edit-accent:#38526d;--mm-edit-wash:#e8eef2;--mm-edit-border:#c8d2d8}
.tm-site .tm-content .mm-article-v1 .mm-card-compact{border:1px solid #c8d2d8;border-top:3px solid #172a46;border-radius:0;background:#fff;box-shadow:none}.tm-site .tm-content .mm-article-v1 .mm-card-compact .mm-cta{background:#172a46;border-radius:0;color:#fff}
.tm-site .tm-content .tm-table-scroll{max-width:100%;overflow-x:auto;margin:1.5rem 0;overscroll-behavior-x:contain}.tm-site .tm-content .tm-table-scroll table{display:table;min-width:620px;width:100%;max-width:none;table-layout:auto;margin:0}.tm-site .tm-content .tm-table-scroll :where(th,td){overflow-wrap:normal;word-break:normal}.tm-site .tm-content .tm-table-scroll:focus-visible{outline:3px solid #839b20;outline-offset:3px}
@media(max-width:759px){.tm-table-scroll:before{content:"Vieritä taulukkoa sivulle →";display:block;font-size:.8rem;padding:.5rem 0;color:#38526d}}
.tm-economy-note{max-width:780px;margin:1.5rem auto 2rem;padding:1.2rem 1.4rem;background:#edf1df;border-top:4px solid #172a46;color:#172a46}.tm-economy-note h2{font-size:1.65rem;margin:.6rem 0}.tm-economy-note h3{font-size:1rem;margin-top:1.2rem}.tm-economy-note p,.tm-economy-note li{line-height:1.65}.tm-editorial-tools{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;list-style:none;padding:0;border-top:1px solid #b4c0a5;padding-top:1rem}.tm-editorial-scope{font-size:.84rem;color:#42536a}.tm-archive-tools{border-block:1px solid #b9c5cf;padding:.6rem 0 1rem;margin:1.5rem 0}.tm-archive-tools .tm-search{max-width:520px}.tm-result-count{font-family:monospace;font-size:.9rem}.tm-site .tm-archive-rows{display:grid;grid-template-columns:1fr;gap:0}.tm-site .tm-archive-rows .tm-card{padding:1.2rem 0;display:grid;grid-template-columns:160px minmax(0,1fr);gap:1.5rem;align-items:start}.tm-site .tm-archive-rows .tm-card img{max-height:120px;object-fit:cover}.tm-site .tm-archive-rows .tm-card h2{margin:.2rem 0;font-size:1.45rem}.tm-site .tm-archive-rows .tm-card p{margin:.5rem 0}.tm-site .tm-archive-rows .tm-card:not(:has(img)){grid-template-columns:1fr}@media(max-width:600px){.tm-site .tm-archive-rows .tm-card{grid-template-columns:90px minmax(0,1fr);gap:1rem}.tm-site .tm-archive-rows .tm-card h2{font-size:1.1rem}.tm-economy-note{padding:1rem}.tm-economy-note h2{font-size:1.4rem}.tm-editorial-tools{display:block}.tm-editorial-tools li{margin:.5rem 0}}
.tm-site .tm-archive-rows .tm-card-image{grid-column:1;grid-row:1 / span 3}.tm-site .tm-archive-rows .tm-card>:is(time,h2,p){grid-column:2}.tm-site .tm-archive-rows .tm-card:not(:has(img))>:is(time,h2,p){grid-column:1}
