/* ALSETT Design System v2 — follows "ALSETT-DESIGN 11-6 Off-White Canvas" UI kit.
   Usage ratio: Canvas 45% · Surface 22% · Forest 15% · Sage 8% · Neon 5% · Data accents 5%.
   Prefix .ax-  ·  Theme: [data-theme="dark"] or [data-bs-theme="dark"]. */

:root {
  /* Neutrals & surfaces */
  --ax-canvas: #FAFAFA;          /* Mint Canvas #F7F7F7 @ 59% on white */
  --ax-surface: #FFFFFF;
  --ax-pale: #F7F7F7;            /* header bars, hovers */
  --ax-pale-2: #F3F3F3;
  --ax-sage-3: #C8D8D0;          /* sage light: side panels, tabs, tags */
  --ax-sage: #B0C8C0;            /* avatars, panels */
  --ax-sage-2: #88A098;          /* inactive text, dots */
  --ax-slate: #485858;           /* dark cards, popups */
  --ax-forest-2: #2B3A35;        /* secondary dark */
  --ax-forest: #222E2A;          /* headers, nav, panels */
  --ax-line: #C9D5D2;
  --ax-line-2: #E2EAE8;
  /* Action & accents */
  --ax-neon: #00EC6C;
  --ax-neon-2: #00C95B;
  --ax-lime: #C4F420;
  --ax-lime-pale: #E4F890;
  --ax-teal: #147078;
  --ax-cyan: #80DCE0;
  --ax-purple: #C77DF0;
  --ax-violet: #A83CFC;
  --ax-purple-deep: #7B3FA0;
  --ax-orange: #FC3C00;
  /* Ink */
  --ax-ink: #1A1F1D;
  --ax-ink-2: #4A5552;
  --ax-muted: #7D8B87;
  --ax-on-dark: #FFFFFF;
  --ax-on-dark-2: #C8D8D0;
  /* Type */
  --ax-mono: "IBM Plex Mono", "Space Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --ax-sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  /* Radius: buttons 4 · inputs 6 · panels 12 · cards 20 · large 28 */
  --ax-r-xs: 4px; --ax-r-sm: 6px; --ax-r-md: 12px; --ax-r-lg: 20px; --ax-r-xl: 28px;
  /* Elevation */
  --ax-sh-1: 0 1px 2px rgba(34, 46, 42, .08);
  --ax-sh-2: 0 4px 14px rgba(34, 46, 42, .10);
  --ax-sh-3: 0 16px 40px rgba(34, 46, 42, .18);
  --ax-ease: cubic-bezier(.2, .8, .2, 1);
  --ax-side-w: 248px;
  --ax-top-h: 60px;
}

[data-theme="dark"], [data-bs-theme="dark"] {
  --ax-canvas: #18211E;
  --ax-surface: #222E2A;
  --ax-pale: #2B3A35;
  --ax-pale-2: #26332F;
  --ax-sage-3: #33443E;
  --ax-ink: #EAF2EF;
  --ax-ink-2: #BFCCC8;
  --ax-muted: #8FA19B;
  --ax-line: #3B4C46;
  --ax-line-2: #31403B;
  --ax-teal: #80DCE0;
  --ax-forest: #141C19;
}

/* ---------- Base ---------- */
.ax body {
  margin: 0; background: var(--ax-canvas); color: var(--ax-ink);
  font-family: var(--ax-sans); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
.ax *, .ax *::before, .ax *::after { box-sizing: border-box; }
:where(.ax) a { color: inherit; text-decoration: none; }
.ax img { max-width: 100%; display: block; }
.ax ::selection { background: var(--ax-neon); color: var(--ax-forest); }
.ax h1, .ax h2, .ax h3, .ax h4, .ax h5 { margin: 0; }
.ax p { margin: 0; }

/* Type scale (from kit) */
.ax-display { font-family: var(--ax-mono); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.ax-h1, .ax-section__title { font-family: var(--ax-mono); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.ax-h2 { font-family: var(--ax-mono); font-weight: 400; font-size: 22px; line-height: 1.27; letter-spacing: .08em; text-transform: uppercase; }
.ax-h3, .ax-card__title { font-family: var(--ax-mono); font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.ax-title { font-family: var(--ax-sans); font-weight: 700; font-size: 26px; line-height: 1.23; letter-spacing: -.01em; }
.ax-subtitle { font-family: var(--ax-sans); font-weight: 600; font-size: 18px; line-height: 1.44; }
.ax-small { font-size: 12px; color: var(--ax-ink-2); }

.ax-eyebrow { font-family: var(--ax-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-teal); }
.ax-label { font-family: var(--ax-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); display: inline-flex; align-items: center; gap: 8px; }
.ax-anno { font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-muted); }
.ax-anno b { color: var(--ax-teal); font-weight: 600; }
.ax-label--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ax-violet); animation: ax-pulse 2s infinite; }
.ax-mono { font-family: var(--ax-mono); }
.ax-muted { color: var(--ax-muted); }
.ax-num { font-family: var(--ax-mono); font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: 0; }
.ax-sub-title { font-family: var(--ax-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--ax-ink); }
.ax-sub-title::after { content: ""; flex: 1; height: 1px; background: var(--ax-line); }

/* ---------- Buttons (4px, mono uppercase) ---------- */
.ax-btn {
  --h: 40px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: var(--ax-r-xs);
  border: 1.5px solid transparent; background: transparent; color: var(--ax-forest);
  font-family: var(--ax-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.ax-btn i { font-size: 16px; }
.ax-btn--neon { background: var(--ax-neon); color: var(--ax-forest); }
.ax-btn--neon:hover { background: var(--ax-neon-2); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 236, 108, .35); }
.ax-btn, .ax-btn--outline { border-color: var(--ax-forest); }
.ax-btn:hover { background: var(--ax-forest); color: #fff; }
.ax-btn--neon, .ax-btn--dark, .ax-btn--ghost, .ax-btn--link { border-color: transparent; }
.ax-btn.ax-btn--neon:hover { background: var(--ax-neon-2); color: var(--ax-forest); }
.ax-btn--dark { background: var(--ax-forest); color: #fff; }
.ax-btn--dark:hover { background: #000; }
.ax-btn--ghost:hover { background: var(--ax-pale); color: var(--ax-ink); }
.ax-btn--outline-light { border-color: #fff; color: #fff; }
.ax-btn--outline-light:hover { background: #fff; color: var(--ax-forest); }
.ax-btn--white { background: #fff; border-color: #fff; color: var(--ax-forest); }
.ax-btn--link { height: auto; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.ax-btn--link:hover { background: none; color: var(--ax-teal); }
.ax-btn--xs { --h: 24px; padding: 0 10px; font-size: 10px; }
.ax-btn--sm { --h: 32px; padding: 0 14px; font-size: 11px; }
.ax-btn--lg { --h: 48px; padding: 0 28px; font-size: 14px; }
.ax-btn--icon { width: var(--h); padding: 0; }
.ax-btn--block { width: 100%; }
[data-theme="dark"] .ax-btn:not(.ax-btn--neon):not(.ax-btn--dark):not(.ax-btn--white):not(.ax-btn--link):not(.ax-btn--ghost) { border-color: #EAF2EF; color: #EAF2EF; }
[data-theme="dark"] .ax-btn:not(.ax-btn--neon):not(.ax-btn--dark):not(.ax-btn--white):not(.ax-btn--link):not(.ax-btn--ghost):hover { background: #EAF2EF; color: var(--ax-forest); }
[data-theme="dark"] .ax-btn--dark { background: #0F1614; border-color: var(--ax-line); }
[data-theme="dark"] .ax-btn--link { color: var(--ax-ink); }

/* ---------- Chips & tags ---------- */
.ax-chip, .ax-badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ax-chip { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ax-pale-2); color: var(--ax-ink-2); font-size: 12px; font-weight: 500; }
.ax-badge { height: 20px; padding: 0 8px; border-radius: var(--ax-r-xs); background: var(--ax-sage-3); color: var(--ax-ink); font-family: var(--ax-mono); font-size: 10px; letter-spacing: .04em; }
.ax-badge i { font-size: 12px; }
.ax-badge--neon { background: var(--ax-neon); color: var(--ax-forest); }
.ax-badge--outline { background: transparent; border: 1px solid var(--ax-neon-2); color: #007A38; }
[data-theme="dark"] .ax-badge--outline { color: var(--ax-neon); }
.ax-badge--lime { background: var(--ax-lime-pale); color: var(--ax-forest); }
.ax-badge--cyan { background: rgba(128, 220, 224, .35); color: var(--ax-ink); }
.ax-badge--purple { background: rgba(199, 125, 240, .25); color: var(--ax-purple-deep); }
.ax-badge--orange { background: rgba(252, 60, 0, .1); color: var(--ax-orange); }
.ax-badge--dark { background: var(--ax-slate); color: #fff; }
.ax-badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ax-violet); }
[data-theme="dark"] .ax-badge--purple { color: var(--ax-purple); }
.ax-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ax-sage-2); flex: none; }

/* ---------- Cards / panels / window ---------- */
.ax-card { background: var(--ax-surface); border-radius: var(--ax-r-lg); padding: 24px; box-shadow: var(--ax-sh-1); min-width: 0; transition: box-shadow .2s, transform .2s var(--ax-ease); }
.ax-card--flat { box-shadow: none; border: 1px solid var(--ax-line); }
.ax-card--hover:hover { box-shadow: var(--ax-sh-2); transform: translateY(-2px); }
.ax-card--flush { padding: 0; overflow: hidden; }
.ax-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ax-card__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ax-line-2); display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Panel: forest header + white body (kit "Lists & Leads") */
.ax-panel { background: var(--ax-surface); border-radius: var(--ax-r-lg); overflow: hidden; box-shadow: var(--ax-sh-1); min-width: 0; display: flex; flex-direction: column; }
.ax-panel__hd { background: var(--ax-forest); color: #fff; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--ax-mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.ax-panel__hd .ax-label { color: var(--ax-on-dark-2); }
.ax-panel__hd .ax-btn--link { color: #fff; font-size: 11px; }
.ax-panel__bd { padding: 6px 20px 14px; flex: 1; }
.ax-panel__bd--pad { padding: 20px; }

/* Bordered sub-card (kit insights tiles) */
.ax-tile { border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); background: var(--ax-surface); overflow: hidden; min-width: 0; }
.ax-tile__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ax-line-2); font-weight: 600; font-size: 15px; }
.ax-tile__bd { padding: 16px; }

/* Header bar (kit .bar) */
.ax-bar { background: var(--ax-pale); border-radius: var(--ax-r-sm); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- KPI ---------- */
.ax-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ax-kpi { padding: 18px 20px; border: 1px solid var(--ax-line); box-shadow: none; border-radius: var(--ax-r-md); }
.ax-kpi__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ax-kpi__icon { font-size: 18px; color: var(--ax-sage-2); }
.ax-kpi__value { font-family: var(--ax-mono); font-size: 30px; font-weight: 400; line-height: 1.1; margin-top: 12px; color: var(--ax-ink); }
.ax-kpi__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: var(--ax-ink-2); gap: 8px; }
.ax-kpi:hover { border-color: var(--ax-sage-2); }
.ax-delta { font-family: var(--ax-mono); font-size: 11px; color: var(--ax-neon-2); }
.ax-delta--down { color: var(--ax-orange); }
.ax-progress { height: 6px; border-radius: 99px; background: var(--ax-line-2); overflow: hidden; }
.ax-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--ax-neon); width: var(--p, 50%); transition: width 1.2s var(--ax-ease); }

/* ---------- Grid helpers ---------- */
.ax-grid { display: grid; gap: 24px; }
.ax-g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ax-g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ax-g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ax-g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ax-span-3 { grid-column: span 3; } .ax-span-4 { grid-column: span 4; } .ax-span-5 { grid-column: span 5; }
.ax-span-6 { grid-column: span 6; } .ax-span-7 { grid-column: span 7; } .ax-span-8 { grid-column: span 8; } .ax-span-12 { grid-column: span 12; }
.ax-stack { display: flex; flex-direction: column; gap: 24px; }
.ax-row { display: flex; align-items: center; gap: 12px; }
.ax-between { justify-content: space-between; }
.ax-wrap { flex-wrap: wrap; }

/* ---------- Section head (kit .sec-head) ---------- */
.ax-section { margin-top: 56px; }
.ax-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; flex-wrap: wrap; }
.ax-section__head .ax-eyebrow { display: block; margin-bottom: 8px; }
.ax-section__sub { color: var(--ax-ink-2); max-width: 520px; font-size: 15px; }
.ax-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--ax-line); }
.ax-page-head .ax-eyebrow { display: block; margin-bottom: 8px; }

/* ---------- Dashboard shell ---------- */
.ax-topbar {
  position: sticky; top: 0; z-index: 50; height: var(--ax-top-h);
  background: var(--ax-forest); color: #fff; border-bottom: 1px solid #000;
  display: flex; align-items: center; gap: 18px; padding: 0 20px;
}
.ax-topbar .ax-brand { color: #fff; }
.ax-topbar__ctx { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-on-dark-2); white-space: nowrap; }
.ax-topbar__ctx b { color: #fff; font-weight: 500; }
.ax-shell { display: grid; grid-template-columns: var(--ax-side-w) minmax(0, 1fr); min-height: calc(100vh - var(--ax-top-h)); }
.ax-side {
  position: sticky; top: var(--ax-top-h); height: calc(100vh - var(--ax-top-h)); overflow-y: auto;
  background: var(--ax-surface); border-right: 1px solid var(--ax-line-2);
  display: flex; flex-direction: column; z-index: 40; scrollbar-width: thin;
}
.ax-side__company { margin: 16px 12px 6px; padding: 12px; border-radius: var(--ax-r-md); background: var(--ax-pale); display: flex; align-items: center; gap: 12px; cursor: pointer; border: 1px solid transparent; transition: border-color .15s; }
.ax-side__company:hover { border-color: var(--ax-line); }
.ax-side__company-name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.ax-side__company-meta { font-size: 12px; color: var(--ax-ink-2); margin-top: 2px; }
.ax-nav { padding: 4px 0 20px; flex: 1; }
.ax-nav__group { font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-muted); padding: 18px 20px 6px; }
.ax-nav__item {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 8px 20px; margin: 1px 0;
  font-family: var(--ax-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ax-ink);
  transition: background-color .15s, color .15s;
}
.ax-nav__item i { font-size: 17px; width: 18px; text-align: center; color: var(--ax-ink-2); }
.ax-nav__item:hover { background: var(--ax-pale); }
.ax-nav__item.is-active { background: var(--ax-pale); }
.ax-nav__item.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ax-neon); }
.ax-nav__item.is-active i { color: var(--ax-ink); }
.ax-nav__count { margin-left: auto; font-family: var(--ax-mono); font-size: 10.5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--ax-forest); color: #fff; letter-spacing: 0; }
.ax-nav__count--muted { background: var(--ax-sage-3); color: var(--ax-ink); }
.ax-nav__tag { margin-left: auto; font-size: 9.5px; letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; background: var(--ax-lime-pale); color: var(--ax-forest); }
.ax-side__promo { margin: 0 12px 16px; padding: 16px; border-radius: var(--ax-r-md); background: var(--ax-lime-pale); color: var(--ax-forest); }
.ax-side__promo p { font-size: 13px; margin: 6px 0 12px; }
.ax-side__promo .ax-label { color: var(--ax-forest); }

