    /* ── TOKENS ───────────────────────────────────────────── */
    :root {
      --brand: #FF6B2B;
      --brand-dim: #e85a1f;
      --accent: #00C9A7;
      --accent-dim: #00a889;

      --bg: #0D0F14;
      --bg2: #13161D;
      --bg3: #1A1E28;
      --surface: #1E2330;
      --surface2: #252A3A;
      --border: #2C3346;
      --border-light: #3a4257;

      --text: #EEF0F6;
      --text2: #9AA3B8;
      --text3: #616880;

      --success: #22C55E;
      --warning: #F59E0B;
      --error: #EF4444;

      --radius: 12px;
      --radius-sm: 8px;
      --radius-lg: 18px;
      --shadow: 0 4px 24px rgba(0,0,0,.45);
      --shadow-sm: 0 2px 10px rgba(0,0,0,.3);

      --font-display: 'Outfit', sans-serif;
      --font-body: 'Inter', sans-serif;

      --nav-h: 64px;
      --transition: .2s ease;
    }

    [data-theme="light"] {
      --bg: #F4F6FB;
      --bg2: #EBEEF7;
      --bg3: #E2E6F2;
      --surface: #FFFFFF;
      --surface2: #F0F3FC;
      --border: #D4D9ED;
      --border-light: #C2C9DF;
      --text: #111827;
      --text2: #4B5568;
      --text3: #9CA3AF;
      --shadow: 0 4px 24px rgba(0,0,0,.1);
      --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text);
      line-height: 1.65;
      overflow-x: hidden;
      transition: background var(--transition), color var(--transition);
    }

    /* ── SCROLLBAR ─────────────────────────────────────────── */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg2); }
    ::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

    /* ── NAV ───────────────────────────────────────────────── */
    .nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      height: var(--nav-h);
      background: rgba(13,15,20,.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      padding: 0 20px;
      gap: 12px;
      transition: background var(--transition);
    }
    [data-theme="light"] .nav { background: rgba(244,246,251,.92); }

    .nav-brand {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 1.15rem;
      color: var(--text);
      text-decoration: none;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-brand span.dot { color: var(--brand); }
    .nav-brand svg { flex-shrink: 0; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-left: 16px;
      flex: 1;
      list-style: none;
    }
    .nav-links > li { position: relative; }
    .nav-links > li > a, .nav-links > li > button {
      font-size: .82rem;
      font-weight: 500;
      color: var(--text2);
      text-decoration: none;
      padding: 6px 10px;
      border-radius: 8px;
      border: none;
      background: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      transition: color var(--transition), background var(--transition);
    }
    .nav-links > li > a:hover, .nav-links > li > button:hover { color: var(--text); background: var(--surface); }

    .nav-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      min-width: 240px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 8px;
      display: none;
      z-index: 999;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }
    .nav-dropdown.two-col { display: none; grid-template-columns: 1fr 1fr; }
    .nav-links > li:hover .nav-dropdown,
    .nav-links > li:focus-within .nav-dropdown { display: grid; }

    .nav-dropdown a {
      font-size: .78rem;
      color: var(--text2);
      text-decoration: none;
      padding: 7px 10px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background var(--transition), color var(--transition);
      white-space: nowrap;
    }
    .nav-dropdown a:hover { background: var(--surface2); color: var(--text); }
    .nav-dropdown a svg { flex-shrink: 0; }

    .nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

    .btn-icon {
      width: 36px; height: 36px;
      border: none; background: var(--surface); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: var(--text2);
      transition: background var(--transition), color var(--transition);
    }
    .btn-icon:hover { background: var(--surface2); color: var(--text); }

    .hamburger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; align-items: center; justify-content: center; border: none; background: var(--surface); border-radius: 8px; cursor: pointer; }
    .hamburger span { display: block; width: 18px; height: 2px; background: var(--text2); border-radius: 2px; transition: transform .25s, opacity .25s; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-menu {
      display: none;
      position: fixed;
      top: var(--nav-h);
      left: 0; right: 0; bottom: 0;
      background: var(--bg2);
      z-index: 999;
      overflow-y: auto;
      padding: 16px;
    }
    .mobile-menu.open { display: block; }
    .mobile-menu a {
      display: block;
      font-size: .9rem;
      color: var(--text2);
      text-decoration: none;
      padding: 10px 12px;
      border-radius: 8px;
      transition: background var(--transition), color var(--transition);
    }
    .mobile-menu a:hover { background: var(--surface); color: var(--text); }
    .mobile-menu-section { font-size: .7rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; padding: 12px 12px 4px; }

    /* ── BREADCRUMB ────────────────────────────────────────── */
    .breadcrumb {
      display: flex; align-items: center; gap: 6px;
      font-size: .75rem; color: var(--text3);
      padding: 10px 20px;
      max-width: 1200px; margin: 0 auto;
      flex-wrap: wrap;
    }
    .breadcrumb a { color: var(--text3); text-decoration: none; transition: color var(--transition); }
    .breadcrumb a:hover { color: var(--brand); }
    .breadcrumb span.sep { color: var(--border-light); }
    .breadcrumb span.current { color: var(--text2); }

    /* ── HERO ──────────────────────────────────────────────── */
    .hero {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px 40px;
      text-align: center;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
      color: var(--brand);
      background: rgba(255,107,43,.1);
      border: 1px solid rgba(255,107,43,.25);
      border-radius: 999px;
      padding: 4px 14px;
      margin-bottom: 20px;
    }
    .hero h1 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 16px;
      color: var(--text);
    }
    .hero h1 .grad {
      background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p {
      font-size: 1.05rem;
      color: var(--text2);
      max-width: 600px;
      margin: 0 auto 28px;
    }
    .hero-stats {
      display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
      margin-bottom: 40px;
    }
    .hero-stat { text-align: center; }
    .hero-stat .num {
      font-family: var(--font-display);
      font-size: 1.6rem; font-weight: 800;
      color: var(--brand);
    }
    .hero-stat .label { font-size: .75rem; color: var(--text3); }

    /* ── MAIN TOOL ─────────────────────────────────────────── */
    .tool-wrap {
      max-width: 1100px;
      margin: 0 auto 60px;
      padding: 0 20px;
    }

    /* Tab switcher */
    .tab-row {
      display: flex; gap: 4px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 4px;
      margin-bottom: 24px;
      width: fit-content;
    }
    .tab-btn {
      font-size: .82rem; font-weight: 600;
      padding: 7px 18px;
      border: none; border-radius: 8px;
      background: none; color: var(--text2);
      cursor: pointer;
      transition: background var(--transition), color var(--transition);
    }
    .tab-btn.active { background: var(--brand); color: #fff; }

    .tool-grid {
      display: grid;
      grid-template-columns: 1fr 420px;
      gap: 20px;
      align-items: start;
    }
    @media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }

    /* Cards */
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px;
    }
    .card-title {
      font-family: var(--font-display);
      font-size: .95rem;
      font-weight: 700;
      margin-bottom: 16px;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .card-title svg { color: var(--brand); }

    /* Form controls */
    .field { margin-bottom: 14px; }
    .field label {
      display: flex; align-items: center; justify-content: space-between;
      font-size: .78rem; font-weight: 600; color: var(--text2);
      margin-bottom: 5px;
    }
    .field label .required { color: var(--error); font-size: .7rem; }
    .field label .hint { font-size: .7rem; font-weight: 400; color: var(--text3); }

    .field input, .field select, .field textarea {
      width: 100%;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text);
      font-family: var(--font-body);
      font-size: .85rem;
      padding: 9px 12px;
      outline: none;
      transition: border-color var(--transition), box-shadow var(--transition);
    }
    .field input:focus, .field select:focus, .field textarea:focus {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px rgba(255,107,43,.15);
    }
    .field input.error, .field select.error, .field textarea.error {
      border-color: var(--error);
      box-shadow: 0 0 0 3px rgba(239,68,68,.12);
    }
    .field input.valid, .field select.valid, .field textarea.valid { border-color: var(--success); }
    .field textarea { resize: vertical; min-height: 80px; }
    .field .err-msg { font-size: .72rem; color: var(--error); margin-top: 4px; display: none; }
    .field.has-error .err-msg { display: block; }
    .field select option { background: var(--bg2); }

    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

    /* Item cards */
    .items-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 12px;
    }
    .items-header h3 {
      font-family: var(--font-display);
      font-size: .9rem; font-weight: 700; color: var(--text);
    }
    .items-count {
      font-size: .72rem; font-weight: 600;
      background: var(--brand);
      color: #fff;
      border-radius: 999px;
      padding: 2px 10px;
    }

    .item-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 10px;
      position: relative;
    }
    .item-card-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 10px;
    }
    .item-card-num {
      font-size: .72rem; font-weight: 700;
      color: var(--brand);
      background: rgba(255,107,43,.1);
      border-radius: 6px;
      padding: 2px 8px;
    }
    .item-card-actions { display: flex; gap: 6px; }

    .btn-sm {
      font-size: .72rem; font-weight: 600;
      padding: 4px 10px;
      border: none; border-radius: 6px;
      cursor: pointer;
      transition: opacity .2s;
    }
    .btn-sm:hover { opacity: .8; }
    .btn-danger { background: rgba(239,68,68,.15); color: var(--error); }
    .btn-secondary { background: var(--surface2); color: var(--text2); }

    .collapse-body { display: block; }
    .item-card.collapsed .collapse-body { display: none; }
    .item-card.collapsed .item-card-header { margin-bottom: 0; }

    /* Buttons */
    .btn {
      font-family: var(--font-body);
      font-size: .88rem; font-weight: 600;
      padding: 11px 22px;
      border: none; border-radius: var(--radius-sm);
      cursor: pointer;
      display: inline-flex; align-items: center; gap: 8px;
      transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    }
    .btn:hover { opacity: .9; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
    .btn:active { transform: translateY(0); }
    .btn-primary { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dim) 100%); color: #fff; }
    .btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%); color: #fff; }
    .btn-outline { background: none; border: 1px solid var(--border); color: var(--text2); }
    .btn-outline:hover { border-color: var(--brand); color: var(--brand); }
    .btn-full { width: 100%; justify-content: center; }

    .btn-add-item {
      width: 100%;
      padding: 10px;
      border: 2px dashed var(--border);
      border-radius: var(--radius-sm);
      background: none;
      color: var(--text2);
      font-size: .82rem; font-weight: 600;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 6px;
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }
    .btn-add-item:hover { border-color: var(--brand); color: var(--brand); background: rgba(255,107,43,.05); }

    /* Output panel */
