/* AGS ORBIT — clean & professional finish.
   Loaded last on every page: flat white surfaces, hairline borders, soft neutral shadows,
   solid brand colours. No glass blur, sheen, glow or floating blobs. Light theme only. */

:root {
  --bg: #f5f7fb;
  --bg-2: #f5f7fb;
  --text: #0f172a;
  --muted: #526079;
  --faint: #8a96ab;
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --glass-soft: #f4f6fa;
  --stroke: #e3e8f0;
  --stroke-soft: #edf0f5;
  --highlight: 0 0 0 transparent;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
  --blur: none;
  --tint: #eef4ff;
  --blue: #1f6fe5;
  color-scheme: light;
}
html, body { background: var(--bg) !important; }
.bg-orbs { display: none !important; }

/* Surfaces */
.glass {
  background: #fff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: 1px solid var(--stroke) !important;
  box-shadow: var(--shadow) !important;
}
.glass::before, .glass::after { display: none !important; }
.inset { background: #f7f9fc !important; border: 1px solid var(--stroke-soft) !important; }
.glass.card:hover, .glass.kpi:hover, .tpl:hover, .owner-tile:hover, .os-card:hover, .ws-tile:hover {
  transform: none !important;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.07) !important;
  border-color: #d6dde8 !important;
}
.view .glass.card, .view .glass.kpi, .view .glass.banner { border-radius: 14px !important; }

