/* Boston English Practice: approved design (2026-11-14), compact layout with red header and a full-height Quick links sidebar (approved 2026-11-15).
   EVERYTHING you might want to change is in :root below: colours, font, the text sizes, spacing. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* colours: the school's action red, near-black, one light neutral, white */
  --red: #B60E0E;        /* white text on it: 6.9:1 */
  --red-dark: #8F0B0B;
  --red-soft: #FBEDED;
  --on-red-soft: #FBE3E3; /* quieter text on red: 5.6:1 */
  --ink: #212529;
  --muted: #56636F;      /* 5.5:1 on white */
  --light: #F7F9FC;
  --line: #E2E7EE;
  --field: #8A949E;      /* input borders: 3:1 on white */
  --white: #FFFFFF;
  --ok: #1D6B3A;

  /* type: one family, three sizes, three weights; nothing below 16 px */
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s-xl: 22px;  /* page titles */
  --s-l: 18px;   /* names, sections */
  --s-m: 16px;   /* text */
  --s-s: 16px;   /* secondary text: never smaller */

  /* layout */
  --edge: 20px;          /* one left edge */
  --gap: 16px;
  --radius: 14px;
  --read: 720px;         /* reading width (login, consent) */
  --bar: 64px;           /* header height */
  --side: 290px;         /* Quick links width */
  --tap: 44px;           /* buttons */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--s-m)/1.5 var(--font); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, p, ol, ul, dl, dd, figure { margin: 0; }
h1 { font-size: var(--s-xl); line-height: 1.25; font-weight: 700; }
h2 { font-size: var(--s-l); line-height: 1.3; font-weight: 700; }
strong, b { font-weight: 700; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--red-dark); outline-offset: 2px; border-radius: 6px; }
/* headings get the focus when a page opens (for screen readers); they are not buttons, so no ring */
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- red header band ---------- */
.bar { height: var(--bar); background: var(--red); color: var(--white); }
.bar-in { height: 100%; padding: 0 var(--edge); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.plate { background: var(--white); border-radius: 10px; padding: 6px 10px; flex: none; }
.plate img { height: 26px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-weight: 700; font-size: var(--s-l); white-space: nowrap; }
.num-sm { display: none; color: var(--on-red-soft); }
.acct { display: flex; align-items: center; gap: 14px; }
.num { color: var(--on-red-soft); white-space: nowrap; }
.bar .out { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--white); border-radius: 999px; background: none; color: var(--white); font-weight: 600; white-space: nowrap; cursor: pointer; }
.bar .out:hover { background: var(--red-dark); }
.bar :focus-visible, .quick :focus-visible, .side :focus-visible { outline-color: var(--white); }

/* ---------- frame ---------- */
/* one left edge everywhere: the logo, the headings and the content start at the same place */
.page { padding: 22px var(--edge) 24px; }
.page:has(> .with-side:not([hidden])) { padding: 0; }
.view { display: flex; flex-direction: column; gap: var(--gap); }
#login-view, #consent-view, .reading { max-width: var(--read); }
.view > h2 { margin-top: 8px; }
.intro { display: flex; flex-direction: column; gap: 2px; }
.lead { color: var(--muted); }
.muted { color: var(--muted); font-size: var(--s-s); }
.small { color: var(--muted); font-size: var(--s-s); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.box { background: var(--light); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.message { background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 12px 16px; margin-bottom: var(--gap); }
.page:has(> .with-side:not([hidden])) > .message { margin: 16px var(--edge) 0; }

/* main column + red Quick links sidebar: right edge of the window, from under the header to the bottom */
.with-side { display: grid; grid-template-columns: 1fr var(--side); gap: 0; min-height: calc(100vh - var(--bar)); min-height: calc(100dvh - var(--bar)); }
.main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; padding: 22px 28px 24px var(--edge); }
.quick { background: var(--red); color: var(--white); padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.quick .plate { align-self: flex-end; }
.quick nav { display: flex; flex-direction: column; }
.quick nav button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px; border: 0; border-top: 1px solid rgba(255, 255, 255, .28); background: none; color: var(--white); font-weight: 600; text-align: left; cursor: pointer; }
.quick nav button::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); flex: none; margin-right: 4px; }
.quick nav button:hover { background: var(--red-dark); }
.quick nav button:focus-visible { outline-offset: -3px; border-radius: 8px; }
.quick .phone-only, .view .phone-out { display: none; }