/* Output panel */
.output-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface2);
  gap: 10px;
  flex-wrap: wrap;
}

.output-title {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.output-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.output-body {
  padding: 0;
  max-height: 520px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.output-body pre {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: .76rem;
  line-height: 1.7;
  color: var(--text2);
  padding: 18px;
  margin: 0;

  /* Mobile-friendly */
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.output-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--text3);
  font-size: .88rem;
}

.output-empty svg {
  margin: 0 auto 12px;
  display: block;
  opacity: .35;
}

    /* Validation summary */
    .validation-bar {
      display: flex; align-items: center; gap: 8px;
      font-size: .78rem;
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      margin-bottom: 14px;
      border: 1px solid;
    }
    .validation-bar.ok { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.25); color: var(--success); }
    .validation-bar.warn { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.25); color: var(--warning); }
    .validation-bar.err { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.25); color: var(--error); }

    /* Sections */
    section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
    .section-label {
      font-size: .72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .1em; color: var(--brand); margin-bottom: 10px;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 3vw, 2.1rem);
      font-weight: 800; color: var(--text);
      margin-bottom: 12px;
    }
    .section-sub { font-size: .95rem; color: var(--text2); max-width: 560px; }

    /* Features */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 40px;
    }
    .feature-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 22px;
      transition: border-color var(--transition), transform var(--transition);
    }
    .feature-card:hover { border-color: var(--brand); transform: translateY(-3px); }
    .feature-icon {
      width: 42px; height: 42px;
      border-radius: 10px;
      background: rgba(255,107,43,.12);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 14px;
      color: var(--brand);
    }
    .feature-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
    .feature-card p { font-size: .8rem; color: var(--text2); line-height: 1.6; }

    /* How it works */
    .how-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
      margin-top: 40px;
    }
    .how-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      text-align: center;
      position: relative;
    }
    .how-num {
      font-family: var(--font-display);
      font-size: 2.5rem; font-weight: 800;
      color: rgba(255,107,43,.15);
      line-height: 1;
      margin-bottom: 10px;
    }
    .how-card h3 { font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
    .how-card p { font-size: .78rem; color: var(--text2); }

    /* Article / SEO content */
    .article-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px;
      max-width: 900px;
      margin: 0 auto 60px;
    }
    .article-section h2 {
      font-family: var(--font-display);
      font-size: 1.3rem; font-weight: 800;
      margin-bottom: 16px; color: var(--text);
    }
    .article-section p { font-size: .9rem; color: var(--text2); line-height: 1.8; margin-bottom: 14px; }
    .article-section strong { color: var(--text); }

    /* FAQ */
    .faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between;
      padding: 16px 20px;
      cursor: pointer;
      font-weight: 600; font-size: .9rem;
      user-select: none;
      transition: background var(--transition);
    }
    .faq-q:hover { background: var(--surface2); }
    .faq-q svg { flex-shrink: 0; transition: transform .25s; }
    .faq-item.open .faq-q svg { transform: rotate(180deg); }
    .faq-a {
      font-size: .85rem; color: var(--text2);
      padding: 0 20px;
      max-height: 0; overflow: hidden;
      transition: max-height .35s ease, padding .35s ease;
      line-height: 1.75;
    }
    .faq-item.open .faq-a { max-height: 300px; padding: 4px 20px 16px; }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, rgba(255,107,43,.12) 0%, rgba(0,201,167,.08) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 56px 40px;
      text-align: center;
    }
    .cta-section h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
    .cta-section p { color: var(--text2); margin-bottom: 28px; }
    .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

    /* Share / Feedback */
    .result-actions {
      display: flex; align-items: center; gap: 10px;
      flex-wrap: wrap;
      padding: 16px 0;
    }
    .result-actions span { font-size: .78rem; color: var(--text3); }

    /* Related tools strip */
    .tools-strip {
      max-width: 1200px; margin: 0 auto;
      padding: 0 20px 60px;
    }
    .tools-strip h2 {
      font-family: var(--font-display);
      font-size: 1rem; font-weight: 700;
      margin-bottom: 16px; color: var(--text);
    }
    .tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 10px;
    }
    .tool-chip {
      display: flex; align-items: center; gap: 8px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 10px 14px;
      text-decoration: none;
      font-size: .78rem; font-weight: 500;
      color: var(--text2);
      transition: border-color var(--transition), color var(--transition), background var(--transition);
    }
    .tool-chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,201,167,.05); }

    /* Divider */
    .divider { border: none; border-top: 1px solid var(--border); margin: 0 20px; }

    /* Footer */
    .footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 48px 20px 24px;
    }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-cols {
      display: grid;
      grid-template-columns: 2fr repeat(4, 1fr);
      gap: 32px;
      margin-bottom: 36px;
    }
    @media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr; } }

    .footer-brand p { font-size: .8rem; color: var(--text3); margin-top: 10px; line-height: 1.6; }
    .footer-brand .brand-name {
      font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
      color: var(--text);
    }
    .footer-col h4 {
      font-size: .75rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .08em; color: var(--text3);
      margin-bottom: 12px;
    }
    .footer-col a {
      display: block;
      font-size: .8rem; color: var(--text2);
      text-decoration: none;
      padding: 3px 0;
      transition: color var(--transition);
    }
    .footer-col a:hover { color: var(--brand); }

    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      border-top: 1px solid var(--border);
      padding-top: 20px;
      flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: .75rem; color: var(--text3); }
    .footer-bottom a { color: var(--text3); text-decoration: none; }
    .footer-bottom a:hover { color: var(--brand); }
    .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
    .disclaimer { font-size: .7rem; color: var(--text3); margin-top: 16px; line-height: 1.6; }

    /* Cookie banner */
    .cookie-bar {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      background: var(--surface);
      border-top: 1px solid var(--border);
      padding: 14px 20px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; flex-wrap: wrap;
      z-index: 9999;
      box-shadow: 0 -4px 20px rgba(0,0,0,.3);
    }
    .cookie-bar p { font-size: .78rem; color: var(--text2); }
    .cookie-bar a { color: var(--brand); text-decoration: none; }
    .cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .cookie-btn {
      font-size: .78rem; font-weight: 600;
      padding: 7px 16px;
      border: none; border-radius: 7px; cursor: pointer;
    }
    .cookie-accept { background: var(--brand); color: #fff; }
    .cookie-dismiss { background: var(--surface2); color: var(--text2); }

    /* Toast */
    .toast {
      position: fixed;
      bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
      background: var(--surface); border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 10px 20px;
      font-size: .82rem; color: var(--text);
      box-shadow: var(--shadow);
      z-index: 9998;
      opacity: 0;
      transition: opacity .3s, transform .3s;
      white-space: nowrap;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* Syntax colouring (basic) */
    .xml-tag { color: #60a5fa; }
    .xml-attr { color: #a78bfa; }
    .xml-val { color: #86efac; }
    .xml-comment { color: #6b7280; font-style: italic; }
    .xml-content { color: #fcd34d; }

    /* Progress bar */
    .progress-wrap { margin-bottom: 14px; }
    .progress-label { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text3); margin-bottom: 5px; }
    .progress-bar { height: 4px; background: var(--bg3); border-radius: 999px; overflow: hidden; }
    .progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 999px; transition: width .4s ease; }

    /* Util */
    .hidden { display: none !important; }
    .text-center { text-align: center; }
    .mt8 { margin-top: 8px; }
    .mt16 { margin-top: 16px; }
    .mt24 { margin-top: 24px; }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .hero { padding: 36px 16px 28px; }
      section { padding: 40px 16px; }
      .article-section { padding: 24px 16px; }
      .cta-section { padding: 36px 16px; }
      .tool-wrap { padding: 0 16px; }
    }
    @media (max-width: 480px) {
      .tab-row { flex-wrap: wrap; }
      .cta-btns { flex-direction: column; align-items: center; }
    }