:root{color-scheme:light;--f-body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;--f-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;--bg:#ffffff;--fg:#1f2937;--muted:#4b5563;--line:#e5e7eb;--edge:#6b7280;--card:#f9fafb;--tool:#ffffff;--acc:#0f766e;--acc-fg:#ffffff;--acc-text:#0f766e;--ok:#e7f1f1;--tint2:#c3dddb;--hero:#e2efee;--zebra:#f3f8f8}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){color-scheme:dark;--bg:#0f172a;--fg:#e5e7eb;--muted:#a8b3c4;--line:#334155;--edge:#94a3b8;--card:#1e293b;--tool:#1e293b;--acc:#0f766e;--acc-fg:#ffffff;--acc-text:#2dd4bf;--ok:#20414d;--tint2:#225960;--hero:#0f343e;--zebra:#112031}}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0f172a;--fg:#e5e7eb;--muted:#a8b3c4;--line:#334155;--edge:#94a3b8;--card:#1e293b;--tool:#1e293b;--acc:#0f766e;--acc-fg:#ffffff;--acc-text:#2dd4bf;--ok:#20414d;--tint2:#225960;--hero:#0f343e;--zebra:#112031}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:80px}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--fg);font:1.0625rem/1.6 var(--f-body);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
a{color:var(--acc-text);text-underline-offset:2px}
:focus-visible{outline:3px solid var(--acc-text);outline-offset:2px;border-radius:4px}
.np-skip{position:absolute;left:-999px;top:8px}.np-skip:focus{left:8px;z-index:100;background:var(--card);color:var(--fg);padding:8px 12px;border:1px solid var(--line);border-radius:8px}
svg.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tc-em{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-style:normal;line-height:1}
.tc-wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.tc-head{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 6px 16px -10px rgba(15,23,42,.28)}
.tc-head-in{display:flex;align-items:center;gap:12px;height:60px;max-width:1200px;margin:0 auto;padding:0 16px}
.tc-brand{display:inline-flex;align-items:center;gap:8px;flex:none;max-width:42%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:800;font-size:1.15rem;letter-spacing:-.01em;color:var(--fg);text-decoration:none}
.tc-brand::before{content:"";width:14px;height:14px;border-radius:4px;background:var(--acc);flex:none}
.tc-search{position:relative;flex:1 1 auto;min-width:0;max-width:440px;margin:0 auto}
.tc-search>.ic{position:absolute;left:13px;top:12px;color:var(--muted);pointer-events:none}
.tc-search input{display:block;width:100%;height:44px;padding:0 14px 0 42px;border:1px solid var(--edge);border-radius:999px;background:var(--card);color:var(--fg);font:inherit;font-size:1rem}
.tc-search input::placeholder{color:var(--muted);opacity:1}
.tc-results{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;margin:0;padding:6px;list-style:none;max-height:min(70vh,420px);overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.22)}
.tc-results[hidden]{display:none}
.tc-results a{display:block;padding:10px 12px;border-radius:8px;color:var(--fg);text-decoration:none;font-weight:600;line-height:1.3}
.tc-results small{display:block;margin-top:2px;color:var(--muted);font-weight:400;font-size:.85rem}
.tc-results a:hover,.tc-results li[aria-selected="true"] a{background:var(--ok)}
.tc-results .tc-none{padding:12px;color:var(--muted)}
.tc-mode{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--fg);cursor:pointer}
.tc-mode:hover{border-color:var(--acc)}
.tc-mode .i-sun{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tc-mode .i-sun{display:inline}:root:not([data-theme="light"]) .tc-mode .i-moon{display:none}}
:root[data-theme="dark"] .tc-mode .i-sun{display:inline}:root[data-theme="dark"] .tc-mode .i-moon{display:none}
html:not(.js) .tc-search,html:not(.js) .tc-mode,html:not(.js) .tc-tabs,html:not(.js) .tc-btn,html:not(.js) .tc-share button,html:not(.js) .tc-pills,html:not(.js) .tc-chips,html:not(.js) .tc-mini{display:none}
.tc-crumbs{padding-top:16px;font-size:.9rem;color:var(--muted)}.tc-crumbs a{color:var(--muted)}.tc-crumbs [aria-current]{color:var(--fg)}
.tc-grid{display:block;padding-bottom:40px}
.tc-main{min-width:0}
.tc-side{margin-top:36px}
.tc-one{max-width:760px;margin:0 auto}
h1{font-size:2.5rem;line-height:1.1;font-weight:800;letter-spacing:-.025em;margin:.5em 0 .3em}
h2{font-size:1.5rem;line-height:1.3;font-weight:700;letter-spacing:-.01em;margin:0 0 .6em}
h3{font-size:1.15rem;line-height:1.35;font-weight:700;margin:1.2em 0 .25em}
p{margin:.7em 0}
.tc-sec{margin-top:2.6em}
.tc-sec>h2,.tc-cathead h2{display:flex;align-items:center;gap:10px}
.tc-sec>h2::before,.tc-cathead h2::before{content:"";flex:none;width:5px;height:1.15em;border-radius:3px;background:var(--acc)}
.tc-purpose{margin:0 0 20px;font-size:1.125rem;color:var(--muted)}
.tc-card{position:relative;overflow:hidden;background:var(--tool);border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 4px rgba(16,24,40,.04),0 18px 44px -14px rgba(16,24,40,.22)}
.tc-card::before{content:"";display:block;height:5px;background:linear-gradient(90deg,var(--acc),var(--tint2))}
.tc-chead{display:flex;align-items:center;gap:12px;padding:14px 20px;background:var(--ok);border-bottom:1px solid var(--line)}
.tc-chead .tc-ic{width:44px;height:44px}
.tc-chead-t{font-weight:800;line-height:1.25}
.tc-chead-s{font-size:.9rem;line-height:1.35;color:var(--muted)}
.tc-cbody{padding:20px}
.tc-tabs,.tc-pills{display:flex;flex-wrap:wrap;gap:8px}
.tc-tabs{margin:0 0 16px}
.tc-pills{margin:12px 0}
.tc-pill{appearance:none;font:inherit;font-size:.95rem;font-weight:600;min-height:40px;padding:0 16px;border:1px solid var(--edge);border-radius:999px;background:var(--bg);color:var(--fg);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.tc-pill:hover{border-color:var(--acc);background:var(--ok)}
.tc-pill[aria-selected="true"]{background:var(--acc);border-color:var(--acc);color:var(--acc-fg)}
.tc-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:640px){.tc-fields.tc-two-up{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.tc-field label{display:block;margin-bottom:6px;font-size:.95rem;font-weight:600}
.tc-field select,.tc-inwrap input{display:block;width:100%;height:48px;padding:0 14px;border:1px solid var(--edge);border-radius:10px;background:var(--bg);color:var(--fg);font:inherit;font-size:1.0625rem}
.tc-inwrap{display:flex}
.tc-inwrap input{border-radius:10px 0 0 10px;min-width:0}
.tc-unit{display:flex;align-items:center;padding:0 14px;border:1px solid var(--edge);border-left:0;border-radius:0 10px 10px 0;background:var(--card);color:var(--muted);font-weight:600;white-space:nowrap}
.tc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0;min-height:38px;align-content:flex-start}
.tc-chip{appearance:none;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--fg);font:inherit;font-size:.92rem;font-weight:600;cursor:pointer}
.tc-chip:hover{border-color:var(--acc);background:var(--ok)}
.tc-chip[aria-pressed="true"]{border-color:var(--acc);background:var(--tint2)}
.tc-btn{grid-column:1/-1;appearance:none;height:54px;border:0;border-radius:12px;background:var(--acc);color:var(--acc-fg);font:inherit;font-size:1.1rem;font-weight:700;cursor:pointer;box-shadow:0 8px 18px -8px var(--acc)}
.tc-btn:hover{filter:brightness(.93)}
.tc-result{margin-top:20px;padding:20px;background:var(--ok);border:1px solid var(--line);border-left:5px solid var(--acc);border-radius:14px}
.tc-rlabel{font-size:.95rem;font-weight:600;color:var(--muted)}
.tc-ringr{display:flex;align-items:center;gap:8px;min-height:28px;margin-top:6px;font-size:1.1rem;font-weight:700}
.tc-rval{margin:2px 0 4px;font-size:2.5rem;line-height:1.15;font-weight:800;color:var(--acc-text);word-break:break-word}
.tc-runit{margin-left:8px;font-size:1.25rem;font-weight:700;color:var(--fg)}
.tc-formula{font-family:var(--f-mono);font-size:.95rem}
.tc-alsoh{margin:18px 0 8px;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.tc-also{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-height:76px}
.tc-tile{display:flex;flex-direction:column;justify-content:center;min-height:76px;padding:10px 12px;background:var(--tool);border:1px solid var(--line);border-radius:12px}
.tc-tv{font-size:1.15rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.tc-tu{font-size:.85rem;line-height:1.3;color:var(--muted)}
.tc-ract{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px}
.tc-mini{appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border:1px solid var(--edge);border-radius:999px;background:var(--tool);color:var(--fg);font:inherit;font-size:.92rem;font-weight:600;cursor:pointer}
.tc-mini:hover{border-color:var(--acc);background:var(--ok)}
.tc-learn{margin-left:auto;font-size:.95rem}
.tc-tip{display:flex;gap:8px;margin:14px 0 0;padding:12px 16px;background:var(--card);border:1px solid var(--line);border-left:4px solid var(--tint2);border-radius:12px;font-size:.95rem;line-height:1.5;color:var(--muted)}
.tc-tip strong{flex:none;color:var(--acc-text)}
.tc-reverse{margin:14px 0 0}
.tc-byline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:22px 0 0;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.92rem;color:var(--muted)}
.tc-by{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0}
.tc-by strong{color:var(--fg)}
.tc-share{display:flex;flex-wrap:wrap;gap:8px}
.tc-share a,.tc-share button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid var(--edge);border-radius:999px;background:var(--bg);color:var(--fg);font:inherit;font-size:.9rem;font-weight:600;text-decoration:none;cursor:pointer}
.tc-share a:hover,.tc-share button:hover{border-color:var(--acc)}
.tc-toc{margin:20px 0 0;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.tc-toc summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 16px;font-weight:700;cursor:pointer;list-style:none}
.tc-toc summary::-webkit-details-marker{display:none}
.tc-toc summary::after{content:"+";font-size:1.3rem;color:var(--muted)}
.tc-toc[open] summary::after{content:"\2013"}
.tc-toc ol{margin:0;padding:0 16px 14px 38px}.tc-toc li{margin:4px 0}
.tc-prose p{max-width:68ch}
.np-tablewrap{overflow-x:auto;margin:12px 0;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
.np-table{width:100%;border-collapse:collapse;font-size:1rem}
.np-table th,.np-table td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.np-table thead th{background:var(--ok);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}
.np-table tbody tr:nth-child(even){background:var(--zebra)}
.np-table tbody tr:hover{background:var(--ok)}
.np-table tbody tr:last-child>*{border-bottom:0}
.np-table tbody th{font-weight:600}
.np-table caption{caption-side:top;padding:12px 14px 4px;text-align:left;font-weight:700}
.tc-panel[hidden]{display:none}
.tc-answer{margin-top:8px}
.tc-prose h2{margin-top:1.8em}
.np-home .tc-head .tc-search{display:none}
.np-home .tc-mode{margin-left:auto}
.tc-note{color:var(--muted);font-size:.92rem}
.tc-steps{list-style:none;margin:12px 0;padding:0}
.tc-steps li{margin:10px 0;padding:12px 16px;border:1px solid var(--line);border-radius:10px}
.tc-stepn{display:block;margin-bottom:2px;font-size:.82rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--acc-text)}
.tc-formula-box{margin:14px 0;padding:14px 16px;background:var(--ok);border:1px solid var(--line);border-left:4px solid var(--acc);border-radius:8px;font-family:var(--f-mono);font-size:1.05rem;font-weight:700;overflow-x:auto}
.tc-example{margin:10px 0}
.tc-faq h3{margin-top:1.1em}
.tc-faq p{margin:.25em 0}
.tc-refs{margin:.4em 0;padding-left:1.2em;font-size:.95rem}
.tc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0;padding:0;list-style:none}
.tc-tool{display:flex;flex-direction:column;gap:6px;height:100%;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--tool);color:var(--fg);text-decoration:none}
.tc-tool:hover,.tc-cat:hover,.tc-popc:hover{border-color:var(--acc);transform:translateY(-2px);box-shadow:0 12px 26px -10px rgba(16,24,40,.28)}
.tc-ic{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--tint2);color:var(--acc-text)}
.tc-tt{font-weight:700;line-height:1.3}
.tc-td{color:var(--muted);font-size:.92rem;line-height:1.4}
.tc-catlinks{display:flex;flex-wrap:wrap;gap:8px 16px;margin:14px 0 0;padding:0;list-style:none}
.tc-hero{position:relative;padding:44px 0 52px;background:radial-gradient(820px 360px at 92% -12%,var(--tint2),transparent 65%),linear-gradient(180deg,var(--hero) 0%,var(--bg) 100%)}
.tc-hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center}
.tc-hero h1{margin:0 0 10px;font-size:2.25rem;line-height:1.08;letter-spacing:-.03em}
.tc-hero-lead{margin:0;font-size:1.3rem;font-weight:600;line-height:1.35}
.tc-count{color:var(--acc-text)}
.tc-tag{max-width:52ch;margin:10px 0 0;font-size:1.0625rem;color:var(--muted)}
.tc-hero .tc-search{max-width:600px;margin:26px 0 0;text-align:left}
.tc-hero .tc-search input{height:56px;padding-left:50px;font-size:1.0625rem;background:var(--bg);box-shadow:0 14px 32px -12px rgba(15,23,42,.38)}
.tc-hero .tc-search>.ic{top:17px;left:18px;width:22px;height:22px}
.tc-hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.tc-cta{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:0 24px;border:2px solid var(--acc);border-radius:999px;background:var(--bg);color:var(--acc-text);font-size:1.05rem;font-weight:700;text-decoration:none}
.tc-cta.tc-primary{background:var(--acc);color:var(--acc-fg);box-shadow:0 10px 22px -10px var(--acc)}
.tc-cta:hover{transform:translateY(-2px);filter:brightness(.96)}
.tc-hero-art{display:none}
.tc-art{display:block;width:100%;height:auto;max-width:480px;margin-left:auto}
.tc-art .a-line{fill:none;stroke:var(--acc-text);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.tc-art .a-bg{fill:var(--bg)}.tc-art .a-t1{fill:var(--ok)}.tc-art .a-t2{fill:var(--tint2)}.tc-art .a-soft{opacity:.5}
.tc-home-body{padding-bottom:40px}
.tc-cathead{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin-bottom:.6em}
.tc-cathead h2{margin:0}
.tc-tiles,.tc-pop{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.tc-tiles{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.tc-pop{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.tc-cat{display:flex;flex-direction:column;align-items:flex-start;gap:10px;height:100%;padding:18px 16px;border:1px solid var(--line);border-radius:14px;background:var(--tool);color:var(--fg);text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.tc-cic{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--tint2);color:var(--acc-text)}
.tc-cic .ic{width:26px;height:26px}
.tc-cn{font-weight:700;line-height:1.25}
.tc-cc{margin-top:-6px;font-size:.88rem;color:var(--muted)}
.tc-popc{display:flex;flex-direction:column;height:100%;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--tool);color:var(--fg);text-decoration:none;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.tc-popt{display:flex;align-items:center;gap:10px;font-weight:600;line-height:1.3}
.tc-emc{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:50%;background:var(--tint2);font-size:1.3rem}
.tc-popv{margin-top:12px;font-size:2rem;font-weight:800;line-height:1.15;color:var(--acc-text)}
.tc-pops{margin-top:4px;font-size:.88rem;color:var(--muted)}
.tc-inggroup{margin:1.4em 0 .4em}
.tc-inglist{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:6px 14px;margin:0;padding:0;list-style:none}
.tc-ing{display:flex;align-items:center;gap:12px;padding:8px 10px;border:1px solid transparent;border-radius:12px;color:var(--fg);text-decoration:none}
.tc-ing:hover{border-color:var(--line);background:var(--ok)}
.tc-ing .tc-emc{width:38px;height:38px;font-size:1.15rem}
.tc-ingn{display:block;font-weight:600;line-height:1.25}
.tc-ingd{display:block;font-size:.88rem;line-height:1.3;color:var(--muted)}
.tc-two{columns:2;column-gap:32px;margin:0;padding:0;list-style:none}
.tc-two li{break-inside:avoid;margin:0;padding:9px 0;border-bottom:1px solid var(--line)}
.tc-two a{font-weight:600;text-decoration:none}.tc-two a:hover{text-decoration:underline}
.tc-sidecard{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--tool)}
.tc-sidecard h2{margin:0 0 6px;font-size:.9rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.tc-sidecard ul{margin:0;padding:0;list-style:none}
.tc-sidecard li a{display:block;padding:9px 0;border-bottom:1px solid var(--line);color:var(--fg);font-weight:600;font-size:.98rem;line-height:1.35;text-decoration:none}
.tc-sidecard li:last-child a{border-bottom:0}
.tc-sidecard li a:hover{color:var(--acc-text)}
.tc-foot{margin-top:8px;padding:28px 0 40px;background:var(--card);border-top:1px solid var(--line);font-size:.95rem}
.tc-foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px}
.tc-foot p{margin:.3em 0}
.tc-foot nav{display:flex;flex-wrap:wrap;gap:0 6px}
.tc-foot nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--fg)}
.tc-small{max-width:72ch;font-size:.88rem;color:var(--muted)}
@media (min-width:1100px){.tc-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media (min-width:1024px){
.tc-grid{display:grid;grid-template-columns:minmax(0,760px) 300px;gap:48px;justify-content:center;align-items:start}
.tc-side{position:sticky;top:84px;margin-top:0}
.tc-grid.tc-one{display:block}
.tc-hero{padding:60px 0 68px}
.tc-hero-in{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.tc-hero h1{font-size:3.25rem}
.tc-hero-art{display:block}
}
@media (max-width:640px){
.tc-brand{max-width:none;font-size:1rem}
.tc-chead{padding:12px 16px}.tc-cbody{padding:16px}
h1{font-size:1.75rem;line-height:1.2}
h2{font-size:1.3rem}
.tc-hero{padding:30px 0 36px}
.tc-hero h1{font-size:2.25rem}
.tc-hero-lead{font-size:1.15rem}
.tc-hero .tc-search input{height:52px}
.tc-hero .tc-search>.ic{top:15px}
.tc-rval{font-size:2.25rem}
.tc-also{grid-template-columns:repeat(2,minmax(0,1fr));min-height:162px}
.tc-learn{margin-left:0;flex-basis:100%}
.tc-two{columns:1}
}
@media (prefers-reduced-motion:no-preference){.tc-tool,.tc-cat,.tc-popc,.tc-cta,.tc-pill,.tc-chip,.tc-mini,.tc-btn,.tc-mode,.tc-ing{transition:border-color .15s,box-shadow .15s,filter .15s,background-color .15s,transform .15s}}
@media print{.tc-head,.tc-foot,.tc-side,.tc-share,.tc-btn,.tc-chips,.tc-ract,.tc-tabs,.tc-hero-art{display:none}}
.tc-art-sm{max-width:260px;margin:8px auto 18px}
.tc-sort{appearance:none;font:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:24px}
.tc-sort::after{content:"\2195";opacity:.5;font-size:.95em}
th[aria-sort="ascending"] .tc-sort::after{content:"\25B2";opacity:1;font-size:.7em}
th[aria-sort="descending"] .tc-sort::after{content:"\25BC";opacity:1;font-size:.7em}
.tc-sort:hover{color:var(--acc-text)}
.np-table td.tc-num,.np-table thead th[data-kind="num"]{text-align:right;font-variant-numeric:tabular-nums}
.np-table.tc-compare thead th{text-align:left}
.np-table.tc-compare tbody th{white-space:normal;min-width:9rem}
.tc-verdict{display:flex;gap:18px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:var(--ok)}
.tc-vword{flex:none;font-size:2.4rem;font-weight:800;letter-spacing:-.02em;line-height:1;color:var(--acc-text)}
.tc-vtext{margin:0;font-size:1.05rem}
.tc-verdict.tc-no{background:var(--card);border-color:var(--edge)}
.tc-check{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--tool)}
.tc-checkh{margin:0 0 10px;font-weight:700}
.tc-checkrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tc-checkrow label{display:flex;flex-direction:column;gap:6px;font-size:.92rem;color:var(--muted)}
.tc-checkrow input{height:44px;padding:0 12px;border:1px solid var(--edge);border-radius:10px;background:var(--bg);color:var(--fg);font:inherit;font-size:1rem}
.tc-checkout{margin:12px 0 0;font-weight:600;min-height:1.6em}
@media (max-width:560px){.tc-checkrow{grid-template-columns:1fr}.tc-verdict{flex-direction:column;align-items:flex-start;gap:8px}}

.np-hd{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.np-hd-in{position:relative;display:flex;align-items:center;gap:8px;height:56px;max-width:1200px;margin:0 auto;padding:0 16px}
.np-hd .np-hd-in .np-brand,.np-ft .np-fbrand .np-brand{display:inline-flex;align-items:center;gap:8px;flex:none;max-width:none;min-height:44px;overflow:visible;font-family:inherit;font-size:1.05rem;font-weight:800;letter-spacing:-.01em;white-space:nowrap;color:var(--fg);text-decoration:none}
.np-hd .np-brand::before,.np-ft .np-brand::before{display:none}
.np-hd .tt-logo,.np-ft .tt-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:30px;padding:0 6px;border-radius:8px;background:var(--acc);color:var(--acc-fg);font-style:normal;font-size:.9rem;font-weight:800;letter-spacing:0}
.np-hn{display:flex;align-items:center;gap:2px;margin-left:6px}
.np-hn a,.np-hn summary{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;border-radius:8px;color:var(--fg);font-size:.92rem;font-weight:600;line-height:1.2;text-decoration:none;cursor:pointer;list-style:none;white-space:nowrap}
.np-hn summary::-webkit-details-marker{display:none}
.np-hn a:hover,.np-hn summary:hover,.np-dd[open]>summary{background:var(--ok)}
.np-hn [aria-current]{color:var(--acc-text);box-shadow:inset 0 -3px 0 var(--acc)}
.np-hn .i-chev{width:16px;height:16px}
.np-dd[open]>summary .i-chev{transform:rotate(180deg)}
.np-dd{position:relative}
.np-dd>ul{position:absolute;left:0;top:calc(100% + 6px);z-index:60;min-width:300px;margin:0;padding:6px;list-style:none;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.22)}
.np-dd>ul a{display:flex;justify-content:space-between;gap:16px;width:100%;box-shadow:none}
.np-n{flex:none;color:var(--muted);font-size:.85rem;font-weight:400}
.np-hs{position:relative;flex:1 1 140px;min-width:0;max-width:360px;margin-left:auto}
.np-hs>.ic{position:absolute;left:12px;top:12px;color:var(--muted);pointer-events:none}
.np-hs input{display:block;width:100%;height:44px;padding:0 14px 0 40px;border:1px solid var(--edge);border-radius:999px;background:var(--card);color:var(--fg);font:inherit;font-size:1rem}
.np-hs input::placeholder{color:var(--muted);opacity:1}
.np-hpop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;background:var(--bg);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(15,23,42,.22)}
.np-hpop[hidden],.np-hfb[hidden]{display:none}
.np-hr{margin:0;padding:6px;list-style:none;max-height:min(60vh,380px);overflow:auto}
.np-hr a{display:block;min-height:44px;padding:8px 12px;border-radius:8px;color:var(--fg);text-decoration:none;font-weight:600;line-height:1.3}
.np-hr small{display:block;margin-top:2px;color:var(--muted);font-weight:400;font-size:.85rem}
.np-hr a:hover,.np-hr li[aria-selected="true"] a{background:var(--ok)}
.np-hr .np-none{padding:12px;color:var(--muted)}
.np-hfb{margin:0;padding:0 12px 6px;font-size:.92rem}
.np-hfb a{display:inline-flex;align-items:center;min-height:44px;color:var(--acc-text);font-weight:600}
.np-ib{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--fg);font:inherit;cursor:pointer}
.np-ib:hover{border-color:var(--acc)}
.np-mode-d{margin-left:2px}
.np-mode .i-sun{display:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .np-mode .i-sun{display:inline}:root:not([data-theme="light"]) .np-mode .i-moon{display:none}}
:root[data-theme="dark"] .np-mode .i-sun{display:inline}:root[data-theme="dark"] .np-mode .i-moon{display:none}
.np-mode-m{display:none;width:100%;min-height:44px;padding:0 10px;gap:8px;justify-content:flex-start;border:0;border-radius:8px;background:transparent;color:var(--fg);font-size:.92rem;font-weight:600;cursor:pointer}
.np-mode-m:hover{background:var(--ok)}
.np-sb,.np-menu,.np-sx{display:none}
.np-menu .i-close{display:none}
.np-hd.np-open .np-menu .i-menu{display:none}
.np-hd.np-open .np-menu .i-close{display:block}
html:not(.js) .np-hs,html:not(.js) .np-mode,html:not(.js) .np-sb,html:not(.js) .np-menu{display:none}
html:not(.js) .np-hd-in{height:auto;min-height:56px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
@media (max-width:900px){
.np-hd .np-hd-in .np-brand{margin-right:auto;min-width:0}
.np-sb,.np-menu{display:inline-flex}
.np-mode-d{display:none}
.np-mode-m{display:flex}
.np-hn{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:8px 16px 16px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 14px 24px -12px rgba(15,23,42,.28);max-height:calc(100vh - 56px);overflow:auto}
.np-hd.np-open .np-hn{display:flex}
.np-hn a,.np-hn summary{justify-content:space-between;width:100%}
.np-dd>ul{position:static;min-width:0;padding:0 0 4px 12px;border:0;box-shadow:none}
.np-hs{display:none}
.np-hd.np-so .np-hs{display:block;position:absolute;left:0;right:0;top:0;bottom:0;z-index:5;max-width:none;margin:0;padding:6px 16px;background:var(--bg)}
.np-hd.np-so .np-hs>.ic{left:28px;top:18px}
.np-hd.np-so .np-hs input{padding-right:52px}
.np-hd.np-so .np-sx{display:inline-flex;position:absolute;right:20px;top:6px;border-color:transparent}
.np-hs .np-hpop{left:16px;right:16px;top:calc(100% - 2px)}
html:not(.js) .np-hn{display:flex;position:static;box-shadow:none;max-height:none;overflow:visible;flex-direction:row;flex-wrap:wrap;padding:0}
}
.np-ft{margin-top:8px;padding:32px 0 20px;background:var(--card);border-top:1px solid var(--line);font-size:.95rem;color:var(--fg)}
.np-ft-in{max-width:1200px;margin:0 auto;padding:0 16px}
.np-ft-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.np-fc p{margin:.5em 0;max-width:42ch;color:var(--muted)}
.np-fc .np-fup{font-size:.88rem}
.np-fh{margin:0 0 6px;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.np-fc ul{margin:0;padding:0;list-style:none}
.np-fc li{margin:0}
.np-fc li a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;color:var(--fg);text-decoration:none}
.np-fc li a:hover{color:var(--acc-text);text-decoration:underline}
.np-ft .np-n{font-size:.82rem}
.np-ft-bar{margin-top:20px;padding-top:14px;border-top:1px solid var(--line);font-size:.88rem;color:var(--muted)}
.np-ft-bar p{margin:.3em 0;max-width:80ch}
@media (min-width:640px){.np-ft-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){.np-ft-cols{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:32px}}
@media print{.np-hd,.np-ft{display:none}}

.tt-fields{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.tt-wide{grid-column:1/-1}
.tt-card .tc-field input[type="text"],.tt-card .tc-field input[type="password"],.tt-card .tc-field select,.tt-card .tc-field textarea{display:block;width:100%;border:1px solid var(--edge);border-radius:10px;background:var(--bg);color:var(--fg);font:inherit;font-size:1.0625rem}
.tt-card .tc-field input[type="text"],.tt-card .tc-field input[type="password"],.tt-card .tc-field select{height:48px;padding:0 14px}
.tt-card .tc-field textarea{padding:12px 14px;min-height:96px;resize:vertical;line-height:1.5;font-family:var(--f-mono);font-size:1rem}
.tt-check{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:600;cursor:pointer}
.tt-check input{width:20px;height:20px;flex:none;accent-color:var(--acc)}
.tt-hint{margin:6px 0 0;font-size:.85rem;color:var(--muted)}
.tt-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.tt-btn{appearance:none;min-height:48px;padding:0 24px;border:1px solid var(--acc);border-radius:12px;background:var(--acc);color:var(--acc-fg);font:inherit;font-weight:700;cursor:pointer}
.tt-btn:hover{filter:brightness(.93)}
.tt-btn.tt-ghost{background:var(--bg);border-color:var(--edge);color:var(--fg)}
.tt-note{min-height:1.5em;margin:14px 0 0;color:var(--muted);font-size:.95rem}
.tt-card[data-state="error"] .tt-note,.tt-card[data-state="note"] .tt-note{color:var(--fg);font-weight:600}
.tt-result{margin-top:12px}
.tt-result .tc-rval{font-size:2.25rem}
.tt-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:6px}
.tt-tiles .tc-tile{min-height:68px}
.tt-out{margin-top:14px}
.tt-out>.tc-alsoh{margin:0 0 6px}
.tt-outrow{display:flex;gap:8px;align-items:flex-start}
.tt-outrow>.tt-line,.tt-outrow>.tt-box{flex:1 1 auto;min-width:0}
.tt-line{min-height:46px;padding:10px 12px;background:var(--tool);border:1px solid var(--line);border-radius:10px;font-family:var(--f-mono);font-size:1.1rem;font-weight:600;overflow-wrap:anywhere;word-break:break-all}
.tt-box{margin:0;min-height:56px;max-height:340px;overflow:auto;padding:12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--tool);border:1px solid var(--line);border-radius:10px;font-family:var(--f-mono);font-size:.98rem}
.tt-text{margin:14px 0 0;min-height:1.4em}
.tt-swatch{height:56px;border:1px solid var(--edge);border-radius:10px}
.tt-prev{display:flex;align-items:center;justify-content:center;min-height:72px;padding:12px;border:1px solid var(--edge);border-radius:10px;font-size:1.25rem;font-weight:700}
.tt-copy{flex:none}
html:not(.js) .tt-actions,html:not(.js) .tt-copy{display:none}
.tt-wrap{padding-bottom:40px}
.tt-wrap h1{margin-top:.6em}
.tt-lead{max-width:70ch;color:var(--muted);font-size:1.1rem}
.tt-srcnote{font-size:.92rem;color:var(--muted)}
.tt-card .tc-field input[type="file"]{display:block;width:100%;padding:10px 12px;border:1px dashed var(--edge);border-radius:10px;background:var(--bg);color:var(--fg);font:inherit;font-size:1rem}
.tt-out>.np-tablewrap{margin:0}
.tc-limits{margin:.4em 0;padding-left:1.2em}
.tc-limits li{margin:.4em 0;max-width:68ch}
.tt-lead-tool{margin:20px 0 0}
.tt-trynow{margin:0 0 10px;font-weight:700}
.tt-haslogo::before{display:none}
.tt-logo{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:30px;height:30px;padding:0 6px;border-radius:8px;background:var(--acc);color:var(--acc-fg);font-style:normal;font-size:.9rem;font-weight:800;letter-spacing:0}
.tt-alist{columns:2 280px;column-gap:28px;margin:0;padding:0;list-style:none}
.tt-alist li{break-inside:avoid;padding:9px 0;border-bottom:1px solid var(--line)}
.tt-alist a{font-weight:600}
.tt-alist span{display:block;color:var(--muted);font-size:.9rem}
@media (max-width:640px){.tt-result .tc-rval{font-size:1.9rem}}
@media print{.tt-actions,.tt-copy{display:none}}
