:root{--ink:#142d39;--muted:#526875;--teal:#0e7778;--teal-dark:#075e62;--light:#f6f9f9;--border:#d9e5e8;--paper:#fff;--accent:#e1f5ed;--shadow:0 12px 40px rgba(17,49,62,.055);color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7fafb;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55;font-size:16px}a{color:inherit;text-decoration:none}a:hover{text-decoration-color:currentColor}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{color:var(--ink)}:focus-visible{outline:3px solid #54b9b3;outline-offset:3px}.wrap{max-width:1180px;margin:auto;padding:0 25px}.site-header{position:relative;z-index:50;background:rgba(255,255,255,.95);border-bottom:1px solid #e1eaee}.topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:24px;display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.9px;white-space:nowrap}.brand-mark{display:grid;place-items:center;border-radius:12px;background:#0d7275;color:white;font-size:30px;font-weight:600;width:38px;height:38px}.brand-accent{color:#178c87}.desktop-nav{display:flex;gap:32px;align-items:center;color:#435864;font-size:14px;font-weight:600}.desktop-nav a:hover,.footer a:hover{color:var(--teal)}.header-cta{background:#dff5f1;color:#086c6b;padding:10px 20px;border-radius:50px;font-size:14px;font-weight:750}.header-cta:hover{background:#c9ebe4}.menu-toggle{display:none;border:1px solid var(--border);background:white;border-radius:11px;padding:9px 13px}.mobile-nav{padding:15px 26px;display:grid;gap:10px;border-top:1px solid var(--border);background:#fff}.mobile-nav[hidden]{display:none}.mobile-nav a{padding:8px;font-weight:650}.hero{position:relative;isolation:isolate;overflow:hidden;padding:112px 0 105px;background:radial-gradient(circle at 15% 32%,#e4f3eb,transparent 44%),radial-gradient(circle at 85% 18%,#e0eff9,transparent 40%),linear-gradient(#f9fdfc,#f7fafb)}.hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.32;background-image:linear-gradient(90deg,#cfdbe2 1px,transparent 1px),linear-gradient(#cfdbe2 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(90deg,transparent,#000 25%,#000 75%,transparent)}.hero-wrap{max-width:890px;text-align:center;position:relative}.eyebrow,.section-eyebrow{color:#087c7d;letter-spacing:2px;font-weight:800;font-size:12px}.hero-eyebrow{background:white;display:inline-block;padding:9px 17px;border:1px solid #d1e8e5;border-radius:60px;letter-spacing:.7px;box-shadow:0 6px 20px #20584b0e}.spark{color:#18a095;font-size:16px}.hero h1{font-size:clamp(54px,8vw,104px);line-height:1.02;letter-spacing:-5px;margin:23px auto 20px;font-weight:850}.hero h1 em{font-style:normal;color:#127b79}.hero p{max-width:660px;font-size:20px;color:#526976;margin:0 auto}.hero-actions{margin-top:32px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:12px;padding:11px 18px;font-weight:750;font-size:14px;display:inline-block;line-height:1.45;text-align:center;transition:transform .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px)}.btn.primary{background:#0d686c;color:white;box-shadow:0 6px 18px #0b77702b}.btn.primary:hover{background:#084e53}.btn.outline,.btn.ghost{background:white;border:1px solid #d6e2e6;color:#304754}.btn.large{padding:15px 22px}.hero-trust{margin-top:40px;display:flex;justify-content:center;gap:28px;color:#426a69;font-size:14px;font-weight:650;flex-wrap:wrap}.orb{position:absolute;width:210px;height:210px;filter:blur(70px);opacity:.25;z-index:-1;pointer-events:none}.orb-one{top:25px;left:-100px;background:#11a18c}.orb-two{bottom:-100px;right:0;background:#5a9bda}.section{padding-top:75px;padding-bottom:85px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.section-head h2,.related h2{font-size:34px;line-height:1.2;letter-spacing:-1.4px;margin:7px 0}.section-head p{margin:2px 0 0;color:var(--muted)}.section-head>a{color:#087e7e;font-weight:750;white-space:nowrap}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tool-card{position:relative;min-height:260px;display:flex;flex-direction:column;background:white;border:1px solid #dce7eb;border-radius:20px;box-shadow:0 5px 16px #13363d0a;padding:25px;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.tool-card:hover{transform:translateY(-3px);border-color:#82beb7;box-shadow:var(--shadow);text-decoration:none}.card-icon{height:49px;width:49px;border-radius:14px;display:grid;place-items:center;font-weight:850;font-size:22px;background:#def3f2;color:#066f73;margin-bottom:20px}.tone-finance{background:#e7f3db;color:#467f3a}.tone-health{background:#fde6e6;color:#af5154}.tone-text{background:#f0e8fb;color:#7956a5}.tone-developer{background:#e3eaf7;color:#416a9a}.tone-creator{background:#fff0dc;color:#b47623}.tone-education{background:#fff2e2;color:#a97329}.tone-design{background:#fee7f2;color:#b44f86}.tone-productivity{background:#e2edf7;color:#3f7d9c}.card-category{position:absolute;right:24px;top:30px;color:#477878;background:#eaf7f4;border-radius:50px;padding:4px 10px;font-size:11px;font-weight:800}.tool-card strong{font-size:19px;letter-spacing:-.35px;margin-bottom:7px;line-height:1.28}.card-description{font-size:14px;line-height:1.56;color:#60727f;flex:1}.card-link{margin-top:18px;font-size:14px;font-weight:750;color:#087c7c}.band{background:#ecf5f4;border-top:1px solid #e1ecea;border-bottom:1px solid #e1ecea;padding:70px 0}.band-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px}.band h2{font-size:38px;line-height:1.17;letter-spacing:-1.3px;margin:13px 0}.feature-grid{display:grid;gap:17px}.feature-grid strong{font-size:16px}.feature-grid p{color:var(--muted);margin:3px 0}.listing-page{padding-top:58px;padding-bottom:105px}.listing-page h1,.inner-page h1{font-size:clamp(40px,6vw,66px);margin:10px 0 5px;letter-spacing:-2.5px}.lead{font-size:18px;color:var(--muted);margin:12px 0 25px;max-width:760px}.searchbar{display:flex;align-items:center;border:1px solid #cddfe3;background:#fff;border-radius:15px;padding:0 20px;margin:30px 0 20px;max-width:650px}.searchbar span{font-size:29px;color:var(--teal);margin-right:12px}.searchbar input{height:54px;border:0;outline:0;flex:1;width:100%;background:transparent}.filters{display:flex;gap:8px;overflow:auto;white-space:nowrap;padding-bottom:8px}.filter{background:white;border:1px solid #d9e5e9;border-radius:50px;padding:8px 14px;color:#465d68;font-size:13px;font-weight:650}.filter.active,.filter:hover{background:#0a686d;color:#fff;border-color:#0a686d}.count{color:var(--muted);font-size:14px;margin:19px 0}.empty-search{padding:30px;color:var(--muted)}.tool-page{padding-top:28px;padding-bottom:86px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#6d7e87;font-size:13px}.breadcrumbs a:hover{color:#087c7c}.tool-heading{text-align:center;margin:44px auto 35px;max-width:800px}.tool-badge{background:#e0f4f0;color:#0a7a76;border-radius:50px;padding:7px 14px;font-size:12px;font-weight:800}.tool-heading h1{font-size:clamp(34px,5vw,56px);letter-spacing:-2px;line-height:1.15;margin:17px 0 13px}.tool-heading p{font-size:17px;color:var(--muted);max-width:720px;margin:auto}.tool-shell{display:grid;grid-template-columns:1.25fr .88fr;gap:20px;max-width:1030px;margin:0 auto}.tool-form,.result-panel,.full-tool{background:white;border:1px solid #dbe5e9;border-radius:20px;padding:27px;box-shadow:var(--shadow)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid>label{display:block}.form-grid>select{margin-top:7px}.field{min-width:0}.field label,label{font-weight:750;font-size:13px;display:block;margin-bottom:7px}.field input,select,textarea{border:1px solid #cbdde3;background:#fff;border-radius:10px;padding:12px 13px;width:100%;min-height:47px;outline:0}.field input:focus,select:focus,textarea:focus{border-color:#108b85;box-shadow:0 0 0 3px #12938a18}.form-grid>select{margin-top:0}.form-grid>label{margin-bottom:-13px}.form-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:21px}.form-actions .btn{min-width:110px}.result-panel{min-height:240px}.result-content{overflow-wrap:anywhere}.empty-result{margin:23px 0;border:1px dashed #cadee3;border-radius:14px;min-height:125px;display:grid;align-content:center;text-align:center;color:#728792;padding:15px}.empty-result span{font-size:30px;color:#3c9892}.empty-result p{font-size:13px;margin:6px 0}.result-number{font-size:33px;letter-spacing:-1px;font-weight:800;color:#095f64;line-height:1.3}.result-sub{color:#587482;font-size:13px;margin:0 0 14px}.stat-list{display:grid;gap:8px;margin:15px 0}.stat-row{display:flex;justify-content:space-between;gap:15px;font-size:14px;border-bottom:1px solid #eef3f4;padding-bottom:6px}.stat-row span:first-child{color:#566d77}.stat-row strong{font-variant-numeric:tabular-nums;text-align:right}.message-error{color:#a32929;background:#fdf1f1;padding:12px;border-radius:11px;font-size:14px}.mini-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:18px}.mini-table th,.mini-table td{padding:7px;border-bottom:1px solid #edf0f1;text-align:right}.mini-table th:first-child,.mini-table td:first-child{text-align:left}.full-tool{grid-column:1/-1}.full-tool textarea{resize:vertical;margin:5px 0 15px;line-height:1.5;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.full-tool .result-content{margin-top:18px}.full-tool .btn{margin-bottom:13px}.two-texts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.span-all{grid-column:1/-1}.diff-out{margin-top:16px}.diff-line{font-family:ui-monospace,monospace;padding:5px 10px;border-left:3px solid #ccdce3;white-space:pre-wrap;font-size:13px}.diff-add{background:#e7f7e9;border-color:#4baf74}.diff-del{background:#fff0ef;border-color:#c7776d}.diff-same{background:#f7f9fa}.chart-bars{display:flex;gap:3px;align-items:end;height:115px;margin:20px 0 8px}.chart-bars>div{background:#15a19a;min-height:2px;flex:1;border-radius:4px 4px 0 0}.color-preview{padding:25px;border:1px solid #dce5e6;border-radius:14px;margin-top:12px;font-size:22px;font-weight:750;text-align:center}.explainer{max-width:1030px;margin:45px auto}.article{background:white;border:1px solid #dce7ea;border-radius:20px;padding:31px}.article h2{font-size:28px;letter-spacing:-.7px;margin:9px 0 12px}.article h3{font-size:19px;letter-spacing:-.35px;margin:24px 0 8px}.article p{color:#536a76;line-height:1.7;margin:7px 0}.accuracy{background:#f1f7f5;border-left:4px solid #219f93;border-radius:9px;padding:17px 20px;margin-top:25px}.accuracy strong{color:#17685e}.accuracy p{margin:6px 0;font-size:14px}.related{margin:60px 0 10px}.related-grid .tool-card{min-height:255px}.inner-page{padding-top:65px;padding-bottom:105px}.info-page{background:white;border:1px solid #dbe5ea;border-radius:20px;padding:34px;max-width:850px}.info-page h2{margin:20px 0 8px;font-size:23px}.info-page h2:first-child{margin-top:0}.info-page p{margin:9px 0 22px;line-height:1.8;color:#526a75}.footer{background:#fff;border-top:1px solid #e1e9eb;padding:52px 0 24px}.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:38px}.foot-grid .small{font-size:21px}.foot-grid p{max-width:310px;font-size:14px;color:#637781}.foot-grid>div:not(:first-child){display:flex;flex-direction:column;gap:12px;font-size:14px}.foot-grid strong{font-size:13px;margin-bottom:4px}.foot-grid a:not(.brand){color:#5a707c}.foot-bottom{border-top:1px solid #edf1f2;margin-top:33px;padding-top:20px;font-size:12px;color:#71858c}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.subtle{color:var(--muted);font-size:13px}.tool-card[hidden]{display:none!important}@media(max-width:900px){.desktop-nav{gap:15px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-shell{grid-template-columns:1fr}.band-grid{grid-template-columns:1fr;gap:22px}.hero h1{letter-spacing:-3px}}@media(max-width:630px){.wrap{padding-left:17px;padding-right:17px}.topbar{min-height:68px}.desktop-nav,.header-cta{display:none}.menu-toggle{display:block}.brand{font-size:22px}.hero{padding:69px 0 65px}.hero h1{font-size:56px;letter-spacing:-3px}.hero p{font-size:17px}.hero-trust{gap:12px;font-size:12px}.tool-grid{grid-template-columns:1fr}.tool-card{min-height:220px}.section{padding-top:47px;padding-bottom:50px}.section-head{align-items:start;gap:7px}.section-head h2{font-size:29px}.section-head>a{font-size:12px}.listing-page{padding-top:42px}.listing-page h1{font-size:43px}.tool-heading{margin:34px auto 25px}.tool-heading h1{font-size:37px}.tool-heading p{font-size:15px}.tool-form,.result-panel,.full-tool{padding:19px}.form-grid{grid-template-columns:1fr;gap:12px}.two-texts{grid-template-columns:1fr}.span-all{grid-column:1}.article{padding:22px}.related{margin-top:44px}.foot-grid{grid-template-columns:1fr 1fr;gap:25px}.foot-grid>div:first-child{grid-column:1/-1}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.stat-row{font-size:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

.currency-field{max-width:100%}.currency-note{grid-column:1/-1;font-size:12px;color:#526875;margin:0 0 12px}.currency-field select{width:100%}

.v3-shell .tool-form .span-all{grid-column:1/-1}.v3-shell .tool-form textarea{min-height:190px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.v3-shell .tool-form{min-width:0}.v3-shell .tool-form .form-grid>div[hidden]{display:none!important}.v3-shell .tool-form .form-grid{align-items:start}.v3-shell .tool-form #m-output{background:#f4faf9}.v3-shell .tool-form button{margin:0}.v3-shell .tool-form .form-actions{margin-top:14px}.v3-shell .tool-form .field{margin-bottom:8px}.v3-shell .tool-form .field input[type=file]{max-width:100%}.v3-shell .tool-form .scroll-table{overflow:auto;max-width:100%;}.v3-shell .tool-form #csv-preview{max-height:400px;overflow:auto}.v3-shell .tool-form #csv-preview td{max-width:220px;overflow-wrap:anywhere;text-align:left}.v3-shell .result-panel{min-width:0}.v3-shell .tool-form.span-all{grid-column:1/-1}.v3-shell .tool-form .form-grid>p.span-all{margin:0}.v3-shell .tool-form .form-grid>div.span-all{grid-column:1/-1}.v3-shell .result-content .stat-row{flex-wrap:wrap}.inner-page .tool-grid{margin-top:25px}.desktop-nav{gap:18px}@media(max-width:1000px){.desktop-nav{gap:12px;font-size:13px}}@media(max-width:630px){.v3-shell .tool-form .form-grid>div.span-all{grid-column:1}.v3-shell .result-number{font-size:26px}.v3-shell .tool-form .stat-row{font-size:12px}}

/* ResultHatch V5: polished specialist editors, accessible results and OS-driven dark mode. */
:focus-visible{outline:3px solid #079a9d;outline-offset:3px}
.input-hint{color:var(--muted);font-size:12px;line-height:1.6;margin:8px 0 0}
.result-toolbar{border-top:1px solid var(--border);margin-top:22px;padding-top:15px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.result-toolbar .btn:disabled{opacity:.48;cursor:not-allowed}
.action-status{font-size:12px;color:var(--teal-dark);font-weight:650}
.btn-small{padding:9px 13px;min-width:unset;font-size:12px}
.m-editor-shell{display:block;max-width:1200px}
.m-editor-shell .tool-form{padding:23px}
.m-editor-shell .m-editor-panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px}
.m-editor-shell .m-editor-column{min-width:0}
.m-editor-shell .m-editor-column .field{height:100%}
.m-editor-shell .m-editor-column textarea{min-height:380px;height:clamp(380px,47vh,660px);width:100%;tab-size:2;line-height:1.65;font-size:13px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre;overflow:auto}
.m-editor-shell .m-editor-column #m-output{background:#f3f8f8}
.m-editor-shell .field label{font-size:14px}
.m-feedback{font-size:13px;color:var(--teal-dark);margin:14px 0 0;min-height:20px}
.m-editor-shell .form-actions{align-items:center}
.m-editor-shell .form-actions #do-format{background:var(--teal);color:white;border-color:var(--teal)}
.recently-used[hidden]{display:none!important}
.recently-used .section-head{margin-bottom:24px}
.recently-used .tool-card{min-height:185px}
@media(max-width:900px){.m-editor-shell .m-editor-panes{grid-template-columns:1fr}.m-editor-shell .m-editor-column textarea{min-height:250px;height:280px}}
@media(max-width:630px){.m-editor-shell .tool-form{padding:15px}.m-editor-shell .m-editor-panes{gap:12px}.m-editor-shell .m-editor-column textarea{height:230px;min-height:220px}.result-toolbar .btn{flex:1;min-width:125px}.recently-used .section-head{flex-wrap:wrap}}
@media(prefers-color-scheme:dark){
:root{color-scheme:dark;--ink:#e4f0f1;--muted:#b6c9d0;--teal:#4ac5bc;--teal-dark:#94ded6;--light:#0e1d25;--paper:#152a34;--border:#35515d;--accent:#183f3d;--shadow:0 10px 36px rgba(0,0,0,.22)}
body{background:#0f1d26;color:var(--ink)}
.site-header,.footer,.tool-form,.full-tool,.result-panel,.article,.info-page,.tool-card,.searchbar,.filter,.card,.m-editor-shell .tool-form{background:#182b35;color:#e4f0f1;border-color:#33505b}
.band{background:#152831;border-color:#35505b}
.hero{background:#10232d}
.hero p,.tool-heading p,.lead,.section-head p,.card-description,.article p,.info-page p,.subtle,.result-sub,.card-category,.stat-row span:first-child,.footer p,.foot-grid a:not(.brand){color:#b6c9d0}
.field input,.field textarea,input:not([type=checkbox]):not([type=radio]),select,textarea,.m-editor-shell .m-editor-column #m-output,.searchbar input{background:#0f222c!important;color:#f0f8f8!important;border-color:#44616c!important}
.field input::placeholder,textarea::placeholder,.searchbar input::placeholder{color:#9badb5}
.tone-math,.tone-image,.tone-finance,.tone-health,.tone-text,.tone-developer,.tone-creator,.tone-education,.tone-design,.tone-productivity,.tool-badge,.card-category{background:#243e48;color:#a4ebe1}
.filter,.btn.ghost,.btn.outline{background:#20353f;color:#e0f2f2;border-color:#466772}
.filter.active,.btn.primary,.m-editor-shell .form-actions #do-format{background:#0b8c8d;color:#fff}
.result-number,.card-link,.action-status{color:#8ce2d6}.stat-row,.result-toolbar,.footer{border-color:#35515d}
.message-error{color:#ffc7c7;background:#4a2429}
.mini-table th,.mini-table td{border-color:#344b56}.diff-same{background:#1f343d}.diff-add{background:#193c32}.diff-del{background:#472b32}
.orb{opacity:.16}.hero .eyebrow{color:#94ddd3}.section-eyebrow{color:#8cded4}
}
@media(prefers-color-scheme:dark){
.desktop-nav a,.mobile-nav a,.breadcrumbs,.breadcrumbs a,.section-head>a,.related .section-head a{color:#cfe5e6}
.desktop-nav a:hover,.mobile-nav a:hover,.breadcrumbs a:hover,.section-head>a:hover{color:#8ce2d6}
.mobile-nav{background:#182b35;border-color:#35515d}
.hero-actions .btn.outline{color:#d7eded}
.footer .brand,.footer .brand *{color:#e8f3f2}
}
/* Seven hub links need a tablet breakpoint, not only a phone breakpoint. */
@media(max-width:900px){.desktop-nav,.header-cta{display:none}.menu-toggle{display:block}}

/* ResultHatch V5.1: XIRR auxiliary actions belong to the form, not the results grid. */
.xirr-secondary-actions{align-self:start;margin-top:10px!important}.xirr-secondary-actions .btn{flex:0 1 auto;max-width:100%;height:auto;min-height:44px;align-self:start}
@media(max-width:630px){.xirr-secondary-actions{flex-direction:column}.xirr-secondary-actions .btn{width:100%;flex:none}}
