/* ==========================================================================
   TotaLite Help Center — Zendesk (Copenhagen-compatible) theme
   Brand: IBM Plex Sans / Serif · monochrome + emerald accent · light + dark
   ========================================================================== */

/* Color tokens are seeded from theme settings in document_head.hbs via
   --accent / --brand / --bg / --text. Derived tokens live here. */
:root{
  --surface:#FFFFFF;
  --surface-2:#FAFAFA;
  --muted:#5b6472;
  --outline:#E2E8F0;
  --accent:#191A19;
  --accent-soft:#E5E7EB;
  --on-accent:#FFFFFF;
  --amber:#E17100;
  --emerald:#0F8A5F;
  --red:#E7000B;
  --shadow:0 1px 2px rgba(16,24,40,.04),0 10px 28px rgba(16,24,40,.06);
  --maxw:1120px;
  --radius:16px;
}
html[data-theme="dark"]{
  --bg:#000000;
  --surface:#191A19;
  --surface-2:#101110;
  --text:#FAFAFA;
  --muted:#9aa4b2;
  --outline:rgba(255,255,255,.13);
  --accent:#FAFAFA;
  --emerald:#3DBB8A;
  --accent-soft:rgba(255,255,255,.14);
  --on-accent:#000000;
  --shadow:0 1px 2px rgba(0,0,0,.5),0 12px 34px rgba(0,0,0,.55);
}

*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'IBM Plex Sans',system-ui,-apple-system,sans-serif;
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  transition:background .2s ease,color .2s ease;
}
img{max-width:100%;height:auto;}
a{color:var(--text);text-decoration:none;text-underline-offset:3px;transition:color .15s ease;}
a:hover{color:var(--accent);}
::selection{background:var(--accent-soft);color:var(--text);}
::placeholder{color:var(--muted);}
input,select,textarea,button{font-family:inherit;font-size:inherit;}
mark{background:var(--accent-soft);color:var(--text);padding:0 2px;border-radius:3px;}
h1,h2,h3,h4{font-family:'IBM Plex Serif',Georgia,serif;font-weight:500;letter-spacing:-.01em;}
.serif{font-family:'IBM Plex Serif',Georgia,serif;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}

