/* Carrier Hub free document tools (Nov 29 2026). Scoped to .tl-page; the site header and footer keep their own styles. */
.tl-page{--tl-ink:#142238;--tl-muted:#5a6b80;--tl-line:#dde5ef;--tl-soft:#f4f7fb;--tl-blue:#2563eb;--tl-blue-dark:#1d4ed8;--tl-navy:#0f1f33;--tl-green:#15803d;background:#f8fafc;color:var(--tl-ink)}
.tl-page *,.tl-page *::before,.tl-page *::after{box-sizing:border-box}
.tl-hero{padding:34px 0 22px;background:linear-gradient(180deg,#eef4fc 0%,#f8fafc 100%);border-bottom:1px solid #e6edf6}
.tl-hero .breadcrumb{font-size:13px;margin-bottom:14px;color:var(--tl-muted)}.tl-hero .breadcrumb a{color:var(--tl-blue);text-decoration:none}.tl-hero .breadcrumb span{margin:0 6px}
.tl-hero h1{font-size:clamp(28px,3.4vw,42px);line-height:1.12;margin:0 0 10px;letter-spacing:-.02em}
.tl-hero p.tl-lead{font-size:17px;line-height:1.55;color:var(--tl-muted);max-width:760px;margin:0}
.tl-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding:0;list-style:none}
.tl-badges li{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#fff;border:1px solid #d6e2f1;font-size:13px;font-weight:600;color:#1f3b5c}
.tl-badges li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--tl-green)}
/* Buttons */
.tl-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 16px;border-radius:10px;border:1px solid #c9d6e6;background:#fff;color:#16345a;font:inherit;font-size:14.5px;font-weight:700;text-decoration:none;cursor:pointer;line-height:1.2;transition:background .12s,border-color .12s}
.tl-btn:hover{border-color:var(--tl-blue);color:var(--tl-blue-dark)}
.tl-btn:focus-visible,.tl-chip:focus-visible,.tl-x:focus-visible,.tl-link:focus-visible,.tl-tab:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.tl-btn-primary{background:var(--tl-blue);border-color:var(--tl-blue);color:#fff}.tl-btn-primary:hover{background:var(--tl-blue-dark);border-color:var(--tl-blue-dark);color:#fff}
.tl-btn-ghost{background:transparent}.tl-btn-big{min-height:50px;font-size:16px;padding:12px 22px;width:100%}
.tl-btn[disabled]{opacity:.65;cursor:wait}
.tl-link{border:0;background:none;color:var(--tl-blue);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;padding:0;text-decoration:underline}
/* Layout */
.tl-tool{padding:26px 0 40px}
.tl-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:28px;align-items:start}
.tl-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}
.tl-toolbar p{margin:0;font-size:13.5px;color:var(--tl-muted)}
.tl-toolbar div{display:flex;gap:8px;flex-wrap:wrap}
/* Form */
.tl-sec{margin:0 0 14px;padding:18px 18px 16px;border:1px solid var(--tl-line);border-radius:14px;background:#fff;min-width:0}
.tl-sec legend{display:flex;align-items:center;gap:10px;float:left;width:100%;padding:0;margin:0 0 12px;font-size:16px;font-weight:800;color:var(--tl-ink)}
.tl-sec legend+*{clear:both}
.tl-step{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#e8f0fe;color:var(--tl-blue-dark);font-size:13px;font-weight:800}
.tl-hint{margin:-4px 0 12px;font-size:13px;color:var(--tl-muted);clear:both}
.tl-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;clear:both}
.tl-field{grid-column:1/-1;min-width:0}.tl-field.is-half{grid-column:auto}
.tl-label,.tl-cell label{display:block;font-size:12.5px;font-weight:700;color:#33465e;margin-bottom:5px}.tl-label b{color:#c2410c}
.tl-page input[type=text],.tl-page input[type=email],.tl-page input[type=number],.tl-page input[type=date],.tl-page select,.tl-page textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #c9d6e6;border-radius:9px;background:#fff;color:var(--tl-ink);font:inherit;font-size:15px;line-height:1.35}
.tl-page textarea{min-height:68px;resize:vertical}
.tl-page input:focus,.tl-page select:focus,.tl-page textarea:focus{outline:none;border-color:var(--tl-blue);box-shadow:0 0 0 3px #dbeafe}
.tl-field.is-check{display:flex;gap:9px;align-items:flex-start;font-size:14px;color:#33465e;cursor:pointer}.tl-field.is-check input{width:18px;height:18px;margin-top:2px;flex:none}
.tl-sfx{display:flex;align-items:center;gap:8px}.tl-sfx span{flex:none;font-size:13px;color:var(--tl-muted);white-space:nowrap}
.tl-logo{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tl-logo img{max-height:46px;max-width:150px;border:1px solid var(--tl-line);border-radius:6px;padding:3px;background:#fff}.tl-logo small{color:var(--tl-muted);font-size:12.5px}
.tl-file{min-height:38px;padding:7px 14px;font-size:13.5px}
.tl-rows{display:grid;gap:10px;clear:both}
.tl-row{display:grid;grid-template-columns:var(--cols);gap:8px;align-items:end;padding:10px;border:1px solid #e3eaf3;border-radius:10px;background:var(--tl-soft)}
.tl-row.is-card{display:block;padding:10px 12px 12px}.tl-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.tl-row-head strong{font-size:13px;color:#33465e}.tl-row-head .tl-x{height:30px;width:30px}
.tl-row-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tl-cell{min-width:0}.tl-cell label{font-size:11.5px;margin-bottom:3px}
.tl-row input,.tl-row select{min-height:38px!important;font-size:14px!important;padding:7px 8px!important}
.tl-x{width:32px;height:38px;border:1px solid #d6e0ec;border-radius:8px;background:#fff;color:#7a8aa0;font-size:20px;line-height:1;cursor:pointer}.tl-x:hover{color:#b91c1c;border-color:#fca5a5}
.tl-empty{margin:0;padding:12px;border:1px dashed #cdd9e7;border-radius:10px;color:var(--tl-muted);font-size:13.5px;text-align:center}
.tl-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.tl-quick{display:flex;flex-wrap:wrap;gap:6px}
.tl-chip{border:1px solid #d6e2f1;background:#fff;color:#1f3b5c;border-radius:999px;padding:5px 10px;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.tl-chip:hover{border-color:var(--tl-blue);color:var(--tl-blue-dark)}
/* Preview column */
.tl-preview-wrap{position:sticky;top:90px}
.tl-download{display:grid;grid-template-columns:1fr auto;gap:10px 14px;align-items:center;padding:14px 16px;margin-bottom:12px;border-radius:14px;background:var(--tl-navy);color:#fff}
.tl-download small{display:block;font-size:12px;color:#a9bcd6;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.tl-download strong{font-size:24px;letter-spacing:-.01em}
.tl-download .tl-btn{grid-column:1/-1}
.tl-msg{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:14px;font-weight:600}
.tl-preview{border:1px solid var(--tl-line);border-radius:14px;background:#e9eef5;padding:14px;max-height:calc(100vh - 230px);overflow:auto}
.tl-preview-toggle{display:none}
/* The paper (same layout as the PDF) */
.tp-paper{background:#fff;color:#142238;padding:26px 26px 14px;border-radius:4px;box-shadow:0 2px 10px rgba(15,31,51,.12);font-size:11px;line-height:1.35;font-family:Helvetica,Arial,sans-serif;min-height:520px;display:flex;flex-direction:column}
.tp-head{display:flex;justify-content:space-between;gap:16px}
.tp-from{display:flex;flex-direction:column;min-width:0}.tp-from strong{font-size:15px;margin-bottom:3px;word-break:break-word}.tp-from span{color:#607084;font-size:9.5px}
.tp-logo{max-height:40px;max-width:130px;object-fit:contain;align-self:flex-start;margin-bottom:6px}
.tp-title{display:flex;flex-direction:column;align-items:flex-end;text-align:right}.tp-title b{font-size:19px;letter-spacing:.01em}.tp-title em{font-style:normal;font-weight:700;color:#2563eb;font-size:12px;margin-bottom:2px}.tp-title span{color:#607084;font-size:9.5px}
.tp-rule{height:2px;background:#2563eb;margin:12px 0}
.tp-boxes,.tp-blocks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.tp-blocks{grid-template-columns:1fr;margin-top:10px}
.tp-box{background:#f4f7fb;border-radius:4px;padding:8px 10px;display:flex;flex-direction:column;min-width:0}.tp-box small{font-size:7.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#607084;margin-bottom:4px}.tp-box strong{font-size:11px}.tp-box span{color:#4a5a70;font-size:10px;word-break:break-word}
.tp-sec{font-size:8.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2563eb;margin:4px 0 4px}
.tp-table{width:100%;border-collapse:collapse;margin-bottom:12px;table-layout:auto}
.tp-table th{background:#0f1f33;color:#fff;font-size:8.5px;font-weight:700;text-align:left;padding:6px}.tp-table td{padding:6px;border-bottom:1px solid #dde5ef;font-size:10px;vertical-align:top;color:#3c4a5e;word-break:break-word}
.tp-table tbody tr:nth-child(even) td{background:#f4f7fb}.tp-table .r{text-align:right;white-space:nowrap}.tp-table .b{font-weight:700;color:#142238}.tp-table td:first-child{color:#142238}
.tp-empty{text-align:center!important;color:#8a99ad!important;padding:16px!important}
.tp-foot{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.tp-note{margin:0;font-size:8.5px;color:#607084;max-width:46%}
.tp-totals{border-collapse:collapse;min-width:220px;margin-left:auto}.tp-totals td{padding:4px 8px;border-bottom:1px solid #dde5ef;font-size:10px;color:#607084}.tp-totals td+td{text-align:right;color:#142238}
.tp-totals .is-total td{background:#0f1f33;color:#fff;font-weight:700;font-size:10.5px;padding:8px}.tp-totals .is-total td+td{font-size:14px}
.tp-made{margin-top:auto;padding-top:14px;border-top:1px solid #dde5ef;color:#8090a4;font-size:8.5px}
/* After download */
.tl-done{margin-top:14px;padding:16px;border-radius:14px;background:#fff;border:1px solid #bbf7d0;box-shadow:0 8px 24px rgba(21,128,61,.08)}
.tl-done-head{display:flex;gap:12px;align-items:flex-start}.tl-done-head>span{flex:none;width:30px;height:30px;border-radius:50%;background:#dcfce7;color:var(--tl-green);display:flex;align-items:center;justify-content:center;font-weight:800}
.tl-done-head strong{font-size:16px}.tl-done-head p{margin:2px 0 0;font-size:13.5px;color:var(--tl-muted)}
.tl-cta{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;margin-top:14px;padding:14px 16px;border-radius:12px;background:linear-gradient(135deg,#eff6ff,#f5f3ff);border:1px solid #dbe4f7}
.tl-cta div{flex:1 1 260px}.tl-cta strong{font-size:15.5px}.tl-cta p{margin:3px 0 0;font-size:13.5px;color:#475569}
.tl-tips{margin-top:14px;padding-top:12px;border-top:1px solid var(--tl-line)}
.tl-tips-title{display:block;font-weight:700;font-size:14px;margin-bottom:6px}.tl-tips-title span{font-weight:500;color:var(--tl-muted)}
.tl-tips-row{display:flex;gap:8px;flex-wrap:wrap}.tl-tips-row input{flex:1 1 220px}
.tl-check{display:flex;gap:8px;align-items:flex-start;margin-top:8px;font-size:12.5px;color:var(--tl-muted)}.tl-check input{margin-top:2px;flex:none}
.tl-tips-msg{margin:6px 0 0;font-size:13px;min-height:1px}.tl-tips-msg.is-bad{color:#b91c1c}.tl-tips-done{margin:0;color:var(--tl-green);font-weight:700}
/* Info below the tool */
.tl-info{padding:10px 0 50px}
.tl-info-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px}
.tl-faq h2,.tl-side h2{font-size:22px;margin:0 0 12px}
.tl-faq details{border:1px solid var(--tl-line);border-radius:12px;background:#fff;margin-bottom:10px;padding:0 16px}
.tl-faq summary{cursor:pointer;padding:14px 0;font-weight:700;font-size:15px}.tl-faq details p{margin:0 0 14px;color:#475569;font-size:14.5px;line-height:1.6}
.tl-side .tl-card{display:block;padding:14px 16px;border:1px solid var(--tl-line);border-radius:12px;background:#fff;margin-bottom:10px;text-decoration:none;color:var(--tl-ink)}
.tl-side .tl-card strong{display:block;font-size:15px}.tl-side .tl-card span{display:block;font-size:13.5px;color:var(--tl-muted);margin-top:2px}.tl-side .tl-card:hover{border-color:var(--tl-blue)}
/* Hub */
.tl-hub{padding:28px 0 50px}
.tl-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
/* Tool cards (Nov 29 2026 redesign): a color per tool, a small picture of the document, a gradient icon tile, an arrow button */
.tl-hub-card{--tone:#3b82f6;--tone-2:#1d4ed8;--tone-soft:#bfdbfe;--tone-bg:#eff6ff;--tone-shadow:rgba(37,99,235,.32);position:relative;display:flex;flex-direction:column;gap:6px;padding:0 20px 18px;border:1px solid #e3e9f2;border-radius:20px;background:#fff;overflow:hidden;text-decoration:none;color:var(--tl-ink);box-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px -10px rgba(15,23,42,.10);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.tl-hub-card.is-teal{--tone:#14b8a6;--tone-2:#0f766e;--tone-soft:#99f6e4;--tone-bg:#f0fdfa;--tone-shadow:rgba(13,148,136,.32)}
.tl-hub-card.is-violet{--tone:#8b5cf6;--tone-2:#6d28d9;--tone-soft:#ddd6fe;--tone-bg:#f5f3ff;--tone-shadow:rgba(124,58,237,.32)}
.tl-hub-card.is-amber{--tone:#f59e0b;--tone-2:#b45309;--tone-soft:#fde68a;--tone-bg:#fffbeb;--tone-shadow:rgba(217,119,6,.32)}
.tl-hub-card:hover,.tl-hub-card:focus-visible{transform:translateY(-4px);border-color:var(--tone-soft);box-shadow:0 2px 4px rgba(15,23,42,.04),0 24px 44px -16px var(--tone-shadow)}
.tl-hub-card:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}
.tl-card-art{position:relative;display:block;height:132px;margin:0 -20px;overflow:hidden;border-bottom:1px solid #edf1f7;background:radial-gradient(rgba(15,23,42,.07) 1px,transparent 1.2px) 0 0/14px 14px,radial-gradient(120% 100% at 100% 0%,var(--tone-soft) 0%,rgba(255,255,255,0) 62%),linear-gradient(165deg,var(--tone-bg) 0%,#fff 90%)}
.tl-card-art .tl-art{position:absolute;left:50%;bottom:-14px;width:176px;height:auto;transform:translateX(-50%);filter:drop-shadow(0 12px 18px rgba(15,23,42,.13));transition:transform .28s ease}
.tl-hub-card:hover .tl-art,.tl-hub-card:focus-visible .tl-art{transform:translate(-50%,-7px) rotate(-1.5deg)}
.tl-art .p{fill:#fff}.tl-art .k{fill:var(--tone)}.tl-art .s{fill:var(--tone-soft)}.tl-art .g{fill:#cbd5e1}.tl-art .g2{fill:#e2e8f0}.tl-art .d{fill:#0f1f33}.tl-art .w{fill:#fff}
.tl-art .up{fill:#86efac}.tl-art .dn{fill:#fca5a5}.tl-art .kl{fill:none;stroke:var(--tone);stroke-width:2.2;stroke-dasharray:4 4;stroke-linecap:round}.tl-art .kp{fill:var(--tone-2)}
.tl-card-tag{position:absolute;top:12px;right:12px;z-index:1;padding:3px 9px;border-radius:999px;background:rgba(255,255,255,.88);border:1px solid var(--tone-soft);color:var(--tone-2);font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.tl-hub-card .tl-ico{position:relative;z-index:1;width:52px;height:52px;margin:-26px 0 8px;border-radius:16px;background:linear-gradient(140deg,var(--tone),var(--tone-2));color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 4px #fff,0 12px 22px -8px var(--tone-shadow)}
.tl-hub-card .tl-ico svg{width:26px;height:26px}
.tl-hub-card small{align-self:flex-start;padding:3px 10px;border-radius:999px;background:var(--tone-bg);color:var(--tone-2);font-size:11.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.tl-hub-card strong{font-size:19px;letter-spacing:-.01em;margin-top:4px}
.tl-hub-card p{margin:0;color:var(--tl-muted);font-size:14.5px;line-height:1.5}
.tl-hub-card em{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:14px;font-style:normal;font-weight:700;font-size:14.5px;color:var(--tone-2)}
.tl-go{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--tone-bg);color:var(--tone-2);font-style:normal;transition:background .2s ease,color .2s ease,transform .2s ease}
.tl-go svg{width:16px;height:16px}
.tl-hub-card:hover .tl-go,.tl-hub-card:focus-visible .tl-go{background:var(--tone-2);color:#fff;transform:translateX(3px)}
.tl-hub-note{margin:22px 0 0;font-size:14px;color:var(--tl-muted)}
/* Calculators */
.tl-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.tl-tab{border:1px solid #c9d6e6;background:#fff;color:#16345a;border-radius:999px;padding:9px 16px;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}.tl-tab[aria-selected=true]{background:var(--tl-navy);border-color:var(--tl-navy);color:#fff}
.tl-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}
.tl-results{display:grid;gap:10px}
.tl-result{padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--tl-line)}.tl-result small{display:block;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#64748b}
.tl-result strong{display:block;font-size:24px;margin-top:2px;letter-spacing:-.01em}.tl-result span{display:block;font-size:13px;color:var(--tl-muted);margin-top:2px}
.tl-result.is-main{background:var(--tl-navy);border-color:var(--tl-navy);color:#fff}.tl-result.is-main small,.tl-result.is-main span{color:#a9bcd6}
.tl-result.is-best{border-color:#86efac;box-shadow:0 0 0 2px #dcfce7}.tl-result.is-bad strong{color:#b91c1c}
.tl-results-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
@media (max-width:1180px) and (min-width:981px){.tl-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){
 .tl-layout,.tl-calc,.tl-info-grid{grid-template-columns:minmax(0,1fr)}
 .tl-layout>*,.tl-calc>*{min-width:0}
 .tl-preview-wrap{position:static;order:-1}
 .tl-preview{display:none;max-height:none}.tl-preview-wrap.is-open .tl-preview{display:block}
 .tl-preview-toggle{display:inline-flex;margin-top:8px;width:100%}
}
@media (max-width:640px){
 .tl-grid{grid-template-columns:1fr}.tl-field.is-half{grid-column:1/-1}
 .tl-row-grid{grid-template-columns:1fr 1fr}.tl-row:not(.is-card){grid-template-columns:1fr 1fr!important}.tl-row:not(.is-card) .tl-x{grid-column:2;justify-self:end}
 .tl-sec{padding:14px 12px}
 .tp-paper{padding:16px 14px;min-width:540px}
 .tl-download strong{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.tl-btn,.tl-hub-card,.tl-art,.tl-go{transition:none}.tl-hub-card:hover,.tl-hub-card:focus-visible{transform:none}.tl-hub-card:hover .tl-art{transform:translateX(-50%)}}
.tl-mobile-download{display:none;margin:4px 0 0}
@media (max-width:980px){.tl-mobile-download{display:block}}
/* Free tool promo on guide pages (Nov 29 2026) */
.tl-promo-wrap{padding:18px 0 0}
.tl-promo{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:space-between;padding:16px 20px;border-radius:14px;border:1px solid #cfe0f7;background:linear-gradient(135deg,#eff6ff,#f5f3ff);color:#142238;text-decoration:none}
.tl-promo:hover{border-color:#2563eb}.tl-promo span{flex:1 1 300px}.tl-promo small{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#15803d}
.tl-promo strong{display:block;font-size:17px;margin-top:2px}.tl-promo em{font-style:normal;color:#475569;font-size:14px}
.tl-promo b{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:10px;background:#2563eb;color:#fff;font-size:14.5px}
/* Homepage "Free tools" strip (Nov 29 2026) */
.tl-home{padding:60px 0;border-top:1px solid #e6edf6;border-bottom:1px solid #e6edf6;background:radial-gradient(50% 70% at 0% 0%,#eaf2ff 0%,rgba(234,242,255,0) 70%),radial-gradient(40% 60% at 100% 100%,#f3efff 0%,rgba(243,239,255,0) 70%),#f8fafc}
.tl-home-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px 28px;margin-bottom:22px}
.tl-home-head h2{margin:6px 0 0;font-size:clamp(26px,3vw,38px);line-height:1.15}
.tl-home-head p{margin:0;max-width:520px;color:var(--tl-muted);font-size:16px;line-height:1.55}.tl-home-head p a{color:var(--tl-blue);font-weight:700}
/* ------------------------------------------------------------------ document studio (Nov 29 2026): type on the paper */
.tl-studio{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.tl-page .tl-doc{--td-accent:#111827;--td-line:#e3e9f1;background:#fff;border:1px solid #cdd8e6;border-radius:10px;padding:40px 38px 22px;box-shadow:0 8px 28px rgba(15,31,51,.07);color:#1f2a37;font-size:14px;line-height:1.4}
.tl-page .tl-doc .td-in{display:block;width:100%;min-height:30px;padding:4px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:inherit;line-height:1.35;box-shadow:none}
.tl-page .tl-doc .td-in:hover{border-color:#dbe4ef;background:#fbfdff}
.tl-page .tl-doc .td-in:focus{outline:none;border-color:var(--td-accent);background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.14)}
.tl-page .tl-doc .td-in::placeholder{color:#9aa8b8;opacity:1}
.tl-page .tl-doc .td-in.is-strong{font-weight:700;font-size:16px}
.tl-page .tl-doc .td-area{resize:vertical;min-height:54px}
.tl-page .tl-doc select.td-in{appearance:auto;padding-right:2px}
.tl-page .tl-doc .td-small{font-size:12.5px;min-height:26px;color:#4b5563}
.td-head{margin-bottom:22px}
.td-adds{display:flex;flex-wrap:wrap;gap:8px;margin:-16px 0 16px}
.td-addlogo{display:inline-flex;align-items:center;gap:7px;padding:5px 12px 5px 6px;border:1.5px dashed #b6c8de;border-radius:999px;background:#f8fbff;color:#1d4ed8;font-size:12.5px;font-weight:700;line-height:1.2;cursor:pointer}
.td-addlogo>span{width:18px;height:18px;border-radius:50%;background:#2563eb;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:14px;line-height:1}
.td-addlogo small{font-weight:500;color:#8a99ab;font-size:11px}
.td-addlogo.is-right{margin-left:auto}
.td-addlogo:hover,.td-addlogo:focus-within{border-color:#2563eb;background:#eef5ff}
.td-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.td-row.is-mid{align-items:center;margin-bottom:16px}
.td-row.is-logos{margin-bottom:20px}
.td-titlebox{flex:none;text-align:right}
.td-num{margin-top:3px;min-height:18px;font-size:13px;font-weight:700;color:#64748b;letter-spacing:.02em}
.td-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.td-logo.has-img{position:relative;flex:none;padding:2px;line-height:0}
.td-logo.has-img img{display:block;max-height:64px;max-width:200px;object-fit:contain}
.td-row.is-logos .td-logo.has-img img{max-width:190px}
.td-logo-x{position:absolute;top:-8px;right:-8px;width:22px;height:22px;border-radius:50%;border:1px solid #cdd8e6;background:#fff;color:#64748b;font-size:15px;line-height:1;cursor:pointer;display:none}
.td-logo.has-img:hover .td-logo-x,.td-logo-x:focus{display:block}
@media (hover:none){.td-logo-x{display:block}}
.td-title{font-size:34px;letter-spacing:.03em;color:var(--td-accent);line-height:1.1;text-align:right}
.td-from{flex:1 1 auto;min-width:0;max-width:340px}
.td-mid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:20px}
.td-label{font-weight:700;font-size:13.5px;margin:0 0 4px 7px}
.td-meta-row{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:4px}
.td-meta-row label{font-weight:600;font-size:13px;color:#4b5563;margin:0}
.td-out{padding:4px 7px;color:#1f2a37}
.td-block{margin:0 0 18px;padding:10px 10px 6px;border:1px solid var(--td-line);border-radius:8px}
.td-block-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}.td-block-grid span{display:block;font-size:12px;font-weight:700;color:#4b5563;margin:0 0 1px 7px}
.td-sub{font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--td-accent);margin:6px 0 4px}
.td-tr{display:grid;grid-template-columns:var(--cols) 26px;gap:6px;align-items:start;padding:7px 6px;border-bottom:1px solid var(--td-line);position:relative}
.td-th{background:var(--td-accent);color:#fff;font-weight:700;font-size:12.5px;padding:10px 6px;border-bottom:0}
.td-th .td-td{padding:0 7px}
.td-td{min-width:0;display:flex;flex-direction:column;gap:1px}.td-td.is-r{text-align:right}.tl-page .tl-doc .td-td.is-r .td-in{text-align:right}
.td-td.is-out{padding:5px 7px;font-weight:700;white-space:nowrap}
.td-x{align-self:center;width:24px;height:24px;border:0;border-radius:50%;background:transparent;color:#94a3b8;font-size:18px;line-height:1;cursor:pointer;opacity:0}
.td-tr:hover .td-x,.td-tr:focus-within .td-x,.td-x:focus{opacity:1}.td-x:hover{background:#fee2e2;color:#b91c1c}
.td-under{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:10px 0 18px}
.td-add{display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:2px;color:#2563eb;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.td-add span{width:20px;height:20px;border-radius:50%;background:#2563eb;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1}
.td-quick{display:flex;flex-wrap:wrap;gap:6px}
.td-sum{display:flex;justify-content:flex-end;margin:4px 0 22px}
.td-totals{min-width:300px}
.td-tot{display:flex;justify-content:space-between;gap:20px;padding:9px 12px;font-size:14px;color:#374151}.td-tot b{color:#111827;font-size:15px}
.td-tot.is-total{background:#f3f6fa;font-weight:700;color:#111827}.td-tot.is-total b{font-size:19px;color:var(--td-accent)}
.td-field{margin-bottom:12px}.td-field label{display:block;font-weight:700;font-size:13.5px;margin:0 0 3px 7px}
.tl-page .tl-doc .td-field .td-in{border-color:#dbe4ef}
.td-field small{display:block;margin:3px 7px 0;color:#6b7a8c;font-size:12px}
.td-made{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:20px;padding-top:14px;border-top:1px solid #1f2a37;color:#6b7a8c;font-size:12.5px}.td-made img{width:16px;height:16px;border-radius:4px;flex:none}
/* Layout: Spreadsheet (grid lines, light header) */
.tl-doc[data-layout=spreadsheet] .td-th{background:#eef2f7;color:#111827;border:1px solid #cfd8e3}
.tl-doc[data-layout=spreadsheet] .td-tr:not(.td-th){border:1px solid #d6dee8;border-top:0}
.tl-doc[data-layout=spreadsheet] .td-tr>.td-td+.td-td{border-left:1px solid #e3e9f1;padding-left:4px}
.tl-doc[data-layout=spreadsheet] .td-title{font-weight:700;font-size:30px}
.tl-doc[data-layout=spreadsheet] .td-tot{border:1px solid #d6dee8;border-top:0}.tl-doc[data-layout=spreadsheet] .td-tot:first-child{border-top:1px solid #d6dee8}
.tl-doc[data-layout=spreadsheet] .td-block,.tl-doc[data-layout=spreadsheet] .td-to,.tl-doc[data-layout=spreadsheet] .td-meta{border:1px solid #d6dee8;border-radius:0;padding:8px}
/* Layout: Compact (smaller, tighter) */
.tl-page .tl-doc[data-layout=compact]{font-size:13px;padding:28px 28px 18px}
.tl-doc[data-layout=compact] .td-title{font-size:26px}
.tl-doc[data-layout=compact] .td-tr{padding:3px 6px}.tl-doc[data-layout=compact] .td-th{padding:7px 6px}
.tl-doc[data-layout=compact] .td-mid{gap:14px;margin-bottom:12px}.tl-doc[data-layout=compact] .td-head{margin-bottom:14px}.tl-doc[data-layout=compact] .td-logo.has-img img{max-height:48px}
.tl-page .tl-doc[data-layout=compact] .td-in{min-height:26px;padding:2px 6px}
.tl-doc[data-layout=compact] .td-tot{padding:6px 10px}
/* Side panel */
.tl-panel{position:sticky;top:90px;display:flex;flex-direction:column;gap:14px}
.tl-panel h2{margin:0;padding-bottom:12px;border-bottom:1px solid #dde5ef;font-size:19px}
.tp-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #dde5ef}
.tp-label{font-weight:700;font-size:14px;color:#1f2a37}
.tp-swatches{display:flex;gap:9px}
.tp-swatch{position:relative;width:24px;height:24px;border-radius:50%;border:0;background:var(--sw);cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.tp-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--sw)}
.tp-swatch[aria-pressed=true]::after{content:"";position:absolute;left:8px;top:5px;width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.tp-swatch:focus-visible,.tp-layout:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.tp-layouts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-bottom:14px;border-bottom:1px solid #dde5ef}
.tp-layout{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 4px 7px;border:1px solid #cdd8e6;border-radius:9px;background:#f4f7fb;color:#9fb0c4;font:inherit;font-size:12.5px;cursor:pointer}
.tp-layout svg{width:46px;height:58px}.tp-layout span{color:#334155;font-weight:600}
.tp-layout[aria-pressed=true]{border-color:#2563eb;background:#fff;color:#2563eb;box-shadow:0 0 0 2px #dbeafe}.tp-layout[aria-pressed=true] span{color:#2563eb}
.tp-sec{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid #dde5ef}
.tp-check{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:#374151;cursor:pointer}.tp-check input{width:17px;height:17px;margin-top:1px;flex:none}
.tp-total{display:flex;justify-content:space-between;align-items:baseline;padding:12px 14px;border-radius:10px;background:#0f1f33;color:#fff}
.tp-total span{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#a9bcd6}.tp-total strong{font-size:22px}
.tp-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tp-actions .tl-btn{padding:9px 10px;font-size:14px}
.tp-dl{position:relative}.tp-dl>.tl-btn{width:100%}
.tp-dl-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:30;display:grid;min-width:180px;padding:6px;border:1px solid #cdd8e6;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(15,31,51,.16)}
.tp-dl-menu[hidden]{display:none}
.tp-dl-menu button{border:0;background:none;text-align:left;padding:9px 12px;border-radius:7px;font:inherit;font-size:14px;color:#1f2a37;cursor:pointer}.tp-dl-menu button:hover,.tp-dl-menu button:focus{background:#eff6ff;outline:none}
.tp-links{display:flex;gap:18px}
.tp-info{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:#eef3fb;font-size:13.5px;color:#334155}.tp-info p{margin:0}
.tp-info>span{flex:none;width:18px;height:18px;margin-top:1px;border-radius:50%;background:#475569;color:#fff;font:italic 700 11px/18px Georgia,serif;text-align:center}
.tl-panel .tl-done{margin-top:0}
.tl-mobile-download{display:none;margin-top:12px}
.tl-dialog{border:0;border-radius:16px;padding:26px 26px 20px;width:min(460px,calc(100% - 32px));color:#142238;box-shadow:0 30px 60px rgba(15,23,42,.3)}
.tl-dialog::backdrop{background:rgba(15,23,42,.5)}
.tl-dialog h2{margin:0 0 8px;font-size:21px}.tl-dialog p{margin:0 0 10px;color:#475569;font-size:14.5px;line-height:1.55}
.tl-dialog ul{margin:0 0 4px;padding-left:20px;color:#334155;font-size:14px;line-height:1.7}
.tl-dialog .tl-cta{margin-top:12px}.tl-dialog>.tl-link{margin-top:12px;display:inline-block}
.tl-dialog-x{position:absolute;right:12px;top:10px;width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:22px;color:#64748b;cursor:pointer}.tl-dialog-x:hover{background:#f1f5f9}
@media (max-width:1060px){.tl-studio{grid-template-columns:minmax(0,1fr)}.tl-panel{position:static}.tl-mobile-download{display:block}}
@media (max-width:700px){
 .tl-page .tl-doc{padding:20px 14px 16px}
 .td-adds{margin:-6px 0 12px}.td-row:not(.is-mid){flex-direction:column-reverse;align-items:stretch;gap:10px}.td-side{flex-direction:row-reverse;justify-content:space-between;align-items:center}.td-titlebox{text-align:left}.td-title{font-size:26px;text-align:left}
 .td-row.is-mid .td-title{text-align:right}.td-row.is-mid .td-titlebox{text-align:right}.td-logo.has-img img{max-height:48px;max-width:140px}.td-from{max-width:none}
 .td-mid,.td-block-grid{grid-template-columns:minmax(0,1fr)}
 .td-th{display:none}
 .td-tr{grid-template-columns:1fr 1fr!important;padding:10px 6px;gap:4px 10px}
 .td-td::before{content:attr(data-label);font-size:11.5px;font-weight:700;color:#64748b;margin-left:7px}
 .td-x{position:absolute;right:2px;top:2px;opacity:1}
 .td-totals{min-width:0;width:100%}
}
.tl-panel label,.tl-panel .tp-label,.tl-doc label{text-transform:none;letter-spacing:normal}
.tl-panel .tp-check span{font-size:13.5px;font-weight:500}
/* Table color (Nov 29 2026): 10 colors + any color; the title and text stay dark */
.tl-page .tl-doc .td-th{color:var(--td-on,#fff)}
.tl-doc[data-layout=spreadsheet] .td-th{color:#111827}
.td-title,.tl-doc[data-layout=compact] .td-title{color:#1f2937}
.tp-theme{display:grid;gap:10px;padding-bottom:12px;border-bottom:1px solid #dde5ef}
.tp-theme .tp-swatches{display:grid;grid-template-columns:repeat(6,26px);gap:10px 12px}
.tp-swatch{width:26px;height:26px}
.tp-swatch[aria-pressed=true]::after{left:9px;top:5px}
.tp-custom{display:flex;align-items:center;justify-content:center;background:conic-gradient(#ef4444,#f59e0b,#22c55e,#06b6d4,#3b82f6,#a855f7,#ef4444);cursor:pointer;overflow:hidden}
.tp-custom input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;border:0;padding:0}
.tp-custom span{width:14px;height:14px;border-radius:50%;background:#fff;color:#334155;font-size:12px;font-weight:800;line-height:14px;text-align:center;pointer-events:none}
.tp-custom[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--sw-current,#2563eb)}.tp-custom[aria-pressed=true]::after{display:none}
.tp-layout svg rect[fill]{fill:var(--sw-current,currentColor)}
.tp-custom:focus-within{outline:3px solid #93c5fd;outline-offset:2px}
.tl-doc .td-tot.is-total{border-left:4px solid var(--td-accent)}.tl-doc .td-tot.is-total b{color:#111827}
.tl-dialog .tl-cta.is-bare{background:none;border:0;padding:0;margin:14px 0 0}
.tl-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.tl-dialog-actions .tl-link{margin-top:14px}
/* How it works + worked example (Nov 29 2026 review: readable formulas and examples beside each tool) */
.tl-learn{padding:8px 0 34px}
.tl-learn-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}
.tl-how,.tl-example{padding:22px 24px;border:1px solid var(--tl-line);border-radius:16px;background:#fff;min-width:0}
.tl-learn h2{font-size:22px;margin:0 0 8px;letter-spacing:-.01em}.tl-how h3,.tl-example h3{font-size:16px;margin:16px 0 8px}
.tl-how>p,.tl-example>p{margin:0 0 12px;color:#475569;font-size:14.5px;line-height:1.6}
.tl-formula{display:grid;gap:6px;padding:12px 14px;border-radius:12px;background:#f1f5fb;border:1px solid #e1e9f4}
.tl-formula p{margin:0;font-size:14px;line-height:1.5;color:#1f2a37}.tl-formula span{font-weight:700;color:#0f1f33}
.tl-how ul{margin:0;padding-left:18px;color:#475569;font-size:14px;line-height:1.6}.tl-how li+li{margin-top:4px}
.tl-ex-table{overflow-x:auto;margin:4px 0 12px;border:1px solid var(--tl-line);border-radius:12px}
.tl-ex-table table{width:100%;border-collapse:collapse;font-size:13.5px;min-width:460px}
.tl-ex-table th,.tl-ex-table td{padding:9px 12px;text-align:left;border-bottom:1px solid #edf1f6;vertical-align:top}
.tl-ex-table thead th{background:#0f1f33;color:#fff;font-size:12px;font-weight:700;letter-spacing:.03em;border-bottom:0}
.tl-ex-table tbody th{font-weight:600;color:#1f2a37}.tl-ex-table .is-r{text-align:right;white-space:nowrap}
.tl-ex-table tfoot th,.tl-ex-table tfoot td{font-weight:700;background:#f8fafc}.tl-ex-table tfoot tr:last-child th,.tl-ex-table tfoot tr:last-child td{background:#eef4ff;color:#0f1f33;font-size:14.5px;border-bottom:0}
.tl-ex-table tbody tr:last-child th,.tl-ex-table tbody tr:last-child td{border-bottom-color:#dde5ef}
.tl-steps{margin:0 0 12px;padding-left:20px;color:#334155;font-size:14px;line-height:1.6}
.tl-ex-result{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 10px;padding:12px 16px;border-radius:12px;background:#0f1f33;color:#fff}
.tl-ex-result span{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#a9bcd6}.tl-page .tl-ex-result strong{font-size:20px;text-align:right;color:#fff}
.tl-ex-try{margin:0;font-size:13.5px;color:var(--tl-muted)}
.tl-calc-head,.tl-calc-how{grid-column:1/-1;min-width:0}
.tl-calc-head h2{margin:0 0 4px;font-size:clamp(22px,2.4vw,28px);letter-spacing:-.01em}.tl-calc-head p{margin:0;color:var(--tl-muted);font-size:15.5px;line-height:1.55;max-width:760px}
.tl-calc-how{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start;margin-top:6px}
.tl-calc-how h3:first-child{margin-top:0}
.tl-calc-how .tl-ex-table table{min-width:0}.tl-calc-how .tl-ex-table .is-r{text-align:left;white-space:normal}
.tl-incomplete{margin:0}
@media (max-width:900px){.tl-learn-grid,.tl-calc-how{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.tl-how,.tl-example{padding:18px 16px}.tl-ex-result{flex-direction:column;align-items:flex-start}.tl-ex-result strong{text-align:left}}
/* Email opt-in at download (Nov 30 2026) */
.tl-page .tp-optin{display:grid;gap:6px;margin:-4px 0 14px;padding:12px 14px;border:1px solid var(--tl-line);border-radius:12px;background:#f8fbff}
.tl-page .tp-optin .tp-check{margin:0;font-size:13.5px;font-weight:600;color:#1f2a37}
.tl-page .tp-optin input[type=email]{width:100%;min-width:0;box-sizing:border-box;padding:8px 10px;border:1px solid #cdd8e6;border-radius:8px;font:inherit;font-size:14px;background:#fff}
.tl-page .tp-optin input[type=email]:focus{outline:2px solid #93c5fd;outline-offset:1px;border-color:#2563eb}
.tl-page .tp-optin small{font-size:12px;color:var(--tl-muted)}.tl-page .tp-optin small a{color:#1d4ed8}
