/* Zenbek dashboard design (loads after app.css / design.css / extra.css) */
:root{--bg:#f4f7ff;--surface:#fff;--ink:#0f1a3d;--muted:#5b6788;--line:#e4e9f7;--brand:#3563f0;--brand-ink:#fff;--soft:#e9efff;--ok:#12a374;--err:#d6336c;
--g:linear-gradient(135deg,#3b82f6,#6d5ef6);--r:18px;--shadow:0 1px 2px rgba(20,32,90,.05),0 14px 30px -16px rgba(53,99,240,.28);--side:252px}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0c1126;--surface:#141a36;--ink:#eef1ff;--muted:#9aa5cf;--line:#252d52;--brand:#7f9bff;--brand-ink:#0c1126;--soft:#1e2750;--ok:#3ddba7;--err:#ff7aa8;--shadow:0 1px 2px rgba(0,0,0,.4),0 14px 30px -16px rgba(0,0,0,.7)}}
:root[data-theme="dark"]{--bg:#0c1126;--surface:#141a36;--ink:#eef1ff;--muted:#9aa5cf;--line:#252d52;--brand:#7f9bff;--brand-ink:#0c1126;--soft:#1e2750;--ok:#3ddba7;--err:#ff7aa8;--shadow:0 1px 2px rgba(0,0,0,.4),0 14px 30px -16px rgba(0,0,0,.7)}
body{font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(1000px 520px at 15% -8%,color-mix(in srgb,var(--brand) 11%,transparent),transparent 62%),var(--bg);overflow-x:hidden}
h1,h2,h3,.logo,.tool strong,.drop b,.ph h2,.done h3{font-family:Manrope,system-ui,sans-serif}
h1{font-weight:800;letter-spacing:-.025em}
h2{font-weight:800;letter-spacing:-.02em}
.wrap{max-width:1240px;padding:0 28px}

/* ---------- sidebar ---------- */
.side{position:fixed;left:0;top:0;bottom:0;width:var(--side);z-index:60;display:flex;flex-direction:column;gap:16px;padding:22px 14px calc(18px + env(safe-area-inset-bottom,0px));overflow-y:auto;background:var(--bg)}
.side-top{display:flex;align-items:center;justify-content:space-between;padding:0 8px 6px}
.snav{display:flex;flex-direction:column;gap:4px}
.snav a{display:flex;align-items:center;gap:13px;padding:11px 14px;border-radius:13px;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;line-height:1.2;transition:background .15s,color .15s}
.snav a svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.snav a:hover{background:color-mix(in srgb,var(--brand) 8%,transparent)}
.snav a.on{background:var(--soft);color:var(--brand);font-weight:800}.snav a.on svg{opacity:1}
.sbox{margin-top:auto;display:grid;grid-template-columns:44px 1fr 18px;gap:2px 12px;align-items:center;padding:14px;border-radius:16px;background:color-mix(in srgb,var(--brand) 7%,var(--surface));border:1px solid var(--line);text-decoration:none;color:var(--ink)}
.sbox+.sbox{margin-top:-8px}
.sbox svg{grid-row:1/3;width:44px;height:44px;padding:10px;border-radius:12px;background:var(--g);color:#fff;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sbox b{font-size:15px;font-weight:800;align-self:end;line-height:1.25}.sbox small{font-size:13px;color:var(--muted);align-self:start;line-height:1.3}
.sbox .ar{grid-row:1/3;grid-column:3;width:16px;height:16px;padding:0;background:none;color:var(--muted)}
.sclose{display:none}
.scrim{position:fixed;inset:0;background:rgba(8,12,30,.5);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:opacity .2s;z-index:55}
.skip{z-index:100}

/* ---------- topbar ---------- */
header.top{display:flex;align-items:center;gap:14px;padding:14px 0;position:sticky;top:0;z-index:30;justify-content:flex-start;background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(14px);border-bottom:0}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:800;font-size:25px;letter-spacing:-.03em}
.logo svg,.logo img{width:36px;height:36px;flex:none;display:block;border-radius:8px}
.logo .lt{display:block;line-height:1}
.burger{display:none;width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:var(--surface);place-items:center;padding:0;flex:none}
.burger svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round}
.search{position:relative;flex:1;max-width:600px}
.search>svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:19px;height:19px;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round;pointer-events:none}
.search input{width:100%;margin:0;height:46px;padding:0 16px 0 46px;border-radius:15px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:500 15px Manrope,system-ui,sans-serif;box-shadow:0 1px 2px rgba(20,32,90,.04)}
.search input::placeholder{color:var(--muted);opacity:.85}
.search input:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 16%,transparent)}
.sres{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:6px;max-height:min(60vh,420px);overflow:auto;z-index:40}
.sres[hidden]{display:none}
.sres a{display:block;padding:11px 14px;border-radius:12px;text-decoration:none;color:var(--ink)}
.sres a b{display:block;font-size:15px;font-weight:700}.sres a small{display:block;color:var(--muted);font-size:13px;line-height:1.35;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sres a:hover,.sres a.cur{background:var(--soft)}
.sres p{margin:0;padding:14px;color:var(--muted);font-size:14px}
.ctl{margin-left:auto;display:flex;align-items:center;gap:10px}
.lang{background:var(--surface);border:1px solid var(--line);padding:3px;border-radius:14px}
.lang a{padding:7px 11px;font-size:13px;border-radius:11px;font-weight:700}
.lang a[aria-current="page"]{background:var(--brand);color:var(--brand-ink)}
.theme{width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:var(--surface)}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;min-height:270px;margin:6px 0 22px;padding:38px 44px;border-radius:28px;background:linear-gradient(118deg,#f0f3ff 0%,#e3e9ff 58%,#eef0ff 100%);border:1px solid color-mix(in srgb,var(--brand) 14%,transparent)}
:root[data-theme="dark"] .hero{background:linear-gradient(118deg,#151c3f,#1b2552 60%,#161d44)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hero{background:linear-gradient(118deg,#151c3f,#1b2552 60%,#161d44)}}
.hero::before{content:"";position:absolute;right:-60px;bottom:-90px;width:420px;height:300px;border-radius:50%;background:radial-gradient(closest-side,rgba(139,120,255,.30),transparent);pointer-events:none}
.hero h1{position:relative;font-size:clamp(28px,3.3vw,44px);line-height:1.12;margin:0 0 14px;max-width:16ch}
.hero .lead{position:relative;margin:0 0 22px;font-size:16.5px;max-width:48ch;color:var(--muted)}
.badges{position:relative;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.badges li{display:flex;align-items:center;gap:8px;padding:8px 14px 8px 10px;border-radius:999px;background:color-mix(in srgb,var(--surface) 88%,transparent);font-size:13.5px;font-weight:600;box-shadow:0 1px 2px rgba(20,32,90,.05)}
.badges li::before{content:"";width:20px;height:20px;border-radius:50%;flex:none;background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%}
.hero-art{position:relative;justify-self:end;width:100%;max-width:470px}
.hero-art svg{display:block;width:100%;height:auto}
.hero-note{position:absolute;right:2%;top:2%;transform:rotate(7deg);padding:12px 22px 12px 18px;border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 14px 30px -14px rgba(53,99,240,.4);display:grid;gap:1px;font-weight:700;font-size:14px;color:#2d3b6e}
.hero-note b{font-weight:700;display:block}
:root[data-theme="dark"] .hero-note{background:rgba(30,39,80,.9);color:#dfe5ff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hero-note{background:rgba(30,39,80,.9);color:#dfe5ff}}

/* ---------- category chips (mobile) ---------- */
.cats{display:none}

/* ---------- feature cards ---------- */
.feat{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 30px}
.fc{position:relative;display:flex;flex-direction:column;gap:6px;min-height:176px;padding:20px 20px 18px;border-radius:22px;text-decoration:none;color:var(--ink);border:1px solid color-mix(in srgb,var(--c) 18%,transparent);background:linear-gradient(140deg,color-mix(in srgb,var(--c) 16%,var(--surface)),color-mix(in srgb,var(--c) 5%,var(--surface)));cursor:pointer;transition:transform .18s,box-shadow .18s;text-align:left;font:inherit;width:100%}
.fc:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.fc .ic{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin-bottom:8px;background:linear-gradient(135deg,var(--c),color-mix(in srgb,var(--c) 55%,#fff));box-shadow:0 10px 18px -10px var(--c)}
.fc .ic svg{width:27px;height:27px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.fc b{font-size:19px;font-weight:800;letter-spacing:-.015em}
.fc small{font-size:13.5px;line-height:1.4;color:var(--muted);max-width:24ch;padding-right:36px}
.fc .go{position:absolute;right:16px;bottom:16px;width:38px;height:38px;border-radius:50%;background:var(--surface);display:grid;place-items:center;box-shadow:0 4px 12px -6px rgba(20,32,90,.4)}
.fc .go svg{width:18px;height:18px;stroke:var(--brand);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fc .nb{position:absolute;right:16px;top:16px;background:var(--g);color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;padding:4px 10px;border-radius:99px}
.fc.c1{--c:#14b8a6}.fc.c2{--c:#6366f1}.fc.c3{--c:#22c55e}.fc.c4{--c:#8b5cf6}
.sugg{margin:-14px 0 28px;padding:18px 20px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.sugg[hidden]{display:none}
.sugg h3{margin:0 0 4px;font-size:17px;font-weight:800}.sugg p{margin:0 0 12px;color:var(--muted);font-size:14px;overflow-wrap:anywhere}
.sugg .sl{display:flex;flex-wrap:wrap;gap:8px}
.sugg .sl a{padding:10px 16px;border-radius:12px;background:var(--soft);color:var(--brand);font-weight:700;font-size:14px;text-decoration:none}
.sugg .sl a:hover{background:var(--brand);color:var(--brand-ink)}

/* ---------- sections + tool cards ---------- */
.shead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:6px 0 14px}
.shead h2,.sec>h2{margin:0;font-size:24px;line-height:1.2}
.seeall{color:var(--brand);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
.sec{margin:34px 0 0;scroll-margin-top:84px}
.sec>h2.grp{display:block;margin:0 0 14px;padding:0;font:800 24px/1.2 Manrope,sans-serif;letter-spacing:-.02em;text-transform:none;color:var(--ink)}
.sec>h2.grp:after{display:none}
#popular,#all{scroll-margin-top:84px}
.grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;padding-bottom:0}
.tool{display:grid;grid-template-columns:50px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-content:center;align-items:center;position:relative;overflow:hidden;min-height:88px;padding:16px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 2px rgba(20,32,90,.03);--tc:#3b82f6}
.tool svg{position:static;transform:none;grid-row:1/3;grid-column:1;width:50px;height:50px;padding:12px;border-radius:15px;background:color-mix(in srgb,var(--tc) 14%,var(--surface));color:var(--tc);stroke:currentColor;fill:none;stroke-width:1.8;box-sizing:border-box;transition:.18s}
.tool strong{grid-column:2;align-self:end;font:800 15px/1.25 Manrope,sans-serif;letter-spacing:-.01em;overflow-wrap:anywhere}
.tool span{grid-column:2;align-self:start;font-size:13px;line-height:1.4;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tool .new{position:absolute;top:10px;right:10px;order:0;margin:0;padding:2px 8px;font:800 10px Manrope,sans-serif;letter-spacing:.05em}
.tool .new+strong{padding-right:42px}
.tool:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--tc) 45%,var(--line));box-shadow:var(--shadow)}
.tool:hover svg{background:var(--tc);color:#fff}
.grid .tool:nth-child(8n+1){--tc:#ef4444}.grid .tool:nth-child(8n+2){--tc:#3b82f6}.grid .tool:nth-child(8n+3){--tc:#8b5cf6}.grid .tool:nth-child(8n+4){--tc:#10b981}
.grid .tool:nth-child(8n+5){--tc:#f97316}.grid .tool:nth-child(8n+6){--tc:#ec4899}.grid .tool:nth-child(8n+7){--tc:#0ea5e9}.grid .tool:nth-child(8n){--tc:#d99a00}
.grid.pop{grid-template-columns:repeat(4,minmax(0,1fr))}

/* ---------- steps + why ---------- */
.steps{margin:44px 0 0}
.steps h2{margin:0 0 16px;font-size:24px}
.stl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.st{display:grid;grid-template-columns:48px 1fr;gap:4px 16px;align-items:center;padding:20px;border-radius:20px;background:var(--surface);border:1px solid var(--line)}
.st i{grid-row:1/3;width:48px;height:48px;border-radius:50%;background:var(--soft);color:var(--brand);display:grid;place-items:center;font:800 20px Manrope,sans-serif;font-style:normal}
.st b{font-size:16px;font-weight:800;align-self:end}.st span{color:var(--muted);font-size:14px;line-height:1.4;align-self:start}
.why{margin-top:40px}.why h2{margin:0 0 10px;font-size:22px}.why .lead{margin:0;font-size:15.5px}
footer{margin-top:40px;padding-bottom:calc(36px + env(safe-area-inset-bottom,0px))}

/* ---------- tool pages ---------- */
.tp{gap:18px}
.tp h1{font-size:clamp(26px,3.2vw,38px);margin:10px 0 0;max-width:none}
.card{border-radius:24px;background:var(--surface)}
.btn{background:var(--g);min-height:50px;border-radius:15px}
.chip{min-height:40px}

/* ---------- desktop shell ---------- */
@media (min-width:1100px){
 body{padding-left:var(--side)}
 header.top .logo{display:none}
 .side .side-top{padding-top:2px}
}
/* ---------- tablet / mobile ---------- */
@media (max-width:1099px){
 .side{transform:translateX(-105%);visibility:hidden;width:min(300px,86vw);background:var(--surface);box-shadow:24px 0 60px -20px rgba(0,0,0,.4);transition:transform .25s ease,visibility .25s}
 body.menu-open .side{transform:none;visibility:visible}
 body.menu-open .scrim{opacity:1;pointer-events:auto}
 body.menu-open{overflow:hidden}
 .burger{display:grid}
 .sclose{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--bg);font-size:22px;line-height:1;color:var(--ink)}
 header.top{flex-wrap:wrap;gap:10px 10px;padding:12px 0 10px}
 header.top .logo{font-size:22px}
 header.top .logo svg,header.top .logo img{width:32px;height:32px}
 .ctl{margin-left:auto}
 .search{order:3;flex:1 1 100%;max-width:none}
 .grid.pop{grid-template-columns:repeat(2,minmax(0,1fr))}
 .feat{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero{padding:30px 28px}
}
@media (max-width:760px){
 .wrap{padding:0 16px}
 .hero{grid-template-columns:1fr;min-height:0;padding:24px 20px;border-radius:24px;margin-top:2px}
 .hero-art{display:none}
 .hero h1{font-size:27px;max-width:none}
 .hero .lead{font-size:15px;margin-bottom:16px}
 .badges{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .badges li{font-size:12.5px;padding:7px 10px 7px 8px;gap:7px}
 .cats{display:flex;gap:8px;overflow-x:auto;margin:0 -16px 18px;padding:2px 16px 6px;scroll-snap-type:x proximity;scrollbar-width:none}
 .cats::-webkit-scrollbar{display:none}
 .cats a{flex:none;scroll-snap-align:start;padding:10px 16px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
 .feat{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:74%;gap:12px;overflow-x:auto;margin:0 -16px 24px;padding:2px 16px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}
 .feat::-webkit-scrollbar{display:none}
 .fc{scroll-snap-align:start;min-height:158px;padding:18px}
 .fc b{font-size:17px}
 .sugg{margin-top:-8px;padding:16px}
 .shead h2,.sec>h2,.sec>h2.grp,.steps h2{font-size:21px}
 .sec{margin-top:28px}
 .grid{grid-template-columns:1fr;gap:10px}
 .grid.pop{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .grid.pop .tool{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:0;padding:14px}
 .grid.pop .tool span{display:none}
 .grid.pop .tool .new{top:8px;right:8px}
 .grid.pop .tool .new+strong{padding-right:0}
 .tool{min-height:78px;padding:13px 14px;grid-template-columns:46px minmax(0,1fr);column-gap:12px}
 .tool svg{width:46px;height:46px;padding:11px}
 .stl{grid-template-columns:1fr;gap:10px}
 .st{padding:16px}
 .tp .card,.card{padding:18px;border-radius:20px}
 .tp h1{font-size:25px}
 input,select,textarea{font-size:16px!important}
 .btn,.btn.ghost{min-height:52px}
 .fl{gap:8px 16px}
}
@media (max-width:380px){.lang a{padding:6px 8px;font-size:12px}.ctl{gap:6px}.theme,.burger{width:40px;height:40px}.logo .lt{font-size:21px}}
@media (prefers-reduced-motion:reduce){.side,.scrim{transition:none}}

/* ---------- fixes after first visual pass ---------- */
.hero h1{max-width:20ch;font-size:clamp(28px,3vw,40px)}
.hint{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 12px;padding:12px 16px;border-radius:18px;margin:6px 0 16px}
.hint .btn{width:auto;margin:0;min-height:40px;padding:8px 18px;text-align:center;display:inline-flex;align-items:center;justify-content:center}
@media (max-width:760px){
 header.top{gap:8px}
 .burger,.theme{width:40px;height:40px;border-radius:12px}
 .logo{font-size:21px;gap:7px}.logo svg,.logo img{width:30px;height:30px}
 .lang a{padding:6px 8px;font-size:12px}.lang{padding:2px;border-radius:12px}
 .ctl{gap:6px}
 .hint{padding:10px 12px}
}
@media (max-width:760px){
 .feat,.cats{scroll-padding:0 16px}
 .grid.pop .tool strong,.grid.pop .tool span{align-self:flex-start;grid-column:auto}
 .grid.pop .tool svg{grid-row:auto;grid-column:auto}
}
#more:empty{display:none}

/* ===== no-upload accent ===== */
.nosrv,.meter{display:flex;gap:10px;align-items:center;margin:0 0 20px;padding:10px 14px;border-radius:14px;background:rgba(34,170,110,.12);border:1px solid rgba(34,170,110,.38);color:var(--ink);font-size:14.5px;font-weight:600;line-height:1.4}
.nosrv::before,.meter::before{content:"";flex:none;width:22px;height:22px;border-radius:0;background:var(--ok,#1f9d6b);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 3v6c0 4.8-3.300 8-8 9-4.700-1-8-4.200-8-9V6z' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 12l2.200 2.200L15.500 10' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 3v6c0 4.8-3.300 8-8 9-4.700-1-8-4.200-8-9V6z' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 12l2.200 2.200L15.500 10' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat}
.meter{margin:0 0 20px}
.nosrv-hero{display:flex;gap:16px;align-items:center;margin:0 0 22px;padding:18px 20px;border-radius:20px;background:rgba(34,170,110,.12);border:1.5px solid rgba(34,170,110,.45)}
.nosrv-hero b{display:block;font-size:clamp(18px,2.6vw,24px);line-height:1.25}
.nosrv-hero span{display:block;margin-top:4px;color:var(--muted);font-size:15px}
.nosrv-hero em{font-style:normal;display:inline-block;margin-top:8px;padding:4px 12px;border-radius:99px;background:var(--ok,#1f9d6b);color:#fff;font-weight:700;font-size:14px}
.nosrv-hero svg{flex:none;width:44px;height:44px;stroke:var(--ok,#1f9d6b);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hfaq{margin:34px 0 10px}.hfaq details{margin:8px 0}
/* ===== Zenbek new tools ===== */
.zb-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px}@media(max-width:720px){.zb-cols{grid-template-columns:1fr}}
.zb-col h3,#zb-app h3{margin:6px 0 8px;font-size:16px}.zb-file{display:inline-flex;cursor:pointer}
.zb-opts{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0 14px}.zb-opts.col{flex-direction:column}.zb-opts label{display:flex;gap:8px;align-items:center}
.zb-sum{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.zb-sum span{padding:8px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}.zb-sum b{font-size:20px;margin-right:4px}
.zb-sum .a b{color:#12875c}.zb-sum .d b{color:#d03a4d}.zb-sum .c b{color:#b7791f}
.zb-diff{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:10px;font-size:14px}.zb-r{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.zb-r:first-child{border-top:0}
.zb-r>div{padding:6px 10px;overflow-wrap:anywhere;min-height:30px}.zb-r>div+div{border-left:1px solid var(--line)}
.zb-diff.only .zb-r.eq{display:none}.zb-r .rm{background:rgba(220,60,80,.12)}.zb-r .ad{background:rgba(34,170,110,.14)}.zb-r .ch{background:rgba(230,170,40,.1)}
.zb-diff del{background:rgba(220,60,80,.28);text-decoration:line-through}.zb-diff ins{background:rgba(34,170,110,.3);text-decoration:none}
.zb-pg{display:inline-block;min-width:22px;margin-right:8px;padding:0 6px;border-radius:6px;background:var(--soft);color:var(--muted);font-size:12px;text-align:center}
.zb-only{display:flex;gap:8px;align-items:center;margin:8px 0}
.zb-btns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.zb-bar{display:flex;gap:8px;margin-bottom:10px}.zb-bar select{flex:1}
.zb-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.zb-tabs .btn.on{background:var(--brand);color:#fff}
.zb-card{border:1px solid var(--line);border-radius:18px;padding:22px;text-align:center;background:var(--surface);margin:12px 0}
.zb-q{font-size:clamp(22px,4vw,32px);font-weight:800;margin:14px 0;overflow-wrap:anywhere}.zb-a{font-size:20px;margin:10px 0 16px;overflow-wrap:anywhere}
.zb-rate,.zb-opts2{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.zb-opts2{flex-direction:column;align-items:stretch}.zb-opts2 .btn{text-align:left}
.zb-opts2 .okk{border-color:#12875c;background:rgba(34,170,110,.18)}.zb-opts2 .bad{border-color:#d03a4d;background:rgba(220,60,80,.15)}
.zb-add{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}@media(max-width:720px){.zb-add{grid-template-columns:1fr}}
.zb-list{list-style:none;padding:0;margin:14px 0}.zb-list li{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}
.zb-bx{display:grid;grid-template-columns:90px 1fr 30px;gap:8px;align-items:center;margin:6px 0}.zb-bx i{display:block;height:10px;border-radius:6px;background:var(--brand);min-width:2px}
.zb-dir{display:block;margin:8px 0}.zb-dir select{width:auto}

/* daily budget calculator */
.bd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-bottom:14px}
.bd-f{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}.bd-gap{margin-bottom:14px}
.bd-in{width:100%;padding:12px;border-radius:12px;border:1px solid var(--line);background:transparent;color:inherit;font:inherit;font-weight:500}
.bd-lab{margin:6px 0 8px;font-size:14px;color:var(--muted)}
.bd-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.bd-chips .btn{width:auto;margin:0;min-height:40px;padding:6px 14px;font-size:14px}
.bd-more{margin:0 0 14px}.bd-more summary{cursor:pointer;font-weight:700;padding:6px 0;margin-bottom:10px}
.bd-res{margin-top:18px;padding:20px;border-radius:var(--r);background:var(--soft);border:1px solid var(--line)}
.bd-lab2{font-size:14px;color:var(--muted);font-weight:600}.bd-big{font-size:clamp(34px,8vw,52px);font-weight:800;letter-spacing:-.02em;line-height:1.1;margin:4px 0 6px;color:var(--brand)}
.bd-stats{display:flex;flex-wrap:wrap;gap:6px 22px;margin-top:10px}.bd-stats b{font-weight:800}
.bd-h{margin:18px 0 8px;font-size:16px}.bd-hints{margin:0;padding-left:20px;display:grid;gap:8px}
.bd-warn{color:var(--err);font-weight:700;margin:0}.bd-note{margin:0;color:var(--muted)}

/* ---------- spacing system: 4 / 8 / 12 / 16 / 24 / 32 (related items closer, groups farther) ---------- */
/* text pages (about, contact, privacy, terms, install guide): normal flow so margins do not stack on top of grid gaps */
.tp.legal{display:block}
.tp.legal>h1{margin:8px 0 12px}
.tp.legal>.lead{margin:0 0 24px}
.tp.legal>.nosrv{margin:0 0 24px}
.legal h2{margin:32px 0 12px;font-size:clamp(19px,2.2vw,22px);line-height:1.25}
.legal p{margin:0 0 12px;line-height:1.65}
.legal ul,.legal ol{margin:0 0 16px;padding-left:24px;line-height:1.65}
.legal li{margin:0 0 8px}
.legal li:last-child{margin-bottom:0}
.legal>:last-child{margin-bottom:0}
/* feedback page: one clear column, comfortable width */

/* ---------- home banner (hb) ---------- */
.hb{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:center;gap:8px;margin:6px 0 22px;padding:40px 44px 36px;border-radius:30px;background:radial-gradient(520px 320px at 88% 8%,rgba(150,120,255,.22),transparent 70%),linear-gradient(118deg,#f1f4ff 0%,#e3e9ff 55%,#ece8ff 100%);border:1px solid color-mix(in srgb,var(--brand) 14%,transparent);box-shadow:0 24px 50px -34px rgba(40,70,200,.45)}
:root[data-theme="dark"] .hb{background:radial-gradient(520px 320px at 88% 8%,rgba(120,100,255,.28),transparent 70%),linear-gradient(118deg,#131a3b,#1a2352 60%,#161d44)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hb{background:radial-gradient(520px 320px at 88% 8%,rgba(120,100,255,.28),transparent 70%),linear-gradient(118deg,#131a3b,#1a2352 60%,#161d44)}}
.hb-pill{display:inline-block;margin:0 0 16px;padding:6px 13px;border-radius:99px;background:color-mix(in srgb,var(--brand) 12%,var(--surface));color:var(--brand);font-weight:800;font-size:12px;letter-spacing:.05em;text-transform:uppercase}
.hb h1{margin:0 0 14px;font-size:clamp(32px,4.2vw,54px);line-height:1.06;letter-spacing:-.03em;max-width:none}
.hb h1 span{display:block;background:linear-gradient(90deg,#2f6df0,#7a5cf5);-webkit-background-clip:text;background-clip:text;color:transparent}
.hb-lead{margin:0 0 20px;max-width:50ch;font-size:16.5px;line-height:1.5;color:var(--muted)}
.hb-cta{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px}
.hb-btn{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:0 24px;border-radius:15px;font:800 16px Manrope,system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .15s}
.hb-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hb-btn.p{background:linear-gradient(135deg,#2f6df0,#5a4cf0);color:#fff;box-shadow:0 12px 24px -10px rgba(47,80,240,.65)}
.hb-btn.s{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.hb-btn:hover{transform:translateY(-2px)}.hb-btn:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 45%,transparent);outline-offset:2px}
.hb-feats{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hb-feats li{display:flex;align-items:center;gap:11px;padding:10px 16px 10px 10px;border-radius:16px;background:color-mix(in srgb,var(--surface) 90%,transparent);box-shadow:0 1px 2px rgba(20,32,90,.06),0 10px 22px -16px rgba(30,50,140,.35)}
.hb-feats i{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px}
.hb-feats svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hb-feats b{display:block;font-size:13.5px;line-height:1.2}.hb-feats small{display:block;margin-top:2px;font-size:12px;color:var(--muted);line-height:1.2}
.hb-art{position:relative;width:100%;max-width:520px;justify-self:end;aspect-ratio:520/400}
.hb-art>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hb-fl{animation:zbf 6s ease-in-out infinite}.hb-fl.b{animation-delay:-2s;animation-duration:7s}.hb-fl.c{animation-delay:-4s}
@keyframes zbf{50%{transform:translateY(-7px)}}
.hb-note{position:absolute;left:0;top:7%;width:30%;font:italic 700 15px/1.2 Manrope,system-ui,sans-serif;color:var(--ink);transform:rotate(-6deg)}
.hb-note svg{display:block;width:44px;height:30px;margin:6px 0 0 34%;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hb-bytes{position:absolute;left:12%;bottom:6%;display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:18px;background:linear-gradient(135deg,#0c3b33,#06241f);border:2px solid #19e3a0;box-shadow:0 0 0 4px rgba(25,227,160,.14),0 18px 34px -12px rgba(8,120,90,.7);color:#fff;transform:rotate(-4deg)}
.hb-bytes strong{display:block;font-size:clamp(22px,3vw,32px);line-height:1;font-weight:800;letter-spacing:-.01em}.hb-bytes strong em{font-style:normal;color:#19e3a0}
.hb-bytes small{display:block;margin-top:5px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;opacity:.9}
.hb-bytes svg{width:42px;height:42px;flex:none;fill:none;stroke:#9fb3ad;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.hb-bytes svg path:last-child{stroke:#ff4d6d;stroke-width:3}
.hb-check{position:absolute;right:0;top:3%;width:37%;margin:0;padding:14px 16px;list-style:none;border-radius:20px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 18px 34px -18px rgba(30,50,140,.5);display:grid;gap:9px;font-weight:700;font-size:13px;transform:rotate(3deg)}
.hb-check li{display:flex;align-items:center;gap:9px;line-height:1.2}
.hb-check li::before{content:"";width:20px;height:20px;border-radius:50%;flex:none;background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%}
.hb-chip{display:none;margin:16px 0 0;padding:9px 14px;border-radius:14px;background:rgba(18,163,116,.14);border:1.5px solid rgba(18,163,116,.5);font-weight:800;font-size:14px;color:var(--ok)}
@media (max-width:1100px){.hb{padding:32px 28px}.hb-check{display:none}}
@media (max-width:860px){.hb-note{display:none}.hb-bytes{left:4%}}
@media (max-width:760px){.hb{grid-template-columns:1fr;padding:24px 18px 22px;border-radius:24px}.hb-art{display:none}.hb-chip{display:block}.hb h1{font-size:34px}.hb-lead{font-size:15px}.hb-cta{flex-direction:column;gap:10px}.hb-btn{justify-content:center;width:100%}.hb-feats{flex-direction:column}.hb-feats li{width:100%}}
@media (prefers-reduced-motion:reduce){.hb-fl{animation:none}.hb-btn{transition:none}}
/* hb layout v2 */
.hb{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);column-gap:20px;padding:36px 40px 30px}
.hb-txt{display:contents}
.hb-pill,.hb h1,.hb-lead,.hb-cta{grid-column:1}.hb-pill{justify-self:start}
.hb h1{font-size:clamp(30px,3.6vw,48px)}
.hb-art{grid-column:2;grid-row:1/span 4;align-self:center}
.hb-feats{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:6px}
.hb-feats li{padding:10px 12px}
.hb-cta{margin-bottom:18px}
.hb-chip{grid-column:1}
.hb-check{display:none}
@media (min-width:1500px){.hb-check{display:grid}}
@media (max-width:1100px){.hb{padding:28px 24px}}
@media (max-width:760px){.hb{grid-template-columns:1fr}.hb-art{display:none}.hb-feats{grid-template-columns:1fr}.hb-chip{grid-row:auto}}
@media (max-width:760px){.hb-pill{font-size:11px;letter-spacing:.03em;padding:6px 11px}.hb-cta{margin-bottom:14px}.hb-feats li{padding:9px 12px 9px 9px}}
/* hb v3: wider home + light 0-bytes plate */
body:has(.hb) .wrap{max-width:1560px}
.hb{container-type:inline-size;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:44px 52px 36px}
.hb-art{max-width:640px}
.hb h1{font-size:clamp(32px,3.8vw,58px)}
.hb-lead{font-size:17.5px;max-width:54ch}
.hb-check{display:none}
@container (min-width:1080px){.hb-check{display:grid}}
.hb-bytes{background:var(--surface);color:var(--ink);border:2px solid #19c98f;box-shadow:0 0 0 4px rgba(25,201,143,.14),0 18px 34px -16px rgba(20,120,90,.45)}
.hb-bytes strong em{color:var(--ok)}
.hb-bytes small{color:var(--muted);opacity:1}
.hb-bytes svg{stroke:var(--muted)}
@media (max-width:1100px){.hb{padding:28px 24px}.hb-check{display:none}}
@media (max-width:760px){.hb{grid-template-columns:1fr;padding:24px 18px 22px}}
@media (min-width:761px){.hb{grid-template-rows:1fr auto auto auto auto 1fr auto}.hb-pill{grid-row:2}.hb h1{grid-row:3}.hb-lead{grid-row:4}.hb-cta{grid-row:5}.hb-art{grid-row:1/span 6;align-self:center}.hb-feats{grid-row:7}}
/* hb v4: compact banner, plain trust row */
.hb{padding:26px 40px 24px;margin-bottom:16px;border-radius:26px}
.hb-pill{margin-bottom:10px;padding:5px 12px;font-size:11.5px}
.hb h1{font-size:clamp(28px,3vw,42px);margin-bottom:10px;line-height:1.08}
.hb h1 span{display:inline}
.hb-lead{font-size:15.5px;margin-bottom:16px;max-width:52ch;line-height:1.45}
.hb-cta{margin-bottom:14px}.hb-btn{min-height:46px;padding:0 22px;font-size:15px}
.hb-art{max-width:400px}
.hb-bytes{padding:10px 14px;gap:10px}.hb-bytes strong{font-size:clamp(18px,2.2vw,25px)}.hb-bytes small{font-size:10px;margin-top:3px}.hb-bytes svg{width:32px;height:32px}
.hb-feats{display:flex;flex-wrap:wrap;gap:6px 20px;margin:0;grid-template-columns:none}
.hb-feats li,.hb-feats li:hover{display:flex;align-items:center;gap:7px;padding:0;background:none;box-shadow:none;border-radius:0;cursor:default;font-size:13.5px;font-weight:600;color:var(--muted)}
.hb-feats svg{width:17px;height:17px;flex:none;color:var(--brand);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:761px){.hb{grid-template-rows:1fr auto auto auto auto auto 1fr}.hb-pill{grid-row:2}.hb h1{grid-row:3}.hb-lead{grid-row:4}.hb-cta{grid-row:5}.hb-feats{grid-row:6;grid-column:1}.hb-art{grid-row:1/span 7;align-self:center}}
@media (max-width:1100px){.hb{padding:22px 22px 20px}}
@media (max-width:760px){.hb{grid-template-columns:1fr;grid-template-rows:none;padding:18px 16px 16px;border-radius:22px;margin-bottom:12px}.hb-pill{display:none}.hb h1{font-size:28px;margin-bottom:8px}.hb-lead{font-size:14px;margin-bottom:12px}.hb-cta{flex-direction:row;gap:8px;margin-bottom:12px}.hb-btn{width:auto;flex:1;padding:0 12px;min-height:44px;font-size:14.5px;justify-content:center}.hb-btn.p{flex:1.4}.hb-feats{gap:4px 14px}.hb-feats li{font-size:12.5px}}
.hb-note{top:0;width:34%;left:-2%}
/* how it works banner */
.hw{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,2.2fr);align-items:center;gap:24px;margin:40px 0 0;padding:26px 34px;border-radius:26px;background:radial-gradient(420px 220px at 0% 0%,rgba(122,92,245,.16),transparent 70%),linear-gradient(118deg,#f1f4ff,#e6ebff 60%,#ede9ff);border:1px solid color-mix(in srgb,var(--brand) 14%,transparent)}
:root[data-theme="dark"] .hw{background:radial-gradient(420px 220px at 0% 0%,rgba(120,100,255,.24),transparent 70%),linear-gradient(118deg,#131a3b,#1a2352 60%,#161d44)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hw{background:radial-gradient(420px 220px at 0% 0%,rgba(120,100,255,.24),transparent 70%),linear-gradient(118deg,#131a3b,#1a2352 60%,#161d44)}}
.hw h2{margin:0 0 6px;font-size:24px;letter-spacing:-.02em}.hw-h p{margin:0;color:var(--muted);font-size:14.5px;line-height:1.4}
.hw-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.hw-l li{position:relative;display:flex;align-items:center;gap:14px;padding:0 34px 0 0;cursor:default}
.hw-l li:not(:last-child)::after{content:"";position:absolute;right:6px;top:50%;width:22px;height:22px;margin-top:-11px;background:var(--brand);opacity:.55;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.hw-n{position:relative;display:grid;place-items:center;flex:none;width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#2f6df0,#6a4cf0);color:#fff;box-shadow:0 10px 20px -10px rgba(47,80,240,.7)}
.hw-n svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hw-n em{position:absolute;top:-4px;right:-4px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--surface);color:var(--brand);font:800 12px/1 Manrope,system-ui,sans-serif;font-style:normal;box-shadow:0 2px 6px rgba(20,32,90,.25)}
.hw-l b{display:block;font-size:15.5px;line-height:1.25}.hw-l small{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.35}
@media (max-width:1100px){.hw{grid-template-columns:1fr;gap:18px;padding:22px}.hw-l li{padding-right:30px}}
@media (max-width:760px){.hw{margin-top:28px;padding:20px 16px;border-radius:22px}.hw-l{grid-template-columns:1fr;gap:18px}.hw-l li{padding:0}.hw-l li:not(:last-child)::after{display:none}.hw-l li:not(:last-child) .hw-n::before{content:"";position:absolute;left:50%;top:100%;width:2px;height:18px;margin-left:-1px;background:color-mix(in srgb,var(--brand) 35%,transparent)}}
/* sidebar v2: colored icon chips, compact footer boxes */
.snav{gap:3px}
.snav a{padding:9px 12px;gap:12px;font-size:14.5px}
.snav a svg{box-sizing:border-box;width:30px;height:30px;padding:6px;border-radius:9px;opacity:1;color:var(--brand);background:color-mix(in srgb,currentColor 12%,transparent)}
.snav a[href$="#pdf"] svg{color:#e5484d}.snav a[href$="#images"] svg{color:#12a374}.snav a[href$="#convert"] svg{color:#f08a00}
.snav a[href$="#docs"] svg{color:#6a4cf0}.snav a[href$="#video"] svg{color:#e0479e}.snav a[href$="#privacy"] svg{color:#2f6df0}.snav a[href$="#more"] svg{color:#6b7a99}
.snav a.on{background:color-mix(in srgb,var(--brand) 10%,transparent)}
.side>.snav+.sbox{position:relative}
.side>.snav+.sbox::before{content:"";position:absolute;left:6px;right:6px;top:-12px;height:1px;background:var(--line)}
.sbox{grid-template-columns:34px 1fr 16px;gap:0 11px;padding:9px 12px;border-radius:14px}
.sbox+.sbox{margin-top:-10px}
.sbox svg{width:34px;height:34px;padding:7px;border-radius:10px}
.sbox b{font-size:14px;align-self:center;grid-row:1/3}.sbox small{display:none}
.sbox .ar{width:15px;height:15px}
.sbox:hover{border-color:color-mix(in srgb,var(--brand) 45%,var(--line))}
@media (min-width:1100px) and (max-height:780px){.side{gap:10px;padding-top:12px}.snav{gap:1px}.snav a{padding:5px 12px}.snav a svg{width:26px;height:26px;padding:5px}.sbox{padding:6px 10px}.sbox svg{width:30px;height:30px;padding:6px}.sbox{grid-template-columns:30px 1fr 16px}.sbox+.sbox{margin-top:-6px}.side>.snav+.sbox::before{top:-8px}}

/* ---------- v52: inner pages match home (same width + scale) ---------- */
.wrap{max-width:1560px}
@media (min-width:900px){
 .tp{gap:22px}
 .tp h1{font-size:clamp(32px,3.4vw,48px);margin:14px 0 0;line-height:1.1}
 .tp>.lead,.tp .lead{font-size:17.5px;line-height:1.55;max-width:80ch;color:var(--muted)}
 .tp .card,.card{padding:30px;border-radius:26px}
 .tp .card h2{font-size:22px}
 .tp .drop,.drop{padding:56px 24px;border-radius:24px}
 .tp .drop b,.drop b{font-size:20px}
 .drop small{font-size:15px}
 .meter,.nosrv{font-size:15.5px;padding:14px 18px;border-radius:16px}
 .tp .btn,.btn{min-height:54px;font-size:16.5px;padding-left:28px;padding-right:28px}
 .tp h2{font-size:26px;line-height:1.2;margin:34px 0 14px}
 .tp .card h2{margin:0 0 14px}
 .tp p,.tp li{font-size:16.5px;line-height:1.6}
 .tp .how{gap:10px}
 .tp .guide p{max-width:90ch}
 .tp select,.tp input[type=text],.tp input[type=number],.tp input:not([type]),.tp textarea{padding:13px 14px;font-size:16px;border-radius:14px}
 .tp .more ul{display:flex;flex-wrap:wrap;gap:10px;padding:0;list-style:none}
 .tp .more a{font-size:15px}
}
.tp.legal{max-width:none}

/* v52: favorite button on tool pages — compact pill, not full-width */
.tp>.zb-pg{justify-self:start;width:auto;margin:0;padding:9px 18px 9px 14px;gap:9px;border:1.5px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font:700 14.5px Manrope,sans-serif;box-shadow:var(--shadow);cursor:pointer;transition:border-color .16s,background .16s,color .16s,transform .16s}
.tp>.zb-pg svg{width:20px;height:20px;color:#f5a524;stroke:currentColor}
.tp>.zb-pg:hover{border-color:#f5a524;background:color-mix(in srgb,#f5a524 10%,var(--surface))}
.tp>.zb-pg:active{transform:scale(.97)}
.tp>.zb-pg[aria-pressed=true]{border-color:#f5a524;background:color-mix(in srgb,#f5a524 14%,var(--surface));color:var(--ink)}
.tp>.zb-pg[aria-pressed=true] svg{fill:#f5a524;stroke:#f5a524}

/* hero carousel */
.hbc{position:relative;margin:6px 0 22px}
.hbc-track{display:grid}
.hbc .hbc-s{grid-area:1/1;margin:0;opacity:0;visibility:hidden;transform:translateX(18px);transition:opacity .45s ease,transform .45s ease,visibility 0s .45s}
.hbc .hbc-s.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .45s ease,transform .45s ease,visibility 0s}
.hbc-dots{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
.hbc-dots button{position:relative;width:8px;height:8px;padding:0;border:0;border-radius:99px;background:color-mix(in srgb,var(--muted) 40%,transparent);cursor:pointer;transition:width .25s ease,background .25s ease}
.hbc-dots button::after{content:"";position:absolute;inset:-9px -5px}
.hbc-dots button[aria-current="true"]{width:26px;background:var(--brand)}
.hbc-dots button:focus-visible,.hbc-nav:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 45%,transparent);outline-offset:2px}
.hbc-nav{display:none;position:absolute;top:50%;width:38px;height:38px;margin-top:-19px;padding:0;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);box-shadow:0 6px 16px -8px rgba(20,32,90,.4);cursor:pointer;z-index:2;opacity:0;transition:opacity .2s ease}
.hbc-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hbc-nav.prev{left:10px}.hbc-nav.next{right:10px}
@media (hover:hover) and (min-width:761px){.hbc-nav{display:grid}.hbc:hover .hbc-nav,.hbc-nav:focus-visible{opacity:1}}
.hb-bytes.hbx-h{text-decoration:none;color:var(--ink)}
.hb-bytes.hbx-h strong{font-size:clamp(20px,2.4vw,28px)}
.hb-bytes.hbx-h svg{width:34px;height:34px;fill:var(--ink);stroke:none}
.hb-bytes.hbx-h svg path:last-child{stroke:none}
@media (prefers-reduced-motion:reduce){.hbc .hbc-s,.hbc .hbc-s.is-on{transition:none;transform:none}.hbc-dots button{transition:none}}
