/* admin.css -- the platform owner's console: "aurora glass".
   A flowing blue + amber background, frosted-glass cards, a floating pill nav, big light-weight titles and tick-mark charts.
   Self-contained (does not load the contractor app's CSS). Light theme. Time-based motion only (no cursor effects); honours reduced motion.
   Text on white glass is #10202E (>12:1). Amber text uses #B45309 (5.0:1 on white). Focus rings are amber. */

:root {
  --sky-1: #0E6A96; --sky-2: #2B93BE; --sky-3: #6FC3DE; --sky-4: #BFE4F1;
  --amber: #F59A1C; --amber-2: #E8730C; --amber-text: #B45309; --amber-tint: #FFF3E3;
  --ink: #10202E; --ink-2: #425669; --ink-3: #6B7F92;
  --navy: #0F2D42; --navy-2: #17415F;
  --line: rgba(16, 32, 46, .10); --line-2: rgba(16, 32, 46, .18);
  --red: #E5484D; --green: #2E8B57;
  --ok: #15803D; --ok-bg: rgba(46, 139, 87, .14); --warn: #B45309; --warn-bg: rgba(245, 154, 28, .20);
  --bad: #B91C1C; --bad-bg: rgba(229, 72, 77, .14); --info: #0E6A96; --info-bg: rgba(43, 147, 190, .16);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .72));
  --glass-edge: rgba(255, 255, 255, .88);
  --r: 24px; --r-md: 16px; --r-sm: 12px;
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, .95), 0 22px 46px -28px rgba(10, 58, 88, .55), 0 2px 6px rgba(10, 58, 88, .06);
  --shadow-pop: 0 30px 70px -24px rgba(10, 40, 62, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, h4, p, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.skip { position: absolute; left: 8px; top: -48px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; transition: top .15s; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 2px; border-radius: 8px; }

/* ---------------------------------------------------------------- aurora scenes (vivid mesh gradients; each page has its own mood and cross-fades) */
@property --s1 { syntax: '<color>'; inherits: true; initial-value: #0A4FD0; }
@property --s2 { syntax: '<color>'; inherits: true; initial-value: #1E8FEA; }
@property --s3 { syntax: '<color>'; inherits: true; initial-value: #5BD3F7; }
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #FFC24A; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #FF9A1C; }
@property --c3 { syntax: '<color>'; inherits: true; initial-value: #FF5E1A; }
@property --floor { syntax: '<color>'; inherits: true; initial-value: #DCE8F3; }
body { --s1: #0A4FD0; --s2: #1E8FEA; --s3: #5BD3F7; --c1: #FFC24A; --c2: #FF9A1C; --c3: #FF5E1A; --floor: #DCE8F3; background: var(--floor);
  transition: --s1 1.5s ease, --s2 1.5s ease, --s3 1.5s ease, --c1 1.5s ease, --c2 1.5s ease, --c3 1.5s ease, --floor 1.5s ease; }
body[data-scene="companies"] { --s1: #007C8A; --s2: #12B79B; --s3: #4FB6F6; --c1: #FFD23F; --c2: #FF7A59; --c3: #1F5BFF; --floor: #D8EEEA; }
body[data-scene="invites"] { --s1: #4B2BE0; --s2: #7C55FF; --s3: #3FA6FF; --c1: #FF9A3D; --c2: #FF4FA3; --c3: #38E0FF; --floor: #E3E0F4; }
body[data-scene="plans"] { --s1: #5A2DD8; --s2: #C23AC4; --s3: #FF7A6B; --c1: #FFD34D; --c2: #3B82FF; --c3: #FF4FA3; --floor: #F3E1E6; }
body[data-scene="system"] { --s1: #0A1F66; --s2: #1556C8; --s3: #14B8D8; --c1: #1DE9B6; --c2: #FFB020; --c3: #5B8CFF; --floor: #D6E3EE; }
.a-aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.a-mesh { position: absolute; inset: 0; filter: saturate(1.18);
  background: radial-gradient(900px 640px at 6% 0%, var(--s1), transparent 62%), radial-gradient(780px 560px at 94% 2%, var(--s3), transparent 60%), radial-gradient(1000px 720px at 52% 36%, var(--s2), transparent 72%),
    linear-gradient(180deg, var(--s1) 0%, var(--s2) 34%, var(--s3) 55%, var(--floor) 86%); }
.a-orb { position: absolute; border-radius: 50%; will-change: transform; }
.a-orb.o1 { width: 560px; height: 560px; left: 8%; top: 30%; background: radial-gradient(circle, var(--c2), transparent 68%); filter: blur(48px); opacity: .62; animation: a-float 26s ease-in-out infinite alternate; }
.a-orb.o2 { width: 460px; height: 460px; right: 4%; top: 2%; background: radial-gradient(circle, var(--c3), transparent 68%); filter: blur(56px); opacity: .55; animation: a-float 32s ease-in-out -8s infinite alternate-reverse; }
.a-orb.o3 { width: 380px; height: 380px; left: 46%; top: 44%; background: radial-gradient(circle, var(--c1), transparent 68%); filter: blur(60px); opacity: .5; animation: a-float 28s ease-in-out -14s infinite alternate; }
.a-aurora svg { position: absolute; left: -8%; top: -6%; width: 116%; height: 92vh; min-height: 600px; animation: a-drift 34s ease-in-out infinite alternate; transform-origin: 50% 40%; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.a-aurora .a-glow { position: absolute; right: -10%; top: -14%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .45), transparent 62%); filter: blur(10px); }
@keyframes a-drift { from { transform: translate3d(-1.5%, 0, 0) scale(1); } to { transform: translate3d(1.5%, 1.2%, 0) scale(1.05); } }
@keyframes a-float { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.12); } }

/* ---------------------------------------------------------------- shell */
.a-app { position: relative; min-height: 100dvh; display: flex; flex-direction: column; }
.a-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 18px clamp(20px, 3.2vw, 44px) 0; pointer-events: none; }
.a-top > * { pointer-events: auto; }
.a-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; justify-self: start; }
.a-brand img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.a-brand strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.a-brand em { font-style: normal; font-size: 10.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .55); padding: 2px 8px; border-radius: 999px; }
.a-pills { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.a-pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: rgba(255, 255, 255, .92); font-weight: 600; font-size: 14px; transition: background .2s var(--ease), color .2s var(--ease), transform .12s; }
.a-pill-link:hover { background: rgba(255, 255, 255, .24); }
.a-pill-link[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(10, 58, 88, .6); }
.a-pill-link .a-badge { background: var(--amber-2); color: #fff; font-size: 11px; padding: 0 6px; border-radius: 999px; font-weight: 650; }
.a-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.a-circle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; cursor: pointer; transition: background .2s, transform .12s; }
.a-circle:hover { background: rgba(255, 255, 255, .42); }
.a-circle:active { transform: scale(.96); }
.a-circle--solid { background: #fff; color: var(--ink); border-color: #fff; }
.a-userpill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 16px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-weight: 600; cursor: pointer; }
.a-userpill:hover { background: rgba(255, 255, 255, .42); }
.a-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sky-1); font-size: 12px; font-weight: 700; }
.a-avatar--soft { background: var(--sky-4); color: var(--sky-1); }
.a-mobilebar, .a-tabbar, .a-dock-btn { display: none; }

.a-main { flex: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3.2vw, 44px) 150px; }
.a-hero { padding: 34px 0 28px; display: grid; gap: 6px; color: #fff; }
.a-hero small { font-size: 12.5px; color: rgba(255, 255, 255, .85); letter-spacing: .02em; }
.a-hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 2px 30px rgba(10, 58, 88, .25); }
.a-hero p { font-size: 15px; color: rgba(255, 255, 255, .9); }
.a-hero__row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.a-hero__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.a-view { display: grid; gap: 18px; align-content: start; }
@keyframes a-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- glass primitives */
.a-card, .a-glass { position: relative; min-width: 0; background: var(--glass); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); border: 1px solid var(--glass-edge); border-radius: var(--r); box-shadow: var(--shadow-card); }
.a-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(280px 170px at 100% 100%, rgba(255, 170, 90, .16), transparent 70%); }
.a-card > *, .a-glass > * { position: relative; z-index: 1; }
.a-clear { background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-radius: var(--r); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.a-card__head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 0; }
.a-card__head h2, .a-h2 { font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
.a-card__head p, .a-sub { font-size: 12.5px; color: var(--ink-3); }
.a-spacer { margin-left: auto; }
.a-card__body { padding: 14px 22px 22px; }
.a-grid { display: grid; gap: 16px; }
.a-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-grid--kpi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a-split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.a-split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.a-stack { display: grid; gap: 14px; }
.a-row-flex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a-muted { color: var(--ink-3); }
.a-onsky { color: rgba(255, 255, 255, .94); text-shadow: 0 1px 12px rgba(10, 58, 88, .35); max-width: 70ch; }
.a-link { color: var(--amber-text); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.a-link:hover { text-decoration: underline; }
.a-section-title { font-size: 11.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.a-panel { background: linear-gradient(140deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46)); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .85); border-radius: var(--r-md); padding: 16px; display: grid; gap: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 30px -22px rgba(10, 58, 88, .5); }
.a-widget-top { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; }
.a-widget-top h2 { font-size: 14.5px; font-weight: 600; }
.a-widget-top .a-icons { margin-left: auto; display: flex; gap: 10px; color: var(--ink-3); }
.a-widget-body { padding: 10px 20px 20px; display: grid; gap: 10px; }
.a-big { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.a-big small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }

/* buttons */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(16, 32, 46, .16); background: rgba(255, 255, 255, .85); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.a-btn:hover { background: #fff; border-color: var(--ink-3); }
.a-btn:active { transform: translateY(1px); }
.a-btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 20px -12px rgba(15, 45, 66, .9); }
.a-btn--primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.a-btn--white { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 10px 22px -12px rgba(10, 58, 88, .55); }
.a-btn--glass { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.a-btn--glass:hover { background: rgba(255, 255, 255, .42); border-color: rgba(255, 255, 255, .8); }
.a-btn--ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.a-btn--ghost:hover { background: rgba(255, 255, 255, .6); border-color: var(--line); }
.a-btn--danger { color: var(--bad); border-color: rgba(229, 72, 77, .35); background: rgba(255, 255, 255, .85); }
.a-btn--danger:hover { background: var(--bad-bg); border-color: var(--bad); }
.a-btn--danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.a-btn--danger-solid:hover { background: #991B1B; }
.a-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.a-btn--block { width: 100%; }
.a-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.a-iconbtn { width: 42px; padding: 0; }

/* chips */
.a-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(16, 32, 46, .07); color: var(--ink-2); white-space: nowrap; }
.a-chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.a-chip--ok { background: var(--ok-bg); color: var(--ok); } .a-chip--warn { background: var(--warn-bg); color: var(--warn); }
.a-chip--bad { background: var(--bad-bg); color: var(--bad); } .a-chip--info { background: var(--info-bg); color: var(--info); }
.a-chip--accent { background: var(--amber-tint); color: var(--amber-text); } .a-chip--navy { background: rgba(15, 45, 66, .1); color: var(--navy); }

/* fields */
.a-field { display: grid; gap: 6px; min-width: 0; }
.a-label { font-size: 13px; font-weight: 600; }
.a-input, .a-select, .a-textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid rgba(16, 32, 46, .14); background: rgba(255, 255, 255, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s, background .15s; }
.a-input:focus, .a-select:focus, .a-textarea:focus { background: rgba(255, 255, 255, .92); }
.a-textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.a-input:hover, .a-select:hover, .a-textarea:hover { border-color: var(--ink-3); }
.a-input:focus, .a-select:focus, .a-textarea:focus { outline: none; border-color: var(--amber-2); box-shadow: 0 0 0 3px rgba(232, 115, 12, .2); }
.a-input[aria-invalid="true"], .a-select[aria-invalid="true"], .a-textarea[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(185, 28, 28, .12); }
.a-input[disabled] { background: rgba(16, 32, 46, .05); color: var(--ink-3); }
.a-hint { font-size: 12.5px; color: var(--ink-3); } .a-error { font-size: 12.5px; color: var(--bad); font-weight: 500; }
.a-input--money { padding-left: 28px; } .a-money { position: relative; } .a-money::before { content: '$'; position: absolute; left: 14px; top: 11px; color: var(--ink-3); pointer-events: none; }
.a-search { position: relative; flex: 1 1 260px; min-width: 200px; } .a-search svg { position: absolute; left: 14px; top: 13px; color: var(--ink-3); pointer-events: none; } .a-search .a-input { padding-left: 42px; border-radius: 999px; }
.a-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; } .a-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--amber-2); flex: none; }
.a-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.a-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; transition: all .15s var(--ease); }
.a-pill:hover { border-color: var(--ink-3); color: var(--ink); } .a-pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; } .a-pill b { font-weight: 600; opacity: .65; }
/* Day / Week / Month switch on the aurora */
.a-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .26); border: 1px solid rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.a-switch button { min-height: 34px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, .92); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background .2s, color .2s; }
.a-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(10, 58, 88, .6); }