.ax-main { min-width: 0; }
.ax-content { padding: 32px 36px 72px; max-width: 1480px; }
.ax-crumbs { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ax-crumbs b { color: var(--ax-ink); font-weight: 500; }

.ax-search { flex: 1 1 0; min-width: 0; max-width: 520px; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 0 0 14px; border-radius: var(--ax-r-sm); background: #fff; border: 1px solid #83968E; color: var(--ax-muted); overflow: hidden; }
.ax-search:focus-within { border-color: var(--ax-neon); box-shadow: 0 0 0 3px rgba(0, 236, 108, .25); }
.ax-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #1A1F1D; font: inherit; font-size: 14px; }
.ax-search__go { width: 40px; height: 100%; display: grid; place-items: center; background: var(--ax-forest); color: #fff; border: 0; font-size: 17px; cursor: pointer; }
.ax-topbar .ax-search__go { background: var(--ax-neon); color: var(--ax-forest); }
.ax-kbd { font-family: var(--ax-mono); font-size: 10.5px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--ax-line); color: var(--ax-muted); margin-right: 10px; }
.ax-top__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ax-iconbtn { position: relative; width: 36px; height: 36px; border-radius: var(--ax-r-sm); display: grid; place-items: center; font-size: 19px; background: transparent; border: 1px solid transparent; color: inherit; cursor: pointer; transition: background-color .15s, border-color .15s; }
.ax-iconbtn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.ax-masthead .ax-iconbtn:hover, .ax-modal .ax-iconbtn:hover { background: var(--ax-pale); border-color: var(--ax-line); }
.ax-iconbtn .ax-pip { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ax-violet); }
.ax-iconbtn.ax-top__burger, .ax-iconbtn.ax-pub-burger { display: none; }
.ax-theme-switch { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-on-dark-2); background: none; border: 0; cursor: pointer; padding: 0; }
.ax-theme-switch .ax-track { width: 36px; height: 20px; border-radius: 999px; background: var(--ax-sage-2); position: relative; transition: background-color .2s; }
.ax-theme-switch .ax-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
[data-theme="dark"] .ax-theme-switch .ax-track { background: var(--ax-neon); }
[data-theme="dark"] .ax-theme-switch .ax-track::after { left: 19px; }
.ax-masthead .ax-theme-switch { color: var(--ax-ink-2); }
.ax-user { flex-shrink: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; }

/* Avatars */
.ax-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--ax-sage); color: var(--ax-forest); }
.ax-avatar--sq { border-radius: var(--ax-r-sm); }
.ax-avatar--sm { width: 30px; height: 30px; font-size: 11px; }
.ax-avatar--lg { width: 64px; height: 64px; font-size: 20px; }
.ax-av-1 { background: #9FB5AD; } .ax-av-2 { background: var(--ax-cyan); } .ax-av-3 { background: var(--ax-lime-pale); }
.ax-av-4 { background: #D9B8F5; } .ax-av-5 { background: #F4C7B4; } .ax-av-6 { background: var(--ax-forest); color: var(--ax-neon); }

/* Welcome / hero block (light, kit "Exhibitor banner" + "Welcome back") */
.ax-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ax-hero__main { background: var(--ax-surface); border-radius: var(--ax-r-lg); box-shadow: var(--ax-sh-1); padding: 32px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.ax-hero__main::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ax-neon); }
.ax-hero__main p { color: var(--ax-ink-2); max-width: 560px; }
.ax-hero__actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.ax-hero__stat { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ax-line-2); font-size: 14px; }
.ax-hero__stat:last-child { border: 0; }
.ax-hero__stat b { font-family: var(--ax-mono); font-weight: 500; }

