.tools-page{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#080e20;--panel:#111c35;--line:#2d3e5c;--text:#edf3ff;--muted:#b4c3da;--accent:#85c9ff;--green:#8ce4c0;background:var(--bg);color:var(--text);min-height:100vh;font:16px/1.7 system-ui,-apple-system,Segoe UI,sans-serif}.tools-page *{box-sizing:border-box}.tools-page a{color:var(--accent);text-underline-offset:4px}.tools-page button,.tools-page input,.tools-page select{font:inherit}.tools-page button,.tools-page a,.tools-page input,.tools-page select,.tools-page summary{touch-action:manipulation}.tools-page a:focus-visible,.tools-page button:focus-visible,.tools-page input:focus-visible,.tools-page select:focus-visible,.tools-page summary:focus-visible{outline-offset:4px;outline:3px solid #ffd47a}.tools-page .skip{color:#000;z-index:20;background:#fff;padding:8px;position:absolute;top:-100px;left:12px}.tools-page .skip:focus{top:12px}.tools-page .wrap{width:min(1120px,100% - 40px);margin:auto}.tools-page header{border-bottom:1px solid var(--line)}.tools-page .header-row{justify-content:space-between;align-items:center;gap:24px;min-height:84px;display:flex}.tools-page .brand{color:#fff;max-width:220px;font-weight:800;line-height:1.3;text-decoration:none}.tools-page .brand small{letter-spacing:.18em;color:var(--accent);margin-top:5px;font-size:.68rem;display:block}.tools-page nav{flex-wrap:wrap;gap:24px;display:flex}.tools-page nav a{color:var(--muted);font-size:.92rem;text-decoration:none}.tools-page .breadcrumb{color:var(--muted);padding-top:26px;font-size:.86rem}.tools-page .hero{max-width:850px;padding:24px 0 30px}.tools-page .eyebrow{color:var(--green);letter-spacing:.16em;text-transform:uppercase;font-size:.78rem;font-weight:750}.tools-page h1{letter-spacing:-.045em;margin:13px 0 20px;font-size:clamp(2.1rem,5vw,3.5rem);line-height:1.12}.tools-page h2{letter-spacing:-.025em;margin:0 0 16px;font-size:1.5rem;line-height:1.3}.tools-page h3{margin:0 0 10px;font-size:1.05rem}.tools-page .hero p{color:var(--muted);max-width:760px;font-size:1.13rem}.tools-page .chips{flex-wrap:wrap;gap:10px;font-size:.82rem;display:flex}.tools-page .chips span{border:1px solid var(--line);border-radius:999px;padding:5px 12px}.tools-page .calculator{border:1px solid var(--line);border-radius:22px;grid-template-columns:1.05fr 1fr;display:grid;overflow:hidden;box-shadow:0 22px 70px #0003}.tools-page .input-panel,.tools-page .result-panel{padding:30px}.tools-page .input-panel{background:var(--panel)}.tools-page .result-panel{border-left:1px solid var(--line);background:#0c162c;min-width:0}.tools-page .fields{grid-template-columns:1fr 1fr;gap:18px;display:grid}.tools-page .field label,.tools-page .wide-label{margin-bottom:6px;font-size:.89rem;font-weight:650;display:block}.tools-page .field input,.tools-page .select,.tools-page .file-input{width:100%;color:var(--text);background:#080f20;border:1px solid #526380;border-radius:9px;min-height:48px;padding:10px 12px}.tools-page .field small{color:var(--muted);margin-top:4px;font-size:.77rem;display:block}.tools-page .settings{gap:16px;margin-bottom:22px;display:flex}.tools-page .settings>div{flex:1;min-width:0}.tools-page .upload{border:1px dashed #647b9d;border-radius:12px;margin-bottom:22px;padding:16px}.tools-page .upload p{color:var(--muted);margin:0 0 10px;font-size:.85rem}.tools-page .file-input{padding:6px;font-size:.85rem}.tools-page .file-input::file-selector-button{color:#fff;background:#20385b;border:0;border-radius:6px;margin-right:8px;padding:8px}.tools-page .actions{flex-wrap:wrap;gap:12px;margin-top:24px;display:flex}.tools-page button{cursor:pointer;color:#fff;background:#3866ed;border:1px solid #0000;border-radius:9px;min-height:46px;padding:11px 18px;font-weight:700}.tools-page button:hover{background:#4977ff}.tools-page .secondary{color:var(--text);background:0 0;border-color:#526380}.tools-page .secondary:hover{background:#23304b}.tools-page .secondary:disabled{opacity:.5;cursor:default}.tools-page .preset-row{gap:8px;margin-bottom:18px;display:flex}.tools-page .preset-row button{padding:6px 12px;font-size:.83rem}.tools-page .error{color:#ffb9ba;margin:16px 0 0;font-weight:650}.tools-page .status{color:var(--muted);min-height:1.6em;margin:12px 0 0;font-size:.85rem}.tools-page .results{grid-template-columns:1fr 1fr;gap:14px;display:grid}.tools-page .metric{background:#14233e;border:1px solid #2d4160;border-radius:12px;min-width:0;padding:17px}.tools-page .metric:first-child{background:linear-gradient(120deg,#173658,#17234a);grid-column:1/-1}.tools-page .metric .label{color:#c5d7ed;font-size:.8rem;line-height:1.4;display:block}.tools-page .metric strong{letter-spacing:-.035em;overflow-wrap:anywhere;margin-top:9px;font-size:clamp(1.4rem,3vw,2rem);font-weight:700;line-height:1.25;display:block}.tools-page .metric small{color:var(--muted);margin-top:7px;font-size:.8rem;display:block}.tools-page .note{color:var(--muted);border-left:3px solid var(--accent);margin-top:22px;padding-left:16px;font-size:.92rem}.tools-page .diagram{border:1px solid var(--line);background:#080f20;border-radius:12px;justify-content:center;align-items:center;height:190px;margin:24px 0 12px;padding:16px;display:flex}.tools-page .diagram svg{width:100%;height:100%}.tools-page .visual-note{color:var(--muted);font-size:.78rem}.tools-page .content{max-width:830px;margin:56px auto}.tools-page .content section{margin:38px 0}.tools-page .content p{color:#c0cde1;margin:14px 0}.tools-page .content details{border-top:1px solid var(--line);padding:18px 0}.tools-page .content summary{cursor:pointer;font-weight:650;line-height:1.5}.tools-page .content details p{margin-bottom:0}.tools-page .ad-slot{text-align:center;color:#8b9bb5;border:1px dashed #34445f;border-radius:12px;margin:34px 0;padding:20px;font-size:.78rem}.tools-page .ad-slot p{margin:4px}.tools-page .related{border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:24px}.tools-page .related a{margin-right:20px;display:inline-block}.tools-page .sources{font-size:.86rem}.tools-page .sources li{margin:8px 0}.tools-page footer{border-top:1px solid var(--line);color:var(--muted);padding:28px 0 40px;font-size:.85rem}.tools-page footer button.tools-cookie-settings{color:var(--muted);min-height:0;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.tools-page footer button.tools-cookie-settings:hover{color:var(--accent)}.tools-page .footer-row{flex-wrap:wrap;justify-content:space-between;gap:16px;display:flex}.tools-page [hidden]{display:none!important}.tools-page noscript p{background:#492832;border-radius:10px;padding:16px}@media (width<=760px){.tools-page .wrap{width:calc(100% - 28px)}.tools-page .header-row{flex-direction:column;align-items:flex-start;gap:20px;padding:20px 0}.tools-page nav{gap:22px}.tools-page .calculator{grid-template-columns:1fr}.tools-page .result-panel{border-left:0;border-top:1px solid var(--line)}.tools-page .input-panel,.tools-page .result-panel{padding:22px}.tools-page .hero{padding-top:22px}.tools-page .content{margin-top:38px}}@media (width<=390px){.tools-page .fields,.tools-page .results{grid-template-columns:1fr}.tools-page .metric:first-child{grid-column:auto}.tools-page .settings{flex-direction:column}.tools-page .input-panel,.tools-page .result-panel{padding:18px}}@media (prefers-reduced-motion:reduce){.tools-page *{scroll-behavior:auto!important}}@media print{.tools-page header,.tools-page footer,.tools-page .ad-slot,.tools-page .actions,.tools-page .upload{display:none}.tools-page{color:#000;background:#fff}.tools-page .calculator{box-shadow:none;display:block}.tools-page .input-panel,.tools-page .result-panel{color:#000;background:#fff}.tools-page .metric{color:#000;background:#fff!important}.tools-page .metric .label,.tools-page .metric small,.tools-page .note,.tools-page .content p{color:#333}.tools-page .content{max-width:none}}