/* ---- Announcement bar --------------------------------------------------- */
.announce{background:var(--brand);color:#fff;font-size:13px;}
.announce-inner{max-width:var(--maxw);margin:0 auto;padding:9px 24px;display:flex;align-items:center;justify-content:center;gap:14px;position:relative;text-align:center;}
.announce-dot{width:7px;height:7px;border-radius:50%;background:var(--accent-soft);flex-shrink:0;}
.announce a.announce-cta{color:#fff;font-weight:600;text-decoration:underline;white-space:nowrap;}
.announce-close{position:absolute;right:16px;top:50%;transform:translateY(-50%);background:none;border:none;color:#fff;opacity:.7;cursor:pointer;padding:4px;display:inline-flex;}
.announce-close:hover{opacity:1;}

/* ---- Header ------------------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--outline);}
.header-inner{max-width:var(--maxw);margin:0 auto;padding:0 24px;height:64px;display:flex;align-items:center;gap:20px;}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);}
.brand:hover{color:var(--text);}
.brand-mark{width:26px;height:26px;border-radius:7px;background:var(--text);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.brand-mark span{width:9px;height:9px;border:2px solid var(--bg);border-radius:50%;}
.brand-logo{max-height:26px;width:auto;display:block;}
.footer-brand .brand-logo{max-height:30px;}
.brand-logo-dark{display:none;}
html[data-theme="dark"] .brand-logo-dark{display:block;}
html[data-theme="dark"] .brand-logo-light{display:none;}
.brand-name{font-weight:600;font-size:17px;letter-spacing:-.01em;}
.brand-sub{font-size:12px;color:var(--muted);border-left:1px solid var(--outline);padding-left:10px;font-weight:500;}
.main-nav{display:flex;align-items:center;gap:4px;margin-left:4px;}
.main-nav a{color:var(--muted);font-size:13.5px;font-weight:500;padding:7px 11px;border-radius:8px;}
.main-nav a:hover{color:var(--text);background:var(--surface-2);}
.header-spacer{flex:1;}
.header-tools{display:flex;align-items:center;gap:10px;}
.icon-btn{width:38px;height:38px;border-radius:9px;border:1px solid var(--outline);background:var(--surface);color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.icon-btn:hover{border-color:var(--accent);color:var(--accent);}
.theme-toggle .moon{display:none;}
html[data-theme="dark"] .theme-toggle .moon{display:block;}
html[data-theme="dark"] .theme-toggle .sun{display:none;}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:9px;padding:9px 16px;font-size:13.5px;font-weight:600;cursor:pointer;white-space:nowrap;transition:filter .15s ease,border-color .15s ease,color .15s ease,background .15s ease;}
.btn-primary{background:var(--accent);color:var(--on-accent);}
.btn-primary:hover{filter:brightness(1.08);color:var(--on-accent);}
.btn-ghost{background:var(--surface);color:var(--text);border:1px solid var(--outline);}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent);}
.btn-lg{padding:13px 24px;font-size:14.5px;border-radius:10px;}
.btn-block{width:100%;}
.nav-toggle{display:none;}
.mobile-only{display:none;}
.main-nav.is-open .mobile-only{display:block;}

/* Zendesk search helper markup */
.search{position:relative;}
.search .search-full,.search input[type="search"]{width:100%;background:var(--surface);border:1px solid var(--outline);color:var(--text);border-radius:9px;padding:9px 14px 9px 36px;font-size:13.5px;outline:none;transition:border-color .15s ease;}
.search input[type="search"]:focus{border-color:var(--accent);}
.search .search-icon,.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;}
.header-search{min-width:230px;}
.header-search form{margin:0;}

/* ---- Hero (home) -------------------------------------------------------- */
.hero{border-bottom:1px solid var(--outline);background:var(--surface-2);}
.hero-inner{max-width:820px;margin:0 auto;padding:76px 24px 64px;text-align:center;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--muted);border:1px solid var(--outline);background:var(--surface);padding:5px 13px;border-radius:999px;margin-bottom:22px;font-weight:500;}
.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#007A55;}
.hero h1{font-size:44px;line-height:1.1;margin:0 0 14px;text-wrap:balance;}
.hero-sub{color:var(--muted);font-size:17px;margin:0 auto 30px;max-width:520px;text-wrap:pretty;}
.hero-search{max-width:600px;margin:0 auto;}
.hero-search form{display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--outline);border-radius:13px;padding:7px 7px 7px 16px;box-shadow:var(--shadow);margin:0;}
.hero-search input[type="search"]{flex:1;border:none;outline:none;background:transparent;color:var(--text);font-size:15.5px;padding:8px 0;}
.hero-search .search-icon{position:static;transform:none;flex-shrink:0;}
.hero-search button[type="submit"],.hero-search input[type="submit"]{background:var(--accent);color:var(--on-accent);border:none;border-radius:9px;padding:11px 22px;font-size:14px;font-weight:600;cursor:pointer;}
.hero-chips{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:20px;}
.hero-chips .chip-label{font-size:12.5px;color:var(--muted);align-self:center;}
.chip{background:var(--surface);border:1px solid var(--outline);color:var(--text);border-radius:999px;padding:6px 13px;font-size:12.5px;font-weight:500;}
.chip:hover{border-color:var(--accent);color:var(--accent);}

/* ---- Section headings --------------------------------------------------- */
.section-head{padding:56px 0 30px;}
.section-head.tight{padding:44px 0 22px;}
.section-head h2{font-size:24px;margin:0 0 6px;}
.section-head p{color:var(--muted);margin:0;font-size:14.5px;}
.row-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px;}
.row-head h2{font-size:24px;margin:0;}
.link-more{font-size:13.5px;font-weight:500;color:var(--accent);display:inline-flex;align-items:center;gap:5px;}

/* ---- Category grid (home) ---------------------------------------------- */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;}
.cat-card{display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--outline);border-radius:var(--radius);padding:24px;color:var(--text);transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease;}
.cat-card:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:var(--shadow);color:var(--text);}
.cat-ico{width:44px;height:44px;border-radius:12px;background:var(--surface-2);border:1px solid var(--outline);display:grid;place-items:center;color:var(--text);}
.cat-title{display:block;font-family:'IBM Plex Serif',serif;font-weight:500;font-size:18px;}
.cat-desc{display:block;color:var(--muted);font-size:13.5px;margin-top:6px;text-wrap:pretty;}
.cat-meta{margin-top:auto;color:var(--muted);font-size:12.5px;font-weight:500;}

/* ---- Popular / article rows -------------------------------------------- */
.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px;}
.art-row{display:flex;align-items:center;gap:15px;background:var(--surface);border:1px solid var(--outline);border-radius:13px;padding:16px 18px;color:var(--text);transition:border-color .15s ease,box-shadow .15s ease;}
.art-row:hover{border-color:var(--accent);box-shadow:var(--shadow);color:var(--text);}
.art-row-ico{width:36px;height:36px;flex-shrink:0;border-radius:9px;background:var(--surface-2);border:1px solid var(--outline);display:grid;place-items:center;color:var(--muted);}
.art-row-title{font-weight:500;font-size:14.5px;line-height:1.35;}
.art-row-meta{display:flex;gap:10px;align-items:center;margin-top:4px;color:var(--muted);font-size:12px;}