/* Signals strip */
.ax-signals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--ax-r-md); overflow: hidden; border: 1px solid var(--ax-line); background: var(--ax-surface); }
.ax-signal { padding: 18px 20px; border-right: 1px solid var(--ax-line-2); display: flex; flex-direction: column; gap: 6px; transition: background-color .15s; }
.ax-signal:last-child { border-right: 0; }
.ax-signal:hover { background: var(--ax-pale); }
.ax-signal__v { font-family: var(--ax-mono); font-size: 26px; display: flex; align-items: center; gap: 10px; }
.ax-signal small { color: var(--ax-ink-2); font-size: 12.5px; }

/* ---------- Tables ---------- */
.ax-table-wrap { overflow-x: auto; }
.ax-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ax-table th { text-align: left; font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-ink-2); font-weight: 500; padding: 10px 14px; background: var(--ax-pale); border-bottom: 1px solid var(--ax-line-2); white-space: nowrap; }
.ax-table--dark-head th { background: var(--ax-forest); color: #fff; }
.ax-table td { padding: 13px 14px; border-bottom: 1px solid var(--ax-line-2); vertical-align: middle; }
.ax-table tbody tr { transition: background-color .15s; }
.ax-table tbody tr:hover { background: var(--ax-pale); }
.ax-table tbody tr:last-child td { border-bottom: 0; }
.ax-cell-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ax-cell-main b { font-weight: 500; display: block; }
.ax-cell-main small { color: var(--ax-ink-2); font-size: 12px; }

/* ---------- Tabs (kit: underline neon) ---------- */
.ax-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--ax-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.ax-tab { flex: none; border: 0; background: transparent; color: var(--ax-ink-2); font-family: var(--ax-sans); font-size: 14px; font-weight: 500; padding: 10px 14px; cursor: pointer; position: relative; transition: color .15s; }
.ax-tab:hover { color: var(--ax-ink); }
.ax-tab.is-active { color: var(--ax-ink); font-weight: 600; }
.ax-tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ax-neon); }
.ax-seg { display: inline-flex; border: 1px solid var(--ax-forest); border-radius: var(--ax-r-xs); overflow: hidden; }
.ax-seg .ax-tab { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; }
.ax-seg .ax-tab.is-active { background: var(--ax-forest); color: #fff; }
.ax-seg .ax-tab.is-active::after { display: none; }
[data-theme="dark"] .ax-seg { border-color: var(--ax-line); }
.ax-tabpanel { display: none; }
.ax-tabpanel.is-active { display: block; animation: ax-fade .3s var(--ax-ease); }

/* ---------- Lists ---------- */
.ax-list { list-style: none; margin: 0; padding: 0; }
.ax-list li, .ax-list > a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ax-line-2); }
.ax-list li:last-child, .ax-list > a:last-child { border-bottom: 0; }
.ax-list > a:hover { background: var(--ax-pale); margin: 0 -20px; padding: 13px 20px; }
.ax-list__rank { font-family: var(--ax-mono); font-size: 12px; color: var(--ax-muted); width: 22px; }
.ax-list__bar { flex: 1; min-width: 0; }
.ax-list__bar span { display: block; font-size: 14px; margin-bottom: 6px; }
.ax-list__val { font-family: var(--ax-mono); font-size: 13px; }
.ax-list__main { flex: 1; min-width: 0; }
.ax-list__main b { display: block; font-weight: 500; }
.ax-list__main small { color: var(--ax-ink-2); font-size: 12.5px; }
.ax-list__chev { color: var(--ax-ink-2); font-size: 16px; }

.ax-date { width: 52px; flex: none; text-align: center; border: 1px solid var(--ax-line); border-radius: var(--ax-r-sm); overflow: hidden; background: var(--ax-surface); }
.ax-date b { display: block; font-family: var(--ax-mono); font-weight: 500; font-size: 18px; line-height: 1; padding: 7px 0 4px; }
.ax-date span { display: block; font-family: var(--ax-mono); font-size: 9.5px; letter-spacing: .12em; background: var(--ax-pale); color: var(--ax-ink-2); padding: 3px 0; border-top: 1px solid var(--ax-line-2); }

/* ---------- Charts ---------- */
.ax-chart { width: 100%; height: 220px; }
.ax-chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.ax-chart .grid line { stroke: var(--ax-line-2); }
.ax-chart text { font-family: var(--ax-mono); font-size: 10px; fill: var(--ax-muted); letter-spacing: .06em; }
.ax-chart .bar { transform-origin: bottom; transform-box: fill-box; animation: ax-grow .8s var(--ax-ease) both; }
.ax-chart .line { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: ax-draw 1.6s var(--ax-ease) forwards; }
.ax-chart.no-anim .bar, .ax-chart.no-anim .line { animation: none; stroke-dashoffset: 0; }
.ax-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ax-ink-2); }
.ax-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ax-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.ax-donut { width: 140px; height: 140px; flex: none; }
.ax-stackbar { display: flex; height: 16px; border-radius: 2px; overflow: hidden; }
.ax-stackbar span { height: 100%; transition: flex-grow .8s var(--ax-ease); }

/* ---------- Service store ---------- */
.ax-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ax-service { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--ax-r-md); background: var(--ax-surface); border: 1px solid var(--ax-line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ax-ease); }
.ax-service:hover { border-color: var(--ax-forest); box-shadow: var(--ax-sh-2); transform: translateY(-2px); }
.ax-service__icon { width: 44px; height: 44px; border-radius: var(--ax-r-sm); display: grid; place-items: center; font-size: 22px; background: var(--svc, var(--ax-pale)); color: var(--ax-forest); }
.ax-service h4 { font-family: var(--ax-sans); font-size: 16px; font-weight: 600; margin-top: 4px; }
.ax-service p { font-size: 13.5px; color: var(--ax-ink-2); flex: 1; }
.ax-service__price { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .06em; color: var(--ax-muted); }
.ax-service__price b { color: var(--ax-ink); font-size: 14px; font-weight: 500; }
.ax-service--feature { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; border-color: var(--ax-forest); }
.ax-service--feature .ax-panel__hd { border-radius: 0; }
.ax-service--feature p { flex: none; }
.ax-service--feature .ax-service__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ax-service__incl { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; color: var(--ax-ink-2); }
.ax-service__incl li { display: flex; gap: 8px; align-items: center; }
.ax-service__incl i { color: var(--ax-neon-2); font-size: 16px; }

/* Paths */
.ax-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ax-path { position: relative; padding: 24px; border-radius: var(--ax-r-md); border: 1px solid var(--ax-line); background: var(--ax-surface); display: flex; flex-direction: column; gap: 12px; transition: border-color .2s, box-shadow .2s; }
.ax-path:hover { border-color: var(--ax-forest); box-shadow: var(--ax-sh-2); }
.ax-path__n { font-family: var(--ax-mono); font-size: 12px; letter-spacing: .14em; color: var(--ax-teal); }
.ax-path h4 { font-family: var(--ax-mono); font-weight: 400; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.ax-path ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ax-ink-2); display: grid; gap: 8px; flex: 1; }
.ax-path ul li { display: flex; gap: 8px; }
.ax-path ul li::before { content: "→"; color: var(--ax-neon-2); font-family: var(--ax-mono); }
.ax-path--pop { border: 2px solid var(--ax-neon); }
.ax-path__flag { position: absolute; top: 20px; right: 20px; }

