/* AT USE Ã¢â‚¬â€ site shell, dark premium (matches image-optimizer) */

/* Ensure [hidden] always wins regardless of display property in component CSS */
[hidden] { display: none !important; }

:root {
  --bg: #0b0f17;
  --bg-2: #0f1422;
  --panel: #131a2a;
  --panel-2: #182135;
  --line: #233048;
  --line-2: #2d3a55;
  --text: #e7ecf5;
  --text-2: #aab4c8;
  --muted: #7d889f;
  --accent: #6aa3ff;
  --accent-2: #8bd8ff;
  --good: #5ed5a8;
  --warn: #f4b25b;
  --bad: #ff7575;
  --shadow: 0 12px 40px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.3);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.25);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --mono: ui-monospace,"Cascadia Code","Source Code Pro",Menlo,Monaco,Consolas,monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Plus Jakarta Sans", sans-serif;
  /* Developer-tool cluster aliases — map to canonical site tokens */
  --surface-2: var(--panel);
  --surface-3: var(--panel-2);
  --ink-1: var(--text);
  --ink-2: var(--text-2);
  --ink-3: var(--muted);
  --border-1: var(--line);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(106,163,255,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(139,216,255,.07), transparent 60%),
    var(--bg);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 1000;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px;
}

.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,12,20,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.brand img { height: 28px; width: auto; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0a1224; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.brand-text { font-size: 15px; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: var(--text-2); padding: 8px 2px;
  border-bottom: 2px solid transparent;
  font-weight: 600; font-size: 14px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav a.active { color: var(--text); border-bottom-color: var(--accent); }

.menu-toggle {
  display: none; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--text);
  padding: 8px 12px; font-weight: 700; font-size: 13px; cursor: pointer;
}

.header-end { display: flex; align-items: center; gap: 16px; }

/* --- Main ----------------------------------------------------------------- */
.site-main { padding: 32px 0 64px; }

/* --- Hero / page head ----------------------------------------------------- */
.hero {
  margin-top: 16px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
  align-items: stretch;
}
.hero-copy, .hero-panel,
.feature-card, .tool-card, .contact-form, .notice, .prose, .page-head {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.eyebrow, .kicker {
  margin: 0 0 8px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1, .page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text);
}

.lead {
  margin: 0;
  max-width: 70ch;
  color: var(--text-2);
  line-height: 1.65;
  font-size: 16px;
}

.hero-actions {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 11px 18px;
  min-height: 44px;
  font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: transform .12s var(--ease), background .15s var(--ease), border-color .15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #0a1224;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 20px rgba(106,163,255,.28);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--line-2); background: #1c2640; }

/* --- Hero panel (featured tool) ------------------------------------------- */
.hero-panel { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.hero-panel h2 {
  margin: 0;
  color: var(--text-2); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
}
.hero-panel h3 {
  margin: 8px 0 6px;
  font-size: 22px; color: var(--text); letter-spacing: -.01em;
}
.hero-panel p { margin: 0 0 14px; color: var(--text-2); }
.panel-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 700;
}
.panel-link::after { content: 'Ã¢â€ â€™'; transition: transform .2s var(--ease); }
.panel-link:hover { text-decoration: none; }
.panel-link:hover::after { transform: translateX(3px); }

/* --- Sections ------------------------------------------------------------- */
.section { margin-top: 32px; }
.section-head { margin-bottom: 16px; }
.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -.01em;
  color: var(--text);
}
.section-head p { margin: 0; color: var(--text-2); }

.feature-grid, .tool-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --- Category catalog (tools directory) ----------------------------------- */
.cat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cat-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-decoration: none;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-2); background: var(--panel-2); }
.cat-card-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.cat-card-name {
  color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.cat-card-desc {
  margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; flex: 1;
}
.cat-card-action {
  color: var(--accent-2); font-size: 13px; font-weight: 700;
}

/* --- Category page header extras ----------------------------------------- */
.cat-stats { margin: 12px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Category search box -------------------------------------------------- */
.cat-search-wrap { margin-bottom: 4px; }
.cat-search {
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 16px;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s var(--ease);
}
.cat-search:focus { outline: none; border-color: var(--accent-2); }
.tools-count {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* --- Related-tool panel (category hub pages) ------------------------------ */
.related-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.related-card h3{color:var(--text);font-size:17px;letter-spacing:-.01em;margin-bottom:4px}
.related-card p{color:var(--text-2);font-size:14px;margin:0}
@media(max-width:767px){.related-card{flex-direction:column;align-items:flex-start}}

/* --- Back link ------------------------------------------------------------ */
.back-link { margin: 0; }
.back-link a { color: var(--accent-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

.feature-card { padding: 22px; }
.feature-card h3 { margin: 8px 0 6px; color: var(--text); font-size: 17px; }
.feature-card p { margin: 0; color: var(--text-2); line-height: 1.6; }

/* --- Tool cards ----------------------------------------------------------- */
.tool-card {
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--line-2); background: var(--panel-2); }

.tool-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 10px;
}
.tool-cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }

.tool-card h2, .tool-card h3 { margin: 6px 0 8px; color: var(--text); font-size: 18px; letter-spacing: -.01em; }
.tool-card p { margin: 0 0 14px; color: var(--text-2); line-height: 1.55; flex: 1; }

.chip {
  display: inline-flex; align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  text-transform: uppercase; letter-spacing: .06em;
}
.chip-live  { color: #052017; background: var(--good); }
.chip-soon  { color: #2c1a02; background: var(--warn); }

.tool-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 700; font-size: 14px;
}
.tool-link::after { content: '\2192'; transition: transform .2s var(--ease); }
.tool-link:hover { text-decoration: none; }
.tool-link:hover::after { transform: translateX(3px); }
.tool-link.muted { color: var(--muted); cursor: default; }
.tool-link.muted::after { content: ''; }

.muted { color: var(--muted); }

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   Converter tool Ã¢â‚¬â€ complete redesign (cv-*)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Ã¢â€â‚¬Ã¢â€â‚¬ Head Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-head {
  padding-top: 28px; padding-bottom: 4px;
}
.cv-title-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 4px 0 8px;
}
.cv-title-row h1 { margin: 0; flex-shrink: 1; min-width: 0; }
.cv-subtitle { margin: 0; font-size: 14px; color: var(--text-2); }
.cv-pair-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  flex-shrink: 0;
  white-space: nowrap;
}
.cv-format-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 700; font-size: 12px; letter-spacing: .04em;
  color: var(--text);
}
.cv-format-chip--to {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #0a1224;
}
.cv-arrow { color: var(--muted); flex-shrink: 0; width: 16px; height: 16px; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Tool section Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-tool {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 48px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Main panel (wraps dropzone + queue + settings) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Drop zone Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-dropzone {
  position: relative;
  border-bottom: 2px dashed var(--line);
  border-radius: 0;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  cursor: pointer;
  outline: none;
}
.cv-panel .cv-dropzone:first-child { border-radius: 16px 16px 0 0; }
.cv-dropzone:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(106,163,255,.25);
  border-color: var(--accent);
}
.cv-dropzone--drag,
.cv-dropzone:hover {
  border-color: var(--accent);
  background: rgba(106,163,255,.04);
}
.cv-dropzone--has-files { border-style: solid; border-color: var(--line-2); }
.cv-dropzone-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding: 24px 20px;
  pointer-events: none;
}
.cv-dropzone-text { min-width: 0; }
.cv-dropzone-label { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }
.cv-dropzone-sub   { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.cv-upload-icon { width: 36px; height: 36px; color: var(--accent-2); opacity: .7; flex-shrink: 0; }
.cv-browse-btn { pointer-events: auto; flex-shrink: 0; }
/* When files added, collapse to slim re-add bar */
.cv-dropzone--has-files .cv-dropzone-inner { padding: 14px 20px; gap: 10px; }
.cv-dropzone--has-files .cv-upload-icon { width: 20px; height: 20px; }
.cv-dropzone--has-files .cv-dropzone-sub { display: none; }
.cv-dropzone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%;
  cursor: pointer; z-index: 1;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Queue (inside panel) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-queue {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.cv-queue-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-2);
}
.cv-queue-item:last-child { border-bottom: none; }
.cv-queue-thumb {
  width: 40px; height: 40px; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line); flex-shrink: 0;
  background: var(--bg-2);
}
.cv-queue-info { flex: 1; min-width: 0; }
.cv-queue-name {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-queue-size { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.cv-queue-remove {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.cv-queue-remove:hover { color: var(--bad); border-color: var(--bad); background: rgba(255,80,80,.08); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Settings bar (inside panel) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-settings {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.cv-settings-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cv-quality-group {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 200px;
}
.cv-qlabel {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap; flex-shrink: 0;
}
.cv-quality-hint { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.cv-quality-pct {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; padding: 2px 6px;
  border-radius: 5px; background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--text);
  flex-shrink: 0;
}
.cv-quality-slider {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) calc((var(--val,42) - 40) / 60 * 100%), var(--bg-2) calc((var(--val,42) - 40) / 60 * 100%));
  outline: none; cursor: pointer;
}
.cv-quality-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  border: 2px solid #fff1; box-shadow: 0 0 0 3px rgba(106,163,255,.2);
  transition: box-shadow .15s;
}
.cv-quality-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 5px rgba(106,163,255,.3); }
.cv-quality-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  border: none; cursor: pointer;
}
.cv-action-group {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cv-convert-btn { display: inline-flex; align-items: center; gap: 6px; }
.cv-clear-btn { color: var(--text-2); }
.cv-global-status { font-size: 13px; color: var(--text-2); }
.cv-global-status.cv-status-ok    { color: var(--good); }
.cv-global-status.cv-status-warn  { color: var(--warn); }
.cv-global-status.cv-status-error { color: var(--bad); }
.cv-availability { margin: 0; font-size: 13px; }
.cv-availability--warn { color: var(--warn); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Results grid Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-results {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.cv-result-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color .2s var(--ease);
}
.cv-result-card--done  { border-color: rgba(62,203,137,.35); }
.cv-result-card--error { border-color: rgba(255,80,80,.35); }
.cv-result-card--pending { opacity: .7; }
.cv-result-thumb {
  width: 100%; height: 140px; object-fit: cover;
  background:
    linear-gradient(45deg, #2a3245 25%, transparent 25%),
    linear-gradient(-45deg, #2a3245 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2a3245 75%),
    linear-gradient(-45deg, transparent 75%, #2a3245 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  border-bottom: 1px solid var(--line);
}
.cv-result-body {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px 12px;
}
.cv-result-name {
  margin: 0; font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cv-result-dims  { margin: 0; font-size: 12px; color: var(--muted); }
.cv-result-sizes { margin: 0; font-size: 12px; color: var(--muted); }
.cv-result-dl    { margin-top: 8px; justify-content: center; width: 100%; }
.cv-result-status { margin: 3px 0 0; font-size: 13px; color: var(--text-2); }
.cv-result-status--converting { color: var(--accent-2); }
.cv-result-status--error      { color: var(--bad); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Download all wrap Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-download-all-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 20px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel);
  text-align: center;
}
.cv-download-all-note { margin: 0; font-size: 13px; color: var(--muted); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Responsive Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 680px) {
  .cv-title-row { gap: 10px; }
  .cv-settings-row { flex-direction: column; align-items: stretch; }
  .cv-quality-group { min-width: 0; }
}
@media (max-width: 480px) {
  .cv-results { grid-template-columns: 1fr; }
}


/* Ã¢â€â‚¬Ã¢â€â‚¬ About & FAQ (converter) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.cv-about { padding-top: 0; }
.cv-about-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 28px;
}
.cv-about-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.cv-about-card h2 {
  margin: 0 0 8px;
  font-size: 15px; font-weight: 700; color: var(--text);
}
.cv-about-card p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.65; }

.cv-faq > h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; color: var(--text); }
.cv-pair-intent h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 12px; letter-spacing: -.01em; }
.cv-pair-intent p { margin: 0; max-width: 720px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.cv-faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  margin-bottom: 8px;
  overflow: hidden;
}
.cv-faq-item summary {
  padding: 13px 16px;
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.cv-faq-item summary::-webkit-details-marker { display: none; }
.cv-faq-item summary::after {
  content: '+'; font-size: 18px; line-height: 1; color: var(--muted); flex-shrink: 0; margin-left: 12px;
}
.cv-faq-item[open] summary { border-bottom: 1px solid var(--line-2); }
.cv-faq-item[open] summary::after { content: 'Ã¢Ë†â€™'; }
.cv-faq-item p {
  padding: 12px 16px 14px; margin: 0;
  font-size: 14px; color: var(--text-2); line-height: 1.65;
}
.cv-faq-item p em { color: var(--text); font-style: normal; font-weight: 600; }

/* -- Tool content block -- missing CSS completions (2026-05-30) -- */
.cv-tool-intro > p {
  max-width: 720px;
  font-size: 15.5px; color: var(--text-2); line-height: 1.75; margin: 0;
}
.cv-about > h2 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin: 0 0 16px; letter-spacing: -.01em;
}
.cv-use-case-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cv-use-case-list li { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.cv-use-case-list li strong { color: var(--text); font-weight: 600; }
.cv-faq-item summary { padding: 15px 16px; }
.cv-faq-item summary:hover { background: var(--panel-2); }
.cv-faq-item summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: -2px;
  border-radius: var(--radius-sm);
}
.cv-tips > h2 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin: 0 0 16px; letter-spacing: -.01em;
}
.cv-tips ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cv-tips ul li {
  font-size: 15px; color: var(--text-2); line-height: 1.65;
  padding-left: 20px; position: relative;
}
.cv-tips ul li::before {
  content: '\2192'; position: absolute; left: 0; top: 2px;
  color: var(--accent-2); font-size: 13px;
}

/* ── Tool editorial depth component (tool-content-depth.php, 2026-05-31) ── */

/* Callout — framing / pull-quote block */
.cv-callout {
  border-left: 3px solid var(--accent);
  background: var(--panel-2);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.cv-callout-heading {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent);
  margin: 0 0 12px;
}
.cv-callout p {
  font-size: 15px; color: var(--text-2); line-height: 1.72;
  margin: 0 0 12px;
}
.cv-callout p:last-child { margin-bottom: 0; }

/* About-long — HTML prose with h3 sub-sections */
.cv-about-long { max-width: 720px; }
.cv-about-long p {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  margin: 0 0 16px;
}
.cv-about-long p:last-child { margin-bottom: 0; }
.cv-about-long h3 {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin: 24px 0 8px; letter-spacing: -.01em;
}
.cv-about-long a { color: var(--accent-2); }

/* CTA card — TinyPNG-alt style */
.cv-cta-card {
  background: linear-gradient(135deg, rgba(106,163,255,.1), rgba(139,216,255,.06));
  border: 1px solid rgba(106,163,255,.35);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cv-cta-card p {
  font-size: 15px; color: var(--text); line-height: 1.6;
  margin: 0; flex: 1;
}
.cv-cta-link {
  flex-shrink: 0; display: inline-block;
  padding: 10px 18px; min-height: 44px; line-height: 1.4;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a1224; font-size: 14px; font-weight: 700;
  border-radius: var(--radius-sm); text-decoration: none;
  white-space: nowrap;
}
.cv-cta-link:hover { opacity: .88; }
@media (max-width: 600px) {
  .cv-cta-card { flex-direction: column; align-items: flex-start; }
  .cv-cta-link { width: 100%; text-align: center; box-sizing: border-box; min-height: 44px; display: block; }
}

/*Ã¢â€â‚¬Ã¢â€â‚¬ Network DNS tools (dn-*) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.dn-head {
  padding-top: 26px;
}
.dn-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.dn-title-row h1 {
  margin: 0;
}
.dn-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dn-tool {
  padding-top: 8px;
}

.dn-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.dn-form {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: end;
}

.dn-field {
  display: grid;
  gap: 6px;
}

.dn-field span {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.dn-field input,
.dn-field select {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
}

.dn-field input:focus,
.dn-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}

.dn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dn-note {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.dn-note-ok { color: var(--good); }
.dn-note-warn { color: var(--warn); }
.dn-note-error { color: var(--bad); }
.dn-note-pending { color: var(--accent-2); }

.dn-results,
.dn-external {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  background: var(--bg-2);
}

.dn-results h2,
.dn-external h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.dn-results-label {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.dn-result-meta {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
}

.dn-result-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dn-result-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.dn-result-table th,
.dn-result-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
}

.dn-result-table th {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.dn-result-table td {
  color: var(--text);
  font-size: 14px;
}

.dn-external p {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Online Checker (oc-*) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.oc-head {
  padding-top: 26px;
}
.oc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.oc-title-row h1 {
  margin: 0;
}
.oc-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--panel-2);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oc-tool {
  padding-top: 8px;
}

.oc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.oc-form {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.oc-field {
  display: grid;
  gap: 6px;
}

.oc-field span {
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.oc-field input {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
}

.oc-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}

.oc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.oc-note {
  margin: 14px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.oc-note-ok { color: var(--good); }
.oc-note-warn { color: var(--warn); }
.oc-note-error { color: var(--bad); }
.oc-note-pending { color: var(--accent-2); }

.oc-result {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: var(--bg-2);
  display: flex;
  gap: 20px;
  align-items: center;
}

.oc-result-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.oc-badge-online {
  background: rgba(62,203,137,.15);
  color: var(--good);
  border: 1px solid rgba(62,203,137,.35);
}

.oc-badge-offline {
  background: rgba(255,80,80,.15);
  color: var(--bad);
  border: 1px solid rgba(255,80,80,.35);
}

.oc-result-info {
  flex: 1;
}

.oc-url {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.oc-status-text {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14px;
}

.oc-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.oc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oc-stat-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.oc-stat-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.oc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
}

.oc-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.oc-section h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--text);
}

.oc-top-sites {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.oc-site-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: all .15s var(--ease);
}

.oc-site-btn:hover {
  border-color: var(--accent);
  background: rgba(106,163,255,.08);
  transform: translateY(-2px);
}

.oc-site-icon {
  font-size: 20px;
}

.oc-site-icon[src] {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.oc-site-name {
  font-size: 12px;
  text-align: center;
}

.oc-recent {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.oc-recent-item {
  padding: 10px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  background: var(--bg-2);
}

.oc-recent-online {
  border-left-color: var(--good);
}

.oc-recent-offline {
  border-left-color: var(--bad);
}

.oc-recent-url {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  word-break: break-all;
}

.oc-recent-meta {
  font-size: 11px;
  color: var(--muted);
}

.oc-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 800px) {
  .oc-result {
    flex-direction: column;
    text-align: center;
  }
  .oc-result-badge {
    width: 100%;
  }
  .oc-form {
    grid-template-columns: 1fr;
  }
  .oc-stats {
    justify-content: center;
  }
  .oc-grid {
    grid-template-columns: 1fr;
  }
  .oc-top-sites {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Page head & prose ---------------------------------------------------- */
.page-head { margin-top: 16px; }
.prose { line-height: 1.7; color: var(--text-2); }
.prose h2 { margin: 0 0 10px; color: var(--text); font-size: 20px; letter-spacing: -.01em; }
.prose p + h2 { margin-top: 22px; }
.prose p { margin: 0 0 12px; }
.prose a { color: var(--accent-2); }

/* --- Forms ---------------------------------------------------------------- */
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form span {
  color: var(--text-2); font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(106,163,255,.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { justify-self: start; }

.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Notices -------------------------------------------------------------- */
.notice { padding: 14px 18px; border-radius: 10px; }
.notice.success { color: #052017; background: var(--good); border-color: transparent; }
.notice.error   { color: #2a0707; background: var(--bad);  border-color: transparent; }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: rgba(8,12,20,.6);
}
.footer-grid {
  padding: 36px 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px;
}
.site-footer h2 {
  margin: 0 0 10px; color: var(--text);
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
}
.site-footer p, .site-footer ul { margin: 0; color: var(--text-2); line-height: 1.7; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 4px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* --- Focus visibility ----------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .feature-grid, .tool-grid, .footer-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
}
  .dn-form { grid-template-columns: 1fr; }
  .dn-actions { width: 100%; }

@media (max-width: 700px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 16px;
    background: rgba(8,12,20,.96);
    border-bottom: 1px solid var(--line);
    display: none; gap: 6px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 8px; border-bottom: 0; border-radius: 8px; }
  .main-nav a:hover, .main-nav a.active { background: var(--panel); border-bottom: 0; }

  .feature-grid, .tool-grid, .footer-grid, .cat-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-panel,
  .feature-card, .tool-card, .contact-form, .prose, .page-head { padding: 22px; }
  .cat-card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   v=20260505m  â€” Full dark-theme rewrite of homepage / mega menu / filters /
   tool-about / coming-soon / pagination / footer / FAQ
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Generic helpers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-2);margin:0 0 8px}
.section{padding:56px 0}
.section-head{margin:0 0 28px;max-width:760px}
.section-head h2{margin:0 0 8px;font-size:clamp(22px,3vw,30px);line-height:1.2;color:var(--text);letter-spacing:-.01em}
.section-head p{margin:0;color:var(--text-2);font-size:15.5px;line-height:1.6}
.section-head-center{margin-left:auto;margin-right:auto;text-align:center}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:24px;max-width:none}
.section-link{color:var(--accent-2);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
.section-link:hover{color:var(--text)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* â”€â”€ Chips (override the gradient soon-chip back to themed) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip-soon{display:inline-flex;align-items:center;padding:4px 10px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;background:var(--warn);color:#2c1a02;border:1px solid transparent;margin:0;vertical-align:middle}
.chip-live{background:var(--good);color:#052017}

/* â”€â”€ Homepage hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.home-hero{padding:64px 0 28px;position:relative}
.home-hero-inner{max-width:880px}
.hero-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(106,163,255,.08);color:var(--text-2);font-size:13px;font-weight:600}
.hero-pill .dot{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 10px var(--good)}
.home-hero-title{margin:18px 0 14px;font-size:clamp(32px,5vw,54px);line-height:1.08;letter-spacing:-.02em;color:var(--text);font-weight:800;background:linear-gradient(180deg,#fff 30%,#aab4c8);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.home-hero-lead{margin:0 0 26px;font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:var(--text-2);max-width:680px}
.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.home-hero-trust{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:18px 26px;color:var(--text-2);font-size:14px}
.home-hero-trust li{display:inline-flex;align-items:center;gap:8px}
.home-hero-trust .check{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:rgba(94,213,168,.15);color:var(--good);font-size:11px;font-weight:800}

/* â”€â”€ Spotlight â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.spotlight{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;padding:36px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow);position:relative;overflow:hidden}
.spotlight::before{content:"";position:absolute;inset:auto -20% -40% auto;width:55%;height:140%;background:radial-gradient(circle at 50% 50%,rgba(106,163,255,.18),transparent 60%);pointer-events:none}
.spotlight-copy h2{margin:6px 0 10px;font-size:clamp(22px,2.6vw,30px);color:var(--text)}
.spotlight-copy .lead{margin:0 0 18px;color:var(--text-2);line-height:1.6;font-size:15.5px}
.spot-features{margin:0 0 24px;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.spot-features li{position:relative;padding-left:26px;color:var(--text-2);line-height:1.55;font-size:15px}
.spot-features li::before{content:"";position:absolute;left:0;top:7px;width:14px;height:14px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));box-shadow:0 0 0 4px rgba(106,163,255,.12)}
.spot-features strong{color:var(--text);font-weight:700}
.spotlight-visual{position:relative;z-index:1}
.spot-card{background:var(--bg-2);border:1px solid var(--line-2);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;font-family:ui-monospace,"SF Mono",Menlo,monospace}
.spot-card-row{display:flex;gap:6px;margin-bottom:6px}
.spot-dot{width:10px;height:10px;border-radius:50%;background:var(--line-2)}
.spot-dot:nth-child(1){background:#ff7575}.spot-dot:nth-child(2){background:var(--warn)}.spot-dot:nth-child(3){background:var(--good)}
.spot-bar{position:relative;background:rgba(255,255,255,.04);border-radius:8px;height:34px;display:flex;align-items:center;padding:0 12px;font-size:12px;color:var(--text-2);overflow:hidden}
.spot-bar span{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,rgba(106,163,255,.35),rgba(139,216,255,.55));border-radius:8px}
.spot-bar em{position:relative;font-style:normal;color:var(--text)}
.spot-meta{margin-top:6px;font-size:12.5px;color:var(--text-2)}
.spot-meta strong{color:var(--good)}

/* â”€â”€ Use cases â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.usecase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.usecase{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);transition:transform .15s var(--ease),border-color .15s var(--ease),background .15s var(--ease)}
.usecase:hover{transform:translateY(-2px);border-color:var(--line-2);background:var(--panel-2)}
.usecase-icon{width:42px;height:42px;border-radius:10px;background:rgba(106,163,255,.12);color:var(--accent-2);display:grid;place-items:center;margin-bottom:14px}
.usecase-icon svg{width:22px;height:22px}
.usecase h3{margin:0 0 8px;font-size:18px;color:var(--text)}
.usecase p{margin:0;color:var(--text-2);font-size:14.5px;line-height:1.6}

/* â”€â”€ Rich category cards (used on home) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cat-card-rich{position:relative;padding-top:26px}
.cat-card-icon{width:38px;height:38px;border-radius:10px;background:rgba(139,216,255,.12);color:var(--accent-2);display:inline-grid;place-items:center;margin-bottom:12px}
.cat-card-icon svg{width:20px;height:20px}

/* â”€â”€ How it works â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.how-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step}
.how-grid li{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);position:relative}
.how-num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#0a1224;font-weight:800;font-size:14px;margin-bottom:12px}
.how-grid h3{margin:0 0 6px;color:var(--text);font-size:17px}
.how-grid p{margin:0;color:var(--text-2);font-size:14.5px;line-height:1.6}

/* â”€â”€ Featured tool card highlight â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tool-card-feat{border-color:rgba(106,163,255,.45);background:linear-gradient(180deg,var(--panel),var(--panel-2))}

/* â”€â”€ FAQ (homepage accordion) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-wrap{display:flex;flex-direction:column;gap:10px;max-width:880px;margin:0 auto}
.faq-item{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:6px 18px;transition:border-color .15s var(--ease)}
.faq-item[open]{border-color:var(--line-2);background:var(--panel-2)}
.faq-item summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";color:var(--accent-2);font-weight:700;font-size:18px;line-height:1}
.faq-item[open] summary::after{content:"âˆ’"}
.faq-item p{margin:0 0 16px;color:var(--text-2);line-height:1.65;font-size:15px}

/* â”€â”€ Final CTA band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-band{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;padding:32px 36px;border-radius:var(--radius-lg);background:linear-gradient(135deg,rgba(106,163,255,.16),rgba(139,216,255,.08));border:1px solid rgba(106,163,255,.30)}
.cta-band h2{margin:0 0 6px;color:var(--text);font-size:clamp(20px,2.4vw,26px)}
.cta-band p{margin:0;color:var(--text-2);font-size:15px}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}

/* â”€â”€ Tool About â€” dark theme version â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tool-about{display:flex;flex-direction:column;gap:24px}
.tool-about .tool-about-block{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px 28px;box-shadow:0 1px 2px rgba(0,0,0,.18)}
.tool-about .tool-about-block h2{margin:0 0 12px;font-size:21px;line-height:1.25;color:var(--text)}
.tool-about .tool-about-block p{margin:0;color:var(--text-2);line-height:1.7;font-size:15.5px}
.tool-about .tool-bullets,.tool-about .tool-steps{margin:0;padding-left:22px;color:var(--text-2);line-height:1.7;font-size:15.5px}
.tool-about .tool-bullets li+li,.tool-about .tool-steps li+li{margin-top:8px}
.tool-faq{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.tool-faq-item{border:1px solid var(--line);border-radius:10px;padding:10px 16px;background:var(--panel-2)}
.tool-faq-item summary{cursor:pointer;font-weight:600;color:var(--text);list-style:none;padding:6px 0;display:flex;justify-content:space-between;gap:14px}
.tool-faq-item summary::-webkit-details-marker{display:none}
.tool-faq-item summary::after{content:"+";color:var(--accent-2);font-weight:700;font-size:16px}
.tool-faq-item[open] summary::after{content:"âˆ’"}
.tool-faq-item p{margin:8px 0 6px;color:var(--text-2);line-height:1.65}
@media (max-width:640px){.tool-about .tool-about-block{padding:20px}.tool-about .tool-about-block h2{font-size:19px}}

/* â”€â”€ Coming Soon notify card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cs-head h1{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.cs-notify-section{margin:24px 0 36px}
.cs-notify-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:var(--shadow);max-width:680px}
.cs-notify-card h2{margin:0 0 8px;font-size:20px;color:var(--text)}
.cs-notify-card p{margin:0 0 16px;color:var(--text-2);font-size:15px;line-height:1.6}
.cs-notify-form{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.cs-notify-field{flex:1 1 240px;min-width:0;display:flex}
.cs-notify-field input{flex:1;padding:12px 14px;border:1px solid var(--line);border-radius:10px;font-size:15px;font-family:inherit;background:var(--bg-2);color:var(--text)}
.cs-notify-field input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(106,163,255,.18)}
.cs-flash{margin-bottom:14px;padding:12px 14px;border-radius:10px;font-size:14px;border:1px solid var(--line)}
.cs-flash-success{background:rgba(94,213,168,.10);color:var(--good);border-color:rgba(94,213,168,.35)}
.cs-flash-error{background:rgba(255,117,117,.08);color:var(--bad);border-color:rgba(255,117,117,.35)}

/* â”€â”€ Mega Menu â€” dark theme + viewport-aware right-anchored panel â”€â”€â”€â”€â”€â”€â”€â”€ */
.has-mega{position:relative}
.mega-toggle{background:none;border:0;font:inherit;color:inherit;cursor:pointer;padding:8px 12px;display:inline-flex;align-items:center;gap:6px;border-radius:8px}
.mega-toggle::after{content:"";display:inline-block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.mega-toggle[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(0)}
.mega-toggle:hover,.mega-toggle:focus-visible,.mega-toggle.active{color:var(--accent-2);outline:none}
.mega-panel{display:none;position:absolute;top:calc(100% + 8px);right:0;left:auto;transform:none;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:22px;width:760px;max-width:calc(100vw - 32px);z-index:60}
.mega-panel[data-open="true"],.mega-panel:not([hidden]){display:block}
.mega-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.mega-col h3{margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-2);font-weight:700}
.mega-col h3 a{color:inherit;text-decoration:none}
.mega-col h3 a:hover{color:var(--accent-2)}
.mega-col-count{color:var(--muted);font-size:11px;font-weight:500}
.mega-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.mega-col ul a{display:block;padding:6px 8px;border-radius:6px;color:var(--text-2);text-decoration:none;font-size:14px;line-height:1.4}
.mega-col ul a:hover{background:var(--panel-2);color:var(--text)}
.mega-col-cta{display:inline-block;margin-top:10px;font-size:13px;font-weight:700;color:var(--accent-2);text-decoration:none}
.mega-col-cta:hover{color:var(--text)}

/* â”€â”€ Footer (dark, dynamic) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;align-items:start}
.footer-grid section h2{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--text);margin:0 0 14px;font-weight:700}
.footer-grid section h2 a{color:inherit;text-decoration:none}
.footer-grid section h2 a:hover{color:var(--accent-2)}
.footer-grid section p{color:var(--text-2);font-size:14px;line-height:1.6;margin:0 0 14px}
.footer-grid section ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer-grid section ul a{color:var(--text-2);text-decoration:none;font-size:14px}
.footer-grid section ul a:hover{color:var(--text)}
.footer-cat-count{color:var(--muted);font-size:12px;margin-left:4px;font-weight:500}
.footer-bottom small{color:var(--muted)}
.footer-bottom small a{color:var(--text-2)!important;transition:color .15s}
.footer-bottom small a:hover{color:var(--text)!important}

/* â”€â”€ Filter chips (dark theme) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px}
.filter-chip{background:var(--panel-2);border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600;color:var(--text-2);cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:8px;transition:all .15s var(--ease)}
.filter-chip:hover{border-color:var(--accent);color:var(--text);background:var(--panel)}
.filter-chip.active{background:linear-gradient(135deg,var(--accent),var(--accent-2));border-color:transparent;color:#0a1224}
.filter-chip .chip-count{font-size:11px;background:rgba(0,0,0,.18);padding:2px 8px;border-radius:999px;font-weight:700;color:inherit}
.filter-chip:not(.active) .chip-count{background:rgba(255,255,255,.06);color:var(--muted)}

/* â”€â”€ Pagination (dark) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination{margin:24px 0 32px}
.pagination .container{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.pg-link{display:inline-block;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text-2);text-decoration:none;font-weight:600;font-size:14px;transition:all .15s var(--ease)}
.pg-link:hover:not(.pg-disabled){border-color:var(--accent);color:var(--text);background:var(--panel-2)}
.pg-disabled{opacity:.4;cursor:not-allowed}
.pg-info{color:var(--muted);font-size:14px}

/* â”€â”€ Last updated stamp â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.last-updated{margin:8px 0 0;color:var(--muted);font-size:13px}
.last-updated time{font-variant-numeric:tabular-nums}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width:980px){
  .spotlight{grid-template-columns:1fr;padding:28px}
  .usecase-grid,.how-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .mega-panel{width:auto;left:8px;right:8px;max-width:none}
}
@media (max-width:700px){
  .home-hero{padding:44px 0 18px}
  .usecase-grid,.how-grid{grid-template-columns:1fr}
  .cta-band{padding:24px}
  .mega-panel{display:none!important}
  .has-mega .mega-toggle{display:none}
  .footer-grid{grid-template-columns:1fr;gap:22px}
  .cs-notify-card{padding:20px}
}

/* === Professional polish v2026-05-05o === */
/* Smooth anchor scroll under sticky header + reduced-motion respect */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Hero: ambient depth glow + crisper second-line gradient stop */
.home-hero { isolation: isolate; }
.home-hero::before {
  content: ""; position: absolute; inset: -10% -20% 0 -20%; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 60% at 20% 10%, rgba(106,163,255,.18), transparent 60%),
    radial-gradient(35% 60% at 85% 0%, rgba(139,216,255,.12), transparent 65%);
}
.home-hero-title {
  background: linear-gradient(180deg, #ffffff 20%, #cdd5e6 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.home-hero { overflow: hidden; }
.hero-pill {
  background: linear-gradient(180deg, rgba(106,163,255,.12), rgba(106,163,255,.04));
  border-color: var(--line-2);
}

/* Eyebrow: soft pill across all sections (consistent visibility) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(139,216,255,.08);
  border: 1px solid rgba(139,216,255,.18);
  color: var(--accent-2); font-size: 11px; letter-spacing: .12em;
}

/* Section rhythm: more breathing room on desktop */
@media (min-width: 900px) { .section { padding: 72px 0; } }

/* Card hover: accent-tinted glow, no layout shift */
.tool-card, .usecase, .cat-card, .how-grid li, .feature-card {
  position: relative;
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.tool-card:hover, .usecase:hover, .cat-card:hover, .how-grid li:hover, .feature-card:hover {
  border-color: rgba(106,163,255,.45);
  box-shadow: 0 10px 30px -12px rgba(106,163,255,.28), 0 1px 0 rgba(255,255,255,.04) inset;
}
.how-grid li:hover { transform: translateY(-2px); }

/* Featured tool cards: top accent line + ring */
.tool-card-feat { box-shadow: 0 0 0 1px rgba(106,163,255,.18) inset, var(--shadow); overflow: hidden; }
.tool-card-feat::before {
  content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 0 0 2px 2px;
}

/* "How it works" step connector + numbered chip pop */
@media (min-width: 800px) {
  .how-grid { position: relative; }
  .how-grid::before {
    content: ""; position: absolute; top: 40px; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent);
    z-index: 0;
  }
  .how-grid li { z-index: 1; }
}
.how-num { box-shadow: 0 0 0 4px var(--bg), 0 4px 14px rgba(106,163,255,.30); }

/* Spotlight "real-time" optimisation feel */
@keyframes au-shimmer { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.spot-bar span { animation: au-shimmer 4s ease-in-out infinite; }
.spot-bar:nth-child(2) span { animation-delay: 0s; }
.spot-bar:nth-child(3) span { animation-delay: .8s; }
.spot-bar:nth-child(4) span { animation-delay: 1.6s; }
.spot-bar:nth-child(5) span { animation-delay: 2.4s; }
.spot-meta strong {
  padding: 2px 8px; border-radius: 999px;
  background: rgba(94,213,168,.14); border: 1px solid rgba(94,213,168,.30);
}

/* Final CTA: deeper accent + inner highlight */
.cta-band {
  position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(106,163,255,.20), rgba(139,216,255,.06)),
    var(--panel);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px -32px rgba(106,163,255,.50);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 100% at 100% 0%, rgba(139,216,255,.18), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }

/* Buttons: stronger primary + visible focus */
.btn-primary {
  box-shadow: 0 6px 20px rgba(106,163,255,.32), 0 1px 0 rgba(255,255,255,.20) inset;
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(106,163,255,.42), 0 1px 0 rgba(255,255,255,.24) inset;
}
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.filter-chip:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Footer: top accent hairline */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; opacity: .35;
  background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--accent) 50%, var(--line-2) 75%, transparent);
}

/* Tool category meta: a touch more legible */
.tool-cat { color: var(--text-2); opacity: .80; }

/* Repair previously corrupted arrow glyph */
.panel-link::after { content: '\2192' !important; }

/* Mobile refinements */
@media (max-width: 700px) {
  .home-hero::before { inset: -5% -10% 0 -10%; }
  .how-grid::before { display: none; }
}

/* ── Rotate / Flip tools ─────────────────────────────────────────────────── */
.btn-secondary {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--line-2); background: #1c2640; }

/* File info strip shown after file loads */
.cv-file-info {
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 13px; color: var(--text-2);
}
.cv-file-info p { margin: 0; }

/* Controls container (mirrors .cv-settings) */
.rt-controls,
.fl-controls {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
}

/* Uppercase group labels */
.rt-label,
.rt-group-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: var(--text-2); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
}

/* Hint / help text */
.rt-help-text {
  margin: 6px 0 0;
  font-size: 11px; color: var(--muted); line-height: 1.5;
}

/* Angle number input */
.rt-angle-input {
  width: 100%;
  padding: 8px 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text);
  font-size: 14px; height: 40px;
  transition: border-color .15s;
  -moz-appearance: textfield;
}
.rt-angle-input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(106,163,255,.18); }
.rt-angle-input::-webkit-inner-spin-button,
.rt-angle-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Preset buttons row */
.rt-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.rt-preset-btn { flex: 1; min-width: 56px; font-size: 13px; height: 40px; }

/* Segmented control container */
.rt-seg-container {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.rt-seg-btn {
  flex: 1;
  height: 40px; min-height: 44px;
  padding: 0 10px;
  border: none; border-right: 1px solid var(--line);
  background: var(--panel-2); color: var(--text-2);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.rt-seg-btn:last-child { border-right: none; }
.rt-seg-btn.is-active { background: var(--accent); color: #0a1224; }
.rt-seg-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.rt-seg-btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: auto; }

/* Format selector */
.rt-select {
  width: 100%;
  padding: 8px 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text);
  font-size: 14px; height: 40px;
  transition: border-color .15s;
}
.rt-select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(106,163,255,.18); }

/* GIF note alert */
.rt-gif-note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px; color: var(--text-2);
}

/* Process button wrapper */
.rt-action-row { display: flex; flex-direction: column; gap: 6px; }

/* Single-file result card (rotate / flip) */
.cv-result-preview { flex-shrink: 0; }
.cv-result-preview img {
  max-width: 100px; max-height: 100px;
  object-fit: contain; border-radius: 6px;
  background: repeating-conic-gradient(var(--line) 0% 25%, transparent 0% 50%) 0 0 / 16px 16px;
}
.cv-result-meta { flex: 1; min-width: 0; }
.cv-result-meta .cv-result-name { margin: 0 0 4px; }
.cv-result-meta .cv-result-size,
.cv-result-meta .cv-result-dims { margin: 0 0 2px; font-size: 12px; color: var(--muted); }

/* Make cv-result-card flex-row for single-file layout */
.cv-results .cv-result-card {
  display: flex; flex-direction: row; gap: 14px; align-items: flex-start;
}

@media (min-width: 768px) {
  .rt-controls, .fl-controls { padding: 20px 24px; gap: 20px; }
}

/* --- Header Search button -------------------------------------------------- */
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); color: var(--text-2);
  cursor: pointer; padding: 0;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.search-btn:hover { color: var(--text); border-color: var(--line-2); background: #1c2640; }
.search-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* --- Search Overlay -------------------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.52);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 15vh 16px 0;
  animation: srch-overlay-in .15s var(--ease);
}
.search-overlay[hidden] { display: none !important; }
@keyframes srch-overlay-in { from { opacity: 0; } to { opacity: 1; } }