/* Buttons: solid, no glow or shine */
.btn {
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-radius: 10px;
}
.btn:hover { transform: none !important; background: #f7f9fc; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important; }
.btn.primary {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
  filter: none !important;
}
.btn.primary:hover { background: #1a5fca !important; border-color: #1a5fca !important; }
.btn.primary::after { display: none !important; }
.btn.navy { background: #0f2a5f !important; }
.btn.ghost { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.btn.ghost:hover { background: #f1f4f9 !important; }
.chip { box-shadow: none !important; }
.chip:hover { transform: none !important; }
.badge { box-shadow: none !important; }

/* Sidebar: glossy navy (the one glossy surface; everything else stays flat) */
:root:not(#_) .side.glass {
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(79, 195, 255, 0.22), transparent 55%),
    radial-gradient(90% 50% at 100% 100%, rgba(123, 108, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #0f2a78 0%, #0b1f5e 42%, #08164a 100%) !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04), 8px 0 40px rgba(8, 22, 74, 0.18) !important;
}
:root:not(#_) .side.glass::before {
  display: block !important;
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)) !important;
  pointer-events: none;
}
:root:not(#_) .side .side-brand.logo-plate {
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%) !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(30, 136, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}
:root:not(#_) .side nav a.on {
  background: linear-gradient(90deg, rgba(30, 136, 255, 0.34), rgba(30, 136, 255, 0.1)) !important;
  box-shadow: inset 3px 0 0 #4fc3ff, inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 18px -8px rgba(30, 136, 255, 0.7) !important;
}
:root:not(#_) .side nav a.on svg { color: #4fc3ff; }
:root:not(#_) .side .me { background: rgba(255, 255, 255, 0.06) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; }
:root:not(#_) .side .me .avatar { background: linear-gradient(135deg, #4fc3ff, #1e88ff 55%, #7b6cff) !important; box-shadow: 0 4px 12px rgba(30, 136, 255, 0.4) !important; }
.view .avatar { background: #1f6fe5 !important; color: #fff !important; box-shadow: none !important; font-size: 13px; letter-spacing: .02em; }

/* Headings & labels */
.page-head h1 .grad, .grad-name, .grad, .pop-grad {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--blue) !important;
}
.page-head > div:first-child > .tiny:first-child {
  background: #eef4ff !important;
  border: 1px solid #d6e4ff !important;
  box-shadow: none !important;
  color: #1f5fc8 !important;
}
.page-head > div:first-child > .tiny:first-child::before { box-shadow: none !important; background: #1f6fe5 !important; }

/* Icon tiles, steps, pills: flat */
.kpi-ico, .owner-tile .kpi-ico { box-shadow: none !important; }
.how-dot.done span, .how-card.done .how-num, .ip2-steps li span, .ip-icon, .ip2-icon, .ws-ico { box-shadow: none !important; }
.how-dot.done span, .how-card.done .how-num { background: #1f6fe5 !important; }
.ws-ico { background: #f97316 !important; }
.tpl-orb { display: none !important; }
.tpl-banner { background: var(--bg) !important; }
.tpl-pill { box-shadow: none !important; }
.ip-icon, .ip2-icon { animation: none !important; }
.ai-fab { box-shadow: 0 4px 14px rgba(16, 24, 40, 0.18) !important; background: var(--blue) !important; }
.os-rec, .plan-tag { box-shadow: none !important; background: var(--blue) !important; }
.alert-dot { box-shadow: none !important; }

/* Pricing (home page) */
.plan.featured { border: 2px solid var(--blue) !important; box-shadow: 0 6px 20px rgba(31, 111, 229, 0.12) !important; }
.plan, .plan.featured { font-weight: 400; }
.plan-tag { top: -12px; }
.demo-steps button.on { box-shadow: none !important; }

/* Modals: plain white */
.modal-back { background: rgba(15, 23, 42, 0.35) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.modal { background: #fff !important; box-shadow: var(--shadow-lg) !important; }

/* ---------- Full-width layout & typography (matches the app's dashboard style) ---------- */
:root { --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --display: 'Outfit', 'IBM Plex Sans', system-ui, sans-serif; }
body, button, input, select, textarea { font-family: var(--font); }
h1, h2, h3, h4, .page-head h1, .bill-price b, .hist-big, .sec-title h2, .kpi .value, .price .amt, .tpl-hero, .ws-head h3, .how-card h3 { font-family: var(--display); }
.page-head h1 { letter-spacing: -0.025em; font-weight: 700; }
h2, h3 { letter-spacing: -0.02em; }

/* App: content uses the whole width beside the sidebar */
.main { min-width: 0; }
.view { max-width: none !important; width: 100%; margin: 0 !important; padding: 40px 40px 90px !important; }
.bill-addons { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

/* Home page: sections span the full screen with even side gutters */
.container { width: 100% !important; max-width: none !important; padding-left: clamp(24px, 4.5vw, 80px) !important; padding-right: clamp(24px, 4.5vw, 80px) !important; }
.sec-head { max-width: 860px; }
.faq { max-width: 1100px; }
/* Home page top bar: full width, flush edge-to-edge */
.nav-wrap { padding: 0 !important; background: #fff; border-bottom: 1px solid var(--stroke); }
.nav { width: 100% !important; max-width: none !important; border-radius: 0 !important; border: 0 !important; box-shadow: none !important; padding: 10px clamp(24px, 4.5vw, 80px) !important; }

/* ---------- Glass surfaces (frosted, no glow) ---------- */
html, body {
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(30, 136, 255, 0.10), transparent 60%),
    radial-gradient(50vw 45vh at 10% 110%, rgba(30, 136, 255, 0.08), transparent 60%),
    #f3f6fb !important;
  background-attachment: fixed !important;
}
.glass {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 0 1px rgba(15, 35, 90, 0.05), 0 4px 18px rgba(15, 35, 90, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
.glass.card:hover, .glass.kpi:hover, .tpl:hover { box-shadow: 0 0 0 1px rgba(15, 35, 90, 0.07), 0 8px 26px rgba(15, 35, 90, 0.09), inset 0 1px 0 #fff !important; }
.inset { background: rgba(248, 250, 253, 0.75) !important; }
.dom-box { background: rgba(255, 255, 255, 0.6) !important; }
.modal { background: rgba(255, 255, 255, 0.94) !important; -webkit-backdrop-filter: blur(18px) !important; backdrop-filter: blur(18px) !important; }

/* ---------- Buttons: smaller, green primary ---------- */
.btn { padding: 8px 14px !important; font-size: 13px !important; border-radius: 9px !important; gap: 6px; }
.btn.sm { padding: 5px 10px !important; font-size: 12px !important; border-radius: 8px !important; }
.btn.lg { padding: 11px 20px !important; font-size: 14.5px !important; }
.page-head > .btn.primary, .page-head .row > .btn.primary { padding: 9px 16px !important; font-size: 13.5px !important; border-radius: 10px !important; }
.btn.primary { background: #1e88ff !important; border-color: #1e88ff !important; color: #fff !important; }
.btn.primary:hover { background: #1570e6 !important; border-color: #1570e6 !important; }
.btn.primary:disabled { background: #a9cdfa !important; border-color: #a9cdfa !important; }
.seg button.on, .chip.on { background: #1e88ff !important; color: #fff !important; border-color: #1e88ff !important; }
.pills { display: inline-flex; gap: 6px; }
.pills button { font: 600 12px var(--font); padding: 5px 12px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255,255,255,.8); color: #475569; cursor: pointer; }
.pills button.on { background: #1e88ff; border-color: #1e88ff; color: #fff; }

/* ---------- Deliverability tiles ---------- */
.d-tile .d-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.d-tile .value { font-size: 30px !important; margin: 10px 0 4px !important; }
.d-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.d-ico svg { width: 16px; height: 16px; }
.d-ico.green { color: #1e88ff; background: #eef5ff; }
.d-ico.amber { color: #f59e0b; background: #fffbeb; }
.d-ico.red { color: #ef4444; background: #fef2f2; }
.notice-amber { padding: 12px 16px; border-radius: 10px; font-size: 13px; color: #92400e; background: #fff7ed; border: 1px solid #fed7aa; }
table.t td.center, table.t th.center { text-align: center; }

/* ---------- Billing: four plans across, green accents (as in the reference) ---------- */
.bill-bar { gap: 14px !important; margin-bottom: 26px; }
.bill-bar .seg button { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; }
.bill-cyc { margin: 0 !important; }
.save-pill { margin-left: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 99px; background: #1e88ff; color: #fff; }
.seg button.on .save-pill { background: #fff; color: #1570e6; }
@media (min-width: 1360px) { .bill-plans { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; } }
.bill-plan { padding: 26px 24px 24px !important; }
.bill-plan.pop-plan { border: 2px solid #1e88ff !important; box-shadow: 0 0 0 4px rgba(30, 136, 255, 0.08), 0 18px 44px -12px rgba(30, 136, 255, 0.35) !important; }
.bill-tag { background: #1570e6 !important; box-shadow: 0 6px 16px -4px rgba(30, 136, 255, 0.6); }
.bill-ico { color: #475569; background: #f1f5f9; border-color: #e2e8f0; }
.plan-growth .bill-ico, .plan-enterprise .bill-ico { color: #1570e6; background: #eef5ff; border-color: #d6e6ff; }
.plan-agency .bill-ico { color: #0891b2; background: #ecfeff; border-color: #cffafe; }
.bill-head { color: #1570e6 !important; background: #eef5ff !important; border-color: #cfe2ff !important; }
.plan-starter .bill-head { color: #475569 !important; background: #f8fafc !important; border-color: #e2e8f0 !important; }
.bill-feats svg { color: #1e88ff !important; }
.plan-starter .bill-feats svg { color: #94a3b8 !important; }
.bill-price b { font-size: 44px !important; }
.bill-trust svg { color: #1e88ff !important; }

/* ---------- Motion on hover + a light glow across the app ---------- */
:root { --glow: 0 0 0 1px rgba(30, 136, 255, 0.18), 0 10px 30px -8px rgba(30, 136, 255, 0.28), 0 4px 14px rgba(30, 136, 255, 0.08); }
.glass.card, .glass.kpi, .tpl, .bill-plan, .bill-addon, .dom-box, .how-card, .w-card, .os-card {
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease !important;
  box-shadow: 0 0 0 1px rgba(15, 35, 90, 0.05), 0 4px 18px rgba(30, 136, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}
.view .glass.card:hover, .view .glass.kpi:hover, .tpl:hover, .bill-plan:hover, .bill-addon:hover, .dom-box:hover, .how-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--glow), inset 0 1px 0 #fff !important;
  border-color: rgba(30, 136, 255, 0.35) !important;
}
.bill-plan.pop-plan:hover { box-shadow: 0 0 0 4px rgba(30, 136, 255, 0.12), 0 24px 50px -12px rgba(30, 136, 255, 0.45) !important; }
.btn { transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease !important; }
.btn:hover:not(:disabled) { transform: translateY(-1px) !important; box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.14), 0 6px 16px -6px rgba(15, 35, 90, 0.25) !important; }
.btn.primary:hover:not(:disabled) { box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.22), 0 10px 22px -8px rgba(30, 136, 255, 0.7) !important; }
.btn:active:not(:disabled) { transform: translateY(0) scale(.97) !important; }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, .seg button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.35) !important; }
.chip, .seg button, .pills button { transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.chip:hover, .pills button:hover, .seg button:hover:not(.on) { transform: translateY(-1px) !important; box-shadow: 0 4px 12px -4px rgba(30, 136, 255, 0.35); }
input, select, textarea { transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: #1e88ff !important; box-shadow: 0 0 0 3px rgba(30, 136, 255, 0.16) !important; outline: none; }
table.t tbody tr { transition: background .15s ease, box-shadow .15s ease; }
table.t tbody tr:hover { background: rgba(30, 136, 255, 0.05) !important; box-shadow: inset 3px 0 0 #1e88ff; }
.view a:not(.btn):not(.chip):not(.how-dot):not(.owner-tile) { transition: color .15s ease; }
.kpi-ico, .d-ico, .bill-ico, .w-ring { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.glass.kpi:hover .kpi-ico, .d-tile:hover .d-ico, .bill-plan:hover .bill-ico { transform: scale(1.1) rotate(-4deg); }
:root:not(#_) .side nav a:hover { transform: translateX(3px) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
@media (prefers-reduced-motion: reduce) { .glass.card, .glass.kpi, .tpl, .bill-plan, .btn, .chip { transition: none !important; } .view .glass.card:hover, .btn:hover { transform: none !important; } }

/* Logo palette for accents: navy #0b1f6b → orbit blue #1e88ff → cyan #4fc3ff */
:root { --glow: 0 0 0 1px rgba(30, 136, 255, 0.22), 0 12px 32px -10px rgba(30, 136, 255, 0.40), 0 4px 16px rgba(79, 195, 255, 0.14); }
.btn.primary { background: linear-gradient(135deg, #1e88ff 0%, #1570e6 100%) !important; border-color: #1a7af2 !important; }
.btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, #2b93ff 0%, #0b5fd6 100%) !important; }
.bill-tag, .plan-tag { background: linear-gradient(90deg, #0b1f6b, #1e88ff) !important; box-shadow: 0 6px 16px -4px rgba(30, 136, 255, 0.55) !important; }
.bill-plan.pop-plan { border: 2px solid #1e88ff !important; box-shadow: 0 0 0 4px rgba(79, 195, 255, 0.12), 0 18px 44px -12px rgba(30, 136, 255, 0.42) !important; }
.bill-plan.pop-plan:hover { box-shadow: 0 0 0 5px rgba(79, 195, 255, 0.16), 0 26px 54px -12px rgba(30, 136, 255, 0.5) !important; }
.plan-agency .bill-ico { color: #0b1f6b; background: #eef2fb; border-color: #dbe3f5; }

/* ---------- Home page: cursor glow + ring, card hover motion ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(79, 195, 255, 0.16) 0%, rgba(30, 136, 255, 0.08) 35%, transparent 70%); opacity: 0; transition: opacity .4s ease; will-change: transform; }
.cursor-ring { position: fixed; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; pointer-events: none; z-index: 9999;
  border: 1.5px solid rgba(30, 136, 255, 0.55); opacity: 0; transition: opacity .3s ease, width .2s ease, height .2s ease, margin .2s ease, background .2s ease, border-color .2s ease; will-change: transform; }
.cursor-on .cursor-glow { opacity: 1; }
.cursor-on .cursor-ring { opacity: 1; }
.cursor-ring.hot { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(30, 136, 255, 0.10); border-color: #1e88ff; box-shadow: 0 0 18px rgba(79, 195, 255, 0.45); }
.cursor-ring.card { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-color: rgba(79, 195, 255, 0.8); }
.cursor-ring.down { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: rgba(30, 136, 255, 0.22); }
body > section, body > main, body > footer, section.container { position: relative; z-index: 1; }
.nav-wrap { z-index: 30 !important; }
.plan, .glass.card.sol, .glass.card.int, .glass.card.step, .glass.card.pillar, .glass.card.addon, .glass.card.cta-final {
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease !important; }
.plan:hover, .glass.card.sol:hover, .glass.card.int:hover, .glass.card.step:hover, .glass.card.pillar:hover, .glass.card.addon:hover {
  transform: translateY(-4px) !important; box-shadow: var(--glow), inset 0 1px 0 #fff !important; border-color: rgba(30, 136, 255, 0.35) !important; }
.plan.featured:hover { box-shadow: 0 0 0 5px rgba(79, 195, 255, 0.16), 0 26px 54px -12px rgba(30, 136, 255, 0.5) !important; }
.nav-links a { transition: color .2s ease, background .2s ease, transform .2s ease; }
.nav-links a:hover { transform: translateY(-1px); color: #1e88ff !important; }
.plan li::before { background: #eef5ff !important; color: #1e88ff !important; }
.badge.ok.home-tick, .chips .badge.ok { background: #eef5ff; color: #1570e6; border-color: #cfe2ff; }
.foot-mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; color: #1e88ff; }
.foot-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.foot-badges span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; color: #1570e6; background: #eef5ff; border: 1px solid #cfe2ff; }
/* Home: "Works with" card */
.works-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 20px 24px; border-radius: 16px !important; }
.works-label { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #64748b; }
.works-list { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.works-pill { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 10px; border-radius: 12px; background: #fff; border: 1px solid #e3e8f0; font-weight: 600; font-size: 14px; color: #1e293b; box-shadow: 0 1px 2px rgba(15,35,90,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.works-pill:hover { transform: translateY(-2px); border-color: rgba(30,136,255,.35); box-shadow: var(--glow); }
.works-pill i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1px solid #edf0f5; flex: none; }
.works-pill i img { width: 17px; height: 17px; object-fit: contain; }
.works-pill i img.wide { width: 24px; }
.works-pill i svg { width: 17px; height: 17px; }
/* Demo tour: the highlighted control is never lifted or clipped by hover effects */
.demo-pane .btn, .demo-pane .btn:hover { transform: none !important; }
.demo-ring { border-radius: 12px; background: transparent !important; }
.demo-callout.side-l::after { left: auto; right: -6px; top: 50%; bottom: auto; margin-top: -6px; border: 6px solid transparent; border-right: 0; border-left-color: #1e88ff; }
.demo-callout.side-r::after { left: -6px; top: 50%; bottom: auto; margin-top: -6px; border: 6px solid transparent; border-left: 0; border-right-color: #1e88ff; }

.bill-addons.bill-ao { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ao-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 18px; font-size: 12.5px; color: #475569; }
.ao-flow > div { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid #e3e8f0; }
.ao-flow span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #4fc3ff, #1e88ff); }
.ao-flow i { font-style: normal; color: #94a3b8; }
/* Builder toggles: always a full-width row, text on one line beside the switch */
.step-card > label.switch, .view section > label.switch { display: flex !important; width: 100% !important; max-width: none !important; flex-wrap: nowrap; align-items: center; gap: 12px; }
label.switch > i { flex: 0 0 46px !important; }
label.switch { white-space: normal; }
label.switch .small { margin-left: 4px; }

/* Simple pitch writer */
.sw-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; }
.sw-grid textarea { width: 100%; font: inherit; }
.sw-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.sw-tags .chip { font-size: 11.5px; padding: 3px 9px; }
.sw-prev-label { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.sw-prev { white-space: pre-wrap; font-size: 14px; line-height: 1.6; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--stroke); min-height: 220px; color: #1e293b; }
.sw-meter { margin-top: 8px; font-size: 12.5px; color: #64748b; }
.sw-tips { margin: 10px 0 0; padding-left: 18px; }
.sw-tips li { margin: 3px 0; }
.cta-final .cta-logo { display: block; height: 140px; width: auto; max-width: 420px; margin: 0 auto 14px; object-fit: contain; }
.foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr !important; }

/* Plan buttons: short label that always fits, payment details on a line below */
.bill-cta { white-space: normal; line-height: 1.25; min-height: 44px; overflow: hidden; }
.bill-cta svg { flex: none; }
.bill-cta-note { margin-top: 8px; text-align: center; font-size: 12px; color: #64748b; }

.bill-addon .bill-cta { margin-top: auto; }
.bill-addon > :nth-last-child(2) { margin-bottom: 16px; }

/* Admin: manage-member panel */
.mm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mm-kpi { padding: 12px 14px; border: 1px solid var(--stroke, #e2e8f0); border-radius: 12px; background: #fff; }
.mm-kpi .label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.mm-kpi .value { font-size: 22px; font-weight: 800; margin-top: 2px; }
.mm-form { padding: 14px; border: 1px solid var(--stroke, #e2e8f0); border-radius: 12px; background: #f8fafc; margin-bottom: 12px; }
@media (max-width: 720px) { .mm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sidebar: light, in the logo's white and sky-blue */
:root:not(#_):not(#__) .side.glass {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 55%, #e6f1ff 100%) !important;
  border: 0 !important;
  border-right: 1px solid #dbe7f7 !important;
  box-shadow: 4px 0 24px rgba(30, 136, 255, 0.07) !important;
}
:root:not(#_):not(#__) .side.glass::before { display: none !important; }
:root:not(#_):not(#__) .side .side-brand.logo-plate { background: transparent !important; box-shadow: none !important; }
:root:not(#_):not(#__) .side .side-brand.logo-plate:hover { box-shadow: none !important; }
:root:not(#_):not(#__) .side nav a { color: #33466b !important; }
:root:not(#_):not(#__) .side nav a svg { color: #6f86ad !important; }
:root:not(#_):not(#__) .side nav a:hover { background: #e9f2ff !important; color: #0b2a66 !important; box-shadow: none !important; }
:root:not(#_):not(#__) .side nav a:hover svg { color: #1e88ff !important; }
:root:not(#_):not(#__) .side nav a.on { background: linear-gradient(90deg, #1e88ff, #3aa0ff) !important; color: #fff !important; box-shadow: 0 6px 16px -6px rgba(30, 136, 255, 0.55) !important; }
:root:not(#_):not(#__) .side nav a.on svg { color: #fff !important; }
:root:not(#_):not(#__) .side .side-foot { border-top: 1px solid #dbe7f7 !important; }
:root:not(#_):not(#__) .side .me { background: #ffffff !important; border: 1px solid #dbe7f7 !important; }
:root:not(#_):not(#__) .side #meName { color: #0f172a !important; }
:root:not(#_):not(#__) .side #meEmail { color: #64748b !important; }
:root:not(#_):not(#__) .side .badge.blue { background: #e6f1ff !important; color: #1565d8 !important; border-color: #c5ddfb !important; }
:root:not(#_):not(#__) .side .side-btn { color: #33466b !important; }
:root:not(#_):not(#__) .side .side-btn svg { color: #6f86ad !important; }
:root:not(#_):not(#__) .side .side-btn:hover { background: #e9f2ff !important; color: #0b2a66 !important; }
:root:not(#_):not(#__) .side .side-btn:hover svg { color: #1e88ff !important; }
:root:not(#_):not(#__) .side .side-btn.danger:hover { color: #d92d3a !important; background: #ffecee !important; }
:root:not(#_):not(#__) .side .side-btn-val { color: #7c8db0 !important; }
.side::-webkit-scrollbar-thumb { background: rgba(30, 136, 255, 0.2) !important; }

/* ---------- Motion: smooth, quick, never in the way ---------- */
:root { --ease-out: cubic-bezier(.2,.8,.2,1); --ease-in: cubic-bezier(.4,0,1,1); }
/* Page change: header and each block rise in, one after another */
.view-enter > .view-pane > *, .view-enter > :not(.view-pane) { animation: agsRise .42s var(--ease-out) both; }
.view-enter > .view-pane > :nth-child(2) { animation-delay: 40ms; }
.view-enter > .view-pane > :nth-child(3) { animation-delay: 80ms; }
.view-enter > .view-pane > :nth-child(4) { animation-delay: 120ms; }
.view-enter > .view-pane > :nth-child(n+5) { animation-delay: 160ms; }
/* Table rows slide in in a short cascade */
.view-enter table.t tbody tr { animation: agsRow .38s var(--ease-out) both; }
.view-enter table.t tbody tr:nth-child(2) { animation-delay: 30ms; } .view-enter table.t tbody tr:nth-child(3) { animation-delay: 60ms; }
.view-enter table.t tbody tr:nth-child(4) { animation-delay: 90ms; } .view-enter table.t tbody tr:nth-child(5) { animation-delay: 120ms; }
.view-enter table.t tbody tr:nth-child(n+6) { animation-delay: 150ms; }
/* Dialogs: backdrop fades, panel scales up gently; reverse on close */
.modal-back { animation: agsFade .18s ease both; }
.modal-back .modal { animation: agsPop .24s var(--ease-out) both !important; }
.modal-back.closing { animation: agsFadeOut .16s var(--ease-in) both; }
.modal-back.closing .modal { animation: agsPopOut .16s var(--ease-in) both !important; }
/* Notifications drop in from the top and fade away */
.toast { animation: agsDrop .3s var(--ease-out) both !important; }
.toast.out { animation: agsFadeUp .3s var(--ease-in) both !important; }
/* Buttons and chips press down slightly when clicked */
.btn:active:not(:disabled), .chip:active, .seg button:active { transform: scale(.97) !important; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
/* Sidebar: active item and hover glide */
:root:not(#_):not(#__) .side nav a { transition: background .2s ease, color .2s ease, transform .2s var(--ease-out), box-shadow .25s ease !important; }
:root:not(#_):not(#__) .side nav a.on { animation: agsNavOn .3s var(--ease-out); }
/* Live things breathe: running status and the follow-up count */
.badge.ok.live, .side nav a .count { animation: agsPulse 2.4s ease-in-out infinite; }
/* Loading spinner fades in so quick loads never flash */
.empty .spin { animation: rot .7s linear infinite, agsFade .3s ease .15s both; }
/* Inputs: focus ring grows in */
input:focus, select:focus, textarea:focus { transition: border-color .2s ease, box-shadow .25s var(--ease-out) !important; }
@keyframes agsRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes agsRow { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes agsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes agsFadeOut { to { opacity: 0; } }
@keyframes agsPop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes agsPopOut { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes agsDrop { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes agsFadeUp { to { opacity: 0; transform: translateY(-8px); } }
@keyframes agsNavOn { from { transform: translateX(-4px); opacity: .7; } to { transform: none; opacity: 1; } }
@keyframes agsPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } 50% { box-shadow: 0 0 0 4px rgba(34,197,94,.14); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ---------- Visual polish v2: depth, light and lively details ---------- */
/* Soft, slowly drifting brand glow behind every page */
.main { position: relative; isolation: isolate; }
.main::before, .main::after { content: ''; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; }
.main::before { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(79,195,255,.30), transparent 65%); animation: agsDrift 18s ease-in-out infinite alternate; }
.main::after { width: 460px; height: 460px; bottom: -180px; left: 260px; background: radial-gradient(circle, rgba(123,108,255,.20), transparent 65%); animation: agsDrift 22s ease-in-out infinite alternate-reverse; }
@keyframes agsDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }

/* Page title: a short brand underline that draws in */
.page-head h1 { position: relative; }
.page-head h1::after { content: ''; position: absolute; left: 2px; bottom: -6px; height: 3px; width: 44px; border-radius: 3px; background: linear-gradient(90deg, #1e88ff, #4fc3ff); transform-origin: left; animation: agsLine .6s var(--ease-out) .15s both; }
@keyframes agsLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* Cards: lift with a soft blue glow ring on hover */
.view .glass.card, .view .glass.kpi { transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease !important; }
.view .glass.kpi:hover, .view .glass.card.lift:hover, .view .tpl:hover, .view .bill-plan:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 0 0 1px rgba(30,136,255,.18), 0 16px 34px -14px rgba(30,136,255,.35) !important;
  border-color: rgba(30,136,255,.25) !important;
}
.view .glass.kpi:hover .kpi-ico { transform: translateY(-2px) rotate(-6deg) scale(1.06); }

/* Main buttons: brand gradient with a light sweep on hover */
.btn.primary { background: linear-gradient(135deg, #1e88ff 0%, #2f6bff 100%) !important; position: relative; overflow: hidden; box-shadow: 0 6px 16px -8px rgba(30,136,255,.7) !important; }
.btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, #1a7df0 0%, #2a5ff0 100%) !important; box-shadow: 0 10px 22px -8px rgba(30,136,255,.75) !important; }
.btn.primary::before { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn.primary:hover:not(:disabled)::before { left: 120%; }

/* Tables: hovered row gets a light tint and a brand bar on the left */
table.t tbody tr { position: relative; }
table.t tbody tr:hover { background: linear-gradient(90deg, rgba(30,136,255,.06), rgba(30,136,255,0) 70%) !important; }
table.t tbody tr:hover > td:first-child { box-shadow: inset 3px 0 0 #1e88ff; }

/* Empty states: the icon floats gently */
.empty .ico { animation: agsFloat 3.2s ease-in-out infinite; }
@keyframes agsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Progress bars fill with a moving shine */
.bar i { position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-100%); animation: agsShine 2.4s ease-in-out infinite; }
@keyframes agsShine { to { transform: translateX(100%); } }

/* Sidebar: icon nudges on hover, active item has a soft glow */
:root:not(#_):not(#__) .side nav a:hover svg { transform: translateX(2px); transition: transform .2s var(--ease-out); }
:root:not(#_):not(#__) .side nav a.on { box-shadow: 0 8px 20px -8px rgba(30,136,255,.65) !important; }

/* Badges pop in */
.view-enter .badge { animation: agsBadge .35s var(--ease-out) .2s both; }
@keyframes agsBadge { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Thin, quiet scrollbars */
* { scrollbar-width: thin; scrollbar-color: rgba(30,136,255,.25) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(30,136,255,.22); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(30,136,255,.4); }

/* Text selection in brand colour */
::selection { background: rgba(30,136,255,.18); }

@media (prefers-reduced-motion: reduce) { .main::before, .main::after, .empty .ico, .bar i::after { animation: none !important; } }

/* ---------- Readable for everyone (WCAG AA contrast, colour-blind friendly) ----------
   Every text colour below has at least 4.5:1 contrast on white; status is never shown by colour alone
   (badges always carry a word, and the bad/ok/warn hues differ in lightness as well as hue). */
:root:not(#_) {
  --faint: #566377;   /* was #8a96ab (3.0:1) -> 5.3:1 on the page background */
  --muted: #475569;   /* 7.6:1 */
  --ok-text: #047857; --warn-text: #a14a06; --bad-text: #c81e3a; --blue-text: #1659c7;
}
.faint, .tiny.faint, .small.faint { color: var(--faint) !important; }
.ok-t { color: var(--ok-text) !important; } .warn-t { color: var(--warn-text) !important; } .bad-t { color: var(--bad-text) !important; }
.badge.ok { color: var(--ok-text) !important; background: #e7f6ef !important; border-color: #b7e4cf !important; }
.badge.warn { color: var(--warn-text) !important; background: #fff4e5 !important; border-color: #fbd9a8 !important; }
.badge.bad { color: var(--bad-text) !important; background: #fdecee !important; border-color: #f6c2ca !important; }
.badge.blue, .badge.ok.home-tick, .chips .badge.ok { color: var(--blue-text) !important; background: #eaf2ff !important; border-color: #c8dcfd !important; }
/* White text sits on a deep enough blue (4.6:1+) */
.btn.primary { background: linear-gradient(135deg, #1765dc 0%, #2a55e6 100%) !important; border-color: #1765dc !important; }
.btn.primary:hover:not(:disabled) { background: linear-gradient(135deg, #1259c9 0%, #2449d4 100%) !important; }
.seg button.on, .chip.on { background: #1765dc !important; color: #fff !important; border-color: #1765dc !important; }
:root:not(#_):not(#__) .side nav a.on { background: linear-gradient(90deg, #1765dc, #2a6fe8) !important; }
:root:not(#_):not(#__) .side .side-btn-val { color: #55658a !important; }
/* Orange helper text on cream panels */
.tiny[style*="ea580c"], [style*="color:#ea580c"], [style*="color: #ea580c"] { color: #b4400a !important; }
/* Keyboard users always see where they are */
:focus-visible { outline: 2px solid #1765dc !important; outline-offset: 2px !important; border-radius: 6px; }
.w-sched em { color: #7a5a44 !important; }
.bill-alt, .view [style*="94a3b8"], .view [style*="8a96ab"] { color: var(--faint) !important; }
.save-pill { background: #1659c7 !important; color: #fff !important; }
.bill-head { color: #1659c7 !important; }
.view a:not(.btn):not(.chip) { color: #1659c7; }

/* ---------- Unibox ---------- */
.ux { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; height: calc(100vh - 210px); min-height: 460px; }
.ux-list { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; }
.ux-tools { padding: 14px 14px 10px; border-bottom: 1px solid #e6eaf0; display: grid; gap: 10px; }
.ux-items { overflow-y: auto; flex: 1; }
.ux-item { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid #f0f3f8; background: transparent; cursor: pointer; position: relative; font: inherit; color: inherit; transition: background .15s ease; }
.ux-item:hover { background: #f5f9ff; }
.ux-item.on { background: #eaf2ff; box-shadow: inset 3px 0 0 #1765dc; }
.ux-item.unread b { color: #0f172a; }
.ux-item.unread .ux-meta > .small:last-child { color: #334155 !important; font-weight: 500; }
.ux-meta { min-width: 0; flex: 1; display: grid; gap: 2px; }
.ux-top { display: flex; justify-content: space-between; gap: 8px; }
.ux-dot { position: absolute; right: 12px; top: 36px; width: 9px; height: 9px; border-radius: 50%; background: #1765dc; box-shadow: 0 0 0 3px rgba(23,101,220,.15); }
.ux-thread { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; }
.ux-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e6eaf0; }
.ux-head h3 { margin: 0 0 2px; }
.ux-msgs { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #fafcff, #f5f8fd); }
.ux-msg { max-width: 78%; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #e6eaf0; animation: agsRise .3s var(--ease-out) both; }
.ux-msg.out { align-self: flex-end; background: #eaf2ff; border-color: #c8dcfd; }
.ux-msg.first { opacity: .85; }
.ux-msg-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 6px; font-size: 13px; }
.ux-msg-body { white-space: pre-wrap; font-size: 14px; line-height: 1.55; color: #1e293b; word-break: break-word; }
.ux-compose { border-top: 1px solid #e6eaf0; padding: 12px 16px 14px; display: grid; gap: 10px; background: #fff; }
.ux-compose textarea { width: 100%; resize: vertical; min-height: 84px; font: inherit; }
@media (max-width: 900px) { .ux { grid-template-columns: 1fr; height: auto; } .ux-items { max-height: 320px; } .ux-thread { min-height: 480px; } }

/* Pitch A/B results */
.ab-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 10px; }
.ab-card { padding: 14px 16px; border: 1px solid #e6eaf0; border-radius: 14px; background: #fff; display: grid; gap: 6px; transition: transform .2s var(--ease-out), box-shadow .2s ease; }
.ab-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(23,101,220,.4); }
.ab-card.win { border-color: #9fd9bf; background: linear-gradient(180deg, #f2fbf6, #fff); }
.ab-rate { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Phones and small tablets (900px and below) ---------- */
@media (max-width: 900px) {
  .shell { display: block !important; }
  :root:not(#_):not(#__) .side { position: fixed !important; left: 0; top: 0; bottom: 0; height: 100vh !important; margin: 0 !important; border-radius: 0 18px 18px 0 !important;
    width: 272px !important; z-index: 60; transform: translateX(-105%) !important; transition: transform .28s var(--ease-out) !important; box-shadow: 18px 0 40px -18px rgba(15,23,42,.35) !important; }
  :root:not(#_):not(#__) .side.open { transform: none !important; }
  .side.open ~ .side-backdrop { display: block !important; z-index: 55; animation: agsFade .2s ease both; }
  .topbar { display: flex !important; position: sticky; top: 8px; z-index: 40; margin: 8px 10px 0 !important; background: rgba(255,255,255,.92) !important; border: 1px solid #e6eaf0; box-shadow: 0 8px 20px -14px rgba(15,23,42,.35); }
  .main { margin: 0 !important; min-width: 0; }
  .view { padding: 14px 14px 90px !important; }
  .page-head { flex-direction: column; align-items: stretch !important; gap: 12px; }
  .page-head h1 { font-size: 26px !important; }
  .page-head > .btn, .page-head .row > .btn { align-self: flex-start; }
  .view .grid.g4, .view .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .view .grid.g2 { grid-template-columns: 1fr !important; }
  .card-head { flex-wrap: wrap; gap: 10px; }
  .card-head input { max-width: 100% !important; width: 100% !important; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .modal { width: calc(100vw - 20px) !important; max-height: calc(100vh - 20px) !important; padding: 18px !important; }
  .sw-grid { grid-template-columns: 1fr !important; }
  .banner { flex-wrap: wrap; }
  .badge { white-space: normal; }
  .main::before, .main::after { display: none; }
}
@media (max-width: 480px) {
  .view .grid.g4, .view .grid.g3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) { #sideToggle { width: 40px; height: 40px; padding: 0 !important; display: inline-grid; place-items: center; } #sideToggle svg { width: 22px !important; height: 22px !important; } .topbar .logo-plate img { height: 30px; } }

/* Small laptops and tablets turned sideways (901–1199px): docked menu, cards in two columns */
@media (min-width: 901px) and (max-width: 1199px) {
  :root:not(#_):not(#__) .side { width: 220px !important; }
  .view { padding-left: 18px !important; padding-right: 18px !important; }
  .view .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .view .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .table-wrap { overflow-x: auto; }
  .ux { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (min-width: 901px) and (max-width: 1199px) { :root:not(#_):not(#__) .side .side-btn-val { display: none; } }

/* ---------- Speed: lighter rendering ---------- */
*, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.main::before, .main::after { display: none !important; }
.view-enter > .view-pane > *, .view-enter > :not(.view-pane) { animation: agsRise .18s var(--ease-out) both !important; animation-delay: 0ms !important; }
.view-enter table.t tbody tr, .view-enter .badge { animation: none !important; }
.view-enter .grid > * { animation-duration: .2s !important; animation-delay: 0ms !important; }
.bar i::after { animation: none !important; display: none; }
#view.view-busy { opacity: .7 !important; }
.modal-back { background: rgba(15, 23, 42, .38) !important; }

.mv-results { display: grid; gap: 8px; }
.mv-results > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: start; }
.mv-results .badge { justify-self: start; }

/* Rotation today */
.rot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.rot-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr 40px; gap: 10px; align-items: center; padding: 5px 0; font-size: 13.5px; }
.rot-row b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .rot-grid { grid-template-columns: 1fr; } }

.cursor-glow, .cursor-ring { display: none !important; }

/* Unibox delete */
.btn.danger-ghost { background: transparent; border: 1px solid #f3c2cb; color: #b4183a; }
.btn.danger-ghost:hover { background: #fdecef; }
.ux-msg-head span { margin-left: auto; }
.ux-del { border: 0; background: transparent; cursor: pointer; font-size: 13px; line-height: 1; padding: 2px 4px; border-radius: 6px; opacity: .45; transition: opacity .15s, background .15s; }
.ux-msg:hover .ux-del, .ux-del:focus-visible { opacity: 1; }
.ux-del:hover { background: #fdecef; }
@media (hover: none) { .ux-del { opacity: .8; } }
