/* ============================================================
   PBW Style System
   A design system for developer / AI-tooling products.

   Palette : Slate ink · Muted steel-blue · Desaturated teal
   Type    : Space Grotesk (display) · Geist (body) · JetBrains Mono (mono)

   Usage   : <link rel="stylesheet" href="styles.css">
   Fonts   : self-hosted — include assets/fonts/pbw-fonts.css (no external @import)
   ============================================================ */

:root {
  --ink:      #0E1622;
  --ink-2:    #16202E;
  --ink-3:    #1F2A3A;
  --paper:    #FBFCFD;
  --mist:     #EEF1F5;
  --tint:     #F3F5F8;
  --azure:    #3F6DA6;
  --azure-700:#2F5480;
  --vector:   #4E9A93;
  --success:  #2E7D4A;
  --danger:   #B0453E;
  --warning:  #8A6416;
  --info:     #2F7690;
  /* solid action fills — theme-independent, all ≥4.5:1 with their text */
  --primary-solid:   #3F6DA6;  --primary-solid-h: #2F5480;
  --success-solid:   #2E7D4A;  --success-solid-h: #256A3E;
  --danger-solid:    #B0453E;  --danger-solid-h:  #953A34;
  --warning-solid:   #C08A2A;  --warning-solid-h: #B37F26;
  --info-solid:      #2F7690;  --info-solid-h:    #285F76;
  --on-solid:        #fff;
  --on-warning:      #1C2530;
  --text:     #1C2530;
  --muted:    #5A6675;
  --line:     #E0E4EB;
  --white:    #fff;
  --surface-invert: #0E1622;
  --nav-bg:   rgba(251,252,254,.82);
  /* admin sidebar — azure, AA-legible */
  --sidebar-bg:     #35608F;
  --sidebar-fg:     rgba(255,255,255,.90);
  --sidebar-label:  rgba(255,255,255,.78);
  --sidebar-hover:  rgba(255,255,255,.14);
  --sidebar-active: rgba(255,255,255,.22);

  --on-dark:      rgba(255,255,255,.90);
  --on-dark-mut:  rgba(255,255,255,.58);
  --line-dark:    rgba(255,255,255,.11);

  --maxw: 1140px;
  --radius: 10px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,23,32,.05), 0 10px 28px -18px rgba(15,23,32,.22);
  --shadow-lg: 0 22px 54px -30px rgba(14,22,34,.5);
  --ring: inset 0 0 0 1px rgba(15,23,32,.06);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  color-scheme: light;
}

/* ============================================================
   Dark theme — activated by [data-bs-theme="dark"] on <html>
   (same attribute Bootstrap 5.3 reads, so its JS components
   and our tokens flip together). --surface-invert stays dark
   in both themes so always-dark sections keep their contrast.
   ============================================================ */