/* ---------------------------------------------------------------- overview hero */
.ov-hero { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(300px, 380px); gap: 24px; align-items: start; min-height: 330px; }
.ov-kpi { padding: 22px 24px; display: grid; gap: 10px; background: linear-gradient(140deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .58)); }
.ov-kpi__top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 500; }
.ov-kpi__value { font-size: 40px; font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.ov-kpi__note { color: var(--green); font-weight: 600; font-size: 14px; }
.ov-actions { display: flex; justify-content: space-around; gap: 8px; padding: 14px 6px 0; }
.ov-action { display: grid; justify-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; }
.ov-action span.ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--sky-1); box-shadow: 0 10px 22px -12px rgba(10, 58, 88, .7); transition: transform .15s var(--ease); }
.ov-action:hover span.ico { transform: translateY(-2px); }
.ov-side { display: grid; gap: 14px; }
.ov-week { padding: 16px 18px; display: grid; gap: 10px; }
.ov-week__head { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.ov-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 11.5px; }
.ov-days span.d { opacity: .85; }
.ov-days span.n { display: grid; place-items: center; height: 30px; border-radius: 999px; font-weight: 500; font-size: 13px; position: relative; background: rgba(255, 255, 255, .14); }
.ov-days span.n.today { background: var(--red); color: #fff; font-weight: 650; }
.ov-days span.n.has::after { content: ''; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.ov-latest { padding: 16px 18px 12px; }
.ov-latest h2 { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; }
.ov-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.ov-row:first-of-type { border-top: 0; }
.ov-row .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 3px rgba(10, 58, 88, .15); color: var(--sky-1); }
.ov-row strong { font-weight: 550; } .ov-row .t { margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.ov-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ov-bottom { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* charts */
.a-ticks { display: flex; align-items: flex-end; gap: 2px; height: 84px; }
.a-tick { flex: 1 1 0; min-width: 2px; max-width: 6px; border-radius: 2px; background: rgba(16, 32, 46, .22); height: var(--h, 4%); min-height: 3px; position: relative; }
.a-tick--on { background: var(--green); } .a-tick--red { background: var(--red); }
.a-tick--stack { background: none; display: flex; flex-direction: column-reverse; }
.a-tick--stack i { display: block; width: 100%; }
.a-tick--stack i.g { background: var(--green); border-radius: 2px; } .a-tick--stack i.r { background: var(--red); border-radius: 2px; margin-bottom: 1px; }
.a-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
.a-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--ink-3); } .a-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.a-dots { display: grid; grid-auto-flow: column; gap: 14px; align-items: end; justify-content: space-between; }
.a-dotcol { display: flex; flex-direction: column-reverse; gap: 5px; align-items: center; }
.a-dotcol i { width: 6px; height: 6px; border-radius: 50%; background: rgba(16, 32, 46, .12); }
.a-dotcol i.on { background: var(--c, var(--sky-2)); }
.a-dotlabels { display: grid; grid-auto-flow: column; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--ink-3); }
.a-dotlabels b { display: block; font-size: 13px; color: var(--ink); font-weight: 600; text-align: center; }
.a-ruler { position: relative; height: 236px; display: flex; justify-content: flex-end; gap: 10px; }
.a-ruler__ticks { width: 54px; background: repeating-linear-gradient(to bottom, rgba(16, 32, 46, .32) 0 1px, transparent 1px 7px); }
.a-ruler__scale { display: grid; align-content: space-between; text-align: left; font-size: 11.5px; color: var(--ink-3); padding: 2px 0; }
.a-ruler__mark { position: absolute; right: 64px; bottom: calc(var(--p, 0) * 100%); width: 86px; height: 3px; background: var(--red); border-radius: 2px; transform: translateY(50%); }
.a-ruler__mark--soft { background: var(--amber); width: 64px; right: 64px; }
.a-ruler__label { position: absolute; right: 160px; bottom: calc(var(--p, 0) * 100%); transform: translateY(50%); font-size: 20px; font-weight: 400; letter-spacing: -.02em; white-space: nowrap; }
.a-ruler__label small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0; text-align: right; }