/* Guides / quick tiles */
.ax-guides { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ax-guide { padding: 18px; border-radius: var(--ax-r-md); background: var(--ax-surface); border: 1px solid var(--ax-line); display: flex; flex-direction: column; gap: 14px; min-height: 140px; transition: border-color .2s, background-color .2s; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ax-guide:hover { border-color: var(--ax-forest); }
.ax-guide i { font-size: 22px; color: var(--ax-teal); }
.ax-guide h5 { font-size: 14.5px; font-weight: 600; line-height: 1.35; flex: 1; }
.ax-guide small { font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); letter-spacing: .06em; text-transform: uppercase; }

/* QR */
.ax-qr { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.ax-qr__code { width: 148px; height: 148px; padding: 12px; border-radius: var(--ax-r-md); background: #fff; border: 1px solid var(--ax-line); display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; }
.ax-qr__code i { background: #222E2A; border-radius: 1px; }
.ax-qr__code i.o { background: transparent; }

/* Empty state */
.ax-empty { text-align: center; padding: 36px 20px; border: 1.5px dashed var(--ax-line); border-radius: var(--ax-r-md); background: var(--ax-pale); }
.ax-empty i { font-size: 28px; color: var(--ax-sage-2); }
.ax-empty h5 { font-family: var(--ax-mono); font-weight: 400; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin: 12px 0 6px; }
.ax-empty p { font-size: 13px; color: var(--ax-ink-2); max-width: 340px; margin: 0 auto 16px; }

/* ---------- Forms (kit registration style) ---------- */
.ax-field { display: flex; flex-direction: column; gap: 6px; }
.ax-field label { font-family: var(--ax-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-ink); }
.ax-field label.req::before { content: "*"; color: var(--ax-orange); margin-right: 3px; }
.ax-input, .ax-select, .ax-textarea { width: 100%; height: 40px; padding: 0 12px; border-radius: var(--ax-r-sm); border: 1px solid var(--ax-ink-2); background: var(--ax-surface); color: var(--ax-ink); font: inherit; font-size: 14px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.ax-input--soft { border-color: var(--ax-line); }
.ax-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23485858' stroke-width='1.8'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.ax-textarea { height: auto; min-height: 100px; padding: 10px 12px; resize: vertical; }
.ax-input:focus, .ax-select:focus, .ax-textarea:focus { border-color: var(--ax-neon); box-shadow: 0 0 0 3px rgba(0, 236, 108, .25); }
.ax-help { font-size: 12px; color: var(--ax-muted); }

/* Modal */
.ax-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(34, 46, 42, .55); }
.ax-modal.is-open { display: flex; animation: ax-fade .2s; }
.ax-modal__box { width: 100%; max-width: 540px; background: var(--ax-surface); border-radius: var(--ax-r-lg); overflow: hidden; box-shadow: var(--ax-sh-3); animation: ax-rise .3s var(--ax-ease); max-height: calc(100vh - 40px); overflow-y: auto; }
.ax-modal__box .ax-panel__hd .ax-iconbtn { color: #fff; }
.ax-modal__body { padding: 24px; }
.ax-modal__body .ax-grid { gap: 16px; }

/* Toast */
.ax-toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); z-index: 120; background: var(--ax-forest); color: #fff; padding: 12px 18px; border-radius: var(--ax-r-sm); display: flex; gap: 10px; align-items: center; font-size: 14px; box-shadow: var(--ax-sh-3); transition: transform .35s var(--ax-ease); }
.ax-toast i { color: var(--ax-neon); }
.ax-toast.is-show { transform: translate(-50%, 0); }

.ax-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(34, 46, 42, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }

/* ---------- Public site ---------- */
.ax-ticker { background: var(--ax-surface); border-bottom: 1px solid var(--ax-line-2); font-family: var(--ax-mono); font-size: 12px; color: var(--ax-ink); overflow: hidden; white-space: nowrap; height: 34px; display: flex; align-items: center; }
.ax-ticker__date { flex: none; padding: 0 14px; color: var(--ax-ink-2); border-right: 1px solid var(--ax-line-2); height: 100%; display: flex; align-items: center; background: var(--ax-surface); z-index: 1; }
.ax-ticker__label { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-weight: 600; letter-spacing: .1em; background: var(--ax-surface); height: 100%; z-index: 1; }
.ax-ticker__label::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ax-neon); animation: ax-pulse 2s infinite; }
.ax-ticker__track { display: inline-flex; gap: 40px; padding-left: 20px; animation: ax-marquee 60s linear infinite; }
.ax-ticker__track span::before { content: "• "; color: var(--ax-muted); }
.ax-ticker:hover .ax-ticker__track { animation-play-state: paused; }

.ax-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.ax-masthead { position: sticky; top: 0; z-index: 50; background: var(--ax-surface); border-bottom: 1px solid var(--ax-line); }
.ax-masthead__row { position: relative; display: flex; align-items: center; gap: 24px; height: 68px; }
.ax-brand { display: flex; align-items: center; gap: 10px; font-family: var(--ax-mono); font-weight: 600; font-size: 15px; letter-spacing: .12em; white-space: nowrap; }
.ax-logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ax-neon); color: var(--ax-forest); display: grid; place-items: center; font-weight: 700; letter-spacing: 0; }
.ax-brand small { display: block; font-size: 9.5px; letter-spacing: .1em; color: var(--ax-muted); font-weight: 400; margin-top: 1px; text-transform: uppercase; }
.ax-pubnav { display: flex; gap: 2px; }
.ax-pubnav a { padding: 8px 12px; border-radius: var(--ax-r-sm); font-family: var(--ax-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-ink-2); transition: background-color .15s, color .15s; white-space: nowrap; }
.ax-pubnav a:hover { background: var(--ax-pale); color: var(--ax-ink); }
.ax-pubnav a.is-active { background: var(--ax-forest); color: #fff; }
.ax-masthead .ax-search { max-width: 380px; border-color: var(--ax-line); }

.ax-lead-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.ax-lead { display: flex; flex-direction: column; background: var(--ax-surface); border-radius: var(--ax-r-lg); overflow: hidden; box-shadow: var(--ax-sh-1); }
.ax-lead__img { aspect-ratio: 16 / 8; overflow: hidden; }
.ax-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ax-ease); }
.ax-lead:hover .ax-lead__img img { transform: scale(1.03); }
.ax-lead__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.ax-lead h1 { font-family: var(--ax-sans); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18; letter-spacing: -.015em; }
.ax-lead p { color: var(--ax-ink-2); font-size: 16px; }
.ax-byline { display: flex; gap: 10px; flex-wrap: wrap; font-family: var(--ax-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-muted); }
.ax-byline span { white-space: nowrap; }

.ax-story { display: grid; grid-template-columns: 1fr 96px; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ax-line-2); align-items: start; }
.ax-story:last-child { border-bottom: 0; }
.ax-story__img { width: 96px; height: 72px; border-radius: var(--ax-r-sm); overflow: hidden; }
.ax-story__img img { width: 100%; height: 100%; object-fit: cover; }
.ax-story h3 { font-family: var(--ax-sans); font-size: 15.5px; font-weight: 600; line-height: 1.35; margin-top: 4px; transition: color .15s; }
.ax-story:hover h3 { color: var(--ax-teal); }
.ax-story small { font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); letter-spacing: .06em; text-transform: uppercase; }

