/* Student app, Direction B (Nov 2026).
   Loaded last on /app. Every rule is scoped to the student surfaces so the
   tutor and parent screens that share student-shell.html keep their look. */

@font-face{font-family:Figtree;src:url('/fonts/figtree.woff2') format('woff2');font-weight:300 900;font-style:normal;font-display:swap}
@font-face{font-family:Literata;src:url('/fonts/literata.woff2') format('woff2');font-weight:200 900;font-style:normal;font-display:swap}
@font-face{font-family:Literata;src:url('/fonts/literata-italic.woff2') format('woff2');font-weight:200 900;font-style:italic;font-display:swap}

/* ---------- Tokens ---------- */
body.workspace-view:not(.family-view){
  --sans:Figtree,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  --serif:Literata,Georgia,'Apple SD Gothic Neo','Malgun Gothic',serif;
  --st-heading:#1f1f1f;--st-faint:#737373;--st-card-line:#e8e8e8;--st-field:#f4f4f4;--st-field-line:#e2e2e2;
  --st-bubble:#f0f0f0;--st-outline:#d6d6d6;--st-chip:#ebebeb;--st-chip-ink:#1f1f1f;--st-art:#f4f4f4;--st-art-line:#e3e3e3;--st-art-mark:#c9d3ef;
  --st-choice-on:#eef2fc;--st-sheet-shadow:0 -10px 30px rgba(0,0,0,.07);--st-card-shadow:0 1px 2px rgba(0,0,0,.03);
  --button:#465faa;--on-button:#fff;--button-border:transparent;
  font-family:var(--sans);
}
:root[data-appearance=dark] body.workspace-view:not(.family-view){
  --st-heading:#ececec;--st-faint:#8f8f8f;--st-card-line:#262626;--st-field:#262626;--st-field-line:#333;
  --st-bubble:#2b2b2b;--st-outline:#3a3a3a;--st-chip:#2e2e2e;--st-chip-ink:#ececec;--st-art:#191919;--st-art-line:#2b2b2b;--st-art-mark:#3d4c72;
  --st-choice-on:#232a3b;--st-sheet-shadow:0 -12px 32px rgba(0,0,0,.4);--st-card-shadow:none;
  --button:#a7b9e8;--on-button:#131a2c;--button-border:transparent;
  /* Light text on a dark canvas thickens under macOS's default smoothing. */
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
body.workspace-view:not(.family-view) :is(button,input,textarea,select){font-family:var(--sans)}

/* ---------- Buttons ---------- */
body.workspace-view:not(.family-view) .button{min-height:48px;padding:0 24px;gap:10px;border-radius:999px;font:600 15px/1.2 var(--sans);letter-spacing:0;border:1px solid var(--st-outline);background:transparent;color:var(--st-heading);transition:background .15s,filter .15s,transform .1s}
body.workspace-view:not(.family-view) .button:hover{background:var(--surface-soft);filter:none}
body.workspace-view:not(.family-view) .button.primary{min-height:54px;padding:0 30px;font-weight:600;font-size:16px;background:var(--button);color:var(--on-button);border-color:var(--button-border)}
body.workspace-view:not(.family-view) .button.primary:hover{background:var(--button);filter:brightness(1.06)}
body.workspace-view:not(.family-view) .button.compact{min-height:44px;padding:0 20px;font-size:14px}
body.workspace-view:not(.family-view) .button:active{transform:scale(.98)}
body.workspace-view:not(.family-view) .button:disabled{background:var(--surface-soft);border-color:transparent;color:var(--st-faint);transform:none}
body.workspace-view:not(.family-view) .text-button{font:600 14px/1.4 var(--sans);color:var(--secondary);border-radius:999px}
body.workspace-view:not(.family-view) .text-button:hover{color:var(--st-heading)}
body.workspace-view:not(.family-view) .icon-button{width:44px;height:44px;border-radius:50%;padding:0}
body.workspace-view:not(.family-view) .icon-button svg{width:22px;height:22px;stroke-width:1.8}
body.workspace-view:not(.family-view) :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* A long press on a control shouldn't start selecting its label on a phone. */
body.workspace-view:not(.family-view) :is(button,.button,#student-navigation a){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* Touch reading owns this gesture so iPadOS cannot replace the reading mark
   with its Copy/Look Up toolbar. Mouse selection and evidence tasks stay native. */
body.touch-reading-selection :is(.paragraph-text,.passage-question-stem){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.touch-reading-selected{position:relative;isolation:isolate}
.touch-reading-layer{position:absolute;inset:0;pointer-events:none}
.touch-reading-fill{position:absolute;z-index:-1;background:rgba(85,155,255,.45)}
.touch-reading-handle{position:absolute;z-index:1;width:2px;background:#559bff;pointer-events:auto;touch-action:none}
.touch-reading-handle::before{content:"";position:absolute;inset:-16px -16px}
.touch-reading-handle::after{content:"";position:absolute;width:10px;height:10px;left:-4px;border-radius:50%;background:#559bff}
.touch-reading-handle[data-reading-handle=start]::after{top:-8px}
.touch-reading-handle[data-reading-handle=end]::after{bottom:-8px}

/* ---------- Navigation: top bar on iPad and desktop ----------
   The ID keeps these ahead of the parent console's sidebar rules. */
body.hub-view:not(.family-view) #student-navigation{position:sticky;top:0;inset:auto;z-index:60;width:auto;height:76px;padding:0 40px;display:grid;grid-template-columns:200px 1fr 200px;align-items:center;overflow:visible;border:0;background:color-mix(in srgb,var(--canvas) 92%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:none}
body.hub-view:not(.family-view) #student-navigation .sidebar-toggle{display:none}
body.hub-view:not(.family-view) #student-navigation .nav-brand{margin:0;width:auto;height:44px;padding:0 4px;display:flex;align-items:center;gap:0;justify-self:start;border-radius:12px;background:none!important;color:var(--logo)!important}
body.hub-view:not(.family-view) #student-navigation .nav-brand .marvas-mark{width:28px;height:28px}
body.hub-view:not(.family-view) #student-navigation .nav-brand .nav-wordmark{display:block;flex:0 0 72.072px;width:72.072px;height:23.04px;margin:0 0 0 -.576px;fill:var(--logo);stroke:none;clip-path:none;transform:none;opacity:1}
body.hub-view:not(.family-view) #student-navigation .nav-links{justify-self:center;margin:0;display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--st-card-line)}
body.hub-view:not(.family-view) #student-navigation .nav-links a{height:40px;min-height:40px;padding:0 20px;gap:0;border-radius:999px;font:600 15px/1 var(--sans);color:var(--secondary);background:none;white-space:nowrap}
body.hub-view:not(.family-view) #student-navigation .nav-links a:hover{color:var(--st-heading);background:none}
body.hub-view:not(.family-view) #student-navigation .nav-links a[aria-current=page]{background:var(--st-chip);color:var(--st-chip-ink)}
body.hub-view:not(.family-view) #student-navigation .nav-links a[hidden]{display:none}
body.hub-view:not(.family-view) #student-navigation .nav-links a svg{display:none}
body.hub-view:not(.family-view) #student-navigation .nav-links a>span{display:inline;opacity:1;width:auto;visibility:visible;overflow:visible}
body.hub-view:not(.family-view) #student-navigation .profile-link{justify-self:end;margin:0;padding:0;width:44px;height:44px;min-height:44px;border-radius:50%;justify-content:center;gap:0;background:none}
body.hub-view:not(.family-view) #student-navigation .profile-link:hover{background:none}
body.hub-view:not(.family-view) #student-navigation .profile-link .avatar{width:40px;height:40px;border:0;background:var(--st-chip);color:var(--st-chip-ink);font:600 15px/1 var(--sans)}
body.hub-view:not(.family-view) #student-navigation .profile-link[aria-current=page] .avatar{box-shadow:0 0 0 2px var(--canvas),0 0 0 4px var(--accent)}
body.hub-view:not(.family-view) #student-navigation .profile-link>.nav-identity,body.hub-view:not(.family-view) #student-navigation .profile-link::after{display:none}
body.hub-view:not(.family-view) #student-hub{margin-left:0;transition:none}
@media(max-width:1100px){
  body.hub-view:not(.family-view) #student-navigation{grid-template-columns:120px 1fr 120px;padding:0 28px}
  body.hub-view:not(.family-view) #student-navigation .nav-links a{height:44px;min-height:44px;padding:0 22px}
  body.hub-view:not(.family-view) #student-navigation .nav-brand .nav-wordmark{display:none}
}

/* ---------- Navigation: tab bar on phone ---------- */
@media(max-width:740px){
  body.hub-view:not(.family-view) #student-navigation{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:auto;padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;border-top:1px solid var(--st-card-line);background:color-mix(in srgb,var(--canvas) 94%,transparent)}
  body.hub-view:not(.family-view) #student-navigation .nav-brand{display:none}
  body.hub-view:not(.family-view) #student-navigation .nav-links{display:contents}
  body.hub-view:not(.family-view) #student-navigation .nav-links a,body.hub-view:not(.family-view) #student-navigation .profile-link{width:auto;height:54px;min-height:54px;padding:0;margin:0;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:600 11px/1 var(--sans);color:var(--st-faint);background:none!important;justify-self:stretch}
  body.hub-view:not(.family-view) #student-navigation .nav-links a[aria-current=page],body.hub-view:not(.family-view) #student-navigation .profile-link[aria-current=page]{color:var(--accent)}
  body.hub-view:not(.family-view) #student-navigation .nav-links a svg{display:block;width:24px;height:24px;stroke-width:1.9}
  body.hub-view:not(.family-view) #student-navigation .nav-links a[aria-current=page] svg{color:var(--accent)}
  body.hub-view:not(.family-view) #student-navigation .nav-links a>span{line-height:11px}
  body.hub-view:not(.family-view) #student-navigation .profile-link .avatar{width:24px;height:24px;font-size:12px}
  body.hub-view:not(.family-view) #student-navigation .profile-link[aria-current=page] .avatar{box-shadow:0 0 0 1.5px var(--accent);background:var(--accent-soft);color:var(--accent)}
  body.hub-view:not(.family-view) #student-navigation .profile-link::after{display:block;content:'Account';line-height:11px}
  :root[lang=ko] body.hub-view:not(.family-view) #student-navigation .profile-link::after{content:'계정'}
}

/* ---------- Hub pages ---------- */
body.hub-view:not(.family-view) .hub-page{max-width:1200px;padding:40px 40px 96px}
body.hub-view:not(.family-view) .hub-page h1,body.hub-view:not(.family-view) #journey-title{font:600 32px/1.15 var(--sans);letter-spacing:-.02em;color:var(--st-heading);margin:0}
body.hub-view:not(.family-view) .hub-page h2{color:var(--st-heading)}

/* ---------- Today ---------- */
body.hub-view:not(.family-view) #journey{max-width:1200px;display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"head ." "hero side" "list side";column-gap:32px;align-items:start}
body.hub-view:not(.family-view) #journey>*{grid-column:1}
body.hub-view:not(.family-view) #journey:not(:has(.today-card:not([hidden]))){max-width:960px;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "hero" "list"}
body.hub-view:not(.family-view) #journey:not(:has(.today-card:not([hidden]))) .today-side{display:none}
body.hub-view:not(.family-view) #journey .today-head{grid-area:head;display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 28px}
body.hub-view:not(.family-view) #journey .today-date{font:500 16px/1 var(--sans);color:var(--secondary);white-space:nowrap}
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel){grid-area:hero}
body.hub-view:not(.family-view) #journey .today-side{grid-area:side;grid-column:2;grid-row:2/span 2;display:flex;flex-direction:column;gap:16px}
body.hub-view:not(.family-view) #journey #journey-history{grid-area:list}
body.hub-view:not(.family-view) #journey .device-notice,body.hub-view:not(.family-view) #journey .guide-offer{grid-column:1}

/* Hero card: the reading to do now */
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel){position:relative;margin:0;max-width:none;padding:36px;display:grid;grid-template-columns:minmax(0,1fr) 270px;column-gap:40px;align-content:center;align-items:center;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px;box-shadow:var(--st-card-shadow);line-height:1.5}
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel)>*{grid-column:1;min-width:0}
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel)::after{content:'';grid-column:2;grid-row:1/span 8;align-self:center;height:150px;border-radius:22px;background:
  linear-gradient(var(--st-art-line),var(--st-art-line)) 26px 30px/calc(92% - 52px) 9px no-repeat,
  linear-gradient(var(--st-art-line),var(--st-art-line)) 26px 51px/calc(34% - 26px) 9px no-repeat,
  linear-gradient(var(--st-art-mark),var(--st-art-mark)) calc(34% + 7px) 51px/52% 9px no-repeat,
  linear-gradient(var(--st-art-line),var(--st-art-line)) 26px 72px/calc(86% - 52px) 9px no-repeat,
  linear-gradient(var(--st-art-line),var(--st-art-line)) 26px 93px/calc(70% - 52px) 9px no-repeat,
  linear-gradient(var(--st-art-line),var(--st-art-line)) 26px 114px/calc(58% - 52px) 9px no-repeat,
  var(--st-art)}
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel) :is(h2,#journey-card-title){font:600 24px/1.2 var(--sans);letter-spacing:-.015em;color:var(--st-heading);margin:0}
body.hub-view:not(.family-view) #journey .trial-panel .trial-intro,body.hub-view:not(.family-view) #journey .resume-card .resume-excerpt{margin:12px 0 0;font:400 16px/1.5 var(--sans);color:var(--body);max-width:520px}
body.hub-view:not(.family-view) #journey .resume-card .resume-excerpt{font:400 18px/1.55 var(--serif);color:var(--secondary)}
body.hub-view:not(.family-view) #journey #journey-card-label{margin:0 0 10px;font:600 14px/1.2 var(--sans);color:var(--accent)}
body.hub-view:not(.family-view) #journey .resume-bottom{margin:26px 0 0;display:flex;align-items:center;justify-content:flex-start;gap:20px;flex-wrap:wrap}
body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel) .button.primary{justify-self:start;margin-top:26px;padding:0 34px}
body.hub-view:not(.family-view) #journey .resume-bottom .button.primary{margin:0}
body.hub-view:not(.family-view) #journey .trial-panel .trial-note{margin:16px 0 0;font:400 14px/1.4 var(--sans);color:var(--st-faint)}
body.hub-view:not(.family-view) #journey .trial-panel>.text-button{justify-self:start;margin-top:10px;color:var(--accent)}
body.hub-view:not(.family-view) #journey .resume-card .quiet-art{display:none}
/* Done: a resting point, with more practice optional */
body.hub-view:not(.family-view) #journey .resume-card[data-state=done],body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)){grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-items:center;padding:28px 32px}
body.hub-view:not(.family-view) #journey .resume-card[data-state=done]::after,body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary))::after{display:none}
body.hub-view:not(.family-view) #journey .resume-card[data-state=done]::before,body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary))::before{content:'';grid-column:1;grid-row:1;width:44px;height:44px;border-radius:50%;background:var(--button) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131a2c' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/22px no-repeat}
:root[data-appearance=light] body.hub-view:not(.family-view) #journey .resume-card[data-state=done]::before,:root[data-appearance=light] body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary))::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
body.hub-view:not(.family-view) #journey .resume-card[data-state=done]>*,body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary))>*{grid-column:2}
body.hub-view:not(.family-view) #journey .resume-card[data-state=done] :is(h2,#journey-card-title),body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)) h2{font-size:20px;grid-row:1}
body.hub-view:not(.family-view) #journey .resume-card[data-state=done] .resume-bottom{grid-column:1/-1;margin-top:22px;justify-content:space-between}
body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)) .trial-intro{font-size:16px;margin-top:4px}
body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)) :is(.trial-note,.text-button){grid-column:1/-1}
body.hub-view:not(.family-view) #journey .daily-review{font:600 15px/1.2 var(--sans);color:var(--accent)}
body.hub-view:not(.family-view) #journey .daily-review span{color:inherit}
body.hub-view:not(.family-view) #journey .button.daily-extra{min-height:48px;padding:0 24px;border:1px solid var(--st-outline)!important;color:var(--st-heading)!important;background:transparent!important;font:600 15px/1 var(--sans)}
body.hub-view:not(.family-view) #journey .daily-error{grid-column:1/-1}