/* attention */
.a-attn { display: grid; }
.a-attn__item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border: 0; border-top: 1px solid var(--line); background: none; width: 100%; text-align: left; cursor: pointer; transition: background .15s; }
.a-attn__item:first-child { border-top: 0; } .a-attn__item:hover { background: rgba(255, 255, 255, .6); }
.a-attn__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--warn-bg); color: var(--warn); }
.a-attn__icon--bad { background: var(--bad-bg); color: var(--bad); } .a-attn__icon--info { background: var(--info-bg); color: var(--info); }
.a-attn__main { display: grid; min-width: 0; } .a-attn__main strong { font-weight: 600; font-size: 14.5px; } .a-attn__main span { font-size: 13px; color: var(--ink-3); }
.a-attn__go { margin-left: auto; color: var(--ink-3); }
.a-allclear { display: flex; align-items: center; gap: 14px; padding: 22px; } .a-allclear .a-attn__icon { background: var(--ok-bg); color: var(--ok); }
.a-bars { display: grid; gap: 16px; } .a-bar__top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.a-bar__track { height: 10px; border-radius: 999px; background: rgba(16, 32, 46, .08); overflow: hidden; }
.a-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sky-2), var(--sky-3)); width: var(--w, 0%); transition: width .8s var(--ease); }
.a-meter { height: 7px; border-radius: 999px; background: rgba(16, 32, 46, .1); overflow: hidden; min-width: 54px; } .a-meter i { display: block; height: 100%; width: var(--w, 0%); border-radius: 999px; background: var(--sky-2); }
.a-meter--warn i { background: var(--amber); } .a-meter--bad i { background: var(--red); }
.a-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.a-stat { background: rgba(255, 255, 255, .8); padding: 12px 14px; display: grid; gap: 2px; min-width: 0; } .a-stat dt { font-size: 12px; color: var(--ink-3); font-weight: 600; } .a-stat dd { margin: 0; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.a-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-kpi { padding: 18px 20px; display: grid; gap: 6px; } .a-kpi__label { font-size: 12.5px; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; gap: 8px; } .a-kpi__value { font-size: 30px; font-weight: 400; letter-spacing: -.03em; line-height: 1.05; } .a-kpi__note { font-size: 13px; color: var(--ink-3); }
.a-feed { display: grid; margin: 0; padding: 0; } .a-feed li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); } .a-feed li:first-child { border-top: 0; }
.a-feed__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber-2); margin-top: 7px; } .a-feed__main { display: grid; min-width: 0; } .a-feed__main span { font-size: 13px; color: var(--ink-3); } .a-feed time { margin-left: auto; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }

/* ---------------------------------------------------------------- table (div based so it becomes cards on phones) */
.a-table { display: grid; }
.a-thead, .a-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) .9fr 1.1fr 1fr 1fr 1fr 28px; gap: 12px; align-items: center; padding: 0 22px; }
.a-thead { min-height: 44px; font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.a-tr { min-height: 70px; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; background: none; width: 100%; text-align: left; }
.a-tr:last-child { border-bottom: 0; } .a-tr:hover { background: rgba(255, 255, 255, .62); }
.a-tr--invites { cursor: default; } .a-tr--invites:hover { background: none; }
.a-thead--invites, .a-tr--invites { grid-template-columns: minmax(0, 2fr) 1fr 1fr 1.2fr 1.1fr 90px; }
.a-who { display: flex; align-items: center; gap: 12px; min-width: 0; } .a-who div { display: grid; min-width: 0; } .a-who strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .a-who span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-tr__chev { color: var(--ink-3); } .a-cell { font-size: 14px; color: var(--ink-2); }
.a-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.a-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 46px 20px; color: var(--ink-3); } .a-empty strong { color: var(--ink); font-size: 16px; } .a-empty svg { color: var(--line-2); }

/* plans */
.a-plan { padding: 24px; display: grid; gap: 14px; align-content: start; }
.a-plan--feature { box-shadow: 0 0 0 2px var(--amber), var(--shadow-card); }
.a-plan__name { font-size: 18px; font-weight: 600; } .a-plan__price { font-size: 40px; font-weight: 300; letter-spacing: -.035em; line-height: 1; } .a-plan__price small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.a-plan__limits { display: grid; gap: 8px; padding: 14px 0; border-block: 1px solid var(--line); } .a-plan__limits div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; } .a-plan__limits span { color: var(--ink-3); } .a-plan__limits b { font-weight: 600; }
.a-plan__feat { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); } .a-plan__feat li { display: flex; gap: 9px; align-items: flex-start; } .a-plan__feat svg { flex: none; margin-top: 3px; color: var(--green); }
.a-plan--add { border: 1.5px dashed rgba(16, 32, 46, .28); background: rgba(255, 255, 255, .3); box-shadow: none; place-items: center; text-align: center; min-height: 280px; cursor: pointer; color: var(--ink-2); font: inherit; }
.a-plan--add:hover { border-color: var(--amber-2); color: var(--amber-text); background: rgba(255, 243, 227, .7); } .a-plan--off { opacity: .65; }
.a-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .a-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a-choice { position: relative; display: grid; gap: 2px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer; background: rgba(255, 255, 255, .8); transition: border-color .15s, box-shadow .15s; }
.a-choice:hover { border-color: var(--ink-3); } .a-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.a-choice:has(input:checked) { border-color: var(--amber-2); box-shadow: 0 0 0 2px rgba(232, 115, 12, .25); background: var(--amber-tint); } .a-choice:has(input:focus-visible) { outline: 2px solid var(--amber-2); outline-offset: 2px; }
.a-choice strong { font-weight: 650; } .a-choice span { font-size: 13px; color: var(--ink-3); }
.a-linkbox { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-md); background: linear-gradient(180deg, rgba(230, 245, 235, .9), rgba(255, 255, 255, .8)); border: 1px solid rgba(46, 139, 87, .35); } .a-linkbox input { font-family: var(--mono); font-size: 13px; }
.a-announce { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--info-bg); color: var(--info); font-size: 14px; font-weight: 500; } .a-announce--warning { background: var(--warn-bg); color: var(--warn); }