.ax-article-card { display: flex; flex-direction: column; gap: 10px; background: var(--ax-surface); border-radius: var(--ax-r-lg); overflow: hidden; box-shadow: var(--ax-sh-1); transition: box-shadow .2s, transform .2s var(--ax-ease); }
.ax-article-card:hover { box-shadow: var(--ax-sh-2); transform: translateY(-2px); }
.ax-article-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.ax-article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ax-article-card__body { padding: 4px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.ax-article-card h3 { font-family: var(--ax-sans); font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.ax-article-card p { font-size: 14px; color: var(--ax-ink-2); }

/* Index cards (kit industry list: black rule top, stats row) */
.ax-index-card { border-top: 2px solid var(--ax-ink); padding: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ax-index-card h3 { font-family: var(--ax-sans); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.ax-index-card p { color: var(--ax-ink-2); font-size: 14.5px; }
.ax-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ax-line-2); border-bottom: 1px solid var(--ax-line-2); padding: 12px 0; }
.ax-stats b { display: block; font-family: var(--ax-mono); font-weight: 500; font-size: 18px; }
.ax-stats small { font-family: var(--ax-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--ax-muted); text-transform: uppercase; }

/* Data band: forest panel */
.ax-databand { background: var(--ax-forest); color: #fff; border-radius: var(--ax-r-lg); overflow: hidden; }
.ax-databand__hd { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); font-family: var(--ax-mono); letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.ax-databand__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ax-databand__cell { padding: 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.ax-databand__cell:last-child { border-right: 0; }
.ax-databand__cell .ax-num { font-size: clamp(28px, 3vw, 44px); font-weight: 400; display: block; }
.ax-databand__cell small { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-on-dark-2); }

.ax-company { display: flex; flex-direction: column; gap: 14px; }
.ax-company__top { display: flex; gap: 12px; align-items: center; }
.ax-company h4 { font-family: var(--ax-sans); font-size: 16px; font-weight: 600; }
.ax-company small { color: var(--ax-ink-2); font-size: 12.5px; }
.ax-company__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ax-company__actions { display: flex; gap: 8px; margin-top: auto; }
.ax-company__actions .ax-btn:first-child { flex: 1; }
.ax-sponsored { outline: 2px solid var(--ax-lime); outline-offset: -2px; }

.ax-event-card { background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.ax-event-card:hover { border-color: var(--ax-forest); box-shadow: var(--ax-sh-2); }
.ax-event-card__bd { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ax-event-card__date { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.ax-event-card__date i { color: var(--ax-ink-2); }
.ax-event-card h5 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ax-event-card small { color: var(--ax-ink-2); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.ax-event-card__ft { background: var(--ax-pale); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ax-ink-2); }

/* Promo strip (lime pale) */
.ax-promo { border-radius: var(--ax-r-lg); padding: 32px 36px; background: var(--ax-lime-pale); color: var(--ax-forest); display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 24px; align-items: center; }
.ax-promo .ax-eyebrow { color: var(--ax-forest); }
.ax-promo h2 { font-family: var(--ax-mono); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .04em; text-transform: uppercase; margin-top: 8px; }
.ax-promo p { margin-top: 8px; color: var(--ax-slate); max-width: 620px; }
.ax-inline-cta { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--ax-r-md); background: var(--ax-lime-pale); color: var(--ax-forest); }
.ax-inline-cta i.lead { font-size: 22px; }
.ax-inline-cta p { flex: 1; font-size: 14px; }

.ax-footer { background: var(--ax-forest); color: var(--ax-on-dark-2); margin-top: 88px; padding: 56px 0 28px; }
.ax-footer .ax-brand { color: #fff; }
.ax-footer h6 { font-family: var(--ax-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.ax-footer a { display: block; font-size: 14px; padding: 4px 0; transition: color .15s; }
.ax-footer a:hover { color: var(--ax-neon); }
.ax-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.ax-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 16px; font-family: var(--ax-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; flex-wrap: wrap; }

/* Public mobile nav */
@media (max-width: 1180px) {
  .ax-pubnav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 16px 18px; background: var(--ax-surface); border-bottom: 1px solid var(--ax-line); box-shadow: var(--ax-sh-2); animation: ax-fade .2s; }
  .ax-pubnav.is-open a { padding: 12px; font-size: 13px; }
}

.show-sm { display: none; }
.ax-lock { overflow: hidden; }
.ax-theme-switching, .ax-theme-switching * { transition: none !important; }

/* ---------- Motion ---------- */
.ax-reveal { opacity: 0; transform: translateY(10px); animation: ax-rise .6s var(--ax-ease) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes ax-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ax-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ax-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes ax-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ax-draw { to { stroke-dashoffset: 0; } }
@keyframes ax-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ax * { animation: none !important; transition: none !important; } .ax-reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .ax-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ax-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .ax-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-g-12 > [class*="ax-span-"] { grid-column: span 12; }
  .ax-g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-lead-grid { grid-template-columns: 1fr; }
  .ax-pubnav { display: none; }
  .ax-iconbtn.ax-pub-burger { display: grid; }
  .ax-footer__grid { grid-template-columns: 1fr 1fr; }
  .ax-hero { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .ax-shell { grid-template-columns: 1fr; }
  .ax-side { position: fixed; left: 0; top: var(--ax-top-h); bottom: 0; height: auto; width: 280px; transform: translateX(-100%); transition: transform .3s var(--ax-ease); box-shadow: var(--ax-sh-3); }
  .ax-drawer-open .ax-side { transform: none; }
  .ax-drawer-open .ax-scrim { opacity: 1; pointer-events: auto; }
  .ax-iconbtn.ax-top__burger { display: grid; }
  .ax-paths { grid-template-columns: 1fr; }
  .ax-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-signal:nth-child(2) { border-right: 0; }
  .ax-signal:nth-child(-n+2) { border-bottom: 1px solid var(--ax-line-2); }
  .ax-databand__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-databand__cell:nth-child(2) { border-right: 0; }
  .ax-databand__cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .ax-g-3 { grid-template-columns: 1fr 1fr; }
  .ax-topbar__ctx { display: none; }
}
@media (max-width: 720px) {
  .ax body { font-size: 14px; }
  .ax-content { padding: 20px 16px 48px; }
  .ax-topbar { padding: 0 12px; gap: 10px; }
  .ax-topbar .ax-brand span:not(.ax-logo-mark) { display: none; }
  .ax-search .ax-kbd, .ax-user > span:not(.ax-avatar), .ax .hide-sm { display: none; }
  .ax .show-sm { display: inline; }
  .ax-theme-switch > span:first-child { display: none; }
  .ax-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ax-kpi { padding: 14px; }
  .ax-kpi__value { font-size: 24px; }
  .ax-card { padding: 18px; }
  .ax-hero__main { padding: 22px; }
  .ax-title { font-size: 21px; }
  .ax-services, .ax-g-2, .ax-g-3, .ax-g-4 { grid-template-columns: 1fr; }
  .ax-service--feature { grid-column: auto; grid-row: auto; }
  .ax-service__incl { grid-template-columns: 1fr; }
  .ax-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-qr { grid-template-columns: 1fr; justify-items: start; }
  .ax-section { margin-top: 40px; }
  .ax-container { padding: 0 16px; }
  .ax-masthead__row { height: 60px; gap: 10px; }
  .ax-masthead .ax-search { display: none; }
  .ax-brand small { display: none; }
  .ax-lead__body { padding: 18px; }
  .ax-story { grid-template-columns: 1fr 84px; }
  .ax-story__img { width: 84px; height: 64px; }
  .ax-promo { grid-template-columns: 1fr; padding: 24px 20px; }
  .ax-footer__grid { grid-template-columns: 1fr 1fr; }
  .ax-footer__grid > :first-child { grid-column: span 2; }
  .ax-inline-cta { flex-wrap: wrap; }
  .ax-databand__cell { padding: 18px; }
  .ax-ticker__date { display: none; }
  /* tables become stacked cards */
  .ax-table--stack thead { display: none; }
  .ax-table--stack, .ax-table--stack tbody, .ax-table--stack tr, .ax-table--stack td { display: block; width: 100%; }
  .ax-table--stack tr { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); background: var(--ax-surface); }
  .ax-table--stack tbody tr:hover { background: var(--ax-surface); }
  .ax-table--stack td { padding: 6px 0; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .ax-table--stack td::before { content: attr(data-label); font-family: var(--ax-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); text-align: left; }
  .ax-table--stack td:first-child { justify-content: flex-start; text-align: left; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ax-line-2); }
  .ax-table--stack td:first-child::before { display: none; }
}

/* Nav groups with sub-items (admin) */
.ax-nav__item .ax-chev { margin-left: auto; font-size: 14px; color: var(--ax-muted); transition: transform .2s; }
.ax-nav__item .ax-nav__count + .ax-chev { margin-left: 8px; }
.ax-nav__item.is-open .ax-chev { transform: rotate(180deg); }
.ax-nav__sub { display: none; padding: 2px 0 6px; }
.ax-nav__item.is-open + .ax-nav__sub { display: block; }
.ax-nav__sub .ax-nav__item { padding: 6px 20px 6px 50px; font-size: 12px; }
.ax-nav__sub .ax-nav__item i { font-size: 15px; }
.ax-pubnav-row { border-top: 1px solid var(--ax-line-2); }
@media (max-width: 1180px) { .ax-pubnav-row { border-top: 0; height: 0; } }

.ax-pubnav-row .ax-pubnav { height: 46px; align-items: center; }
.ax-pubnav.is-open { height: auto !important; align-items: stretch !important; }
[data-theme="dark"] .ax-promo .ax-btn:not(.ax-btn--dark), [data-theme="dark"] .ax-side__promo .ax-btn:not(.ax-btn--dark), [data-theme="dark"] .ax-inline-cta .ax-btn:not(.ax-btn--dark) { color: var(--ax-forest) !important; border-color: var(--ax-forest) !important; }
[data-theme="dark"] .ax-promo, [data-theme="dark"] .ax-inline-cta, [data-theme="dark"] .ax-side__promo { color: var(--ax-forest); }
.ax-content { margin: 0 auto; }

/* =========================================================
   v2.1 — compact entity cards, flags, profiles, calendar, directory
   ========================================================= */
.ax-flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(34, 46, 42, .14); flex: none; display: inline-block; vertical-align: -2px; }
.ax-flag--corner { position: absolute; top: 10px; right: 10px; z-index: 2; }
.ax-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ax-ink-2); min-width: 0; }
.ax-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ax-logo { width: 44px; height: 44px; border-radius: var(--ax-r-sm); border: 1px solid var(--ax-line-2); background: #fff; display: grid; place-items: center; flex: none; overflow: hidden; font-family: var(--ax-mono); font-weight: 600; font-size: 13px; color: var(--ax-forest); }
.ax-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ax-logo--lg { width: 72px; height: 72px; font-size: 20px; border-radius: var(--ax-r-md); }
.ax-logo--xl { width: 112px; height: 112px; font-size: 30px; border-radius: var(--ax-r-lg); border-width: 4px; border-color: #fff; box-shadow: var(--ax-sh-2); }
.ax-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-verified { color: var(--ax-neon-2); font-size: 16px; }
.ax-stars { color: var(--ax-ink); font-size: 12px; letter-spacing: 1px; }
.ax-stars i { color: #E0A800; }

/* Base compact card */
.ax-mini { position: relative; background: var(--ax-surface); border: 1px solid var(--ax-line-2); border-radius: var(--ax-r-md); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color .15s, box-shadow .2s, transform .2s var(--ax-ease); }
.ax-mini:hover { border-color: var(--ax-sage-2); box-shadow: var(--ax-sh-2); transform: translateY(-2px); }
.ax-mini__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ax-pale); }
.ax-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ax-ease); }
.ax-mini:hover .ax-mini__img img { transform: scale(1.04); }
.ax-mini__bd { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.ax-mini__bd h5 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.ax-mini__meta { font-size: 12.5px; color: var(--ax-ink-2); display: flex; align-items: center; gap: 6px; min-width: 0; }
.ax-mini__meta i { font-size: 14px; color: var(--ax-muted); }
.ax-mini__ft { border-top: 1px solid var(--ax-line-2); padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-muted); }

/* Event card: logo + date column */
.ax-ev { flex-direction: row; gap: 0; }
.ax-ev__date { width: 64px; flex: none; border-right: 1px solid var(--ax-line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0; background: var(--ax-pale); }
.ax-ev__date b { font-family: var(--ax-mono); font-weight: 500; font-size: 22px; line-height: 1; }
.ax-ev__date span { font-family: var(--ax-mono); font-size: 10px; letter-spacing: .12em; color: var(--ax-ink-2); margin-top: 4px; }
.ax-ev__date small { font-family: var(--ax-mono); font-size: 9.5px; color: var(--ax-muted); margin-top: 2px; }
.ax-ev .ax-mini__bd { padding: 12px 14px; gap: 4px; }
.ax-ev__top { display: flex; gap: 10px; align-items: center; }
.ax-ev__top .ax-logo { width: 36px; height: 36px; }
.ax-ev .ax-flag--corner { top: 12px; right: 12px; }
.ax-ev h5 { padding-right: 24px; }

/* Company card (compact) */
.ax-co .ax-mini__bd { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
.ax-co__txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ax-co__txt h5 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 22px; }

/* Person card */
.ax-pe { align-items: center; text-align: center; padding: 20px 14px 14px; gap: 4px; }
.ax-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--ax-line); background: var(--ax-sage-3); flex: none; }
.ax-photo--sm { width: 40px; height: 40px; border-width: 2px; }
.ax-photo--xl { width: 148px; height: 148px; border-width: 5px; box-shadow: var(--ax-sh-2); }
.ax-pe h5 { font-size: 15px; font-weight: 600; margin-top: 8px; }
.ax-pe small { font-size: 12.5px; color: var(--ax-ink-2); }
.ax-pe .ax-chip { margin-top: 8px; height: 24px; font-size: 11px; }

/* Speaker strip card */
.ax-spk { display: flex; gap: 12px; align-items: center; padding: 12px; }
.ax-spk .ax-photo { width: 56px; height: 56px; border-width: 2px; }
.ax-spk__txt { min-width: 0; }
.ax-spk__txt b { display: block; font-size: 14.5px; font-weight: 600; }
.ax-spk__txt small { display: block; font-size: 12.5px; color: var(--ax-ink-2); }
.ax-spk__ev { font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-teal); margin-top: 4px; display: block; }

/* Influencer / creator content card */
.ax-cr__play { position: absolute; inset: 0; display: grid; place-items: center; }
.ax-cr__play span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; font-size: 18px; color: var(--ax-forest); transition: transform .2s var(--ax-ease); }
.ax-mini:hover .ax-cr__play span { transform: scale(1.1); }
.ax-cr__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(34, 46, 42, .85); color: #fff; font-family: var(--ax-mono); font-size: 10.5px; padding: 2px 6px; border-radius: 3px; }
.ax-cr__by { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ax-ink-2); margin-top: 2px; }
.ax-cr__by img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ax-cr .ax-mini__img { aspect-ratio: 4 / 5; }