.search-modal {
  width: 100%; max-width: 480px;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
  animation: srch-modal-in .15s var(--ease);
}
@keyframes srch-modal-in {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.search-input-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.search-icon-sm { flex-shrink: 0; color: var(--muted); }

.search-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  color: var(--text); font: inherit; font-size: 16px;
  -webkit-appearance: none;
}
.search-input::placeholder { color: var(--muted); }
.search-input::-webkit-search-cancel-button { display: none; }

.search-clear {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 6px; color: var(--text-2);
  cursor: pointer; padding: 0;
  transition: color .12s, background .12s;
}
.search-clear:hover { color: var(--text); background: var(--panel-2); }
.search-clear[hidden] { display: none !important; }

.search-close-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 8px; color: var(--text-2);
  cursor: pointer; padding: 0;
  transition: color .12s, background .12s, border-color .12s;
}
.search-close-btn:hover { color: var(--text); background: var(--panel-2); border-color: var(--line); }
.search-close-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.search-status {
  margin: 0; padding: 10px 16px;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.search-status:empty { display: none; }

.search-results {
  list-style: none; margin: 0; padding: 0;
  max-height: 336px; overflow: hidden;
}
.search-result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background .1s;
}
.search-result-item:first-child { border-top: none; }
.search-result-item:hover,
.search-result-item.is-active { background: var(--panel-2); }
.search-result-name {
  font-weight: 600; font-size: 14px; color: var(--text);
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-cat {
  flex-shrink: 0;
  padding: 2px 8px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}

@media (max-width: 700px) {
  .search-overlay { padding: 0; align-items: flex-start; }
  .search-modal {
    max-width: 100%; width: 100%; border-radius: 0;
    border-left: none; border-right: none; border-top: none;
    min-height: 100dvh; min-height: 100vh;
  }
  .search-input-wrap { position: sticky; top: 0; background: var(--panel); z-index: 1; }
  .search-results { max-height: none; }
}

/* --- JWT Decoder ----------------------------------------------------------- */
.jwt-tool { display: flex; flex-direction: column; gap: 20px; }

.jwt-privacy-note {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 8px;
  background: rgba(110,168,255,.08); border: 1px solid rgba(110,168,255,.2);
  font-size: 13px; color: var(--text-2); line-height: 1.4;
}

.jwt-form { display: flex; flex-direction: column; gap: 10px; }
.jwt-form-label { font-weight: 600; font-size: 14px; color: var(--text-2); }

.jwt-textarea {
  width: 100%; box-sizing: border-box;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 14px;
  color: var(--text); font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px; line-height: 1.55; resize: vertical;
  transition: border-color .15s var(--ease);
}
.jwt-textarea:focus { outline: none; border-color: var(--accent-2); }
.jwt-textarea::placeholder { color: var(--muted); }

.jwt-form-footer { display: flex; align-items: center; gap: 14px; }
.jwt-submit { min-width: 130px; }

.jwt-success-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #4ade80;
}