/* ---------- buttons and links ---------- */
.btn, .primary { min-height: var(--tap); width: 100%; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; font-weight: 600; font-size: var(--s-m); cursor: pointer; text-align: center; white-space: nowrap; }
.btn-red, .primary { background: var(--red); color: var(--white); }
.btn-red:hover, .primary:hover { background: var(--red-dark); }
.btn-line { background: var(--white); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--light); }
.btn:disabled, .primary:disabled { opacity: .45; cursor: not-allowed; }
.danger { border-color: var(--red); color: var(--red); }
.main > .btn, #writing-form .btn, #login-form .btn, #consent-form .btn, .feedback .btn, .summary .btn { width: auto; align-self: flex-start; }
.back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font-size: var(--s-s); font-weight: 600; cursor: pointer; }
.back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.text-link, .link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; padding: 0; border: 0; background: none; color: var(--red); font-size: var(--s-s); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; font-size: var(--s-s); }
input[type="text"], textarea { width: 100%; min-height: var(--tap); padding: 10px 14px; border: 1.5px solid var(--field); border-radius: 12px; background: var(--white); font-size: var(--s-m); }
textarea { line-height: 1.5; resize: vertical; }
input[type="text"]:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(182, 14, 14, .18); }
.code-input { font-size: var(--s-l); letter-spacing: .08em; text-transform: uppercase; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: var(--s-m); }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--red); }
.check .tr { display: block; color: var(--muted); font-size: var(--s-s); margin-top: 4px; }

/* ---------- teacher photos: one round crop everywhere ---------- */
.ph { border-radius: 50%; object-fit: cover; object-position: 50% 38%; filter: saturate(.9) contrast(1.03); box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--line); flex: none; }
.ph-s { width: 38px; height: 38px; }
.ph-t { width: 72px; height: 72px; }
.ph-l { width: 112px; height: 112px; }

