/* Task-first layout, retaining CALC LAB's established palette and typography. */
.hero-inner{display:block;padding:32px 0 24px}.hero h1,.ko-directory-intro h1{font-size:clamp(30px,3.4vw,44px);line-height:1.15;letter-spacing:-1.6px;margin:12px 0}.hero .lead,.ko-directory-intro p{max-width:760px;font-size:16px;line-height:1.6;margin:0 0 18px}.hero .search-box,.ko-directory-intro .search-box{width:100%;max-width:800px;margin-top:16px}.hero .proof,.ko-directory-intro .proof{margin:12px 0 0;font-size:12px}.hero .suggest{margin-top:10px}.ko-directory-intro{padding:32px 0 24px}.home-topics{margin-top:22px}.home-topics h2{font-size:13px;margin:0 0 10px;color:var(--muted)}.home-topics .filter-bar{margin:0;gap:8px}.home-topics .filter-chip{min-height:44px;font-size:13px;padding:10px 14px}.home-preview{margin-top:16px;max-width:800px}.home-preview summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--brand);padding:8px 0}.home-preview summary span{font-size:11px;font-weight:400;margin-left:10px;color:var(--muted)}.home-preview .preview{max-width:600px;margin:12px 0 0;box-shadow:none}.home-preview .preview:after{display:none}.catalog,.ko-directory-catalog{padding:24px 0 48px}.section-header{margin-bottom:16px}.section-header h2{font-size:25px}.section-header .section-kicker{display:none}.new-tool-shortcuts{margin-top:16px;padding:10px 16px;gap:10px}.new-tool-shortcuts a{padding:8px 12px;min-height:40px}.more-discovery{margin-top:28px}.tool-card p{font-size:14px;color:#53696d}.tool-card{min-height:150px}.trust-inner{padding:16px 0}.task-page .calc-hero{padding:20px 0 18px}.task-page .calc-hero h1{font-size:clamp(27px,3vw,37px);margin:8px 0 10px;line-height:1.2}.task-page .calc-hero .breadcrumb{margin-bottom:8px}.task-page .calc-hero .section-kicker{display:none}.task-page .calc-hero p{line-height:1.65;font-size:14px}.task-page .calc-shell{padding-top:20px}.task-layout{grid-template-columns:1fr!important;gap:20px}.task-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;padding:24px}.task-input,.task-output{min-width:0}.task-workspace> :not(.task-input):not(.task-output){grid-column:1/-1}.task-input .workhead{padding-bottom:12px;margin-bottom:16px}.task-input .currency-choice{padding:12px;margin:0 0 16px}.task-input .currency-choice p{font-size:12px;line-height:1.5;margin-bottom:0}.task-input .v14-fields{gap:14px}.task-output .v14-result{margin-top:0;min-height:180px}.task-output .v14-result .big{font-size:clamp(28px,3vw,40px)}.task-output .calc-app-bar{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line);gap:8px}.task-output .calc-app-bar a,.task-output .calc-app-bar button{padding:9px 10px;min-height:40px;font-size:12px}.task-output .result-actions .action-note{width:100%;order:5}.task-layout>.side-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.other-topics{margin:18px 0}.other-topics summary{cursor:pointer;padding:12px 0;font-weight:650;color:var(--brand);font-size:14px}.other-topics .ko-categories{margin-top:12px}.task-page .input-help{font-size:12px;line-height:1.6}.task-page .calc-intro[hidden]{display:none}.task-page .workhead span{font-size:10px}.task-page .workspace>h2{margin-top:0}.task-page .workspace>.calc-app-bar{margin-top:18px;margin-bottom:0}.task-page .workspace input,.task-page .workspace select{min-height:44px}.task-page .workspace .small-btn{min-height:40px}
@media(max-width:780px){.task-workspace{grid-template-columns:1fr;gap:18px;padding:18px}.task-layout>.side-stack{grid-template-columns:1fr}.task-page .calc-hero{padding:16px 0}.task-page .calc-shell{padding-top:16px}.task-page .calc-hero h1{font-size:28px}.task-output .v14-result{min-height:0}.task-input .v14-fields{gap:12px}.home-topics .filter-chip{font-size:12px;padding:9px 12px}.home-preview .preview{display:block}.hero-inner{padding:24px 0 18px}.ko-directory-intro{padding:24px 0 18px}.hero h1,.ko-directory-intro h1{font-size:32px;letter-spacing:-1.2px}.hero .lead,.ko-directory-intro p{font-size:14px}.home-topics{margin-top:18px}.home-topics h2{font-size:12px}.new-tool-shortcuts strong{width:auto}.new-tool-shortcuts a{flex:0 1 auto;font-size:12px}.new-tool-shortcuts{align-items:center}.catalog,.ko-directory-catalog{padding-top:20px}.task-page .logo-copy small{display:none}.task-page .top-nav{font-size:11px}.task-page .site-logo{gap:7px}.task-page .header-inner{gap:8px}.task-page .language-link{padding:7px}.task-page .calc-app-bar{gap:6px}}
@media(max-width:380px){.task-page .logo-copy{font-size:15px}.task-page .logo-symbol{width:30px;height:30px}.task-page .top-nav{gap:6px!important}}

@media(max-width:780px){.site-header .logo-copy small{display:none}.site-header .header-inner{gap:8px}.site-header .top-nav{gap:8px!important;font-size:11px}.site-header .language-link{padding:7px}.site-header .site-logo{gap:7px}}

/* Discovery and decisions: 2026-11-14. */
.catalog-guidance{font-size:13px;color:#4b6665;margin:0 0 14px;line-height:1.6}
.catalog-guidance[hidden]{display:none}
.tool-grid .tool-card{min-height:160px;padding:20px;box-shadow:none;display:flex;flex-direction:column;gap:8px}
.tool-grid .tool-card-top{margin-bottom:0}.tool-grid .tool-card h3{font-size:18px;line-height:1.3;margin:0;letter-spacing:-.25px}
.tool-grid .tool-card p{font-size:13px;line-height:1.55;margin:0;max-width:45ch}
.tool-grid .tool-card .tool-tag{margin-top:auto;padding-top:6px}.tool-grid .tool-icon{width:30px;height:30px;font-size:16px}
.tool-grid .tool-card:hover{border-color:#176e61;box-shadow:0 4px 14px #143f3510;transform:translateY(-2px)}
.tool-grid .tool-card[hidden]{display:none}
.tool-card:focus-visible,.save-actions summary:focus-visible,.v14-result a:focus-visible{outline:3px solid #df9a2c;outline-offset:4px}
.save-actions{margin-top:12px;border:1px solid #d4e1dc;border-radius:10px;background:#f8fbfa;min-width:0}
.save-actions summary{cursor:pointer;padding:13px 14px;min-height:44px;font-weight:650;font-size:13px;color:#265d52;line-height:1.5}
.save-actions-content{padding:0 14px 14px;display:flex;flex-wrap:wrap;gap:8px}.save-actions-content>.small-btn{margin-top:4px}
.task-output .save-actions .calc-app-bar,.save-actions .calc-app-bar{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;width:100%}
.save-actions #calc-app-feedback:empty{display:none}.save-actions #calc-app-feedback{width:100%;margin:4px 0 0}
.task-output .result-actions{gap:8px;margin-top:14px}.task-page .result-actions .small-btn{background:transparent;border-color:#bdceca}
.task-page .result-actions .action-note{font-size:12px;color:#526b66}
.v14-result .loan-jump,.v14-result .be-jump{display:inline-flex;align-items:center;min-height:44px;padding:11px 15px;background:#d7f6e8;color:#124d40;border-radius:8px;text-decoration:none;font-weight:700;font-size:14px;line-height:1.5}
.v14-result .loan-jump:hover,.v14-result .be-jump:hover{background:#bcebd7}
#loan-comparison,#be-comparison{scroll-margin-top:96px}
.decision-chart{margin:16px 0;padding:18px;border:1px solid #cdded8;border-radius:12px;background:#f8fbfa;color:#173e38;min-width:0}
.decision-chart figcaption{font-size:16px;line-height:1.45;font-weight:750;margin-bottom:12px}
.chart-key{display:flex;gap:18px;font-size:12px;flex-wrap:wrap;margin-bottom:14px}.chart-key span{display:flex;gap:6px;align-items:center}.chart-key i{width:11px;height:11px;display:inline-block;border-radius:3px}.key-principal,.stack-principal{background:#176e61}.key-interest,.stack-interest{background:#d49732}
.chart-row+.chart-row{margin-top:16px}.chart-row-label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;line-height:1.5;margin-bottom:6px;flex-wrap:wrap}.chart-row-label strong{font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.stack-track{display:flex;height:20px;border-radius:5px;overflow:hidden;background:#e4ede9}.stack-track span{height:100%;display:block}
.chart-detail,.chart-footnote{font-size:12px!important;line-height:1.6;color:#4c655e!important;margin:7px 0 0!important;overflow-wrap:anywhere}
.signed-axis{display:flex;justify-content:space-between;font-size:12px;color:#526b66;margin-bottom:12px}.signed-track{height:24px;position:relative;background:linear-gradient(to right,#f8e9e4 50%,#e5f1eb 50%);border-radius:4px}.signed-zero{position:absolute;left:50%;height:100%;width:1px;background:#455c55;z-index:2}.signed-bar{position:absolute;top:4px;height:16px}.signed-bar.positive{background:#176e61;border-radius:0 3px 3px 0}.signed-bar.negative{background:#b3462e;border-radius:3px 0 0 3px}.zero-dot{position:absolute;left:calc(50% - 3px);top:9px;width:6px;height:6px;border-radius:50%;background:#455c55;z-index:3}
.profit-chart{margin:0 0 18px}.loan-cost-chart{margin-bottom:12px}
@media(max-width:780px){.tool-grid .tool-card{min-height:145px;padding:16px}.tool-grid .tool-card h3{font-size:17px}.decision-chart{padding:14px}.decision-chart figcaption{font-size:15px}.save-actions-content{padding:0 12px 12px}.v14-result .loan-jump,.v14-result .be-jump{width:100%;justify-content:center}.hero-inner{padding-top:20px}.catalog-guidance{font-size:12px}}
@media(prefers-reduced-motion:reduce){.tool-grid .tool-card{transition:none}.tool-grid .tool-card:hover{transform:none}}
.task-page .v14-result .loan-jump,.task-page .v14-result .be-jump{color:#124d40;text-decoration:none}
.tool-grid .tool-card-top,.tool-grid .tool-card>.tool-icon{display:none}

/* Keep essential navigation available on narrow screens without pushing the form down. */
.mobile-menu{display:none}
@media(max-width:560px){
 .site-header .mobile-menu{display:block;position:relative;margin-left:4px}
 .mobile-menu summary{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:58px;padding:8px 12px;border:1px solid #bdceca;border-radius:8px;font-size:14px;font-weight:650;cursor:pointer;list-style:none;background:#fff;color:#173e38}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .mobile-menu[open] summary{background:#e5f1eb}
 .mobile-menu nav{position:absolute;right:0;top:calc(100% + 8px);width:min(280px,calc(100vw - 34px));padding:8px;border:1px solid #cdded8;border-radius:10px;background:#fff;box-shadow:0 8px 24px #173e3826;z-index:40}
 .mobile-menu nav a{display:block;padding:10px 12px;min-height:44px;font-size:15px;line-height:1.5;color:#173e38}
 .mobile-menu nav a:hover,.mobile-menu nav a:focus-visible{background:#e5f1eb;border-radius:6px}
 .site-header .top-nav{margin-left:auto}
 .workspace input,.workspace select,.workspace textarea{font-size:16px}
}