.jwt-error {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px; border-radius: 8px;
  background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25);
  font-size: 14px; color: #f87171; line-height: 1.5;
}

.jwt-results { display: flex; flex-direction: column; gap: 16px; }

.jwt-panels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.jwt-panel, .jwt-sig-section {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}

.jwt-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.jwt-panel-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 5px;
}
.jwt-label-header  { background: rgba(110,168,255,.12); color: #6ea8ff; }
.jwt-label-payload { background: rgba(129,199,132,.12); color: #81c784; }
.jwt-label-sig     { background: rgba(206,147,216,.12); color: #ce93d8; }

.jwt-copy-btn {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 10px; cursor: pointer;
  transition: color .12s, border-color .12s, background .12s;
}
.jwt-copy-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--panel); }

.jwt-code {
  margin: 0; padding: 14px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 13px; line-height: 1.6; color: var(--text-2);
  white-space: pre-wrap; word-break: break-all; overflow: auto;
  max-height: 280px;
}
.jwt-code-sig { color: var(--muted); max-height: 80px; }

.jwt-ts-section {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.jwt-ts-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0; }
.jwt-ts-rows { display: flex; flex-direction: column; gap: 8px; }
.jwt-ts-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px;
}
.jwt-ts-field { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; font-size: 12px; color: var(--accent-2); }
.jwt-ts-epoch { color: var(--muted); }
.jwt-ts-arrow { color: var(--muted); }
.jwt-ts-human { color: var(--text-2); font-weight: 500; }
.jwt-ts-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.jwt-ts-valid   { background: rgba(74,222,128,.12); color: #4ade80; }
.jwt-ts-expired { background: rgba(248,113,113,.12); color: #f87171; }

.jwt-sig-section { padding: 0; }
.jwt-sig-note {
  margin: 0; padding: 10px 14px;
  font-size: 12px; color: var(--muted); line-height: 1.55;
  border-top: 1px solid var(--line);
}
.jwt-sig-empty { margin: 0; padding: 14px; font-size: 13px; color: var(--muted); }

@media (max-width: 700px) {
  .jwt-panels { grid-template-columns: 1fr; }
}

/* --- Password Generator --------------------------------------------------- */
.pg-tool { display: flex; flex-direction: column; gap: 20px; }
.pg-controls { display: flex; flex-direction: column; gap: 16px; }
.pg-ctrl-row  { display: flex; flex-direction: column; gap: 8px; }
.pg-ctrl-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.pg-slider { width: 100%; accent-color: var(--accent); cursor: pointer; min-height: 44px; }

.pg-toggles { display: flex; flex-direction: column; gap: 2px; }
.pg-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
  min-height: 44px; cursor: pointer; padding: 0 4px;
}
.pg-toggle input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; flex-shrink: 0;
}
.pg-toggle--divider { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.pg-charset-error { color: var(--bad); font-size: 13px; margin-top: -8px; }
.pg-regen-btn { align-self: flex-start; }

.pg-output-row { display: flex; gap: 10px; align-items: stretch; }
.pg-output {
  flex: 1; min-width: 0;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 15px; color: var(--text); letter-spacing: .02em; cursor: text;
  transition: border-color .15s var(--ease);
}
.pg-output:focus { outline: none; border-color: var(--accent-2); }
.pg-copy-btn { min-width: 80px; flex-shrink: 0; }
.pg-copy-btn--copied {
  background: var(--good) !important; border-color: var(--good) !important; color: #052017 !important;
}

.pg-entropy--weak        { --ent-color: var(--bad); }
.pg-entropy--fair        { --ent-color: var(--warn); }
.pg-entropy--strong      { --ent-color: var(--accent); }
.pg-entropy--very-strong { --ent-color: var(--good); }

.pg-entropy { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.pg-entropy__track {
  height: 8px; border-radius: 4px;
  background: var(--panel-2); border: 1px solid var(--line); overflow: hidden;
}
.pg-entropy__fill {
  height: 100%; border-radius: 4px;
  background: var(--ent-color, var(--bad));
  transition: width .2s var(--ease), background-color .2s var(--ease);
}
.pg-entropy__label-row { display: flex; align-items: center; gap: 8px; }
.pg-entropy__label { font-size: 14px; font-weight: 600; color: var(--ent-color, var(--bad)); }
.pg-entropy__bits  { font-size: 13px; color: var(--text-2); }

/* --- Number Base Converter — .nbc-* --------------------------------------- */
.nbc-tool{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px}
.nbc-options-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:20px}
.nbc-toggle{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);cursor:pointer;user-select:none;min-height:36px}
.nbc-toggle input[type="checkbox"]{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;flex-shrink:0}
.nbc-toggle-sub{font-size:12px;color:var(--muted)}
.nbc-opt-divider{width:1px;height:24px;background:var(--line);flex-shrink:0}
.nbc-chip-group{display:flex;align-items:center;gap:4px}
.nbc-chip-group-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-right:4px}
.nbc-chip{min-width:44px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--text-2);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .12s var(--ease),border-color .12s,color .12s}
.nbc-chip--active{background:rgba(106,163,255,.18);border-color:var(--accent);color:var(--accent)}
.nbc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.nbc-field{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius-sm);padding:16px;display:flex;flex-direction:column;gap:8px;transition:border-color .15s}
.nbc-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px rgba(106,163,255,.18)}
.nbc-field--error{border-color:var(--bad)!important;box-shadow:0 0 0 2px rgba(255,117,117,.12)!important}
.nbc-field__header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nbc-field__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}
.nbc-field__base-badge{font-size:10px;font-weight:700;padding:2px 7px;border-radius:5px;background:var(--panel);color:var(--text-2);border:1px solid var(--line)}
.nbc-field__input-row{display:flex;gap:8px;align-items:center}
.nbc-field__input{flex:1;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:10px 12px;color:var(--text);font:700 18px/1.4 var(--mono);letter-spacing:.02em;min-height:44px;outline:none;transition:border-color .12s;width:0}
.nbc-field__input::placeholder{color:var(--muted);font-weight:400}
.nbc-field__input:focus{border-color:var(--accent)}
.nbc-field--error .nbc-field__input{border-color:var(--bad)}
.nbc-field__input--dash{color:var(--muted);font-weight:400;cursor:default}
.nbc-field__copy{flex-shrink:0;min-width:64px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text-2);font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .12s,color .12s,border-color .12s;white-space:nowrap}
.nbc-field__copy:hover{background:var(--panel-2);border-color:var(--line-2);color:var(--text)}
.nbc-field__copy--done{color:var(--good);border-color:var(--good)}
.nbc-field__copy:disabled{opacity:.35;cursor:not-allowed}
.nbc-field__error{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--bad);line-height:1.4}
.nbc-field__hint{font-size:12px;color:var(--muted);line-height:1.4}
.nbc-field__hint--active{color:var(--accent-2)}
.nbc-related{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.nbc-related-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-bottom:10px}
.nbc-related-row{display:flex;gap:8px;flex-wrap:wrap}
.nbc-related-chip{display:inline-flex;align-items:center;padding:7px 13px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--text-2);font:inherit;font-size:13px;font-weight:600;text-decoration:none;transition:border-color .12s,color .12s}
.nbc-related-chip:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}
@media(max-width:639px){.nbc-tool{padding:20px 16px}.nbc-grid{grid-template-columns:1fr}.nbc-options-bar{gap:8px;flex-direction:column;align-items:flex-start}.nbc-opt-divider{display:none}.nbc-field__input{font-size:15px}.nbc-chip-group{flex-wrap:wrap}.nbc-toggle{min-height:44px}}