/* Side cards: this week and words to practice */
body.hub-view:not(.family-view) #journey .today-card{padding:22px 20px;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px;box-shadow:var(--st-card-shadow);display:flex;flex-direction:column}
body.hub-view:not(.family-view) #journey .today-card[hidden]{display:none}
body.hub-view:not(.family-view) #journey .today-card-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
body.hub-view:not(.family-view) #journey .today-card h2{margin:0;font:600 18px/1.2 var(--sans);color:var(--st-heading)}
body.hub-view:not(.family-view) #journey #today-week-count{font:500 14px/1 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #journey .week-days{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
body.hub-view:not(.family-view) #journey .week-day{display:flex;flex-direction:column;align-items:center;gap:8px}
body.hub-view:not(.family-view) #journey .week-letter{font:500 13px/1 var(--sans);color:var(--st-faint)}
body.hub-view:not(.family-view) #journey .week-day[data-today] .week-letter{color:var(--st-heading)}
body.hub-view:not(.family-view) #journey .week-mark{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--st-field-line);font:600 13px/1 var(--sans);color:var(--st-faint);font-variant-numeric:tabular-nums}
body.hub-view:not(.family-view) #journey .week-day[data-state=future] .week-mark{border-style:dashed;opacity:.7}
body.hub-view:not(.family-view) #journey .week-day[data-state=read] .week-mark{border:0;background:var(--button);color:var(--on-button)}
body.hub-view:not(.family-view) #journey .week-mark svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
body.hub-view:not(.family-view) #journey .week-day[data-today]:not([data-state=read]) .week-mark{border:2px solid var(--accent);color:var(--st-heading);font-weight:600}
body.hub-view:not(.family-view) #journey .week-day[data-today][data-state=read] .week-mark{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--button)}
body.hub-view:not(.family-view) #journey .today-words p{margin:8px 0 0;font:400 15px/1.4 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #journey .today-words .button{margin-top:18px;width:100%;min-height:46px}

/* Readings */
body.hub-view:not(.family-view) #journey .reading-list{margin:40px 0 0}
body.hub-view:not(.family-view) #journey #journey-history-label{margin:0 0 6px;font:600 18px/1.2 var(--sans);color:var(--st-heading)}
body.hub-view:not(.family-view) #journey .reading-row{display:flex;align-items:center;gap:16px;min-height:68px;padding:10px 0;border:0;border-bottom:1px solid var(--st-card-line);color:inherit}
body.hub-view:not(.family-view) #journey .reading-row-info{display:flex;align-items:center;gap:20px;flex:1;min-width:0}
body.hub-view:not(.family-view) #journey :is(.reading-excerpt,.reading-name){flex:1;min-width:0;font:400 18px/1.35 var(--serif);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.hub-view:not(.family-view) #journey .reading-name{font-family:var(--sans);font-weight:600}
body.hub-view:not(.family-view) #journey .reading-date{flex-shrink:0;font:500 14px/1 var(--sans);color:var(--st-faint)}
body.hub-view:not(.family-view) #journey .reading-status{display:none}
body.hub-view:not(.family-view) #journey .reading-row:has(.reading-status) .reading-status{display:none}
body.hub-view:not(.family-view) #journey .row-arrow{flex-shrink:0;width:18px;height:18px;font-size:0;color:var(--st-faint);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat}
body.hub-view:not(.family-view) #journey .reading-row:hover :is(.reading-excerpt,.reading-name){color:var(--st-heading)}

/* iPad: one column, the two side cards side by side */
@media(max-width:1100px){
  body.hub-view:not(.family-view) .hub-page{max-width:760px;padding:32px 40px 96px}
  body.hub-view:not(.family-view) #journey{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "hero" "side" "list"}
  body.hub-view:not(.family-view) #journey .today-side{grid-column:1;grid-row:auto;margin-top:16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
  body.hub-view:not(.family-view) #journey .today-head{margin-bottom:24px}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel){grid-template-columns:minmax(0,1fr) 210px;column-gap:32px;padding:32px}
  body.hub-view:not(.family-view) #journey .today-words .button{margin-top:auto}
  body.hub-view:not(.family-view) #journey .today-words p{margin-bottom:18px}
}
/* Phone */
@media(max-width:740px){
  body.hub-view:not(.family-view) .hub-page{padding:30px 16px calc(110px + env(safe-area-inset-bottom))}
  body.hub-view:not(.family-view) #journey .today-head{padding:0 8px;margin-bottom:22px}
  body.hub-view:not(.family-view) .hub-page h1,body.hub-view:not(.family-view) #journey-title{font-size:28px}
  body.hub-view:not(.family-view) #journey .today-date{font-size:15px}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel){grid-template-columns:minmax(0,1fr);padding:24px 22px 22px}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel)::after{grid-column:1;grid-row:1;height:94px;border-radius:20px;margin-bottom:24px;background:
    linear-gradient(var(--st-art-line),var(--st-art-line)) 18px 18px/calc(92% - 36px) 7px no-repeat,
    linear-gradient(var(--st-art-line),var(--st-art-line)) 18px 35px/calc(34% - 18px) 7px no-repeat,
    linear-gradient(var(--st-art-mark),var(--st-art-mark)) calc(34% + 6px) 35px/48% 7px no-repeat,
    linear-gradient(var(--st-art-line),var(--st-art-line)) 18px 52px/calc(86% - 36px) 7px no-repeat,
    linear-gradient(var(--st-art-line),var(--st-art-line)) 18px 69px/calc(64% - 36px) 7px no-repeat,
    var(--st-art)}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel) :is(h2,#journey-card-title){font-size:22px}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel) .trial-intro{font-size:16px;margin-top:10px}
  body.hub-view:not(.family-view) #journey :is(.resume-card,.trial-panel) .button.primary{justify-self:stretch;width:100%;margin-top:22px;min-height:56px}
  body.hub-view:not(.family-view) #journey .resume-bottom{flex-direction:column;align-items:stretch;gap:10px}
  body.hub-view:not(.family-view) #journey .resume-bottom .button{width:100%}
  body.hub-view:not(.family-view) #journey .resume-card[data-state=done] .resume-bottom{flex-direction:column-reverse}
  body.hub-view:not(.family-view) #journey .resume-card[data-state=done] .daily-review{text-align:center;padding:12px 0}
  body.hub-view:not(.family-view) #journey .trial-panel .trial-note{text-align:center}
  body.hub-view:not(.family-view) #journey .resume-card[data-state=done],body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)){padding:22px 20px 20px;column-gap:14px}
  body.hub-view:not(.family-view) #journey .resume-card[data-state=done] :is(h2,#journey-card-title),body.hub-view:not(.family-view) #journey .trial-panel:not(:has(.button.primary)) h2{font-size:20px}
  body.hub-view:not(.family-view) #journey .today-side{display:flex;margin-top:12px;gap:12px}
  body.hub-view:not(.family-view) #journey .today-card{padding:18px 16px}
  body.hub-view:not(.family-view) #journey .today-card-head{padding:0 4px}
  body.hub-view:not(.family-view) #journey .today-words{padding:20px}
  body.hub-view:not(.family-view) #journey .reading-list{margin-top:28px;padding:0 8px}
  body.hub-view:not(.family-view) #journey #journey-history-label{font-size:17px}
  body.hub-view:not(.family-view) #journey .reading-row{min-height:66px}
  body.hub-view:not(.family-view) #journey .reading-row-info{flex-direction:column;align-items:stretch;gap:4px}
  body.hub-view:not(.family-view) #journey :is(.reading-excerpt,.reading-name){font-size:16px;line-height:1.4}
  body.hub-view:not(.family-view) #journey .reading-date{font-size:13px}
}
body.hub-view:not(.family-view) #journey .device-notice{margin:24px 0 0;padding:16px 20px;border:1px solid var(--st-card-line);border-radius:20px;background:var(--surface);font:400 14px/1.5 var(--sans);color:var(--secondary);align-items:center}
body.hub-view:not(.family-view) #journey .device-notice button{width:44px;height:44px;margin:-10px -12px -10px auto;border-radius:50%}

/* ---------- Reading room ---------- */
/* One size for reading and talking (Nov 10): Literata and Figtree have nearly the same
   x-height (50.7 and 50 per 100px), so the passage, the tutor, the student's replies and
   the choices share 15px. An SAT question is 16px semibold, labels 13px. A phone keeps
   its larger sizes. */
