/* =====================================================================
   AstroAnsh Student desk — "a ticket to your next class"
   Night-sky header that carries a ticket for the next class (the one bold element),
   a calm moonlit chat, panchang-style date tiles on every class, and a five-button
   dock so nothing important is more than one tap away. Google Sans (from /desk/app.css).
   ===================================================================== */
:root {
  --night: #1F0A47;      /* raat — header, your messages */
  --night-2: #34146B;
  --crimson: #CF2348;    /* kumkum — send, open, join */
  --saffron: #F2A51A;    /* haldi — today, live */
  --moon: #F6F3FB;       /* chandni — the page */
  --card: #FFFFFF;
  --ink: #221836;
  --ink-2: #4B4161;
  --ink-3: #776D8E;
  --mist: #E4DDF0;       /* hairlines */
  --r-bubble: 20px;
}
html, body.bot-body { height: 100%; overflow: hidden; background: #E9E3F4; overscroll-behavior: none; touch-action: manipulation; }
.bot-body { margin: 0; color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 16px; }
.bot-app {
  position: fixed; left: 0; right: 0; top: 0; margin: 0 auto; height: 100dvh; max-width: 680px;
  display: flex; flex-direction: column; background: var(--moon); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(31,10,71,.06), 0 30px 80px -40px rgba(31,10,71,.45);
}

/* ---------- header: a strip of night sky ---------- */
.bot-head {
  position: relative; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 12px 10px 14px; color: #fff;
  background:
    radial-gradient(1.2px 1.2px at 12% 30%, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 33% 72%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 52% 22%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 71% 66%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 86% 30%, rgba(255,255,255,.8), transparent 60%),
    linear-gradient(120deg, #170636 0%, var(--night) 55%, #36105A 100%);
}
.head-logo { height: 22px; width: auto; flex: none; display: block; }
.head-sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); flex: none; }
.head-txt { min-width: 0; display: flex; align-items: center; gap: 7px; }
.head-txt b { font-size: 15px; font-weight: 600; color: #F3EEFB; white-space: nowrap; }
.head-txt small { font-size: 0; }
.head-txt small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.bot-head .spacer { flex: 1; }
.lang-switch { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.lang-switch button { border: 0; background: transparent; color: #E6DDF7; font: inherit; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer; min-width: 34px; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--night); }

/* ---------- the ticket: your next class (continues the night sky) ---------- */
.nextbar {
  flex: none; position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; width: 100%;
  margin: 0; padding: 4px 12px 14px; border: 0; font: inherit; text-align: left; cursor: pointer; color: var(--ink);
  background: linear-gradient(120deg, #170636 0%, var(--night) 55%, #36105A 100%);
  border-radius: 0 0 24px 24px; box-shadow: 0 12px 26px -20px rgba(31,10,71,.9);
}
.nextbar[hidden] { display: none; }
.nextbar::before { content: ""; position: absolute; inset: 4px 12px 14px; border-radius: 16px; background: var(--card); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.nextbar > * { position: relative; }
.nextbar .dt { margin-left: 8px; }
.nb-txt { flex: 1; min-width: 0; display: grid; gap: 1px; padding: 10px 0 10px 12px; border-left: 2px dashed var(--mist); }
.nb-txt small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.nb-txt b { font-size: 16px; font-weight: 700; color: var(--night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-when { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-in { color: var(--crimson); font-weight: 700; }
.nb-live { display: inline-flex; align-items: center; gap: 6px; color: var(--crimson); font-weight: 700; }
.nb-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); animation: livePulse 1.4s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(207,35,72,.6); } 100% { box-shadow: 0 0 0 9px rgba(207,35,72,0); } }
.nb-cta { margin-right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; background: var(--crimson); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 8px 16px -10px rgba(207,35,72,.9); }
.nb-cta svg { width: 16px; height: 16px; }
.nb-chev { margin-right: 18px; font-size: 26px; line-height: 1; color: var(--ink-3); }
.nextbar:active::before { background: #FBF9FE; }
.nextbar:focus-visible { outline: none; }
.nextbar:focus-visible::before { box-shadow: 0 0 0 3px var(--saffron); }

/* panchang date tile — the same on the ticket and on every class card */
.dt { flex: none; width: 52px; display: grid; justify-items: center; align-content: center; gap: 0; padding: 6px 0 7px; border-radius: 12px; background: var(--night); color: #fff; line-height: 1.05; }
.dt b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dt i { font-style: normal; font-size: 11px; font-weight: 600; opacity: .85; }
.dt-sm { width: 48px; }
.is-today .dt, .cls-today .dt { background: var(--saffron); color: #2A1600; }
.cls-past .dt { background: var(--mist); color: var(--ink-3); }
.dt-tba { background: var(--mist); color: var(--ink-3); }

/* ---------- conversation ---------- */
.thread {
  flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 16px 14px 12px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: rise .16s cubic-bezier(.2,.8,.3,1); }
@keyframes rise { from { transform: translateY(6px); opacity: 0; } }
.msg.bot { align-self: flex-start; }
.msg.me { align-self: flex-end; max-width: 82%; }
.avatar { display: none; }
.msg.bot + .msg.bot { margin-top: -4px; }
.bubble { padding: 12px 15px; border-radius: var(--r-bubble); line-height: 1.5; font-size: 16px; overflow-wrap: anywhere; min-width: 0; }
.msg.bot .bubble { background: var(--card); color: var(--ink); border: 1px solid var(--mist); border-bottom-left-radius: 6px; }
.msg.me .bubble { background: var(--night); color: #fff; border-bottom-right-radius: 6px; }
.bubble > b:first-child { color: var(--night); font-size: 16.5px; }
.bubble small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.bubble p { margin: 0; }
.ans { margin: 0; white-space: pre-wrap; }
.ans + .cls-list { margin-top: 12px; }
.muted-line { color: var(--ink-3); font-size: 14px; }
.welcome { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); color: #F3EEFB; font-size: 14px; }

/* typing: three little planets */
.dots { display: inline-flex; gap: 5px; padding: 5px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; animation: blink 1.1s infinite ease-in-out; }
.dots i:nth-child(1) { background: var(--crimson); } .dots i:nth-child(2) { background: var(--saffron); animation-delay: .15s; } .dots i:nth-child(3) { background: var(--night-2); animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }

/* ---------- welcome card (after sign-in) ---------- */
.hello { position: relative; overflow: hidden; padding: 16px 16px 15px; border-radius: 20px; color: #fff;
  background: radial-gradient(140px 140px at 95% 0%, rgba(242,165,26,.32), transparent 70%), linear-gradient(140deg, var(--night-2), var(--night)); }
.hello h3 { margin: 0; font-size: 20px; font-weight: 700; }
.hello .hello-batch { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.hello .pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); color: #fff; }
.hello .pill.gold { background: var(--saffron); color: #2A1600; }

/* ---------- links, contacts, faqs ---------- */
.res-list, .faq-list, .cls-list { display: grid; gap: 8px; margin-top: 12px; }
.res { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--moon); color: var(--ink) !important; text-decoration: none; font-weight: 600; border: 1px solid var(--mist); }
.res:active { background: #EFE9F8; }
.res em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--crimson); color: #fff; font-size: 14px; flex: none; }
.res em svg { width: 15px; height: 15px; }
.res-none { color: var(--ink-3) !important; font-weight: 500; }
.res-none em { background: var(--mist); color: var(--ink-3); }
.inc { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 5px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 12px 12px 14px; background: var(--moon); border: 1px solid var(--mist); border-radius: 14px; }
.c-name { display: block; font-weight: 700; }
.c-role { display: block; font-size: 13px; color: var(--ink-3); }
.c-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.c-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; background: #ECE5F8; color: var(--night) !important; }
.c-btn svg { width: 16px; height: 16px; }
.c-wa { background: #DDF5E7; color: #0F6B39 !important; }
.bfaq { background: var(--moon); border: 1px solid var(--mist); border-radius: 14px; padding: 0 14px; }
.bfaq summary { cursor: pointer; padding: 13px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.bfaq summary::-webkit-details-marker { display: none; }
.bfaq summary::after { content: "+"; color: var(--crimson); font-weight: 700; font-size: 18px; line-height: 1; }
.bfaq[open] summary::after { content: "–"; }
.bfaq p { margin: 0 0 12px; color: var(--ink-2); white-space: pre-wrap; }
.ann { display: inline-block; font-size: 12.5px; font-weight: 700; color: #8A1D2E; background: #FCE6EA; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.ann-faq { background: #ECE5F8; color: var(--night); }
.ann-msg { margin: 4px 0 0; color: var(--ink-2); white-space: pre-wrap; }
.item-note { margin: 10px 0 2px; padding: 10px 12px; border-radius: 12px; background: #FFF4DE; color: #6B4300; font-size: 14px; line-height: 1.45; }
.item-note + .res-list { margin-top: 10px; }

/* ---------- class cards: date tile + details ---------- */
.cls { display: flex; gap: 12px; align-items: flex-start; background: var(--moon); border: 1px solid var(--mist); border-radius: 16px; padding: 10px; }
.cls-today { border-color: #F3CF86; background: #FFF9EC; }
.cls-past { opacity: .85; }
.cls-body { flex: 1; min-width: 0; padding-top: 1px; }
.cls-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; align-items: center; }
.cls-top b { font-size: 15.5px; color: var(--night); white-space: nowrap; }
.cls-rel { flex: none; font-size: 12px; font-weight: 700; color: #8A1D2E; background: #FCE6EA; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cls-today .cls-rel { background: var(--saffron); color: #2A1600; }
.cls-past .cls-rel { color: var(--ink-3); background: var(--mist); }
.cls-when { color: var(--ink); font-weight: 600; margin-top: 3px; font-size: 14.5px; }
.cls-topic { color: var(--ink-2); font-size: 14px; margin-top: 3px; line-height: 1.4; }
.cls small { margin-top: 4px; }
.join-btn { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #2D8CFF; color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.join-btn svg { width: 18px; height: 18px; color: #fff; }
.join-meta { display: block; margin-top: 6px; color: var(--ink-3); }

/* ---------- suggestions (before sign-in) + composer + dock ---------- */
.chips { flex: none; display: flex; gap: 8px; padding: 8px 12px 4px; overflow-x: auto; scrollbar-width: none; position: relative; z-index: 2; }
.chips::-webkit-scrollbar { display: none; }
.chips:empty { display: none; }
.chip-btn { flex: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; line-height: 1.2; border: 1px solid var(--mist); background: var(--card); color: var(--night); font: inherit; font-weight: 600; font-size: 14.5px; padding: 9px 14px 9px 10px; border-radius: 999px; cursor: pointer; }
.chip-btn:active { transform: scale(.97); }
.chip-btn svg { width: 16px; height: 16px; }
.chip-btn .gdot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.chip-btn .gdot svg { width: 13px; height: 13px; }
.chip-btn[data-k="__all"] { background: var(--night); color: #fff; border-color: var(--night); padding-left: 12px; }
.chip-btn[data-k="__all"] svg { color: var(--saffron); }
.chip-btn:focus-visible, .tile:focus-visible, .send:focus-visible, .menu-btn:focus-visible, .dk:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

.composer { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--moon); position: relative; z-index: 2; }
.bot-app:has(.dock:not([hidden])) .composer { padding-bottom: 8px; }
@media (pointer: coarse) { .bot-app.typing .composer { padding-bottom: calc(10px + env(safe-area-inset-bottom)); } }
.composer.hidden { display: none; }
.composer input { flex: 1; min-width: 0; border: 1.5px solid var(--mist); background: var(--card); border-radius: 999px; padding: 13px 18px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.composer input:focus { border-color: #A995D6; box-shadow: 0 0 0 4px rgba(52,20,107,.08); }
.composer input::placeholder { color: #958BAA; }
.send { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--crimson); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: 0 8px 18px -9px rgba(207,35,72,.9); }
.send:active { transform: scale(.93); }
.send svg { width: 20px; height: 20px; }
.menu-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--mist); background: var(--card); color: var(--night); display: grid; place-items: center; cursor: pointer; flex: none; }
.menu-btn svg { width: 21px; height: 21px; }
.menu-btn[hidden] { display: none; }

/* the dock: five things students need most, one tap away */
.dock { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--mist); position: relative; z-index: 2; }
.dock[hidden] { display: none; }
@media (pointer: coarse) { .bot-app.typing .dock, .bot-app.typing .nextbar { display: none; } }
.dk { display: grid; justify-items: center; gap: 4px; padding: 5px 2px 4px; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; border-radius: 12px; }
.dk:active { background: var(--moon); }
.dk-ic { width: 38px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.dk-ic svg { width: 19px; height: 19px; }
.dk-l { font-size: 12px; font-weight: 600; line-height: 1.15; text-align: center; white-space: nowrap; }

/* ---------- the "More" sheet ---------- */
.sheet { position: absolute; inset: 0; z-index: 10; display: flex; align-items: flex-end; background: rgba(23,6,54,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-card { width: 100%; max-height: 84%; overflow-y: auto; background: var(--moon); border-radius: 24px 24px 0 0; padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); transform: translateY(24px); transition: transform .26s cubic-bezier(.2,.8,.3,1); }
.sheet.open .sheet-card { transform: none; }
.sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: #D3C8E6; margin: 2px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 12px; }
.sheet-head h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--night); }
.sheet-head button { border: 0; background: var(--card); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; color: var(--ink-2); cursor: pointer; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px 12px; border: 1px solid var(--mist); border-radius: 18px; background: var(--card); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: center; cursor: pointer; }
.tile:active { transform: scale(.96); }
.tile .gdot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.tile .gdot svg { width: 21px; height: 21px; }
.tile.wide { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; padding: 10px 14px; }
.tile.wide .gdot { width: 34px; height: 34px; border-radius: 10px; }
.tile.wide .gdot svg { width: 17px; height: 17px; }
.sheet-sub { margin: 16px 2px 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }

/* graha colours — each option keeps its colour everywhere it appears */
.g-surya { background: #FFF0D6; color: #B45309; }      /* recordings */
.g-budh { background: #DFF5E8; color: #13804A; }       /* notes */
.g-chandra { background: #E3EDFC; color: #2D5BD8; }    /* schedule */
.g-guru { background: #FFF4C7; color: #9A6A00; }       /* timetable / classes */
.g-shukra { background: #FCE4EF; color: #BE185D; }     /* groups */
.g-shani { background: #E6E3FB; color: #4338CA; }      /* reports */
.g-rahu { background: #EAEDF2; color: #475569; }       /* kundli */
.g-ketu { background: #F9EAD9; color: #9A5B13; }       /* included / remedy book */
.g-mangal { background: #FCE4E8; color: #C42640; }     /* support */
.g-akash { background: #ECE5F8; color: #5B2DA8; }      /* faqs, guides, more */
.g-night { background: var(--night); color: var(--saffron); } /* offers, PMP */

/* ---------- small screens / landscape ---------- */
@media (max-width: 380px) {
  .head-logo { height: 18px; } .head-sep { height: 20px; } .head-txt b { font-size: 13.5px; }
  .lang-switch button { padding: 5px 8px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-txt b { font-size: 15px; } .nb-cta { padding: 9px 11px; } .nb-cta span { display: none; }
  .dk-l { font-size: 11px; }
}
@media (max-width: 340px) { .head-sep { display: none; } .head-logo { height: 16px; } }
@media (orientation: landscape) and (max-height: 500px) {
  .bot-head { padding-top: calc(6px + env(safe-area-inset-top)); padding-bottom: 6px; }
  .nextbar { padding-bottom: 8px; } .nextbar::before { inset: 2px 12px 8px; } .dt { padding: 3px 0 4px; } .dt b { font-size: 18px; }
  .composer { padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  /* the footer stays on a phone held sideways: one slim row, icon beside its label */
  .dock { padding: 3px 6px calc(3px + env(safe-area-inset-bottom)); }
  .dk { grid-auto-flow: column; align-items: center; justify-content: center; gap: 7px; padding: 5px 4px; }
  .dk-ic { width: 26px !important; height: 26px !important; }
  .dk-ic svg { width: 15px !important; height: 15px !important; }
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .msg, .dots i, .nb-live::before { animation: none !important; }
  .sheet, .sheet-card { transition: none; }
}
@media print { .bot-app { display: none; } }

/* expired-link page (served by the server) */
.expired { max-width: 440px; margin: 12vh auto 0; padding: 32px 24px; text-align: center; }
.expired img { margin-bottom: 12px; }
.expired h1 { font-size: 22px; margin: 0 0 8px; color: var(--night); }
.expired p { color: var(--ink-2); margin: 0 0 20px; }
body.bot-body:has(.expired) { overflow: auto; }

/* ---------- "Where is my Batch ID?" animated guide ---------- */
.bid-guide { margin-top: 8px; display: grid; gap: 12px; }
.bg-phone { position: relative; height: 178px; border-radius: 18px; overflow: hidden; background: #0B141A; border: 1px solid #22313A; box-shadow: 0 8px 24px rgba(11,20,26,.18); font-family: inherit; }
.bg-frame { position: absolute; inset: 0; color: #E9EDEF; }
.bg-f1 { animation: bgOne 8s infinite; }
.bg-f2 { animation: bgTwo 8s infinite; }
@keyframes bgOne { 0%, 44% { opacity: 1; transform: none; } 50%, 96% { opacity: 0; transform: translateX(-14px); } 100% { opacity: 1; } }
@keyframes bgTwo { 0%, 44% { opacity: 0; transform: translateX(14px); } 50%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.bg-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #202C33; font-size: 13.5px; }
.bg-back { color: #8696A0; font-size: 20px; line-height: 1; }
.bg-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #1F2C34; }
.bg-dim { opacity: .45; }
.bg-av { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, #7B3FE4, #D72E47); }
.bg-av2 { background: #2A3942; }
.bg-sm { width: 26px; height: 26px; font-size: 11px; border-radius: 7px; }
.bg-txt { min-width: 0; display: grid; }
.bg-txt b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-txt small { color: #8696A0; font-size: 11.5px; }
.bg-tap { position: absolute; left: 46%; top: 62px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.8); transform: scale(0); animation: bgTap 8s infinite; }
@keyframes bgTap { 0%, 18% { transform: scale(0); opacity: 0; } 24% { transform: scale(1); opacity: 1; } 34% { transform: scale(.8); opacity: 1; } 42% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(0); opacity: 0; } }
.bg-bar2 { align-items: flex-start; }
.bg-title { font-size: 13px; font-weight: 600; line-height: 1.45; }
.bg-title mark { background: #FFD54A; color: #1A1300; padding: 1px 6px; border-radius: 6px; font-weight: 800; box-shadow: 0 0 0 0 rgba(255,213,74,.7); animation: bgPulse 1.6s infinite; }
@keyframes bgPulse { 0% { box-shadow: 0 0 0 0 rgba(255,213,74,.75); } 70% { box-shadow: 0 0 0 10px rgba(255,213,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,213,74,0); } }
.bg-chat { padding: 12px; display: grid; gap: 7px; }
.bg-chat i { display: block; height: 18px; border-radius: 8px; background: #1F2C34; width: 70%; }
.bg-chat i:nth-child(2) { width: 52%; justify-self: end; background: #005C4B; }
.bg-chat i:nth-child(3) { width: 61%; }
.bg-arrow { position: absolute; right: 14px; bottom: 14px; background: #FFD54A; color: #1A1300; font-weight: 800; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; animation: bgBounce 1.2s ease-in-out infinite; }
@keyframes bgBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.bg-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; }
.bg-pmp { margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; background: #FFF6E5; color: #6B4300; font-size: 14px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .bg-f1, .bg-tap { display: none; }
  .bg-f2 { animation: none; opacity: 1; }
  .bg-title mark, .bg-arrow { animation: none; }
}

/* ---------- "Activate acult (2 months)" animated guide — 4 screens, 12 s loop ---------- */
.ac-guide { margin-top: 8px; display: grid; gap: 12px; }
.ac-phone { position: relative; height: 236px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #1B0B3A, #2E0F4F 55%, #4A1033); border: 1px solid #3B2463; box-shadow: 0 8px 24px rgba(35,10,77,.22); color: #F3EEFB; }
.ac-frame { position: absolute; inset: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; opacity: 0; }
.ac-f1 { animation: acF1 12s infinite; } .ac-f2 { animation: acF2 12s infinite; } .ac-f3 { animation: acF3 12s infinite; } .ac-f4 { animation: acF4 12s infinite; align-items: center; justify-content: center; text-align: center; }
@keyframes acF1 { 0%, 23% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateX(-12px); } }
@keyframes acF2 { 0%, 24% { opacity: 0; transform: translateX(12px); } 26%, 48% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateX(-12px); } }
@keyframes acF3 { 0%, 49% { opacity: 0; transform: translateX(12px); } 51%, 73% { opacity: 1; transform: none; } 75%, 100% { opacity: 0; transform: translateX(-12px); } }
@keyframes acF4 { 0%, 74% { opacity: 0; transform: scale(.96); } 76%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ac-brand { font-weight: 800; font-size: 15px; letter-spacing: .3px; color: #FF8FA3; }
.ac-h { font-weight: 700; font-size: 16px; }
.ac-sub { font-size: 12.5px; color: #CDBFE8; }
.ac-in { height: 26px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 12.5px; display: flex; align-items: center; padding: 0 9px; overflow: hidden; white-space: nowrap; }
.ac-email { border-color: #FFD54A; }
.ac-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 2px solid #FFD54A; animation: acType 12s steps(24) infinite; }
@keyframes acType { 0%, 27% { width: 0; } 38%, 100% { width: 24ch; } }
.ac-tag { align-self: flex-start; background: #FFD54A; color: #1A1300; font-weight: 800; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; animation: acPulse 1.6s infinite; }
@keyframes acPulse { 0% { box-shadow: 0 0 0 0 rgba(255,213,74,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,213,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,213,74,0); } }
.ac-pw { letter-spacing: 2px; }
.ac-btn { margin-top: 2px; height: 30px; border-radius: 999px; background: #D72E47; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.ac-link { font-size: 12.5px; color: #CDBFE8; text-align: center; }
.ac-link u { color: #FFD54A; font-weight: 700; text-decoration-thickness: 2px; }
.ac-tap { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.85); transform: scale(0); }
.ac-tap1 { left: 58%; bottom: 14px; animation: acTap1 12s infinite; }
.ac-tap2 { left: 46%; bottom: 18px; animation: acTap2 12s infinite; }
@keyframes acTap1 { 0%, 12% { transform: scale(0); opacity: 0; } 15% { transform: scale(1); opacity: 1; } 19% { transform: scale(.8); opacity: 1; } 23% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes acTap2 { 0%, 41% { transform: scale(0); opacity: 0; } 43% { transform: scale(1); opacity: 1; } 45% { transform: scale(.8); opacity: 1; } 48% { transform: scale(1.6); opacity: 0; } 100% { opacity: 0; } }
.ac-mail { font-size: 30px; line-height: 1; }
.ac-code { display: flex; gap: 6px; margin: 4px 0; }
.ac-d { width: 30px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.ac-d i { font-style: normal; opacity: 0; animation: acDig 12s infinite both; }
.ac-d[data-i="1"] i { animation-delay: .3s; } .ac-d[data-i="2"] i { animation-delay: .6s; } .ac-d[data-i="3"] i { animation-delay: .9s; } .ac-d[data-i="4"] i { animation-delay: 1.2s; } .ac-d[data-i="5"] i { animation-delay: 1.5s; }
@keyframes acDig { 0%, 54% { opacity: 0; } 56%, 74% { opacity: 1; } 75%, 100% { opacity: 0; } }
.ac-ok { width: 54px; height: 54px; border-radius: 50%; background: #1FA971; color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; box-shadow: 0 0 0 8px rgba(31,169,113,.2); }
.ac-days { background: #FFD54A; color: #1A1300; font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 999px; }
.ac-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 5px; }
.ac-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.ac-dots i:nth-child(1) { animation: acDot1 12s infinite; } .ac-dots i:nth-child(2) { animation: acDot2 12s infinite; } .ac-dots i:nth-child(3) { animation: acDot3 12s infinite; } .ac-dots i:nth-child(4) { animation: acDot4 12s infinite; }
@keyframes acDot1 { 0%, 24% { background: #fff; } 25%, 100% { background: rgba(255,255,255,.3); } }
@keyframes acDot2 { 0%, 24% { background: rgba(255,255,255,.3); } 25%, 49% { background: #fff; } 50%, 100% { background: rgba(255,255,255,.3); } }
@keyframes acDot3 { 0%, 49% { background: rgba(255,255,255,.3); } 50%, 74% { background: #fff; } 75%, 100% { background: rgba(255,255,255,.3); } }
@keyframes acDot4 { 0%, 74% { background: rgba(255,255,255,.3); } 75%, 100% { background: #fff; } }
.ac-tips { margin: 10px 0 0; padding: 10px 12px 10px 28px; border-radius: 12px; background: #F3EEFB; color: #3A2466; font-size: 13.5px; line-height: 1.5; display: grid; gap: 4px; }
.ac-open { display: inline-flex; margin-top: 10px; padding: 9px 16px; border-radius: 999px; background: #230A4D; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .ac-f1, .ac-f2, .ac-f3 { display: none; }
  .ac-f4 { animation: none; opacity: 1; }
  .ac-tag, .ac-dots i { animation: none; }
}

/* ---------- generic animated guides (guides.js) ---------- */
.g-guide { margin-top: 8px; display: grid; gap: 12px; }
.g-intro { margin-top: 4px; }
.g-phone { position: relative; height: 250px; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #1B0B3A, #2E0F4F 55%, #4A1033); border: 1px solid #3B2463; box-shadow: 0 8px 24px rgba(35,10,77,.22); color: #F3EEFB; }
.g-frame { position: absolute; inset: 0; padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 7px; opacity: 0; animation-iteration-count: infinite; animation-timing-function: ease; }
.g-center { align-items: center; justify-content: center; text-align: center; }
.g-url { align-self: stretch; font-size: 11px; color: #CDBFE8; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px 10px; }
.g-bar { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 2px 0 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
.g-bar b { color: #FF8FA3; font-weight: 800; } .g-bar span { color: #CDBFE8; font-size: 12.5px; }
.g-h { font-weight: 700; font-size: 15.5px; }
.g-p { font-size: 12.5px; color: #CDBFE8; }
.g-in { min-height: 25px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 12px; display: flex; align-items: center; padding: 3px 9px; color: #E6DDF7; }
.g-btn { position: relative; height: 29px; border-radius: 999px; background: #D72E47; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.g-btn2 { background: rgba(255,255,255,.14); }
.g-link { position: relative; font-size: 12.5px; color: #CDBFE8; text-align: center; } .g-link u { color: #FFD54A; font-weight: 700; text-decoration-thickness: 2px; }
.g-tag { align-self: flex-start; background: #FFD54A; color: #1A1300; font-weight: 800; font-size: 11px; padding: 3px 9px; border-radius: 999px; animation: acPulse 1.6s infinite; }
.g-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 6px; }
.g-plan { position: relative; border-radius: 10px; padding: 7px 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); display: grid; gap: 2px; text-align: center; }
.g-plan b { font-size: 12.5px; } .g-plan small { font-size: 10px; color: #CDBFE8; }
.g-rows { display: grid; gap: 6px; }
.g-row { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.08); font-size: 12.5px; } .g-row em { margin-left: auto; font-style: normal; color: #9BE7C4; font-weight: 700; }
.g-code { display: flex; gap: 5px; } .g-code span { width: 26px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; }
.g-pay { display: flex; gap: 6px; } .g-pay span { flex: 1; text-align: center; font-size: 11.5px; padding: 6px 4px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); } .g-pay span.hl { border-color: #FFD54A; }
.g-ok { width: 52px; height: 52px; border-radius: 50%; background: #1FA971; color: #fff; display: grid; place-items: center; font-size: 27px; font-weight: 800; box-shadow: 0 0 0 8px rgba(31,169,113,.2); margin-bottom: 4px; }
.g-big { background: #FFD54A; color: #1A1300; font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 999px; }
.g-zoom { display: grid; gap: 10px; place-items: center; } .g-cam { width: 58px; height: 58px; border-radius: 16px; background: #2D8CFF; display: grid; place-items: center; font-size: 28px; animation: bgBounce 1.2s ease-in-out infinite; }
.g-homescr { display: grid; grid-template-columns: repeat(3, 46px); gap: 14px; } .g-homescr i { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-style: normal; font-size: 20px; }
.g-homescr .g-app { background: linear-gradient(135deg, #D72E47, #7B3FE4); color: #fff; font-weight: 800; font-size: 22px; }
.g-guide .hl { border-color: #FFD54A !important; box-shadow: 0 0 0 0 rgba(255,213,74,.7); animation: acPulse 1.6s infinite; }
.g-guide .tap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.85); animation: gTap 1.6s ease-out infinite; pointer-events: none; }
@keyframes gTap { 0% { transform: scale(0); opacity: 0; } 25% { transform: scale(1); opacity: 1; } 45% { transform: scale(.8); opacity: 1; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.g-dots { position: absolute; left: 0; right: 0; bottom: 7px; display: flex; justify-content: center; gap: 5px; }
.g-dots i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); overflow: hidden; } .g-dots b { position: absolute; inset: 0; background: #fff; opacity: 0; animation-iteration-count: infinite; }
.g-list { display: grid; gap: 8px; margin-top: 8px; }
.g-pick { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line-2); background: var(--surface); border-radius: 14px; padding: 11px 14px; font: inherit; font-weight: 600; color: var(--plum-ink); cursor: pointer; }
.g-pick span { font-size: 20px; } .g-pick:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) { .g-frame { animation: none !important; opacity: 0; } .g-frame:last-of-type { opacity: 1; } .g-dots { display: none; } }
@keyframes gShow3 { 0% { opacity: 0; transform: translateX(12px); } 2% { opacity: 1; transform: none; } 31.83% { opacity: 1; transform: none; } 33.33%, 100% { opacity: 0; transform: translateX(-12px); } }
@keyframes gShow4 { 0% { opacity: 0; transform: translateX(12px); } 2% { opacity: 1; transform: none; } 23.5% { opacity: 1; transform: none; } 25.0%, 100% { opacity: 0; transform: translateX(-12px); } }
@keyframes gShow5 { 0% { opacity: 0; transform: translateX(12px); } 2% { opacity: 1; transform: none; } 18.5% { opacity: 1; transform: none; } 20.0%, 100% { opacity: 0; transform: translateX(-12px); } }
.ac-open2 { margin-left: 8px; background: #D72E47; }
@media (max-width: 420px) { .ac-open2 { margin-left: 0; } }


/* card-less bubble (welcome & intro cards) */
.bubble.plain { background: none !important; border: 0 !important; padding: 0; border-radius: 20px; }
.msg.bot:has(.bubble.plain) { max-width: 100%; width: 100%; }
.msg.bot:has(.bubble.plain) .bubble { flex: 1; }
/* guide pickers inside chat */
.g-pick { border: 1px solid var(--mist); background: var(--moon); border-radius: 14px; color: var(--night); padding: 13px 14px; min-height: 50px; }
.ac-tips { background: var(--moon); border: 1px solid var(--mist); color: var(--ink-2); }
.ac-open { background: var(--night); border-radius: 999px; }

/* first-screen intro card */
.intro { padding: 18px 16px 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--mist); }
.intro h3 { margin: 0 0 4px; font-size: 21px; color: var(--night); }
.intro p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.intro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.intro-item { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 14px; background: var(--moon); font-size: 14px; font-weight: 600; color: var(--ink); }
.intro-item .gdot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.intro-item .gdot svg { width: 16px; height: 16px; }
@media (orientation: landscape) and (max-height: 500px) { .intro-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .intro { padding: 12px 14px; } }
.composer input { scroll-margin: 0; }

/* sign-in steps */
.step { display: block; width: max-content; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: #ECE5F8; color: var(--night); font-size: 12.5px; font-weight: 700; }
.intro-item { overflow-wrap: normal; word-break: normal; hyphens: none; line-height: 1.25; }
@media (max-width: 380px) {
  .intro-grid { gap: 6px; }
  .intro-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; font-size: 13.5px; }
}
/* support card: these are people, the helper is a bot */
.ppl-tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #E6F6EE; color: #147552; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.ppl-tag + .item-note { background: #F3EFFD; color: #3D2A7A; }

/* =====================================================================
   AstroAnsh™ colours: the logo's red mark and deep ink wordmark on white.
   No violet or lavender anywhere; the ink is the logo's own text colour.
   ===================================================================== */
:root {
  --night: #230A4D;      /* the wordmark ink: your messages, headings, date tiles */
  --night-2: #230A4D;
  --crimson: #D72E47;    /* the mark: send, open, join */
  --moon: #F7F6F8;       /* the page: a warm, neutral white */
  --mist: #E8E4EA;       /* hairlines */
  --ink: #1E1630; --ink-2: #4A4357; --ink-3: #736C80;
}
html, body.bot-body { background: #EFEDF0; }
.bot-app { box-shadow: 0 0 0 1px rgba(35,10,77,.06), 0 30px 80px -40px rgba(35,10,77,.35); }

/* header: white, full-colour logo, a red rule underneath */
.bot-head { background: #FFFFFF !important; color: var(--ink); border-bottom: 3px solid var(--crimson); }
.head-logo { height: 24px; }
.head-sep { background: var(--mist); }
.head-txt b { color: var(--night); }
.lang-switch { background: var(--moon); border: 1px solid var(--mist); }
.lang-switch button { color: var(--ink-2); }
.lang-switch button[aria-pressed="true"] { background: var(--night); color: #fff; }

/* the ticket sits on white now, with a quiet border */
.nextbar { background: #FFFFFF !important; box-shadow: 0 10px 22px -20px rgba(35,10,77,.6); border-radius: 0 0 22px 22px; }
.nextbar::before { border: 1px solid var(--mist); box-shadow: 0 8px 20px -16px rgba(35,10,77,.45); }

/* welcome card after sign-in: the ink, warmed by the red mark */
.hello { background: radial-gradient(160px 160px at 96% 0%, rgba(215,46,71,.35), transparent 70%), var(--night) !important; }
.welcome { color: #FFFFFF; }

/* tints that were lavender */
.ann-faq, .step, .g-akash { background: #F3F0F2 !important; color: var(--night) !important; }
.ac-tips { background: var(--moon) !important; color: var(--ink-2) !important; }
.composer input:focus { border-color: #E7A9B6; box-shadow: 0 0 0 4px rgba(215,46,71,.10); }
.sheet { background: rgba(20,12,30,.45); }
.bg-av { background: linear-gradient(135deg, #230A4D, #D72E47); }

/* the animated how-to phones: ink to deep red instead of purple */
.ac-phone, .g-phone { background: linear-gradient(160deg, #230A4D, #2A0D45 55%, #5A1427) !important; }
.ac-sub, .ac-link, .g-url, .g-bar span, .g-p, .g-link, .g-plan small { color: #DDD7E3 !important; }
.g-homescr .g-app { background: linear-gradient(135deg, #D72E47, #230A4D) !important; }

/* "real people" note on the support card stays neutral */
.ppl-tag + .item-note { background: var(--moon); color: var(--ink-2); border: 1px solid var(--mist); }
.c-btn:not(.c-wa) { background: #F3F0F2; color: var(--night); }

/* ---- account answers (from the student's own acult account) ---- */
.acc-card { margin: 10px 0 4px; border: 1px solid var(--mist); border-left: 3px solid var(--crimson); border-radius: 12px; background: #FFFFFF; padding: 10px 12px 6px; }
.acc-title { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.acc-card dl { margin: 0; }
.acc-card dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--mist); font-size: 14px; }
.acc-card dl > div:first-child { border-top: 0; }
.acc-card dt { color: var(--ink-2); min-width: 0; }
.acc-card dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.acc-btns, .acc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.acc-btn.acc-pay { background: var(--crimson) !important; color: #FFFFFF !important; }
.acc-act { border: 1.5px solid var(--night); background: transparent; color: var(--night); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.acc-act:disabled { opacity: .5; cursor: default; }
.acc-act.busy { opacity: .7; }
.acc-act:focus-visible, .acc-btn:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }

/* the standing Change Batch ID chip makes room for the keyboard */
.bot-app.typing .chips.only-switch { display: none; }

.acc-steps { margin: 10px 0 4px; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.acc-steps li { counter-increment: st; position: relative; padding: 9px 12px 9px 44px; background: #FFFFFF; border: 1px solid var(--mist); border-radius: 12px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.acc-steps li::before { content: counter(st); position: absolute; left: 11px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); color: #FFFFFF; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.acc-steps b { color: var(--night); }

/* account answers: the phone beside the steps, steps lighting up in time with it */
.g-solo { margin: 10px 0 4px; }
.g-solo .g-phone { height: 214px; }
@media (min-width: 560px) { .acc-flow { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: start; } .acc-flow .g-solo { margin: 10px 0 0; } }
.acc-steps.synced > li { animation-iteration-count: infinite; animation-timing-function: ease; }
@keyframes gStep3 { 0%, 31% { border-color: var(--crimson); box-shadow: 0 0 0 2px rgba(215,46,71,.18); } 33.33%, 100% { border-color: var(--mist); box-shadow: none; } }
@keyframes gStep4 { 0%, 23% { border-color: var(--crimson); box-shadow: 0 0 0 2px rgba(215,46,71,.18); } 25%, 100% { border-color: var(--mist); box-shadow: none; } }
@keyframes gStep5 { 0%, 18% { border-color: var(--crimson); box-shadow: 0 0 0 2px rgba(215,46,71,.18); } 20%, 100% { border-color: var(--mist); box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .acc-steps.synced > li { animation: none !important; } }

/* ---- PMP support: WhatsApp chat, mentor call, support call ---- */
.sup3 { display: grid; gap: 10px; margin-top: 10px; }
.sup-btn { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--mist); text-decoration: none; color: var(--ink) !important; box-shadow: 0 1px 2px rgba(31, 10, 71, .06); transition: transform .12s ease, box-shadow .12s ease; -webkit-tap-highlight-color: transparent; }
.sup-btn:hover { box-shadow: 0 4px 14px rgba(31, 10, 71, .10); }
.sup-btn:active { transform: scale(.985); }
.sup-btn:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }
.sup-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.sup-ic svg { width: 24px; height: 24px; }
.sup-wa .sup-ic { background: #25D366; color: #25D366; }
.sup-wa .sup-ic svg { width: 28px; height: 28px; color: #fff; }
.sup-wa .sup-ic svg path:last-child { fill: #25D366; }
.sup-mentor .sup-ic { background: linear-gradient(135deg, #F7B733, #F2A51A); color: #3A2200; }
.sup-support .sup-ic { background: linear-gradient(135deg, #34146B, #1F0A47); color: #fff; }
.sup-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sup-tx b { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.sup-tx small { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.sup-tx .sup-num { color: var(--ink-2); font-weight: 600; }
.sup-tx .sup-hrs { font-size: 12px; }
.sup-go { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--moon); color: var(--ink-3); }
.sup-go svg { width: 16px; height: 16px; }
.sup-wa { border-color: #BDEFD0; }
.sup-mentor { border-color: #F6DDA4; }
.sup-until { display: flex; align-items: center; gap: 7px; margin: 10px 2px 0; font-size: 13px; color: var(--ink-3); }
.sup-until svg { width: 15px; height: 15px; flex: none; }

/* ---- acult walk-throughs: phone + computer (demos.js) ---- */
.dm { margin-top: 10px; }
.dm-switch { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--moon); border: 1px solid var(--mist); margin-bottom: 8px; }
.dm-switch button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-3); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.dm-switch button[aria-pressed="true"] { background: var(--night); color: #fff; }
.dm-switch button:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }
.dm-view { display: none; }
.dm[data-dev="phone"] .dm-phone, .dm[data-dev="pc"] .dm-pc { display: grid; gap: 10px; }
.dm .g-solo { margin: 0; }
.dm-phone .g-phone { height: 250px; max-width: 250px; }
.dm-steps { margin: 0; }
@media (min-width: 560px) { .dm[data-dev="phone"] .dm-phone { grid-template-columns: 230px 1fr; align-items: start; } }
/* the computer mock-up: a browser window with acult's top bar and side menu */
.g-pc { height: 236px !important; border-radius: 12px; }
.g-pc .g-frame { padding: 0 0 18px; gap: 0; }
.dm-addr { display: flex; align-items: center; gap: 5px; padding: 6px 9px; background: rgba(0,0,0,.28); font-size: 10.5px; color: #CDBFE8; }
.dm-addr i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.dm-addr span { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
.dm-ptop, .dm-abar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 10px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.dm-abar { padding: 2px 0 6px; }
.dm-ptop b, .dm-abar b { color: #FF8FA3; font-weight: 800; font-size: 13px; }
.dm-ptop span, .dm-abar span { display: flex; gap: 5px; }
.dm-ptop i, .dm-abar i { position: relative; font-style: normal; color: #E6DDF7; padding: 2px 6px; border-radius: 7px; border: 1px solid transparent; background: rgba(255,255,255,.07); }
.dm-pcw { flex: 1; display: grid; grid-template-columns: 104px 1fr; min-height: 0; }
.dm-pcw.full { grid-template-columns: 1fr; }
.dm-side { display: flex; flex-direction: column; gap: 3px; padding: 7px 6px; background: rgba(0,0,0,.18); border-right: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.dm-side small { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #BBA9DC; padding: 0 5px 2px; }
.dm-side i { position: relative; font-style: normal; font-size: 11px; color: #E6DDF7; padding: 4px 6px; border-radius: 7px; border: 1px solid transparent; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-main { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; min-width: 0; overflow: hidden; }
.dm-main .g-h { font-size: 13.5px; }
/* phone bottom bar, tabs, chips */
.dm-bnav { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.12); }
.dm-bnav i { position: relative; font-style: normal; display: grid; place-items: center; font-size: 13px; color: #E6DDF7; border-radius: 8px; border: 1px solid transparent; padding: 2px 0; }
.dm-bnav small { font-size: 8.5px; color: #CDBFE8; }
.dm-bnav .dm-plus { background: #D72E47; color: #fff; border-radius: 50%; width: 26px; height: 26px; justify-self: center; font-weight: 800; }
.dm-tabs, .dm-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.dm-tabs i, .dm-chips i { position: relative; font-style: normal; font-size: 11px; color: #E6DDF7; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid transparent; }
.dm-tabs i.hl, .dm-chips i.hl { background: rgba(255,213,74,.16); }
/* mini chart, dasha bar, table, mail, devices */
.dm-chart { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; width: 120px; padding: 3px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); align-self: center; }
.dm-chart i { font-style: normal; height: 22px; display: grid; place-items: center; font-size: 10px; color: #FFD58A; background: rgba(255,255,255,.06); border-radius: 3px; }
.dm-dbar { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; border-radius: 6px; border: 1px solid transparent; padding: 2px; }
.dm-dbar i { font-style: normal; text-align: center; font-size: 9.5px; padding: 6px 0; border-radius: 4px; background: rgba(255,255,255,.12); color: #E6DDF7; }
.dm-dbar i:nth-child(odd) { background: rgba(255,143,163,.22); }
.dm-dbar i.now { background: #FFD54A; color: #2A1500; font-weight: 800; }
.dm-table { position: relative; display: grid; gap: 2px; border-radius: 7px; border: 1px solid transparent; font-size: 10.5px; }
.dm-table > div { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; }
.dm-table i { font-style: normal; padding: 3px 5px; background: rgba(255,255,255,.07); color: #E6DDF7; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-table .th i { background: rgba(255,255,255,.16); font-weight: 700; }
.dm-mail { position: relative; display: grid; gap: 2px; padding: 9px 10px; border-radius: 9px; background: #fff; color: #221836; border: 1px solid transparent; font-size: 12px; }
.dm-mail small { color: #776D8E; }
.dm-devs { display: flex; justify-content: center; gap: 14px; padding: 8px 0; }
.dm-devs i { font-style: normal; font-size: 26px; display: grid; justify-items: center; }
.dm-devs small { font-size: 9.5px; color: #CDBFE8; }
@media (prefers-reduced-motion: reduce) { .dm-steps > li { animation: none !important; } }
.dm-pc .g-pc { max-width: 560px; }

/* quick replies under an answer */
.qk-row { margin-top: 10px; }
.qk { border: 1px solid var(--mist); cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; background: #fff !important; color: var(--night) !important; }
.qk:hover { border-color: var(--crimson); }
.qk:disabled { opacity: .55; cursor: default; }
.qk:focus-visible { outline: 2px solid var(--crimson); outline-offset: 2px; }

/* ---------- Ask the books (PMP students): the books' own words, quoted, with book and page ---------- */
.bk-try { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bk-try-l { font-size: 13px; color: var(--ink-3); margin-right: 2px; }
.bk-try .qk { padding: 6px 11px; border-radius: 999px; font-size: 13px; }
.bk-h { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.bk-card { position: relative; margin: 0 0 10px; padding: 12px 14px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--mist); box-shadow: 0 8px 20px -18px rgba(31,10,71,.6); }
.bk-src { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bk-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--night), var(--night-2)); color: #F6D78F; }
.bk-ic svg { width: 16px; height: 16px; }
.bk-src b { display: block; font-size: 14px; line-height: 1.3; color: var(--night); }
.bk-src small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.bk-txt { margin: 0; padding: 0 0 0 12px; border-left: 3px solid var(--saffron); font-size: 15px; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.bk-txt mark { background: rgba(242,165,26,.28); color: inherit; padding: 0 2px; border-radius: 3px; }
.bk-card.long:not(.open) .bk-txt { max-height: 9.6em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.bk-full { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--crimson); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.bk-next { display: block; width: 100%; margin: 2px 0 10px; padding: 11px 14px; border-radius: 14px; border: 1px dashed var(--night-2); background: #fff; color: var(--night); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.bk-next:disabled { opacity: .5; cursor: default; }
.bk-note { margin: 4px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