/* --- HTTP Headers Checker — .hc-* ---------------------------------------- */
.hc-controls-row{display:flex;flex-wrap:wrap;gap:20px;align-items:center}
.hc-method-group{display:flex;align-items:center;gap:8px}
.hc-method-label{font-size:13px;color:var(--text-2);font-weight:500}
.hc-method-chip{font:600 12px/1 var(--mono);background:var(--panel-2);border:1px solid var(--line-2);color:var(--text-2);border-radius:6px;padding:7px 13px;cursor:pointer;transition:background .15s,color .15s,border-color .15s;min-height:44px}
.hc-method-chip:hover{background:rgba(106,163,255,.08);color:var(--accent);border-color:var(--accent)}
.hc-method-chip[aria-checked="true"]{background:rgba(106,163,255,.14);color:var(--accent);border-color:var(--accent)}
.hc-follow-label{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2);cursor:pointer;user-select:none;min-height:36px}
.hc-follow-label input[type="checkbox"]{accent-color:var(--accent);width:16px;height:16px;cursor:pointer}
.hc-status-banner{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--bg-2);margin-top:18px}
.hc-status-code{flex-shrink:0;font:800 28px/1 var(--mono);padding:10px 14px;border-radius:var(--radius-sm)}
.hc-s-2xx{background:rgba(94,213,168,.12);color:var(--good);border:1px solid rgba(94,213,168,.25)}
.hc-s-3xx{background:rgba(106,163,255,.12);color:var(--accent);border:1px solid rgba(106,163,255,.25)}
.hc-s-4xx{background:rgba(244,178,91,.12);color:var(--warn);border:1px solid rgba(244,178,91,.25)}
.hc-s-5xx{background:rgba(255,117,117,.12);color:var(--bad);border:1px solid rgba(255,117,117,.25)}
.hc-status-info{flex:1;min-width:0}
.hc-status-text{font-size:16px;font-weight:700;color:var(--text);margin:0 0 2px}
.hc-status-url{font:13px/1.5 var(--mono);color:var(--text-2);word-break:break-all;margin:0 0 10px}
.hc-status-meta{display:flex;flex-wrap:wrap;gap:12px 22px}
.hc-meta-item{display:grid;gap:2px}
.hc-meta-label{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.hc-meta-value{font-size:13px;font-weight:600;color:var(--text)}
.hc-section{margin-top:24px}
.hc-section-title{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 12px;display:flex;align-items:baseline;gap:8px}
.hc-section-count{font-size:11px;font-weight:400;color:var(--muted);text-transform:none;letter-spacing:0}
.hc-chain{display:flex;flex-direction:column}
.hc-hop{display:flex;align-items:flex-start;gap:14px;position:relative}
.hc-hop-spine{display:flex;flex-direction:column;align-items:center;flex-shrink:0;width:22px}
.hc-hop-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);border:2px solid var(--bg-2);flex-shrink:0;margin-top:5px;z-index:1}
.hc-hop-dot--final{background:var(--good)}
.hc-hop-line{width:2px;background:var(--line-2);flex:1;min-height:28px;margin:4px 0}
.hc-hop:last-child .hc-hop-line{display:none}
.hc-hop-body{flex:1;padding-bottom:18px}
.hc-hop:last-child .hc-hop-body{padding-bottom:0}
.hc-hop-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hc-hop-badge{font:700 11px/1 var(--mono);padding:3px 8px;border-radius:5px;flex-shrink:0}
.hc-hop-time{font-size:12px;color:var(--muted)}
.hc-hop-url{font:13px/1.4 var(--mono);color:var(--text-2);word-break:break-all;margin:3px 0 0}
.hc-hop-loc{font-size:11px;color:var(--muted);margin:2px 0 0}
.hc-hop-loc-arrow{color:var(--accent)}
.hc-security-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.hc-sec-card{background:var(--panel-2);border:1px solid var(--line-2);border-radius:var(--radius-sm);padding:12px 14px}
.hc-sec-card--present{border-color:rgba(94,213,168,.22)}
.hc-sec-card--missing{border-color:rgba(255,117,117,.18)}
.hc-sec-name{font:600 12px/1.3 var(--mono);color:var(--text);margin:0 0 7px;word-break:break-all}
.hc-sec-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;letter-spacing:.04em;padding:3px 8px;border-radius:4px;text-transform:uppercase}
.hc-sec-badge--present{background:rgba(94,213,168,.1);color:var(--good)}
.hc-sec-badge--missing{background:rgba(255,117,117,.1);color:var(--bad)}
.hc-sec-tip{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.45}
.hc-hints-row{display:flex;flex-wrap:wrap;gap:8px}
.hc-hint{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:5px 11px;border-radius:20px;border:1px solid var(--line-2);background:var(--panel-2)}
.hc-hint-lbl{color:var(--muted);font-size:11px}
.hc-hint-val{font-weight:600;font-family:var(--mono)}
.hc-hint--positive .hc-hint-val{color:var(--good)}
.hc-hint--neutral .hc-hint-val{color:var(--text-2)}
.hc-hint--warn .hc-hint-val{color:var(--warn)}
.hc-hint--muted .hc-hint-val{color:var(--muted)}
.hc-table-wrap{width:100%;overflow-x:auto;border-radius:var(--radius-sm)}
.hc-table{width:100%;border-collapse:collapse;font-size:13px}
.hc-table th,.hc-table td{text-align:left;padding:8px 12px;border-bottom:1px solid var(--line)}
.hc-table th{color:var(--text-2);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--panel-2);cursor:pointer;user-select:none;white-space:nowrap}
.hc-table th:hover{color:var(--accent)}
.hc-table th[aria-sort]::after{content:' ↕';color:var(--muted);font-size:9px}
.hc-table th[aria-sort="ascending"]::after{content:' ↑';color:var(--accent)}
.hc-table th[aria-sort="descending"]::after{content:' ↓';color:var(--accent)}
.hc-table td:first-child{font-family:var(--mono);font-size:12px;color:var(--accent-2);white-space:nowrap;font-weight:600;width:38%}
.hc-table td:last-child{font-family:var(--mono);font-size:12px;color:var(--text-2);word-break:break-all}
.hc-table tr:last-child td{border-bottom:none}
.hc-table tbody tr:hover td{background:rgba(255,255,255,.02)}
.hc-raw{margin-top:10px;border-top:1px solid var(--line);padding-top:4px}
.hc-raw summary{font-size:12px;color:var(--accent);cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;padding:8px 0;user-select:none;min-height:44px}
.hc-raw summary::-webkit-details-marker{display:none}
.hc-raw[open] summary{color:var(--text-2)}
.hc-raw-icon{transition:transform .2s}
.hc-raw[open] .hc-raw-icon{transform:rotate(90deg)}
.hc-raw-pre{font:12px/1.7 var(--mono);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm);padding:14px 16px;overflow-x:auto;color:var(--text-2);margin:4px 0 0;white-space:pre}
.hc-copy-btn{font:600 11px/1 Inter,system-ui,sans-serif;background:var(--panel-2);border:1px solid var(--line-2);color:var(--text-2);border-radius:6px;padding:5px 10px;cursor:pointer;transition:background .15s;float:right;margin-top:-2px;min-height:32px}
.hc-copy-btn:hover{background:var(--line);color:var(--text)}
@media(max-width:600px){.hc-controls-row{flex-direction:column;align-items:flex-start;gap:12px}.hc-status-banner{flex-direction:column;gap:10px}.hc-security-grid{grid-template-columns:1fr 1fr}.hc-follow-label{min-height:44px}}
@media(max-width:380px){.hc-security-grid{grid-template-columns:1fr}}

