/* ============================================================
   Atlas|MPS public site (2026-11-07)
   Modeled on the signed-in Command Center (assets/css/components/atlas-overview.css,
   platform-skin.css): the dark band with faint particles, white 12px cards with
   hairlines, module marks and washes, underlined tabs, live pills and KPI grids.
   Type matches the sign-in pages: Libre Caslon Display headlines at 400, the app's system font
   (San Francisco on Apple devices, Inter elsewhere) for everything else. Mobile first: phones get swipe rows.
   Every rule is scoped to body.as, so the legacy pages (support, tutorials) that
   still load style.css are untouched.
   ============================================================ */

:root {
  --as-linen: #F2F0EE;
  --as-card: #FFFFFF;
  --as-ink: #26221E;
  --as-ink-2: #5B544E;
  --as-ink-3: #6E6660;
  --as-mute: #8A827A;
  --as-sep: rgba(40, 35, 32, 0.12);
  --as-sep-soft: rgba(40, 35, 32, 0.08);
  --as-sep-strong: rgba(40, 35, 32, 0.2);
  --as-fill: rgba(40, 35, 32, 0.06);
  --as-fill-2: rgba(40, 35, 32, 0.04);
  --as-green: #1E7B45;
  --as-green-tint: rgba(36, 160, 84, 0.12);
  --as-amber: #9A5600;
  --as-amber-dot: #B7791F;
  --as-amber-tint: rgba(232, 146, 12, 0.15);
  --as-red: #9C2F25;
  --as-red-tint: rgba(184, 58, 46, 0.12);
  --as-copper: #A0613D;
  --as-copper-ink: #8A4F2E;
  --as-copper-light: #E2B48F;
  --as-sand: #EFE6DB;
  --as-sage: #5E6E54;
  --as-sage-light: #7A8C6E;
  --as-plum: #6E5664;
  --as-olive: #625C40;
  --as-band: linear-gradient(135deg, #463C37 0%, #3A322E 30%, #282320 65%, #110E0D 100%);
  --as-foot: #110E0D;
  --as-elev-1: 0 1px 2px rgba(23, 20, 18, 0.04), 0 1px 3px rgba(23, 20, 18, 0.03);
  --as-elev-2: 0 1px 2px rgba(23, 20, 18, 0.05), 0 8px 24px -12px rgba(23, 20, 18, 0.16);
  --as-elev-3: 0 2px 6px rgba(23, 20, 18, 0.06), 0 16px 40px -12px rgba(23, 20, 18, 0.28);
  --as-elev-4: 0 4px 12px rgba(23, 20, 18, 0.08), 0 32px 80px -20px rgba(23, 20, 18, 0.4);
  --as-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --as-display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --as-wrap: 1200px;
  --as-gutter: 24px;
}

body.as {
  margin: 0;
  background: var(--as-linen);
  color: var(--as-ink);
  font-family: var(--as-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.as *, body.as *::before, body.as *::after { box-sizing: border-box; }
body.as img { max-width: 100%; height: auto; }
body.as a { color: inherit; }
body.as :focus-visible { outline: 2px solid #1D5FB8; outline-offset: 2px; border-radius: 4px; }
body.as .as-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; color: var(--as-ink); font-weight: 600; text-decoration: none; }
body.as .as-skip:focus { left: 16px; }

.as .as-wrap { width: 100%; max-width: calc(var(--as-wrap) + var(--as-gutter) * 2); margin-inline: auto; padding-inline: var(--as-gutter); }
.as main { display: block; }

/* ── Type ── */
.as .as-display, .as .as-h1, .as .as-h2, .as .as-h3 { font-family: var(--as-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.as .as-h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; }
.as .as-h1--md { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.04; }
.as .as-h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.05; }
.as .as-h2--sm { font-size: clamp(30px, 3.7vw, 50px); }
.as .as-h2--xs { font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; }
.as .as-h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.as .as-lead { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--as-ink-2); max-width: 600px; }
.as .as-body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--as-ink-2); }
.as .as-small { font-size: 13px; color: var(--as-ink-3); }
.as .as-link { font-size: 15px; font-weight: 700; color: var(--as-copper-ink); text-underline-offset: 4px; }
.as .as-link:hover { color: var(--as-ink); }
.as .as-num { font-variant-numeric: tabular-nums; }