/* ---- Dark CTA block ----------------------------------------------------- */
.cta-block{background:var(--brand);color:#fff;border-radius:20px;padding:44px;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;margin:48px 0 0;}
.cta-block h2{color:#fff;font-size:26px;margin:0 0 8px;}
.cta-block p{opacity:.75;margin:0;font-size:15px;max-width:520px;text-wrap:pretty;}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;}
.btn-onbrand{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35);}
.btn-onbrand:hover{background:rgba(255,255,255,.08);color:#fff;}
/* Primary buttons on the always-dark CTA / brand surfaces stay inverted (white on dark) */
.cta-block .btn-primary,.side-brand .btn-primary{background:#fff;color:#191A19;}
.cta-block .btn-primary:hover,.side-brand .btn-primary:hover{filter:none;opacity:.88;}

/* ---- Breadcrumbs -------------------------------------------------------- */
.breadcrumbs,.tl-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:13px;margin:0 0 22px;padding:0;list-style:none;}
.breadcrumbs li{display:inline-flex;align-items:center;gap:8px;}
.breadcrumbs li:not(:last-child)::after{content:"";width:13px;height:13px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;}
.breadcrumbs a{color:var(--muted);}
.breadcrumbs a:hover{color:var(--accent);}
.breadcrumbs li:last-child{color:var(--text);font-weight:500;}

/* ---- Page header (category / section) ---------------------------------- */
.page-head{display:flex;align-items:flex-start;gap:18px;padding-bottom:28px;border-bottom:1px solid var(--outline);margin-bottom:34px;}
.page-head-ico{width:56px;height:56px;flex-shrink:0;border-radius:14px;background:var(--surface);border:1px solid var(--outline);display:grid;place-items:center;color:var(--text);}
.page-head h1{font-size:32px;margin:0 0 8px;}
.page-head p{color:var(--muted);margin:0;font-size:15.5px;max-width:640px;text-wrap:pretty;}

/* ---- Category: section blocks ------------------------------------------ */
.sec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:22px;}
.sec-block{background:var(--surface);border:1px solid var(--outline);border-radius:var(--radius);padding:24px;}
.sec-block-title{font-family:'IBM Plex Serif',serif;font-weight:500;font-size:18px;color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:10px;}
.sec-block-title:hover{color:var(--accent);}
.sec-block-count{font-size:12px;color:var(--muted);font-family:'IBM Plex Sans',sans-serif;font-weight:400;}
.sec-block hr{border:none;height:1px;background:var(--outline);margin:16px 0;}
.sec-block ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.sec-block ul a{font-size:14px;color:var(--text);}
.sec-block ul a:hover{color:var(--accent);}
.sec-block .see-all{font-size:13px;font-weight:500;color:var(--accent);margin-top:16px;display:inline-block;}

/* ---- Section: article list --------------------------------------------- */
.split{display:grid;grid-template-columns:1fr 260px;gap:44px;align-items:start;}
.article-index{border-top:1px solid var(--outline);list-style:none;margin:0;padding:0;}
.article-index li{border-bottom:1px solid var(--outline);}
.article-index a{display:flex;align-items:flex-start;gap:16px;padding:20px 4px;color:var(--text);transition:background .15s ease;}
.article-index a:hover{background:var(--surface-2);color:var(--text);}
.article-index .ai-ico{width:34px;height:34px;flex-shrink:0;border-radius:9px;background:var(--surface-2);border:1px solid var(--outline);display:grid;place-items:center;color:var(--muted);margin-top:2px;}
.article-index .ai-title{font-weight:500;font-size:15.5px;}
.article-index .ai-excerpt{color:var(--muted);font-size:13.5px;margin-top:3px;text-wrap:pretty;}
.article-index .ai-meta{color:var(--muted);font-size:12px;margin-top:7px;}
.article-index .ai-chev{flex-shrink:0;margin-top:8px;color:var(--muted);}
.sidecard{position:sticky;top:88px;background:var(--surface);border:1px solid var(--outline);border-radius:14px;padding:20px;}
.side-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:14px;}
.side-list{display:flex;flex-direction:column;gap:11px;}
.side-list a{font-size:13.5px;color:var(--text);}
.side-list a:hover,.side-list a.is-active{color:var(--accent);}
.side-list a.is-active{font-weight:500;}