body.student-view.workspace-view{--rt-passage:15px;--rt-question:16px;--rt-body:15px;--rt-tutor:15px;--rt-small:13px}
body.student-view.workspace-view .topbar{height:72px;max-width:none;padding:0 32px;background:var(--canvas)}
body.student-view.workspace-view .student-back{height:44px;gap:6px;padding:0 10px 0 0;font:500 16px/1 var(--sans);color:var(--body);border-radius:999px}
body.student-view.workspace-view .student-back:hover{color:var(--st-heading)}
body.student-view.workspace-view .back-chevron{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body.student-view.workspace-view #history-button{color:var(--body)}
body.student-view.workspace-view #history-button .dot{fill:currentColor;stroke:none}
/* Side by side (1024px and up): the passage, then the conversation in the larger column. */
body.student-view.workspace-view .workspace{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:0;max-width:none;padding:0;min-height:100dvh}
body.student-view.workspace-view .reading-column{max-width:none;padding:92px max(48px,calc((100% - 560px) / 2)) 64px}
/* Keep the page's scrollbar space even when nothing scrolls yet, so the passage doesn't reflow when a card grows into a scrollbar */
html:has(>body.student-view.workspace-view){scrollbar-gutter:stable}
body.student-view.workspace-view .article-toolbar{margin:0 0 18px;min-height:0}
body.student-view.workspace-view .article-toolbar:not(:has(#passage-trail:not([hidden]),#focus-menu:not([hidden]),.scope-controls button:not([hidden]))){display:none}
body.student-view.workspace-view .scope-controls,body.student-view.workspace-view .scope-controls button{font:500 var(--rt-small)/1.4 var(--sans)}
body.student-view.workspace-view .passage-trail{font:500 var(--rt-small)/1.4 var(--sans);color:var(--st-faint)}
body.student-view.workspace-view :is(.paragraph-text,.article-content .paragraph-text,.context-paragraph .paragraph-text,.excerpt-card .paragraph-text,.activity-cards.compare .paragraph-text){font:400 var(--rt-passage)/1.7 var(--serif);color:var(--body)}
body.student-view.workspace-view .focus-text{color:var(--ink)}
body.student-view.workspace-view .excerpt-card{border-radius:24px;border-color:var(--st-card-line)}
body.student-view.workspace-view .selection-actions{bottom:20px;gap:10px;padding:8px 8px 8px 18px;border:1px solid var(--st-card-line);border-radius:999px;background:var(--surface);box-shadow:0 10px 30px rgba(0,0,0,.18)}
body.student-view.workspace-view #selection-preview{font:500 14px/1.4 var(--sans);color:var(--secondary)}
body.student-view.workspace-view #selection-actions .button{min-height:40px;padding:0 18px;font-size:14px}
body.student-view.workspace-view #selection-actions .text-button{min-height:40px;padding:0 10px;color:var(--accent)}
body.student-view.workspace-view #clear-selection{width:40px;height:40px;font-size:22px}

/* The tutor: a card beside the passage */
body.student-view.workspace-view .thinking-pane{position:sticky;top:24px;padding:28px;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px;box-shadow:var(--st-card-shadow)}
body.student-view.workspace-view:not(.workspace-started) .thinking-pane{position:static}
body.student-view.workspace-view .workspace-welcome h1{font:600 20px/1.3 var(--sans);letter-spacing:-.01em;color:var(--st-heading);margin:0 0 20px}
body.student-view.workspace-view .shared-thought{align-self:flex-end;max-width:80%;margin:0 0 22px auto;border-radius:20px 20px 6px 20px;background:var(--st-bubble);color:var(--body);font:400 var(--rt-body)/1.5 var(--sans)}
body.student-view.workspace-view .shared-thought summary{position:relative;padding:11px 16px;border-bottom:0}
/* A clipped reply shows a quiet fold mark; open, the mark turns to fold it back. */
body.student-view.workspace-view .shared-thought[data-clipped] summary{padding-right:40px}
body.student-view.workspace-view .shared-thought[data-clipped] summary::after{content:'';position:absolute;right:14px;bottom:15px;width:16px;height:16px;background:var(--st-faint);transition:transform .15s;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat}
body.student-view.workspace-view .shared-thought[data-clipped][open] summary::after{transform:rotate(180deg)}
body.student-view.workspace-view .shared-thought[data-clipped]:not([open]) summary:hover::after{background:var(--secondary)}
/* The conversation (Nov 9): one thread, newest at the bottom, as in a chat app. Earlier
   tutor turns read like the current one at regular weight; replies are the same bubbles. */
body.student-view.workspace-view .tutor-thread{display:flex;flex-direction:column;gap:20px;margin:0 0 20px}
body.student-view.workspace-view .tutor-thread[hidden]{display:none}
/* One voice (Nov 10): every tutor turn, earlier or current, is one paragraph in one size,
   colour and weight; an acknowledgment runs into the request. Bold is only the few
   words the tutor stresses. */
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt){font:400 var(--rt-tutor)/1.6 var(--sans);color:var(--ink);letter-spacing:0;text-wrap:pretty}
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt) p{margin:0;font:inherit;color:inherit;white-space:pre-line}
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt) .tutor-lead{display:inline;font:inherit;color:inherit}
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt) .tutor-lead::after{content:" "}
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt) .tutor-lead+.tutor-body{display:inline}
body.student-view.workspace-view :is(.thread-tutor,#workspace-prompt) strong{font-weight:600;color:var(--st-heading)}
body.student-view.workspace-view .thread-reply{display:flex;justify-content:flex-end;align-items:flex-end;gap:4px}
body.student-view.workspace-view .thread-bubble{max-width:80%;padding:11px 16px;border-radius:20px 20px 6px 20px;background:var(--st-bubble);color:var(--body)}
body.student-view.workspace-view .thread-bubble p{margin:0 0 8px;font:400 var(--rt-body)/1.5 var(--sans);white-space:pre-wrap;overflow-wrap:anywhere}
body.student-view.workspace-view .thread-bubble p:last-child{margin:0}
/* Edit sits beside the student's last reply, at its foot, so it takes no line of its own:
   on hover with a mouse, always on touch. */
body.student-view.workspace-view .thread-edit{order:-1;flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:32px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:var(--st-faint);cursor:pointer;opacity:0;transition:opacity .15s,background-color .15s,color .15s}
body.student-view.workspace-view .thread-edit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.student-view.workspace-view :is(.thread-reply:hover,.thread-reply:focus-within) .thread-edit{opacity:1}
body.student-view.workspace-view .thread-edit:hover{background:var(--st-bubble);color:var(--st-heading)}
body.student-view.workspace-view .thread-edit:focus-visible{outline:2px solid var(--accent);outline-offset:0}
@media(hover:none){body.student-view.workspace-view .thread-edit{opacity:1}}
/* Editing: the bubble opens into a box with Cancel and Send. */
body.student-view.workspace-view .thread-reply.is-editing{flex-direction:column;align-items:stretch}
body.student-view.workspace-view .thread-editor{display:flex;flex-direction:column;gap:12px;margin:0;padding:12px 12px 12px 16px;border:0;border-radius:20px;background:var(--st-bubble)}
body.student-view.workspace-view .thread-editor textarea{display:block;width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;resize:none;font:400 var(--rt-body)/1.5 var(--sans);color:var(--st-heading)}
body.student-view.workspace-view .thread-editor-actions{display:flex;justify-content:flex-end;gap:8px}
body.student-view.workspace-view .thread-editor-actions>button{min-height:36px;padding:0 16px;border-radius:999px;font:600 14px/1 var(--sans)}
body.student-view.workspace-view .thread-editor-cancel{border:0;background:var(--surface);color:var(--st-heading);cursor:pointer}
body.student-view.workspace-view .thread-editor-actions>button:disabled{opacity:.45;cursor:default}
/* The arrow back to the newest turn, when the student has scrolled away from it. */
body.student-view.workspace-view .thread-jump-anchor{position:relative;height:0;z-index:2}
body.student-view.workspace-view .thread-jump{position:absolute;left:50%;bottom:6px;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--st-outline);border-radius:50%;background:var(--st-bubble);color:var(--st-heading);box-shadow:0 4px 14px rgba(0,0,0,.28);transform:translateX(-50%);cursor:pointer}
body.student-view.workspace-view .thread-jump[hidden]{display:none}
body.student-view.workspace-view .thread-jump:hover{color:var(--st-heading)}
body.student-view.workspace-view .thread-jump svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Laptop and iPad landscape (Nov 10): no card. The conversation runs the full height of
   the window beside the passage, divided from it by a hairline. Its thread scrolls while
   the reply box stays at the bottom, as in a chat app, and on a wide screen its lines stop
   near 75 characters. The logo, or the way back, sits over the passage. An SAT question
   sits under its passage (workspace.js), so the conversation is only conversation. */
