/* Practice Manager AI — theme follows the NeuroSmiles / AutismLearning LMS:
   Poppins, brand red #C8102E, red-bordered cards, pill buttons, red menu dividers,
   black ruled tables, soft pink fills, optional dark mode. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }

:root {
  --red: #C8102E; --red-dark: #8F0B20; --red-soft: #FDECEF; --red-faint: #fff6f7; --red-line: #f3d3d9;
  --pink-border: #e3c2c8; --rose: #f2a3ae;
  --ink: #1d1d22; --text: #2b2b30; --muted: #6b6f78; --muted2: #8a8f99;
  --bg: #ffffff; --bg2: #fffafa; --card: #ffffff; --line: #ececf0; --rule: #1d1d22;
  --ok: #1f7a46; --ok-soft: #e8f5ee; --warn: #b7791f; --warn-soft: #fff6e0; --info-soft: #fdf2f4;
  --top-h: 64px; --side-w: 264px;
  --r: .9rem; --r-sm: .6rem; --shadow: 0 18px 50px rgba(60,10,20,.18), 0 2px 6px rgba(0,0,0,.06);
  color-scheme: light;
}
html.dark {
  --bg: #17171c; --bg2: #1b1b21; --card: #212128; --red-soft: #3a1a21; --red-faint: #2a2a33; --red-line: #3a2a2e;
  --pink-border: #5a2a33; --ink: #f0f0f3; --text: #dedee4; --muted: #a2a2ad; --muted2: #8d8d99; --line: #33333d;
  --rule: #8d8d99; --red: #c23a4c; --red-dark: #f2a3ae; --ok-soft: #1f3a2a; --ok: #9fdcb4; --warn-soft: #3a3020; --info-soft: #2a2a33;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 14.5px; line-height: 1.5;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; margin: 0; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
svg.i.sm { width: 14px; height: 14px; vertical-align: -2px; }
svg.i.lg { width: 26px; height: 26px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus { outline: 0; }
:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(200,16,46,.35) !important; border-radius: 8px; }

/* ---------- top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--top-h); z-index: 50; display: flex; align-items: center; gap: 1rem;
  background: var(--bg); border-bottom: 3px solid var(--red); box-shadow: 0 2px 10px rgba(143,11,32,.06); padding: 0 1rem 0 .75rem; }
html.dark .topbar { background: #1c1c22; }
#burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: var(--red-soft); padding: 0 11px; cursor: pointer; flex: 0 0 auto; }
#burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--red); }
.brand { display: flex; align-items: center; gap: .6rem; min-width: calc(var(--side-w) - 1.5rem); text-decoration: none !important; }
.brand-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(200,16,46,.25); }
.brand > div b { display: block; color: var(--red); font-size: 1.02rem; line-height: 1.1; font-weight: 700; }
.brand > div span { display: block; font-size: .64rem; letter-spacing: .2em; color: var(--red-dark); font-weight: 600; text-transform: uppercase; }
.top-practice { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; font-size: .92rem; }
.top-search { flex: 1; max-width: 520px; position: relative; }
.top-search input { width: 100%; height: 40px; border-radius: 999px; border: 2px solid var(--red); background: var(--bg); padding: 0 2.6rem 0 1.1rem; }
.top-search button { position: absolute; right: 5px; top: 5px; width: 30px; height: 30px; border-radius: 99px; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; }
.top-search button svg { width: 15px; height: 15px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.top-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--red-dark); background: none; border: 0; cursor: pointer; padding: .4rem .7rem; border-radius: 99px; }
.top-link:hover { background: var(--red-soft); color: var(--red); text-decoration: none; }
.switch { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 600; color: var(--red-dark); user-select: none; background: none; border: 0; padding: .3rem .2rem; }
.sw { width: 42px; height: 23px; border-radius: 99px; background: #d6d8de; position: relative; flex: 0 0 auto; transition: background .2s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.sw.on { background: var(--red); } .sw.on i { left: 22px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--red-soft); color: var(--red); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: #f9d3da; }
html.dark .icon-btn:hover { background: #4a2029; }
.badge-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.user-btn { display: flex; align-items: center; gap: .6rem; border: 0; background: transparent; cursor: pointer; padding: 0; }
.user-btn .who { text-align: right; line-height: 1.15; }
.user-btn .who b { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; }
.user-btn .who span { font-size: .74rem; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-weight: 700; border: 2px solid var(--red); flex: 0 0 auto; font-size: .9rem; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.1rem; }

/* dropdown menus — red bordered card with red dividers (LMS user menu) */
.menu { position: fixed; z-index: 80; width: 290px; background: var(--card); border: 2px solid var(--red); border-radius: 1rem; box-shadow: var(--shadow); overflow: hidden; animation: pop .14s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.menu-head { padding: .8rem 1.1rem; border-bottom: 1.5px solid var(--red); display: flex; align-items: center; gap: .7rem; }
.menu-head b { color: var(--red-dark); font-weight: 700; font-size: 1.02rem; }
.menu-head .acts { margin-left: auto; display: flex; gap: .35rem; }
.menu a, .menu .mi { display: flex; align-items: center; gap: .7rem; padding: .78rem 1.1rem; color: var(--text); font-weight: 500; border-bottom: 1.5px solid var(--red); cursor: pointer; text-decoration: none !important; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.menu a:hover, .menu .mi:hover { background: var(--red-soft); color: var(--red); }
.menu a svg, .menu .mi svg { color: var(--red); }
.menu .mi.cta { margin: .8rem 1rem 1rem; width: calc(100% - 2rem); border-radius: 99px; background: var(--red); color: #fff; justify-content: center; font-weight: 600; border: 0; }
.menu .mi.cta svg { color: #fff; } .menu .mi.cta:hover { background: var(--red-dark); color: #fff; }
html.dark .menu .mi.cta:hover { background: #a02234; }
.menu .mi.toggle { justify-content: space-between; }
.notif { padding: .8rem 1rem; border-bottom: 1.5px solid var(--red); cursor: pointer; display: block; }
.notif:hover { background: var(--red-soft); }
.notif.unread { background: var(--red-faint); border-left: 4px solid var(--red); }
.notif .t { font-size: .9rem; font-weight: 500; color: var(--text); line-height: 1.35; }
.notif .d { font-size: .74rem; color: var(--muted2); margin-top: .15rem; }
.notif-list { max-height: 360px; overflow-y: auto; }
.empty-msg { color: var(--muted2); font-style: italic; padding: 1.3rem; text-align: center; }

/* ---------- side menu ---------- */
.side { position: fixed; top: var(--top-h); left: 0; bottom: 0; width: var(--side-w); background: var(--bg2); border-right: 2px solid var(--red); overflow-y: auto; z-index: 40; padding: .9rem .75rem 1.5rem; }
html.dark .side { background: #1b1b21; }
.side-label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); font-weight: 600; padding: .9rem .8rem .35rem; }
.nav-item { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .62rem .8rem; border: 0; background: none; border-radius: .7rem; color: var(--text); font-weight: 500; text-align: left; cursor: pointer; text-decoration: none !important; font-size: .93rem; }
.nav-item svg.i { color: var(--red); }
.nav-item .caret { margin-left: auto; transition: transform .2s; color: var(--muted2) !important; width: 16px; height: 16px; }
.nav-item[aria-expanded="true"] .caret { transform: rotate(180deg); color: var(--red) !important; }
.nav-item:hover { background: var(--red-soft); color: var(--red); }
.nav-item.active { background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(200,16,46,.22); }
.nav-item.active svg.i { color: #fff; }
.nav-item.open-parent { color: var(--red-dark); font-weight: 600; }
.nav-sub { display: none; margin: .15rem 0 .45rem 1.45rem; padding: .2rem 0 .2rem .55rem; border-left: 2px solid var(--red); }
.nav-sub.open { display: block; }
.nav-sub a { display: flex; align-items: center; justify-content: space-between; padding: .42rem .7rem; border-radius: .55rem; color: var(--text); font-size: .87rem; font-weight: 500; text-decoration: none !important; }
.nav-sub a:hover { background: var(--red-soft); color: var(--red); }
.nav-sub a.active { background: var(--red-soft); color: var(--red); font-weight: 600; }
.nav-sub .pill-n { font-size: .68rem; background: var(--red); color: #fff; border-radius: 99px; padding: 0 .45rem; font-weight: 700; }
.side-foot { margin-top: 1.2rem; padding: .9rem .8rem 0; border-top: 1.5px solid var(--red); font-size: .74rem; color: var(--muted2); }
#scrim { position: fixed; inset: 0; background: rgba(40,10,15,.35); z-index: 39; display: none; }

/* ---------- main ---------- */
.main { margin-left: var(--side-w); padding: calc(var(--top-h) + 1.2rem) 1.4rem 0; min-height: 100vh; display: flex; flex-direction: column; }
.main > .content { flex: 1; }
.page-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border: 2px solid var(--red); border-radius: var(--r); padding: .75rem 1.1rem; background: var(--card); margin-bottom: 1.2rem; }
.page-head h1 { font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.crumbs { display: flex; align-items: center; gap: .35rem; font-size: .86rem; color: var(--muted); flex-wrap: wrap; }
.crumbs::before { content: ""; width: 1.5px; height: 1.1rem; background: var(--rule); margin-right: .4rem; }
.crumbs a { color: var(--red-dark); font-weight: 500; }
.crumbs .sep { color: var(--muted2); }
.page-head .help-guide { margin-left: auto; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.2rem; align-items: start; }
.layout.wide { grid-template-columns: minmax(0, 1fr); }
.footer { margin-top: 2.5rem; padding: 1rem 0 1.3rem; border-top: 1.5px solid var(--red); display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; font-size: .76rem; color: var(--muted); }
.footer a { color: var(--muted); } .footer a:hover { color: var(--red); }
.footer .to-top { margin-left: auto; }

/* ---------- cards ---------- */
.card { border: 2px solid var(--red); border-radius: 1rem; background: var(--card); margin-bottom: 1.2rem; overflow: hidden; }
.card-h { padding: .7rem 1.1rem; border-bottom: 1.5px solid var(--red); font-weight: 700; color: var(--red-dark); display: flex; align-items: center; gap: .6rem; }
.card-h .more { margin-left: auto; font-size: .82rem; font-weight: 600; }
.card-b { padding: 1rem 1.1rem; }
.card-b > p:first-child { margin-top: 0; }
.card.soft { background: var(--red-faint); }
.card.plain { border-color: var(--line); }
.side-actions .act { padding: .1rem 0 .8rem; }
.side-actions .act + .act { border-top: 1.5px solid var(--red); padding-top: .8rem; }
.side-actions .act p { margin: 0 0 .45rem; font-weight: 500; }
.hero { background: linear-gradient(135deg, #C8102E, #8F0B20); color: #fff; border-radius: 1.2rem; padding: 1.5rem 1.6rem; margin-bottom: 1.2rem; position: relative; overflow: hidden; }
.hero h2, .hero h3 { color: #fff; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.07); }
html.dark .hero { background: linear-gradient(135deg, #7d1a2a, #4f101b); }
.jumbo { border: 2px solid var(--red); border-radius: 1rem; background: var(--red-faint); padding: 2rem 2rem 1.8rem; margin-bottom: 1.3rem; }
.jumbo h2 { font-size: 2.3rem; font-weight: 600; margin-bottom: .3rem; }
.jumbo p { margin: 0 0 1.1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; font-weight: 600; padding: .5rem 1.1rem; border: 2px solid var(--red); background: var(--red); color: #fff; cursor: pointer; text-decoration: none !important; line-height: 1.2; white-space: nowrap; font-size: .9rem; transition: background .15s, color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
html.dark .btn:hover { background: #a02234; border-color: #a02234; }
.btn.outline { background: var(--card); color: var(--red); }
.btn.outline:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.btn.ghost { background: var(--card); color: var(--red-dark); border: 1.5px solid var(--pink-border); }
.btn.ghost:hover { background: var(--red-soft); color: var(--red); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.dark:hover { background: #000; border-color: #000; }
.btn.sm { padding: .25rem .75rem; font-size: .78rem; border-width: 1.5px; }
.btn.lg { padding: .75rem 1.5rem; font-size: 1rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.link-btn { border: 0; background: none; color: var(--red-dark); font-weight: 600; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--red); text-decoration: underline; }
.ico-btn { width: 32px; height: 32px; border-radius: 99px; border: 0; background: var(--red-soft); color: var(--red); display: inline-grid; place-items: center; cursor: pointer; }
.ico-btn:hover { background: #f9d3da; }

/* ---------- forms ---------- */
.field { margin-bottom: .9rem; }
.field > label, .lbl { display: block; font-size: .8rem; font-weight: 600; color: var(--red-dark); margin-bottom: .3rem; }
.field .req { color: var(--red); }
.input, .field input[type=text], .field input[type=date], .field input[type=time], .field input[type=number], .field input[type=email], .field input[type=tel], .field input[type=month], .field select, .field textarea, select.input {
  width: 100%; border: 1.5px solid var(--rule); border-radius: .6rem; padding: .55rem .8rem; background: var(--card); min-height: 40px; }
html.dark .input, html.dark .field input, html.dark .field select, html.dark .field textarea { background: #1b1b21; border-color: #3a3a44; }
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: .25rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
.check { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; font-weight: 500; }
.check input { width: 17px; height: 17px; accent-color: var(--red); }
.err { color: var(--red); font-size: .8rem; margin-top: .25rem; }

/* filter panel */
.filter { border: 2px solid var(--red); border-radius: 1rem; background: var(--red-faint); padding: .85rem 1.1rem 1rem; margin-bottom: 1rem; }
.filter-top { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .8rem; color: var(--text); }
.filter-top select { border: 1.5px solid var(--rule); border-radius: .5rem; padding: .18rem .5rem; background: var(--card); font-size: .8rem; min-height: 0; }
.filter-top .saved { margin-left: auto; position: relative; }
.filter-label { font-size: .78rem; color: var(--muted); margin: .7rem 0 .25rem; }
.search-row { display: flex; gap: .5rem; }
.search-box { flex: 1; display: flex; align-items: center; border: 1.5px solid var(--rule); border-radius: 99px; background: var(--card); overflow: hidden; }
.search-box svg { margin: 0 .3rem 0 .9rem; color: var(--red); }
.search-box input { border: 0; background: transparent; flex: 1; padding: .55rem .5rem; min-height: 40px; }
.filter-bottom { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: .75rem; padding-top: .7rem; border-top: 1.5px solid var(--red); font-size: .8rem; color: var(--muted); }
.filter-bottom .grow { flex: 1; min-width: 200px; }
.adv { display: none; margin-top: .8rem; padding: .8rem .9rem .1rem; border: 1.5px dashed var(--red); border-radius: .8rem; background: var(--card); }
.adv.open { display: block; }
.adv .grid3 .field { margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-top: .7rem; font-size: .8rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--ink); color: var(--bg); border-radius: 99px; padding: .15rem .35rem .15rem .7rem; font-size: .74rem; font-weight: 600; }
.chip button { border: 0; background: rgba(255,255,255,.18); color: inherit; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; padding: 0; }
.chip button:hover { background: var(--red); }
.chip-group { display: inline-flex; align-items: center; gap: .4rem; }

/* tabs */
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem; border-bottom: 2px solid var(--red); padding-bottom: 0; }
.tab { padding: .55rem 1.1rem; border: 2px solid transparent; border-bottom: 0; border-radius: .8rem .8rem 0 0; color: var(--red-dark); font-weight: 600; background: none; cursor: pointer; margin-bottom: -2px; text-decoration: none !important; font-size: .9rem; }
.tab:hover { background: var(--red-soft); }
.tab.active { border-color: var(--red); background: var(--card); color: var(--ink); box-shadow: 0 2px 0 var(--card); }
.pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pill { border: 2px solid var(--red); color: var(--red); background: var(--card); border-radius: 99px; padding: .4rem 1.05rem; font-weight: 600; cursor: pointer; font-size: .86rem; }
.pill:hover { background: var(--red-soft); }
.pill.active { background: var(--red); color: #fff; }

/* tables — black ruled lines, pink header (LMS lesson tables) */
.table-wrap { overflow-x: auto; border-radius: .7rem; margin-bottom: 1rem; }
table.t { width: 100%; border-collapse: collapse; border: 1.5px solid var(--rule); background: var(--card); font-size: .87rem; }
table.t th, table.t td { border: 1.5px solid var(--rule); padding: .6rem .8rem; text-align: left; vertical-align: middle; }
table.t thead th { background: var(--red-soft); color: var(--red-dark); font-weight: 700; font-size: .8rem; white-space: nowrap; }
table.t thead th.sortable { cursor: pointer; user-select: none; }
table.t thead th.sortable:hover { color: var(--red); }
table.t tbody tr.click { cursor: pointer; }
table.t tbody tr.click:hover td { background: var(--red-soft); }
table.t td.num, table.t th.num { text-align: right; }
table.t td.nowrap { white-space: nowrap; }
table.t td .sub { display: block; font-size: .76rem; color: var(--muted); }
table.t.kv th { width: 34%; background: var(--red-faint); color: var(--ink); font-weight: 600; }
table.t.compact th, table.t.compact td { padding: .4rem .6rem; }
.no-results { padding: .2rem 0 1rem; color: var(--text); }
.pager { display: flex; gap: .3rem; align-items: center; justify-content: flex-end; margin: -.4rem 0 1rem; font-size: .82rem; }
.pager button { min-width: 32px; height: 32px; border-radius: 99px; border: 1.5px solid var(--red); background: var(--card); color: var(--red); font-weight: 600; cursor: pointer; }
.pager button.on { background: var(--red); color: #fff; }

/* status tags + dots */
.tag { display: inline-flex; align-items: center; gap: .3rem; border-radius: 99px; padding: .12rem .6rem; font-size: .74rem; font-weight: 600; white-space: nowrap; border: 1.5px solid currentColor; }
.tag.red { color: var(--red); background: var(--red-soft); }
.tag.green { color: var(--ok); background: var(--ok-soft); }
.tag.amber { color: var(--warn); background: var(--warn-soft); }
.tag.grey { color: var(--muted); background: transparent; }
.tag.dark { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; vertical-align: -2px; flex: 0 0 auto; }
.dot.red { background: #e01e1e; } .dot.amber { background: #f5a623; } .dot.green { background: #1f8f3a; } .dot.grey { background: #8a8f99; }
.legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .84rem; margin: .4rem 0 .9rem; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.risk { display: inline-grid; place-items: center; min-width: 34px; height: 26px; border-radius: 7px; font-weight: 700; font-size: .8rem; color: #fff; }

/* alerts */
.alert { display: flex; align-items: center; gap: .8rem; border: 2px solid var(--red); background: var(--red-soft); color: var(--red-dark); border-radius: .9rem; padding: .75rem 1rem; margin-bottom: 1.1rem; font-weight: 500; }
.alert .x { margin-left: auto; }
.alert.ok { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }

/* dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.2rem; }
.leave-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; }
.leave-hero .big { font-size: 2.9rem; font-weight: 700; line-height: 1.05; margin: .2rem 0; }
.leave-hero .of { font-size: 1.25rem; opacity: .95; }
.leave-hero .yr { margin-top: 1.2rem; font-size: .92rem; opacity: .95; }
.leave-hero .btn { background: #fff; color: var(--red); border-color: #fff; margin-top: 1rem; }
.leave-hero .btn:hover { background: var(--red-soft); color: var(--red-dark); }
.pie-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.pie-legend { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.pie-legend li { display: flex; align-items: center; gap: .5rem; margin: .15rem 0; }
.pie-legend i { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; display: inline-block; }
.pie-note { font-weight: 700; font-size: .85rem; }
.course-hero { display: flex; align-items: center; gap: 2rem; min-height: 160px; }
.course-hero svg { width: 120px; height: 120px; opacity: .9; flex: 0 0 auto; }
.course-hero h3 { font-size: 1.35rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.tile { display: flex; align-items: center; gap: 1rem; border: 2px solid var(--red); border-radius: 1rem; background: var(--card); padding: .85rem 1rem; text-decoration: none !important; color: var(--text); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(143,11,32,.15); color: var(--text); }
.tile .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.tile .ic svg { width: 28px; height: 28px; }
.tile small { display: block; color: var(--muted); font-size: .8rem; }
.tile b { display: block; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.tile .go { margin-left: auto; color: var(--red); }
.links li { list-style: none; border-bottom: 1.5px solid var(--red); }
.links li:last-child { border-bottom: 0; }
.links { margin: 0; padding: 0; }
.links a { display: flex; align-items: center; gap: .55rem; padding: .62rem 0; font-weight: 500; }
.dyk { background: linear-gradient(135deg, #C8102E, #8F0B20); color: #fff; border: 0; }
.dyk .card-b { font-size: 1rem; }
.dyk h3 { color: #fff; font-size: 1.2rem; margin-bottom: .4rem; }
.quote { background: var(--ink); color: #fff; border: 0; }
html.dark .quote { background: #000; }
.quote h3 { color: #fff; font-size: 1.2rem; margin-bottom: .4rem; }
.quote blockquote { margin: 0; font-size: 1rem; font-style: italic; }
.quote cite { display: block; margin-top: .5rem; font-size: .85rem; opacity: .8; font-style: normal; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.stat { border: 2px solid var(--red); border-radius: 1rem; padding: .8rem 1rem; background: var(--card); }
.stat small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.stat b { font-size: 1.6rem; color: var(--red-dark); font-weight: 700; }
.bar { height: 10px; background: var(--red-line); border-radius: 99px; overflow: hidden; margin: .35rem 0; }
.bar div { height: 100%; background: var(--red); border-radius: 99px; }

/* calendar */
.cal-nav { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .8rem; }
.cal-nav h2 { flex: 1; text-align: center; font-size: 1.25rem; font-weight: 600; min-width: 180px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1.5px solid var(--rule); border-radius: .8rem; overflow: hidden; background: var(--card); }
.cal .dow { background: var(--red-soft); color: var(--red-dark); font-weight: 700; text-align: center; padding: .55rem .2rem; border-bottom: 1.5px solid var(--rule); font-size: .84rem; }
.cal .day { min-height: 118px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: .35rem .45rem; position: relative; display: flex; flex-direction: column; gap: .2rem; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.other { background: var(--bg2); color: var(--muted2); }
html.dark .cal .day.other { background: #1b1b21; }
.cal .num { align-self: flex-end; font-weight: 600; font-size: .82rem; }
.cal .day.today .num { background: var(--red); color: #fff; border-radius: 99px; width: 24px; height: 24px; display: grid; place-items: center; }
.cal .ev { display: flex; align-items: center; gap: .3rem; font-size: .76rem; line-height: 1.25; cursor: pointer; border-radius: .35rem; padding: .05rem .2rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal .ev:hover { background: var(--red-soft); }
.cal .ev i { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.cal .add-ev { position: absolute; left: .4rem; top: .35rem; display: none; }
.cal .day:hover .add-ev { display: inline-flex; }
.cal .more { margin-top: auto; }
.cats { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .7rem 0 .2rem; }
.cats label { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 500; cursor: pointer; }
.cats input { width: 16px; height: 16px; }

/* staff */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.person { border: 2px solid var(--red); border-radius: 1rem; padding: 1rem; background: var(--card); display: flex; gap: .8rem; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.person:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(143,11,32,.15); }
.person b { display: block; color: var(--ink); }
.person .meta { font-size: .78rem; color: var(--muted); line-height: 1.45; }
.person .meta strong { color: var(--text); font-weight: 600; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: .3rem; }

/* course cards (LMS) */
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.course { border: 2px solid var(--red); border-radius: 1rem; overflow: hidden; background: var(--card); display: flex; flex-direction: column; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.course:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(143,11,32,.15); }
.course .img { height: 96px; background: linear-gradient(135deg, #C8102E, #8F0B20); color: #fff; display: grid; place-items: center; }
.course .img svg { width: 40px; height: 40px; opacity: .9; }
.course .body { padding: .8rem .9rem .9rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.course .name { font-weight: 700; color: var(--red-dark); line-height: 1.3; }
.course .meta { font-size: .78rem; color: var(--muted); }
.course .pct { font-size: .8rem; font-weight: 600; color: var(--red-dark); }
.lesson { border: 2px solid var(--red); border-radius: .9rem; background: var(--red-faint); padding: .8rem 1rem; margin-bottom: .7rem; display: flex; gap: .8rem; align-items: flex-start; }
.lesson.done { background: var(--ok-soft); border-color: var(--ok); }
.lesson .n { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; font-size: .85rem; }
.lesson.done .n { background: var(--ok); }
.quiz-q { border: 2px solid var(--red); border-radius: .9rem; padding: .9rem 1rem; margin-bottom: .8rem; }
.quiz-q .q { font-weight: 600; margin-bottom: .5rem; }
.quiz-q label { display: flex; gap: .5rem; align-items: center; padding: .4rem .6rem; border-radius: .5rem; cursor: pointer; border: 1.5px solid transparent; }
.quiz-q label:hover { background: var(--red-soft); }
.quiz-q label.right { border-color: var(--ok); background: var(--ok-soft); }
.quiz-q label.wrong { border-color: var(--red); background: var(--red-soft); }
.cert { border: 6px double var(--red); border-radius: 1rem; padding: 2rem; text-align: center; background: var(--card); }
.cert h2 { color: var(--red); font-size: 1.8rem; }
.cert .nm { font-size: 1.5rem; font-weight: 700; margin: .6rem 0; border-bottom: 1.5px solid var(--rule); display: inline-block; padding: 0 1.5rem .2rem; }

/* modal + drawer */
.overlay { position: fixed; inset: 0; background: rgba(40,10,15,.42); z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 1rem; overflow-y: auto; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 680px; background: var(--card); border: 2px solid var(--red); border-radius: 1.1rem; box-shadow: var(--shadow); animation: pop .16s ease; }
.modal.wide { max-width: 940px; }
.modal.narrow { max-width: 460px; }
.modal-h { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border-bottom: 1.5px solid var(--red); }
.modal-h h3 { font-size: 1.15rem; color: var(--red-dark); }
.modal-h .x { margin-left: auto; }
.modal-b { padding: 1.1rem 1.2rem .4rem; }
.modal-f { display: flex; gap: .6rem; justify-content: flex-end; padding: .8rem 1.2rem 1rem; border-top: 1.5px solid var(--red); flex-wrap: wrap; }
.modal-f .left { margin-right: auto; display: flex; gap: .6rem; flex-wrap: wrap; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: var(--card); z-index: 95; border-left: 2px solid var(--red); border-radius: 1.1rem 0 0 1.1rem; box-shadow: -8px 0 30px rgba(0,0,0,.15); display: flex; flex-direction: column; animation: slide .22s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer .modal-b { overflow-y: auto; flex: 1; }
.doc { line-height: 1.7; }
.doc h4 { color: var(--red-dark); margin: 1rem 0 .3rem; }
.doc p { margin: 0 0 .8rem; }
.doc ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.ex { background: var(--red-faint); border-left: 3px solid var(--red); padding: .55rem .8rem; border-radius: .4rem; font-size: .9rem; margin: .6rem 0; }
.sig-pad { border: 2px dashed var(--red); border-radius: .8rem; background: #fff; width: 100%; height: 160px; touch-action: none; cursor: crosshair; display: block; }
.sig-img { max-height: 70px; background: #fff; border-radius: .4rem; border: 1px solid var(--line); }

/* get help */
.gethelp { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; display: inline-flex; align-items: center; gap: .55rem; background: var(--red); color: #fff; border: 0; border-radius: 99px; padding: .8rem 1.3rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 8px 22px rgba(200,16,46,.35); cursor: pointer; }
.gethelp:hover { background: var(--red-dark); }
.chat { position: fixed; right: 1.4rem; bottom: 5.2rem; width: 380px; max-width: calc(100vw - 2rem); height: 540px; max-height: calc(100vh - 7rem); z-index: 61; background: var(--card); border: 2px solid var(--red); border-radius: 1.1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; animation: pop .16s; }
.chat-log { flex: 1; overflow-y: auto; padding: .9rem; display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 88%; padding: .55rem .8rem; border-radius: 1rem; font-size: .88rem; line-height: 1.45; white-space: pre-wrap; }
.msg.bot { background: var(--red-soft); color: var(--text); border-bottom-left-radius: .3rem; align-self: flex-start; }
.msg.me { background: var(--red); color: #fff; border-bottom-right-radius: .3rem; align-self: flex-end; }
.msg a { color: inherit; text-decoration: underline; }
.chat-sug { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .9rem .6rem; }
.chat-sug button { border: 1.5px solid var(--red); color: var(--red); background: var(--card); border-radius: 99px; font-size: .74rem; padding: .2rem .6rem; cursor: pointer; font-weight: 600; }
.chat-in { display: flex; gap: .4rem; padding: .7rem; border-top: 1.5px solid var(--red); }
.chat-in input { flex: 1; border: 1.5px solid var(--rule); border-radius: 99px; padding: .5rem .9rem; background: var(--card); }
.typing { display: inline-flex; gap: 3px; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* toast */
#toasts { position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: .5rem; align-items: center; }
.toast { background: var(--ink); color: var(--bg); padding: .65rem 1.1rem; border-radius: 99px; font-weight: 500; font-size: .88rem; box-shadow: 0 8px 22px rgba(0,0,0,.25); border-left: 5px solid var(--red); animation: pop .18s; }

/* search results */
.result { border: 2px solid var(--red); border-radius: .9rem; padding: .7rem 1rem; margin-bottom: .6rem; display: block; color: var(--text); background: var(--card); }
.result:hover { background: var(--red-soft); text-decoration: none; color: var(--text); }
.result small { color: var(--muted); display: block; font-size: .76rem; }
mark { background: #ffe08a; color: inherit; border-radius: 3px; padding: 0 2px; }

.muted { color: var(--muted); }
.small { font-size: .82rem; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt1 { margin-top: 1rem; } .mb1 { margin-bottom: 1rem; }
.flex { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.hr { height: 0; border-top: 1.5px solid var(--red); margin: 1rem 0; }
.section-title { font-size: 1.5rem; font-weight: 600; margin: .4rem 0 .7rem; }
.kbd { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; background: var(--red-soft); padding: .05rem .35rem; border-radius: .3rem; }

/* print */
@media print {
  .topbar, .side, .gethelp, .chat, .footer, .filter, .tabs, .page-head .help-guide, .no-print, .btn { display: none !important; }
  .main { margin: 0; padding: 0; }
  .layout { display: block; }
  body { background: #fff; color: #000; }
}

/* responsive */
@media (max-width: 1180px) {
  .layout, .dash { grid-template-columns: minmax(0, 1fr); }
  .top-practice { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  #burger { display: inline-flex; }
  .brand { min-width: 0; }
  .brand > div { display: none; }
  .side { transform: translateX(-105%); transition: transform .25s ease; border-radius: 0 1.1rem 1.1rem 0; box-shadow: 8px 0 30px rgba(0,0,0,.15); z-index: 70; top: 0; padding-top: 1.2rem; }
  body.side-open .side { transform: none; }
  body.side-open #scrim { display: block; z-index: 65; }
  .main { margin-left: 0; padding-left: 1rem; padding-right: 1rem; }
  .user-btn .who, .switch .lbl-txt, .top-link .lbl-txt { display: none; }
  .leave-hero { grid-template-columns: 1fr; }
  .tiles, .grid2, .grid3 { grid-template-columns: 1fr; }
  .cal .day { min-height: 82px; }
  .cal .ev span { display: none; }
}
@media (max-width: 560px) {
  .top-search { display: none; }
  .top-right { gap: .4rem; }
  .page-head h1 { font-size: 1.2rem; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .jumbo h2 { font-size: 1.7rem; }
  .gethelp .lbl-txt { display: none; }
}

/* ---------- online HUB: sign-in, PA, messages ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; background: var(--bg2); }
.gate-card { width: 100%; max-width: 440px; background: var(--card); border: 2px solid var(--red); border-radius: 1.3rem; padding: 2rem 1.8rem; box-shadow: var(--shadow); text-align: center; }
.gate-card h1 { font-size: 1.35rem; margin: 1rem 0 .4rem; color: var(--ink); }
.gate-brand { display: inline-flex; align-items: center; gap: .7rem; text-align: left; }
.gate-brand b { display: block; color: var(--red); font-size: 1.05rem; line-height: 1.1; }
.gate-brand span:not(.brand-badge) { display: block; font-size: .64rem; letter-spacing: .2em; color: var(--red-dark); font-weight: 600; }
.gate .btn.google { background: #fff; color: #222; border: 2px solid var(--rule); margin: .6rem 0; }
.gate .btn.google:hover { border-color: var(--red); background: var(--red-faint); color: #222; }
.gate-foot { margin-top: 1.4rem; }
.chat[hidden] { display: none !important; }
.pa-panel { width: 420px; height: 620px; }
.pa-panel .pa-av { width: 34px; height: 34px; font-size: .9rem; }
.pa-panel .chat-in { align-items: flex-end; }
.pa-panel .chat-in textarea, .chat-page .chat-in textarea { flex: 1; resize: none; border: 1.5px solid var(--rule); border-radius: 1.1rem; padding: .5rem .9rem; background: var(--card); color: var(--text); font: inherit; font-size: .9rem; max-height: 140px; }
.pa-panel .ico-btn { cursor: pointer; }
.pa-panel .mic[aria-pressed="true"] { background: var(--red); color: #fff; border-radius: 99px; animation: blink 1.4s infinite; }
.msg p { margin: 0 0 .35rem; } .msg p:last-child { margin-bottom: 0; } .msg ul { margin: .2rem 0 .3rem 1.1rem; padding: 0; }
.msg { white-space: normal; }
.msg.sys { align-self: center; background: none; color: var(--muted2); font-size: .8rem; font-style: italic; text-align: center; }
.msg .acts { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.msg .act { font-size: .72rem; font-weight: 600; background: var(--ok-soft); color: var(--ok); border-radius: 99px; padding: .1rem .5rem; }
.msg .act.err { background: var(--warn-soft); color: var(--red-dark); }
.msg .stamp { font-size: .68rem; opacity: .7; margin-top: .2rem; }
.chat-page { display: grid; grid-template-columns: 280px 1fr; gap: 0; padding: 0 !important; min-height: 480px; }
.chat-page .people { border-right: 1.5px solid var(--red); overflow-y: auto; max-height: 70vh; }
.person { display: flex; gap: .6rem; align-items: center; width: 100%; padding: .7rem .9rem; background: none; border: 0; border-bottom: 1.5px solid var(--red-line); cursor: pointer; text-align: left; color: var(--text); font: inherit; }
.person:hover, .person.on { background: var(--red-soft); }
.person .grow { flex: 1; min-width: 0; } .person small { display: block; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person .avatar { width: 34px; height: 34px; font-size: .75rem; }
.person .pill-n { background: var(--red); color: #fff; border-radius: 99px; padding: 0 .45rem; font-size: .7rem; font-weight: 700; }
.chat-page .convo { display: flex; flex-direction: column; min-height: 480px; }
.convo-head { display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem; border-bottom: 1.5px solid var(--red); }
.convo-head .avatar { width: 34px; height: 34px; font-size: .75rem; }
.convo-head .back { display: none; }
.convo-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; max-height: 60vh; }
.unread-row td { background: var(--red-faint); }
.today-row td { background: var(--red-faint); font-weight: 600; }
.pa-card .ob-bar { height: 8px; border-radius: 99px; background: var(--red-line); overflow: hidden; margin-bottom: .7rem; }
.pa-card .ob-bar i { display: block; height: 100%; background: var(--red); }
.pa-card .ob-steps { margin: 0 0 .9rem 1.2rem; padding: 0; columns: 2; font-size: .88rem; }
.pa-card .ob-steps li.done { color: var(--muted2); text-decoration: line-through; }
@media (max-width: 760px) {
  .pa-panel { right: .5rem; left: .5rem; width: auto; bottom: 4.6rem; height: calc(100vh - 6rem); max-width: none; }
  .chat-page { grid-template-columns: 1fr; }
  .chat-page .people { border-right: 0; max-height: none; }
  .chat-page .convo { display: none; }
  .chat-page.open .people { display: none; } .chat-page.open .convo { display: flex; }
  .convo-head .back { display: grid; }
  .pa-card .ob-steps { columns: 1; }
}
.badge-count[hidden] { display: none !important; }

/* ---------- front page: just the PA chat ---------- */
body.home-mode .side { transform: translateX(-105%); transition: transform .25s ease; z-index: 70; top: 0; padding-top: 1.2rem; box-shadow: 8px 0 30px rgba(0,0,0,.15); border-radius: 0 1.1rem 1.1rem 0; }
body.home-mode.side-open .side { transform: none; }
body.home-mode.side-open #scrim { display: block; z-index: 65; }
body.home-mode #burger { display: inline-flex; }
body.home-mode .main { margin-left: 0; padding: var(--top-h) 0 0; height: 100vh; height: 100dvh; min-height: 0; }
body.home-mode .footer, body.home-mode .gethelp, body.home-mode .top-search, body.home-mode .top-practice,
body.home-mode .top-link, body.home-mode .switch[data-offsite] { display: none !important; }
body.home-mode .topbar { border-bottom-width: 1px; box-shadow: none; }
body.home-mode .content { display: flex; min-height: 0; }
.chat.pa-full { position: static; width: 100%; max-width: 820px; height: 100%; max-height: none; margin: 0 auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; display: flex; flex-direction: column; }
.pa-full .modal-h { display: none; }
.pa-full .chat-log { padding: 1.5rem 1.2rem 1rem; gap: .9rem; }
.pa-full .msg { font-size: .98rem; max-width: 82%; padding: .7rem 1rem; }
.pa-full .msg.bot { background: var(--card); border: 1.5px solid var(--red-line); }
.pa-full .chat-sug { justify-content: center; padding: 0 1.2rem .7rem; }
.pa-full .chat-sug button { font-size: .8rem; padding: .3rem .8rem; }
.pa-full .chat-in { border: 2px solid var(--red); border-radius: 1.4rem; margin: 0 1rem 1rem; padding: .45rem .5rem; background: var(--card); }
.pa-full .chat-in textarea { border: 0 !important; font-size: 1rem !important; }
.pa-full .chat-in textarea:focus { outline: none; }
.pa-hello { margin: auto; text-align: center; max-width: 460px; padding: 2rem 1rem; }
.pa-hello-av { width: 64px; height: 64px; border-radius: 20px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; margin: 0 auto 1rem; }
.pa-hello h2 { font-size: 1.6rem; color: var(--ink); margin: 0 0 .4rem; }
.pa-hello p { color: var(--muted2); margin: 0; }
@media (max-width: 760px) {
  .pa-full .msg { max-width: 90%; }
  .pa-full .chat-in { margin: 0 .5rem .6rem; }
}
.chat-sug[hidden] { display: none !important; }
.pa-full .chat-in textarea, .pa-full .chat-in textarea:focus { border: 0 !important; box-shadow: none !important; outline: none !important; background: transparent !important; }
