/* ==========================================================================
   units - built from the supplied page

   The supplied stylesheet, every selector scoped to .tkw-units so nothing here can
   reach the rest of the site. Its top bar is left out: the page supplies one.
   ========================================================================== */

.tkw-units{--navy:#0b2d5b;--navy-dark:#082648;--teal:#008f91;--teal-dark:#087c7e;--blue:#0a65da;--text:#13294b;--muted:#637a97;--line:#dce7f0;--bg:#f3f8fc;--soft:#ecf6fb;--white:#fff;--shadow:0 14px 38px rgba(22,54,93,.075);--radius:18px}
.tkw-units *{box-sizing:border-box}
.tkw-units{scroll-behavior:smooth}
.tkw-units{margin:0;color:var(--text);background:radial-gradient(ellipse at 86% 9%,#e3f5ff 0%,transparent 37%),#f5f9fc;font:15px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.tkw-units button,.tkw-units input,.tkw-units select{font:inherit}
.tkw-units button{cursor:pointer}
.tkw-units a{color:inherit;text-decoration:none}
.tkw-units svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tkw-units button:focus-visible,.tkw-units input:focus-visible,.tkw-units select:focus-visible,.tkw-units a:focus-visible{outline:3px solid rgba(31,118,223,.35);outline-offset:3px}
.tkw-units .topbar{height:70px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e3edf4;padding:0 max(26px,calc((100vw - 1440px)/2));gap:16px}
.tkw-units .brand-wrap{display:flex;align-items:center;gap:12px}
.tkw-units .menu-btn{height:41px;width:41px;border:1px solid #dfe8f1;background:#fff;color:var(--navy);border-radius:11px;display:grid;place-items:center}
.tkw-units .brand{display:flex;align-items:center;gap:9px;color:var(--navy)}
.tkw-units .brand img{height:39px;width:38px;object-fit:contain}
.tkw-units .brand-title{font-weight:850;font-size:17px;letter-spacing:-.5px;line-height:1.1}
.tkw-units .brand-sub{font-size:11px;font-weight:700;letter-spacing:2.8px;color:var(--teal);margin-top:4px}
.tkw-units .toolkit-label{padding-left:11px;border-left:1px solid #dce7ee;font-size:13px;color:#8293ac;font-weight:550}
.tkw-units .account{display:flex;align-items:center;gap:12px}
.tkw-units .account-avatar{background:#e9f1f6;color:#68809a;width:34px;height:34px;border-radius:50%;display:grid;place-items:center}
.tkw-units .account strong{display:block;color:var(--navy);font-size:12px;line-height:1.3}
.tkw-units .account span{display:block;color:#8194ab;font-size:11px}
.tkw-units .top-icon{color:#6e88a5}
.tkw-units .x-container{max-width:1450px;margin:auto;padding:23px 30px 56px}
.tkw-units .crumbs{color:#7a8fa9;display:flex;gap:10px;align-items:center;font-size:13px;flex-wrap:wrap}
.tkw-units .crumbs .back{color:#0868e3;font-weight:650}
.tkw-units .crumbs b{color:var(--navy)}
.tkw-units .x-hero{position:relative;margin-top:22px;margin-bottom:21px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:98px}
.tkw-units .hero-main{display:flex;align-items:center;gap:15px;min-width:0}
.tkw-units .hero-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:17px;color:var(--blue);background:#e5f2ff}
.tkw-units .hero-icon svg{height:31px;width:31px}
.tkw-units .x-hero h1{font-size:clamp(25px,2.3vw,34px);letter-spacing:-1.2px;margin:0;font-weight:800;color:var(--navy);line-height:1.2}
.tkw-units .x-hero p{margin:8px 0 0;color:#617b99;font-size:15px}
.tkw-units .guide-trigger{border:1px solid #cfe1f2;background:#fff;color:var(--navy);font-weight:750;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;padding:13px 17px;white-space:nowrap;box-shadow:0 6px 18px rgba(11,45,91,.035)}
.tkw-units .guide-trigger:hover,.tkw-units .guide-trigger[aria-expanded=true]{border-color:#75a5d9;background:#f3f9ff}
.tkw-units .privacy{display:inline-flex;align-items:center;gap:8px;border-radius:100px;background:#e6f6f1;color:#006c67;font-weight:650;font-size:12px;padding:8px 12px;margin:0 0 20px}
.tkw-units .privacy svg{width:15px;height:15px}
.tkw-units .working-grid{display:grid;grid-template-columns:minmax(0,1.44fr) minmax(340px,1fr);gap:20px;align-items:stretch}
.tkw-units .panel{background:#fff;border:1px solid #dfebf2;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}
.tkw-units .panel-head{height:62px;display:flex;align-items:center;gap:12px;padding:0 24px;border-bottom:1px solid #eaf0f6}
.tkw-units .step-num{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--navy);color:#fff;font-weight:750;font-size:15px;flex:none}
.tkw-units .panel-head h2{font-size:17px;font-weight:800;color:#074a9d;margin:0;letter-spacing:-.3px}
.tkw-units .panel-body{padding:24px}
.tkw-units .hint{color:#69809e;font-size:13px;margin:0 0 18px}
.tkw-units .field label{font-size:13px;font-weight:750;color:#0d315e;display:block;margin-bottom:8px}
.tkw-units .field select,.tkw-units .field input{width:100%;height:50px;display:block;padding:0 14px;border:1px solid #d7e2ed;border-radius:10px;background:white;color:#102b50;font-size:16px;outline:none;transition:border .2s,box-shadow .2s}
.tkw-units .field select:focus,.tkw-units .field input:focus{border-color:#1c85d4;box-shadow:0 0 0 3px rgba(31,137,222,.12)}
.tkw-units .field select{appearance:none;padding-right:41px;background-image:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%230b2d5b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');background-repeat:no-repeat;background-position:right 12px center}
.tkw-units .field small{display:block;font-size:12px;color:#8aa0b5;margin-top:7px}
.tkw-units .line{border:0;border-top:1px solid #e8f0f6;margin:23px 0}
.tkw-units .section-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.tkw-units .section-heading h3{font-size:17px;color:#074a9d;font-weight:800;margin:0}
.tkw-units .value-row{display:grid;grid-template-columns:1fr 1fr auto 1fr;gap:10px;align-items:end}
.tkw-units .swap-wrap{display:flex;align-items:end;justify-content:center}
.tkw-units .swap-btn{height:50px;width:48px;background:#f2f8fc;border:1px solid #d4e6f1;color:var(--navy);display:grid;place-items:center;border-radius:10px}
.tkw-units .swap-btn:hover{background:#e3f3fc}
.tkw-units .swap-btn svg{height:21px;width:21px}
.tkw-units .muted-action{border:0;padding:7px 2px;background:transparent;color:#4b6586;font-weight:650;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.tkw-units .muted-action:hover{color:#0568c8}
.tkw-units .muted-action svg{height:15px;width:15px}
.tkw-units .form-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}
.tkw-units .live-label{display:flex;align-items:center;gap:7px;font-size:12px;color:#6684a2}
.tkw-units .live-dot{height:7px;width:7px;border-radius:50%;background:#18a480;box-shadow:0 0 0 4px #e6f7f1}
.tkw-units .quick-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:22px}
.tkw-units .quick-presets-label{font-size:12px;color:#72869c;font-weight:650;margin-right:2px}
.tkw-units .preset{border:1px solid #dce7ef;background:#f8fbfe;border-radius:999px;padding:6px 11px;font-size:12px;color:#456382;font-weight:650}
.tkw-units .preset:hover{background:#eaf6fc;border-color:#98cbe2;color:#064e8e}
.tkw-units .input-notice{font-size:12px;color:#8a6474;min-height:18px;margin-top:8px}
.tkw-units .result-panel{display:flex;flex-direction:column}
.tkw-units .result-panel .panel-body{display:flex;flex:1;flex-direction:column;gap:15px}
.tkw-units .result-display{padding:24px 23px 20px;background:linear-gradient(140deg,#e9f6fb 0%,#effafd 100%);border:1px solid #cde9ef;border-radius:14px}
.tkw-units .result-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tkw-units .result-top span{font-size:12px;color:#4f778a;font-weight:650}
.tkw-units .result-pill{display:inline-flex;gap:6px;align-items:center;font-size:11px!important;color:#087d6b!important;font-weight:800!important;background:#d6f6e8;padding:4px 8px;border-radius:999px}
.tkw-units .result-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:#0e9e78}
.tkw-units .result-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;margin-top:13px;line-height:1.25}
.tkw-units .result-number{font-size:clamp(33px,3.4vw,48px);font-weight:850;color:var(--navy);letter-spacing:-1.8px;overflow-wrap:anywhere}
.tkw-units .result-unit{font-size:21px;font-weight:700;color:#355b7d}
.tkw-units .equation{padding-top:14px;margin-top:14px;border-top:1px solid #d0e9ed;font-size:14px;color:#496e86;overflow-wrap:anywhere}
.tkw-units .result-validation{color:#a43c52;font-size:13px;min-height:0;margin-top:8px}
.tkw-units .result-validation:empty{display:none}
.tkw-units .precision-row{display:grid;grid-template-columns:1fr 155px;align-items:center;gap:15px}
.tkw-units .precision-row span{color:#45647f;font-size:13px;font-weight:650}
.tkw-units .precision-row select{width:100%;height:40px;border:1px solid #d8e6f0;border-radius:9px;padding:0 12px;background:#fff;color:var(--navy)}
.tkw-units .small-note{font-size:12px;color:#7b90a7;margin:-6px 0 3px}
.tkw-units .result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tkw-units .action-btn{min-height:45px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cdddeb;border-radius:10px;color:var(--navy);font-weight:750;background:#fff;font-size:13px;padding:10px}
.tkw-units .action-btn:hover{background:#f0f8fd}
.tkw-units .action-btn.primary{color:#fff;border-color:var(--navy);background:var(--navy)}
.tkw-units .action-btn.primary:hover{background:#154475}
.tkw-units .action-btn:disabled{opacity:.5;cursor:not-allowed}
.tkw-units .action-btn svg{width:16px;height:16px}
.tkw-units .result-bottom{margin-top:auto;border-top:1px solid #e6eef5;padding-top:15px;display:flex;align-items:flex-start;gap:9px;color:#7690a6;font-size:12px}
.tkw-units .result-bottom svg{height:16px;width:16px;color:var(--teal)}
.tkw-units .guide-popover{position:absolute;right:0;top:calc(100% - 2px);width:min(380px,calc(100vw - 32px));z-index:30;background:#fff;border:1px solid #d8e5f0;border-radius:16px;box-shadow:0 22px 65px rgba(10,39,75,.20);max-height:min(670px,calc(100vh - 140px));overflow-y:auto}
.tkw-units .guide-popover[hidden]{display:none!important}
.tkw-units .guide-card-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #e6eef6}
.tkw-units .guide-card-head strong{display:flex;align-items:center;gap:8px;color:var(--navy);font-size:17px}
.tkw-units .guide-card-head strong svg{color:#125ee0}
.tkw-units .close-guide{background:transparent;border:1px solid #e4edf3;color:#506985;width:30px;height:30px;border-radius:8px;display:grid;place-items:center}
.tkw-units .close-guide svg{width:16px;height:16px}
.tkw-units .guide-inner{padding:17px;display:flex;flex-direction:column;gap:14px}
.tkw-units .guide-when,.tkw-units .guide-tip,.tkw-units .guide-finish{border-radius:12px;padding:13px 14px}
.tkw-units .guide-when{background:#eaf4ff;border-left:3px solid #2381dc}
.tkw-units .guide-tip{background:#e8f8f2;border:1px solid #d2eee4}
.tkw-units .guide-finish{background:#fff4e5;border:1px solid #f9e1bc}
.tkw-units .guide-inner h3{font-size:13px;display:flex;align-items:center;gap:7px;margin:0 0 6px;font-weight:800;color:#0c4b9d}
.tkw-units .guide-tip h3{color:#08755b}
.tkw-units .guide-finish h3{color:#a95e00}
.tkw-units .guide-inner p{font-size:12.5px;color:#566c84;margin:0;line-height:1.6}
.tkw-units .guide-inner ol{list-style:none;counter-reset:step;padding:0;margin:0;display:grid;gap:9px}
.tkw-units .guide-inner li{counter-increment:step;display:flex;align-items:flex-start;gap:9px;color:#526d87;font-size:12.5px}
.tkw-units .guide-inner li:before{content:counter(step);background:#2093ce;color:#fff;border-radius:50%;font-weight:750;width:20px;height:20px;display:grid;place-items:center;flex:none;font-size:11px}
.tkw-units .guide-steps-title{font-size:13px;font-weight:800;color:var(--navy);margin:0}
.tkw-units .guide-finish ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tkw-units .guide-finish li{display:flex;gap:8px}
.tkw-units .guide-finish li:before{content:'✓';background:none;color:#cf8500;width:auto;height:auto;font-size:14px;font-weight:800}
.tkw-units .scrim{position:fixed;inset:0;z-index:20;background:transparent}
.tkw-units .scrim[hidden]{display:none}
.tkw-units .toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,15px);background:var(--navy);color:#fff;border-radius:11px;padding:12px 18px;font-weight:650;font-size:13px;opacity:0;pointer-events:none;transition:all .2s;box-shadow:0 10px 28px rgba(8,43,82,.22);z-index:90}
.tkw-units .toast.show{opacity:1;transform:translate(-50%,0)}
.tkw-units .footer-note{font-size:11px;color:#8aa1b5;text-align:center;margin-top:29px}
.tkw-units .menu-pop{position:absolute;z-index:40;top:60px;left:28px;background:#fff;box-shadow:0 18px 45px rgba(0,30,70,.16);border-radius:12px;border:1px solid #dfe8ee;padding:8px;min-width:206px}
.tkw-units .menu-pop[hidden]{display:none}
.tkw-units .menu-pop a{display:block;padding:11px;border-radius:8px;color:#315071;font-size:13px}
.tkw-units .menu-pop a:hover{background:#eef6fc}
@media(max-width:1100px){.tkw-units .working-grid{grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr)}
.tkw-units .panel-body{padding:20px}
.tkw-units .value-row{grid-template-columns:1fr auto 1fr}
.tkw-units .value-row .amount-field{grid-column:1/-1}
.tkw-units .swap-wrap{grid-column:2;grid-row:2}}
@media(max-width:850px){.tkw-units .working-grid{grid-template-columns:1fr}
.tkw-units .result-panel .panel-body{gap:15px}
.tkw-units .x-hero{min-height:82px}
.tkw-units .panel-body{padding:22px}
.tkw-units .value-row{grid-template-columns:1fr auto 1fr}
.tkw-units .result-number{font-size:42px}
.tkw-units .x-container{padding:18px 18px 42px}
.tkw-units .topbar{padding:0 18px}}
@media(max-width:520px){.tkw-units .topbar{height:60px;padding:0 13px}
.tkw-units .brand-title{font-size:15px}
.tkw-units .brand img{height:31px;width:30px}
.tkw-units .brand-sub{letter-spacing:1.8px;font-size:9px}
.tkw-units .toolkit-label{display:none}
.tkw-units .menu-btn{height:35px;width:35px}
.tkw-units .account strong,.tkw-units .account span{display:none}
.tkw-units .account-avatar{height:30px;width:30px}
.tkw-units .top-icon{display:none}
.tkw-units .x-container{padding:16px 13px 32px}
.tkw-units .crumbs{font-size:11.5px;gap:7px}
.tkw-units .x-hero{align-items:flex-start;min-height:auto;margin-top:17px;margin-bottom:13px;gap:9px}
.tkw-units .hero-main{gap:10px}
.tkw-units .hero-icon{width:43px;height:43px;border-radius:12px}
.tkw-units .hero-icon svg{width:24px;height:24px}
.tkw-units .x-hero h1{font-size:25px;letter-spacing:-1px}
.tkw-units .x-hero p{font-size:12.5px;line-height:1.45;margin:5px 0 0}
.tkw-units .guide-trigger{padding:10px;min-width:41px;align-self:flex-start}
.tkw-units .guide-trigger span{display:none}
.tkw-units .guide-trigger svg{width:18px;height:18px}
.tkw-units .privacy{margin-bottom:13px;font-size:11px;padding:7px 10px}
.tkw-units .working-grid{gap:13px}
.tkw-units .panel-head{padding:0 15px;height:57px;gap:9px}
.tkw-units .panel-head h2,.tkw-units .section-heading h3{font-size:15px}
.tkw-units .panel-body{padding:17px}
.tkw-units .hint{margin-bottom:15px}
.tkw-units .line{margin:18px 0}
.tkw-units .step-num{width:31px;height:31px;font-size:13px}
.tkw-units .value-row{grid-template-columns:1fr 42px 1fr;gap:7px}
.tkw-units .field select,.tkw-units .field input{height:46px;padding-left:10px;font-size:14px}
.tkw-units .swap-btn{width:40px;height:46px}
.tkw-units .field label{font-size:12px}
.tkw-units .result-display{padding:19px 17px}
.tkw-units .result-number{font-size:35px}
.tkw-units .result-unit{font-size:18px}
.tkw-units .result-actions{grid-template-columns:1fr 1fr;gap:7px}
.tkw-units .action-btn{font-size:12px;padding:8px 6px}
.tkw-units .precision-row{grid-template-columns:1fr 145px}
.tkw-units .guide-popover{position:fixed;top:109px;right:11px;max-height:calc(100dvh - 126px)}
.tkw-units .guide-trigger[aria-expanded=true]{background:#e6f3ff}}
@media(prefers-reduced-motion:reduce){.tkw-units *{scroll-behavior:auto!important;transition:none!important}}