/* --- PDF Merge — .pm-* ---------------------------------------------------- */
.pm-file-list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.pm-file-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--panel);
  transition: background .12s var(--ease);
}
.pm-file-item:last-child { border-bottom: none; }
.pm-file-item--dragging  { opacity: .4; border: 2px dashed var(--line-2); background: var(--bg-2); }
.pm-file-item--drag-over { border-top: 2px solid var(--accent); }

.pm-drag-handle {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: none;
  color: var(--muted); cursor: grab;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.pm-drag-handle:hover  { color: var(--text-2); background: var(--panel-2); }
.pm-drag-handle:active { cursor: grabbing; }
.pm-drag-handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pm-file-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,90,90,.12); border-radius: 6px;
  color: var(--bad);
}
.pm-file-info  { flex: 1; min-width: 0; }
.pm-file-name  { margin: 0; font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-file-size  { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.pm-file-order { flex-shrink: 0; font-size: 11px; color: var(--muted); min-width: 16px; text-align: center; }

.pm-remove-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  color: var(--muted); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.pm-remove-btn:hover { color: var(--bad); border-color: var(--bad); background: rgba(255,80,80,.08); }
.pm-remove-btn:focus-visible { outline: 2px solid var(--accent); }

.pm-kbd-hint {
  padding: 8px 16px;
  font-size: 11px; color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.pm-kbd-hint kbd {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 5px; font-size: 11px; font-family: inherit;
}

.pm-file-count {
  display: inline-flex; align-items: center;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 10px;
  font-size: 12px; font-weight: 700; color: var(--text-2);
}

.pm-result {
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.pm-result-msg      { margin: 0; font-size: 14px; color: var(--good); font-weight: 600; }
.pm-result-filename { margin: 0; font-size: 13px; color: var(--text-2); }
.pm-result-actions  { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- PDF Split — .ps-* ---------------------------------------------------- */
.ps-mode-bar {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: var(--bg-2);
}
.ps-mode-bar fieldset { border: none; margin: 0; padding: 0; }
.ps-mode-bar legend {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px; display: block;
}
.ps-mode-group { display: flex; gap: 6px; flex-wrap: wrap; }
.ps-mode-group input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ps-mode-label {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); color: var(--text-2);
  font-size: 14px; font-weight: 600;
  cursor: pointer; min-height: 44px;
  transition: border-color .15s, background .15s, color .15s;
}
.ps-mode-label:hover { border-color: var(--line-2); background: #1c2640; color: var(--text); }
.ps-mode-group input[type="radio"]:checked + .ps-mode-label {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent; color: #0a1224;
}
.ps-mode-group input[type="radio"]:focus-visible + .ps-mode-label {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.ps-mode-panel { padding: 12px 0 4px; }

.ps-range-row   { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ps-range-group { display: flex; flex-direction: column; gap: 4px; }
.ps-range-label {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
}
.ps-range-input {
  width: 90px; padding: 9px 12px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px;
  transition: border-color .15s;
}
.ps-range-input:focus { outline: none; border-color: var(--accent-2); }
.ps-range-hint { font-size: 12px; color: var(--muted); margin: 0; align-self: center; }

.ps-pick-hint { font-size: 13px; color: var(--text-2); margin: 0; }
.ps-pick-count {
  font-size: 12px; font-weight: 700; color: var(--accent-2);
  background: rgba(106,163,255,.1); border: 1px solid rgba(106,163,255,.2);
  border-radius: 999px; padding: 3px 10px;
}
.ps-pick-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ps-all-hint { font-size: 13px; color: var(--text-2); margin: 0; }

.ps-page-section { border-top: 1px solid var(--line); padding: 16px; }
.ps-page-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 8px;
}
.ps-page-section-label {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .06em;
}

.ps-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.ps-page-thumb {
  position: relative;
  aspect-ratio: 210 / 297;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 6px;
  overflow: hidden;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.ps-page-thumb--selectable { cursor: pointer; }
.ps-page-thumb--selectable:hover { border-color: var(--line-2); background: #1c2640; }
.ps-page-thumb--selected {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px var(--accent);
  background: rgba(106,163,255,.08);
}
.ps-page-thumb--selectable:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ps-page-num { font-size: 10px; color: var(--muted); position: relative; z-index: 2; }

.ps-page-check {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--line-2);
  background: var(--panel);
  display: none; z-index: 3;
}
.ps-mode-pick .ps-page-check { display: block; }
.ps-page-thumb--selected .ps-page-check {
  background: var(--accent); border-color: var(--accent);
}
.ps-page-thumb--selected .ps-page-check::after {
  content: '';
  position: absolute; inset: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%230a1224' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.ps-page-lines {
  position: absolute; inset: 6px 6px 20px;
  display: flex; flex-direction: column; gap: 3px;
}
.ps-page-line { height: 2px; border-radius: 2px; background: var(--line); }
.ps-page-line:first-child  { width: 65%; background: var(--line-2); height: 3px; }
.ps-page-line:nth-child(2) { width: 85%; }
.ps-page-line:nth-child(3) { width: 90%; }
.ps-page-line:nth-child(4) { width: 70%; }
.ps-page-line:nth-child(5) { width: 80%; }
.ps-page-line:nth-child(6) { width: 50%; }

.ps-result {
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.ps-result-msg   { margin: 0; font-size: 14px; color: var(--good); font-weight: 600; }
.ps-result-links { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ps-result-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--accent-2); font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: border-color .15s;
}
.ps-result-link:hover { border-color: var(--line-2); text-decoration: none; }
.ps-result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 767px) {
  .ps-mode-group        { flex-direction: column; }
  .ps-mode-label        { width: 100%; }
  .ps-range-row         { flex-direction: column; align-items: flex-start; }
  .ps-range-hint        { align-self: flex-start; }
  .pm-file-order        { display: none; }
  .pm-result-actions,
  .ps-result-actions    { flex-direction: column; width: 100%; }
  .pm-result-actions .btn,
  .ps-result-actions .btn { width: 100%; justify-content: center; }
}

/* =====================================================================
   ARTICLES — .art-* classes
   All tokens from existing :root. No new CSS custom properties.
   ===================================================================== */

.art-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  margin-top: 32px;
  align-items: start;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  margin-bottom: 28px;
  font-size: 13px;
}
.art-meta-author { font-weight: 700; color: var(--text); }
.art-meta-sep    { color: var(--line-2); user-select: none; }
.art-meta-date   { color: var(--text-2); }
.art-meta-read   { color: var(--muted); }

.art-body {
  max-width: 680px;
  color: var(--text-2);
  line-height: 1.75;
}
.art-body h2 {
  margin: 36px 0 14px;
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--text);
  letter-spacing: -.015em;
  line-height: 1.2;
  scroll-margin-top: 80px;
}
.art-body h2:first-child { margin-top: 0; }
.art-body h3 {
  margin: 24px 0 10px;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -.01em;
  scroll-margin-top: 80px;
}
.art-body p    { margin: 0 0 16px; }
.art-body ul,
.art-body ol   { margin: 0 0 16px; padding-left: 22px; }
.art-body li   { margin-bottom: 6px; }
.art-body a    { color: var(--accent-2); }
.art-body strong { color: var(--text); font-weight: 700; }
.art-body code {
  font-family: "SF Mono", "Cascadia Mono", "Fira Code", Consolas, monospace;
  font-size: .875em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--accent-2);
}
.art-body pre {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  overflow-x: auto;
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
}
.art-body pre code { background: none; border: none; padding: 0; font-size: inherit; color: var(--text); }

.art-blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  margin: 24px 0;
  background: rgba(106,163,255,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.art-img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-width: 100%;
  display: block;
  margin: 0 0 8px;
}
.art-img-caption { font-size: 13px; color: var(--muted); text-align: center; margin: 0 0 24px; }

.art-tool-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 28px 0;
  max-width: 680px;
}
.art-tool-cta-content   { flex: 1; min-width: 0; }
.art-tool-cta-label     { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent-2); margin: 0 0 4px; }
.art-tool-cta-heading   { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.art-tool-cta-desc      { margin: 0; font-size: 13px; color: var(--text-2); }

.art-end-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(106,163,255,.10) 0%, rgba(139,216,255,.04) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  max-width: 680px;
}
.art-end-cta-copy       { flex: 1; min-width: 0; }
.art-end-cta-eyebrow    { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--accent-2); margin: 0 0 6px; }
.art-end-cta-heading    { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.art-end-cta-desc       { margin: 0; color: var(--text-2); font-size: 14px; }

.art-sidebar { position: sticky; top: 80px; }
.art-toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.art-toc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 12px;
}
.art-toc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.art-toc-list a {
  display: flex; align-items: center;
  font-size: 13px; color: var(--text-2);
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  min-height: 44px; line-height: 1.4;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.art-toc-list a:hover        { color: var(--text); background: var(--bg-2); text-decoration: none; }
.art-toc-list a.active       { color: var(--accent-2); }
.art-toc-list a.art-toc-h3  { padding-left: 22px; font-size: 12px; color: var(--muted); min-height: 36px; }
.art-toc-list a.art-toc-h3:hover { color: var(--text-2); }

@media (max-width: 1023px) {
  .art-wrap    { grid-template-columns: 1fr; }
  .art-sidebar { display: none; }
}
@media (max-width: 767px) {
  .art-tool-cta          { flex-direction: column; align-items: flex-start; }
  .art-tool-cta .btn     { align-self: stretch; justify-content: center; }
  .art-end-cta           { flex-direction: column; padding: 22px 20px; }
  .art-end-cta .btn      { align-self: stretch; justify-content: center; }
}

/* HTML about_long blocks — video-tool footer (.tool-about-html) and network-tool (.tool-about-text) */
.tool-about-block .tool-about-html p,.tool-about-block .tool-about-text p{margin:0 0 14px;color:var(--text-2);line-height:1.75;font-size:15px}
.tool-about-block .tool-about-html p:last-child,.tool-about-block .tool-about-text p:last-child{margin-bottom:0}
.tool-about-block .tool-about-html h3,.tool-about-block .tool-about-text h3{margin:20px 0 8px;font-size:16px;font-weight:700;color:var(--text);letter-spacing:-.01em}
.tool-about-block .tool-about-html strong,.tool-about-block .tool-about-text strong{color:var(--text)}
.tool-about-block .tool-about-html code,.tool-about-block .tool-about-text code{font-family:monospace;background:var(--panel-2);padding:1px 5px;border-radius:3px;font-size:13px}

/* ═══════════════════════════════════════
   Watermark PDF  (.wm-*)
═══════════════════════════════════════ */

.wm-privacy {
  display:flex;align-items:center;gap:8px;
  background:rgba(90,140,255,.09);border:1px solid rgba(90,140,255,.2);
  border-radius:var(--radius-sm);padding:9px 14px;
  font-size:13px;color:var(--text-2);margin-bottom:16px;
}
.wm-privacy svg{flex-shrink:0;color:var(--accent)}

.wm-tool{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:24px}

/* Dropzone */
.wm-dropzone{position:relative;border-bottom:2px dashed var(--line);cursor:pointer;outline:none;transition:border-color .2s var(--ease),background .2s var(--ease)}
.wm-dropzone:hover,.wm-dropzone--drag{border-color:var(--accent);background:rgba(106,163,255,.04)}
.wm-dropzone:focus-visible{box-shadow:inset 0 0 0 3px rgba(106,163,255,.25);border-color:var(--accent)}
.wm-dropzone--has-file{border-style:solid;border-color:var(--line-2)}
.wm-dropzone-inner{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:32px 20px;pointer-events:none}
.wm-dropzone--has-file .wm-dropzone-inner{padding:14px 20px}
.wm-upload-icon{color:var(--accent-2);opacity:.7;flex-shrink:0}
.wm-dropzone-text{min-width:0}
.wm-dropzone-label{font-size:15px;font-weight:600;color:var(--text);margin-bottom:4px}
.wm-dropzone-sub{font-size:12px;color:var(--muted)}
.wm-dropzone input[type="file"]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;z-index:1}