[data-bs-theme="dark"] {
  --paper:    #0B111A;
  --white:    #141D2A;
  --mist:     #1A2433;
  --tint:     #141D2A;
  --ink:      #F4F6F9;
  --text:     rgba(255,255,255,.88);
  --muted:    rgba(255,255,255,.56);
  --line:     rgba(255,255,255,.12);
  --azure:    #6E97CC;
  --azure-700:#8FB0DA;
  --vector:   #5FB3AB;
  --success:  #5CB07C;
  --danger:   #D97C74;
  --warning:  #D9B15E;
  --info:     #5FA6C7;
  --nav-bg:   rgba(11,17,26,.80);
  --sidebar-bg: #22344C;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 28px -18px rgba(0,0,0,.6);
  --shadow-lg: 0 22px 54px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code, pre { font-family: var(--font-mono); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--surface-invert); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; border-radius: 4px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--azure);
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 18px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--vector); display: inline-block; box-shadow: 0 0 0 3px rgba(78,154,147,.18); }
.eyebrow-light { color: var(--vector); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-primary { background: var(--primary-solid); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(15,23,32,.25); }
.btn-primary:hover { background: var(--primary-solid-h); color: #fff; }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost-light:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-gh-btn { background: var(--white); color: var(--ink); border-color: var(--line); gap: 7px; }
.nav-gh-btn:hover { background: var(--mist); color: var(--ink); border-color: #c6d6ee; }
.nav-gh-btn svg { flex-shrink: 0; }
.play-glyph { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-right: 1px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.brand:hover { text-decoration: none; }
.brand-name em { font-style: normal; color: var(--azure); }
.brand-mark { display: block; width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.nav-gh-btn { color: var(--ink); }
.nav-gh { font-weight: 600 !important; color: var(--ink) !important; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--surface-invert); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 35%, transparent 80%);
}
.hero-glow {
  position: absolute; z-index: -1; top: -180px; right: -140px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(78,154,147,.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; padding: 68px 24px 40px; }
.hero h1 { color: #fff; font-weight: 600; font-size: clamp(2rem, 3.3vw, 2.85rem); letter-spacing: -.02em; }
.grad { color: var(--vector); font-weight: 600; }
.hero-sub { color: var(--on-dark-mut); font-size: 1.1rem; max-width: 44ch; margin: 18px 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* full-width stat bar anchoring the bottom of the hero */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); padding-top: 30px; padding-bottom: 46px; }
.stat { padding: 0 32px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat-v { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: #fff; letter-spacing: -.02em; }
.stat-l { display: block; margin-top: 9px; font-size: .92rem; color: var(--on-dark-mut); max-width: 28ch; }
.stat-l code { font-family: var(--font-mono); font-size: .84em; color: var(--vector); background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; }

/* terminal card */
.term {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
.term-bar > span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.term-bar > span:nth-child(1){ background:#ff5f56; } .term-bar > span:nth-child(2){ background:#ffbd2e; } .term-bar > span:nth-child(3){ background:#27c93f; }
.term-bar b { margin-left: auto; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; color: var(--on-dark-mut); letter-spacing: .04em; }
.term-body { margin: 0; padding: 18px 18px 20px; font-size: .82rem; line-height: 1.85; overflow-x: auto; color: var(--on-dark); }
.term-body code { font-family: var(--font-mono); white-space: pre; }
.t-cmd { display: block; color: #e7eefc; }
.t-p { color: var(--vector); font-weight: 700; margin-right: 8px; }
.t-pp { color: #7aa2e3; font-weight: 700; margin-right: 6px; }
.t-out { display: block; color: #9be4e4; font-weight: 700; margin-top: 4px; }
.t-note { color: var(--on-dark-mut); font-weight: 400; }
.t-comment { display: block; color: var(--on-dark-mut); margin-bottom: 8px; }

/* hero video */
.hero-visual { display: flex; flex-direction: column; gap: 18px; }
.video {
  position: relative; display: block; width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  background: #0E1116; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.video:hover { transform: translateY(-3px); text-decoration: none; border-color: rgba(255,255,255,.28); box-shadow: var(--shadow-lg); }
.video img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; opacity: .96; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(63,109,166,.92); border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 10px 40px -8px rgba(0,0,0,.6); transition: transform .2s ease, background .2s ease;
}
.video-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; transform: translateX(2px); }
.video:hover .video-play { transform: scale(1.07); background: var(--azure); }
.video-cap {
  position: absolute; right: 14px; top: 12px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em;
  color: #fff; background: rgba(10,24,48,.7); padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ---------- compat strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-inner { padding: 26px 24px; }
.strip-label { display: block; font-size: .92rem; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.chip-groups { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.chip-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.chip-label { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 2px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li a { display: inline-block; font-family: var(--font-mono); font-size: .78rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); padding: 5px 11px; border-radius: 7px; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.chips li a:hover { color: var(--azure); border-color: var(--azure); background: rgba(63,109,166,.06); text-decoration: none; }

/* ---------- sections ---------- */
.section { padding: 68px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-rail { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { position: relative; background: var(--surface-invert); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section-head { max-width: 760px; margin: 0 0 34px; }
.section-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.5rem); }

/* shareable in-page anchors on section titles */
section[id] { scroll-margin-top: 84px; }
.head-anchor {
  margin-left: .35em;
  color: var(--azure);
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transition: opacity .15s ease;
}
.section-head h2:hover .head-anchor,
.head-anchor:focus { opacity: .6; }
.head-anchor:hover { opacity: 1; text-decoration: none; }
.section-head-light .head-anchor { color: #fff; }

@media (hover: none) { .head-anchor { opacity: .4; } }
.section-head .lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section-head-center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-light h2 { color: #fff; }
.lead-light { color: var(--on-dark-mut) !important; }

/* tags */
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em;
  color: var(--azure); background: rgba(63,109,166,.09); border: 1px solid rgba(63,109,166,.2);
  padding: 3px 10px; border-radius: 7px; margin-bottom: 16px;
}
.tag-vector { color: #0a8f8f; background: rgba(78,154,147,.1); border-color: rgba(78,154,147,.28); }
.tag-quiet { color: var(--on-dark-mut); background: rgba(255,255,255,.06); border-color: var(--line-dark); }

/* grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* cards */
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 16px; }
.card-prompt { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .74rem; color: var(--azure); background: rgba(63,109,166,.07); border: 1px solid rgba(63,109,166,.22); border-radius: 8px; padding: 7px 13px; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.card-prompt:hover { background: rgba(63,109,166,.13); border-color: var(--azure); }
.card-prompt.is-copied { color: #0a8f6a; border-color: rgba(20,160,110,.5); background: rgba(20,160,110,.1); }
.card-prompt-ico { width: 8px; height: 8px; border-radius: 2px; background: var(--vector); flex-shrink: 0; }
.card-prompt.is-copied .card-prompt-ico { background: #0a8f6a; }
.card-actions { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.card-actions .card-prompt { margin-top: 0; align-self: center; }
.card-view { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line); }
.card-view:hover { color: var(--azure); text-decoration: none; }
.card code { font-family: var(--font-mono); font-size: .86em; background: var(--mist); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.card-accent { border-color: rgba(78,154,147,.4); box-shadow: var(--shadow), 0 0 0 1px rgba(78,154,147,.12); }

/* personas */
.persona { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 3px solid var(--azure); }
.persona:nth-child(2) { border-top-color: var(--vector); }
.persona:nth-child(3) { border-top-color: #6a8bd8; }
.persona:nth-child(4) { border-top-color: #0B3C8C; }
.persona h3 { font-size: 1.1rem; margin-bottom: 8px; }
.persona p { color: var(--muted); font-size: .94rem; }

/* rail (signature) */
.rail { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.rail-node { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.rail-node-cloud { border-color: rgba(63,109,166,.35); background: linear-gradient(180deg, #fff, var(--tint)); }
.rail-node-head { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.rail-ico { font-size: 1.2rem; color: var(--azure); }
.rail-conn { display: block; font-family: var(--font-mono); font-size: .82rem; line-height: 1.7; color: var(--text); background: var(--mist); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; word-break: break-all; }
.rail-conn b { color: var(--azure); font-weight: 700; }
.rail-meta { display: block; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.rail-link { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 14px; }
.rail-line { width: 2px; flex: 1; min-height: 26px; background: linear-gradient(var(--azure), var(--vector)); }
.rail-pill { font-family: var(--font-mono); font-size: .72rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow); text-align: center; white-space: nowrap; }
.rail-foot { margin-top: 24px; text-align: left; color: var(--muted); font-size: 1rem; max-width: 940px; }

/* samples */
.sample { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: border-color .15s ease; color: var(--text); }
.sample:hover { border-color: var(--azure); text-decoration: none; }
.sample h3 { font-size: 1.16rem; margin-bottom: 8px; }
.sample p { color: var(--muted); font-size: .95rem; flex: 1; }
.sample-go { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--azure); white-space: nowrap; }
.sample-go:hover { text-decoration: none; opacity: .85; }
.sample-accent { border-color: rgba(78,154,147,.4); }

/* resource cards (dark) */
.res { display: block; background: rgba(255,255,255,.03); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; color: var(--on-dark); transition: background .15s ease, border-color .15s ease; }
.res:hover { background: rgba(255,255,255,.06); border-color: rgba(78,154,147,.5); text-decoration: none; }
.res h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.res p { color: var(--on-dark-mut); font-size: .94rem; }

/* ---------- footer ---------- */
.footer { background: var(--surface-invert); color: var(--on-dark-mut); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.footer .brand-name em { font-style: normal; color: var(--vector); }
.footer-brand p { margin: 14px 0 16px; max-width: 38ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--on-dark-mut); font-size: .95rem; margin-bottom: 11px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-base p { font-size: .85rem; color: var(--on-dark-mut); }

/* ============================================================
   Documentation pages (.prose)
   ============================================================ */
.doc { padding: 56px 0 88px; }
.doc-inner { max-width: 820px; }
.prose { font-size: 1.02rem; }
.prose > .eyebrow { margin-bottom: 14px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin: 0 0 28px; letter-spacing: -.02em; }
.prose h2 { font-size: 1.55rem; margin: 52px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.prose p { margin: 0 0 18px; color: var(--text); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--azure); }
.prose a { color: var(--azure); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; text-decoration-color: rgba(63,109,166,.35); }
.prose a:hover { text-decoration-color: var(--azure); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 24px 0; padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--azure); border-radius: 0 10px 10px 0; color: var(--text); }
.prose blockquote p { margin: 0; }
.prose code { font-family: var(--font-mono); font-size: .87em; background: var(--mist); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.prose pre { position: relative; background: var(--surface-invert); color: #e7eefc; border-radius: 12px; padding: 18px 20px; overflow-x: auto; margin: 0 0 22px; border: 1px solid var(--ink-3); box-shadow: var(--shadow); }
.code-copy { position: absolute; top: 10px; right: 10px; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: .86rem; line-height: 1.7; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-display); color: var(--ink); background: var(--mist); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- code flow: same code, two endpoints (signature) ---------- */
.codeflow { display: grid; grid-template-columns: .9fr 1.5fr .9fr; gap: 18px; align-items: center; }
.codeflow-env { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.codeflow-env-cloud { border-color: rgba(63,109,166,.35); background: linear-gradient(180deg, #fff, var(--tint)); }
.env-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.env-ico { font-size: 1.15rem; color: var(--azure); }
.env-val { display: block; font-family: var(--font-mono); font-size: .76rem; line-height: 1.7; color: var(--text); background: var(--mist); border: 1px solid var(--line); border-radius: 9px; padding: 12px; word-break: break-all; }
.env-val b { color: var(--azure); font-weight: 700; }
.env-k { color: var(--muted); }

.codecard { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 13px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(78,154,147,.08); }
.codecard-bar { display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
.codecard-dot { width: 11px; height: 11px; border-radius: 50%; background: #ff5f56; box-shadow: 17px 0 0 #ffbd2e, 34px 0 0 #27c93f; }
.codecard-bar b { margin-left: 44px; font-family: var(--font-mono); font-weight: 500; font-size: .72rem; color: var(--on-dark-mut); }
.codecard-body { margin: 0; padding: 18px; font-size: .82rem; line-height: 1.75; overflow-x: auto; color: #e7eefc; }
.codecard-body code { font-family: var(--font-mono); white-space: pre; }
.c-kw { color: #7aa2e3; } .c-str { color: #9be4b0; } .c-com { color: var(--on-dark-mut); } .c-fn { color: #cdb4ff; } .c-var { color: #ffd479; } .c-sql { color: #65d6e0; font-weight: 500; }

/* ---------- AI agents ---------- */
.agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agent { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); color: inherit; transition: border-color .15s ease; }
.agent:hover { border-color: var(--azure); text-decoration: none; }
.agent h3 { transition: color .15s ease; }
.agent:hover h3 { color: var(--azure); }
.agent img { width: 40px; height: 40px; margin: 0 auto 14px; display: block; background: var(--surface-invert); border-radius: 11px; padding: 9px; }
.agent h3 { font-size: 1.05rem; margin-bottom: 4px; }
.agent p { color: var(--muted); font-size: .86rem; }
.agents-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: .98rem; }

/* ---------- engage CTA + footer logo ---------- */
.engage-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-logo img { display: block; }

/* ---------- copy buttons (on dark bars) ---------- */
.copy-btn { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .72rem; color: var(--on-dark); background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); border-radius: 6px; padding: 4px 11px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.copy-btn:hover { background: rgba(255,255,255,.16); }
.copy-btn.is-copied { color: #9be4b0; border-color: rgba(155,228,176,.55); background: rgba(155,228,176,.12); }
.term-copy { margin-left: 12px; }

/* ---------- same code: local/cloud swap (signature) ---------- */
.swap { max-width: 720px; margin: 0 auto; text-align: center; }
.swap-toggle { display: inline-flex; gap: 4px; background: var(--mist); border: 1px solid var(--line); border-radius: 11px; padding: 4px; margin-bottom: 18px; }
.swap-btn { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 8px 18px; cursor: pointer; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
.swap-btn.is-active { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.swap-btn:hover:not(.is-active) { color: var(--ink); }
.swap-codes { display: flex; flex-direction: column; gap: 14px; text-align: left; }

.codeblock { background: var(--surface-invert); border: 1px solid var(--ink-3); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.codeblock-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line-dark); }
.codeblock-name { font-family: var(--font-mono); font-size: .74rem; color: var(--on-dark); font-weight: 500; }
.codeblock-flag { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: #ffd479; }
.codeblock-badge { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-mut); }
.codeblock-bar .copy-btn { margin-left: auto; }
.codeblock-body { margin: 0; padding: 16px; font-size: .82rem; line-height: 1.7; overflow-x: auto; color: #e7eefc; }
.codeblock-body code { font-family: var(--font-mono); white-space: pre; }
.codeblock-change { border-color: rgba(255,212,121,.4); box-shadow: var(--shadow), 0 0 0 1px rgba(255,212,121,.12); }
.hl { background: rgba(255,212,121,.2); color: #ffe6ab; border-radius: 4px; padding: 1px 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- agent skill: install + prompt ---------- */
.install { max-width: 760px; margin: 28px auto 0; background: var(--surface-invert); border: 1px solid var(--ink-3); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }
.install-row { padding: 18px; }
.install-row + .install-row { border-top: 1px solid var(--line-dark); }
.install-label { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .76rem; color: var(--on-dark); margin-bottom: 12px; }
.install-label em { font-style: normal; color: var(--on-dark-mut); font-size: .72rem; }
.install-num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--primary-solid); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .72rem; }
.install-cmd { display: flex; align-items: flex-start; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: 9px; padding: 12px 12px 12px 14px; }
.install-cmd code { flex: 1; font-family: var(--font-mono); font-size: .84rem; color: #e7eefc; white-space: pre-wrap; word-break: break-word; line-height: 1.5; }
.cmd-p { color: var(--vector); font-weight: 700; margin-right: 8px; }
.install-cmd-prompt code { font-family: var(--font-body); color: #eaf1fb; font-size: .9rem; }
.install-cmd .copy-btn { flex-shrink: 0; }
.install-foot { padding: 14px 18px 16px; border-top: 1px solid var(--line-dark); color: var(--on-dark-mut); font-size: .82rem; line-height: 1.5; }
.install-foot a { color: var(--vector); }
.install-foot a:hover { text-decoration: none; opacity: .85; }

/* ---------- "what the skills do" table in #ai-agents ---------- */
.skill-cards-title { font-size: 1.35rem; margin: 40px 0 8px; }
.skill-lead { color: var(--muted); font-size: 1.05rem; max-width: 760px; margin: 0 0 22px; }
.skill-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 8px; }
.skill-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: inherit; transition: border-color .15s ease; }
.skill-card:hover { border-color: var(--azure); text-decoration: none; }
.skill-card h4 { font-size: 1rem; margin-bottom: 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; transition: color .15s ease; }
.skill-card:hover h4 { color: var(--azure); }
.skill-card h4 .arrow { color: var(--muted); font-weight: 400; transition: transform .18s ease, color .15s ease; }
.skill-card:hover h4 .arrow { color: var(--azure); transform: translateX(3px); }
.skill-card p { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.skill-card code { font-size: .82em; }

/* ---------- quickstart: numbered steps with full-width command bars ---------- */
.qsteps { display: flex; flex-direction: column; gap: 18px; max-width: 940px; }
.qstep { display: flex; gap: 16px; align-items: flex-start; }
.qstep-num { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--surface-invert); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-top: 1px; }
.qstep-body { flex: 1; min-width: 0; }
.qstep-body h3 { font-size: 1.1rem; margin-bottom: 2px; }
.qstep-desc { color: var(--muted); font-size: .92rem; margin-bottom: 11px; }
.qstep-cmd { display: flex; align-items: flex-start; gap: 12px; background: var(--surface-invert); border: 1px solid var(--ink-3); border-radius: 10px; padding: 12px 11px 12px 15px; box-shadow: var(--shadow); }
.qstep-cmd code { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: .82rem; line-height: 1.65; color: #e7eefc; white-space: pre; overflow-x: auto; }
.qstep-cmd .copy-btn { flex-shrink: 0; }
.steps-foot { margin-top: 26px; color: var(--muted); font-size: .96rem; }
.steps-foot a { color: var(--azure); }

/* ---------- same code: split view ---------- */
.split { max-width: 940px; }
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.badge-local { color: var(--vector); }
.badge-cloud { color: #7aa2e3; }

/* ---------- agent skill: one-command bar ---------- */
.skill { max-width: 680px; margin: 32px auto 0; text-align: center; }
.skill-line { color: var(--muted); font-size: 1rem; line-height: 1.5; margin: 0 auto 18px; max-width: 54ch; }
.skill-cmd { display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; background: var(--surface-invert); border: 1px solid var(--ink-3); border-radius: 11px; padding: 11px 11px 11px 16px; text-align: left; box-shadow: var(--shadow); }
.skill-cmd code { flex: 1; font-family: var(--font-mono); font-size: .86rem; color: #e7eefc; white-space: nowrap; overflow-x: auto; }
.skill-cmd .copy-btn { flex-shrink: 0; }
.skill-link { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: .78rem; color: var(--azure); }
.skill-link:hover { text-decoration: none; opacity: .85; }
/* skills.sh + browse, one concise centered line */
.skill-links { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.skill-links .skill-link { margin-top: 0; }
.skill-sep { color: var(--line); }
/* skill-name label on the agent-skill cards */
.skill-tag { display: inline-block; font-family: var(--font-mono); font-size: .68rem; color: var(--azure); background: rgba(63,109,166,.07); border: 1px solid rgba(63,109,166,.18); border-radius: 5px; padding: 2px 7px; margin-bottom: 10px; }

/* ---------- sample card footer (clone + GitHub) ---------- */
.sample-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: stretch; padding-top: 18px; }
.sample-foot .card-prompt { margin-top: 0; align-self: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px 72px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agents { grid-template-columns: repeat(2, 1fr); }
  .skill-cards { grid-template-columns: repeat(2, 1fr); }
  .codeflow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; cursor: pointer; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; pointer-events: none; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 9px; }
  .nav-burger span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
    max-height: 0; overflow: hidden; visibility: hidden; box-shadow: var(--shadow);
  }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn-primary { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .nav-links a.nav-gh-btn { margin-top: 8px; justify-content: center; border-bottom: 0; }
  .nav-toggle:checked ~ .nav-links { max-height: 460px; visibility: visible; padding-top: 8px; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .section { padding: 52px 0; }
  .hero-stats { grid-template-columns: 1fr; padding-bottom: 28px; }
  .stat { padding: 16px 0; }
  .stat:first-child { padding-top: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .skill-cards { grid-template-columns: 1fr; }
  .split-cols { grid-template-columns: 1fr; }
  .skill-cmd { flex-wrap: wrap; }
  .skill-cmd code { white-space: pre-wrap; word-break: break-all; }
  .rail { grid-template-columns: 1fr; }
  .rail-link { flex-direction: row; padding: 6px 0; }
  .rail-line { width: auto; height: 2px; min-height: 0; min-width: 20px; background: linear-gradient(90deg, var(--azure), var(--vector)); }
  .rail-pill { white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

/* call-to-action button row (in prose pages) */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 30px; }
.prose .cta-row a.btn { text-decoration: none; }
.prose .cta-row a.btn-primary { color: #fff; }
.prose .cta-row a.btn-primary:hover { color: #fff; }
.prose .cta-row a.btn-ghost { color: var(--ink); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* ============================================================
   Asymmetric layout primitives
   (bento, swatch strip, role list — avoid uniform card rows)
   ============================================================ */

/* bento: one lead tile + stacked support tiles */
.bento { display: grid; grid-template-columns: 1.45fr 1fr; grid-auto-rows: minmax(0, auto); gap: 18px; }
.bento > .card:first-child { grid-row: span 2; }
.bento-lead h3 { font-size: 1.5rem; }
.bento-figure {
  margin-top: auto; display: grid; gap: 8px; padding: 16px;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: .78rem; color: var(--text);
}
.bento-figure b { color: var(--azure); font-weight: 600; }

/* swatch strip: palette tokens as an even band, not feature cards */
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.swatch { border: 1px solid var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; background: rgba(255,255,255,.02); }
.swatch-chip { height: 66px; }
.swatch-meta { padding: 11px 12px 13px; }
.swatch-meta b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff; }
.swatch-meta code { font-family: var(--font-mono); font-size: .72rem; color: var(--on-dark-mut); }

/* role list: two-column ledger with accent rules, not equal cards */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 40px; }
.role { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.role-idx { font-family: var(--font-mono); font-size: .78rem; color: var(--azure); font-weight: 500; }
.role h3 { font-size: 1.06rem; margin-bottom: 4px; }
.role p { color: var(--muted); font-size: .93rem; }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .bento > .card:first-child { grid-row: auto; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .roles { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .swatches { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Admin primitives
   (KPI cards + interop so Bootstrap-structured cards behave)
   ============================================================ */

/* When a .card uses Bootstrap's internal structure, drop our
   padding so .card-header/.card-body/.list-group control spacing. */
.card:has(> .card-header),
.card:has(> .card-body),
.card:has(> .card-footer),
.card:has(> .list-group),
.card:has(> .card-img-top) { padding: 0; overflow: hidden; }

/* KPI / metric cards */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kpi-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--azure) 14%, transparent); color: var(--azure); }
.kpi-ico svg { width: 19px; height: 19px; }
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -.02em; color: var(--ink); margin-top: 14px; }
.kpi-delta { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 600; margin-top: 9px; }
.kpi-delta.up { color: var(--success); }
.kpi-delta.down { color: var(--danger); }
.kpi-foot { color: var(--muted); font-size: .82rem; margin-top: 2px; }

@media (max-width: 960px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 560px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Wide container — admin/dashboard real estate
   ============================================================ */
.container-wide { width: 100%; max-width: 1720px; margin-inline: auto; padding-inline: 32px; }

@media (max-width: 720px) { .container-wide { padding-inline: 20px; } }

/* Demo helpers (kept out of markup so CSP style-src can stay strict) */
.collapse-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.w-68 { width: 68%; }

/* Swatch chip colors (avoid inline style attributes) */
.sw-ink    { background: #0E1622; }
.sw-ink3   { background: #1F2A3A; }
.sw-azure  { background: #3F6DA6; }
.sw-vector { background: #4E9A93; }
.sw-muted  { background: #5A6675; }
.sw-mist   { background: #EEF1F5; }

/* ============================================================
   Admin shell — collapsible sidebar + topbar
   Toggle via JS: [data-admin-shell] + [data-sidebar-toggle]
   ============================================================ */
.admin {
  --sb-w: 256px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Sidebar: off-canvas drawer on mobile (absolute within the .admin box) */
.admin-sidebar {
  position: absolute; inset: 0 auto 0 0; z-index: 30;
  width: min(86%, 300px);
  display: flex; flex-direction: column; gap: 4px;
  background: var(--sidebar-bg); color: var(--sidebar-fg);
  padding: 16px 12px; overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}
.admin.is-open .admin-sidebar { transform: none; visibility: visible; transition: transform .22s ease; }

/* Backdrop behind the open drawer */
.admin-backdrop {
  position: absolute; inset: 0; z-index: 20;
  background: rgba(10,16,26,.5);
  border: 0; padding: 0; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
}
.admin.is-open .admin-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease; }

.admin-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--font-display); font-weight: 600;
  padding: 6px 8px 16px; white-space: nowrap; overflow: hidden;
}
.admin-brand svg { flex-shrink: 0; }
.admin-brand svg rect { fill: #fff; }
.admin-section-label {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sidebar-label);
  padding: 12px 10px 6px; white-space: nowrap; overflow: hidden;
}
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 9px;
  color: var(--sidebar-fg); font-weight: 500; font-size: .92rem;
  white-space: nowrap; overflow: hidden;
}
.admin-nav a:hover { background: var(--sidebar-hover); color: #fff; text-decoration: none; }
.admin-nav a[aria-current="page"] { background: var(--sidebar-active); color: #fff; }
.admin-nav .ico { flex-shrink: 0; width: 20px; height: 20px; display: grid; place-items: center; }
.admin-nav .ico svg { width: 18px; height: 18px; }

.admin-main { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; }
.admin-topbar {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; position: relative;
  padding: 10px 14px; background: var(--white); border-bottom: 1px solid var(--line);
}
.admin-topbar .spacer { flex: 1; }
.admin-heading { flex: 1 1 auto; min-width: 0; }
.admin-topbar .breadcrumb { display: none; }        /* dup of the title on small screens */
.admin-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 9px; background: var(--white);
  color: var(--ink); cursor: pointer;
}
.admin-toggle:hover { background: var(--mist); }
.admin-toggle svg { width: 18px; height: 18px; }
.admin-content { flex: 1; min-height: 0; padding: 16px; overflow: auto; -webkit-overflow-scrolling: touch; background: var(--paper); }

/* ---------- Desktop and up: static sidebar grid + collapse ---------- */
@media (min-width: 721px) {
  .admin { display: grid; grid-template-columns: var(--sb-w) 1fr; transition: grid-template-columns .2s ease; }
  .admin.is-collapsed { --sb-w: 76px; }
  .admin-sidebar { position: static; width: auto; transform: none; visibility: visible; z-index: auto; transition: none; }
  .admin-backdrop { display: none; }
  .admin-topbar { gap: 14px; padding: 13px 20px; }
  .admin-topbar .breadcrumb { display: flex; }
  .admin-title { max-width: none; }
  .admin-content { padding: 22px; }

  /* collapsed (desktop only): drop label text so icons center */
  .admin.is-collapsed .admin-label,
  .admin.is-collapsed .admin-brand span,
  .admin.is-collapsed .admin-section-label { display: none; }
  .admin.is-collapsed .admin-nav a { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
  .admin.is-collapsed .admin-brand { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- Tablet: force the compacted (icon-only) sidebar ---------- */
@media (min-width: 721px) and (max-width: 1024px) {
  .admin.admin-app { --sb-w: 76px; }
  .admin.admin-app .admin-label,
  .admin.admin-app .admin-brand span,
  .admin.admin-app .admin-section-label { display: none; }
  .admin.admin-app .admin-nav a { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
  .admin.admin-app .admin-brand { justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
}

/* ============================================================
   Modern polish
   ============================================================ */
:root { --shadow-sm: 0 1px 2px rgba(15,23,32,.06), 0 1px 1px rgba(15,23,32,.04); }
[data-bs-theme="dark"] { --shadow-sm: 0 1px 2px rgba(0,0,0,.4); }

/* Tabular figures so dashboard numbers align */
.kpi-value, .stat-v, .table td, .table th { font-variant-numeric: tabular-nums; }

/* Font Awesome icon sizing inside chips */
.kpi-ico i { font-size: 1.05rem; line-height: 1; }
.admin-nav .ico i { font-size: 1rem; line-height: 1; }
.kpi-delta i { font-size: .72em; }

/* Flatter, more modern metric cards */
.kpi { box-shadow: var(--shadow-sm); }
.kpi-value { font-size: 2.1rem; }

/* Rounder icon buttons */
.admin-toggle { border-radius: 10px; }

/* ============================================================
   Full-viewport admin app + topbar menus + avatars + tables
   ============================================================ */
.admin.admin-app { height: 100dvh; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
.admin.admin-app .admin-content { flex: 1; }
.admin-sidebar { overflow-y: auto; }
.admin-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 0; }

/* Avatars — initials, no photo placeholders */
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-solid); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .82rem; flex-shrink: 0; }
.avatar-sm { width: 30px; height: 30px; font-size: .72rem; }
.avatar-teal { background: #2C6E63; color: #fff; }
.avatar-warm { background: #8A6416; color: #fff; }
.avatar-user { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.avatar-user .u-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.u-sub { color: var(--muted); font-size: .82rem; }

/* Global search (topbar) — mobile-first: icon button that expands to a
   full-width overlay; on desktop it becomes a persistent inline field */
.admin-search { position: static; flex-shrink: 0; }
.admin-search-field { display: none; align-items: center; gap: 8px; }
.admin-search.is-open .admin-search-field {
  display: flex; position: absolute; inset: 0; z-index: 20;
  padding: 10px 14px; background: var(--white);
}
.admin-search-box { position: relative; flex: 1 1 auto; min-width: 0; }
.admin-search-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .85rem; pointer-events: none;
}

/* Magnifier as a real submit button (WCAG H32) — same placement as the icon */
button.admin-search-ico {
  pointer-events: auto; background: transparent; border: 0; padding: 0;
  cursor: pointer; line-height: 1;
}
button.admin-search-ico:hover { color: var(--ink); }
.admin-search-box .form-control { width: 100%; padding-left: 34px; }
.admin-search-close { width: 40px; }

@media (min-width: 721px) {
  .admin-search { position: relative; flex: 0 1 300px; min-width: 0; }
  .admin-search-toggle { display: none; }
  .admin-search-close { display: none; }
  .admin-search-field { display: flex; }
  .admin-search.is-open .admin-search-field {
    position: static; padding: 0; background: transparent;
  }
}

/* Topbar dropdown menus */
.dropdown-menu-wide { min-width: min(340px, calc(100vw - 24px)); max-width: calc(100vw - 24px); }
.menu-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px; }
.menu-head .u-name { font-weight: 600; color: var(--ink); }

/* Notifications menu */
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.notif-head b { font-family: var(--font-display); color: var(--ink); }
.notif-list { max-height: 340px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--text); }
.notif-item:hover { background: var(--mist); text-decoration: none; }
.notif-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--azure) 14%, transparent); color: var(--azure); }
.notif-ico.ok   { background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); }
.notif-ico.warn { background: color-mix(in srgb, var(--warning) 20%, transparent); color: var(--warning); }
.notif-ico.err  { background: color-mix(in srgb, var(--danger) 16%, transparent);  color: var(--danger); }
.notif-body { min-width: 0; }
.notif-title { font-size: .9rem; color: var(--ink); font-weight: 500; }
.notif-text { font-size: .84rem; color: var(--muted); }
.notif-time { font-size: .74rem; color: var(--muted); margin-top: 2px; }
.notif-item.is-unread { background: color-mix(in srgb, var(--azure) 7%, transparent); }
.notif-item.is-unread .notif-title::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--azure); margin-left: 8px; vertical-align: middle; }

/* Theme menu (Light / Dark / System) */
[data-theme-set] { display: flex; align-items: center; gap: 10px; }
[data-theme-set] .chk { margin-left: auto; opacity: 0; color: var(--azure); }
[data-theme-set].active .chk { opacity: 1; }

/* Table toolbar */
.table-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.table-toolbar .search { position: relative; flex: 1 1 160px; min-width: 140px; max-width: 340px; }
.table-toolbar .search .fa-magnifying-glass { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .82rem; pointer-events: none; }
.table-toolbar .search .form-control { padding-left: 34px; }

/* ============================================================
   Modern admin — tighter corner radii (less rounding)
   ============================================================ */
/* Admin-only components */
.admin { border-radius: 10px; }
.admin.admin-app { border-radius: 0; }
.kpi { border-radius: 8px; }
.kpi-ico { border-radius: 7px; }
.admin-toggle { border-radius: 7px; }
.admin-nav a { border-radius: 6px; }
.notif-ico { border-radius: 6px; }
/* Rounded-square avatars read more modern than full circles */
.avatar { border-radius: 8px; }
.avatar-sm { border-radius: 6px; }

/* Bootstrap components inside admin scopes only (marketing keeps softer radii) */
.admin .card, #admin .card, #shell .card { border-radius: 8px; }
.admin .btn, #admin .btn, #shell .btn { border-radius: 7px; }
.admin .form-control, .admin .form-select,
#admin .form-control, #admin .form-select { border-radius: 7px; }
.admin .dropdown-menu, #admin .dropdown-menu, #shell .dropdown-menu { border-radius: 8px; }
.admin .dropdown-item, #admin .dropdown-item { border-radius: 5px; }
.admin .badge, #admin .badge { border-radius: 5px; }
.admin .page-link, #admin .page-link { border-radius: 6px; }

/* ============================================================
   Grid blocks (pure tables, no card) + DataTables styling
   ============================================================ */
.grid-block { margin-bottom: 8px; }
.grid-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.grid-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin: 0; }

/* DataTables 2.x wrapper is .dt-container (NOT .dataTables_wrapper) */
.dt-container { color: var(--text); font-size: .9rem; }
.dt-container .dt-layout-row { align-items: center; row-gap: 10px; }
.dt-container .dt-length label,
.dt-container .dt-search label { color: var(--muted); font-size: .84rem; display: inline-flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; }
.dt-container .dt-search input.form-control { max-width: 240px; }
.dt-container .dt-length select.form-select { width: auto; min-width: 4.5rem; }
.dt-container .dt-info { color: var(--muted); font-size: .84rem; }

/* Table reads as a real grid: framed, with a filled header and cell dividers */
table.dataTable {
  border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: 5px;
}
table.dataTable > thead > tr > th {
  color: #fff; font-family: var(--font-mono); font-weight: 600;
  font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  background-color: var(--primary-solid); border-bottom: 1px solid var(--primary-solid);
  box-shadow: none;                 /* kill Bootstrap's inset overlay so azure stays solid */
  --bs-table-bg: var(--primary-solid);
  --bs-table-color: #fff;
  padding-top: 12px; padding-bottom: 12px;
}
/* vertical dividers between columns */
table.dataTable > thead > tr > th + th { border-left: 1px solid rgba(255,255,255,.22); }
table.dataTable > tbody > tr > td + td,
table.dataTable > tbody > tr > th + td { border-left: 1px solid var(--line); }
table.dataTable > tbody > tr > td,
table.dataTable > tbody > tr > th { border-bottom: 1px solid var(--line); }
table.dataTable > tbody > tr:last-child > td,
table.dataTable > tbody > tr:last-child > th { border-bottom: 0; }
/* round the inner corners so they match the frame (no overflow clip → dropdowns escape) */
table.dataTable > thead > tr:first-child > th:first-child { border-top-left-radius: 5px; }
table.dataTable > thead > tr:first-child > th:last-child { border-top-right-radius: 5px; }
table.dataTable > tbody > tr:last-child > td:first-child,
table.dataTable > tbody > tr:last-child > th:first-child { border-bottom-left-radius: 5px; }
table.dataTable > tbody > tr:last-child > td:last-child { border-bottom-right-radius: 5px; }

/* Clean, borderless, segmented pager */
.dt-container .pagination { gap: 4px; margin: 0; }
.dt-container .pagination .page-item .page-link {
  border: 0; background: transparent; border-radius: 8px;
  min-width: 34px; height: 34px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem; box-shadow: none;
}
.dt-container .pagination .page-item .page-link:hover { background: var(--mist); color: var(--ink); }
.dt-container .pagination .page-item.active .page-link { background: var(--primary-solid); color: #fff; }
.dt-container .pagination .page-item.disabled .page-link { color: var(--muted); opacity: .4; background: transparent; }
.dt-container .pagination .page-link:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }

/* Sort-direction icons visible on the azure header */
table.dataTable > thead th.dt-orderable-asc,
table.dataTable > thead th.dt-orderable-desc { cursor: pointer; }
table.dataTable > thead th .dt-column-order::before,
table.dataTable > thead th .dt-column-order::after { opacity: .55; color: #fff; }
table.dataTable > thead th.dt-ordering-asc .dt-column-order::before,
table.dataTable > thead th.dt-ordering-desc .dt-column-order::after { opacity: 1; }

/* Row-action dropdowns above table rows */
table.dataTable td .dropdown-menu { z-index: 1056; }

/* ---------- Mobile: purposeful control layout ----------
   The vendor default stacks every control full-width and centered,
   which reads as broken. Instead, one deliberate toolbar:
     [ search ─────────────── ][ 10 ▾ ]   ← one row, search grows
     ( table )
     Showing 1–8 of 8            ‹ 1 ›    ← info left, pager right
   Overrides are body-prefixed to outrank the vendor's centered
   defaults, which load after styles.css. */
@media (max-width: 767.98px) {
  body div.dt-container div.dt-length,
  body div.dt-container div.dt-search,
  body div.dt-container div.dt-info,
  body div.dt-container div.dt-paging { text-align: left; }

  /* Top toolbar: search (first, grows) + compact page-size select */
  .dt-container .row:has(.dt-length) { flex-wrap: nowrap; align-items: center; }
  .dt-container .row > div:has(.dt-search) { order: -1; flex: 1 1 auto; width: auto; min-width: 0; }
  .dt-container .row > div:has(.dt-length) { flex: 0 0 auto; width: auto; }
  body div.dt-container div.dt-search { display: flex; }
  body div.dt-container div.dt-search input.form-control { flex: 1 1 auto; max-width: none; margin-left: 0; }

  /* Keep the select labelled for AT, but drop the " per page" text
     visually — it doesn't earn its width at this size */
  body div.dt-container div.dt-length select { margin-left: 0; margin-right: 0; }
  body div.dt-container div.dt-length label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  /* Bottom row: info left, pager right — never stacked */
  .dt-container .row:has(.dt-paging) { flex-wrap: nowrap; align-items: center; }
  .dt-container .row > div:has(.dt-info) { flex: 1 1 auto; width: auto; min-width: 0; }
  .dt-container .row > div:has(.dt-paging) { flex: 0 0 auto; width: auto; margin-left: auto; }
  body div.dt-container div.dt-info { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dt-container .dt-paging .pagination { justify-content: flex-end; flex-wrap: nowrap; }
}

/* ============================================================
   Component gaps: empty state · skeleton · error summary
   ============================================================ */
.empty-state { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty-state .empty-ico { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 14px; background: var(--mist); color: var(--azure); font-size: 1.4rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.empty-state p { max-width: 42ch; margin: 0 auto 18px; }

.skeleton { position: relative; overflow: hidden; background: var(--mist); border-radius: 6px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--white) 60%, transparent), transparent); animation: pbw-shimmer 1.3s infinite; }
.skeleton-text { height: .8em; margin: .35em 0; }
.skeleton-line-70 { width: 70%; } .skeleton-line-50 { width: 50%; } .skeleton-line-90 { width: 90%; }
.skeleton-avatar { width: 36px; height: 36px; border-radius: 8px; }

@keyframes pbw-shimmer { 100% { transform: translateX(100%); } }

.error-summary { border: 1px solid var(--danger); border-left-width: 4px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--danger) 8%, var(--white)); padding: 16px 18px; margin-bottom: 20px; }
.error-summary h2 { font-size: 1rem; color: var(--danger); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: var(--danger); font-weight: 500; }

/* ============================================================
   Admin shell variant B — horizontal top navigation
   Markup: .admin.admin-app.admin-top[data-topnav]
     > header.admin-header
         > .container-fluid        (Bootstrap container = shared rails)
             > .topnav-bar          (brand · tools · account · burger)
             > nav.topnav-menu      (links; collapsible panel on mobile)
     > .admin-pagehead > .container-fluid   (title + breadcrumb strip)
     > main.admin-content > .container-fluid
   Every band is full-bleed; horizontal alignment comes from the SAME
   Bootstrap container class inside each band (swap container-fluid for
   container-xxl / container-lg app-wide for a centered rail).
   Toggle via JS: [data-topnav] + [data-topnav-toggle]
   ============================================================ */
.admin-top { display: flex; flex-direction: column; }

/* Wider gutters than Bootstrap's 12px default — applied to the container
   in EVERY band (header, pagehead, content) so the rails stay aligned.
   Bootstrap containers pad by --bs-gutter-x / 2 per side; override
   --topnav-gutter on .admin-top to tune the whole shell at once. */
.admin-top { --topnav-gutter: 2rem; }                      /* 16px/side */
.admin-header > [class*="container"],
.admin-pagehead > [class*="container"],
.admin-top .admin-content > [class*="container"] { --bs-gutter-x: var(--topnav-gutter); }

@media (min-width: 721px) {
  .admin-top { --topnav-gutter: 4rem; }                    /* 32px/side */
}

.admin-header {
  flex-shrink: 0; position: relative; z-index: 40;
  background: var(--sidebar-bg); color: var(--sidebar-fg);
}
.topnav-bar { display: flex; align-items: center; gap: 8px; position: relative; padding: 10px 0; }
.topnav-bar .admin-brand { padding: 0; margin-right: 4px; }
.topnav-bar .spacer { flex: 1; }

/* Tools on the dark bar: same markup as the sidebar-shell topbar,
   restyled so the icon buttons sit on the azure header. */
.admin-header .admin-toggle {
  background: transparent; border-color: rgba(255,255,255,.26); color: #fff;
}
.admin-header .admin-toggle:hover { background: var(--sidebar-hover); }
.admin-header .nav-gh-btn {
  background: transparent; border-color: rgba(255,255,255,.26); color: #fff;
}
.admin-header .nav-gh-btn:hover { background: var(--sidebar-hover); border-color: rgba(255,255,255,.4); color: #fff; }
.admin-header .avatar-user .u-name { color: #fff; }
.admin-header :focus-visible { outline-color: #fff; }
.admin-header .admin-search.is-open .admin-search-field { background: var(--sidebar-bg); }

/* Burger — mobile only */
.topnav-toggle { display: inline-grid; }

/* Narrow phones: logo only (the wordmark would clip mid-letter) */
@media (max-width: 480px) {
  .topnav-bar .admin-brand span { display: none; }
}

/* Menu — mobile-first: hidden panel below the bar, column of links */
.topnav-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 6px 0 12px; border-top: 1px solid rgba(255,255,255,.14);
}
.admin-top.is-open .topnav-menu { display: flex; }
.topnav-menu a,
.topnav-menu button.dropdown-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 10px; border: 0; border-radius: 6px; background: transparent;
  color: var(--sidebar-fg); font-weight: 500; font-size: .92rem;
  white-space: nowrap; text-align: left;
}
.topnav-menu a:hover,
.topnav-menu button.dropdown-toggle:hover { background: var(--sidebar-hover); color: #fff; text-decoration: none; }
.topnav-menu a[aria-current="page"] { background: var(--sidebar-active); color: #fff; }
.topnav-menu .ico { flex-shrink: 0; width: 20px; height: 20px; display: grid; place-items: center; }
.topnav-menu .ico i { font-size: 1rem; line-height: 1; }

/* Grouped items (e.g. "Workspace") as a Bootstrap dropdown */
.topnav-menu .dropdown-toggle::after { margin-left: auto; }

/* Page heading strip below the header (title + breadcrumb) */
.admin-pagehead {
  flex-shrink: 0; padding: 13px 0;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.admin-pagehead .breadcrumb { display: none; }

/* ---------- Desktop and up: single-row horizontal menu ---------- */
@media (min-width: 721px) {
  .topnav-toggle { display: none; }
  .topnav-bar { gap: 12px; }
  .topnav-menu {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
    gap: 2px; padding: 0 0 8px; border-top: 0;
  }
  .topnav-menu a,
  .topnav-menu button.dropdown-toggle { width: auto; padding: 9px 14px; }
  .topnav-menu .dropdown-toggle::after { margin-left: 2px; }
  .admin-pagehead .breadcrumb { display: flex; }
}

/* Full-app variant inherits .admin-app sizing; content scrolls as usual.
   Horizontal gutters come from the Bootstrap container inside each band,
   so the shell itself adds none. */
.admin-top .admin-content { background: var(--paper); padding-left: 0; padding-right: 0; }

@media print {
  .admin-header, .topnav-menu, [data-topnav-toggle] { display: none !important; }
  .admin-pagehead { border: 0 !important; padding-left: 0 !important; background: #fff !important; }
}

/* ============================================================
   RTL support (logical fixes for physical-property components)
   ============================================================ */
[dir="rtl"] .admin-sidebar { inset: 0 0 0 auto; transform: translateX(100%); }
[dir="rtl"] .admin.is-open .admin-sidebar { transform: none; }
[dir="rtl"] .skip-link { left: auto; right: -999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; }
[dir="rtl"] .error-summary { border-left-width: 1px; border-right-width: 4px; padding-left: 18px; }
[dir="rtl"] .error-summary ul { padding-left: 0; padding-right: 18px; }
[dir="rtl"] table.dataTable > tbody > tr > td + td,
[dir="rtl"] table.dataTable > thead > tr > th + th { border-left: 0; border-right: 1px solid var(--line); }

/* ============================================================
   Print — clean reports (hide chrome, expand data)
   ============================================================ */
@media print {
  .nav, .admin-sidebar, .admin-topbar, .admin-backdrop, .footer,
  .dt-length, .dt-search, .dt-paging, .dt-info, .skip-link,
  .hero-cta, .card-actions, [data-sidebar-toggle] { display: none !important; }
  body, .admin, .admin-app, .admin-content { background: #fff !important; color: #000 !important; }
  .admin, .admin-app { display: block !important; height: auto !important; border: 0 !important; box-shadow: none !important; }
  .card, .kpi, table.dataTable { border: 1px solid #999 !important; box-shadow: none !important; break-inside: avoid; }
  table.dataTable > thead > tr > th { background: #eee !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { text-decoration: underline; color: #000 !important; }
  .container-wide, .container { max-width: none !important; padding: 0 !important; }
}
