*{box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:#f5f7fa;color:#111;transition:.3s}
body.dark{background:#000000;color:#e5e7eb}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.theme-toggle{background:rgba(255,255,255,.18);border:none;font-family:inherit;outline:none}
.theme-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Desktop/Landscape - Default styles (width > height) */
header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#2563eb;color:#fff;transition:.3s}
body.dark header{background:#1c1c1e}
header h1{margin:0;font-size:22px;font-weight:600}
.theme-toggle{cursor:pointer;font-size:13px;padding:6px 14px;border-radius:20px;background:rgba(255,255,255,.18);color:#fff;font-family:inherit;border:none;outline:none}
.theme-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}

.page{max-width:760px;margin:0 auto;padding:32px 24px 0 24px}
.card{background:#fff;border-radius:16px;padding:20px;border:1px solid #ddd;margin-bottom:28px;transition:.3s}
body.dark .card{background:#1a1a1a;border-color:#2a2a2a}
.card:last-of-type{margin-bottom:6px}

.tabs{display:flex;gap:10px;flex-wrap:nowrap;margin:-8px -14px 2px;padding:8px 14px 18px;overflow-x:auto;overflow-y:visible;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tabs::-webkit-scrollbar{display:none}
.tab{padding:8px 16px;border-radius:999px;background:#e5e7eb;font-size:13px;cursor:pointer;transition:.3s;white-space:nowrap;flex-shrink:0}
.tab.active{background:#2563eb;color:#fff}
.tab.hide-on-overflow{display:inline-block}
body.dark .tab{background:#2a2a2a;color:#9ca3af}
body.dark .tab.active{background:#2563eb;color:#fff}
@media (max-width: 900px) {
  .tab.hide-on-overflow:not(.active){display:none}
}

.converter-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field label{font-size:12px;margin-bottom:6px;display:block;color:#6b7280}
body.dark .field label{color:#9ca3af}
.field input{width:100%;padding:10px 14px;border-radius:10px;border:1px solid #ccc;font-size:14px;margin-bottom:18px}
.field select{width:100%;padding:10px 36px 10px 14px;border-radius:10px;border:1px solid #ccc;font-size:14px;margin-bottom:18px;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:10px}
body.dark .field input,body.dark .field select{background-color:#2a2a2a;color:#e5e7eb;border-color:#3a3a3a}
body.dark .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239ca3af' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:10px}

.formula{margin:20px 0 10px;font-size:22px;font-weight:600;color:#2563eb}
.copy-btn{position:absolute;right:6px;top:0;bottom:18px;height:32px;margin-top:auto;margin-bottom:auto;background:transparent;border:none;cursor:pointer;padding:6px;border-radius:8px;transition:.2s;display:flex;align-items:center;justify-content:center}
.copy-btn:hover{background:rgba(37,99,235,0.1)}
body.dark .copy-btn:hover{background:rgba(96,165,250,0.1)}
.copy-btn svg{width:20px;height:20px;stroke:#2563eb}
body.dark .copy-btn svg{stroke:#2563eb}
.copy-btn.copied{background:rgba(16,185,129,0.1)}
.copy-btn.copied svg{stroke:#10b981}
body.dark .copy-btn.copied svg{stroke:#34d399}
.units-list{font-size:13px;opacity:.85}

.search-grid{display:grid;grid-template-columns:1fr 1fr auto auto;gap:12px;align-items:end}
.action-btn{padding:8px 14px;border-radius:10px;border:1px solid #ccc;cursor:pointer;background:#f1f5f9;font-size:13px;height:40px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;transition:.3s}
body.dark .action-btn{background:#2a2a2a;color:#e5e7eb;border-color:#3a3a3a}

.all-categories{font-size:16px;line-height:1.7}
/* Offset anchor jumps so the floating header does not cover the target */
#allCategories,#converter{scroll-margin-top:100px}
.all-categories strong{font-size:18px;display:block;margin-bottom:12px}
.categories-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.category-item{cursor:pointer;color:#2563eb;transition:.2s;font-size:16px}
.category-item:hover{text-decoration:underline}
body.dark .category-item{color:#60a5fa}

.converter-boxes{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.converter-boxes .card{margin-bottom:0}
.converter-boxes .card h4{margin:0 0 12px 0;font-size:18px;font-weight:600}
.converter-box-list{display:flex;flex-direction:column;gap:4px;font-size:16px}


footer{background:#f5f5f5;padding:32px 24px;margin-top:0;text-align:center;font-size:14px;color:#6b7280;border-top:1px solid #e5e7eb}
body.dark footer{background:#0d0d0d;border-top-color:#2a2a2a;color:#9ca3af}
footer a{color:#2563eb;text-decoration:none;margin:0 12px;cursor:pointer}
footer a:hover{text-decoration:underline}
body.dark footer a{color:#60a5fa}
footer .copyright{margin-top:16px;font-size:13px;opacity:0.8}

.info-section{max-width:800px;margin:0 auto 48px auto;padding:0 24px 0 24px;display:none}
.info-section.active{display:block}
.info-section h2{font-size:28px;font-weight:600;margin-top:0;margin-bottom:16px;color:#111}

/* ====================================== */
/* PORTRAIT MODE = MOBILE (height > width) */
/* ====================================== */
@media (orientation: portrait) {
  /* Header adjustments */
  header{height:56px;padding:0 16px}
  header h1{font-size:20px}
  .theme-toggle{font-size:12px;padding:5px 12px}
  
  /* Page spacing */
  .page{padding:24px 16px 0 16px}
  
  /* Card adjustments */
  .card{padding:18px;margin-bottom:24px;border-radius:14px}
  
  /* Tabs */
  .tabs{gap:8px;margin-bottom:18px}
  .tab{padding:7px 14px;font-size:12.5px}
  
  /* MAIN CHANGE: Grid to single column */
  .converter-grid{grid-template-columns:1fr;gap:14px}
  
  /* Input font size to prevent iOS zoom */
  .field input,.field select{font-size:16px;padding:11px 14px;margin-bottom:16px}
  .field select{padding-right:36px}
  .field label{font-size:11.5px}
  
  /* Formula adjustments */
  .formula{font-size:19px;margin:16px 0 8px;line-height:1.35}
  
  /* Search grid to single column */
  .search-grid{grid-template-columns:1fr 1fr;gap:10px}
  .search-grid .field{grid-column:1/-1}
  .action-btn{width:auto;margin-bottom:16px}
  
  /* Categories to single column */
  .categories-grid{grid-template-columns:1fr;gap:0}
  .categories-grid br{display:none}
  .category-item{font-size:15px;display:block;padding:4px 0;line-height:1.4;margin:0}
  
  /* Converter boxes to single column */
  .converter-boxes{grid-template-columns:1fr;gap:16px;margin-top:18px}
  .converter-boxes .card h4{font-size:17px}
  .converter-box-list{font-size:15px}
  
  /* Ad space visible on mobile - Google Ads will handle sizing */
  
  /* Footer adjustments */
  footer{padding:24px 16px;font-size:13px}
  footer a{margin:0 10px;padding:4px 0}
  footer .copyright{font-size:12px;margin-top:14px}
}

/* ====================================== */
/* SMALL PORTRAIT MODE (very small phones) */
/* ====================================== */
@media (orientation: portrait) and (max-height: 700px) {
  header{height:52px;padding:0 12px}
  header h1{font-size:18px}
  .page{padding:20px 12px 0 12px}
  .card{padding:16px;margin-bottom:20px;border-radius:12px}
  .tabs{gap:6px;margin-bottom:16px}
  .tab{padding:6px 12px;font-size:12px}
  .formula{font-size:17px;margin:14px 0 8px;line-height:1.4}
  .field input,.field select{padding:10px 12px;margin-bottom:14px}
  .category-item{font-size:14px;padding:3px 0}
  .converter-boxes .card h4{font-size:16px}
  .converter-box-list{font-size:14px}
  footer{padding:20px 12px;font-size:12px}
  footer a{margin:0 8px;font-size:12px}
  footer .copyright{font-size:11px}
}
body.dark .info-section h2{color:#e5e7eb}
.info-section hr{border:none;border-top:2px solid #e5e7eb;margin:16px 0 32px 0}
body.dark .info-section hr{border-top-color:#2a2a2a}
.info-section h3{font-size:20px;margin:32px 0 16px 0;color:#111}
body.dark .info-section h3{color:#e5e7eb}
.info-section p{line-height:1.8;margin:12px 0;color:#374151}
body.dark .info-section p{color:#9ca3af}
.info-section ul{line-height:1.8;margin:12px 0;padding-left:24px;color:#374151}
body.dark .info-section ul{color:#9ca3af}
#mainContent{margin-bottom:38px}
#mainContent.hidden{display:none}
.info-section hr{border:none;border-top:2px solid #e5e7eb;margin:16px 0 32px 0}
body.dark .info-section hr{border-top-color:#2a2a2a}
.info-section h3{font-size:20px;margin:32px 0 16px 0;color:#111}
body.dark .info-section h3{color:#e5e7eb}
.info-section p{line-height:1.8;margin:12px 0;color:#374151}
body.dark .info-section p{color:#9ca3af}
.info-section ul{line-height:1.8;margin:12px 0;padding-left:24px;color:#374151}
body.dark .info-section ul{color:#9ca3af}

/* ── ADS ── */


/* ============================================================= */
/* LIQUID GLASS — iOS 26 style (cohesive controls + clear header) */
/* ============================================================= */

:root{
  --bg-base:#f6f8fc;
  --text:#0b1220;
  --text-soft:#54627c;
  --accent:#2563eb;
  --link:#2563eb;
  --radius-card:26px;
  --radius-field:12px;
  --blur:20px;
  /* Cards keep their look (unchanged on purpose) */
  --glass-card:rgba(255,255,255,.94);
  --glass-brd:rgba(255,255,255,.55);
  --glass-shadow:0 14px 40px rgba(15,23,42,.16);
  --glass-rim:inset 0 1px 1px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.18), inset 0 -14px 24px rgba(255,255,255,.10);
  /* Clear (frost-free) header */
  --header-bg:rgba(255,255,255,.10);
  /* Translucent glass controls (chips, fields, buttons) */
  --chrome:rgba(255,255,255,.30);
  --chip:rgba(255,255,255,.40);
  --chip-brd:rgba(255,255,255,.6);
  --input:#e8eaf1;
  --input-brd:rgba(2,6,23,.16);
  --ctrl-rim:inset 0 1px 0 rgba(255,255,255,.7);
  --box-brd:rgba(15,23,42,.13);
  --box-3d:inset 0 2px 1px rgba(255,255,255,1), inset 0 -3px 6px rgba(15,23,42,.08);
}
body.dark{
  color-scheme:dark;
  --bg-base:#070810;
  --text:#f3f5fa;
  --text-soft:#a6afbf;
  --link:#7eb0ff;
  --glass-brd:rgba(255,255,255,.14);
  --glass-shadow:0 16px 44px rgba(0,0,0,.55);
  --glass-rim:inset 0 1px 1px rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.05), inset 0 -14px 24px rgba(255,255,255,.02);
  --header-bg:rgba(255,255,255,.05);
  --chrome:rgba(255,255,255,.07);
  --chip:rgba(255,255,255,.08);
  --chip-brd:rgba(255,255,255,.14);
  --input:rgba(255,255,255,.07);
  --input-brd:rgba(255,255,255,.16);
  --ctrl-rim:inset 0 1px 0 rgba(255,255,255,.10);
  --box-brd:rgba(255,255,255,.09);
  --box-3d:inset 0 1px 1px rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.05), inset 0 -14px 24px rgba(255,255,255,.02);
}

html{background:var(--bg-base)}
body{
  color-scheme:light;
  background:var(--bg-base);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  transition:color .3s;
}
/* Fixed colour mesh behind the glass (fixed layer => no scroll-repaint jank) */
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(58% 48% at 16% 10%, rgba(99,140,255,.09), transparent 62%),
    radial-gradient(52% 42% at 86% 6%, rgba(56,189,248,.08), transparent 60%),
    radial-gradient(60% 55% at 84% 92%, rgba(244,114,182,.06), transparent 62%),
    radial-gradient(58% 55% at 10% 94%, rgba(168,85,247,.06), transparent 62%),
    linear-gradient(160deg,#fbfcfe 0%,#f5f7fb 100%);
}
body.dark::before{
  background:
    radial-gradient(58% 48% at 16% 10%, rgba(59,130,246,.36), transparent 62%),
    radial-gradient(52% 42% at 86% 6%, rgba(139,92,246,.32), transparent 60%),
    radial-gradient(60% 55% at 84% 92%, rgba(236,72,153,.22), transparent 62%),
    radial-gradient(58% 55% at 10% 94%, rgba(14,165,233,.22), transparent 62%),
    linear-gradient(160deg,#0a0c16 0%,#050608 100%);
}

/* ---- Floating CLEAR header (no frost/blur), same width as cards ---- */
header{
  position:sticky;top:14px;z-index:50;
  height:64px;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:0 12px 0 18px;margin:0 0 26px 0;
  background:var(--header-bg);
  -webkit-backdrop-filter:blur(3px) saturate(140%);
  backdrop-filter:blur(3px) saturate(140%);
  border:1px solid var(--glass-brd);
  border-radius:999px;
  box-shadow:0 10px 30px rgba(2,6,23,.12), inset 0 1px 1px rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.16);
  color:var(--text);
}
body.dark header{
  box-shadow:0 12px 34px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.05);
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.brand .logo{height:40px;width:40px;display:block;filter:drop-shadow(0 3px 6px rgba(37,99,235,.4))}
.header-actions{display:flex;align-items:center;gap:10px}
.lg-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}

/* "Pro Version" — liquid-glass blue pill */
.pro-btn{
  appearance:none;cursor:pointer;font-family:inherit;font-weight:600;font-size:13.5px;letter-spacing:.01em;
  color:#fff;padding:11px 18px;border-radius:999px;white-space:nowrap;
  background:linear-gradient(180deg,#3b82f6,#2563eb);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 5px 14px rgba(37,99,235,.42), inset 0 1px 0 rgba(255,255,255,.4);
}
.pro-btn:active{transform:translateY(.5px)}
.pro-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Theme toggle — round glass icon button */
.theme-toggle{
  width:44px;height:44px;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;
  border-radius:999px;cursor:pointer;color:inherit;font-size:0;
  background:var(--chrome);
  -webkit-backdrop-filter:blur(14px) saturate(180%);
  backdrop-filter:blur(14px) saturate(180%);
  border:1px solid var(--glass-brd);
  box-shadow:var(--ctrl-rim);
  transition:transform .18s cubic-bezier(.2,.8,.2,1), background .2s;
}
.theme-toggle:active{transform:scale(.94)}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.theme-toggle svg{width:21px;height:21px;display:block}
.theme-toggle .icon-moon{display:none}
body.dark .theme-toggle .icon-sun{display:none}
body.dark .theme-toggle .icon-moon{display:block}

/* Cards — frosted glass (colours intentionally unchanged) */
.card{
  background:var(--glass-card);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(185%);
  backdrop-filter:blur(var(--blur)) saturate(185%);
  border:1px solid var(--box-brd);
  border-radius:var(--radius-card);
  box-shadow:var(--glass-shadow), var(--box-3d);
  padding:26px;
  margin-bottom:22px;
}
.card h1{margin:0 0 8px;font-size:28px;font-weight:700;letter-spacing:-.022em;line-height:1.14;color:var(--text)}
.card h2{margin:0 0 12px;font-size:20px;font-weight:650;letter-spacing:-.013em;color:var(--text)}
.card h3{margin:0 0 16px;font-size:18px;font-weight:650;letter-spacing:-.01em;color:var(--text)}
.card p{color:var(--text-soft);line-height:1.72;margin:10px 0;font-size:15.5px}
.card p strong{color:var(--text);font-weight:600}

/* Tabs — liquid-glass chips */
.tab{
  padding:9px 17px;border-radius:999px;font-size:13px;font-weight:550;color:#475569;
  background:linear-gradient(180deg,#eef1f7,#e2e7ef);
  border:1px solid rgba(2,6,23,.15);
  box-shadow:0 3px 9px rgba(15,23,42,.09), inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .15s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .2s;
}
.tab:hover{transform:translateY(-1px)}
.tab.active{background:linear-gradient(180deg,#3b82f6,#2563eb);color:#fff;border:1px solid rgba(255,255,255,.28);box-shadow:0 5px 14px rgba(37,99,235,.42), inset 0 1px 0 rgba(255,255,255,.4)}

/* Fields (From / To values) + selects (From / To units) — liquid glass */
.field label{color:var(--text-soft);font-weight:500;font-size:12.5px;letter-spacing:.01em}
.field input{
  padding:12px 14px;border-radius:var(--radius-field);font-size:15px;color:var(--text);
  background:var(--input);border:1px solid var(--input-brd);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  backdrop-filter:blur(10px) saturate(160%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 2px rgba(0,0,0,.04);
  transition:border-color .18s, box-shadow .18s;
}
.field select{
  padding:12px 36px 12px 14px;border-radius:var(--radius-field);font-size:15px;color:var(--text);
  background-color:var(--input);border:1px solid var(--input-brd);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  backdrop-filter:blur(10px) saturate(160%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.5);
  transition:border-color .18s, box-shadow .18s;
}
.field input:focus,.field select:focus{outline:none;border-color:#2563eb;box-shadow:inset 0 0 0 1.5px rgba(37,99,235,.65), inset 0 2px 5px rgba(37,99,235,.3), inset 0 -2px 6px rgba(37,99,235,.4), 0 0 0 3px rgba(37,99,235,.28)}

/* Result formula — Apple-style gradient text (safe fallback) */
.formula{color:var(--accent);font-size:24px;letter-spacing:-.01em;margin:22px 0 8px}
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .formula{background:linear-gradient(90deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
  body.dark .formula{background:linear-gradient(90deg,#60a5fa,#c084fc);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
}

/* Add / Delete — liquid-glass buttons */
.action-btn{
  height:44px;border-radius:var(--radius-field);color:var(--text-soft);font-weight:550;
  background:var(--input);border:1px solid var(--input-brd);
  -webkit-backdrop-filter:blur(10px) saturate(160%);
  backdrop-filter:blur(10px) saturate(160%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 2px rgba(0,0,0,.04);
  transition:transform .15s, background .2s, box-shadow .2s;
}
.action-btn:hover{transform:translateY(-1px)}
.action-btn:active{transform:translateY(0) scale(.98)}
.search-grid .field input,.search-grid .action-btn{margin-bottom:6px}
.category-item,footer a{color:var(--link)}

/* Footer glass */
footer{
  background:var(--glass-card);
  border-top:1px solid var(--box-brd);
  box-shadow:var(--box-3d);
}
footer span{color:#9ca3af}

/* Dark-mode control overrides — beat original higher-specificity body.dark rules
   (cards are intentionally NOT overridden, keeping their current colours) */
body.dark .tab{background:var(--chip);border:1px solid var(--chip-brd);color:var(--text-soft);box-shadow:0 3px 10px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.08)}
body.dark .tab.active{background:linear-gradient(180deg,#3b82f6,#2563eb);color:#fff;border:1px solid rgba(255,255,255,.28);box-shadow:0 5px 14px rgba(37,99,235,.45), inset 0 1px 0 rgba(255,255,255,.4)}
body.dark .field label{color:var(--text-soft)}
body.dark .field input{background:var(--input);border-color:var(--input-brd);color:var(--text)}
body.dark .field select{background-color:var(--input);border-color:var(--input-brd);color:var(--text)}
body.dark .field select option,body.dark select option{background-color:#2b2b2b;color:#f3f5fa}
body.dark .action-btn{background:var(--input);border:1px solid var(--input-brd);color:var(--text)}
body.dark .category-item{color:var(--link)}
body.dark footer{background:var(--chrome);border-top:1px solid var(--glass-brd);box-shadow:none;-webkit-backdrop-filter:blur(18px) saturate(170%);backdrop-filter:blur(18px) saturate(170%)}
body.dark footer a{color:var(--link)}

/* ---- Performance & accessibility fallbacks ---- */
@supports not ((-webkit-backdrop-filter:blur(2px)) or (backdrop-filter:blur(2px))){
  :root{--glass-card:rgba(255,255,255,.86);--chrome:rgba(255,255,255,.82);--header-bg:rgba(255,255,255,.8);--chip:rgba(255,255,255,.8);--input:rgba(255,255,255,.85)}
  body.dark{--glass-card:rgba(24,26,34,.93);--chrome:rgba(20,22,30,.9);--header-bg:rgba(18,20,28,.85);--chip:rgba(40,44,54,.9);--input:rgba(36,40,50,.92)}
  footer{background:rgba(255,255,255,.9)}
  body.dark footer{background:rgba(12,13,18,.94)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.001ms !important;animation-duration:.001ms !important;scroll-behavior:auto !important}
}

/* Small screens */
@media (max-width:560px){
  header{height:56px;padding:0 10px 0 14px;top:10px;margin-bottom:20px}
  .brand .logo{height:34px;width:34px}
  .pro-btn{font-size:12.5px;padding:9px 14px}
  .theme-toggle{width:38px;height:38px}
  .theme-toggle svg{width:19px;height:19px}
  .header-actions{gap:8px}
  .card{padding:18px;border-radius:20px;margin-bottom:18px}
  .card h1{font-size:24px}
  .card h2{font-size:18px}
  .formula{font-size:20px}
}