@media(min-width:1024px){
  body.student-view.workspace-view .topbar{position:absolute;top:0;left:0;z-index:4;padding:0 40px;background:transparent}
  body.student-view.workspace-view .thinking-pane{container-type:inline-size;--talk-gutter:max(40px,calc((100cqw - 520px) / 2));top:0;height:100dvh;margin:0;padding:24px 0 20px;background:transparent;border:0;border-left:1px solid var(--st-card-line);border-radius:0;box-shadow:none}
  body.student-view.workspace-view :is(.workspace-welcome,.workspace-session){padding-inline:var(--talk-gutter)}
  body.student-view.workspace-view.workspace-started .thinking-pane{display:flex;flex-direction:column;overflow:hidden}
  body.student-view.workspace-view.workspace-started .workspace-session{flex:1 1 auto;min-height:0}
  /* The thread scrolls the whole column's width, so its scrollbar sits at the window's edge. */
  body.student-view.workspace-view.workspace-started .workspace-tutor{flex:1 1 auto;min-height:0;margin:-24px calc(-1 * var(--talk-gutter)) 0;padding:24px var(--talk-gutter) 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
  body.student-view.workspace-view.workspace-started .workspace-session>:not(.workspace-tutor){flex:none}
  body.student-view.workspace-view.workspace-started .workspace-tutor[data-more-above]{-webkit-mask-image:linear-gradient(transparent 0,#000 48px);mask-image:linear-gradient(transparent 0,#000 48px)}
  body.student-view.workspace-view.workspace-started .workspace-tutor[data-more-below]{-webkit-mask-image:linear-gradient(#000 calc(100% - 32px),transparent);mask-image:linear-gradient(#000 calc(100% - 32px),transparent)}
  body.student-view.workspace-view.workspace-started .workspace-tutor[data-more-above][data-more-below]{-webkit-mask-image:linear-gradient(transparent 0,#000 48px,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(transparent 0,#000 48px,#000 calc(100% - 32px),transparent)}
  /* The passage holds its place when choices open: it pins where it already is. */
  body.student-view.workspace-view.question-solving .reading-column.question-pinned{top:0}
  /* Choices the tutor brings back for the follow-up sit under the answered question. */
  body.student-view.workspace-view .passage-question:not([hidden])+.item-review{margin-top:0;padding-top:0;border-top:0}
  /* Choices the tutor makes come straight after its question, as a chat app's picker does,
     not at the foot of the column. */
  body.student-view.workspace-view.workspace-started .workspace-session:has(#answer-choices:not([hidden])) .workspace-tutor{flex-grow:0}
}
/* The SAT question under its passage */
body.student-view.workspace-view .passage-question{margin:36px 0 0}
body.student-view.workspace-view .passage-question-stem{margin:0 0 16px;font:600 var(--rt-question)/1.5 var(--sans);color:var(--st-heading);white-space:pre-line}
body.student-view.workspace-view .passage-send{margin-top:20px}
/* Sent: every choice keeps its box and Send keeps its place until the tutor replies, so
   nothing under the student's pointer moves. */
body.student-view.workspace-view #passage-choices.is-sent .answer-choice{padding:12px 18px}
body.student-view.workspace-view .passage-send.is-held{visibility:hidden}
/* Enter sends (Shift+Enter for a new line), as in chat apps, so the box shows no key hint. */
body.student-view.workspace-view #draft-note{visibility:hidden}
/* Beside an SAT question the reply keeps its two lines, not the older one-line strip. */
@media(min-width:741px){body.student-view.workspace-view.question-solving .shared-thought:not([open]) summary>span{-webkit-line-clamp:2}}
body.student-view.workspace-view .parked-question{display:flex;gap:8px;align-items:flex-start;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--st-card-line);font:400 var(--rt-small)/1.5 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .parked-question[hidden]{display:none}
/* In the conversation layout (Nov 9) the pin sits above the reply box, a quiet line under the thread. */
body.student-view.workspace-view .workspace-session>.parked-question{margin:16px 0 12px;padding:14px 4px 0;border-bottom:0;border-top:1px solid var(--st-card-line)}
body.student-view.workspace-view .parked-question svg{flex:none;width:15px;height:15px;margin-top:3px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.student-view.workspace-view .waiting-row{min-height:44px;margin:0 0 8px}
body.student-view.workspace-view .thinking{font:500 var(--rt-small)/1.4 var(--sans)}
body.student-view.workspace-view .waiting-row .icon-button{width:40px;height:40px;background:var(--st-field)}
/* Tutor activity line (Nov 9): the stage in words, and three dots whose motion follows it.
   A row while sending, reading, looking back and writing; a turning triangle while thinking; a rising staircase while planning. */
body.student-view.workspace-view .waiting-row .thinking{align-items:flex-start;min-width:0}
body.student-view.workspace-view .thinking-copy{display:grid;min-width:0}
body.student-view.workspace-view #waiting-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.student-view.workspace-view #waiting-label.is-new{animation:wait-label .32s cubic-bezier(.2,.7,.2,1),thinking-sweep 2.8s linear infinite}
body.student-view.workspace-view .thinking-note{font-weight:400;color:var(--st-faint);animation:arrive .2s ease-out}
body.student-view.workspace-view .thinking-note:empty{display:none}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence){position:relative;display:block;flex:0 0 22px;width:22px;height:1.4em}
body.workspace-view:is(.student-view,.workbench-view) .wait-mark{position:absolute;inset:0}
body.workspace-view:is(.student-view,.workbench-view) .wait-mark i{position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:var(--accent);opacity:.9;animation:none;translate:var(--x,0px) var(--y,0px);transition:translate .45s cubic-bezier(.3,.7,.2,1),transform .45s cubic-bezier(.3,.7,.2,1),opacity .45s ease}
body.workspace-view:is(.student-view,.workbench-view) .wait-mark i:nth-child(1){--x:-7px}
body.workspace-view:is(.student-view,.workbench-view) .wait-mark i:nth-child(3){--x:7px}
/* An upright triangle centred in the mark (top dot 5px above centre, lower dots 4.5px out and 2.5px below, so all three land on whole pixels and draw alike).
   The middle dot rises and the outer two drop, so they gather without crossing. The turn moves each dot by an offset along a ring through the corners, never
   rotating the group, so every rest draws the same shape on the same pixels. */
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=thinking] i:nth-child(1){--x:-4.5px;--y:2.5px;animation:wait-orbit-c 3s .45s infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=thinking] i:nth-child(2){--x:0px;--y:-5px;animation:wait-orbit-a 3s .45s infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=thinking] i:nth-child(3){--x:4.5px;--y:2.5px;animation:wait-orbit-b 3s .45s infinite}
/* Every stage's dots rest in its first frame while they glide in from the last stage (workspace.js lets go of them where they were drawn), then start moving. */
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=sending] i{opacity:.35;transform:scale(.8);animation:wait-gather 1s ease-in-out infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence):is([data-stage=reading],[data-stage=looking]) i{opacity:.28;animation:wait-scan 1.3s ease-in-out .45s infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=reading] i:nth-child(2),body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=looking] i:nth-child(2){animation-delay:.65s}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=reading] i:nth-child(3),body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=looking] i:nth-child(1){animation-delay:.85s}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=writing] i{opacity:.5;animation:wait-bob 1.1s ease-in-out .45s infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=writing] i:nth-child(2){animation-delay:.6s}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=writing] i:nth-child(3){animation-delay:.75s}
/* Planning tilts the row into steps (7px across, 3.5px up, so every dot sits on whole pixels) and lights them from the bottom step up. */
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=planning] i{--y:3.5px;opacity:.28;animation:wait-climb 1.5s ease-in-out .45s infinite}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=planning] i:nth-child(2){--y:0px;animation-delay:.65s}
body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage=planning] i:nth-child(3){--y:-3.5px;animation-delay:.85s}
@keyframes wait-scan{0%,100%{opacity:.28}35%{opacity:1}}
@keyframes wait-bob{0%,60%,100%{transform:none;opacity:.5}25%{transform:translateY(-3.5px);opacity:1}}
@keyframes wait-gather{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:none}}
@keyframes wait-climb{0%,100%{opacity:.28;transform:none}30%{opacity:1;transform:translateY(-1.5px)}}
/* The turn eases as cubic-bezier(.5,0,.3,1) did when the group rotated, split where it covers half the distance (42.5% of the move), so each move passes the arc's midpoint. */
@keyframes wait-orbit-a{0%,22.2%{transform:translate(0,0);animation-timing-function:cubic-bezier(.59,0,.77,.5)}26.9%{transform:translate(4.5px,2.5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}33.3%,55.6%{transform:translate(4.5px,7.5px);animation-timing-function:cubic-bezier(.59,0,.77,.5)}60.3%{transform:translate(0,10px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}66.7%,88.9%{transform:translate(-4.5px,7.5px);animation-timing-function:cubic-bezier(.59,0,.77,.5)}93.6%{transform:translate(-4.5px,2.5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}100%{transform:translate(0,0)}}
@keyframes wait-orbit-b{0%,22.2%{transform:translate(0,0);animation-timing-function:cubic-bezier(.59,0,.77,.5)}26.9%{transform:translate(-4.5px,2.5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}33.3%,55.6%{transform:translate(-9px,0);animation-timing-function:cubic-bezier(.59,0,.77,.5)}60.3%{transform:translate(-9px,-5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}66.7%,88.9%{transform:translate(-4.5px,-7.5px);animation-timing-function:cubic-bezier(.59,0,.77,.5)}93.6%{transform:translate(0,-5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}100%{transform:translate(0,0)}}
@keyframes wait-orbit-c{0%,22.2%{transform:translate(0,0);animation-timing-function:cubic-bezier(.59,0,.77,.5)}26.9%{transform:translate(0,-5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}33.3%,55.6%{transform:translate(4.5px,-7.5px);animation-timing-function:cubic-bezier(.59,0,.77,.5)}60.3%{transform:translate(9px,-5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}66.7%,88.9%{transform:translate(9px,0);animation-timing-function:cubic-bezier(.59,0,.77,.5)}93.6%{transform:translate(4.5px,2.5px);animation-timing-function:cubic-bezier(.17,.5,.39,1)}100%{transform:translate(0,0)}}
@keyframes wait-label{from{opacity:0;transform:translateY(6px)}}
@media(prefers-reduced-motion:reduce){body.workspace-view:is(.student-view,.workbench-view) :is(#workspace-presence,.wb-t-presence)[data-stage] .wait-mark i{opacity:.85;transform:none;animation:none;transition:none}}
body.student-view.workspace-view :is(#workspace-ready,#workspace-continue,#workspace-next,.workspace-done){margin-top:24px;min-height:54px;padding:0 30px;font-size:16px}
body.student-view.workspace-view :is(#workspace-reply-question,#workspace-followup){margin-top:14px;min-height:44px;color:var(--accent)}
body.student-view.workspace-view .passage-actions{margin-top:24px;gap:16px}
body.student-view.workspace-view .workspace-notice{font:400 14px/1.5 var(--sans)}
body.student-view.workspace-view .vocabulary-cue{font:500 14px/1.5 var(--sans)}

/* Composer */
body.student-view.workspace-view .thinking-form{margin-top:24px;border:1px solid var(--st-field-line);border-radius:22px;background:var(--st-field);overflow:visible}
body.student-view.workspace-view .thinking-form:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--st-field-line));box-shadow:none}
body.student-view.workspace-view #thinking-text{min-height:52px;padding:16px 18px 4px;font:400 var(--rt-body)/1.5 var(--sans);color:var(--st-heading);border-radius:22px 22px 0 0}
body.student-view.workspace-view #thinking-text::placeholder{color:var(--st-faint)}
/* Safari on a touch screen zooms into a text box under 16px, so the reply box keeps 16px there. */
@media(pointer:coarse){body.student-view.workspace-view :is(#thinking-text,.thread-editor textarea){font-size:max(16px,var(--rt-body))}}
body.student-view.workspace-view .thinking-footer{padding:4px 10px 10px 12px;min-height:56px;gap:10px}
body.student-view.workspace-view .thinking-footer .text-button{font-size:14px;min-height:40px;padding:0 8px}
body.student-view.workspace-view #draft-note{font:500 var(--rt-small)/1 var(--sans);color:var(--st-faint)}
body.student-view.workspace-view .thinking-footer .send-button{width:44px;height:44px;min-height:44px;flex:0 0 44px;border:0;font-size:0;color:var(--on-button);background:var(--button);position:relative}
body.student-view.workspace-view .thinking-footer .send-button::before{content:'';position:absolute;inset:0;margin:auto;width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5.5 11.5 12 5l6.5 6.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5.5 11.5 12 5l6.5 6.5'/%3E%3C/svg%3E") center/contain no-repeat}
body.student-view.workspace-view .thinking-footer .send-button:disabled{background:var(--st-bubble);color:var(--st-faint)}
body.student-view.workspace-view .draft-excerpt{margin:14px 16px 0;border-left-color:var(--accent);font:400 var(--rt-body)/1.55 var(--serif)}
body.student-view.workspace-view #thinking-label:not(.sr-only){padding:14px 18px 0;font:500 var(--rt-small)/1.3 var(--sans);color:var(--secondary)}

/* Talking (voice replies): mic beside Send, live state on the box */
body.student-view.workspace-view #voice-controls{display:flex;align-items:center;gap:8px;margin-left:auto}
body.student-view.workspace-view #voice-controls[hidden]{display:none}
/* Stop, in Send's place while the tutor answers: the same round button with a square. */
body.student-view.workspace-view .thinking-footer #stop-reply{width:44px;height:44px;min-height:44px;flex:0 0 44px;margin-left:auto;padding:0;border:0;border-radius:50%;background:var(--button);color:var(--on-button)}
body.student-view.workspace-view .thinking-footer #stop-reply svg{width:34px;height:34px;fill:currentColor;stroke:none}
body.student-view.workspace-view .waiting-row #stop-reply svg{width:30px;height:30px;fill:currentColor;stroke:none}
/* Only a shown mic takes the right edge; without voice, Send keeps it. */
body.student-view.workspace-view #voice-controls:not([hidden])+.send-button,body.student-view.workspace-view #voice-controls:not([hidden])~#share-thought{margin-left:0}
body.student-view.workspace-view #voice-reply{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:0;background:transparent;color:var(--secondary)}
body.student-view.workspace-view #voice-reply svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
body.student-view.workspace-view #voice-reply .voice-stop{display:none}
/* Starting: the mic dims until audio flows. Recording: the button is a check that keeps the words. */
body.student-view.workspace-view #voice-reply:is([data-voice=starting],[data-voice=recording],[data-voice=finishing]){width:44px;height:44px;background:var(--button);color:var(--on-button)}
body.student-view.workspace-view #voice-reply:is([data-voice=starting],[data-voice=finishing]){opacity:.6}
body.student-view.workspace-view #voice-reply:is([data-voice=recording],[data-voice=finishing]) .voice-mic{display:none}
body.student-view.workspace-view #voice-reply:is([data-voice=recording],[data-voice=finishing])::before{content:'';width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
body.student-view.workspace-view .thinking-form:is([data-voice=starting],[data-voice=recording],[data-voice=finishing]) :is(#share-thought,#draft-note){display:none}
body.student-view.workspace-view #voice-cancel{width:40px;height:40px;background:var(--st-bubble);color:var(--body)}
body.student-view.workspace-view #voice-reply-status{order:-1;flex:0 1 auto;min-width:0;margin:0 auto 0 8px;font:500 var(--rt-small)/1.3 var(--sans);font-variant-numeric:tabular-nums;color:var(--mark-ink)}
body.student-view.workspace-view #voice-reply-status:empty{display:none}
body.student-view.workspace-view .thinking-form:is([data-voice=recording],[data-voice=starting],[data-voice=finishing]){border:1.5px solid var(--accent);background:var(--st-choice-on)}
body.student-view.workspace-view .thinking-form[data-voice=recording] #voice-reply-status::before{content:'';display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--mineral-ink);vertical-align:1px}
body.student-view.workspace-view .thinking-form[data-voice=recording] #voice-reply{box-shadow:0 0 0 calc(var(--voice-level,0) * 8px) color-mix(in srgb,var(--accent) 30%,transparent)}
/* Empty box with voice available: the round button is the mic; Send appears with text. */
body.student-view.workspace-view .thinking-form:has(#voice-controls:not([hidden]) #voice-reply:not([hidden])):has(#thinking-text:placeholder-shown):not(:has(.answer-choices:not([hidden]),.draft-excerpt)) #share-thought{display:none}
body.student-view.workspace-view .thinking-form:has(#voice-controls:not([hidden]) #voice-reply:not([hidden])):has(#thinking-text:placeholder-shown):not(:has(.answer-choices:not([hidden]),.draft-excerpt)) #voice-reply{width:44px;height:44px;background:var(--button);color:var(--on-button)}

/* Choices */
body.student-view.workspace-view .answer-choices{padding:0}
body.student-view.workspace-view #choice-options{gap:10px}
body.student-view.workspace-view .answer-choice{align-items:center;gap:14px;min-height:60px;padding:12px 18px;border:1px solid var(--st-field-line);border-radius:18px;background:transparent;font:400 var(--rt-body)/1.4 var(--sans);color:var(--ink)}
body.student-view.workspace-view .answer-choice:hover{border-color:var(--st-outline)}
body.student-view.workspace-view .answer-choice:not(:has(input:checked)):not(:has(input:disabled)):hover{background:color-mix(in srgb,var(--st-bubble) 55%,transparent)}
/* Picking a choice changes colour only: the row, radio and text keep their size and place. */
body.student-view.workspace-view .answer-choice:has(input:checked){border-color:var(--accent);background:var(--st-choice-on);color:var(--st-heading)}
body.student-view.workspace-view .answer-choice:not(:has(.choice-letter)) input{appearance:none;-webkit-appearance:none;flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;border-radius:50%;border:1.5px solid var(--st-faint);background:transparent}
body.student-view.workspace-view .answer-choice:not(:has(.choice-letter)) input:checked{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 5px,transparent 5.5px)}
body.student-view.workspace-view .answer-choice:has(.choice-letter) input{left:18px;top:50%;transform:translateY(-50%)}
body.student-view.workspace-view .choice-letter{flex:0 0 28px;height:28px;border-radius:50%;border:1.5px solid var(--st-faint);font:600 13px/1 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .answer-choice:has(input:checked) .choice-letter{border-color:var(--accent);background:var(--accent);color:var(--on-button)}
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) #thinking-text{margin-top:14px;border:1px solid var(--st-field-line);background:var(--st-field);border-radius:18px;min-height:60px}
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .thinking-footer{padding:12px 0 0}
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button{flex:1 0 100%;width:100%;height:56px;min-height:56px;margin:0;border-radius:999px}
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button::before{display:none}
/* Until a choice is picked, Send is only a faint label, not another box. */
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button:disabled{background:transparent}
/* Flex, not the round button's grid: the hidden arrow would take a row and push the label down. */
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button{display:flex;align-items:center;justify-content:center}
body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button::after{content:'Send';font:600 16px/1 var(--sans)}
:root[lang=ko] body.student-view.workspace-view .thinking-form:has(.answer-choices:not([hidden])) .send-button::after{content:'보내기'}

/* Original SAT question beside the passage */
body.student-view.workspace-view .item-review{margin-top:32px;padding-top:24px;border-top:1px solid var(--st-card-line)}
body.student-view.workspace-view .item-review-letter{font:600 13px/1.7 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .item-review-text{font:400 var(--rt-body)/1.6 var(--sans);color:var(--body)}
/* One choice brought back takes the whole line, not half of it. */
body.student-view.workspace-view .item-review-choice:only-child{grid-column:1/-1}
/* Below 1024px they follow the tutor's question in the conversation (workspace.js). */
body.student-view.workspace-view .workspace-tutor>.item-review{margin:16px 0 0;padding:0;border:0}

/* End of a reading: optional word check */
body.student-view.workspace-view .session-word-check{margin-top:22px;padding:20px;border:1px solid var(--st-card-line);border-radius:24px;background:var(--st-field)}
body.student-view.workspace-view .word-check-question{margin:0 36px 10px 0;font:500 var(--rt-question)/1.4 var(--sans);color:var(--st-heading)}
body.student-view.workspace-view .word-check-source{font:400 var(--rt-body)/1.55 var(--serif);color:var(--body)}
body.student-view.workspace-view .word-check-source mark{background:var(--mineral-soft)!important;color:var(--mineral-ink)!important;text-decoration:none!important;border-radius:4px;padding:0 3px}
body.student-view.workspace-view .word-check-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
body.student-view.workspace-view .word-check-actions .text-button{justify-content:center;min-height:48px;border:1px solid var(--st-outline);border-radius:999px;background:var(--surface);color:var(--st-heading);font:600 16px/1 var(--sans)}
body.student-view.workspace-view .word-check-skip{top:8px;right:8px;width:44px;height:44px}

/* A new reading's arrival */
body.student-view.workspace-view #opening-label{font:500 var(--rt-question)/1.4 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .opening-actions .text-button{font-size:15px}

/* iPad portrait: the passage, then the tutor card below it */
@media(max-width:1023px){
  body.student-view.workspace-view .topbar{padding:0 24px}
  /* 608px keeps 15px lines near 75 characters, as on a laptop (Nov 10). */
  body.student-view.workspace-view .workspace,body.student-view.workspace-view.question-solving .workspace{display:block;max-width:608px;padding:24px 24px 64px;min-height:calc(100dvh - 72px)}
  body.student-view.workspace-view .reading-column{padding:0}
  body.student-view.workspace-view .thinking-pane,body.student-view.workspace-view.question-solving .thinking-pane{position:static;margin-top:32px;padding:26px;border-top:1px solid var(--st-card-line);box-shadow:0 18px 48px rgba(0,0,0,.18)}
  body.student-view.workspace-view.question-solving .reading-column.question-pinned{position:static}
}
/* Phone: the tutor is a sheet under the passage */
@media(max-width:740px){
  body.student-view.workspace-view{--rt-passage:18px;--rt-question:17px;--rt-body:16px;--rt-tutor:17px;--rt-small:13px}
  body.student-view.workspace-view .topbar{height:56px;padding:0 12px 0 14px}
  body.student-view.workspace-view .workspace,body.student-view.workspace-view.question-solving .workspace{display:flex;flex-direction:column;align-items:stretch;max-width:none;min-height:calc(100svh - 56px);padding:8px 0 0}
  body.student-view.workspace-view.session-preparing .workspace{display:block}
  body.student-view.workspace-view .reading-column{padding:0 24px}
  body.student-view.workspace-view :is(.paragraph-text,.article-content .paragraph-text,.context-paragraph .paragraph-text,.excerpt-card .paragraph-text,.activity-cards.compare .paragraph-text){line-height:1.66}
  body.student-view.workspace-view .paragraph{margin-bottom:22px}
  body.student-view.workspace-view .thinking-pane,body.student-view.workspace-view.question-solving .thinking-pane{flex:1 0 auto;margin:12px 0 0;padding:22px 20px calc(30px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--st-card-line);border-radius:28px 28px 0 0;box-shadow:var(--st-sheet-shadow)}
  body.student-view.workspace-view .shared-thought{max-width:84%;margin-bottom:18px}
  body.student-view.workspace-view .shared-thought summary>span{-webkit-line-clamp:4}
  body.student-view.workspace-view :is(#workspace-ready,#workspace-continue,#workspace-next,.workspace-done){width:100%;min-height:56px}
  body.student-view.workspace-view .passage-actions{flex-direction:column;align-items:stretch;gap:6px}
  body.student-view.workspace-view .passage-actions .text-button{justify-content:center;min-height:48px}
  body.student-view.workspace-view :is(#workspace-reply-question,#workspace-followup){width:100%;justify-content:center}
  /* One row: the reply box and its round button */
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;margin-top:20px;border-radius:28px}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden])))>*{grid-column:1/-1}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))) #thinking-text{grid-column:1;min-height:54px;padding:15px 4px 15px 18px;font-size:16px;line-height:22px;border-radius:28px 0 0 28px}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))) .thinking-footer{grid-column:2;min-height:0;padding:5px;flex-wrap:nowrap}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))) :is(.send-button,#stop-reply){width:44px;height:44px;flex-basis:44px}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))) .thinking-footer:has(#cancel-revision:not([hidden])){grid-column:1/-1;justify-content:flex-end;padding:0 5px 5px}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))):is([data-voice=starting],[data-voice=recording],[data-voice=finishing]) .thinking-footer,body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))) .thinking-footer:has(#voice-reply-status:not([hidden]):not(:empty)){grid-column:1/-1;justify-content:flex-end;padding:0 6px 6px}
  body.student-view.workspace-view .thinking-form:not(:has(.answer-choices:not([hidden]))):is([data-voice=starting],[data-voice=recording],[data-voice=finishing]) #thinking-text{border-radius:28px 28px 0 0;padding-right:18px}
  body.student-view.workspace-view .selection-actions{bottom:calc(14px + env(safe-area-inset-bottom));margin:18px 0 0}
  body.student-view.workspace-view .item-review-grid{gap:14px}
  body.student-view.workspace-view .session-word-check{padding:18px}
}

/* ---------- Words ---------- */
body.hub-view:not(.family-view) .hub-page.vocabulary-page{max-width:1120px;padding:40px 40px 96px}
body.hub-view:not(.family-view) #vocabulary .page-title{margin:0 0 28px}
body.hub-view:not(.family-view) #vocabulary[data-vocab-mode=practice] .page-title,body.hub-view:not(.family-view) #vocabulary[data-empty=true] .page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.hub-view:not(.family-view) #vocabulary>.vocabulary-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:0 0 32px;padding:24px 28px;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px}
body.hub-view:not(.family-view) #vocabulary .vocab-queue-status{font:700 22px/1.2 var(--sans);letter-spacing:-.015em;color:var(--st-heading)}
body.hub-view:not(.family-view) #vocabulary .vocabulary-actions .button{min-height:52px;padding:0 30px}
body.hub-view:not(.family-view) #vocabulary .vocab-library{grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:48px}
body.hub-view:not(.family-view) #vocabulary .vocab-search-input{height:48px;padding-left:42px;border:1px solid var(--st-field-line);border-radius:999px;background:var(--st-field);font:400 15px/1 var(--sans)}
body.hub-view:not(.family-view) #vocabulary .vocab-search svg{left:16px;width:18px;height:18px;stroke-width:1.8}
body.hub-view:not(.family-view) #vocabulary .vocab-index{gap:0}
body.hub-view:not(.family-view) #vocabulary .vocab-row{min-height:76px;padding:12px 64px 12px 16px;gap:5px;border:0;border-bottom:1px solid var(--st-card-line);border-radius:0}
body.hub-view:not(.family-view) #vocabulary .vocab-row:hover{background:none}
body.hub-view:not(.family-view) #vocabulary .vocab-row[aria-pressed=true]{background:var(--surface);border-color:transparent;border-radius:18px}
body.hub-view:not(.family-view) #vocabulary .vocab-row-word{font:600 20px/1.2 var(--serif);color:var(--st-heading)}
body.hub-view:not(.family-view) #vocabulary .vocab-row-sense{font:400 14px/1.35 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary .vocab-due-dot{right:12px;top:50%;width:auto;height:auto;padding:5px 10px;border-radius:999px;background:var(--mineral-soft);opacity:1;transform:translateY(-50%);font:700 12px/1 var(--sans);color:var(--mineral-ink)}
body.hub-view:not(.family-view) #vocabulary .vocab-due-dot::before{content:'Due'}
body.hub-view:not(.family-view) #vocabulary .vocab-detail{padding:28px 32px 24px;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px}
body.hub-view:not(.family-view) #vocabulary .vocab-word-title{font:600 40px/1.1 var(--serif);letter-spacing:-.01em;color:var(--st-heading)}
body.hub-view:not(.family-view) #vocabulary .vocab-definition{font:400 17px/1.6 var(--sans);color:var(--body)}
body.hub-view:not(.family-view) #vocabulary .vocab-context{border:0;padding:18px 20px;border-radius:24px;background:var(--st-field)}
body.hub-view:not(.family-view) #vocabulary .vocab-context-label{font:600 13px/1.3 var(--sans)}
body.hub-view:not(.family-view) #vocabulary .vocab-source-text{font:400 17px/1.6 var(--serif);margin:8px 0 10px}
body.hub-view:not(.family-view) #vocabulary .vocab-source-link{font:600 14px/1.4 var(--sans);color:var(--accent)}
body.hub-view:not(.family-view) #vocabulary .vocab-disclosure>summary{font:600 15px/1.4 var(--sans);color:var(--body)}
body.hub-view:not(.family-view) #vocabulary .vocab-example{font:400 17px/1.6 var(--serif)}
body.hub-view:not(.family-view) #vocabulary .vocab-options{width:44px;height:44px;border-radius:50%}
body.hub-view:not(.family-view) #vocabulary .vocab-word-actions{border-radius:18px;border-color:var(--st-card-line);padding:6px}
body.hub-view:not(.family-view) #vocabulary .vocab-word-actions>.text-button{min-height:44px;font-size:15px;border-radius:12px}
body.hub-view:not(.family-view) #vocabulary .word-undo{border-radius:999px;padding:10px 12px 10px 20px;font:500 14px/1.4 var(--sans)}
body.hub-view:not(.family-view) #vocabulary .word-undo .text-button{font-size:14px;min-height:36px;padding:0 10px}
body.hub-view:not(.family-view) #vocabulary[data-empty=true]>.empty-vocabulary{font:400 16px/1.5 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary[data-empty=true]>.vocab-empty-action{min-height:52px;padding:0 28px;border-radius:999px;background:var(--button);color:var(--on-button);font:600 16px/1 var(--sans);text-decoration:none}
/* Practice: one focused exercise */
body.hub-view:not(.family-view) .vocabulary-page[data-vocab-mode=practice]{max-width:760px;padding-left:40px;padding-right:40px}
body.hub-view:not(.family-view) #vocabulary .vocab-practice-head{margin-bottom:12px}
body.hub-view:not(.family-view) #vocabulary .vocab-practice-head>.text-button{font-size:15px;min-height:44px;color:var(--body)}
body.hub-view:not(.family-view) #vocabulary .vocab-practice-count{font:600 15px/1 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary .vocab-progress{height:5px;margin:0 0 32px;border-radius:3px;background:var(--st-chip);color:var(--accent)}
body.hub-view:not(.family-view) #vocabulary .vocab-progress::-webkit-progress-bar{background:var(--st-chip)}
body.hub-view:not(.family-view) #vocabulary .vocab-progress::-webkit-progress-value{background:var(--accent)}
body.hub-view:not(.family-view) #vocabulary .vocab-progress::-moz-progress-bar{background:var(--accent)}
body.hub-view:not(.family-view) #vocabulary .vocab-question{font:600 30px/1.3 var(--serif);color:var(--st-heading);margin:0 0 24px}
body.hub-view:not(.family-view) #vocabulary .vocab-choices{gap:10px}
body.hub-view:not(.family-view) #vocabulary .vocab-choice{grid-template-columns:28px minmax(0,1fr);align-items:center;min-height:58px;padding:12px 18px;border:1px solid var(--st-field-line);border-radius:18px;background:var(--st-field);font:500 16px/1.35 var(--sans);color:var(--ink);cursor:pointer}
body.hub-view:not(.family-view) #vocabulary .vocab-choice:has(input:checked),body.hub-view:not(.family-view) #vocabulary .vocab-reviewed .vocab-choice[data-correct=true]{border:1.5px solid var(--accent);background:var(--st-choice-on);color:var(--st-heading);padding:11.5px 17.5px}
body.hub-view:not(.family-view) #vocabulary .vocab-choice-letter{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;border:1.5px solid var(--st-faint);font:700 13px/1 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary .vocab-choice:has(input:checked) .vocab-choice-letter{border-color:var(--accent);background:var(--accent);color:var(--on-button)}
body.hub-view:not(.family-view) #vocabulary .vocab-choice-note{font:500 13px/1.4 var(--sans)}
body.hub-view:not(.family-view) #vocabulary .vocab-practice-actions{display:flex;align-items:center;flex-wrap:wrap}
body.hub-view:not(.family-view) #vocabulary .vocab-practice-actions .button{min-height:54px;padding:0 34px}
body.hub-view:not(.family-view) #vocabulary .vocab-feedback{font:400 16px/1.6 var(--sans);padding:18px 20px;border-radius:22px;background:var(--st-field)}
body.hub-view:not(.family-view) #vocabulary .vocab-outcome{font-weight:700;color:var(--st-heading)}
body.hub-view:not(.family-view) #vocabulary .vocab-finished{font:600 24px/1.3 var(--sans);letter-spacing:-.015em;color:var(--st-heading)}
body.hub-view:not(.family-view) #vocabulary .vocab-loading-line{height:5px;border-radius:3px}
@media(max-width:960px){
  body.hub-view:not(.family-view) #vocabulary .vocab-library.has-selection .vocab-detail{padding:24px 22px}
  body.hub-view:not(.family-view) #vocabulary .vocab-row[aria-pressed=true]{background:none;border-radius:0;border-bottom:1px solid var(--st-card-line)}
}
@media(max-width:740px){
  body.hub-view:not(.family-view) .hub-page.vocabulary-page,body.hub-view:not(.family-view) .vocabulary-page[data-vocab-mode=practice]{padding:30px 16px calc(110px + env(safe-area-inset-bottom))}
  body.hub-view:not(.family-view) #vocabulary .page-title{padding:0 8px;margin-bottom:22px}
  body.hub-view:not(.family-view) #vocabulary>.vocabulary-actions{grid-template-columns:1fr;padding:24px 22px 22px;gap:18px;margin-bottom:28px}
  body.hub-view:not(.family-view) #vocabulary .vocabulary-actions .button{width:100%;min-height:54px}
  body.hub-view:not(.family-view) #vocabulary .vocab-rail,body.hub-view:not(.family-view) #vocabulary .vocab-no-matches{padding:0 8px}
  body.hub-view:not(.family-view) #vocabulary .vocab-row{padding:12px 60px 12px 0}
  body.hub-view:not(.family-view) #vocabulary .vocab-due-dot{right:0}
  body.hub-view:not(.family-view) #vocabulary .vocab-word-title{font-size:36px}
  body.hub-view:not(.family-view) #vocabulary .vocab-practice{padding:0 8px 40px}
  body.hub-view:not(.family-view) #vocabulary .vocab-question{font-size:26px}
  body.hub-view:not(.family-view) #vocabulary .vocab-practice-actions .button{width:100%}
  body.hub-view:not(.family-view) #vocabulary .word-undo{bottom:calc(92px + env(safe-area-inset-bottom))}
}

/* ---------- Learning ---------- */
body.hub-view:not(.family-view) #learning,body.hub-view:not(.family-view) .lr-panel{font-family:var(--sans)}
body.hub-view:not(.family-view) :is(.learning-page,.lr-panel) :is(.lr-label,.lr-next-label,.lr-n text,.lr-page text,.lr-n-float text,.lr-panel-title,h3){font-family:var(--sans)}
body.hub-view:not(.family-view) #learning .lr-legend{gap:8px;margin-top:22px}
body.hub-view:not(.family-view) #learning .lr-key{height:36px;padding:0 13px;gap:8px;border-radius:999px;border:1px solid var(--st-card-line);background:var(--surface);font:600 13px/1 var(--sans);color:var(--body)}
body.hub-view:not(.family-view) #learning .lr-status{font:500 15px/1.5 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #learning .lr-open{height:40px;padding:0 18px!important;border-radius:999px;font:600 14px/1 var(--sans)}
body.hub-view:not(.family-view) .lr-panel{border-left:1px solid var(--st-card-line);border-radius:28px 0 0 28px}
body.hub-view:not(.family-view) .lr-panel .lr-panel-inner{padding:18px 32px 64px}
body.hub-view:not(.family-view) .lr-panel .lr-close{width:44px!important;height:44px!important;border-radius:50%!important;font-size:24px!important}
body.hub-view:not(.family-view) .lr-panel .lr-panel-title{font:600 24px/1.2 var(--sans);letter-spacing:-.015em;color:var(--st-heading)}
body.hub-view:not(.family-view) .lr-panel h3{font:600 13px/1.4 var(--sans);color:var(--secondary)}
/* The ring labels use the student app's font (Inter is not loaded here), 13px at least. */
body.hub-view:not(.family-view) #learning :is(.lr-label,.lr-next-label,.lr-n text,.lr-page text,.lr-n-float text,.lr-count){font-family:var(--sans)}
body.hub-view:not(.family-view) #learning .lr-label{font-size:13.5px}
body.hub-view:not(.family-view) #learning :is(.lr-next-label,.lr-n text,.lr-page text,.lr-n-float text){font-size:13px;font-weight:500}
body.hub-view:not(.family-view) .lr-panel :is(.lr-passage,.lr-stem){font-family:var(--serif)}
body.hub-view:not(.family-view) .lr-panel .lr-turn.tutor{font:400 16px/1.5 var(--sans)}
body.hub-view:not(.family-view) .lr-panel .lr-turn.student{border-radius:20px 20px 6px 20px;background:var(--st-bubble)}
@media(max-width:720px){
  body.hub-view:not(.family-view) .lr-panel{inset:auto 0 0 0;width:100%;max-height:78svh;border:0;border-top:1px solid var(--st-card-line);border-radius:28px 28px 0 0;box-shadow:0 -12px 32px rgba(0,0,0,.35);animation:student-sheet-up .24s cubic-bezier(.2,.8,.2,1)}
  body.hub-view:not(.family-view) .lr-panel .lr-panel-inner{padding:8px 24px calc(28px + env(safe-area-inset-bottom))}
  body.hub-view:not(.family-view) .lr-panel .lr-panel-bar{position:sticky;top:0;z-index:1;justify-content:center;margin:0 -24px 6px;padding:8px 12px 0;background:var(--lr-sheet)}
  body.hub-view:not(.family-view) .lr-panel .lr-panel-bar::before{content:'';position:absolute;left:50%;top:8px;width:38px;height:5px;margin-left:-19px;border-radius:3px;background:var(--st-outline)}
  body.hub-view:not(.family-view) .lr-panel .lr-close{margin-left:auto}
  body.hub-view:not(.family-view) #learning .lr-key{height:34px;font-size:13px}
}
@keyframes student-sheet-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){body.hub-view:not(.family-view) .lr-panel{animation:none}}

/* ---------- Daily route: reading, words, learning ---------- */
body.hub-view:not(.family-view) .daily-route{gap:12px 18px;font:500 14px/1.4 var(--sans)}
body.hub-view:not(.family-view) .daily-steps{gap:6px;padding:4px;border-radius:999px;background:var(--surface);border:1px solid var(--st-card-line)}
body.hub-view:not(.family-view) .daily-steps li{height:34px;padding:0 14px;border-radius:999px;color:var(--secondary);font:600 13px/1 var(--sans)}
body.hub-view:not(.family-view) .daily-steps li::before{display:none}
body.hub-view:not(.family-view) .daily-steps li.is-complete{color:var(--st-heading)}
body.hub-view:not(.family-view) .daily-steps li.is-complete::after{content:'';width:14px;height:14px;margin-left:6px;background:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
body.hub-view:not(.family-view) .daily-steps li[aria-current]{background:var(--st-chip);color:var(--st-chip-ink)}
body.hub-view:not(.family-view) .daily-route>.text-button{min-height:44px;padding:0 4px;color:var(--accent);font-size:15px}
body.hub-view:not(.family-view) .daily-learning-note{font:400 15px/1.5 var(--sans);color:var(--secondary)}
@media(max-width:740px){body.hub-view:not(.family-view) .daily-route{padding:20px 16px 0}body.hub-view:not(.family-view) .daily-route[data-daily-screen]{width:auto;padding-left:16px;padding-right:16px}body.hub-view:not(.family-view) .daily-steps li{padding:0 11px}}

/* ---------- Account ---------- */
body.hub-view:not(.family-view) .account-page{max-width:720px!important}
body.hub-view:not(.family-view) #profile .ac-person{padding:0 0 24px}
body.hub-view:not(.family-view) #profile .ac-person h1{font:600 32px/1.15 var(--sans);letter-spacing:-.02em;color:var(--st-heading)}
body.hub-view:not(.family-view) #profile .ac-identity{font:400 15px/1.4 var(--sans);margin-top:4px}
body.hub-view:not(.family-view) #profile .ac-person .text-button{min-height:44px;padding:0 18px;border:1px solid var(--st-outline);color:var(--st-heading);font-size:15px}
body.hub-view:not(.family-view) #profile .ac-setting{min-height:58px;padding:0 16px 0 20px;gap:12px;border:1px solid var(--st-card-line);border-top-width:0;border-radius:0;background:var(--surface);font:500 16px/1.3 var(--sans);color:var(--st-heading)}
body.hub-view:not(.family-view) #profile .ac-setting-label{color:var(--st-heading)}
body.hub-view:not(.family-view) #profile .ac-setting-value{font-weight:400;font-size:15px;color:var(--secondary)}
body.hub-view:not(.family-view) #profile .ac-chevron{color:var(--st-faint)}
body.hub-view:not(.family-view) #profile .ac-person+.ac-setting,body.hub-view:not(.family-view) #profile :is(.ac-section,.ac-device)>.ac-setting:first-child,body.hub-view:not(.family-view) #profile .ac-section-head+.ac-setting{border-top-width:1px;border-radius:24px 24px 0 0}
body.hub-view:not(.family-view) #profile .ac-profile>.ac-setting:last-child,body.hub-view:not(.family-view) #profile :is(.ac-section,.ac-device)>.ac-setting:last-child{border-radius:0 0 24px 24px}
body.hub-view:not(.family-view) #profile .ac-person+.ac-setting:last-child,body.hub-view:not(.family-view) #profile :is(.ac-section,.ac-device)>.ac-setting:only-child,body.hub-view:not(.family-view) #profile .ac-section-head+.ac-setting:last-child{border-radius:24px}
body.hub-view:not(.family-view) #profile .ac-section{margin-top:16px;padding:0;border:0}
body.hub-view:not(.family-view) #profile .ac-section h2,body.hub-view:not(.family-view) #profile .ac-entitlement h2{font:600 18px/1.3 var(--sans);color:var(--st-heading);margin:0}
body.hub-view:not(.family-view) #profile .ac-section-head{padding:0 4px 10px}
body.hub-view:not(.family-view) #profile .ac-section:not(.ac-device):not(:has(>.ac-setting)){padding:18px 20px;border:1px solid var(--st-card-line);border-radius:24px;background:var(--surface)}
body.hub-view:not(.family-view) #profile .ac-entitlement{margin-top:16px;padding:18px 20px;border:1px solid var(--st-card-line);border-radius:24px;background:var(--surface)}
body.hub-view:not(.family-view) #profile .ac-entitlement>p{font:400 15px/1.45 var(--sans);color:var(--body);margin:6px 0 0}
body.hub-view:not(.family-view) #profile .ac-note{font:400 14px/1.5 var(--sans)}
body.hub-view:not(.family-view) #profile .ac-appearance{min-height:60px;padding-right:8px}
body.hub-view:not(.family-view) #profile .segmented{display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:0;padding:3px;border:0;border-radius:999px;background:var(--canvas)}
body.hub-view:not(.family-view) #profile .segmented button{min-height:38px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:var(--secondary);font:600 14px/1 var(--sans)}
body.hub-view:not(.family-view) #profile .segmented button[aria-pressed=true]{background:var(--st-chip);color:var(--st-chip-ink);box-shadow:none}
body.hub-view:not(.family-view) #profile .ac-footer{margin-top:16px}
body.hub-view:not(.family-view) #profile .ac-footer .text-button{width:100%;justify-content:center;min-height:54px;border:1px solid var(--st-card-line);border-radius:999px;font-size:16px;color:var(--mineral-ink)}
body.hub-view:not(.family-view) #profile .ac-connection,body.hub-view:not(.family-view) #profile .ac-pending{font-size:15px}
body.hub-view:not(.family-view) #profile .guide-offer{padding:16px 20px;margin-bottom:16px;border:1px solid var(--st-card-line);border-radius:24px;background:var(--surface)}
@media(max-width:740px){
  body.hub-view:not(.family-view) #profile .ac-person{padding:0 8px 22px}
  body.hub-view:not(.family-view) #profile .ac-person h1{font-size:28px}
  body.hub-view:not(.family-view) #profile :is(.ac-section-head){padding-left:8px}
}

/* ---------- Dialogs, toasts, tour ---------- */
body.workspace-view:not(.family-view) :is(.ac-dialog,.dialog){border-radius:28px;border-color:var(--st-card-line);padding:24px 28px 28px}
body.workspace-view:not(.family-view) .ac-dialog-head h2{font:600 24px/1.2 var(--sans);letter-spacing:-.015em;color:var(--st-heading)}
body.workspace-view:not(.family-view) :is(.ac-field input,.ac-field select,.ac-link-input){min-height:52px;padding:0 16px;border:1px solid var(--st-field-line);border-radius:16px;background:var(--st-field);font:400 16px/1.3 var(--sans);color:var(--st-heading)}
body.workspace-view:not(.family-view) :is(.ac-field label,.timezone-field>span:first-child){font:600 13px/1.3 var(--sans);color:var(--secondary)}
body.workspace-view:not(.family-view) .guide-actions .button{min-height:46px}
body.workspace-view:not(.family-view) :is(.toast,.error-banner){border-radius:999px;font:500 14px/1.4 var(--sans);padding:12px 20px}

/* ---------- Sign in ---------- */
body.auth-view{--st-entry-side:#f2f2f2}
:root[data-appearance=dark] body.auth-view{--st-entry-side:#131313}
/* No intro before the buttons: the page arrives settled. */
body.auth-view #entry :is(.entry-monogram,.entry-word-tail,.entry-action){animation:none!important;transform:none!important;opacity:1!important;visibility:visible!important;clip-path:none!important}
body.auth-view #entry :is(.entry-b-fill,.entry-b-joint){opacity:1;animation:none}
body.auth-view #entry .entry-b-outline{stroke-dashoffset:0;animation:none}
body.auth-view #entry :is(.entry-b-trace,.entry-b-guides,.entry-b-seeds,.entry-b-light){display:none}
body.auth-view .entry-language{visibility:visible!important;opacity:1!important;animation:none!important;top:12px;right:16px}
body.auth-view .language-trigger{min-height:44px;border-radius:999px;font:500 15px/1 var(--sans);color:var(--secondary)}
body.auth-view #entry.entry-unfold{max-width:none;min-height:100svh;margin:0;padding:0 24px calc(32px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:flex-start;gap:0}
body.auth-view #entry .entry-logo-stage{height:68px!important;display:flex;align-items:center;justify-content:flex-start;margin:0;animation:none!important}
body.auth-view #entry .entry-unified-logo{width:105px;height:24px;display:block}
body.auth-view #entry .entry-preview{flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;padding:12px 0 28px}
body.auth-view #entry .entry-preview-passage{margin:0;font:400 18px/1.62 var(--serif);color:var(--secondary)}
body.auth-view #entry .entry-preview-passage mark{background:var(--mark)!important;color:var(--mark-ink)!important;border-radius:4px;padding:1px 0;-webkit-box-decoration-break:clone;box-decoration-break:clone}
body.auth-view #entry .entry-preview-tutor{margin-top:22px;padding:22px 20px;background:var(--surface);border:1px solid var(--st-card-line);border-radius:28px;display:flex;flex-direction:column;gap:10px}
/* The preview speaks like the reading view: grey lead, question at 500, outlined choices. */
body.auth-view #entry .entry-preview-lead{margin:0;font:400 17px/1.45 var(--sans);color:var(--secondary)}
body.auth-view #entry .entry-preview-question{margin:-2px 0 8px;font:500 17px/1.45 var(--sans);color:var(--st-heading)}
body.auth-view #entry .entry-preview-choice{display:flex;align-items:center;gap:14px;min-height:56px;padding:12px 18px;border:1px solid var(--st-field-line);border-radius:18px;background:transparent;font:400 16px/1.4 var(--sans);color:var(--ink)}
body.auth-view #entry .entry-preview-choice::before{content:'';flex:0 0 22px;height:22px;box-sizing:border-box;border-radius:50%;border:1.5px solid var(--st-faint)}
body.auth-view #entry .entry-preview-choice.is-on{border-color:var(--accent);background:var(--st-choice-on);color:var(--st-heading)}
body.auth-view #entry .entry-preview-choice.is-on::before{border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 5px,transparent 5.5px)}
body.auth-view #entry .entry-copy{max-width:none!important;width:100%;justify-self:auto;text-align:left}
body.auth-view #entry .entry-title{text-align:left;margin:0;font:600 28px/1.15 var(--sans);letter-spacing:-.02em;color:var(--st-heading)}
body.auth-view #entry .entry-sub{text-align:left;margin:8px 0 0;font:400 16px/1.45 var(--sans);color:var(--secondary)}
body.auth-view #entry .entry-sub:empty{display:none}
body.auth-view #entry .entry-action{margin-top:22px;display:flex;flex-direction:column;gap:12px}
body.auth-view #entry .google-signin{min-height:56px;margin:0;border:0;border-radius:999px;background:#f1f1f1;color:#1a1a1a;font:600 16px/1 var(--sans);transform:none!important}
:root[data-appearance=light] body.auth-view #entry .google-signin{background:var(--surface);color:var(--st-heading);border:1px solid var(--st-outline)}
body.auth-view #entry .google-signin:hover{background:#fff;border-color:transparent}
body.auth-view #entry .kakao-signin{margin:0!important}
body.auth-view #entry .apple-signin{margin:0!important;background:var(--surface);color:var(--st-heading);border:1px solid var(--st-outline)}
body.auth-view #entry .email-signin{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;margin:0;border:1px solid var(--st-outline);border-radius:999px;background:var(--surface);color:var(--st-heading);font:600 16px/1 var(--sans)}
body.auth-view #entry .email-signin::before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center/contain no-repeat}
body.auth-view #entry.entry-email-mode .email-signin{display:none}
body.auth-view #entry .email-signin:hover{background:var(--surface-soft);color:var(--st-heading)}
body.auth-view #entry .entry-message{text-align:left;font:400 14px/1.5 var(--sans)}
/* Email: the form takes the page */
body.auth-view #entry.entry-email-mode :is(.entry-title,.entry-sub){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.auth-view #entry.entry-email-mode .entry-action{margin-top:0}
body.auth-view #entry .email-heading{margin:0 0 6px;font:600 24px/1.2 var(--sans);letter-spacing:-.02em;color:var(--st-heading);text-align:left}
body.auth-view #entry :is(.email-note,.email-hint,.email-address){text-align:left}
body.auth-view #entry .email-signin-form{gap:8px;margin:8px 0 4px}
body.auth-view #entry .email-signin-form label{font:600 13px/1.3 var(--sans);color:var(--secondary)}
body.auth-view #entry .email-signin-form input{min-height:52px;padding:0 16px;margin:0 0 10px;border:1px solid var(--st-field-line);border-radius:16px;background:var(--st-field);font:400 16px/1.3 var(--sans);color:var(--st-heading)}
body.auth-view #entry .email-submit{min-height:56px;margin-top:6px;border:0;border-radius:999px;background:var(--button);color:var(--on-button);font:600 16px/1 var(--sans)}
body.auth-view #entry .email-signin-status{font:400 14px/1.5 var(--sans)}
body.auth-view #entry .email-back{top:12px;left:12px;min-height:44px;border-radius:999px;font:600 16px/1 var(--sans)}
@media(max-width:899px){
  body.auth-view #entry.entry-email-mode :is(.entry-logo-stage,.entry-preview){display:none}
  body.auth-view #entry.entry-email-mode{padding-top:84px}
}
@media(min-width:600px) and (max-width:899px){body.auth-view #entry.entry-unfold{padding-left:max(24px,calc((100% - 460px)/2));padding-right:max(24px,calc((100% - 460px)/2))}body.auth-view #entry .entry-logo-stage{margin-bottom:auto}body.auth-view #entry .entry-preview{flex:0 0 auto;padding-bottom:40px}body.auth-view #entry .entry-copy{margin-bottom:auto}}
@media(max-height:700px) and (max-width:899px){body.auth-view #entry .entry-preview-tutor{display:none}}
@media(min-width:900px){
  body.auth-view #entry.entry-unfold{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;column-gap:0;padding:0;background:linear-gradient(to right,var(--st-entry-side) 50%,transparent 50%)}
  body.auth-view #entry .entry-logo-stage{grid-column:1;grid-row:1;height:auto!important;padding:40px 64px 0}
  body.auth-view #entry .entry-unified-logo{width:122px;height:28px}
  body.auth-view #entry .entry-preview{grid-column:1;grid-row:2;max-width:520px;padding:40px 64px 80px;box-sizing:content-box}
  body.auth-view #entry .entry-preview-passage{font-size:20px;line-height:1.7}
  body.auth-view #entry .entry-preview-tutor{margin-top:32px;padding:28px}
  body.auth-view #entry :is(.entry-preview-lead,.entry-preview-question){font-size:18px}
  body.auth-view #entry .entry-copy{grid-column:2;grid-row:1/span 2;align-self:center;justify-self:center;width:380px!important;padding:40px 0}
  body.auth-view #entry .entry-title{font-size:32px}
  body.auth-view #entry .entry-sub{margin-top:12px}
  body.auth-view #entry .entry-action{margin-top:32px}
  body.auth-view #entry .email-back{left:calc(50% + 24px)}
}

/* ---------- First-run setup ---------- */
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding{max-width:480px;margin:0 auto;padding:12px 24px calc(40px + env(safe-area-inset-bottom))}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding h1{font:600 32px/1.15 var(--sans);letter-spacing:-.02em;color:var(--st-heading);margin:8px 0 28px}
/* The account-type page and setup share the page title: 32px, 28px on a phone. */
body:not(.family-view) .role-choice h1{font:600 32px/1.15 var(--sans);letter-spacing:-.02em;color:var(--st-heading)}
@media(max-width:740px){body:not(.family-view) .role-choice h1,body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding h1{font-size:28px}}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .ac-name-fields{gap:12px}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .ac-field{gap:8px;margin-bottom:20px}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding :is(input,select){min-height:52px;padding:0 16px;border:1px solid var(--st-field-line);border-radius:16px;background:var(--surface);font:400 16px/1.3 var(--sans);color:var(--st-heading)}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding select{-webkit-appearance:none;appearance:none;padding-right:44px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/20px no-repeat}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding :is(input,select):focus{border-color:var(--accent);outline:none}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding input::placeholder{color:var(--st-faint)}
body.workspace-view:not(.family-view) .timezone-picker summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 16px;border:1px solid var(--st-field-line);border-radius:16px;background:var(--surface);font:400 16px/1.3 var(--sans);color:var(--st-heading)}
body.workspace-view:not(.family-view) .timezone-picker summary::-webkit-details-marker{display:none}
body.workspace-view:not(.family-view) .timezone-picker summary::after{content:'Change';margin:0;font:600 15px/1 var(--sans);color:var(--accent)}
:root[lang=ko] body.workspace-view:not(.family-view) .timezone-picker summary::after{content:'변경'}
body.workspace-view:not(.family-view) .timezone-picker[open] summary{border-color:var(--accent)}
body.workspace-view:not(.family-view) .timezone-options{margin-top:8px;padding:10px;border:1px solid var(--st-card-line);border-radius:20px}
body.workspace-view:not(.family-view) .timezone-options input{min-height:48px;border-radius:999px!important}
body.workspace-view:not(.family-view) .timezone-results button{min-height:44px;padding:0 14px;border-radius:12px;font:500 15px/1 var(--sans)}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .onboarding-note{font:400 15px/1.5 var(--sans);color:var(--secondary);margin:4px 0 20px}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding #onboarding-submit{width:100%;min-height:56px}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .agreement-inline{margin:14px 0 0;font:400 13px/1.5 var(--sans);color:var(--st-faint);text-align:center}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .agreement-inline a{color:var(--accent)}
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) #onboarding .role-back{margin:20px auto 0;min-height:44px;font:600 15px/1 var(--sans);color:var(--secondary)}
/* Top bar outside the hub (setup, access): quiet and roomy */
body.journey-view:not(.hub-view):not(.auth-view):not(.family-view) .topbar{height:64px;padding:0 16px}

/* Words at the end of a reading (Nov 8): in place on the passage, question and choices.
   Listed words sit in dotted boxes; outlines never change the text's layout. */
body.student-view.workspace-view:is(.word-sweeping,.word-reviewing) :is(#passage,#item-review,#activity-stage,.article-header,.passage-trail,.scope-controls),
body.student-view.workspace-view.word-sweeping :is(.workspace-tutor,#thinking-form,#session-word-check){display:none!important}
body.student-view.workspace-view .word-sweep{padding-top:4px}
body.student-view.workspace-view .sweep-text{margin:0;overflow-wrap:break-word;white-space:pre-line}
body.student-view.workspace-view .sweep-passage{font:400 var(--rt-passage)/1.7 var(--serif);color:var(--body);margin:0 0 24px}
body.student-view.workspace-view .sweep-stem{font:600 var(--rt-question)/1.6 var(--sans);color:var(--st-heading);margin:32px 0 18px;padding-top:24px;border-top:1px solid var(--st-card-line)}
body.student-view.workspace-view .sweep-option{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:baseline;margin:0 0 12px}
body.student-view.workspace-view .sweep-option-letter{font:500 var(--rt-small)/1.6 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .sweep-option .sweep-text{font:400 var(--rt-body)/1.65 var(--sans);color:var(--body)}
body.student-view.workspace-view .sweep-word{cursor:pointer;border-radius:4px}
@media(hover:hover){body.student-view.workspace-view.word-picking .sweep-text>.sweep-word:hover{text-decoration:underline dotted var(--mineral);text-decoration-thickness:1.5px;text-underline-offset:5px}}
/* A box keeps a little room on each side, cleared or not, so its outline clears the next
   word and any punctuation that follows. */
body.student-view.workspace-view .sweep-box{padding:0 3px;margin:0 2px;outline:1.5px dashed var(--mineral);outline-offset:0;border-radius:5px;cursor:pointer;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:outline-color .15s}
body.student-view.workspace-view .sweep-box.is-cleared{outline-color:transparent}
@media(hover:hover){body.student-view.workspace-view .sweep-box.is-cleared:hover{outline-color:var(--st-outline)}}
body.student-view.workspace-view .sweep-box:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
body.student-view.workspace-view .sweep-kept{text-decoration:underline;text-decoration-color:var(--mineral);text-decoration-thickness:2px;text-underline-offset:5px;border-radius:3px;transition:background-color .15s}
body.student-view.workspace-view .sweep-kept.is-lit{background:var(--mineral-soft)}
/* The panel beside the passage */
body.student-view.workspace-view .sweep-panel{display:flex;flex-direction:column;align-items:flex-start}
body.student-view.workspace-view .sweep-panel-title{font:500 var(--rt-question)/1.45 var(--sans);color:var(--st-heading);margin:0 0 8px;outline:none}
body.student-view.workspace-view .sweep-panel-hint{font:400 var(--rt-body)/1.5 var(--sans);color:var(--secondary);margin:0}
body.student-view.workspace-view .sweep-panel-note{font:400 var(--rt-small)/1.45 var(--sans);color:var(--mineral-ink);margin:10px 0 0}
body.student-view.workspace-view .sweep-panel-note:empty{display:none}
body.student-view.workspace-view .sweep-panel .sweep-keep{margin-top:22px}
body.student-view.workspace-view .sweep-panel-actions{display:flex;align-items:center;gap:16px;margin-top:18px}
body.student-view.workspace-view .kept-list{list-style:none;margin:8px 0 18px;padding:0;width:100%}
body.student-view.workspace-view .kept-item{display:flex;flex-direction:column;gap:2px;padding:12px 10px;margin:0 -10px;border-top:1px solid var(--st-card-line);border-radius:12px;outline:none;transition:background-color .15s}
body.student-view.workspace-view .kept-item:first-child{border-top-color:transparent}
body.student-view.workspace-view .kept-item.is-lit{background:var(--mineral-soft);border-top-color:transparent}
body.student-view.workspace-view .kept-item.is-lit+.kept-item{border-top-color:transparent}
body.student-view.workspace-view .kept-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
body.student-view.workspace-view .kept-word{font:500 var(--rt-body)/1.4 var(--serif);color:var(--ink)}
body.student-view.workspace-view .kept-meaning{font:400 var(--rt-body)/1.5 var(--sans);color:var(--body)}
body.student-view.workspace-view .kept-meaning.is-pending{color:var(--st-faint)}
/* A finished reading (Nov 9): its kept words sit under the tutor's last message, before the way back */
body.student-view.workspace-view.word-reviewing .workspace-tutor{display:contents}
body.student-view.workspace-view.word-reviewing #sweep-panel{order:1;margin-top:28px;padding-top:24px;border-top:1px solid var(--st-card-line)}
body.student-view.workspace-view.word-reviewing #sweep-panel .sweep-panel-title{font-size:var(--rt-body)}
body.student-view.workspace-view.word-reviewing #sweep-panel .kept-list{margin-bottom:6px}
body.student-view.workspace-view.word-reviewing #workspace-return{order:2;align-self:flex-start}
/* On a laptop the conversation stops at the screen; with no thread to scroll (the kept list after Keep, or a finished reading), the session itself scrolls. Its scrollbar space is kept, so the text doesn’t shift when an answer’s feedback makes it scroll */
@media(min-width:1024px){body.student-view.workspace-view.workspace-started:is(.word-reviewing,.word-sweeping) .workspace-session{overflow:hidden auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding-bottom:4px}}
body.student-view.workspace-view .sweep-edit{font-size:var(--rt-small)}
body.student-view.workspace-view .sweep-edit-actions{margin-top:22px;order:4}
body.student-view.workspace-view.word-picking .sweep-panel .sweep-edit-actions .sweep-keep{margin-top:0;width:auto}
/* Stacked layouts: while picking, the panel stays in view at the bottom */
@media(max-width:1023px){
  body.student-view.workspace-view.word-picking .thinking-pane{position:sticky;bottom:12px;z-index:5;margin-top:24px}
  body.student-view.workspace-view.word-picking .sweep-panel{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:16px}
  body.student-view.workspace-view.word-picking .sweep-panel-title{flex:1 0 100%;margin-bottom:4px}
  body.student-view.workspace-view.word-picking .sweep-panel-hint{flex:1 1 260px}
  body.student-view.workspace-view.word-picking .sweep-panel-note{flex:1 0 100%;order:3}
  body.student-view.workspace-view.word-picking .sweep-panel .sweep-keep{margin-top:10px}
  body.student-view.workspace-view.word-picking .sweep-edit-actions{flex:1 0 100%;margin-top:12px}
}
@media(max-width:740px){
  body.student-view.workspace-view .word-sweep{padding:0 0 8px}
  body.student-view.workspace-view.word-picking .thinking-pane{bottom:0;margin-top:12px;padding:16px 20px calc(18px + env(safe-area-inset-bottom))}
  body.student-view.workspace-view.word-picking .sweep-panel-hint{font-size:var(--rt-small)}
  body.student-view.workspace-view.word-picking .sweep-panel .sweep-keep{width:100%}
}
/* Warm-up while the reading is prepared */
body.student-view.workspace-view .session-opening.is-warming{justify-content:flex-start;padding-top:min(9vh,80px)}
/* By id, so it outranks the laptop tutor-column rules */
body.student-view.workspace-view.word-warming #thinking-pane{display:none}
body.student-view.workspace-view .session-opening.is-warming :is(.opening-art,#opening-label,.opening-actions){display:none}
body.student-view.workspace-view .opening-warmup{width:100%;max-width:600px;text-align:left}
body.student-view.workspace-view .warmup-status{position:relative;height:40px;margin:0 0 18px;font:400 var(--rt-small)/40px var(--sans);color:var(--st-faint)}
body.student-view.workspace-view .warmup-status>span{position:absolute;inset:0;display:flex;align-items:center;gap:12px;transition:opacity .4s ease,transform .4s ease}
body.student-view.workspace-view .warmup-status-ready{opacity:0;transform:translateY(6px);pointer-events:none;color:var(--secondary)}
body.student-view.workspace-view .warmup-status[data-ready=true] .warmup-status-preparing{opacity:0;transform:translateY(-6px)}
body.student-view.workspace-view .warmup-status[data-ready=true] .warmup-status-ready{opacity:1;transform:none;pointer-events:auto}
body.student-view.workspace-view .warmup-dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:warmup-pulse 1.4s ease-in-out infinite}
@keyframes warmup-pulse{50%{opacity:.25}}
@media(prefers-reduced-motion:reduce){body.student-view.workspace-view .warmup-status>span{transition:none}body.student-view.workspace-view .warmup-dot{animation:none}}
/* Word practice (Nov 10): a line that moves only when a word is right, and the SAT blank as a rule */
body.student-view.workspace-view .practice-progress{height:3px;border-radius:2px;background:var(--st-card-line);margin:0 0 18px;overflow:hidden}
body.student-view.workspace-view .practice-progress>i{display:block;height:100%;background:var(--accent);border-radius:2px;transition:width .3s ease}
@media(prefers-reduced-motion:reduce){body.student-view.workspace-view .practice-progress>i{transition:none}}
body.student-view.workspace-view .practice-blank{display:inline-block;width:5.5em;border-bottom:1.5px solid currentColor}
body.student-view.workspace-view .warmup-question{font:400 var(--rt-passage)/1.6 var(--serif);color:var(--ink);margin:0 0 20px;outline:none}
body.student-view.workspace-view .opening-warmup .vocab-choices{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:8px}
body.student-view.workspace-view .opening-warmup .vocab-choice{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:baseline;gap:12px;padding:12px 16px;border:1px solid var(--st-outline);border-radius:16px;background:transparent;font:400 var(--rt-body)/1.45 var(--sans);color:var(--ink);cursor:pointer}
body.student-view.workspace-view .opening-warmup .vocab-choice input{position:absolute;width:1px;height:1px;padding:0;opacity:0}
body.student-view.workspace-view .opening-warmup .vocab-choice-letter{font:500 var(--rt-small)/1.45 var(--sans);color:var(--secondary)}
body.student-view.workspace-view .opening-warmup .vocab-choice:has(input:checked){border-color:var(--accent)}
body.student-view.workspace-view .opening-warmup .vocab-choice:has(input:checked) .vocab-choice-letter{color:var(--accent)}
body.student-view.workspace-view .opening-warmup .vocab-choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice{cursor:default;opacity:.55}
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice:is([data-correct=true],[data-selected=true]){opacity:1}
/* Reviewed: the answer is filled; after a miss the student's pick is outlined in the other
   colour. A note under each says which is which. */
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice[data-correct=true]{border-color:var(--accent);background:var(--st-choice-on)}
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice[data-correct=true] .vocab-choice-letter{color:var(--accent)}
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice[data-selected=true][data-correct=false]{border-color:var(--mineral)}
body.student-view.workspace-view .opening-warmup .vocab-reviewed .vocab-choice[data-selected=true][data-correct=false] .vocab-choice-letter{color:var(--mineral-ink)}
body.student-view.workspace-view .opening-warmup .vocab-choice:has(.vocab-choice-note){row-gap:2px}
body.student-view.workspace-view .opening-warmup .vocab-choice-note{grid-column:2;font:500 var(--rt-small)/1.4 var(--sans);color:var(--accent)}
body.student-view.workspace-view .opening-warmup .vocab-choice[data-correct=false] .vocab-choice-note{color:var(--mineral-ink)}
body.student-view.workspace-view .warmup-actions{margin-top:18px}
body.student-view.workspace-view .warmup-feedback{font:400 var(--rt-body)/1.55 var(--sans);color:var(--body);margin:16px 0 0}
body.student-view.workspace-view .warmup-feedback p{margin:4px 0}
body.student-view.workspace-view .warmup-outcome{font-weight:500;color:var(--ink)}
body.student-view.workspace-view .warmup-word{font:500 var(--rt-body)/1.5 var(--serif);color:var(--ink)}
body.student-view.workspace-view .warmup-source{font:400 var(--rt-small)/1.5 var(--sans);color:var(--secondary);margin:26px 0 0;padding-top:14px;border-top:1px solid var(--st-card-line)}
body.student-view.workspace-view .warmup-source-text{font:400 var(--rt-small)/1.5 var(--serif);color:var(--body)}
body.student-view.workspace-view .warmup-source-word{text-decoration:underline;text-decoration-color:var(--mineral);text-decoration-thickness:1.5px;text-underline-offset:3px}
body.student-view.workspace-view .warmup-error{font:400 var(--rt-small)/1.4 var(--sans);color:var(--danger);margin:10px 0 0}
body.student-view.workspace-view .warmup-error:empty{display:none}
/* The Words page: one list, each word in its phrase, the meaning a tap away */
body.hub-view:not(.family-view) #vocabulary>.vocabulary-actions{display:block;margin:0 0 24px;padding:0;background:none;border:0;border-radius:0}
body.hub-view:not(.family-view) #vocabulary .vocab-status{margin:0;font:400 16px/1.5 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary .word-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--st-card-line)}
body.hub-view:not(.family-view) #vocabulary .word-row{border-bottom:1px solid var(--st-card-line)}
body.hub-view:not(.family-view) #vocabulary .word-row-head{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr) auto;align-items:baseline;gap:18px;width:100%;padding:16px 4px;background:none;border:0;text-align:left;color:inherit;font:inherit;cursor:pointer}
body.hub-view:not(.family-view) #vocabulary .word-row-head:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:12px}
body.hub-view:not(.family-view) #vocabulary .word-row-word{font:500 18px/1.35 var(--serif);color:var(--st-heading);overflow-wrap:anywhere}
body.hub-view:not(.family-view) #vocabulary .word-row-phrase{font:400 16px/1.5 var(--serif);color:var(--secondary);overflow-wrap:anywhere}
body.hub-view:not(.family-view) #vocabulary .word-row-mark{color:var(--ink);text-decoration:underline;text-decoration-color:var(--mineral);text-decoration-thickness:1.5px;text-underline-offset:4px}
body.hub-view:not(.family-view) #vocabulary .word-row-when{font:500 13px/1.4 var(--sans);color:var(--st-faint);white-space:nowrap}
body.hub-view:not(.family-view) #vocabulary .word-row-body{display:grid;grid-template-columns:minmax(110px,180px) minmax(0,1fr);gap:18px;padding:0 4px 18px}
body.hub-view:not(.family-view) #vocabulary .word-row-body[hidden]{display:none}
body.hub-view:not(.family-view) #vocabulary .word-row-meaning{grid-column:2;margin:0;font:400 16px/1.55 var(--sans);color:var(--body)}
body.hub-view:not(.family-view) #vocabulary .word-row-meaning.is-pending{color:var(--st-faint)}
body.hub-view:not(.family-view) #vocabulary .word-row-back{grid-column:2;margin:0;font:400 14px/1.4 var(--sans);color:var(--st-faint)}
/* How well a word is holding: four steps, no names on screen */
body.hub-view:not(.family-view) #vocabulary .word-meter{display:inline-flex;gap:3px;vertical-align:middle}
body.hub-view:not(.family-view) #vocabulary .word-meter>i{width:12px;height:4px;border-radius:2px;background:var(--st-card-line)}
body.hub-view:not(.family-view) #vocabulary .word-meter>i.on{background:var(--accent)}
body.hub-view:not(.family-view) #vocabulary .word-row-actions{grid-column:2;display:flex;gap:20px}
body.hub-view:not(.family-view) #vocabulary .word-row-actions .text-button{min-height:36px;padding:0;font:500 14px/1.4 var(--sans);color:var(--secondary)}
body.hub-view:not(.family-view) #vocabulary .word-row-actions .text-button:hover{color:var(--ink)}
body.hub-view:not(.family-view) #vocabulary .vocab-search{margin:0 0 16px}
body.hub-view:not(.family-view) #vocabulary .vocab-no-matches{padding:16px 4px;color:var(--secondary);font:400 15px/1.5 var(--sans)}
@media(max-width:640px){
  body.hub-view:not(.family-view) #vocabulary .word-row-head{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
  body.hub-view:not(.family-view) #vocabulary .word-row-head .word-row-phrase{grid-column:1/-1;grid-row:2}
  body.hub-view:not(.family-view) #vocabulary .word-row-body{grid-template-columns:1fr;gap:8px}
  body.hub-view:not(.family-view) #vocabulary :is(.word-row-meaning,.word-row-back,.word-row-actions){grid-column:1}
}