/* ---- Article page ------------------------------------------------------- */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:40px;align-items:start;}
.article-toc{position:sticky;top:88px;}
.article-toc .side-label{margin-bottom:14px;}
.toc-list{display:flex;flex-direction:column;gap:2px;border-left:1px solid var(--outline);}
.toc-list a{font-size:13px;color:var(--muted);padding:6px 0 6px 14px;margin-left:-1px;border-left:1px solid transparent;}
.toc-list a:hover,.toc-list a.is-active{color:var(--accent);border-left-color:var(--accent);}
.article-main{min-width:0;}
.article-main h1{font-size:34px;line-height:1.15;margin:0 0 14px;text-wrap:balance;}
.article-meta{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:13px;padding-bottom:24px;border-bottom:1px solid var(--outline);margin-bottom:28px;flex-wrap:wrap;}
.article-body{font-size:16px;line-height:1.7;color:var(--text);}
.article-body h2{font-size:21px;margin:34px 0 12px;}
.article-body h3{font-size:17px;margin:26px 0 10px;}
.article-body p{margin:0 0 18px;text-wrap:pretty;}
.article-body ul,.article-body ol{margin:0 0 18px;padding-left:22px;display:flex;flex-direction:column;gap:10px;}
.article-body li{text-wrap:pretty;}
.article-body img{border:1px solid var(--outline);border-radius:12px;margin:22px 0;max-width:100%!important;height:auto!important;display:block;}
.article-body figure{margin:22px 0;max-width:100%;}
.article-body figure img{margin:0;}
.article-body iframe,.article-body video{max-width:100%;}
.article-body table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;}
.article-body a{color:var(--accent);text-decoration:underline;}
.article-body code{font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:.9em;background:var(--surface-2);border:1px solid var(--outline);border-radius:5px;padding:1px 5px;}
.article-body pre{background:var(--surface-2);border:1px solid var(--outline);border-radius:12px;padding:16px 18px;overflow:auto;}
.article-body blockquote{margin:22px 0;padding:14px 18px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--surface));border-radius:10px;color:var(--text);}
.callout{border-radius:10px;padding:16px 18px;margin:22px 0;display:flex;gap:12px;font-size:14.5px;line-height:1.6;}
.callout svg{flex-shrink:0;margin-top:2px;}
.callout-tip{background:color-mix(in srgb,var(--emerald) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--emerald) 32%,var(--outline));border-left:3px solid var(--emerald);}
.callout-tip svg{stroke:var(--emerald);}
.callout-warn{background:color-mix(in srgb,var(--amber) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--amber) 32%,var(--outline));border-left:3px solid var(--amber);}
.callout-note{background:var(--surface-2);border:1px solid var(--outline);border-left:3px solid var(--muted);}
.callout-note svg{stroke:var(--muted);}
.callout-center{align-items:center;justify-content:center;text-align:center;}

/* Article votes (Zendesk vote helper) */
.article-votes{margin-top:44px;border:1px solid var(--outline);border-radius:var(--radius);padding:26px;background:var(--surface);text-align:center;}
.article-votes-question{font-family:'IBM Plex Serif',serif;font-size:18px;font-weight:500;display:block;margin-bottom:16px;}
.article-votes-controls{display:flex;gap:12px;justify-content:center;}
.article-vote{display:inline-flex;align-items:center;gap:8px;background:var(--surface-2);border:1px solid var(--outline);color:var(--text);border-radius:10px;padding:11px 22px;font-size:14px;font-weight:500;cursor:pointer;}
.article-vote:hover,.article-vote.vote-voted{border-color:var(--accent);color:var(--accent);}
.article-vote-down:hover{border-color:var(--red);color:var(--red);}
.article-votes-label{display:block;margin-top:14px;color:var(--muted);font-size:13px;}