/* ---------------------------------------------------------------- command dock */
.a-dock { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); z-index: 40; display: grid; gap: 10px; justify-items: center; }
.a-dock__chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.a-dock__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background .15s; }
.a-dock__chip:hover { background: #fff; }
.a-dock__bar { display: flex; align-items: center; gap: 10px; width: 100%; height: 58px; padding: 0 8px; border-radius: 999px; background: rgba(120, 138, 154, .42); border: 1px solid rgba(255, 255, 255, .65); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 24px 40px -22px rgba(10, 40, 62, .6); color: #fff; cursor: text; text-align: left; font-size: 14.5px; }
.a-dock__bar:hover { background: rgba(120, 138, 154, .52); }
.a-dock__bar .a-circle { width: 42px; height: 42px; background: rgba(255, 255, 255, .3); }
.a-dock__text { flex: 1; text-align: center; opacity: .95; }
.a-dock__kbd { margin-right: 8px; font-family: var(--mono); font-size: 12px; background: rgba(255, 255, 255, .28); padding: 3px 8px; border-radius: 8px; }

/* ---------------------------------------------------------------- overlays */
dialog.a-drawer { position: fixed; inset: 14px 14px 14px auto; margin: 0; width: min(600px, calc(100vw - 28px)); max-width: calc(100vw - 28px); height: calc(100dvh - 28px); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid rgba(255, 255, 255, .75); border-radius: 30px; background: linear-gradient(160deg, rgba(255, 255, 255, .62), rgba(236, 246, 252, .34)); backdrop-filter: blur(38px) saturate(1.7); -webkit-backdrop-filter: blur(38px) saturate(1.7); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-pop); display: none; flex-direction: column; overflow: hidden; }
dialog.a-drawer[open] { display: flex; animation: a-slide .42s cubic-bezier(.16, .84, .24, 1) both; }
dialog.a-drawer::backdrop, dialog.a-modal::backdrop, dialog.a-palette::backdrop { background: radial-gradient(900px 600px at 80% 20%, rgba(255, 255, 255, .18), transparent 70%), rgba(10, 30, 60, .34); backdrop-filter: blur(9px) saturate(1.2); -webkit-backdrop-filter: blur(9px) saturate(1.2); animation: a-fade .25s both; }
@keyframes a-slide { from { transform: translateX(46px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } } @keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }
.a-drawer__head { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 12px; padding: 26px 26px 24px; color: #fff; background: radial-gradient(420px 240px at 92% -10%, var(--c1), transparent 62%), radial-gradient(360px 220px at 6% 120%, var(--c2), transparent 64%), linear-gradient(135deg, var(--s1), var(--s2)); border-bottom: 1px solid rgba(255, 255, 255, .55); }
.a-drawer__head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); animation: a-sweep 7s ease-in-out 1s infinite; pointer-events: none; }
.a-drawer__head > * { position: relative; z-index: 1; } .a-drawer__head h2 { font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1.08; text-shadow: 0 2px 24px rgba(10, 40, 80, .35); } .a-drawer__head p { font-size: 13.5px; color: rgba(255, 255, 255, .9); margin-top: 6px; }
.a-drawer__head .a-btn { background: rgba(255, 255, 255, .28); border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(12px); } .a-drawer__head .a-btn:hover { background: rgba(255, 255, 255, .45); }
@keyframes a-sweep { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.a-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; display: grid; gap: 16px; align-content: start; }
.a-drawer[open] .a-drawer__body > div > *, .a-drawer[open] .a-drawer__body > * { animation: a-rise .6s var(--ease) both; }
.a-drawer[open] .a-drawer__body > div > *:nth-child(2) { animation-delay: .06s; } .a-drawer[open] .a-drawer__body > div > *:nth-child(3) { animation-delay: .12s; } .a-drawer[open] .a-drawer__body > div > *:nth-child(4) { animation-delay: .18s; } .a-drawer[open] .a-drawer__body > div > *:nth-child(5) { animation-delay: .24s; } .a-drawer[open] .a-drawer__body > div > *:nth-child(6) { animation-delay: .3s; } .a-drawer[open] .a-drawer__body > div > *:nth-child(n+7) { animation-delay: .36s; }
.a-drawer__foot { padding: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .7); display: flex; gap: 10px; justify-content: flex-end; background: rgba(255, 255, 255, .45); backdrop-filter: blur(14px); }
dialog.a-modal { width: min(440px, calc(100vw - 32px)); border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px; padding: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(240, 248, 252, .6)); backdrop-filter: blur(34px) saturate(1.6); -webkit-backdrop-filter: blur(34px) saturate(1.6); color: var(--ink); box-shadow: var(--shadow-pop); }
dialog.a-modal[open] { animation: a-pop .22s var(--ease) both; } @keyframes a-pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.a-modal__body { padding: 24px; display: grid; gap: 8px; } .a-modal__body h2 { font-size: 19px; font-weight: 600; } .a-modal__body p { color: var(--ink-2); } .a-modal__foot { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 22px; }
dialog.a-palette { width: min(620px, calc(100vw - 24px)); margin: 12vh auto auto; border: 1px solid rgba(255, 255, 255, .8); border-radius: 28px; padding: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(238, 247, 252, .56)); backdrop-filter: blur(38px) saturate(1.7); -webkit-backdrop-filter: blur(38px) saturate(1.7); box-shadow: var(--shadow-pop); color: var(--ink); overflow: hidden; }
dialog.a-palette[open] { animation: a-pop .2s var(--ease) both; }
.a-palette__in { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); } .a-palette__in input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); min-height: 40px; } .a-palette__in svg { color: var(--ink-3); }
.a-palette__list { max-height: 52vh; overflow-y: auto; padding: 8px; display: grid; gap: 2px; }
.a-palette__label { padding: 10px 12px 4px; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.a-palette__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 0; background: none; width: 100%; text-align: left; cursor: pointer; }
.a-palette__item:hover, .a-palette__item[aria-selected="true"] { background: rgba(43, 147, 190, .14); }
.a-palette__item .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sky-1); box-shadow: 0 1px 3px rgba(10, 58, 88, .15); }
.a-palette__item div { display: grid; min-width: 0; } .a-palette__item strong { font-weight: 600; } .a-palette__item span.s { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-toasts { position: fixed; right: 20px; bottom: 96px; display: grid; gap: 10px; z-index: 200; pointer-events: none; }
.a-toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 999px; background: rgba(15, 45, 66, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .25); color: #fff; box-shadow: var(--shadow-pop); font-weight: 500; font-size: 14px; max-width: min(420px, calc(100vw - 40px)); animation: a-slide .26s var(--ease) both; } .a-toast--bad { background: var(--bad); } .a-toast--ok svg { color: #86EFAC; }
.a-skel { border-radius: var(--r); background: linear-gradient(90deg, rgba(255, 255, 255, .35) 25%, rgba(255, 255, 255, .6) 37%, rgba(255, 255, 255, .35) 63%); background-size: 400% 100%; animation: a-shimmer 1.4s ease infinite; } @keyframes a-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------------------------------------------------------------- sign-in */
.a-auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px; position: relative; }
.a-auth__card { width: min(440px, 100%); display: grid; gap: 22px; padding: 34px; }
.a-auth__brand { display: flex; align-items: center; gap: 12px; } .a-auth__brand img { width: 40px; height: 40px; } .a-auth__brand strong { font-size: 20px; font-weight: 600; }
.a-auth__card h1 { font-size: 30px; font-weight: 300; letter-spacing: -.03em; } .a-auth__card p { color: var(--ink-3); } .a-auth form { display: grid; gap: 14px; }
.a-demo { padding: 12px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); display: grid; gap: 8px; font-size: 13px; color: var(--ink-3); }
.a-demostrip { position: relative; z-index: 31; background: var(--navy); color: #fff; font-size: 13px; text-align: center; padding: 7px 12px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .ov-hero { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); } .ov-side { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a-grid--kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a-split, .a-split--rev, .ov-bottom { grid-template-columns: 1fr; } .a-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-pill-link span.t { display: none; } .a-pill-link { padding: 0 14px; } .a-pill-link[aria-current="page"] span.t { display: inline; }
}
@media (max-width: 880px) {
  .a-top { display: none; }
  .a-mobilebar { display: flex; align-items: center; gap: 8px; padding: 14px 16px 0; position: sticky; top: 0; z-index: 30; }
  .a-mobilebar .a-brand { margin-right: auto; }
  .a-main { padding: 0 16px 150px; }
  .a-hero { padding: 22px 0 18px; } .a-hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .ov-hero { grid-template-columns: 1fr; min-height: 0; gap: 16px; } .ov-side { grid-template-columns: 1fr; }
  .ov-kpi__value { font-size: 36px; }
  .ov-widgets { grid-template-columns: 1fr; } .a-grid--kpi, .a-grid--2, .a-grid--3 { grid-template-columns: 1fr; } .a-choices, .a-choices--2 { grid-template-columns: 1fr; }
  .a-dock, .a-dock-btn.d { display: none; }
  .a-tabbar { display: flex; justify-content: space-between; gap: 4px; position: fixed; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .75); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 20px 40px -20px rgba(10, 58, 88, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
  .a-tabbar a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background .2s var(--ease); }
  .a-tabbar a span.t { display: none; } .a-tabbar a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(10, 58, 88, .6); } .a-tabbar a[aria-current="page"] span.t { display: inline; }
  .a-tabbar .a-badge { position: absolute; top: 6px; right: 6px; background: var(--amber-2); color: #fff; font-size: 10px; padding: 0 5px; border-radius: 999px; font-weight: 650; }
  .a-toasts { left: 16px; right: 16px; bottom: 90px; }
  .a-thead { display: none; }
  .a-tr, .a-tr--invites { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'who status' 'meta meta'; row-gap: 8px; padding: 14px 18px; min-height: 0; }
  .a-tr > :nth-child(1) { grid-area: who; } .a-tr > :nth-child(3) { grid-area: status; justify-self: end; } .a-tr > .a-hide-sm { display: none; }
  .a-tr .a-meta-sm { grid-area: meta; display: flex !important; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-3); } .a-tr__chev { display: none; }
  dialog.a-drawer { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 92dvh; border-radius: 28px 28px 0 0; } dialog.a-drawer[open] { animation: a-up .3s var(--ease) both; }
  dialog.a-palette { margin-top: 8vh; }
  .a-stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 881px) { .a-meta-sm { display: none !important; } }