/* File info row (has-file state) */
.wm-file-info{display:none;align-items:center;gap:10px;width:100%}
.wm-dropzone--has-file .wm-file-info{display:flex}
.wm-dropzone--has-file .wm-dropzone-label,
.wm-dropzone--has-file .wm-dropzone-sub,
.wm-dropzone--has-file .wm-upload-icon,
.wm-dropzone--has-file .wm-browse-btn{display:none}
.wm-file-icon{flex-shrink:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:rgba(255,90,90,.12);border-radius:8px;color:var(--bad)}
.wm-file-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.wm-file-meta{font-size:12px;color:var(--muted);white-space:nowrap}
.wm-file-remove{margin-left:auto;flex-shrink:0;pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--muted);cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.wm-file-remove:hover{color:var(--bad);border-color:var(--bad);background:rgba(255,80,80,.08)}
.wm-file-remove:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Options panel */
.wm-options{border-top:1px solid var(--line);padding:20px;display:flex;flex-direction:column;gap:20px;background:var(--bg-2)}
.wm-field{display:flex;flex-direction:column;gap:8px}
.wm-label{font-size:13px;font-weight:600;color:var(--text-2);display:flex;align-items:center;justify-content:space-between}
.wm-char-count{font-size:12px;color:var(--muted);font-weight:400}
.wm-text-input{width:100%;background:var(--panel);color:var(--text);border:1px solid var(--line-2);border-radius:var(--radius-sm);padding:10px 14px;font:15px/1.5 inherit;transition:border-color .15s var(--ease)}
.wm-text-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(106,163,255,.18)}
.wm-text-input::placeholder{color:var(--muted)}