/* Venue / hotel */
.ax-ve__facts { display: flex; gap: 14px; margin-top: 2px; font-family: var(--ax-mono); font-size: 11px; color: var(--ax-ink-2); }
.ax-ve__facts b { color: var(--ax-ink); font-weight: 500; }

/* Product (compact) */
.ax-pr .ax-mini__img { aspect-ratio: 1 / 1; background: #fff; }
.ax-pr .ax-mini__img img { object-fit: cover; }
.ax-pr__price { font-family: var(--ax-mono); font-size: 14px; }

/* City selector */
.ax-cities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ax-city { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ax-surface); border: 1px solid var(--ax-line-2); border-radius: var(--ax-r-md); cursor: pointer; transition: border-color .15s, background-color .15s; text-align: left; font: inherit; color: inherit; min-width: 0; }
.ax-city:hover { border-color: var(--ax-sage-2); }
.ax-city.is-active { border-color: var(--ax-forest); background: var(--ax-pale); box-shadow: inset 3px 0 0 var(--ax-neon); }
.ax-city__txt { min-width: 0; }
.ax-city__txt b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-city__txt small { font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); letter-spacing: .04em; }

/* Ranked rows (organizers, top lists) */
.ax-rank { display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ax-line-2); }
.ax-rank:last-child { border-bottom: 0; }
.ax-rank__n { font-family: var(--ax-mono); font-size: 12px; color: var(--ax-muted); }
.ax-rank__txt { min-width: 0; }
.ax-rank__txt b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ax-rank__txt small { font-size: 12.5px; color: var(--ax-ink-2); display: flex; align-items: center; gap: 6px; }
.ax-rank__val { text-align: right; font-family: var(--ax-mono); font-size: 13px; }
.ax-rank__val small { display: block; font-size: 10px; letter-spacing: .08em; color: var(--ax-muted); text-transform: uppercase; }

/* Report card */
.ax-report { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; }
.ax-report__cover { aspect-ratio: 3 / 4; border-radius: var(--ax-r-xs); background: var(--ax-forest); color: #fff; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--ax-mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; position: relative; overflow: hidden; }
.ax-report__cover b { font-size: 11px; line-height: 1.2; font-weight: 500; }
.ax-report__cover::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 26px; height: 3px; background: var(--ax-neon); }
.ax-report h5 { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* Horizontal scroller */
.ax-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.ax-scroller > * { scroll-snap-align: start; }

/* ---------- Profile pages ---------- */
.ax-cover { height: 260px; border-radius: 0 0 var(--ax-r-lg) var(--ax-r-lg); overflow: hidden; position: relative; background: var(--ax-forest); }
.ax-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ax-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(34, 46, 42, .45)); }
.ax-prof-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-top: -56px; position: relative; z-index: 2; padding: 0 8px; }
.ax-prof-head__txt { padding-bottom: 6px; min-width: 0; }
.ax-prof-head h1 { font-family: var(--ax-sans); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ax-prof-head .ax-verified { font-size: 24px; }
.ax-prof-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 10px; color: var(--ax-ink-2); font-size: 14px; }
.ax-prof-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ax-prof-meta i { color: var(--ax-muted); }
.ax-prof-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 6px; }
.ax-prof-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ax-line-2); border-radius: var(--ax-r-md); background: var(--ax-surface); margin-top: 28px; }
.ax-prof-stats > div { padding: 16px 18px; border-right: 1px solid var(--ax-line-2); }
.ax-prof-stats > div:last-child { border-right: 0; }
.ax-prof-stats b { display: block; font-family: var(--ax-mono); font-weight: 400; font-size: 24px; }
.ax-prof-stats small { font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ax-prof-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 28px; align-items: start; }
.ax-prof-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }
.ax-facts { display: grid; gap: 0; }
.ax-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--ax-line-2); font-size: 14px; }
.ax-facts > div:last-child { border-bottom: 0; }
.ax-facts dt, .ax-facts span:first-child { color: var(--ax-ink-2); }
.ax-facts b { font-weight: 500; text-align: right; }
.ax-prose { font-size: 16px; line-height: 1.7; color: var(--ax-ink); }
.ax-prose p + p { margin-top: 14px; }
.ax-timeline { list-style: none; margin: 0; padding: 0; }
.ax-timeline li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ax-line-2); }
.ax-timeline li:last-child { border-bottom: 0; }
.ax-timeline b { display: block; font-weight: 600; }
.ax-timeline small { color: var(--ax-ink-2); font-size: 13px; display: block; }
.ax-socials { display: flex; gap: 8px; }
.ax-socials a { width: 36px; height: 36px; border-radius: var(--ax-r-sm); border: 1px solid var(--ax-line); display: grid; place-items: center; font-size: 17px; transition: border-color .15s, background-color .15s; }
.ax-socials a:hover { border-color: var(--ax-forest); background: var(--ax-pale); }
.ax-map { aspect-ratio: 16 / 10; border-radius: var(--ax-r-md); background: var(--ax-pale) repeating-linear-gradient(0deg, transparent 0 23px, var(--ax-line-2) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, var(--ax-line-2) 23px 24px); position: relative; overflow: hidden; }
.ax-map::after { content: "\eae8"; font-family: "tabler-icons"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 34px; color: var(--ax-forest); }

