/* BoltToolkit — core stylesheet
   Light neutral slate base, bolt indigo accents. No external fonts (0 requests, fast LCP). */

:root{
  --bg:#f6f8fc;
  --surface:#ffffff;
  --surface-2:#f1f5fa;
  --ink:#0e1729;
  --ink-2:#24344f;
  --muted:#5b6b84;
  --line:#e2e8f2;
  --line-2:#cfd9e8;
  --brand:#3d4ef2;
  --brand-2:#2b34c9;
  --brand-soft:#eef1ff;
  --accent:#f7b500;
  --ok:#0f9d58;
  --ok-soft:#e8f6ee;
  --warn:#b45309;
  --warn-soft:#fff5e6;
  --err:#c62828;
  --err-soft:#fdecec;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(14,23,41,.04),0 10px 30px -12px rgba(14,23,41,.16);
  --shadow-sm:0 1px 2px rgba(14,23,41,.06);
  --wrap:1120px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans KR","Apple SD Gothic Neo","Hiragino Sans","Yu Gothic UI","Microsoft YaHei",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font);font-size:16px;line-height:1.65;color:var(--ink);
  background:
    radial-gradient(900px 420px at 78% -160px, #e9edff 0%, rgba(233,237,255,0) 70%),
    radial-gradient(700px 380px at 0% -120px, #e6fbff 0%, rgba(230,251,255,0) 72%),
    var(--bg);
  min-height:100vh;
}
img,svg,canvas{max-width:100%}
a{color:var(--brand-2);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.25;letter-spacing:-.015em;margin:0 0 .5em;color:var(--ink)}
h1{font-size:clamp(1.85rem,1.2rem + 2.4vw,2.9rem);font-weight:800}
h2{font-size:clamp(1.3rem,1.05rem + .9vw,1.7rem);font-weight:750}
h3{font-size:1.1rem;font-weight:700}
p{margin:0 0 1em}
ul,ol{margin:0 0 1em;padding-left:1.2em}
code,kbd,pre{font-family:var(--mono);font-size:.92em}
hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
::selection{background:#dbe2ff}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.muted{color:var(--muted)}
.small{font-size:.875rem}
.nowrap{white-space:nowrap}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);
  backdrop-filter:saturate(160%) blur(10px);-webkit-backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:14px;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;color:var(--ink);font-size:1.12rem;letter-spacing:-.02em;flex:0 0 auto}
.brand:hover{text-decoration:none}
.brand-mark{
  width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex:0 0 auto;
  background:linear-gradient(145deg,#4f5bff,#2b34c9);box-shadow:0 6px 14px -6px rgba(61,78,242,.8);
}
.brand-mark svg{width:18px;height:18px;display:block}
.brand-text{display:block;line-height:1.1;white-space:nowrap}
.brand em{font-style:normal;color:var(--brand)}
.brand small{display:block;font-size:.68rem;font-weight:600;color:var(--muted);letter-spacing:.02em;line-height:1;margin-top:3px}
.header-spacer{flex:1 1 auto}
.nav-tools{position:relative}
.nav-toggle{
  appearance:none;border:1px solid var(--line-2);background:#fff;color:var(--ink-2);
  border-radius:999px;padding:8px 14px;font:inherit;font-weight:650;font-size:.92rem;cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;min-height:40px;
}
.nav-toggle:hover{border-color:#b9c4d8;background:#fbfcff}
.nav-toggle .chev{transition:transform .18s ease}
.nav-toggle .burger{display:none}
.nav-toggle[aria-expanded="true"] .chev{transform:rotate(180deg)}
.nav-panel{
  position:absolute;right:0;top:calc(100% + 10px);width:min(620px,calc(100vw - 32px));
  background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px -20px rgba(14,23,41,.35);
  padding:16px;display:none;z-index:60;
}
.nav-panel.open{display:block}
.nav-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
.nav-group h4{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:8px 0 6px}
.nav-group a{display:block;padding:6px 8px;border-radius:8px;color:var(--ink-2);font-size:.94rem;font-weight:550}
.nav-group a:hover{background:var(--brand-soft);color:var(--brand-2);text-decoration:none}
.nav-group a[aria-current="page"]{background:var(--brand-soft);color:var(--brand-2);font-weight:700}
.lang-switch{display:inline-flex;align-items:center;gap:2px;background:#eef1f7;border-radius:999px;padding:3px;flex:0 0 auto}
.lang-switch button,.lang-switch a{
  appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:.8rem;font-weight:700;
  padding:6px 9px;border-radius:999px;cursor:pointer;line-height:1;min-height:30px;
}
.lang-switch button:hover,.lang-switch a:hover{color:var(--ink);text-decoration:none}
.lang-switch button.is-active,.lang-switch a.is-active{background:#fff;color:var(--brand-2);box-shadow:var(--shadow-sm)}
.menu-btn{display:none}

html[lang="ko"] body{word-break:keep-all;overflow-wrap:anywhere}

@media (max-width:760px){
  .header-inner{gap:6px;min-height:58px}
  .nav-toggle{flex:0 0 auto}
  .brand small{display:none}
  .brand{font-size:1.02rem}
  .nav-toggle .label,.nav-toggle .chev{display:none}
  .nav-toggle .burger{display:block}
  .nav-toggle{padding:9px 11px}
  .lang-switch button,.lang-switch a{padding:6px 6px;font-size:.72rem}
  .nav-panel{position:fixed;left:12px;right:12px;top:64px;width:auto;max-height:70vh;overflow:auto}
  .nav-cols{grid-template-columns:1fr}
}
@media (max-width:430px){
  .brand-text{display:none}
  .wrap{padding:0 14px}
  .header-inner{gap:6px}
  .lang-switch button,.lang-switch a{padding:6px 7px;font-size:.72rem}
}

/* ---------- Buttons / inputs ---------- */
.btn{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font:inherit;font-weight:700;font-size:.95rem;line-height:1;border-radius:12px;padding:13px 20px;
  border:1px solid transparent;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
  min-height:46px;text-decoration:none;
}
.btn:hover{text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.btn-primary{background:linear-gradient(180deg,#4a5aff,#3140e0);color:#fff;box-shadow:0 10px 20px -10px rgba(61,78,242,.85)}
.btn-primary:hover:not(:disabled){background:linear-gradient(180deg,#4353f7,#2a36cf);box-shadow:0 14px 26px -12px rgba(61,78,242,.95)}
.btn-ghost{background:#fff;border-color:var(--line-2);color:var(--ink-2)}
.btn-ghost:hover:not(:disabled){background:#f8faff;border-color:#b9c4d8}
.btn-soft{background:var(--brand-soft);color:var(--brand-2)}
.btn-sm{padding:9px 14px;min-height:38px;font-size:.86rem;border-radius:10px}
.btn-icon{width:38px;height:38px;min-height:38px;padding:0;border-radius:9px}
.btn-danger-ghost{background:#fff;border-color:#f0c9c9;color:#b3261e}

.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field > label,.field-label{font-size:.86rem;font-weight:650;color:var(--ink-2)}
.field .hint{font-size:.78rem;color:var(--muted)}
input[type="text"],input[type="number"],input[type="url"],input[type="email"],input[type="password"],select,textarea{
  font:inherit;font-size:.95rem;color:var(--ink);background:#fff;border:1px solid var(--line-2);border-radius:10px;
  padding:10px 12px;width:100%;min-width:0;min-height:42px;transition:border-color .12s,box-shadow .12s;
}
input:focus,select:focus,textarea:focus{outline:none;border-color:#8b95ff;box-shadow:0 0 0 3px rgba(61,78,242,.16)}
textarea{min-height:120px;resize:vertical;line-height:1.6}
input[type="range"]{width:100%;accent-color:var(--brand)}
input[type="color"]{width:46px;height:38px;padding:2px;border:1px solid var(--line-2);border-radius:8px;background:#fff;cursor:pointer}
.check{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;color:var(--ink-2);cursor:pointer}
.check input{width:16px;height:16px;accent-color:var(--brand)}

.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}
@media (max-width:720px){.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:460px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}

/* ---------- Hero ---------- */
.hero{padding:38px 0 8px}
.crumbs{font-size:.8rem;color:var(--muted);margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumbs a{color:var(--muted)}
.crumbs .sep{opacity:.5}
.hero h1{margin-bottom:14px;max-width:24ch}
.hero .lead{font-size:1.06rem;color:var(--ink-2);max-width:68ch;margin-bottom:18px}
.summary-list{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:8px;max-width:70ch}
.summary-list li{position:relative;padding-left:28px;color:var(--ink-2);font-size:.98rem}
.summary-list li::before{
  content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:50%;
  background:var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d58' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.badge{
  display:inline-flex;align-items:center;gap:6px;font-size:.78rem;font-weight:700;color:var(--ink-2);
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 11px;white-space:nowrap;
}
.badge svg{width:13px;height:13px;flex:0 0 auto}
.badge.b{color:var(--brand-2);border-color:#d6dcff;background:var(--brand-soft)}
.badge.g{color:#0b6b3d;border-color:#c9ead8;background:var(--ok-soft)}

/* ---------- Ad slots (fixed reserved height, CLS = 0) ---------- */
.ad-slot{
  position:relative;border:1px dashed var(--line-2);border-radius:14px;background:
    repeating-linear-gradient(45deg,#f4f7fb,#f4f7fb 10px,#eef3f9 10px,#eef3f9 20px);
  display:flex;align-items:center;justify-content:center;overflow:hidden;margin:26px 0;
}
.ad-slot .ad-label{
  position:absolute;top:6px;left:10px;font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:#93a1b5;font-weight:700;
}
.ad-slot .ad-note{font-size:.74rem;color:#a3b0c2;text-align:center;padding:0 14px}
.ad-top{height:100px}
.ad-mid{height:250px}
.ad-bottom{height:250px}
@media (max-width:520px){.ad-top{height:90px}.ad-mid,.ad-bottom{height:250px}}

/* ---------- Cards / sections ---------- */
.section{margin:34px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.section-head h2{margin:0}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}
@media (max-width:560px){.card{padding:16px;border-radius:14px}}

/* ---------- Tool shell ---------- */
.tool-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:24px;margin:22px 0 6px}
@media (max-width:560px){.tool-card{padding:16px;border-radius:16px}}
.tool-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.tool-head h2{margin:0;font-size:1.05rem;font-weight:750}
.trust-inline{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:var(--muted);font-weight:600}
.trust-inline svg{width:14px;height:14px;color:var(--ok)}

.dropzone{
  position:relative;border:2px dashed #c8d3e6;border-radius:16px;background:linear-gradient(180deg,#fbfcff,#f5f8ff);
  padding:30px 18px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,transform .15s;
}
.dropzone:hover{border-color:#98a7ff;background:#f4f7ff}
.dropzone.drag{border-color:var(--brand);background:#eef2ff;transform:scale(1.002)}
.dropzone:focus-visible{outline:3px solid rgba(61,78,242,.35);outline-offset:3px}
.dz-icon{width:46px;height:46px;margin:0 auto 10px;border-radius:13px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-2)}
.dz-icon svg{width:24px;height:24px}
.dz-title{font-weight:750;font-size:1.02rem;margin:0 0 4px;color:var(--ink)}
.dz-sub{margin:0;font-size:.84rem;color:var(--muted)}
.dz-sub code{background:#fff;border:1px solid var(--line);padding:1px 5px;border-radius:5px}

.file-list{display:grid;gap:8px;margin:16px 0 0}
.file-row{display:flex;align-items:center;gap:12px;background:#fbfcfe;border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-width:0}
.file-row .num{width:24px;height:24px;border-radius:7px;background:#eef2fb;color:var(--muted);font-size:.72rem;font-weight:800;display:grid;place-items:center;flex:0 0 auto}
.file-row .meta{min-width:0;flex:1 1 auto}
.file-row .name{font-weight:650;font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-row .sub{font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-row .acts{display:flex;gap:4px;flex:0 0 auto}
.file-row .acts button{
  appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink-2);width:30px;height:30px;border-radius:8px;
  display:grid;place-items:center;cursor:pointer;font-size:.8rem;line-height:1;
}
.file-row .acts button:hover{background:#f2f5fb;border-color:#bcc9df}
.file-row .acts button:disabled{opacity:.35;cursor:not-allowed}

.tool-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.tool-actions .spacer{flex:1 1 auto}
.tool-options{display:grid;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.opt-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.opt-row .field{flex:1 1 180px}
.opt-value{font-variant-numeric:tabular-nums;font-weight:700;color:var(--brand-2);font-size:.9rem;min-width:52px;text-align:right}

.notice{margin-top:14px;font-size:.88rem;border-radius:10px;padding:10px 12px;display:none;line-height:1.5}
.notice.show{display:block}
.notice.info{background:#f2f6ff;border:1px solid #dbe3ff;color:#2b3a6b}
.notice.ok{background:var(--ok-soft);border:1px solid #c9ead8;color:#0b6b3d}
.notice.err{background:var(--err-soft);border:1px solid #f5c6c6;color:#8f1d1d}
.notice.warn{background:var(--warn-soft);border:1px solid #f3ddb4;color:#8a4708}
.notice a{font-weight:700}
.progress{height:6px;background:#e8edf7;border-radius:999px;overflow:hidden;margin-top:8px;display:none}
.progress.show{display:block}
.progress > span{display:block;height:100%;width:0%;background:linear-gradient(90deg,#4a5aff,#7c8bff);transition:width .2s ease}

.results{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.results h3{font-size:1rem;margin:0 0 12px}
.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 14px}
.stat{background:#f8faff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-width:0}
.stat .k{font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:3px}
.stat .v{font-size:1.18rem;font-weight:800;letter-spacing:-.02em;word-break:break-word}
.stat .s{font-size:.76rem;color:var(--muted)}
.stat.good .v{color:var(--ok)}
.stat.bad .v{color:var(--err)}

.thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.thumb{background:#fbfcfe;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.thumb .imgbox{height:120px;display:grid;place-items:center;background:repeating-conic-gradient(#eef2f8 0% 25%,#f8fafd 0% 50%) 50%/16px 16px;overflow:hidden}
.thumb img{max-height:120px;max-width:100%;object-fit:contain;display:block}
.thumb .tmeta{padding:8px 10px;font-size:.74rem;border-top:1px solid var(--line);display:grid;gap:2px}
.thumb .tmeta strong{font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.thumb .tmeta .row{display:flex;justify-content:space-between;gap:6px;color:var(--muted)}
.thumb .tmeta button{margin-top:4px}

.checker{border-radius:12px;overflow:hidden;background:repeating-conic-gradient(#e7ecf4 0% 25%,#f9fbfe 0% 50%) 50%/18px 18px;border:1px solid var(--line)}

.compare-slider{position:relative;user-select:none;max-width:520px;margin:0 auto}
.compare-slider img{display:block;width:100%;height:auto}
.compare-slider .before-img{object-fit:contain;background:repeating-conic-gradient(#e7ecf4 0% 25%,#f9fbfe 0% 50%) 50%/18px 18px}
.compare-slider .after-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;clip-path:inset(0 0 0 50%)}
.compare-slider input[type="range"]{position:absolute;left:-2%;right:-2%;bottom:-6px;width:104%;margin:0;accent-color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.slider-labels{display:flex;justify-content:space-between;font-size:.74rem;color:var(--muted);margin-top:12px;font-weight:700}

/* ---------- Tables ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;-webkit-overflow-scrolling:touch}
table.data{width:100%;border-collapse:collapse;font-size:.9rem;min-width:420px}
table.data th,table.data td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.data th{background:#f7f9fd;font-size:.76rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:750;white-space:nowrap}
table.data tr:last-child td{border-bottom:0}
table.data td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.data tr.total td{font-weight:800;background:#f8faff}
.table-scroll{max-height:340px;overflow:auto}

/* ---------- Comparison ---------- */
.compare-card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm);overflow:hidden}
.compare-card .ct{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.compare-card .ct h2{margin:0;font-size:1.08rem}
.compare-card .ct .muted{font-size:.8rem}
table.compare{width:100%;border-collapse:collapse;font-size:.9rem;min-width:520px}
table.compare th,table.compare td{padding:11px 16px;border-bottom:1px solid var(--line);text-align:left}
table.compare thead th{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;background:#f8fafd}
table.compare thead th.us{color:var(--brand-2);background:#f1f4ff}
table.compare td.us{background:#f7f9ff;font-weight:700;color:#17204a}
table.compare tr:last-child td{border-bottom:0}
table.compare .yes{color:#0b6b3d;font-weight:700}
table.compare .no{color:#8a4b4b}

/* ---------- How-to / FAQ ---------- */
.steps{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.steps li{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;min-width:0}
.steps .n{flex:0 0 auto;width:30px;height:30px;border-radius:9px;background:var(--brand-soft);color:var(--brand-2);display:grid;place-items:center;font-weight:800;font-size:.9rem}
.steps h3{margin:0 0 3px;font-size:.98rem}
.steps p{margin:0;color:var(--ink-2);font-size:.92rem}
.faq{display:grid;gap:8px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0;overflow:hidden}
.faq summary{
  list-style:none;cursor:pointer;padding:14px 46px 14px 16px;font-weight:700;font-size:.95rem;position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:16px;top:50%;width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);transition:transform .18s ease;
}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq .a{padding:0 16px 15px;color:var(--ink-2);font-size:.92rem}
.faq .a p:last-child{margin-bottom:0}

/* ---------- Tool index ---------- */
.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:900px){.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.tool-grid{grid-template-columns:1fr}}
.tool-tile{
  display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;
  transition:box-shadow .16s,transform .16s,border-color .16s;min-width:0;
}
.tool-tile:hover{text-decoration:none;box-shadow:var(--shadow);transform:translateY(-2px);border-color:#c9d2e6}
.tool-tile .ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto;background:var(--brand-soft);color:var(--brand-2);font-size:1.15rem}
.tool-tile .ico svg{width:21px;height:21px}
.tool-tile h3{margin:0 0 2px;font-size:.98rem;color:var(--ink)}
.tool-tile p{margin:0;font-size:.82rem;color:var(--muted);line-height:1.5}
.tool-tile .tag{margin-top:6px;display:inline-block;font-size:.68rem;font-weight:700;color:#0b6b3d;background:var(--ok-soft);border-radius:5px;padding:2px 6px}
.card h3 svg{width:18px;height:18px;vertical-align:-3px;color:var(--brand-2)}

/* ---------- Footer ---------- */
.site-footer{background:#0b1220;color:#c7d2e4;margin-top:56px;padding:40px 0 28px}
.site-footer a{color:#dbe4f3}
.site-footer a:hover{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:26px}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr;gap:22px}}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800;color:#fff;font-size:1.05rem;margin-bottom:8px}
.footer-brand .brand-mark{width:28px;height:28px;border-radius:8px}
.site-footer h4{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:#8fa1bd;margin:4px 0 10px}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.site-footer li{font-size:.88rem}
.footer-bottom{border-top:1px solid #1e2b42;margin-top:28px;padding-top:18px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.8rem;color:#8fa1bd}
.footer-note{font-size:.8rem;color:#8fa1bd;margin:6px 0 0;max-width:46ch}

/* ---------- Misc ---------- */
.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 0}
.chip{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;font-weight:650;background:#f2f5fb;border:1px solid var(--line);border-radius:999px;padding:3px 9px;color:var(--muted)}
.chip.ok{background:var(--ok-soft);border-color:#c9ead8;color:#0b6b3d}
.chip.warn{background:var(--warn-soft);border-color:#f3ddb4;color:#8a4708}
.chip.bad{background:var(--err-soft);border-color:#f5c6c6;color:#8f1d1d}
.kv{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:6px 16px;font-size:.9rem}
.kv dt{color:var(--muted);font-weight:650}
.kv dd{margin:0;color:var(--ink);word-break:break-word}
@media (max-width:480px){.kv{grid-template-columns:1fr}.kv dt{margin-top:6px}}
.hidden{display:none !important}
.mono{font-family:var(--mono);font-size:.86rem}
.code-box{position:relative;background:#0b1220;color:#e6edf8;border-radius:12px;padding:14px 44px 14px 14px;font-family:var(--mono);font-size:.82rem;overflow:auto;max-height:280px;white-space:pre-wrap;word-break:break-word}
.code-box + .btn{margin-top:8px}
.copy-btn{position:absolute;top:8px;right:8px;background:#1c2a42;color:#dbe4f3;border:1px solid #2b3b57;border-radius:7px;padding:4px 8px;font-size:.72rem;cursor:pointer}
.pill-tabs{display:inline-flex;background:#eef1f7;border-radius:12px;padding:4px;gap:2px;flex-wrap:wrap;max-width:100%}
.pill-tabs button{appearance:none;border:0;background:transparent;color:var(--muted);font:inherit;font-size:.88rem;font-weight:700;padding:8px 14px;border-radius:9px;cursor:pointer}
.pill-tabs button.is-active{background:#fff;color:var(--brand-2);box-shadow:var(--shadow-sm)}
.callout{border-left:4px solid var(--brand);background:#f5f7ff;border-radius:0 10px 10px 0;padding:12px 16px;font-size:.9rem;color:var(--ink-2);margin:14px 0}
.callout.warn{border-left-color:#e2a13a;background:var(--warn-soft);color:#7a4208}
.callout.ok{border-left-color:#22a463;background:var(--ok-soft);color:#0b5c33}
.prose{max-width:74ch}
.prose h2{margin-top:1.6em}
.prose h3{margin-top:1.3em}
.prose li{margin-bottom:.35em}
.anchor-nav{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 22px}
.anchor-nav a{font-size:.84rem;font-weight:650;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 12px;color:var(--ink-2)}
.anchor-nav a:hover{border-color:#bdc9de;text-decoration:none}
.spin{width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}
.fade-in{animation:fadeIn .25s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}html{scroll-behavior:auto}}


/* ---------- Affiliate recommendation cards ---------- */
.affiliate{margin-top:26px}
.aff-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:104px}
@media (max-width:900px){.aff-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:216px}}
@media (max-width:560px){.aff-grid{grid-template-columns:1fr;min-height:324px}}
.aff-card{
  display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:12px 14px;min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s;
}
.aff-card:hover{text-decoration:none;border-color:#c3cdf0;box-shadow:var(--shadow-sm);transform:translateY(-1px)}
.aff-ico{width:38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand-2);display:grid;place-items:center;font-weight:800;font-size:.66rem;flex:0 0 auto;text-transform:uppercase;letter-spacing:.02em}
.aff-body{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
.aff-body strong{font-size:.88rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aff-desc{font-size:.76rem;color:var(--muted);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.aff-cta{font-size:.75rem;font-weight:700;color:var(--brand-2);white-space:nowrap;flex:0 0 auto}
.aff-disclosure{margin:10px 0 0}

/* ---------- Language suggestion bar (fixed, no layout shift) ---------- */
.lang-suggest{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--line);box-shadow:0 -10px 30px -20px rgba(14,23,41,.5);padding:10px 0}
.lang-suggest-inner{max-width:var(--wrap);margin:0 auto;padding:0 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.88rem;color:var(--ink-2)}
.ls-text{flex:1 1 220px;min-width:0}
.ls-go{background:var(--brand);color:#fff;border-radius:9px;padding:8px 12px;font-weight:700;font-size:.82rem;white-space:nowrap}
.ls-go:hover{text-decoration:none;background:var(--brand-2)}
.ls-close{appearance:none;border:1px solid var(--line-2);background:#fff;border-radius:9px;width:32px;height:32px;cursor:pointer;color:var(--muted);font-size:1.05rem;line-height:1;flex:0 0 auto}
[hidden]{display:none !important}

/* ---------- text.bolttoolkit.com — tool styles ---------- */
.wc-tabs{margin:18px 0 12px}
.wc-panel{border-top:1px solid var(--line);padding-top:16px;min-height:300px}
.wc-panel[hidden]{display:none}
.wc-panel h4{font-size:.92rem;margin:0 0 8px;color:var(--ink-2)}
.wc-panel h4 + .table-wrap{margin-bottom:6px}
.lim-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:720px){.lim-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:460px){.lim-grid{grid-template-columns:1fr}}
.lim-row{border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:#fbfcfe;min-width:0}
.lim-head{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:.78rem;margin-bottom:6px}
.lim-head .chip{font-size:.68rem;padding:1px 7px}
.wc-list{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.wc-list li{position:relative;padding-left:20px;font-size:.88rem;color:var(--ink-2);line-height:1.45}
.wc-list li::before{content:"";position:absolute;left:4px;top:.52em;width:7px;height:7px;border-radius:50%;background:#b9c4d8}
.wc-list li.ok::before{background:var(--ok)}
.wc-list li.warn::before{background:#e0a02a}
.wc-list li.bad::before{background:var(--err)}
.rd-top{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:720px){.rd-top{grid-template-columns:1fr}}
.rd-score{background:#f8faff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.rd-score .v{font-size:2.5rem;font-weight:800;letter-spacing:-.03em;line-height:1}
.rd-score .lvl{font-size:.82rem;color:var(--muted);font-weight:650}
.rd-score.good .v{color:var(--ok)}
.rd-score.warn .v{color:#c7811a}
.rd-score.bad .v{color:var(--err)}
.rd-bar{position:relative;grid-column:1/-1;height:8px;border-radius:999px;background:linear-gradient(90deg,#e05c5c,#e0a02a 40%,#3fa76a 72%,#2f7d4f);overflow:hidden;margin:2px 0 6px}
.rd-bar span{position:absolute;top:-3px;width:3px;height:14px;background:#0b1220;border-radius:2px;left:0}
.rd-bar i{position:absolute;top:0;width:1px;height:100%;background:rgba(255,255,255,.55)}
.rd-bar i.m1{left:30%}.rd-bar i.m2{left:50%}.rd-bar i.m3{left:70%}.rd-bar i.m4{left:85%}
.rd-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;grid-column:1/-1}
@media (max-width:560px){.rd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rd-m{background:#fbfcfe;border:1px solid var(--line);border-radius:10px;padding:8px 10px;min-width:0}
.rd-m .k{display:block;font-size:.7rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.rd-m .v{font-size:1.02rem;font-weight:800}
.rd-advice{margin-top:14px}
.rd-method{margin-top:12px;max-width:80ch}
.kw-opts{align-items:flex-end}
.kw-table td,.kw-table th{font-size:.85rem;padding:7px 10px}
.kw-table td:last-child,.kw-table th:last-child{text-align:right}
.kw-table td:first-child{word-break:break-word}
.hd-outline{border:1px solid var(--line);border-radius:12px;background:#fbfcfe;padding:10px 12px;min-height:220px;max-height:420px;overflow:auto;font-size:.86rem}
.hd-outline .hd-row{display:flex;gap:8px;padding:4px 0;border-bottom:1px dashed #e8edf7;line-height:1.4}
.hd-outline .hd-row:last-child{border-bottom:0}
.hd-lvl{flex:0 0 30px;font-family:var(--mono);font-size:.72rem;font-weight:700;color:var(--brand-2);background:var(--brand-soft);border-radius:5px;text-align:center;height:20px;line-height:20px}
.hd-row.l1 .hd-lvl{background:#dfe4ff}
.hd-text-min{min-width:0;word-break:break-word}
.hd-counts{display:flex;flex-wrap:wrap;gap:6px}
.hd-counts .chip{font-variant-numeric:tabular-nums}
.tc-h{font-size:.95rem;margin:18px 0 8px}
.tc-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}
@media (max-width:720px){.tc-opts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:460px){.tc-opts{grid-template-columns:1fr}}
.tc-out-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 8px}
.mg-lens{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 4px}
.serp{padding:14px 16px}
.serp-url{font-size:.78rem;color:#3c4043;word-break:break-all}
.serp-title{color:#1a0dab;font-size:1.12rem;line-height:1.3;margin:2px 0 3px;word-break:break-word}
.serp-desc{font-size:.84rem;color:#4d5156;line-height:1.45;word-break:break-word}
.soc{padding:0;overflow:hidden}
.soc-img{height:150px;background:linear-gradient(135deg,#3d4ef2,#7c8bff) center/cover no-repeat;display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.05rem}
.soc-body{padding:12px 14px;display:flex;flex-direction:column;gap:3px}
.soc-domain{font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.soc-title{font-size:.98rem;line-height:1.35}
.soc-desc{font-size:.8rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mg-lens .chip.ok{background:var(--ok-soft)}
.jl-panel[hidden]{display:none}
.jl-qa-list,.jl-crumb-list{display:grid;gap:10px;margin-bottom:10px}
.jl-qa,.jl-crumb{border:1px solid var(--line);border-radius:12px;background:#fbfcfe;padding:12px;display:grid;gap:8px}
.jl-qa .jl-qa-head,.jl-crumb .jl-crumb-head{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;font-weight:700;color:var(--muted)}
.jl-qa .grid-2,.jl-crumb .grid-2{gap:8px 12px}
.jl-remove{background:#fff;border:1px solid #f0c9c9;color:#b3261e;border-radius:7px;padding:3px 8px;font-size:.72rem;cursor:pointer}
/* ---------- reference tables and practitioner guides ---------- */
.lead-sm{font-size:1rem;color:var(--ink-2);max-width:78ch;margin:-4px 0 14px;line-height:1.6}
.spec-wrap{margin-bottom:6px}
.spec-table{width:100%;border-collapse:collapse;font-size:.86rem;min-width:640px}
.spec-table thead th{background:#f4f7fc;color:var(--muted);font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;font-weight:750;text-align:left;padding:9px 12px;border-bottom:1px solid var(--line);white-space:nowrap;position:sticky;top:0}
.spec-table tbody th,.spec-table tbody td{padding:9px 12px;border-bottom:1px solid #eef2f8;vertical-align:top;line-height:1.5;text-align:left}
.spec-table tbody th{font-weight:700;color:var(--ink);white-space:normal;min-width:120px}
.spec-table tbody tr:nth-child(even){background:#fbfcfe}
.spec-table tbody tr:last-child th,.spec-table tbody tr:last-child td{border-bottom:0}
.spec-note{max-width:84ch;margin-top:10px}
.bench-note{max-width:84ch;margin:2px 0 0;padding:10px 12px;border-left:3px solid var(--line-2);background:#fbfcfe;border-radius:0 8px 8px 0}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:760px){.guide-grid{grid-template-columns:1fr}}
.guide-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px 18px}
.guide-card h3{font-size:.98rem;margin:0 0 6px}
.guide-card p{margin:0;font-size:.88rem;color:var(--ink-2);line-height:1.6}
.check-list{display:grid;gap:8px;margin:0;padding-left:22px;max-width:88ch}
.check-list li{font-size:.9rem;color:var(--ink-2);line-height:1.55}
.anchor-nav{margin:14px 0 0}
/* one recommendation card on this subdomain: use the full row, keep the height reserved */
.aff-grid:has(.aff-card:only-child){grid-template-columns:minmax(0,1fr);min-height:72px}
@media (max-width:900px){.aff-grid:has(.aff-card:only-child){min-height:72px}}
@media (max-width:560px){.aff-grid:has(.aff-card:only-child){min-height:72px}}
.aff-grid:has(.aff-card:only-child) .aff-body strong{font-size:.92rem}