/* ── Buttons (pills, as in the app) ── */
.as .as-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s; }
.as .as-btn:active { transform: translateY(1px); }
.as .as-btn--light { background: #FFFFFF; color: var(--as-ink); }
.as .as-btn--light:hover { background: #F2EDE7; color: var(--as-ink); }
.as .as-btn--ghost { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #FFFFFF; }
.as .as-btn--ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.3); color: #FFFFFF; }
.as .as-btn--dark { background: var(--as-ink); color: #FFFFFF; }
.as .as-btn--dark:hover { background: #3A322E; color: #FFFFFF; }
.as .as-btn--outline { background: #FFFFFF; border-color: rgba(40, 35, 32, 0.16); color: var(--as-ink); }
.as .as-btn--outline:hover { border-color: var(--as-ink); color: var(--as-ink); }
.as .as-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.as .as-btn--block { width: 100%; }
.as .as-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Small action pills inside cards (.ao-action) */
.as .as-action { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(40, 35, 32, 0.14); background: #FFFFFF; color: var(--as-ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color 0.15s, background-color 0.15s; }
.as a.as-action:hover { border-color: var(--as-ink); background: var(--as-fill-2); }
.as .as-action--dark { background: var(--as-ink); border-color: var(--as-ink); color: #FFFFFF; }
.as a.as-action--dark:hover { background: #3A322E; color: #FFFFFF; }
.as .as-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Navigation: a full-width bar on the dark band, content held to the page width, a hairline underneath.
   An underline slides along that hairline to the link you point at and rests on the current page;
   Modules opens a panel of the modules; on scroll the bar pins, dark and frosted. Phones get a sheet. ── */
.as .as-nav { position: absolute; inset: 0 0 auto 0; z-index: 30; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.as .as-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(26, 22, 20, 0.88); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); transition: opacity 0.25s; }
.as .as-nav__inner { position: relative; display: flex; align-items: center; gap: 24px; height: 68px; }
.as .as-nav__brand { display: inline-flex; align-items: center; color: #FFFFFF; text-decoration: none; flex: none; padding: 8px 0; }
.as .as-nav__brand img { display: block; height: 30px; width: auto; }
.as .as-nav__links { position: relative; display: flex; align-self: stretch; gap: 4px; margin: 0 auto; }
.as .as-nav__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; border: 0; background: none; color: rgba(255, 255, 255, 0.72); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: color 0.15s; }
.as .as-nav__link:hover, .as .as-nav__link[aria-expanded="true"] { color: #FFFFFF; }
.as .as-nav__link[aria-current="page"], .as .as-nav__link[data-active] { color: #FFFFFF; }
.as .as-nav__link svg { transition: transform 0.2s; }
/* Features (2026-11-13) joins the bar only where it fits: under 1180px it pushed Schedule a demo off the edge. It stays in
   the Modules menu, the phone sheet, the footer and on Platform. */
.as .as-nav__link--wide { display: none; }
@media (min-width: 1180px) { .as .as-nav__link--wide { display: inline-flex; } }
.as .as-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.as .as-nav__glider { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; border-radius: 2px; background: #FFFFFF; opacity: 0; pointer-events: none; transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.2, 1), width 0.25s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.2s; }
.as .as-nav__end { display: flex; align-items: center; gap: 8px; flex: none; }
.as .as-nav__signin { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color 0.15s; }
.as .as-nav__signin:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.as .as-nav__toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.1); color: #FFFFFF; align-items: center; justify-content: center; cursor: pointer; }

/* Modules panel */
.as .as-mega { position: absolute; left: 50%; top: calc(100% + 8px); z-index: 31; width: min(880px, calc(100vw - 32px)); transform: translateX(-50%); padding: 10px; border-radius: 22px; background: #1E1A17; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.7); color: #FFFFFF; }
.as .as-mega[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-mega { transition: opacity 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @starting-style { .as .as-mega:not([hidden]) { opacity: 0; transform: translate(-50%, -6px); } }
}
.as .as-mega__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 8px; }
.as .as-mega__mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.as .as-mega__mod { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; color: #FFFFFF; text-decoration: none; transition: background-color 0.15s; }
.as .as-mega__mod:hover, .as .as-mega__mod:focus-visible { background: rgba(255, 255, 255, 0.07); color: #FFFFFF; }
.as .as-mega__mod b { display: block; font-size: 15px; }
.as .as-mega__mod small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }
.as .as-mega__feature { display: grid; }
.as .as-peek { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, var(--peek-a), var(--peek-b)); color: #FFFFFF; text-decoration: none; transition: filter 0.15s; }
.as .as-peek[hidden] { display: flex; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-peek { transition: filter 0.15s, opacity 0.18s ease-out; }
  @starting-style { .as .as-peek:not([hidden]) { opacity: 0; } }
}
.as .as-peek:hover { filter: brightness(1.1); color: #FFFFFF; }
.as .as-peek--cd { --peek-a: rgba(160, 97, 61, 0.34); --peek-b: rgba(160, 97, 61, 0.1); }
.as .as-peek--cm { --peek-a: rgba(94, 110, 84, 0.42); --peek-b: rgba(94, 110, 84, 0.12); }
.as .as-peek--sd { --peek-a: rgba(110, 86, 100, 0.45); --peek-b: rgba(110, 86, 100, 0.12); }
.as .as-peek--lo { --peek-a: rgba(98, 92, 64, 0.5); --peek-b: rgba(98, 92, 64, 0.14); }
.as .as-peek > b { margin-top: auto; padding-top: 10px; font-family: var(--as-display); font-weight: 400; font-size: 23px; line-height: 1.12; }
.as .as-peek > small { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
.as .as-peek__ui { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; }
.as .as-peek__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 4px 6px; }
.as .as-peek__top b { font-size: 13px; }
.as .as-peek__top > span:not(.as-peek__pill) { color: rgba(255, 255, 255, 0.6); }
.as .as-peek__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); white-space: nowrap; }
.as .as-peek__row > span { overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, 0.86); }
.as .as-peek__row > span b { margin-right: 6px; color: #FFFFFF; }
.as .as-peek__row i, .as .as-peek__pill { flex: none; font-style: normal; font-weight: 600; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.82); }
.as .as-peek__pill--ok, .as .as-peek__row i.as-peek__pill--ok { background: rgba(76, 208, 125, 0.16); color: #8FE3AE; }
.as .as-peek__row i.as-peek__pill--due { background: rgba(232, 108, 92, 0.18); color: #F4A497; }
.as .as-peek__steps { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; }
.as .as-peek__steps li { position: relative; display: flex; flex-direction: column; padding: 0 0 8px 18px; border-left: 1px solid rgba(255, 255, 255, 0.18); margin-left: 4px; }
.as .as-peek__steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.as .as-peek__steps li::before { content: ''; position: absolute; left: -5px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #E2B48F; }
.as .as-peek__steps li.is-now::before { background: #4CD07D; box-shadow: 0 0 0 3px rgba(76, 208, 125, 0.22); }
.as .as-peek__steps b { font-size: 12px; line-height: 1.2; }
.as .as-peek__steps span { color: rgba(255, 255, 255, 0.6); }
.as .as-mega__foot { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.as .as-mega__foot a { padding: 8px 12px; border-radius: 999px; color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 600; text-decoration: none; }
.as .as-mega__foot a:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.as .as-mega--intg { width: min(760px, calc(100vw - 32px)); }
.as .as-mega--intg .as-mega__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.as .as-intg { display: flex; flex-direction: column; gap: 4px; }
.as .as-intg__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: #FFFFFF; text-decoration: none; transition: background-color 0.15s; }
.as a.as-intg__row:hover, .as a.as-intg__row:focus-visible { background: rgba(255, 255, 255, 0.07); color: #FFFFFF; }
.as .as-intg__mark { display: block; flex: none; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #FFFFFF; }
.as .as-intg__text { flex: 1; min-width: 0; }
.as .as-intg__text b { display: block; font-size: 15px; }
.as .as-intg__text small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.62); }
.as .as-intg__row em { flex: none; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); white-space: nowrap; }
.as .as-intg__row em.as-intg__live { background: rgba(76, 208, 125, 0.16); color: #8FE3AE; }
.as .as-intg__row--soon .as-intg__text { opacity: 0.7; }
.as .as-intg__row--soon .as-intg__mark { opacity: 0.85; }

/* Phone sheet */
.as .as-sheet { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 22px; padding: 14px var(--as-gutter) calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--as-band); color: #FFFFFF; overflow-y: auto; }
.as .as-sheet[hidden] { display: none; }
.as .as-sheet__head { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 4px 0 12px; }
.as .as-sheet__head img { display: block; height: 28px; width: auto; }
.as .as-sheet__mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.as .as-sheet__mod { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #FFFFFF; text-decoration: none; }
.as .as-sheet__mod b { font-size: 15px; }
.as .as-sheet__mod small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, 0.62); }
.as .as-sheet__links { display: flex; flex-direction: column; }
.as .as-sheet__links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #FFFFFF; font-family: var(--as-display); font-size: 30px; line-height: 1.1; text-decoration: none; }
.as .as-sheet__links a[aria-current="page"] { color: var(--as-copper-light); }
.as .as-sheet__cta { display: flex; gap: 8px; margin-top: auto; }
.as .as-sheet__cta .as-btn { flex: 1; min-height: 50px; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-sheet:not([hidden]) > * { animation: as-enter 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .as .as-sheet:not([hidden]) > :nth-child(2) { animation-delay: 0.05s; }
  .as .as-sheet:not([hidden]) > :nth-child(3) { animation-delay: 0.1s; }
  .as .as-sheet:not([hidden]) > :nth-child(4) { animation-delay: 0.15s; }
}
body.as.as-menu-open { overflow: hidden; }
body.as [id] { scroll-margin-top: 92px; }
@media (max-height: 760px) {
  .as .as-sheet { gap: 14px; }
  .as .as-sheet__mod { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
  .as .as-sheet__mod small { display: none; }
  .as .as-sheet__links a { padding: 10px 4px; font-size: 24px; }
}

@media (max-width: 960px) {
  .as .as-nav__inner { gap: 8px; height: 60px; }
  .as .as-nav__links, .as .as-nav__signin, .as .as-mega { display: none !important; }
  .as .as-nav__end { margin-left: auto; }
  .as .as-nav__toggle { display: inline-flex; }
}

/* ── The band (Command Center hero) ── */
.as .as-hero { position: relative; color: #FFFFFF; padding-top: 96px; }
.as .as-hero__band { position: absolute; inset: 0 0 auto 0; height: calc(100% - var(--as-overlap, 0px)); overflow: hidden; background: var(--as-band); z-index: 0; }
.as .as-hero__band::before, .as .as-hero__band::after, .as .as-close::before { content: ''; position: absolute; pointer-events: none; border-radius: 50%; }
.as .as-hero__band::before { top: -200px; right: -120px; width: 640px; height: 640px; background: radial-gradient(circle, var(--as-glow-1, rgba(70, 60, 55, 0.5)) 0%, transparent 65%); }
.as .as-hero__band::after { bottom: -260px; left: 0; width: 560px; height: 560px; background: radial-gradient(circle, var(--as-glow-2, rgba(160, 97, 61, 0.24)) 0%, transparent 70%); }
.as .as-hero__band canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; pointer-events: none; }
.as .as-hero > *:not(.as-hero__band) { position: relative; z-index: 1; }
.as .as-hero--cm { --as-glow-1: rgba(122, 140, 110, 0.26); --as-glow-2: rgba(160, 97, 61, 0.2); }
.as .as-hero--cd { --as-glow-1: rgba(160, 97, 61, 0.3); }
.as .as-hero__main { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 44px; }
.as .as-hero__copy { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.as .as-hero__copy .as-lead { color: rgba(255, 255, 255, 0.72); }
.as .as-hero__copy .as-btns { padding-top: 8px; }
.as .as-hero__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; max-width: 380px; flex: none; }
.as .as-hero__module { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.as .as-hero__module small { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.62); }
.as .as-hero__stage { padding-top: 44px; padding-bottom: 0; }
.as .as-hero--plain { padding-bottom: 96px; }
.as .as-hero--tall { padding-bottom: 0; min-height: 980px; }

.as .as-hpill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.as .as-hpill i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); flex: none; }
.as .as-hpill i.ok { background: #4CD07D; box-shadow: 0 0 0 3px rgba(76, 208, 125, 0.22); }
.as .as-hpill i.cu { background: var(--as-copper-light); }
.as .as-clock { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 6px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.as .as-clock small { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.62); }
.as .as-kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 11px; }

/* The big arc across the Care Continuum hero */
.as .as-hero__arc { display: block; width: 100%; height: auto; max-height: 380px; margin-top: 28px; padding-bottom: 32px; }
.as .as-arc-key { display: none; }

/* ── Sections ── */
.as .as-sec { padding-block: 80px; }
.as .as-sec--tight { padding-block: 64px; }
.as .as-sec--top0 { padding-top: 0; }
.as .as-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 32px; }
.as .as-sec__head > .as-h2 { max-width: 820px; }
.as .as-sec__aside { max-width: 380px; display: flex; flex-direction: column; gap: 14px; flex: none; }
.as .as-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.as .as-split--rev { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.as .as-split--top { align-items: start; }
.as .as-split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.as .as-split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.as .as-split__copy { display: flex; flex-direction: column; gap: 20px; }

.as .as-grid { display: grid; gap: 14px; }
.as .as-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.as .as-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as .as-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.as .as-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.as .as-grid--tight { gap: 14px; }
.as .as-span-2 { grid-column: span 2; }

.as .as-show-sm { display: none; }
.as .as-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.as .as-checks li { display: flex; gap: 12px; align-items: flex-start; }
.as .as-checks svg { flex: none; margin-top: 2px; }

/* ── Cards (.ao-card) ── */
.as .as-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px 16px; border-radius: 12px; background: var(--as-card); border: 1px solid var(--as-sep); box-shadow: var(--as-elev-1); color: var(--as-ink); }
.as .as-card--pad { padding: 24px 28px; }
.as .as-card--raise { box-shadow: var(--as-elev-3); }
.as .as-card--lift { box-shadow: var(--as-elev-4); }
.as .as-card--dark { background: var(--as-ink); border-color: var(--as-ink); color: #FFFFFF; }
.as .as-card--dark .as-card__text { color: #D9CFC4; }
.as .as-card--later { background: transparent; box-shadow: none; border-style: dashed; border-color: rgba(40, 35, 32, 0.24); }
.as .as-card--cd { background: linear-gradient(180deg, #F8F4F1 0, #FFFFFF 190px); border-color: #E6D6CA; }
.as .as-card--cm { background: linear-gradient(180deg, #F6F7F5 0, #FFFFFF 190px); border-color: #DCE0D8; }
.as .as-card--sd { background: linear-gradient(180deg, #F7F5F6 0, #FFFFFF 190px); border-color: #E2DAE0; }
.as .as-card--lo { background: linear-gradient(180deg, #F7F6F3 0, #FFFFFF 190px); border-color: #E0DDD2; }
.as a.as-card { text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.as a.as-card:hover { transform: translateY(-2px); box-shadow: var(--as-elev-2); }
.as .as-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; min-width: 0; }
.as .as-card__title { flex: 1 1 160px; min-width: 0; }
.as .as-card__head--wrap { flex-wrap: wrap; }
.as .as-card__name { display: block; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; }
.as .as-card__name--lg { font-size: 18px; }
.as .as-card__mod { display: block; font-size: 12px; color: var(--as-ink-3); }
.as .as-card__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--as-ink-2); }
.as .as-card__foot { margin-top: auto; }
.as .as-card__rule { padding-top: 12px; border-top: 1px solid var(--as-sep); }
.as .as-card__display { font-family: var(--as-display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }

.as .as-mark { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--as-ink); color: #FFFFFF; display: grid; place-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.as .as-mark--cd { background: var(--as-copper); }
.as .as-mark--cm { background: var(--as-sage); }
.as .as-mark--sd { background: var(--as-plum); }
.as .as-mark--lo { background: var(--as-olive); }
.as .as-mark--soft { background: var(--as-sand); color: var(--as-copper-ink); box-shadow: none; }
.as .as-mark--soft-cm { background: #E6E8E2; color: var(--as-sage); box-shadow: none; }
.as .as-mark--soft-n { background: var(--as-fill); color: var(--as-ink-2); box-shadow: none; }
.as .as-mark--glass { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.as .as-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--as-sand); color: var(--as-copper-ink); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.as .as-avatar--lg { width: 44px; height: 44px; font-size: 14px; }
.as .as-avatar--cm { background: #E6E8E2; color: var(--as-sage); }

/* Pills and dots */
.as .as-live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--as-green-tint); color: var(--as-green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.as .as-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-live i { animation: as-beat 2s ease-in-out infinite; }
  @keyframes as-beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 123, 69, 0.45); } 50% { box-shadow: 0 0 0 5px transparent; } }
}
.as .as-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--as-fill); color: var(--as-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.as .as-tag--ok { background: var(--as-green-tint); color: var(--as-green); font-weight: 700; }
.as .as-tag--warn { background: var(--as-amber-tint); color: var(--as-amber); font-weight: 700; }
.as .as-tag--due { background: var(--as-red-tint); color: var(--as-red); font-weight: 700; }
.as .as-tag--cu { background: rgba(160, 97, 61, 0.12); color: var(--as-copper-ink); font-weight: 700; }
.as .as-place { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--as-fill); font-size: 13px; color: var(--as-ink); }
.as .as-place--plan { background: transparent; border: 1px dashed rgba(40, 35, 32, 0.24); color: var(--as-ink-3); }
.as .as-places { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.as .as-dot { flex: none; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--as-green); }
.as .as-dot--warn { background: var(--as-amber-dot); }
.as .as-dot--ink { background: var(--as-ink); }
.as .as-dot--light { background: #4CD07D; }

/* Tabs and segmented controls (static, as drawn in the app) */
.as .as-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--as-sep); font-size: 13px; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.as .as-tabs span { flex: none; padding: 7px 10px; color: var(--as-mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.as .as-tabs span.on { color: var(--as-ink); border-bottom-color: var(--as-tab, var(--as-ink)); }
.as .as-card--cd .as-tabs, .as .as-tabs--cd { --as-tab: var(--as-copper); }
.as .as-card--cm .as-tabs, .as .as-tabs--cm { --as-tab: var(--as-sage); }
/* Working tabs (js/main.js initTabs): panes share one grid cell, so switching never moves the page */
.as .as-tabs button { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--as-mute); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 0; transition: color 0.15s, border-color 0.15s; }
.as .as-tabs button:hover { color: var(--as-ink); }
.as .as-tabs button[aria-selected="true"] { color: var(--as-ink); border-bottom-color: var(--as-tab, var(--as-ink)); }
.as .as-tabs button:focus-visible { outline: 2px solid #1D5FB8; outline-offset: -2px; border-radius: 6px 6px 0 0; }
.as .as-panes { display: grid; }
.as .as-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.as .as-pane[hidden] { display: flex; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-pane:not([hidden]) { animation: as-fade 0.2s ease-out; }
  @keyframes as-fade { from { opacity: 0; } to { opacity: 1; } }
}
/* Segmented toggles that work (role=tablist), the location picker, the week heatmap and month calendar */
.as .as-seg button { border: 0; background: none; min-height: 32px; padding: 0 12px; border-radius: 999px; color: var(--as-ink-3); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.as .as-seg button:hover { color: var(--as-ink); }
.as .as-seg button[aria-selected="true"] { background: #FFFFFF; color: var(--as-ink); box-shadow: 0 1px 2px rgba(23, 20, 18, 0.12); }
.as .as-seg button:focus-visible { outline: 2px solid #1D5FB8; outline-offset: 1px; }
.as .as-pick { position: relative; display: inline-flex; flex: none; }
.as .as-pick select { appearance: none; -webkit-appearance: none; min-height: 32px; padding: 0 30px 0 12px; border-radius: 999px; border: 1px solid rgba(40, 35, 32, 0.14); background: #FFFFFF; color: var(--as-ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.as .as-pick::after { content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid var(--as-ink-2); border-bottom: 1.5px solid var(--as-ink-2); transform: rotate(45deg); pointer-events: none; }
.as .as-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.as .as-heatmap td { text-align: center; }
.as .as-heatmap td:first-child, .as .as-heatmap th:first-child { text-align: left; }
.as .as-heatmap th { text-align: center; }
.as .as-heat { display: inline-grid; place-items: center; min-width: 40px; height: 30px; border-radius: 8px; background: rgba(94, 110, 84, calc(0.12 + var(--h, 0) * 0.5)); font-weight: 600; font-variant-numeric: tabular-nums; }
.as .as-heat--off { background: transparent; border: 1px dashed rgba(40, 35, 32, 0.2); color: var(--as-mute); font-weight: 500; font-size: 12px; }
.as .as-cal { display: flex; flex-direction: column; gap: 6px; }
.as .as-cal__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.as .as-cal__row--head { font-size: 12px; color: var(--as-ink-3); text-align: center; }
.as .as-cal__day { display: flex; flex-direction: column; gap: 2px; min-height: 52px; padding: 6px 8px; border-radius: 8px; background: var(--as-fill-2); font-size: 12px; }
.as .as-cal__day b { font-weight: 600; color: var(--as-ink-3); }
.as .as-cal__day i { font-style: normal; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.as .as-cal__day.is-today { background: rgba(94, 110, 84, 0.18); box-shadow: inset 0 0 0 1.5px var(--as-sage); }
.as .as-cal__day--out { background: transparent; }
.as .as-form__row.as-form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as .as-board__item.is-new, .as tr.is-new td { animation: as-new 1.2s ease-out; }
@keyframes as-new { from { background-color: rgba(160, 97, 61, 0.22); } to { background-color: transparent; } }
.as button.as-action { font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.as button.as-action:disabled { opacity: 0.7; cursor: default; }
.as button.as-action:not(.as-action--dark):hover { border-color: var(--as-ink); }
.as button.as-action--dark:not(:disabled):hover { background: #3A322E; }
.as .as-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--as-fill); font-size: 12px; font-weight: 600; flex: none; }
.as .as-seg span { padding: 4px 12px; border-radius: 999px; color: var(--as-ink-3); }
.as .as-seg span.on { background: #FFFFFF; color: var(--as-ink); box-shadow: 0 1px 2px rgba(23, 20, 18, 0.12); }

/* KPIs */
.as .as-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 0; }
.as .as-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.as .as-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.as .as-kpi { min-width: 0; margin: 0; }
.as .as-kpi dt { font-size: 12px; font-weight: 500; color: var(--as-ink-3); }
.as .as-kpi dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.as .as-kpi dd.big { font-size: 30px; letter-spacing: -0.02em; }
.as .as-kpi small { display: block; margin-top: 2px; font-size: 12px; color: var(--as-mute); }
.as .as-kpi small.good, .as .as-kpi dd.good { color: var(--as-green); }
.as .as-kpi small.bad { color: var(--as-amber); }

/* Day bar, key, collect strip */
.as .as-daybar { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--as-fill); }
.as .as-daybar--thin { height: 6px; }
.as .as-daybar i { display: block; }
.as .as-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--as-ink-3); }
.as .as-key li { display: inline-flex; align-items: center; gap: 6px; }
.as .as-key i { width: 8px; height: 8px; border-radius: 2px; }
.as .as-collect { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--as-green-tint); font-size: 13px; }
.as .as-collect strong { font-size: 16px; }
.as .as-collect--warn { background: var(--as-amber-tint); }
.as .as-note { padding: 12px 14px; border-radius: 10px; background: var(--as-fill-2); font-size: 13px; line-height: 1.5; }

/* Row lists (timeline, facts, tables drawn as rows) */
.as .as-rows { display: flex; flex-direction: column; font-size: 14px; }
.as .as-rows > * { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--as-sep-soft); }
.as .as-rows > *:first-child { border-top: 0; }
.as a.as-rows__link { color: inherit; text-decoration: none; margin: 0 -10px; padding-inline: 10px; border-radius: 10px; transition: background-color 0.15s; }
.as a.as-rows__link:hover, .as a.as-rows__link:focus-visible { background: var(--as-fill-2); }
.as .as-intg-logo { display: block; flex: none; border-radius: 10px; object-fit: cover; background: #FFFFFF; box-shadow: 0 0 0 1px var(--as-sep); }
.as .as-reads-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--as-ink-3); }
.as .as-reads-head b { margin-left: 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--as-ink); font-variant-numeric: tabular-nums; }
.as .as-reads { position: relative; margin: 10px 0 4px; padding-bottom: 20px; }
.as .as-reads__ticks { display: grid; grid-template-columns: repeat(48, minmax(0, 1fr)); gap: 2px; align-items: end; height: 30px; }
.as .as-reads__ticks i { height: 14px; border-radius: 2px; background: rgba(40, 35, 32, 0.08); }
.as .as-reads__ticks i.is-done { height: 22px; background: rgba(30, 123, 69, 0.45); }
.as .as-reads__ticks i.is-now { height: 30px; background: #1E7B45; box-shadow: 0 0 0 3px rgba(30, 123, 69, 0.18); }
@media (prefers-reduced-motion: no-preference) {
  .as .as-reads__ticks i.is-now { animation: as-read-pulse 2.4s ease-in-out infinite; }
  @keyframes as-read-pulse { 50% { box-shadow: 0 0 0 6px rgba(30, 123, 69, 0); } }
}
.as .as-reads__axis { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; font-size: 11px; color: var(--as-mute); }
.as .as-reads__axis span { position: absolute; top: 0; white-space: nowrap; }
.as .as-cad { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.as .as-cad small { display: block; font-size: 12px; color: var(--as-mute); }
.as .as-cad + span { flex: none; white-space: nowrap; }
.as .as-maps { display: inline-flex; align-items: center; gap: 8px; color: var(--as-ink-3); }
.as .as-intg-line { display: flex; align-items: center; gap: 12px; min-width: 0; }
.as .as-intg-line--soon > span { opacity: 0.7; }
.as .as-rows--sm { font-size: 13px; }
.as .as-rows--sm > * { padding: 7px 0; }
.as .as-rows .muted { color: var(--as-mute); }
.as .as-rows .soft { color: var(--as-ink-3); }
.as .as-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.as .as-table th { padding: 10px 12px 10px 0; text-align: left; font-size: 12px; font-weight: 500; color: var(--as-ink-3); }
.as .as-table td { padding: 10px 12px 10px 0; border-top: 1px solid var(--as-sep-soft); }
.as .as-scroll { overflow-x: auto; }
.as .as-peeps { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.as .as-peeps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; }
.as .as-peeps .soft { font-size: 13px; color: var(--as-ink-3); }

/* Board columns (orders, Clinic Flow) */
.as .as-board { display: grid; grid-template-columns: repeat(var(--as-cols, 5), minmax(160px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.as .as-board__col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: var(--as-fill-2); min-height: 100%; }
.as .as-board__head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--as-ink-2); }
.as .as-board__item { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%; padding: 10px; border-radius: 10px; background: #FFFFFF; border: 1px solid rgba(40, 35, 32, 0.1); color: var(--as-ink); font: inherit; font-size: 13px; text-align: left; }
.as button.as-board__item { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.as button.as-board__item:hover { border-color: rgba(40, 35, 32, 0.28); box-shadow: var(--as-elev-2); transform: translateY(-1px); }
.as .as-board__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; width: 100%; }
.as .as-board__top b { font-weight: 700; }
.as .as-board__top span { font-size: 12px; color: var(--as-ink-3); text-align: right; }
.as .as-board__line { font-size: 12px; font-weight: 600; color: var(--as-ink-2); }
.as .as-board__meta { font-size: 12px; color: var(--as-ink-3); }
.as .as-board__item .as-tag { margin-top: 5px; font-size: 11px; }
/* Order records (js/main.js initOrderRecords): open over the orders card */
.as .as-linkbtn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--as-ink); text-decoration: underline; text-decoration-color: rgba(40, 35, 32, 0.25); text-underline-offset: 3px; cursor: pointer; }
.as .as-linkbtn:hover { text-decoration-color: var(--as-copper); }
.as .as-odetail { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 12px; background: #FFFFFF; overflow-y: auto; overscroll-behavior: contain; }
.as .as-odetail[hidden] { display: none; }
.as .as-odetail > * { flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-odetail:not([hidden]) { animation: as-fade 0.18s ease-out; }
}
.as .as-tl { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-size: 13px; }
.as .as-tl li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 7px 0 7px 14px; border-left: 2px solid var(--as-sep); position: relative; }
.as .as-tl li::before { content: ''; position: absolute; left: -5px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--as-copper); }
.as .as-tl li:last-child::before { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--as-copper); }
.as .as-tl__when { color: var(--as-ink-3); font-variant-numeric: tabular-nums; }

/* Schedule (Atlas|CM) */
.as .as-sched { display: grid; grid-template-columns: 56px repeat(4, minmax(150px, 1fr)); gap: 0 10px; font-size: 12px; overflow-x: auto; }
.as .as-sched__times { display: flex; flex-direction: column; padding-top: 26px; color: var(--as-mute); }
.as .as-sched__times span { height: 84px; }
.as .as-sched__col { position: relative; min-height: 362px; }
.as .as-sched__who { height: 22px; font-size: 13px; font-weight: 700; }
.as .as-appt { position: absolute; left: 0; right: 0; height: 76px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 8px; border-radius: 8px; background: #FFFFFF; border: 1px solid rgba(40, 35, 32, 0.14); overflow: hidden; color: var(--as-ink); font: inherit; font-size: 12px; text-align: left; }
.as button.as-appt { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.as button.as-appt:hover { border-color: rgba(40, 35, 32, 0.35); box-shadow: var(--as-elev-2); z-index: 2; }
.as .as-appt__who { color: var(--as-ink-3); }
.as .as-appt__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.as .as-appt b { display: block; font-weight: 600; }
.as .as-appt--done { background: var(--as-linen); border-color: transparent; color: var(--as-ink-3); }
.as .as-appt--here { background: var(--as-green-tint); border-color: transparent; }
.as .as-appt--room { background: rgba(122, 140, 110, 0.18); border-color: transparent; }
.as .as-appt--open { border-style: dashed; border-color: rgba(40, 35, 32, 0.24); color: var(--as-ink-3); }
.as .as-appt .as-tag { margin-top: 2px; padding: 1px 7px; font-size: 11px; }
.as .as-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 10px 14px; border-radius: 10px; background: var(--as-fill-2); font-size: 13px; }
.as .as-stats strong { font-size: 15px; }
.as .as-stats .as-tag { margin-left: auto; }

/* Bars (mini charts) */
.as .as-bars { display: grid; grid-template-columns: repeat(var(--as-cols, 12), minmax(0, 1fr)); gap: 4px; align-items: end; height: 72px; }
.as .as-bars i { display: block; border-radius: 3px; background: var(--as-bar, #E6D3C1); }
.as .as-meter { height: 6px; border-radius: 999px; background: var(--as-fill); }
.as .as-meter i { display: block; height: 6px; border-radius: 999px; background: var(--as-copper); }
.as .as-thermo { position: relative; height: 12px; border-radius: 999px; background: var(--as-fill); }
.as .as-thermo i { display: block; height: 12px; border-radius: 999px; background: var(--as-sage); }
.as .as-thermo b { position: absolute; top: -6px; width: 2px; height: 24px; background: var(--as-ink); }

/* Systems strip (.ao-strip) */
.as .as-strip { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--as-sep); box-shadow: var(--as-elev-1); }
.as .as-strip__row { display: flex; align-items: baseline; gap: 12px; }
.as .as-strip__label { flex: none; width: 96px; font-size: 12px; font-weight: 700; color: var(--as-ink-3); }

/* Pills list (clinics of every kind) */
.as .as-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.as .as-chip { padding: 10px 18px; border-radius: 999px; background: #FFFFFF; border: 1px solid rgba(40, 35, 32, 0.14); font-size: 15px; font-weight: 600; }
.as .as-chip--on { background: var(--as-ink); border-color: var(--as-ink); color: #FFFFFF; }

/* ModMed rhythm lanes */
.as .as-lane { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; font-size: 14px; font-weight: 700; }
.as .as-lane__track { position: relative; height: 22px; border-radius: 6px; background: var(--as-fill-2); }
.as .as-lane__track i { position: absolute; top: 4px; bottom: 4px; }
.as .as-lane__axis { display: flex; justify-content: space-between; font-size: 12px; font-weight: 400; color: var(--as-ink-3); }

/* Forms */
.as .as-form { display: flex; flex-direction: column; gap: 16px; }
.as .as-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.as .as-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--as-ink); margin: 0; }
.as .as-field input, .as .as-field select, .as .as-field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--as-sep-strong); background: #FFFFFF; color: var(--as-ink); font: inherit; font-size: 15px; font-weight: 400; }
.as .as-field textarea { min-height: 112px; resize: vertical; }
.as .as-field input:focus, .as .as-field select:focus, .as .as-field textarea:focus { outline: none; border-color: var(--as-ink); box-shadow: 0 0 0 3px rgba(40, 35, 32, 0.1); }
.as .as-field .req { color: var(--as-red); }
.as .as-radios { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.as .as-radios legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.as .as-radios__track { display: inline-flex; align-self: flex-start; padding: 3px; gap: 2px; border-radius: 999px; background: var(--as-fill); }
.as .as-radios__track label { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--as-ink-2); cursor: pointer; }
.as .as-radios__track input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.as .as-radios__track label:has(input:checked) { background: #FFFFFF; color: var(--as-ink); box-shadow: 0 1px 2px rgba(23, 20, 18, 0.12); }
.as .as-radios__track label:has(input:focus-visible) { outline: 2px solid #1D5FB8; outline-offset: 1px; }
.as .as-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.as [data-form-status] { margin-top: 4px; padding: 12px 14px !important; border-radius: 10px; font-size: 14px !important; }

/* ModMed on phones: each source paired with what it becomes, joined by a moving connector */
.as .as-flowsm { display: none; }
.as .as-flowsm__heads { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.25fr); font-size: 12px; font-weight: 700; color: var(--as-ink-3); }
.as .as-flowsm__heads span:last-child { grid-column: 3; }
.as .as-flowsm__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.as .as-flowsm__row { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.25fr); align-items: center; }
.as .as-flowsm__src { padding: 10px 12px; border-radius: 10px; background: var(--as-fill-2); font-size: 13px; font-weight: 600; }
.as .as-flowsm__pipe { position: relative; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, rgba(160, 97, 61, 0.55) 0 4px, transparent 4px 8px); }
.as .as-flowsm__pipe i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--as-copper); }
@media (prefers-reduced-motion: no-preference) {
  .as .as-flowsm__pipe i { animation: as-pulse-x 1.8s ease-in-out infinite; }
  .as .as-flowsm__row:nth-child(2) .as-flowsm__pipe i { animation-delay: 0.3s; }
  .as .as-flowsm__row:nth-child(3) .as-flowsm__pipe i { animation-delay: 0.6s; }
  .as .as-flowsm__row:nth-child(4) .as-flowsm__pipe i { animation-delay: 0.9s; }
  .as .as-flowsm__row:nth-child(5) .as-flowsm__pipe i { animation-delay: 1.2s; }
  .as .as-flowsm__row:nth-child(6) .as-flowsm__pipe i { animation-delay: 1.5s; }
  @keyframes as-pulse-x { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
}
.as .as-flowsm__dst { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #FFFFFF; border: 1px solid var(--as-sep); font-size: 13px; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) {
  .as .as-flow { display: none !important; }
  .as .as-flowsm { display: flex; flex-direction: column; gap: 12px; }
}

/* Demo and contact: copy on the band, the form beside it */
.as .as-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 72px; align-items: start; }
.as .as-pair__aside { margin-top: 96px; }
.as .as-pair .as-rows li > .as-mark { margin-right: 0; }

/* ModMed: what is in ModMed, flowing into what Atlas shows */
@media (max-width: 960px) {
  .as .as-flow { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .as .as-flow__lines { display: none; }
  .as .as-pair { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .as .as-pair__aside { margin-top: 32px; }
}

/* ── Close band ── */
.as .as-close { position: relative; overflow: hidden; background: var(--as-band); color: #FFFFFF; padding-block: 88px; }
.as .as-close::before { bottom: -260px; left: 0; width: 560px; height: 560px; background: radial-gradient(circle, rgba(160, 97, 61, 0.24) 0%, transparent 70%); border-radius: 50%; }
.as .as-close .as-wrap { position: relative; display: flex; flex-direction: column; gap: 22px; }
.as .as-close > canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; pointer-events: none; }
.as .as-close .as-h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.04; max-width: 820px; }
.as .as-close .as-lead { color: rgba(255, 255, 255, 0.72); }

/* ── Footer ── */
.as .as-foot { background: var(--as-foot); color: #D9CFC4; padding: 72px 0 48px; }
.as .as-foot__top { display: flex; justify-content: space-between; gap: 64px; }
.as .as-foot__brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.as .as-foot__brand a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #FAF8F5; }
.as .as-foot__brand img { display: block; height: 36px; width: auto; }
.as .as-foot__brand p { margin: 0; font-size: 14px; line-height: 1.6; }
.as .as-foot__cols { display: flex; gap: 96px; font-size: 14px; }
.as .as-foot__cols div { display: flex; flex-direction: column; gap: 12px; }
.as .as-foot__cols a { color: #FAF8F5; text-decoration: none; }
.as .as-foot__cols a:hover { color: var(--as-copper-light); }
.as .as-foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(250, 248, 245, 0.12); font-size: 13px; color: #A99F95; }
.as .as-foot__bottom a { color: #A99F95; }

/* ── Legal pages ── */
.as .as-prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--as-ink-2); }
.as .as-prose h2 { margin: 40px 0 12px; font-family: var(--as-sans); font-size: 20px; font-weight: 700; color: var(--as-ink); }
.as .as-prose h3 { margin: 28px 0 8px; font-size: 16px; font-weight: 700; color: var(--as-ink); }
.as .as-prose p, .as .as-prose ul, .as .as-prose ol { margin: 0 0 14px; }
.as .as-prose li { margin-bottom: 6px; }
.as .as-prose a { color: var(--as-copper-ink); }

/* ── One entrance on load ── */
@media (prefers-reduced-motion: no-preference) {
  .as [data-enter] { animation: as-enter 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .as [data-enter="2"] { animation-delay: 0.12s; }
  .as [data-enter="3"] { animation-delay: 0.24s; }
  @keyframes as-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ── Healing arcs (js/main.js initArcs): markers pop as the line reaches them; the readout card tells the story ── */
.as svg.is-armed .as-draw-pop { transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.35); transform-box: fill-box; transform-origin: center; }
.as svg.is-armed .as-draw-pop:not(.is-on) { opacity: 0; transform: scale(0.3); }
.as svg.is-armed .as-draw-pop--fade:not(.is-on) { transform: none; }
.as .as-arc-now { opacity: 0; transition: opacity 0.25s; pointer-events: none; }
.as .as-readout { flex: none; width: 320px; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.as .as-readout__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.66); }
.as .as-readout__head span:first-child { min-width: 0; color: #FFFFFF; font-weight: 600; }
.as .as-readout__phase { flex: none; white-space: nowrap; line-height: 20px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(185, 199, 174, 0.18); color: #CFDCC5; transition: background-color 0.3s, color 0.3s; }
.as .as-readout__phase[data-state="advanced"] { background: rgba(226, 180, 143, 0.18); color: #F2C9AE; }
.as .as-readout__phase[data-state="healed"] { background: rgba(76, 208, 125, 0.18); color: #C8F2D5; }
.as .as-readout__wound [data-target-ring] { transition: opacity 0.4s; }
.as .as-readout__body { display: flex; align-items: center; gap: 16px; }
.as .as-readout__wound { flex: none; width: 76px; height: 76px; }
.as .as-readout__wound [data-wound] { transition: opacity 0.3s; }
.as .as-readout__wound [data-healed] { transition: opacity 0.4s; }
.as .as-readout__area { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.as .as-readout__area b { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.as .as-readout__week { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--as-copper-light); }
.as .as-readout__event { min-height: 56px; display: flex; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); font-size: 13px; line-height: 1.4; transition: background-color 0.3s, color 0.3s; }
.as .as-readout.is-healed .as-readout__event { background: rgba(76, 208, 125, 0.16); color: #C8F2D5; font-weight: 600; }
.as .as-readout.is-healed .as-readout__week { color: #4CD07D; }
.as .as-readout__replay { align-self: flex-start; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: transparent; color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.as .as-readout__replay:hover { background: rgba(255, 255, 255, 0.1); }
.as .as-readout__replay[hidden] { display: inline-flex; visibility: hidden; } /* keeps its space, so the card never jumps */
@media (prefers-reduced-motion: no-preference) {
  .as .as-readout__event.is-new { animation: as-event 0.5s ease-out; }
  @keyframes as-event { from { opacity: 0.2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

/* ── Sticky nav: once the page scrolls the capsule stays floating at the top, darker and lifted ── */
.as .as-nav.is-stuck { position: fixed; border-bottom-color: rgba(255, 255, 255, 0.08); }
.as .as-nav.is-stuck::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .as .as-nav.is-stuck { animation: as-drop 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @keyframes as-drop { from { transform: translateY(-120%); } to { transform: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  .as .as-nav::before { background: #1A1614; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ── Phone demo bar (includes/footer.php; shown by js/main.js after the hero, hidden over the footer) ── */
.as .as-mbar { display: none; }

/* ── Swipe-row dots (phones; built by js/main.js) ── */
.as .as-dots { display: none; }

/* ── Form replies (js/main.js initForms) ── */
.as .as-status { padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.as .as-status--ok { background: var(--as-green-tint); color: #14532D; }
.as .as-status--err { background: var(--as-red-tint); color: var(--as-red); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .as .as-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as .as-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .as .as-split, .as .as-split--rev { gap: 48px; }
  .as .as-foot__cols { gap: 48px; }
}
@media (max-width: 960px) {
  .as .as-hero__main { flex-direction: column; align-items: flex-start; gap: 24px; }
  .as .as-hero__tools { justify-content: flex-start; max-width: none; }
  .as .as-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as .as-split, .as .as-split--rev, .as .as-split--5-7, .as .as-split--wide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .as .as-split--rev > :first-child { order: 2; }
  .as .as-sec__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .as .as-sec__aside { max-width: none; }
  .as .as-foot__top { flex-direction: column; gap: 40px; }
  .as .as-hero--tall { min-height: 0; }
}
/* Phones (York, 2026-11-07: "mobile first ... mobile has to be flawless"). Card rows become swipe rows
   like the Command Center's company cards, so a phone scrolls through sections, not through every card. */
@media (max-width: 640px) {
  :root { --as-gutter: 16px; }
  body.as { font-size: 15px; }
  .as .as-sec { padding-block: 48px; }
  .as .as-sec__head { gap: 12px; margin-bottom: 20px; }
  .as .as-grid { gap: 12px; }
  .as .as-grid--2, .as .as-grid--3, .as .as-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .as .as-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as .as-span-2 { grid-column: auto; }
  .as .as-swipe { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--as-gutter); margin-inline: calc(var(--as-gutter) * -1); padding: 2px var(--as-gutter) 14px; scrollbar-width: none; }
  .as .as-swipe::-webkit-scrollbar { display: none; }
  .as .as-swipe > * { scroll-snap-align: start; min-height: 0 !important; }
  .as .as-grid--keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .as .as-grid--keep2 .as-card { padding: 14px; gap: 6px; }
  .as .as-grid--keep2 .as-card__name { font-size: 14px; }
  .as .as-grid--keep2 .as-card__head { flex-wrap: nowrap; align-items: flex-start; }
  .as .as-grid--keep2 .as-card__title { flex-basis: 0; }
  .as .as-grid--keep2 .as-dot { margin-top: 6px; }
  .as .as-hide-sm { display: none; }
  .as .as-show-sm { display: block; }
  .as .as-card__head { flex-wrap: nowrap; }
  .as .as-card__title { flex-basis: 0; }
  .as .as-card__head--wrap { flex-wrap: wrap; }
  .as .as-card__head--wrap .as-card__title { flex-basis: 100%; }
  .as .as-card__title > .as-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .as .as-chart { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
  .as .as-chart svg { min-width: 600px; }
  .as .as-kpis--3, .as .as-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as .as-form__row { grid-template-columns: minmax(0, 1fr); }
  .as .as-form__row.as-form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .as .as-nav__inner { height: 56px; }
  .as .as-nav__brand img { height: 26px; }
  .as .as-hero { padding-top: 80px; }
  .as .as-hero__main { padding-top: 24px; gap: 20px; }
  .as .as-hero__copy { gap: 16px; }
  .as .as-hero__tools { display: none; }
  .as .as-hero__stage { padding-top: 28px; }
  .as .as-hero:has(.as-hero__stage.as-swipe) { --as-overlap: 280px !important; }
  .as .as-hero--plain { padding-bottom: 48px; }
  .as .as-lead { font-size: 16px; line-height: 1.55; }
  .as .as-btns .as-btn { flex: 1 1 auto; }
  .as .as-card--pad { padding: 18px; }
  .as .as-lane { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .as .as-strip__row { flex-direction: column; gap: 6px; }
  .as .as-strip__label { width: auto; }
  .as .as-close { padding-block: 64px; }
  .as .as-close .as-wrap { gap: 18px; }
  .as .as-close .as-lead { font-size: 15px; }
  .as .as-foot { padding: 48px 0 32px; }
  .as .as-foot__top { gap: 32px; }
  .as .as-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .as .as-foot__bottom { margin-top: 32px; flex-direction: column; gap: 6px; }
  .as .as-pair__aside { margin-top: 24px; }
  .as .as-tl li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .as .as-readout { width: 100%; }
  .as .as-hero__arc text, .as .as-hero__arc .as-arc-legend { display: none; }
  .as .as-arc-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: -12px 0 24px; font-size: 13px; color: rgba(255, 255, 255, 0.72); }
  .as .as-arc-key span { display: inline-flex; align-items: center; gap: 7px; }
  .as .as-arc-key i { display: block; width: 14px; height: 4px; border-radius: 2px; }
  .as .as-arc-key i.as-arc-key__dash { height: 0; border-top: 2px dashed rgba(255, 255, 255, 0.55); border-radius: 0; }
  .as .as-hero__arc { margin-top: 24px; padding-bottom: 28px; }
  .as .as-mbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 8px; border-radius: 999px; background: rgba(26, 22, 20, 0.92); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, var(--as-elev-4); transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
  .as .as-mbar.is-on { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }
  .as .as-mbar .as-btn { flex: 1 1 0; min-height: 48px; }
  .as .as-mbar .as-btn--ghost { flex: 0 0 auto; padding: 0 20px; }
  body.as.as-menu-open .as-mbar { visibility: hidden; }
  .as .as-dots { display: flex; justify-content: center; gap: 2px; margin-top: -4px; }
  .as .as-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
  .as .as-dots button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 999px; background: rgba(40, 35, 32, 0.22); transition: width 0.2s, margin 0.2s, background-color 0.2s; }
  .as .as-dots button[aria-current="true"]::before { width: 18px; margin-left: -9px; background: var(--as-ink); }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .as .as-mbar, .as .as-mbar.is-on { transition: none; }
}