/* ---------- Calendar ---------- */
.ax-cal { border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); overflow: hidden; background: var(--ax-surface); }
.ax-cal__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ax-line-2); }
.ax-cal__hd b { font-family: var(--ax-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.ax-cal__dow, .ax-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ax-cal__dow span { font-family: var(--ax-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ax-muted); padding: 8px 10px; background: var(--ax-pale); border-bottom: 1px solid var(--ax-line-2); }
.ax-cal__day { min-height: 92px; padding: 6px 6px 8px; border-right: 1px solid var(--ax-line-2); border-bottom: 1px solid var(--ax-line-2); display: flex; flex-direction: column; gap: 3px; cursor: pointer; transition: background-color .15s; min-width: 0; }
.ax-cal__day:nth-child(7n) { border-right: 0; }
.ax-cal__day:hover { background: var(--ax-pale); }
.ax-cal__day.is-out { color: var(--ax-muted); background: repeating-linear-gradient(45deg, transparent 0 6px, var(--ax-pale) 6px 12px); }
.ax-cal__day.is-today .ax-cal__n { background: var(--ax-forest); color: #fff; }
.ax-cal__day.is-sel { box-shadow: inset 0 0 0 2px var(--ax-neon); }
.ax-cal__n { font-family: var(--ax-mono); font-size: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.ax-cal__ev { font-size: 11px; line-height: 1.25; padding: 2px 5px; border-radius: 3px; background: var(--ax-sage-3); color: var(--ax-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 2px solid var(--ax-sage-2); }
.ax-cal__ev.is-marked { background: var(--ax-lime-pale); border-left-color: var(--ax-neon-2); font-weight: 600; }
.ax-cal__more { font-family: var(--ax-mono); font-size: 10px; color: var(--ax-muted); padding-left: 4px; }
.ax-agenda li { cursor: default; }
.ax-mark { border: 1px solid var(--ax-line); background: var(--ax-surface); width: 32px; height: 32px; border-radius: var(--ax-r-sm); display: grid; place-items: center; cursor: pointer; font-size: 16px; color: var(--ax-ink-2); transition: background-color .15s, color .15s, border-color .15s; flex: none; }
.ax-mark:hover { border-color: var(--ax-forest); }
.ax-mark.is-on { background: var(--ax-neon); border-color: var(--ax-neon); color: var(--ax-forest); }
.ax-mark .ti-star-filled { display: none; }
.ax-mark.is-on .ti-star { display: none; }
.ax-mark.is-on .ti-star-filled { display: inline; }

/* ---------- Directory (one-page listing) ---------- */
.ax-dir-hero { background: var(--ax-surface); border-bottom: 1px solid var(--ax-line); padding: 36px 0 0; }
.ax-dir-search { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; border: 1px solid var(--ax-ink-2); border-radius: var(--ax-r-sm); overflow: hidden; background: #fff; margin-top: 22px; max-width: 900px; }
.ax-dir-search label { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; color: var(--ax-muted); min-width: 0; }
.ax-dir-search label + label { border-left: 1px solid var(--ax-line); }
.ax-dir-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; font-size: 15px; color: #1A1F1D; background: transparent; }
.ax-dir-search .ax-btn { height: 52px; border-radius: 0; }
.ax-dir-sections { display: flex; gap: 0; margin-top: 28px; overflow-x: auto; scrollbar-width: none; }
.ax-dir-sec { flex: none; padding: 14px 20px 12px; border: 0; background: transparent; cursor: pointer; text-align: left; font: inherit; color: var(--ax-ink-2); position: relative; border-right: 1px solid var(--ax-line-2); }
.ax-dir-sec:first-child { padding-left: 0; }
.ax-dir-sec b { display: block; font-size: 15px; font-weight: 600; color: var(--ax-ink); }
.ax-dir-sec small { font-family: var(--ax-mono); font-size: 11px; color: var(--ax-muted); }
.ax-dir-sec.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ax-neon); }
.ax-dir-sec:first-child.is-active::after { right: 20px; }
.ax-dir { display: grid; grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 24px; margin-top: 24px; align-items: start; }
.ax-rail { position: sticky; top: 130px; display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin; }
.ax-rail__box { background: var(--ax-surface); border: 1px solid var(--ax-line-2); border-radius: var(--ax-r-md); padding: 14px; }
.ax-rail__box h6 { margin: 0 0 10px; font-family: var(--ax-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ax-ink); display: flex; justify-content: space-between; }
.ax-rail__list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.ax-rail__list a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: var(--ax-r-xs); font-size: 13.5px; color: var(--ax-ink-2); transition: background-color .15s, color .15s; }
.ax-rail__list a:hover { background: var(--ax-pale); color: var(--ax-ink); }
.ax-rail__list a.is-active { background: var(--ax-forest); color: #fff; }
.ax-rail__list a.is-active small { color: var(--ax-on-dark-2); }
.ax-rail__list small { font-family: var(--ax-mono); font-size: 11px; color: var(--ax-muted); }
.ax-rail__filter { width: 100%; height: 34px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-sm); padding: 0 10px; font: inherit; font-size: 13px; margin-bottom: 8px; background: var(--ax-surface); color: var(--ax-ink); outline: 0; }
.ax-rail__filter:focus { border-color: var(--ax-neon); }
.ax-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--ax-line); margin-bottom: 4px; }
.ax-biz { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--ax-line-2); align-items: start; transition: background-color .15s; }
.ax-biz:hover { background: var(--ax-surface); }
.ax-biz .ax-logo { width: 52px; height: 52px; }
.ax-biz h3 { font-family: var(--ax-sans); font-size: 17px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ax-biz__cat { font-family: var(--ax-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ax-teal); margin-top: 3px; }
.ax-biz__info { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 13.5px; color: var(--ax-ink-2); }
.ax-biz__info span, .ax-biz__info a { display: inline-flex; align-items: center; gap: 6px; }
.ax-biz__info i { color: var(--ax-muted); font-size: 15px; }
.ax-biz__info a:hover { color: var(--ax-teal); }
.ax-biz__act { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ax-biz__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.ax-biz__rating b { font-family: var(--ax-mono); font-weight: 500; }
.ax-biz__rating small { color: var(--ax-muted); }
.ax-biz.is-hidden { display: none; }
.ax-az { display: flex; flex-wrap: wrap; gap: 4px; }
.ax-az button { width: 28px; height: 28px; border: 1px solid var(--ax-line-2); background: var(--ax-surface); border-radius: var(--ax-r-xs); font-family: var(--ax-mono); font-size: 11.5px; cursor: pointer; color: var(--ax-ink-2); transition: background-color .15s, color .15s; }
.ax-az button:hover { border-color: var(--ax-forest); }
.ax-az button.is-active { background: var(--ax-forest); color: #fff; border-color: var(--ax-forest); }
.ax-pager { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.ax-pager a { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-xs); display: grid; place-items: center; font-family: var(--ax-mono); font-size: 12px; }
.ax-pager a.is-active { background: var(--ax-forest); color: #fff; border-color: var(--ax-forest); }
.ax-pager a:hover:not(.is-active) { border-color: var(--ax-forest); }
.ax-states { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--ax-line-2); border: 1px solid var(--ax-line-2); border-radius: var(--ax-r-md); overflow: hidden; }
.ax-states a { background: var(--ax-surface); padding: 12px 14px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; transition: background-color .15s; }
.ax-states a:hover { background: var(--ax-pale); }
.ax-states small { font-family: var(--ax-mono); font-size: 11px; color: var(--ax-muted); }

@media (max-width: 1400px) { .ax-dir { grid-template-columns: 250px minmax(0, 1fr); } .ax-dir__aside { display: none; } .ax-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .ax-prof-body { grid-template-columns: 1fr; } .ax-prof-side { position: static; } .ax-states { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .ax-dir { grid-template-columns: 1fr; } .ax-rail { position: static; max-height: none; } .ax-prof-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ax-prof-stats > div:nth-child(3) { border-right: 0; } .ax-prof-stats > div:nth-child(-n+3) { border-bottom: 1px solid var(--ax-line-2); } .ax-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ax-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-prof-head { grid-template-columns: 1fr; margin-top: -48px; gap: 12px; }
  .ax-logo--xl, .ax-photo--xl { width: 96px; height: 96px; }
  .ax-cover { height: 170px; }
  .ax-prof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-prof-stats > div { border-right: 0 !important; border-bottom: 1px solid var(--ax-line-2); }
  .ax-dir-search { grid-template-columns: 1fr; }
  .ax-dir-search label + label { border-left: 0; border-top: 1px solid var(--ax-line); }
  .ax-biz { grid-template-columns: 44px minmax(0, 1fr); }
  .ax-biz .ax-logo { width: 44px; height: 44px; }
  .ax-biz__act { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .ax-states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-cal__day { min-height: 56px; padding: 4px; }
  .ax-cal__ev { font-size: 0; height: 6px; padding: 0; border-radius: 3px; border-left: 0; }
  .ax-cal__more { display: none; }
  .ax-rank { grid-template-columns: 22px 40px minmax(0, 1fr) auto; gap: 10px; }
}
.ax-mini img.ax-flag, .ax-mini__img img.ax-flag { width: 20px; height: 14px; transform: none; object-fit: cover; }
.ax-mini.ax-spk { flex-direction: row; }
.ax-mini.ax-co .ax-mini__bd { flex-direction: row; }
[data-testid="city-results"] { align-items: start; }
.ax img.ax-flag { display: inline-block; }
.ax img.ax-flag--corner { position: absolute; }
.ax-prof-head { align-items: start; }
.ax-prof-head__txt, .ax-prof-actions { margin-top: 68px; }
@media (max-width: 720px) { .ax-prof-head__txt, .ax-prof-actions { margin-top: 0; } }
@media (max-width: 1024px) { .ax-dir .ax-rail { order: 2; } .ax-rail__list { max-height: 180px; } }
.ax-section[id], [id].ax-section { scroll-margin-top: 80px; }
.ax-masthead ~ * .ax-section[id] { scroll-margin-top: 130px; }
.ax-btn.is-following { background: var(--ax-pale); }
@media (max-width: 1400px) { .ax .ax-dir__aside { display: grid; grid-column: 1 / -1; position: static !important; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .ax-dir > [data-testid="dir-results"] { order: -1; } }
@media (max-width: 720px) { .ax .ax-dir__aside { grid-template-columns: 1fr; } }
@media (max-width: 1400px) { .ax-dir .ax-rail { position: static; max-height: none; } }
.ax-footer a.ax-brand { display: flex; }

/* =========================================================
   Orbit — chat · estimate · invoice workspace
   ========================================================= */
.ob-app { display: grid; grid-template-columns: 300px minmax(0, 1fr) 400px; height: calc(100vh - var(--ax-top-h)); background: var(--ax-canvas); }
.ob-col { min-height: 0; display: flex; flex-direction: column; background: var(--ax-surface); }
.ob-list { border-right: 1px solid var(--ax-line-2); }
.ob-side { border-left: 1px solid var(--ax-line-2); }
.ob-col__hd { padding: 14px 16px; border-bottom: 1px solid var(--ax-line-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ob-col__hd .ax-h3 { font-size: 14px; }
.ob-scroll { flex: 1; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.ob-conv { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ax-line-2); cursor: pointer; transition: background-color .15s; position: relative; }
.ob-conv:hover { background: var(--ax-pale); }
.ob-conv.is-active { background: var(--ax-pale); }
.ob-conv.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ax-neon); }
.ob-conv b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-conv small { display: block; font-size: 12.5px; color: var(--ax-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-conv__meta { text-align: right; font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ob-unread { min-width: 18px; height: 18px; border-radius: 99px; background: var(--ax-neon); color: var(--ax-forest); display: grid; place-items: center; font-size: 10px; padding: 0 5px; }

.ob-thread { background: var(--ax-canvas); }
.ob-thread__hd { background: var(--ax-surface); }
.ob-msgs { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.ob-day { align-self: center; font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); }
.ob-msg { display: flex; gap: 10px; max-width: 78%; animation: ax-rise .3s var(--ax-ease); }
.ob-msg.is-me { align-self: flex-end; flex-direction: row-reverse; }
.ob-msg .ax-avatar { width: 32px; height: 32px; font-size: 11px; }
.ob-bubble { background: var(--ax-surface); border: 1px solid var(--ax-line-2); border-radius: 14px 14px 14px 4px; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; }
.ob-msg.is-me .ob-bubble { background: var(--ax-forest); color: #fff; border-color: var(--ax-forest); border-radius: 14px 14px 4px 14px; }
.ob-msg__time { font-family: var(--ax-mono); font-size: 10px; color: var(--ax-muted); margin-top: 4px; display: block; }
.ob-msg.is-me .ob-msg__time { text-align: right; }
.ob-tag { display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; border-radius: 4px; font-weight: 600; font-size: 13.5px; background: var(--ax-lime-pale); color: var(--ax-forest); }
.ob-msg.is-me .ob-tag { background: rgba(0, 236, 108, .2); color: var(--ax-neon); }
.ob-attach { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* Item & price cards */
.ob-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); background: var(--ax-surface); color: var(--ax-ink); min-width: 280px; }
.ob-item img { width: 56px; height: 56px; border-radius: var(--ax-r-sm); object-fit: cover; background: var(--ax-pale); }
.ob-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ob-item small { display: block; font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); letter-spacing: .04em; }
.ob-price { text-align: right; }
.ob-price b { font-family: var(--ax-mono); font-weight: 500; font-size: 15px; }
.ob-price small { text-transform: uppercase; }
.ob-doc { border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); overflow: hidden; background: var(--ax-surface); color: var(--ax-ink); min-width: 320px; }
.ob-doc__hd { background: var(--ax-pale); padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--ax-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--ax-line-2); }
.ob-doc--invoice .ob-doc__hd { background: var(--ax-forest); color: #fff; }
.ob-doc__bd { padding: 10px 14px; font-size: 13.5px; }
.ob-doc__row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ob-doc__row span:first-child { color: var(--ax-ink-2); }
.ob-doc__total { border-top: 1px solid var(--ax-line-2); margin-top: 6px; padding-top: 8px; font-weight: 700; }
.ob-doc__total span:last-child { font-family: var(--ax-mono); font-weight: 500; font-size: 16px; }
.ob-doc__ft { padding: 10px 14px; border-top: 1px solid var(--ax-line-2); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Composer + mention popover */
.ob-composer { position: relative; background: var(--ax-surface); border-top: 1px solid var(--ax-line-2); padding: 12px 16px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ob-chips:empty { display: none; }
.ob-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 6px 0 10px; border-radius: 999px; background: var(--ax-pale-2); font-size: 12.5px; }
.ob-chip i.x { cursor: pointer; font-size: 14px; color: var(--ax-muted); }
.ob-chip i.x:hover { color: var(--ax-orange); }
.ob-input-row { display: flex; gap: 8px; align-items: flex-end; }
.ob-input { flex: 1; min-height: 44px; max-height: 140px; resize: none; border: 1px solid var(--ax-ink-2); border-radius: var(--ax-r-sm); padding: 11px 12px; font: inherit; font-size: 14.5px; background: var(--ax-surface); color: var(--ax-ink); outline: 0; }
.ob-input:focus { border-color: var(--ax-neon); box-shadow: 0 0 0 3px rgba(0, 236, 108, .25); }
.ob-hint { font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); margin-top: 6px; letter-spacing: .04em; }
.ob-hint kbd { font-family: inherit; border: 1px solid var(--ax-line); border-radius: 3px; padding: 0 4px; }
.ob-pop { position: absolute; left: 16px; right: 16px; bottom: calc(100% - 6px); max-height: 340px; overflow-y: auto; background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: var(--ax-r-md); box-shadow: var(--ax-sh-3); display: none; z-index: 20; }
.ob-pop.is-open { display: block; animation: ax-rise .18s var(--ax-ease); }
.ob-pop__grp { font-family: var(--ax-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ax-muted); padding: 10px 12px 4px; position: sticky; top: 0; background: var(--ax-surface); }
.ob-opt { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 12px; cursor: pointer; }
.ob-opt.is-hl { background: var(--ax-pale); box-shadow: inset 3px 0 0 var(--ax-neon); }
.ob-opt img, .ob-opt .ax-logo { width: 36px; height: 36px; border-radius: var(--ax-r-sm); object-fit: cover; font-size: 11px; }
.ob-opt img.round { border-radius: 50%; }
.ob-opt b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-opt small { display: block; font-size: 12px; color: var(--ax-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-opt__r { font-family: var(--ax-mono); font-size: 12px; text-align: right; }
.ob-opt__r small { font-size: 10px; color: var(--ax-muted); }
.ob-pop__empty { padding: 16px; font-size: 13px; color: var(--ax-muted); }

/* Estimate panel */
.ob-steps { display: flex; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--ax-line-2); }
.ob-step { flex: 1; text-align: center; font-family: var(--ax-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-muted); padding-top: 8px; border-top: 3px solid var(--ax-line-2); }
.ob-step.is-done { color: var(--ax-ink); border-top-color: var(--ax-forest); }
.ob-step.is-now { color: var(--ax-ink); border-top-color: var(--ax-neon); }
.ob-sec { padding: 14px 16px; border-bottom: 1px solid var(--ax-line-2); }
.ob-sec h6 { margin: 0 0 8px; font-family: var(--ax-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ax-ink-2); display: flex; justify-content: space-between; }
.ob-slot { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px dashed var(--ax-line); border-radius: var(--ax-r-sm); font-size: 13.5px; color: var(--ax-muted); min-height: 46px; }
.ob-slot.is-set { border-style: solid; color: var(--ax-ink); background: var(--ax-pale); }
.ob-slot b { display: block; font-weight: 600; font-size: 13.5px; }
.ob-slot small { display: block; font-size: 12px; color: var(--ax-ink-2); }
.ob-slot .ax-logo, .ob-slot img { width: 30px; height: 30px; font-size: 10px; border-radius: var(--ax-r-xs); object-fit: cover; }
.ob-line { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ax-line-2); font-size: 13.5px; }
.ob-line:last-child { border-bottom: 0; }
.ob-line img { width: 40px; height: 40px; border-radius: var(--ax-r-xs); object-fit: cover; }
.ob-line b { display: block; font-weight: 600; font-size: 13px; line-height: 1.25; }
.ob-line small { font-family: var(--ax-mono); font-size: 10.5px; color: var(--ax-muted); }
.ob-qty { display: inline-flex; align-items: center; border: 1px solid var(--ax-line); border-radius: var(--ax-r-xs); }
.ob-qty button { width: 24px; height: 26px; border: 0; background: transparent; cursor: pointer; color: var(--ax-ink); font-size: 14px; }
.ob-qty span { min-width: 26px; text-align: center; font-family: var(--ax-mono); font-size: 12px; }
.ob-line__amt { font-family: var(--ax-mono); font-size: 13px; min-width: 70px; text-align: right; }
.ob-totals .ob-doc__row { font-size: 13.5px; }
.ob-totals input { width: 64px; height: 28px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-xs); padding: 0 6px; font-family: var(--ax-mono); font-size: 12px; text-align: right; background: var(--ax-surface); color: var(--ax-ink); }
.ob-side__ft { padding: 12px 16px; border-top: 1px solid var(--ax-line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--ax-surface); }
.ob-mobile-tabs { display: none; }

@media (max-width: 1280px) { .ob-app { grid-template-columns: 260px minmax(0, 1fr) 340px; } }
@media (max-width: 1024px) {
  .ob-app { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - var(--ax-top-h)); }
  .ob-mobile-tabs { display: flex; position: sticky; top: var(--ax-top-h); z-index: 10; background: var(--ax-surface); border-bottom: 1px solid var(--ax-line); }
  .ob-mobile-tabs button { flex: 1; height: 44px; border: 0; background: transparent; font-family: var(--ax-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ax-ink-2); cursor: pointer; }
  .ob-mobile-tabs button.is-active { color: var(--ax-ink); box-shadow: inset 0 -3px 0 var(--ax-neon); }
  .ob-col { display: none; height: calc(100vh - var(--ax-top-h) - 44px); }
  .ob-col.is-mob { display: flex; }
  .ob-msg { max-width: 92%; }
  .ob-item, .ob-doc { min-width: 0; }
}

/* Include / exclude keyword filter */
.ax-kw__modes { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ax-line); border-radius: var(--ax-r-xs); overflow: hidden; margin-bottom: 8px; }
.ax-kw__modes button { height: 30px; border: 0; background: var(--ax-surface); font-family: var(--ax-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ax-ink-2); cursor: pointer; }
.ax-kw__modes button + button { border-left: 1px solid var(--ax-line); }
.ax-kw__modes button.is-active[data-kw-mode="inc"] { background: var(--ax-neon); color: var(--ax-forest); }
.ax-kw__modes button.is-active[data-kw-mode="exc"] { background: var(--ax-forest); color: #fff; }
.ax-kw__row { display: flex; gap: 6px; }
.ax-kw__row input { flex: 1; min-width: 0; }
.ax-kw__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ax-kw__chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 4px 0 8px; border-radius: 4px; font-size: 12px; font-weight: 500; cursor: default; }
.ax-kw__chip.inc { background: var(--ax-lime-pale); color: var(--ax-forest); }
.ax-kw__chip.exc { background: rgba(252, 60, 0, .1); color: var(--ax-orange); text-decoration: line-through; text-decoration-thickness: 1px; }
.ax-kw__chip i { cursor: pointer; font-size: 13px; text-decoration: none; }

@media (max-width: 1024px) { .ob-app { grid-template-columns: minmax(0, 1fr); } .ob-col { min-width: 0; } .ob-hint { white-space: normal; } .ob-input-row .ax-btn--icon { display: none; } #ob-send { padding: 0 12px; } }