@keyframes a-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 520px) { .a-auth__card { padding: 26px; } .a-hero__actions { margin-left: 0; width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* ---------------------------------------------------------------- motion (time-based only: no cursor effects) */
@keyframes a-rise { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes a-grow { from { transform: scaleY(.05); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }
.a-enter .a-hero, .a-enter .a-card, .a-enter .ov-action, .a-enter .a-clear, .a-enter .a-switch { animation: a-rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.a-enter .a-tick { transform-origin: bottom; animation: a-grow .9s var(--ease) both; animation-delay: calc(.35s + var(--t, 0) * 14ms); }
.a-enter .a-dotcol i.on { animation: a-pop-dot .5s var(--ease) both; animation-delay: calc(.5s + var(--d, 0) * 40ms); }
@keyframes a-pop-dot { from { transform: scale(0); } to { transform: scale(1); } }
.a-enter .a-ruler__mark { transform-origin: right; animation: a-rise .9s var(--ease) .6s both; }
.ov-kpi { overflow: hidden; }
.ov-kpi::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); transform: translateX(-130%); animation: a-sweep 9s ease-in-out 2s infinite; pointer-events: none; }
.ov-widgets .a-card, .a-plan, .ov-kpi { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .ov-widgets .a-card:hover, .a-plan:hover, .ov-kpi:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 28px 54px -26px rgba(10, 58, 88, .6), 0 2px 6px rgba(10, 58, 88, .06); } }
.a-card--flat:hover, .a-auth__card:hover { transform: none !important; }

/* company delete + extra users */
.a-danger { border-color: rgba(214, 69, 69, 0.45); background: rgba(255, 241, 239, 0.6); }
.a-stepper__n { min-width: 2.2ch; text-align: center; font-size: 1.3rem; }
.a-modal .a-check { margin-top: 12px; }
.a-modal button[disabled], .a-modal button[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

/* Leads (0016) */
.a-tr--leads { cursor: default; } .a-tr--leads:hover { background: none; }
.a-thead--leads, .a-tr--leads { grid-template-columns: minmax(0, 2fr) 1.3fr 1.1fr 1.1fr 1fr 90px; }
@media (max-width: 760px) { .a-thead--leads { display: none; } .a-tr--leads { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; padding: 14px 18px; min-height: 0; } }
.a-thead--leads, .a-tr--leads { grid-template-columns: minmax(0, 2fr) 1.2fr 1fr 1fr .9fr minmax(150px, 1.3fr); }
.a-lead-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