.article-side{position:sticky;top:88px;display:flex;flex-direction:column;gap:16px;}
.side-brand{background:var(--brand);color:#fff;border-radius:14px;padding:20px;}
.side-brand-title{font-family:'IBM Plex Serif',serif;font-size:16px;font-weight:500;margin-bottom:6px;}
.side-brand p{opacity:.72;font-size:13px;margin:0 0 14px;text-wrap:pretty;}
.article-relatives ul,.article-more ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
.article-relatives a{font-size:13.5px;font-weight:500;line-height:1.4;color:var(--text);}
.article-relatives a:hover{color:var(--accent);}

.article-comments{margin-top:44px;}
.comment{border-top:1px solid var(--outline);padding:20px 0;}
.comment-meta{color:var(--muted);font-size:12.5px;margin-bottom:6px;}

/* ---- Search results ----------------------------------------------------- */
.results-head{color:var(--muted);font-size:14px;margin:20px 2px;}
.results-head strong{color:var(--text);font-weight:600;}
.search-results-list{list-style:none;margin:0;padding:0;}
.search-results-list li{border-top:1px solid var(--outline);}
.search-results-list li:last-child{border-bottom:1px solid var(--outline);}
.search-result-link{display:block;padding:22px 4px;color:var(--text);transition:background .15s ease;}
.search-result-link:hover{background:var(--surface-2);color:var(--text);}
.search-result-path{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;}
.search-result-title{display:block;font-family:'IBM Plex Serif',serif;font-weight:500;font-size:18px;margin-bottom:6px;}
.search-result-body{display:block;font-size:14px;color:var(--muted);line-height:1.55;text-wrap:pretty;}
.search-tools{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0;}

/* ---- Forms (requests, contact) ----------------------------------------- */
.form-layout{display:grid;grid-template-columns:1fr 300px;gap:44px;align-items:start;}
.form-narrow{max-width:640px;}
form .form-field,.request-form .form-field{margin-bottom:20px;}
label{display:block;font-size:13px;font-weight:600;margin-bottom:7px;}
input[type="text"],input[type="email"],input[type="search"],input[type="tel"],input[type="url"],input[type="number"],select,textarea,.form-field input,.form-field textarea,.form-field select{width:100%;background:var(--surface);border:1px solid var(--outline);border-radius:10px;padding:12px 14px;font-size:14.5px;color:var(--text);outline:none;transition:border-color .15s ease;}
textarea{resize:vertical;line-height:1.6;min-height:120px;}
input:focus,select:focus,textarea:focus{border-color:var(--accent);}
select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px;}
.form-actions{display:flex;align-items:center;gap:14px;padding-top:4px;}
.side-info{background:var(--surface);border:1px solid var(--outline);border-radius:14px;padding:22px;}
.side-info-title{font-family:'IBM Plex Serif',serif;font-size:17px;font-weight:500;margin-bottom:14px;}
.side-info a,.side-info div{display:flex;align-items:center;gap:10px;font-size:13.5px;margin-bottom:14px;}
.side-info a{color:var(--text);}
.side-info a:hover{color:var(--accent);}
.side-note{background:color-mix(in srgb,var(--accent) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--accent) 24%,var(--outline));border-radius:14px;padding:22px;}
.side-note-title{font-family:'IBM Plex Serif',serif;font-size:16px;font-weight:500;margin-bottom:6px;}
.side-note p{color:var(--muted);font-size:13px;margin:0;text-wrap:pretty;}

/* Zendesk-generated tables (requests list) */
table{width:100%;border-collapse:collapse;font-size:14px;}
th,td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--outline);}
th{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;}
.status-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--outline);}

/* ---- Footer ------------------------------------------------------------- */
.site-footer{border-top:1px solid var(--outline);background:var(--surface-2);margin-top:72px;}
.footer-grid{max-width:var(--maxw);margin:0 auto;padding:44px 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;}
.footer-brand .brand-mark{margin-bottom:12px;}
.footer-brand p{color:var(--muted);font-size:13.5px;margin:0 0 10px;max-width:280px;text-wrap:pretty;}
.footer-col-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:14px;}
.footer-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:13.5px;}
.footer-col a{color:var(--text);}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{border-top:1px solid var(--outline);}
.footer-bottom-inner{max-width:var(--maxw);margin:0 auto;padding:16px 24px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;flex-wrap:wrap;gap:10px;}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width:960px){
  .article-layout{grid-template-columns:1fr;}
  .article-toc,.article-side{position:static;}
  .article-side{order:3;}
  .split,.form-layout{grid-template-columns:1fr;}
  .sidecard{position:static;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:720px){
  .main-nav{display:none;}
  .main-nav.is-open{display:flex;position:absolute;top:64px;left:0;right:0;flex-direction:column;background:var(--surface);border-bottom:1px solid var(--outline);padding:12px 24px;gap:2px;z-index:30;}
  .main-nav.is-open a{font-size:15px;padding:11px 10px;}
  .nav-toggle{display:inline-flex;}
  .header-search{display:none;}
  .brand-sub{display:none;}
  .hide-mobile{display:none !important;}
  .header-inner{gap:12px;}
  .hero h1{font-size:34px;}
  .cta-block{padding:32px;}
  .footer-grid{grid-template-columns:1fr;}
}
