/* EasyTalk platform. Brand: purple #673187, yellow #fcc046; Jost for headings, Montserrat for text (as the EasyTalk site and test). */
:root {
  --purple: #673187; --purple-ink: #4a1f63; --purple-soft: #f1eaf6; --yellow: #fcc046; --yellow-ink: #3a2400; --yellow-soft: #fff6dc;
  --bg: #f7f3fa; --card: #fff; --fg: #2a2230; --muted: #625a6d; --line: #e5dcec; --line-2: #d6c9e0;
  --ok: #1e7a4c; --ok-bg: #e6f5ec; --bad: #b3261e; --bad-bg: #fbe9e7; --warn: #7a4f00; --warn-bg: #fff4d6; --info-bg: #eef3fd; --info: #1f4f9c;
  --display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --shadow: 0 1px 2px rgba(42, 34, 48, .05), 0 8px 24px rgba(74, 31, 99, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--fg); font: 15px/1.55 var(--body); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(1.55rem, 3.6vw, 2.1rem); font-weight: 700; color: var(--purple-ink); }
h2 { font-size: 1.22rem; font-weight: 700; color: var(--purple-ink); }
h3 { font-size: 1.02rem; font-weight: 600; color: var(--purple-ink); }
p { margin: 0; }
a { color: var(--purple); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .tiny { font-size: .78rem; }
.eyebrow { font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { opacity: .9; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.grow { flex: 1 1 auto; min-width: 0; }

/* ---------------------------------------------------------------- header and navigation */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .bar { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img.et { height: 38px; width: auto; }
.brand .x { width: 1px; height: 30px; background: var(--line-2); }
.brand img.org { height: 34px; width: auto; max-width: 130px; object-fit: contain; }
.me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.me .who { text-align: right; line-height: 1.2; }
.me .who b { display: block; font: 600 .92rem var(--display); color: var(--fg); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me .who small { color: var(--muted); font-size: .76rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font: 700 .9rem var(--display); border: 0; cursor: pointer; flex: none; }
nav.tabs { max-width: 1180px; margin: 0 auto; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px)); }
nav.tabs::-webkit-scrollbar { display: none; }
nav.tabs a { flex: none; display: flex; align-items: center; gap: 6px; padding: 10px 12px 11px; color: var(--muted); text-decoration: none; font: 600 .92rem var(--display); border-bottom: 3px solid transparent; white-space: nowrap; }
nav.tabs a:hover { color: var(--purple); }
nav.tabs a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--purple); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--yellow); color: var(--yellow-ink); font: 700 .72rem var(--body); }
.testmode { background: var(--warn-bg); color: var(--warn); text-align: center; font-size: .8rem; padding: 5px 12px; border-bottom: 1px solid #f1dfa8; }
.menu { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 58px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; min-width: 220px; z-index: 30; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--fg); text-decoration: none; cursor: pointer; font-weight: 500; }
.menu a:hover, .menu button:hover { background: var(--purple-soft); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

main { max-width: 1180px; margin: 0 auto; padding: 22px max(16px, env(safe-area-inset-right, 0px)) 70px max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 18px; min-width: 0; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.head p { margin-top: 4px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; font-size: .9rem; margin-bottom: 6px; }

/* ---------------------------------------------------------------- cards and layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2.6vw, 24px); box-shadow: var(--shadow); display: grid; gap: 12px; min-width: 0; }
.card.flat { box-shadow: none; }
.card.hero { background: linear-gradient(135deg, var(--purple) 0%, #7d3fa3 100%); color: #fff; border: 0; }
.card.hero h1, .card.hero h2, .card.hero h3 { color: #fff; }
.card.hero .muted { color: #e6d6f1; }
.card.hero .eyebrow { color: var(--yellow); }
.card.soft { background: var(--purple-soft); border-color: transparent; box-shadow: none; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cols { display: grid; gap: 18px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
.cols.c14 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .cols, .cols.c14 { grid-template-columns: minmax(0, 1fr); } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.between { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.stack { display: grid; gap: 10px; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }

/* stats */
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 1.7rem/1.1 var(--display); color: var(--purple-ink); }
.stat span { color: var(--muted); font-size: .84rem; }
.stat small { display: block; color: var(--muted); font-size: .76rem; margin-top: 4px; }
.bars { display: grid; gap: 8px; }
.barrow { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; gap: 10px; align-items: center; font-size: .86rem; }
.barrow .track { height: 12px; background: var(--purple-soft); border-radius: 99px; overflow: hidden; display: flex; }
.barrow .track i { display: block; height: 100%; background: var(--purple); }
.barrow .track i.p { background: #b89bcb; }
@media (max-width: 520px) { .barrow { grid-template-columns: 96px minmax(0, 1fr) 44px; } }

/* ---------------------------------------------------------------- buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem var(--display); padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.15; min-height: 44px; background: #fff; color: var(--fg); border-color: var(--line-2); white-space: nowrap; }
.btn:hover { border-color: var(--purple); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn.primary:hover { background: var(--purple-ink); }
.btn.yellow { background: var(--yellow); color: var(--yellow-ink); border-color: var(--yellow); }
.btn.danger { color: var(--bad); border-color: #ecc3bf; }
.btn.danger:hover { border-color: var(--bad); }
.btn.link { border: 0; background: none; padding: 6px 4px; min-height: 0; color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.btn.small { padding: 7px 14px; min-height: 36px; font-size: .86rem; }
.btn.block { width: 100%; }
.card.hero .btn { border-color: transparent; }
label.f { display: grid; align-content: start; gap: 5px; font-weight: 600; font-size: .88rem; min-width: 0; }
label.f > span.h { font-weight: 400; color: var(--muted); font-size: .8rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; min-height: 44px; font-size: 1rem; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(103, 49, 135, .15); }
.code-input { font: 700 1.7rem var(--display) !important; letter-spacing: .5em; text-align: center; padding-left: .5em !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--purple); flex: none; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label { display: inline-flex; }
.days input { position: absolute; opacity: 0; pointer-events: none; }
.days span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .86rem; user-select: none; }
.days input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.days input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.slot-times { display: grid; gap: 8px; }
.slot-times .st { display: grid; grid-template-columns: 110px 140px; gap: 10px; align-items: center; }
.err { color: var(--bad); font-weight: 600; font-size: .9rem; }

/* ---------------------------------------------------------------- notes, pills, lists */
.note { padding: 12px 14px; border-radius: 12px; background: var(--info-bg); color: var(--info); font-size: .9rem; }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.bad { background: var(--bad-bg); color: var(--bad); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--purple-soft); color: var(--purple-ink); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.grey { background: #eeeaf1; color: var(--muted); }
.pill.yellow { background: var(--yellow-soft); color: var(--yellow-ink); }
.lvl { display: inline-flex; align-items: baseline; gap: 6px; }
.lvl b { font: 800 1.05rem var(--display); color: var(--purple); }
.biglevel { font: 800 clamp(2.2rem, 6vw, 3.2rem)/1 var(--display); color: var(--purple); }
.card.hero .biglevel { color: var(--yellow); }
.list { display: grid; }
.list > .item { display: flex; gap: 12px; align-items: center; padding: 12px 2px; border-top: 1px solid var(--line); min-width: 0; }
.list > .item:first-child { border-top: 0; }
.item .when { flex: none; width: 58px; text-align: center; border-radius: 12px; background: var(--purple-soft); padding: 6px 4px; line-height: 1.1; }
.item .when b { display: block; font: 700 1.25rem var(--display); color: var(--purple); }
.item .when small { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--purple-ink); letter-spacing: .06em; }
.item.cancelled { opacity: .6; } .item.cancelled .t { text-decoration: line-through; }
.item.past .when { background: #eeeaf1; } .item.past .when b { color: var(--muted); }
a.item { text-decoration: none; color: inherit; } a.item:hover { background: #fcfaff; }
.steps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: s; }
.step { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; position: relative; background: #fff; }
.step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem var(--display); background: var(--purple-soft); color: var(--purple); }
.step.done { border-color: #bfe3cd; background: #f7fcf9; } .step.done .n { background: var(--ok); color: #fff; }
.step.now { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(103, 49, 135, .1); } .step.now .n { background: var(--purple); color: #fff; }
.groupcard { display: grid; gap: 10px; }
.groupcard .sched { font: 600 1.05rem var(--display); color: var(--purple-ink); }
.seats { height: 8px; border-radius: 99px; background: var(--purple-soft); overflow: hidden; } .seats i { display: block; height: 100%; background: var(--purple); }
.msg { display: grid; gap: 4px; padding: 14px 4px; border-top: 1px solid var(--line); cursor: pointer; }
.msg:first-child { border-top: 0; }
.msg.unread .s { font-weight: 700; } .msg.unread .s::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: middle; }
.msg .b { white-space: pre-wrap; color: var(--fg); font-size: .92rem; margin-top: 6px; overflow-wrap: anywhere; }
.msg .meta { color: var(--muted); font-size: .8rem; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; }
.empty b { display: block; color: var(--purple-ink); font: 600 1.05rem var(--display); margin-bottom: 4px; }

/* ---------------------------------------------------------------- tables */
.tablewrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; font: 600 .76rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr.click { cursor: pointer; } tr.click:hover td { background: #fcfaff; }
td .sub { display: block; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type=search] { flex: 1 1 240px; min-width: 0; }
.filters select { width: auto; flex: 0 1 auto; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; font-size: .86rem; color: var(--muted); }
.att { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.att button { border: 0; background: #fff; padding: 7px 10px; font-size: .8rem; font-weight: 700; cursor: pointer; color: var(--muted); }
.att button + button { border-left: 1px solid var(--line); }
.att button.on[data-v=present] { background: var(--ok); color: #fff; } .att button.on[data-v=late] { background: #c98a00; color: #fff; }
.att button.on[data-v=absent] { background: var(--bad); color: #fff; } .att button.on[data-v=excused] { background: #6a5f78; color: #fff; }

/* ---------------------------------------------------------------- sign-in */
.signin { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.signin .side { background: linear-gradient(150deg, var(--purple) 0%, #4a1f63 100%); color: #fff; padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.signin .side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(252, 192, 70, .14); }
.signin .side h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; max-width: 15ch; }
.signin .side p { color: #e6d6f1; max-width: 40ch; font-size: 1.02rem; }
.signin .side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #f2e9f8; font-weight: 500; }
.signin .side li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); font-weight: 800; font-size: .8rem; margin-right: 10px; }
.signin .logos { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 12px 18px; width: max-content; max-width: 100%; position: relative; z-index: 1; }
.signin .logos img.et { height: 48px; } .signin .logos .x { width: 1px; height: 38px; background: var(--line-2); } .signin .logos img.org { height: 44px; max-width: 160px; object-fit: contain; }
.signin .formside { display: grid; place-items: center; padding: clamp(24px, 5vw, 60px) 20px; }
.signin .box { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.signin .box h2 { font-size: 1.6rem; }
.signin .box { max-width: 440px; }
.signin .newhere { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: .9rem; }
.signin .done-mark { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--yellow-ink); font-weight: 800; font-size: 1.5rem; }
label.f .opt { font-weight: 400; color: var(--muted); }
.testcode { border: 2px dashed var(--yellow); background: var(--yellow-soft); border-radius: 14px; padding: 12px 14px; font-size: .88rem; color: var(--yellow-ink); }
.testcode b { font: 800 1.4rem var(--display); letter-spacing: .2em; display: block; margin-top: 2px; }
@media (max-width: 820px) {
  .signin { grid-template-columns: minmax(0, 1fr); }
  .signin .side { padding: 22px 20px 26px; gap: 18px; }
  .signin .side ul, .signin .side .more { display: none; }
  .signin .side h1 { font-size: 1.7rem; }
  .signin .formside { place-items: start center; }
}

/* ---------------------------------------------------------------- dialogs, toast, review */
.overlay { position: fixed; inset: 0; background: rgba(28, 16, 38, .45); z-index: 50; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.dialog { background: #fff; border-radius: 20px; width: 100%; max-width: 560px; padding: clamp(18px, 3vw, 26px); display: grid; gap: 14px; box-shadow: 0 20px 60px rgba(28, 16, 38, .3); max-height: calc(100vh - 32px); overflow-y: auto; }
.dialog.wide { max-width: 860px; }
.dialog .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 60; font-weight: 500; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
#toast.bad { background: var(--bad); }
.transcript { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px; }
.transcript .t { padding: 8px 12px; border-radius: 12px; font-size: .9rem; max-width: 88%; }
.transcript .t.maya { background: var(--purple-soft); justify-self: start; }
.transcript .t.student { background: var(--yellow-soft); justify-self: end; }
.transcript .t small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.crit { display: grid; gap: 6px; }
.crit .c { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; font-size: .86rem; align-items: center; }
.dots { display: inline-flex; gap: 3px; } .dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--purple-soft); } .dots i.on { background: var(--purple); }
audio { width: 100%; }
pre.mail { white-space: pre-wrap; font: .88rem/1.55 var(--body); background: #faf8fc; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; overflow-wrap: anywhere; }
.drop { border: 2px dashed var(--line-2); border-radius: 16px; padding: 22px; text-align: center; color: var(--muted); }
.drop.on { border-color: var(--purple); background: var(--purple-soft); }
.show-sm, td .show-sm { display: none; }
.logo-prev { height: 60px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
@media (max-width: 640px) {
  .me .who { display: none; }
  .brand img.et { height: 32px; } .brand img.org { height: 28px; max-width: 96px; }
  main { padding-top: 16px; }
  .hide-sm { display: none; }
  .show-sm, td .show-sm { display: block; }
  td, th { padding: 8px 6px; }
  /* A wide table on a phone: each row becomes a small card with labelled values. */
  table.stack-sm thead { display: none; }
  table.stack-sm tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
  table.stack-sm td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; }
  table.stack-sm td.full { grid-column: 1 / -1; }
  table.stack-sm td.hide-sm { display: none; }
  table.stack-sm td[data-label]::before { content: attr(data-label); display: block; font: 700 .68rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  table.stack-sm td .sub { overflow-wrap: normal; }
}
@media print { .top, nav, .btn { display: none !important; } body { background: #fff; } .card { box-shadow: none; } }

/* ---------------------------------------------------------------- Maya practice */
.practicecard { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; background: linear-gradient(120deg, #fff 0%, var(--yellow-soft) 100%); }
.practicecard h2 { font-size: 1.1rem; }
.pcmark, .orb { border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #9a5cc2 0%, var(--purple) 55%, var(--purple-ink) 100%); color: #fff; font: 800 1.2rem var(--display); }
.pcmark { width: 52px; height: 52px; box-shadow: 0 0 0 6px rgba(103, 49, 135, .1); }
@media (max-width: 560px) { .practicecard { grid-template-columns: auto minmax(0, 1fr); } .practicecard .btn { grid-column: 1 / -1; } }
.topics label span { font-weight: 500; }
.tips { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--muted); }
.fbgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.fb ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.fb li { padding-left: 30px; position: relative; }
.fb li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.tryit { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--yellow-soft); }
.tryit .said { font-size: .84rem; color: var(--muted); }
.tryit .better { font-weight: 600; color: var(--purple-ink); }
.phrase { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.phrase:first-of-type { border-top: 0; }
.phrase b { color: var(--purple); font-family: var(--display); font-size: 1rem; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--purple); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; margin-left: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.lvtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.lvtabs button { border: 1.5px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 .86rem var(--display); cursor: pointer; color: var(--fg); display: inline-flex; align-items: center; gap: 6px; }
.lvtabs button[aria-selected="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.lvtabs .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
/* the call */
.callov { position: fixed; inset: 0; z-index: 70; background: #1b1222; color: #fff; display: flex; justify-content: center; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); overflow: hidden; }
.callbox { width: 100%; max-width: 1180px; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; gap: 12px; }
.calltop { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 2px; }
.calllogo { height: 34px; width: auto; flex: none; }
.calltitle { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.calltitle b { font: 600 1.05rem var(--display); color: #fff; }
.calltitle span { font-size: .84rem; color: #cdbfd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calllvl { flex: none; }
.calltime { flex: none; font: 700 1.25rem var(--display); font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .1); padding: 5px 14px; border-radius: 999px; }
.calltime.low { background: var(--yellow); color: var(--yellow-ink); }
.callstage { position: relative; border-radius: 22px; overflow: hidden; background: #2b2033; min-height: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.callstage .office { position: absolute; inset: 0; border-radius: inherit; }
.callstage .orbwrap { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #4a1f63 0%, var(--purple) 55%, #7d3fa3 100%); }
.orb { --v: 0; width: 150px; height: 150px; font-size: 3rem; transform: scale(calc(1 + var(--v) * .22)); transition: transform .08s linear; box-shadow: 0 0 0 calc(10px + var(--v) * 26px) rgba(252, 192, 70, .18), 0 18px 50px rgba(20, 6, 30, .45); }
.orb[data-state="joining"], .orb[data-state="thinking"] { animation: breathe 1.6s ease-in-out infinite; }
.orb[data-state="hearing"] { box-shadow: 0 0 0 calc(10px + var(--v) * 26px) rgba(255, 255, 255, .2), 0 18px 50px rgba(20, 6, 30, .45); }
.orb[data-state="ended"] { filter: grayscale(.6); opacity: .7; }
@keyframes breathe { 50% { transform: scale(.94); } }
.youtile { --v: 0; position: absolute; right: 12px; top: 12px; width: 124px; padding: 12px 8px 10px; border-radius: 16px; background: rgba(27, 16, 36, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; justify-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #fff; text-align: center; }
.youtile span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.youav { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #3a2400; font: 700 1.05rem var(--display); display: grid; place-items: center; box-shadow: 0 0 0 calc(2px + var(--v) * 6px) rgba(58, 208, 122, calc(.3 + var(--v) * .6)); transition: box-shadow .08s linear; }
.aichip { position: absolute; left: 12px; top: 52px; background: var(--yellow); color: #3a2400; font: 700 .72rem var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.captions { position: absolute; left: 50%; transform: translateX(-50%); bottom: 68px; width: min(calc(100% - 24px), 760px); display: grid; gap: 6px; padding: 12px 16px; border-radius: 16px; background: rgba(24, 14, 32, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-align: left; }
.captions:empty { display: none; }
.cap { margin: 0; font-size: .98rem; line-height: 1.45; color: #fff; overflow-wrap: anywhere; }
.cap.me { color: #ffe7a6; }
.callstatus { text-align: center; font: 600 1rem var(--display); color: var(--yellow); min-height: 1.4em; margin: 0; }
.callbtns { display: flex; gap: 26px; justify-content: center; }
.cbtn { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; color: #fff; font: 600 .8rem var(--display); cursor: pointer; }
.cbtn svg { width: 58px; height: 58px; padding: 16px; border-radius: 50%; background: rgba(255, 255, 255, .12); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: background .15s; }
.cbtn:hover svg { background: rgba(255, 255, 255, .2); }
.cbtn.on svg { background: #fff; stroke: var(--purple-ink); }
.cbtn.endbtn svg { background: #e0352b; fill: #fff; stroke: none; padding: 15px; }
.cbtn.endbtn:hover svg { background: #c22a21; }
.cbtn:focus-visible { outline: none; } .cbtn:focus-visible svg { outline: 2px solid var(--yellow); outline-offset: 3px; }
.aichiplvl { display: none; }
.callnote { color: #cdbfd8; min-height: 1em; text-align: center; margin: 0; }
@media (max-width: 600px) {
  .calllogo { height: 28px; } .calllvl { display: none; } .calltime { font-size: 1.1rem; padding: 4px 12px; }
  .callstage { border-radius: 18px; } .youtile { width: 96px; padding: 9px 6px 8px; font-size: .7rem; right: 8px; top: 8px; } .youav { width: 40px; height: 40px; font-size: .9rem; }
  .aichip { left: 8px; top: 46px; } .aichiplvl { display: inline; } .captions { bottom: 60px; padding: 10px 13px; } .cap { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { .orb, .orb[data-state] { animation: none; transition: none; } }

/* Business context: files about the work for Maya's practice */
.docic { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--purple-soft); display: grid; place-items: center; }
.docic svg { width: 21px; height: 21px; fill: none; stroke: var(--purple); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ctxsteps .step p { margin: 0; }
.sit { display: grid; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fcfaff; }
.sit textarea { min-height: 64px; }
.sit textarea.st { min-height: 0; resize: none; overflow: hidden; }
.srcbox summary { cursor: pointer; list-style-position: inside; }
.wpbox { padding-top: 4px; }
.days small { font-weight: 500; opacity: .75; }
#pastebox summary { cursor: pointer; color: var(--purple); font-weight: 600; }
#pastebox textarea { margin-top: 8px; min-height: 120px; width: 100%; }
div.f { display: grid; align-content: start; gap: 6px; min-width: 0; }
div.f > span { font-weight: 600; font-size: .88rem; }
div.f .opt { font-weight: 400; color: var(--muted); }
div.f .check { font-weight: 500; }

/* ================================================================ the 12-week course program (learners, instructors, managers) */
/* ---- phone tabs for learners: Home, Course, Activities, Chatbot, More */
.bottombar { display: none; }
.phone-only { display: none !important; }
@media (max-width: 760px) {
  body.learner nav.tabs { display: none; }
  body.learner main { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  body.learner #toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .phone-only { display: block !important; }
  .bottombar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); }
  .bottombar a, .bottombar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 2px 4px; border: 0; background: none; color: var(--muted); text-decoration: none; font: 600 .7rem var(--display); cursor: pointer; border-radius: 12px; min-height: 52px; }
  .bottombar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bottombar a[aria-current="page"] { color: var(--purple); }
  .bottombar a[aria-current="page"] svg { stroke-width: 2.2; }
  .bottombar a[aria-current="page"]::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--purple); }
  .menu.sheet { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); min-width: 0; border-radius: 18px; padding: 8px; box-shadow: 0 -6px 40px rgba(42, 34, 48, .18); }
  .menu.sheet a, .menu.sheet button { padding: 13px 14px; font-size: 1rem; }
}
.dotbadge { position: absolute; top: 5px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px #fff; }

/* ---- Maya's picture: the same Maya as in the placement test and the practice room */
.mayapic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: inline-block; background: #efe7f5 url("data:image/webp;base64,UklGRooPAABXRUJQVlA4IH4PAACw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ew/L/PMKEalgV46vdiUzwwapjxd4y+mm9IxiPI7VClxCBfTaNuAC/pLF80UKkEbnouPp8lN7LuJXL8t2F9cFMmz8SyBY9EgbQll2rIkAHJhtHScEHRgH9hwAisIek4zVhMph5lRcz4BwlzGDQr6PUO16F42vCKHVhPHBw5auckkfm1FSZNXF2eg4HddoNL0fFK9P2J+5j3i+Icv3c8WuhG38CCzwwyNuku0D8g70GhbUcEpcv5clm1R3V1cU3lezau+Gd1evBjGx/jbQVdzvRLQIA9+9VkNAiFnblLrB6/FWESdPdZw1KBp2p6LaSaaeg56biqi7U9zvgXDuLqZD+PSrl32ixxeHumU2RDGP7T1vSt0ZXkwYV6vySA/pbYp2vjgOY55q5SxIh4ZEGKlxF0MVuJGwYb2Q9SrIoDL2DLOQxJTvB+QzjksjBPYy1mVevtic/gujhw9FYSnln3CEcmYf5WlOb2D+wTtiVNal3FaWTon7e8G0gf/xVTSOuNvnOSYSiTIJg1lPgDbjtaajsaARoxIF2pT0EFHutgsnggXxlduVcO8TKNUuRS3/KpAgeU4xCe5OG8svy/dtIHUWGcGiXQLpnf61t4L6yUWUpjfvvRNR+TfRfG912cE1vakQFle+9HkiVweJl/2XQFz9f01Jt6D1fHQqGv4QzKnl/fG3Jot/Xt2hx4qvK6F330eXKIoKr7j67tZvs7WH/0pceO+Jv8HIfIyKeUaOSDCv0uSe7XMEU43iFBavbLZJTwe2N/xnXnU0OwP9PMPgszcURTwR+yU5vVNzEqnzNGZMtchLA+DGKSQ9lf+5RaSzd/lt4Q+nTwlAAWf51Snyf3jUXUqu7b+BmF+VeTJQAlQ95A70p3fwFwFD1SmyVK4uXavrKuKAsfVTbPOYEzt0QDc84LSgwumWjnyMPeCTDVWySOIvMZxrlsBZbowCD4db+xUBfqUNygtXcAAAA=") center 22% / cover no-repeat; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--purple-soft); }
.mayapic.sm { width: 36px; height: 36px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-2); }
.mayapic.lg { width: 84px; height: 84px; }

/* ---- small progress pieces */
.meter { display: block; height: 6px; border-radius: 99px; background: #ece5f2; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), #9a5bc4); transition: width .4s ease; }
.weekdots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.weekdots i { height: 6px; border-radius: 99px; background: #e9e1f0; }
.weekdots i.past { background: #b99ad0; }
.weekdots i.now { background: var(--yellow); box-shadow: 0 0 0 2px rgba(252, 192, 70, .35); }
.weekdots i.edge { margin-right: 6px; }
.card.hero .weekdots i { background: rgba(255, 255, 255, .22); }
.card.hero .weekdots i.past { background: rgba(255, 255, 255, .6); }
.card.hero .weekdots i.now { background: var(--yellow); }

/* ---- Home: this week */
.weekcard { gap: 14px; }
.weekcard h2 { font-size: 1.35rem; }
.wtiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.wtile { display: grid; gap: 8px; align-content: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.wtile:hover { border-color: var(--purple); box-shadow: 0 6px 18px rgba(103, 49, 135, .1); transform: translateY(-1px); }
.wtile.done { border-color: #bfe3cd; background: #f8fcf9; }
.wtile.done .meter i { background: var(--ok); }
.wtile.maya { background: linear-gradient(135deg, #fbf8fd, #f4edf9); }
.wt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wt-top b { font: 600 1rem var(--display); color: var(--purple-ink); }
.wt-count { font: 700 .8rem var(--display); color: var(--purple); }
.wtile.done .wt-count { color: var(--ok); }
.wt-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); flex: none; }
.wt-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.eventmini { text-decoration: none; color: inherit; gap: 6px; }
.eventmini:hover { border-color: var(--purple); }
.eventmini b { font: 600 1.02rem var(--display); color: var(--purple-ink); }

/* ---- Course: three modules of four weeks */
.modgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.mod { gap: 10px; }
.mod.now { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(103, 49, 135, .08), var(--shadow); }
.wklist { display: grid; gap: 6px; }
.wkrow { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #faf7fc; text-decoration: none; color: inherit; border: 1.5px solid transparent; }
.wkrow .grow { display: grid; gap: 2px; }
.wkrow b { font-weight: 600; font-size: .92rem; }
a.wkrow:hover { border-color: var(--line-2); background: #fff; }
.wkrow.now { background: #fff; border-color: var(--purple); }
.wkrow.done .wkn { background: var(--ok); color: #fff; }
.wkrow.locked { opacity: .62; }
.wkn { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--display); background: var(--purple-soft); color: var(--purple); }
.wkrow.now .wkn { background: var(--purple); color: #fff; }
.list > a.item .wkn { margin-right: 2px; }
.evhead { font: 700 .74rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--purple); padding: 14px 2px 2px; border-top: 1px solid var(--line); }
.evhead:first-child { border-top: 0; padding-top: 0; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.seg { display: inline-flex; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; justify-self: start; max-width: 100%; }
.seg label { display: inline-flex; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-width: 46px; min-height: 40px; padding: 0 10px; font: 700 .92rem var(--display); color: var(--muted); cursor: pointer; background: #fff; }
.seg label + label span { border-left: 1px solid var(--line); }
.seg input:checked + span { background: var(--purple); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: -3px; }

/* ---- the recorder */
.rec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.recgo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.recgo svg rect { fill: currentColor; stroke: none; }
.recgo.recording { background: var(--bad); border-color: var(--bad); animation: recpulse 1.4s ease-in-out infinite; }
@keyframes recpulse { 50% { box-shadow: 0 0 0 7px rgba(179, 38, 30, .14); } }
.rectime { font: 700 1.05rem var(--display); color: var(--purple-ink); font-variant-numeric: tabular-nums; min-width: 3.2em; }
.rec + audio { width: 100%; max-width: 420px; }

/* ---- one week */
.parts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; margin: -6px 0; position: sticky; top: 104px; z-index: 5; background: var(--bg); }
@media (max-width: 760px) { body.learner .parts { top: 58px; } }
.parts::-webkit-scrollbar { display: none; }
.parts button { flex: none; display: grid; gap: 1px; text-align: left; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font: 600 .9rem var(--display); color: var(--fg); box-shadow: 0 2px 6px rgba(42, 34, 48, .04); }
.parts button small { font: 500 .74rem var(--body); color: var(--muted); }
.parts button:hover, .parts button.on { border-color: var(--purple); color: var(--purple); }
.vn { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: #fbf9fd; border: 1px solid var(--line); }
.passage { margin: 0; padding: 14px 16px; border-left: 4px solid var(--yellow); background: #fff; border-radius: 0 12px 12px 0; font-size: 1.04rem; line-height: 1.7; color: var(--fg); }
.vfbbox { display: grid; gap: 10px; }
.vscore { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vscore b { font: 700 1.6rem var(--display); color: var(--purple-ink); }
.heard { border-left: 3px solid var(--line); padding: 2px 0 2px 12px; }
.veval { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--purple-soft); }
.vcrit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vcrit > div { display: grid; gap: 2px; align-content: start; }
.vcrit .vcn { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vcrit b { font: 700 1.15rem var(--display); color: var(--purple-ink); }
@media (max-width: 560px) { .vcrit { grid-template-columns: 1fr; gap: 8px; } .vcrit > div { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px; } .vcrit > div .tiny { grid-column: 1 / -1; } }
.heard p { margin: 4px 0 0; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.words { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.word { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: var(--purple-soft); }
.word b { font: 600 1rem var(--display); color: var(--purple-ink); }
.word span { font-size: .88rem; }
.word i { font-size: .84rem; color: var(--muted); }
.quiz { display: grid; gap: 14px; }
.q { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.q legend { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; padding: 0; margin-bottom: 4px; }
.qn { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font: 700 .8rem var(--display); margin-top: 1px; }
.q .opt { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; font-size: .94rem; }
.q .opt:hover { border-color: var(--line-2); background: #fcfafd; }
.q .opt input { accent-color: var(--purple); width: 18px; height: 18px; flex: none; margin: 0; }
.q .opt:has(input:checked) { border-color: var(--purple); background: #faf6fd; }
.quiz .q .opt.right { border-color: var(--ok); background: var(--ok-bg); }
.quiz .q .opt.wrong { border-color: var(--bad); background: var(--bad-bg); }
.quiz .q .opt.right::after { content: "✓"; margin-left: auto; color: var(--ok); font-weight: 700; }
.quiz .q .opt.wrong::after { content: "✗"; margin-left: auto; color: var(--bad); font-weight: 700; }
.q .why { color: var(--muted); padding-left: 2px; }
.qscore { font-size: .95rem; }

/* ---- activities and events */
.acts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.act { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; background: #fff; }
.act:hover { border-color: var(--purple); }
.act .ack { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-weight: 700; color: #fff; }
.act.done .ack { background: var(--ok); border-color: var(--ok); }
.act b { font: 600 .98rem var(--display); color: var(--purple-ink); }
.eventcard.cancelled { opacity: .7; }
.eventcard.cancelled h2 { text-decoration: line-through; }
.board { display: grid; gap: 10px; }
nav.subtabs { margin: 0; padding: 0; border-bottom: 1px solid var(--line); max-width: none; }
nav.subtabs a { padding-left: 4px; padding-right: 4px; margin-right: 14px; }

/* ---- the chatbot */
.chatcard { gap: 10px; }
.chatlog { display: flex; flex-direction: column; gap: 10px; min-height: 260px; max-height: min(58vh, 560px); overflow-y: auto; padding: 4px 2px; overscroll-behavior: contain; }
.bub { max-width: min(86%, 640px); padding: 10px 14px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .95rem; line-height: 1.55; }
.bub small { display: block; font: 700 .68rem var(--display); letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.bub.mine { align-self: flex-end; background: var(--purple); color: #fff; border-bottom-right-radius: 6px; }
.bub.bot { align-self: flex-start; background: #f4eff8; color: var(--fg); border-bottom-left-radius: 6px; }
.bub.typing { padding-bottom: 12px; }
.chatempty { margin: auto; text-align: center; display: grid; gap: 4px; padding: 30px 10px; }
.chatempty b { font: 600 1.15rem var(--display); color: var(--purple-ink); }
.modes { display: flex; gap: 8px; flex-wrap: wrap; }
.modes:empty { display: none; }
.chatform { display: flex; gap: 10px; align-items: flex-end; }
.chatform textarea { flex: 1; min-height: 48px; max-height: 160px; resize: vertical; border-radius: 16px; }
.chatform .btn { flex: none; }

/* ---- staff: lists that open, evaluation, participation, course material */
.rowbtn { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.list > .item.rowbtn:hover { background: #fbf8fd; }
.att.part button { min-width: 34px; }
.att.part button.on { background: var(--purple); color: #fff; }
.att.part.off { opacity: .35; }
.att.part button:disabled { cursor: not-allowed; }
.evtable td, .evtable th { white-space: nowrap; }
.evtable td:first-child { white-space: normal; min-width: 160px; }
.critgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.mc { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fcfafd; }
.mo { display: flex; gap: 10px; align-items: center; }
.mo input[type=radio] { width: 18px; height: 18px; accent-color: var(--ok); flex: none; margin: 0; }
.mo .mopt { flex: 1; }
.wrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.6fr) auto; gap: 8px; align-items: center; }
@media (max-width: 700px) { .wrow { grid-template-columns: minmax(0, 1fr); padding: 10px; border: 1px solid var(--line); border-radius: 12px; } }
.hero-lite { border-color: var(--yellow); background: var(--yellow-soft); }

/* ---- settings: EasyTalk-only marks and the course plan */
.etag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2); font: 700 .64rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: #fff; }
.cpmods { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cpmod { display: grid; gap: 6px; align-content: start; padding: 12px; border-radius: 14px; background: #fbf9fd; border: 1px solid var(--line); }
.wkin { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; }
.wkin span { font: 700 .82rem var(--display); color: var(--purple); text-align: right; padding-top: 10px; }
.wkin textarea { padding: 8px 11px; min-height: 0; resize: none; line-height: 1.35; font-size: .9rem; }

/* ---- reports */
.seglinks { display: flex; gap: 4px; flex-wrap: wrap; background: #efe8f4; padding: 4px; border-radius: 14px; justify-self: start; max-width: 100%; min-width: 0; }
.seglinks a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font: 600 .88rem var(--display); }
.seglinks a[aria-current="page"] { background: #fff; color: var(--purple); box-shadow: 0 1px 3px rgba(42, 34, 48, .1); }
.outcome { gap: 8px; }
.ofrom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ofrom > span:not(.arrow):not(.ochg) { display: grid; }
.ofrom small { font: 700 .7rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ofrom b { font: 700 2rem/1.1 var(--display); color: var(--purple-ink); }
.ofrom .arrow { font-size: 1.4rem; color: var(--muted); }
.ochg { padding: 4px 10px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font: 700 1rem var(--display); }
.ochg.down { background: var(--bad-bg); color: var(--bad); }
.explained { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.stats .stat b { overflow-wrap: anywhere; }
@media print {
  .bottombar, .seglinks, nav.subtabs, .filters, .pager, .back, .menu { display: none !important; }
  main { padding: 0; max-width: none; }
  .card, .stat { break-inside: avoid; border-color: #ddd; }
  tr.click { cursor: default; }
}
/* The instructor's reports for management (Evaluation tab), and a report shown with its line breaks. */
.rep { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.rep:first-child { border-top: 0; padding-top: 0; }
.rep .between { flex-wrap: wrap; gap: 6px; }
.prewrap { white-space: pre-line; }