/* ---------- home: the two main actions ---------- */
/* wide rows: photos | text | button at the right end */
.act { background: var(--light); border-radius: var(--radius); padding: 16px 20px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 12px 20px; }
.act .faces { display: flex; gap: 8px; padding: 4px; }
.act .ph-s { width: 40px; height: 40px; }
.act .btn { width: auto; }
/* narrower windows (the 900 px frame): photos above the title, button still at the right end */
@media (max-width: 1100px) {
  .act { grid-template-columns: 1fr auto; }
  .act .faces, .act > div:not(.faces) { grid-column: 1; }
  .act .btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- choose a teacher: three compact cards in a row ---------- */
.teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.teachers .teacher { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.teachers .teacher .ph { margin: 4px 0 6px 4px; }
.teachers .teacher .best { margin-top: 2px; }
.teachers .teacher .btn { width: auto; align-self: flex-start; margin-top: auto; }

/* ---------- loading: the school shield (left part of the logo) turning ---------- */
.shield { --sh: 32px; display: inline-block; flex: none; width: calc(var(--sh) * 61 / 73); height: var(--sh); background: url("/brand/logo.png") 0 0 / auto 100% no-repeat; clip-path: polygon(5% 11%, 96% 11%, 96% 66%, 90% 79%, 75% 90%, 50% 100%, 25% 90%, 10% 79%, 5% 66%); transform-origin: 50% 55%; }
.spin { animation: shield-turn 1.1s linear infinite; }
@keyframes shield-turn { to { transform: rotate(360deg); } }
@keyframes shield-fade { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.loading { position: fixed; z-index: 20; top: calc(var(--bar) + 12px); left: 50%; transform: translateX(-50%); width: 52px; height: 52px; display: grid; place-items: center; background: var(--white); border-radius: 50%; box-shadow: 0 2px 10px rgba(33, 37, 41, .18); }
.mic-status.busy { display: flex; align-items: center; gap: 10px; }
.mic-status.busy::before { content: ""; --sh: 20px; width: calc(20px * 61 / 73); height: 20px; flex: none; background: var(--white) url("/brand/logo.png") 0 0 / auto 100% no-repeat; clip-path: polygon(5% 11%, 96% 11%, 96% 66%, 90% 79%, 75% 90%, 50% 100%, 25% 90%, 10% 79%, 5% 66%); transform-origin: 50% 55%; animation: shield-turn 1.1s linear infinite; }

/* ---------- entrance screen: the school red at about 88 %, logo in the middle; first load of a visit only ---------- */
.intro-screen { display: none; }
.intro .intro-screen { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(182, 14, 14, .88); pointer-events: none; transition: opacity .4s ease; }
.intro-screen .plate { padding: 12px 18px; border-radius: 14px; }
.intro-screen .plate img { height: 52px; }
.intro-screen.out { opacity: 0; }

/* ---------- writing ---------- */
.wait { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.feedback { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.level-line { font-weight: 600; }
.level { display: inline-block; background: var(--ink); color: var(--white); border-radius: 8px; padding: 0 10px; margin-left: 4px; }
.encouragement { color: var(--muted); }
.corrections { padding-left: 24px; display: flex; flex-direction: column; gap: 16px; }
.corrections > li { padding-left: 4px; }
.change { font-weight: 600; }
del { color: var(--red); text-decoration-thickness: 2px; }
ins { color: var(--ok); text-decoration: none; }
.arrow { color: var(--muted); }
.why { color: var(--muted); font-size: var(--s-s); }
.examples { margin: 8px 0 0; padding-left: 20px; font-size: var(--s-s); }
.better { background: var(--light); border-radius: 12px; padding: 14px 16px; white-space: pre-wrap; }
.diagram-table { border-collapse: collapse; margin-top: 10px; font-size: var(--s-s); }
.diagram-table th, .diagram-table td { border: 1px solid var(--line); padding: 6px 12px; text-align: left; }
.diagram-table th { background: var(--light); font-weight: 600; }
.diagram-timeline { display: block; width: 100%; max-width: 360px; margin-top: 10px; }
.tl-line { stroke: var(--muted); stroke-width: 2; }
.tl-dot { stroke: var(--white); stroke-width: 2; }
.tl-past { fill: var(--muted); } .tl-now { fill: var(--ink); } .tl-future { fill: var(--red); }
.tl-label { font: 600 14px var(--font); fill: var(--ink); }
.tl-when { font: 400 12px var(--font); fill: var(--muted); }

/* ---------- my work, teacher's student page ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
details.panel { padding: 0; }
.history-item summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; min-height: var(--tap); }
.history-item summary::-webkit-details-marker { display: none; }
.history-item[open] summary { border-bottom: 1px solid var(--line); }
.history-item > :not(summary) { margin: 14px 18px; }
.history-item .feedback { border: 0; padding: 0; }
.preview { color: var(--muted); font-size: var(--s-s); }
.student-text { white-space: pre-wrap; }

/* ---------- memory ---------- */
#memory-box p, #ts-memory p { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
#memory-box strong, #ts-memory strong { font-weight: 600; color: var(--muted); font-size: var(--s-s); }
#memory-box ul, #ts-memory ul { padding-left: 20px; font-size: var(--s-s); }

/* ---------- speaking: red teacher panel (controls always visible) + conversation ---------- */
.talk { display: grid; grid-template-columns: 260px 1fr; gap: 20px; height: calc(100vh - var(--bar) - 46px); height: calc(100dvh - var(--bar) - 46px); min-height: 420px; }
.side { --ring: 255, 255, 255; background: var(--red); color: var(--white); border-radius: var(--radius); padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.side .soft { color: var(--on-red-soft); }
.speaker { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 0 6px; }
.speaker h1 { font-size: var(--s-l); }
.live { display: flex; flex-direction: column; gap: 10px; }
.status { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--s-s); min-height: 24px; }
.mic-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .45); flex: none; }
.live[data-phase="starting"] .mic-dot, .live[data-phase="listening"] .mic-dot,
.live[data-phase="thinking"] .mic-dot, .live[data-phase="speaking"] .mic-dot { background: var(--white); }
.live[data-phase="hearing"] .mic-dot { background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, .4); }
.live[data-phase="thinking"] .mic-dot { width: 28px; height: 28px; background: var(--white); box-shadow: none; display: grid; place-items: center; }
.live[data-phase="thinking"] .mic-dot::after { content: ""; width: calc(22px * 61 / 73); height: 22px; background: url("/brand/logo.png") 0 0 / auto 100% no-repeat; clip-path: polygon(5% 11%, 96% 11%, 96% 66%, 90% 79%, 75% 90%, 50% 100%, 25% 90%, 10% 79%, 5% 66%); transform-origin: 50% 55%; animation: shield-turn 1.1s linear infinite; }
.meter { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--white); transition: width .05s linear; }

.controls { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.controls .wide { grid-column: 1 / -1; }
.side .btn-red { background: var(--white); color: var(--red); }
.side .btn-red:hover { background: var(--red-soft); }
.side .btn-line { background: none; border-color: var(--white); color: var(--white); }
.side .btn-line:hover { background: var(--red-dark); }
.side .text-link, .side .muted { color: var(--white); }
.manual { display: flex; flex-direction: column; gap: 6px; }
.side .mic.recording { background: var(--red-dark); color: var(--white); box-shadow: 0 0 0 3px var(--white); }

.convo { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.chat { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chat-hint { color: var(--muted); font-size: var(--s-s); }
.bubble { display: flex; flex-direction: column; gap: 4px; }
.bubble .who { font-size: var(--s-s); font-weight: 700; }
.bubble > p { border-radius: 12px; padding: 10px 14px; }
.bubble.teacher > p { background: var(--light); }
.bubble.student > p { border: 1px solid var(--line); }
.bubble-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.correction { width: 100%; background: var(--red-soft); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; padding: 8px 12px; font-size: var(--s-s); }
.correction::before { content: "Tip: "; font-weight: 700; }
.summary { display: flex; flex-direction: column; gap: 12px; }
.summary ul { padding-left: 20px; }

/* talking picture: a soft ring that follows the voice; a double ring while listening; still otherwise */
#sp-avatar { --level: 0; box-shadow: 0 0 0 3px var(--white); transition: box-shadow .25s ease, transform .1s linear; }
#sp-avatar.listening { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--red), 0 0 0 8px var(--white); }
#sp-avatar.talking { box-shadow: 0 0 0 3px var(--white), 0 0 0 calc(6px + var(--level) * 8px) rgba(var(--ring), calc(.25 + var(--level) * .45)); transform: scale(calc(1 + var(--level) * .05)); }
#sp-avatar.talking-soft { animation: talk-soft 1.1s ease-in-out infinite; }
@keyframes talk-soft {
  0%, 100% { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px rgba(var(--ring), .3); transform: scale(1); }
  50% { box-shadow: 0 0 0 3px var(--white), 0 0 0 12px rgba(var(--ring), .45); transform: scale(1.03); }
}

/* ---------- teacher view: a compact table on wide screens, labelled cards on phones ---------- */
.students { width: 100%; border-collapse: collapse; }
.students th { text-align: left; font-size: var(--s-s); font-weight: 600; color: var(--muted); background: var(--light); padding: 10px 12px; }
.students td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.students td:first-child { font-weight: 700; }
/* Class weeks (teacher page): one row per class, with - and + to move the week */
.class-weeks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.class-week { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.week-row { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.week-btn { min-width: var(--tap); min-height: var(--tap); padding: 0; font-size: 1.25rem; }
.week-now { min-width: 9ch; text-align: center; font-weight: 600; }
.students .not-yet { color: var(--red); font-weight: 600; }
.students td.go .btn { min-height: 40px; width: auto; padding: 0 14px; }

/* ---------- smaller screens ---------- */
@media (max-width: 759px) {
  .students thead { display: none; }
  .students, .students tbody { display: block; }
  .students tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
  .students td { display: flex; flex-direction: column; padding: 0; border: 0; font-weight: 600; }
  .students td::before { content: attr(data-label); font-size: var(--s-s); font-weight: 400; color: var(--muted); }
  .students td:first-child { grid-column: 1 / -1; font-size: var(--s-l); }
  .students td:first-child::before { content: none; }
  .students td.go { grid-column: 1 / -1; }
  .students td.go::before { content: none; }
  .students td.go .btn { width: 100%; min-height: 44px; }
}
@media (max-width: 700px) {
  :root { --edge: 16px; }
  .plate img { height: 22px; }
  .brand { gap: 10px; }
  .brand-name { font-size: var(--s-m); }
  .acct .num, .bar .out { display: none; }
  .num-sm { display: block; }
  .page { padding-top: 16px; }
  .main { padding: 16px var(--edge) 20px; }
  .view { gap: 14px; }
  .with-side { grid-template-columns: 1fr; min-height: 0; }
  .quick { padding: 6px var(--edge) 14px; }
  .quick .plate, .quick h2 { display: none; }
  .quick nav button:first-child { border-top: 0; }
  .quick .phone-only, .view .phone-out { display: flex; }
  .phone-out { width: auto; align-self: flex-start; }
  .act { grid-template-columns: 1fr; padding: 14px 16px; gap: 8px; }
  .act .btn { justify-self: start; grid-column: 1; grid-row: auto; }
  .teachers { grid-template-columns: 1fr; gap: 10px; }
  .teachers .teacher { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; row-gap: 8px; padding: 14px; }
  .teachers .teacher .ph { width: 56px; height: 56px; margin: 4px 0 0 4px; grid-row: 1 / span 2; }
  .teachers .teacher > div, .teachers .teacher .btn { grid-column: 2; }
  .talk { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; height: calc(100vh - var(--bar) - 28px); height: calc(100dvh - var(--bar) - 28px); }
  .side { padding: 6px 14px 14px; gap: 10px; overflow: visible; }
  .speaker { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; padding: 5px 0 0 5px; }
  #sp-avatar { width: 60px; height: 60px; }
  .side #sp-left, .side .meter { display: none; }
  .controls { margin-top: 0; }
  .convo { padding: 12px; }
  #memory-box p, #ts-memory p { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  /* no turning: the shield fades gently instead; the entrance screen simply fades */
  .spin, .mic-status.busy::before, .live[data-phase="thinking"] .mic-dot::after { animation: shield-fade 1.6s ease-in-out infinite; }
  .meter span { transition: none; }
  #sp-avatar.talking { transform: none; }
  #sp-avatar.talking-soft { animation: none; box-shadow: 0 0 0 3px var(--white), 0 0 0 8px rgba(var(--ring), .45); }
}