/* Opacity slider */
.wm-range-row{display:flex;align-items:center;gap:14px}
.wm-range-input{flex:1;accent-color:var(--accent);cursor:pointer;height:4px}
@media (pointer:coarse){.wm-range-input{padding:20px 0;height:auto}}
.wm-range-output{flex-shrink:0;min-width:48px;text-align:right;font-size:14px;font-weight:700;color:var(--accent)}
.wm-range-hint{font-size:12px;color:var(--muted);margin-top:2px}

/* Position selector */
.wm-position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wm-pos-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 8px;min-height:72px;background:var(--panel);border:1px solid var(--line);border-radius:10px;cursor:pointer;font:600 11px/1.2 inherit;color:var(--text-2);transition:border-color .15s var(--ease),background .15s,color .15s;text-align:center;letter-spacing:.02em}
.wm-pos-btn:hover{border-color:var(--accent-2);color:var(--text);background:rgba(106,163,255,.06)}
.wm-pos-btn--active{border-color:var(--accent);background:rgba(106,163,255,.12);color:var(--accent-2)}
.wm-pos-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* Action bar */
.wm-action-bar{border-top:1px solid var(--line);background:var(--bg-2);padding:14px 20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cv-spinner{width:16px;height:16px;border:2px solid rgba(106,163,255,.2);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;flex-shrink:0}
@keyframes spin{to{transform:rotate(360deg)}}
.wm-status-text{font-size:13px;color:var(--muted)}

/* Inline error */
.wm-error-inner{display:flex;gap:8px;padding:12px 20px}
.wm-error{display:flex;align-items:flex-start;gap:8px;background:rgba(255,117,117,.09);border:1px solid rgba(255,117,117,.25);border-radius:var(--radius-sm);padding:11px 14px;font-size:13px;color:var(--bad);width:100%}
.wm-error svg{flex-shrink:0;margin-top:1px}

/* Result card */
.wm-result{border-top:1px solid var(--line);padding:20px;display:flex;flex-direction:column;gap:12px}
.wm-result-ok{font-size:15px;font-weight:700;color:var(--good);display:flex;align-items:center;gap:8px}
.wm-result-filename{font-size:13px;color:var(--text-2)}
.wm-result-actions{display:flex;gap:10px;flex-wrap:wrap}

@media (max-width:767px){
  .wm-options{padding:16px;gap:16px}
  .wm-position-grid{gap:6px}
  .wm-pos-btn{padding:8px 4px;min-height:64px;font-size:10px}
  .wm-action-bar{flex-wrap:wrap}
  .wm-result-actions{flex-direction:column}
}
@media (max-width:480px){
  .wm-position-grid{grid-template-columns:repeat(2,1fr)}
}
