/* Home and Library reuse the Hub's painted mode, including open dialogs. */
html[data-wz-module=education][data-wz-mode] {
  --app-text: var(--wz-ink);
  --app-muted: var(--wz-muted);
  --app-accent: var(--wz-link);
  --app-line: var(--wz-edge);
  --app-input: var(--wz-panel);
  --app-card: linear-gradient(140deg, var(--wz-panel), var(--wz-canvas));
  --app-nav: var(--wz-panel);
  --app-shadow: 0 4px 14px #071e3510;
}
html[data-wz-module=education] .hero {
  min-height: 0; height: auto; padding: 0 16px;
  background: transparent; color: var(--wz-ink);
}
.hero .back {display:inline-flex; align-items:center; min-height:44px; color:var(--wz-link)}
html[data-wz-module=education] #education-workspace {
  padding: 0 16px calc(96px + env(safe-area-inset-bottom));
  font-size:1rem; background: transparent;
}
#education-workspace .edu-title, .edu-collection-row, .edu-actions {display:flex; align-items:center; gap:10px}
#education-workspace .edu-title {justify-content:space-between; flex-wrap:wrap; margin:12px 0 4px}
.edu-title h1 {font-size:1.8rem; margin:0; line-height:1.15}
#education-workspace .edu-title button {width:auto}
html[data-wz-module=education] #education-workspace > h2 {margin-top:24px}
html[data-wz-module=education] .app-feature {grid-template-columns:32% 1fr; min-height:122px}
html[data-wz-module=education] .app-feature > img {max-height:150px; object-fit:contain; padding:8px}
html[data-wz-module=education] .app-shortcuts {display:grid; grid-template-columns:1fr; gap:0; overflow:hidden; background:var(--app-card); border:1px solid var(--wz-edge); border-radius:16px}
html[data-wz-module=education] #education-workspace .app-shortcut {margin:0; padding:9px 12px; justify-content:start; min-height:46px; border:0; border-bottom:1px solid var(--wz-edge); border-radius:0; background:none; box-shadow:none; font-size:.94rem}
html[data-wz-module=education] #education-workspace .app-shortcut:last-child {border-bottom:0}
.edu-collections {background:var(--app-card); border:1px solid var(--wz-edge); border-radius:16px; overflow:hidden}
.edu-collection-row {min-height:46px; padding:8px 12px; border-bottom:1px solid var(--wz-edge); overflow-wrap:anywhere; color:var(--wz-link)}
.edu-collection-row small {margin-left:auto; white-space:nowrap}
.edu-collection-row:last-child {border-bottom:0}
.edu-actions {flex-wrap:wrap}
#education-workspace .edu-actions button {width:auto; margin:4px 0}
#education-workspace [hidden] {display:none!important}
#education-workspace :is(input,textarea,select) {min-height:44px; font-size:1rem}
#education-workspace :is(button,a):focus-visible {outline:3px solid var(--wz-link); outline-offset:2px}
#education-workspace button:disabled {opacity:.55; cursor:default}
/* The logo returns to the Hub. The breadcrumb is the single contextual back link. */
.hero #wz-standard-header .wz-home {display:none}
html[data-wz-mode=light] #wz-standard-header .wz-logo img {content:url(assets/walizada-hub-light.svg)}
html[data-wz-mode=dark] #wz-standard-header .wz-logo img {content:url(assets/walizada-hub-dark.svg)}
html[data-wz-mode=dark] #wz-standard-header[data-surface=light] {
  --wz-ink:inherit; --wz-edge:inherit; --wz-glass:var(--wz-panel);
}
html[data-wz-mode=dark] #wz-standard-header[data-surface=light] .wz-profile-menu {background:var(--wz-panel); color:var(--wz-ink)}
html[data-wz-mode=dark] #wz-standard-header[data-surface=light] .wz-profile-menu :is(a,strong) {color:var(--wz-ink)!important}

/* Match secondary actions to the same palette as Library links. */
#education-workspace :is(.secondary, .edu-close) {
  background:var(--app-card);
  border:1px solid var(--wz-edge);
  color:var(--wz-link);
}
html[data-wz-module=education] #education-workspace .app-shortcut {font-size:.94rem!important}
@media (max-width:480px) {
  html[data-wz-module=education] dialog.edu-sheet {
    margin:auto auto max(8px,env(safe-area-inset-bottom));
    max-height:calc(100dvh - 32px);
  }
}
.edu-practice-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}
.edu-mode {display:grid;align-content:center;min-height:68px;padding:10px 12px;background:var(--app-card);border:1px solid var(--wz-edge);border-radius:14px}
.edu-mode small {color:var(--wz-muted);margin-top:4px}
div.edu-mode {border-style:dashed}
.edu-sheet label:has(input[type=checkbox]) {display:flex;align-items:center;justify-content:space-between;min-height:44px}
#education-workspace .edu-sheet input[type=checkbox] {width:22px;min-height:22px;height:22px}

#education-workspace .edu-review-item {
 display:flex; align-items:center; justify-content:space-between; gap:12px;
 width:100%; min-height:48px; padding:10px; text-align:start;
 background:var(--app-card); color:var(--wz-ink); border:1px solid var(--wz-edge);
 border-radius:12px; overflow-wrap:anywhere;
}
.edu-review-item small {color:var(--wz-muted)}
.edu-recall-card h3 {font-size:1.45rem;line-height:1.24;text-align:center;overflow-wrap:anywhere}
.edu-recall-card > p {text-align:center}
.edu-revealed {padding:14px 0;overflow-wrap:anywhere}
.edu-revealed > p {margin:.3em 0 1em;font-size:1.25rem;font-weight:650}
.edu-ratings {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:12px 0;padding:0;border:0;gap:5px}
.edu-ratings legend {padding:0 0 10px;font-weight:600}
.edu-ratings label {display:grid;place-items:center;gap:3px;min-height:58px;padding:5px 2px;border:1px solid var(--wz-edge);border-radius:12px;color:var(--wz-ink);font-size:.9rem}
.edu-ratings label:has(:checked) {border:2px solid var(--wz-link);color:var(--wz-link)}
#education-workspace .edu-ratings input {margin:0;min-height:16px;height:16px;width:16px;accent-color:var(--wz-link)}
@media(max-width:345px) {.edu-ratings {grid-template-columns:repeat(2,minmax(0,1fr))}}
body:is([data-page=queue],[data-page=recall]) #education-workspace button.primary {
 background:#0756bb;color:white;border:1px solid transparent;box-shadow:none;
}
html[data-wz-mode=dark] body:is([data-page=queue],[data-page=recall]) #education-workspace button.primary {
 background:#1466d2;color:white;
}
body[data-page=queue] #education-workspace h2:has(.app-icon) {display:flex;align-items:center;gap:8px}

body:is([data-page=typed],[data-page=choice],[data-page=matching],[data-page=labeling],[data-page=mixed],[data-page=results]) #education-workspace {padding-bottom:calc(90px + env(safe-area-inset-bottom))}
body.edu-active-practice .bottom-nav {display:none}
body.edu-active-practice #education-workspace {padding-bottom:calc(28px + env(safe-area-inset-bottom))}
body:is([data-page=typed],[data-page=choice],[data-page=matching],[data-page=labeling],[data-page=mixed],[data-page=results]) #education-workspace .primary,
body:is([data-page=typed],[data-page=choice],[data-page=matching],[data-page=labeling],[data-page=mixed],[data-page=results]) #education-feedback button {
 background:#0756bb;color:white;border:1px solid transparent;box-shadow:none;
}
.edu-question-card h3 {font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}
.edu-checked-form {display:grid;gap:8px}
.edu-checked-form .edu-hint {justify-self:start;width:auto;min-height:44px;padding:4px 14px}
.edu-checked-form .edu-answer-status:empty {display:none}
.edu-previous summary {min-height:44px;align-content:center;cursor:pointer}
.edu-choice-list {display:grid;gap:6px;border:0;margin:0;padding:0;min-width:0}
.edu-choice-list legend {padding:0 0 8px}
.edu-choice-list .edu-choice {display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border:1px solid var(--wz-edge);border-radius:12px;background:var(--app-card);color:var(--wz-ink);cursor:pointer;overflow-wrap:anywhere}
.edu-choice:has(:checked) {outline:2px solid var(--wz-link);outline-offset:-2px}
#education-workspace .edu-choice input {width:18px;height:18px;min-height:18px;margin:0;flex-shrink:0;accent-color:var(--wz-link)}
@keyframes edu-choice-rise {from{transform:translateY(2px)}to{transform:translateY(-2px)}}
@media(prefers-reduced-motion:no-preference){
 html:not(.wz-reduced-motion) .edu-choice-list.edu-moving:not(.edu-choice-selected) .edu-choice span {animation:edu-choice-rise var(--edu-choice-speed) ease-in-out infinite alternate}
 .edu-choice-list:focus-within .edu-choice span,.edu-choice-list:active .edu-choice span {animation-play-state:paused!important}
}
body:is([data-page=typed],[data-page=choice],[data-page=matching],[data-page=labeling],[data-page=mixed],[data-page=results]) #education-feedback {max-width:min(410px,calc(100% - 24px));max-height:80dvh;overflow:auto;padding:18px;border-radius:20px;color:var(--wz-ink);background:var(--wz-panel);border:1px solid var(--wz-edge)}
#education-feedback p:has(strong) {display:grid;gap:3px;overflow-wrap:anywhere}
#education-feedback p strong:not(:first-child) {margin-top:9px}
#education-feedback::backdrop {background:#03152aaa}
.edu-session-top {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.edu-session-top h1 {margin:0}
#education-workspace .edu-session-top button {width:auto;min-height:44px;padding:6px 14px}
.edu-active-practice #wz-standard-header .wz-header-actions {display:none}

.edu-pair-board {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px}
.edu-pair-board .edu-choice:has(:disabled) {opacity:.6}

.edu-sequence {display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:12px 0;padding:0}
.edu-sequence li {padding:5px 10px;border:1px solid var(--wz-edge);border-radius:24px;font-size:.85rem}
.edu-sequence [aria-current=step] {border-color:var(--wz-link);color:var(--wz-link);font-weight:650}
.edu-result-totals {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.edu-result-totals div {display:flex;align-items:center;justify-content:space-between;gap:5px;padding:6px 0;border-bottom:1px solid var(--wz-edge)}
.edu-result-totals dd {font-weight:700;margin:0;color:var(--wz-link)}
.edu-result-row {border-bottom:1px solid var(--wz-edge);padding:4px 0}
.edu-result-row summary {min-height:48px;align-content:center;cursor:pointer;overflow-wrap:anywhere}
.edu-result-row summary span {display:block;font-size:.86rem;color:var(--wz-muted)}
.edu-result-row dd,.edu-note-actions p {overflow-wrap:anywhere;white-space:pre-wrap}
.edu-note-actions {display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.edu-note-actions p {width:100%}
#education-workspace .edu-note-actions button {width:auto;min-height:44px}
.edu-calendar-meta {display:grid;gap:4px;margin:8px 0 10px}
.edu-calendar-meta p {margin:0;color:var(--wz-muted);font-size:.86rem}
.edu-calendar-total {display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid color-mix(in srgb,var(--wz-link) 30%,var(--wz-edge));border-radius:12px;background:color-mix(in srgb,var(--wz-link) 7%,transparent);color:var(--wz-text)!important}
.edu-calendar-total svg {width:20px;height:20px;color:var(--wz-link)}
.edu-calendar-nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#education-workspace .edu-calendar-nav button {min-width:0;min-height:40px;padding:6px;font-size:.83rem}
.edu-calendar-agenda {display:grid;gap:10px;margin-top:10px}
.edu-calendar-week {padding:10px!important}
.edu-calendar-week h2 {font-size:.94rem;margin:0;padding-right:120px}
.edu-calendar-week-total {display:block;text-align:right;margin-top:-18px;margin-bottom:5px;color:var(--wz-muted);font-size:.74rem}
#education-workspace .edu-calendar-row {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:6px 4px;border:0;border-top:1px solid var(--wz-edge);border-radius:0;background:transparent;box-shadow:none;text-align:left;color:var(--wz-text)}
#education-workspace .edu-calendar-row[aria-pressed=true] {background:color-mix(in srgb,var(--wz-link) 11%,transparent);box-shadow:inset 3px 0 var(--wz-link)}
.edu-calendar-row span:first-child {display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:6px}
.edu-calendar-row small {color:var(--wz-muted);overflow-wrap:anywhere}
.edu-calendar-counts {display:flex;gap:4px}
.edu-calendar-counts b {min-width:45px;padding:3px 6px;border-radius:999px;background:color-mix(in srgb,var(--wz-link) 10%,transparent);color:var(--wz-link);font-size:.72rem;text-align:center;white-space:nowrap}
.edu-calendar-day-hero {display:grid;grid-template-columns:36px 1fr;gap:2px 8px;align-items:center;padding:10px;border-radius:12px;background:color-mix(in srgb,var(--wz-link) 10%,transparent)}
.edu-calendar-day-hero> :first-child {grid-row:1/3}
.edu-calendar-day-hero svg {width:30px;height:30px;color:var(--wz-link)}
.edu-calendar-day-hero small {grid-column:2;color:var(--wz-muted)}
.edu-calendar-day-stats {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.edu-calendar-day-stats div {display:flex;align-items:baseline;justify-content:center;gap:5px;padding:10px;border:1px solid var(--wz-edge);border-radius:12px}
.edu-calendar-day-stats strong {font-size:1.2rem;color:var(--wz-link)}
.edu-calendar-day-empty,.edu-calendar-notice {display:grid;grid-template-columns:28px 1fr;gap:3px 8px;padding:10px;margin:8px 0;border:1px solid var(--wz-edge);border-radius:12px}
.edu-calendar-day-empty svg {grid-row:1/3;width:24px;height:24px;color:var(--wz-link)}
.edu-calendar-day-empty p,.edu-calendar-notice p {margin:0;grid-column:2;color:var(--wz-muted)}
.edu-calendar-notice {display:block;background:color-mix(in srgb,var(--wz-link) 7%,transparent)}
.edu-calendar-notice.overdue {border-color:#f59e0b;background:color-mix(in srgb,#f59e0b 12%,transparent)}
.edu-calendar-estimate,.edu-calendar-plan-line,.edu-calendar-exam {margin:8px 0}
.edu-calendar-offline {text-align:center}
.edu-calendar-offline svg {width:42px;height:42px;color:var(--wz-link)}
.edu-shape-illustration {text-align:center;font-size:5rem;color:var(--wz-link);line-height:1.25}
[data-page=explore] .edu-actions button {font-size:2rem;min-width:52px}
[data-page=diagram] .edu-sheet fieldset {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid var(--wz-edge);border-radius:12px}
:is([data-page=personalize],[data-page=setup],[data-page=preferences],[data-page=downloads]) label:has(input[type=checkbox]) {
 display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;
 border-bottom:1px solid var(--wz-edge);
}
:is([data-page=personalize],[data-page=setup],[data-page=preferences],[data-page=downloads]) label input[type=checkbox] {
 appearance:none;position:relative;width:38px;height:23px;border-radius:18px;background:var(--wz-edge);border:1px solid var(--wz-muted);flex:none;
}
:is([data-page=personalize],[data-page=setup],[data-page=preferences],[data-page=downloads]) label input[type=checkbox]::after {
 content:"";position:absolute;top:2px;left:2px;width:17px;height:17px;border-radius:50%;background:white;
}
:is([data-page=personalize],[data-page=setup],[data-page=preferences],[data-page=downloads]) label input[type=checkbox]:checked {background:#1263d9}
:is([data-page=personalize],[data-page=setup],[data-page=preferences],[data-page=downloads]) label input[type=checkbox]:checked::after {left:17px}
[data-page=explore] #education-workspace .app-feature {grid-template-columns:1fr}
[data-page=explore] #education-workspace .app-feature>img {width:100%;height:138px;object-fit:cover;padding:0}

/* Education artwork and surfaces follow the appearance painted by the Hub. */
html[data-wz-module=education][data-wz-mode=light] {
 --edu-ridge:url(assets/home/ridge-day.webp);
 --edu-book:url(assets/education/open-book-light.webp);
 --edu-shapes:url(assets/education/shapes-light.webp);
 --app-card:linear-gradient(145deg,#f7fbff,#e2effb);
 --app-shadow:inset 0 1px 0 #fff,0 3px 9px #36557918;
 --edu-action:linear-gradient(#087be6,#064dc7);
 color-scheme:light;
}
html[data-wz-module=education][data-wz-mode=dark] {
 --edu-ridge:url(assets/home/ridge-night.webp);
 --edu-book:url(assets/education/open-book-dark.webp);
 --edu-shapes:url(assets/education/shapes-dark.webp);
 --app-card:linear-gradient(145deg,#17384e,#0b2337);
 --app-shadow:inset 0 1px 0 #c5eaff12,0 3px 10px #0002;
 --edu-action:linear-gradient(#0b7be5,#094bc2);
 color-scheme:dark;
}
html[data-wz-module=education] main.phone {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[data-wz-module=education] .hero {padding:0;background:transparent}
html[data-wz-module=education][data-wz-mode] #wz-standard-header.wz-standard-header {
 margin:0;padding:10px 16px 12px;border:0;
 background:var(--edu-ridge) center bottom / cover no-repeat!important;
}
html[data-wz-module=education][data-wz-mode] .hero:has(>a.edu-back) #wz-standard-header .wz-home {display:none!important}
html[data-wz-module=education] .hero > a.edu-back {
 display:inline-flex!important;align-items:center;min-height:44px;margin:0 16px;
 font-size:.875rem;font-weight:600;color:var(--wz-ink);
}
html[data-wz-module=education] #education-workspace {font-family:inherit}
html[data-wz-module=education] #education-workspace :is(h1,h2,h3) {font-family:inherit}
html[data-wz-module=education] #education-workspace h1 {margin:8px 0 14px;line-height:1.13;letter-spacing:-.035em}
html[data-wz-module=education] #education-workspace .edu-title h1 {margin:0}
html[data-wz-module=education] #education-workspace :is(.primary,.app-primary) {
 color:white;background:var(--edu-action);box-shadow:inset 0 1px 0 #ffffff35;
 border:1px solid transparent;border-radius:12px;
}
#education-workspace .edu-book-landscape {
 margin:0 -16px;height:clamp(94px,26vw,112px);background:var(--edu-book) center center / 100% 100% no-repeat;
 mask-image:linear-gradient(transparent,#000 10%,#000 88%,transparent);
}
#education-workspace .edu-today h2,.edu-subjects h2,#education-workspace h2:has(>.app-icon) {
 display:flex;align-items:center;gap:10px;
}
#education-workspace .edu-today .app-primary {display:flex!important;width:100%;font-weight:650;font-size:.95rem!important}
#education-workspace .edu-today > p {margin:2px 0 10px 38px;font-size:.875rem}
#education-workspace .app-stat .app-icon {margin:0 auto 4px;color:var(--wz-ink)}
#education-workspace .app-stat > span:last-child {font-size:.75rem}
#education-workspace .app-stat {padding:10px 4px}
#education-workspace .edu-collection-row {
 display:flex;align-items:center;gap:11px;padding:8px 10px;color:var(--wz-ink);text-align:start;
 border-radius:0;border-bottom:1px solid var(--wz-edge);min-height:54px;
}
#education-workspace .edu-collection-row:last-child {border-bottom:0}
#education-workspace .edu-collection-row::after,.edu-mode[href]::after {
 content:"›";margin-inline-start:auto;color:var(--wz-link);font-size:1.4rem;line-height:1;
}
.edu-cover,.edu-collection-row>.app-icon {width:60px;height:42px;border-radius:8px;flex:0 0 60px}
.edu-collection-row>.app-icon {background:var(--app-card);border:1px solid var(--wz-edge)}
.edu-cover {object-fit:cover}
.edu-row-copy {display:grid;gap:2px;min-width:0}
.edu-row-copy strong {font-size:.96rem}
.edu-row-copy small {margin:0;color:var(--wz-muted);white-space:normal;font-size:.78rem}
#education-workspace .edu-subjects h2 a {padding:0;margin:0;min-height:44px;color:inherit;background:none;border:0;font-size:1.05rem}
#education-workspace .edu-subjects h2 button.edu-more {
 width:44px;margin:0 0 0 auto;font-size:0;background:none;border:0;
}
.edu-more::after {content:"•••";font-size:1rem;color:var(--wz-link)}
#education-workspace .edu-subjects .edu-actions button {width:100%;color:var(--wz-link)}
#education-workspace .edu-title>button {color:white;background:var(--edu-action);border:0;font-weight:600}
#education-workspace .edu-search {display:block;font-size:0}
#education-workspace .edu-search input {width:100%;margin:4px 0 10px}
#education-workspace .edu-subject-cover {
 display:flex;gap:14px;align-items:center;padding:14px;border:1px solid var(--wz-edge);
 border-radius:16px;background:var(--app-card);margin:8px 0 12px;
}
.edu-subject-cover>.app-icon,.edu-collection-heading>.app-icon {
 flex:0 0 52px;width:52px;height:64px;border-radius:5px 10px 10px 5px;
 border-left:4px solid #3fa6e9;background:linear-gradient(140deg,#16417f,#166db7 74%,#40aee4);
 color:white;box-shadow:0 2px 6px #08244233;
}
#education-workspace .edu-collection-heading {display:grid;grid-template-columns:auto minmax(0,1fr) auto}
.edu-mode {position:relative;display:grid;grid-template-columns:26px 1fr;column-gap:7px;align-content:center;padding:11px 8px}
.edu-mode>.app-icon {grid-row:span 2;align-self:center}
.edu-mode small {grid-column:2;line-height:1.35;font-size:.78rem}
.edu-mode[href]::after {display:none}
.edu-budget {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.edu-budget strong {
 display:grid;place-items:center;min-height:48px;padding:5px;text-align:center;
 border:1px solid var(--wz-edge);border-radius:12px;background:var(--app-card);color:var(--wz-ink)
}
#education-workspace .edu-week {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;list-style:none;padding:0}
#education-workspace .edu-week li {margin:0;text-align:center;min-width:0;padding:5px 0;border-radius:8px}
#education-workspace .edu-week li[data-scheduled=true] {color:white;background:#0758be}
#education-workspace .edu-settings-form h3 {margin:18px 0 2px;padding-top:12px;border-top:1px solid var(--wz-edge)}
#education-workspace .edu-settings-form label:has(input[type=number]) {flex-direction:row;display:flex;align-items:center;justify-content:space-between}
#education-workspace .edu-settings-form input[type=number] {width:6em;text-align:end}
#education-workspace label.wz-workspace-field input[type=checkbox] {
 min-height:0;
}
:is([data-page=preferences],[data-page=personalize],[data-page=setup],[data-page=downloads]) #education-workspace label:has(>input[type=checkbox]) {
 flex-direction:row;align-items:center;justify-content:space-between;
}
:is([data-page=preferences],[data-page=personalize],[data-page=setup],[data-page=downloads]) #education-workspace label>input[type=checkbox] {
 width:38px;height:23px;min-height:23px;padding:0;margin:0;
}
#education-workspace .edu-explore-hero {
 margin:0 -16px 18px;padding:18px 16px max(42%,145px);
 background:var(--edu-shapes) center bottom / 100% auto no-repeat,var(--app-card);
 border-radius:0 0 18px 18px;overflow:hidden;
}
#education-workspace .edu-explore-hero p {max-width:24ch;background:var(--wz-panel);padding:5px 8px;border-radius:8px;font-size:.9rem}
#education-workspace .edu-sample-link {
 display:grid;width:100%;text-align:left;justify-content:start;background:var(--app-card);padding:12px 15px;min-height:54px;
}
#education-workspace .edu-sample-link small {display:block}
#education-workspace dialog.edu-sheet {border:1px solid var(--wz-edge);background:var(--app-card);box-shadow:0 14px 48px #04142855}
#education-workspace dialog.edu-sheet>h2 {padding-top:6px;min-height:36px}
#education-workspace dialog.edu-sheet>.edu-close {width:auto;margin:0;right:12px;top:9px}
.edu-sr-only {
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
 margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;
}
#education-workspace .edu-subjects h2 button.edu-more {flex:none;display:grid;place-items:center;padding:0}
#education-workspace .edu-search input {display:block}
#education-workspace .edu-explore-hero {
 background:linear-gradient(var(--wz-canvas) 0%,transparent 48%),var(--edu-shapes) center bottom / 100% auto no-repeat,var(--wz-canvas);
}
#education-workspace .edu-explore-hero p {margin:3px 0;background:var(--wz-canvas);width:fit-content;padding:2px 4px}

/* Compact authoring rows and account-owned Setup selections. */
#education-workspace .edu-subject-chips {display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;border:0;padding:0;margin:0 0 1rem;min-width:0}
#education-workspace .edu-subject-chips legend {font-weight:700;margin-bottom:.35rem}
#education-workspace .edu-subject-chips label.wz-workspace-field {position:relative;display:inline-flex;flex:0 1 auto;width:auto;min-height:44px;margin:0;padding:5px 12px;border:1px solid var(--wz-edge);border-radius:20px;background:var(--app-card)}
#education-workspace .edu-subject-chips label:has(:checked) {color:var(--wz-link);border-color:var(--wz-link);font-weight:650}
#education-workspace .edu-subject-chips label:focus-within {outline:2px solid var(--wz-link)}
#education-workspace .edu-subject-chips label input[type=checkbox] {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#education-workspace .edu-subject-chips button {width:auto}
#education-workspace .edu-metadata label:not(:has(textarea)) {display:grid;grid-template-columns:minmax(7em,40%) minmax(0,1fr);align-items:center;gap:6px;border-bottom:1px solid var(--wz-edge);padding-block:4px}
#education-workspace .edu-metadata [aria-invalid=true] {border:2px solid var(--wz-danger)}
#education-workspace .edu-privacy-row {display:flex;align-items:center;gap:8px}
#education-workspace .edu-author-preview {margin:12px 0;padding:10px;border:1px solid var(--wz-edge);border-radius:12px}
#education-workspace .edu-author-preview summary {cursor:pointer;min-height:44px;align-content:center}
#education-workspace .edu-download-hero {text-align:center;padding-block:22px}
#education-workspace .edu-download-hero>.app-icon {margin:0 auto 10px;width:50px;height:50px}
#education-workspace .edu-download-hero>.app-icon svg {width:44px;height:44px}
.edu-data-brand {display:flex;justify-content:center;padding:16px 0}
.edu-data-brand img {width:156px;height:44px;object-fit:contain}
html[data-wz-mode=dark] .edu-data-brand img {content:url(assets/walizada-hub-dark.svg)}
#education-workspace :is(.edu-erase-entry,.edu-deletion button:not(.edu-close)) {color:var(--wz-danger);border-color:var(--wz-danger)}


/* E11: keep the existing recall handlers, with separate question and rating surfaces. */
body[data-page=recall] #education-workspace .edu-session-top {align-items:center}
body[data-page=recall] #education-workspace .edu-session-top h1 {min-width:0;margin:0;overflow-wrap:anywhere}
body[data-page=recall] #education-workspace .edu-session-top button {flex:none;min-width:64px}
body[data-page=recall] #education-workspace .edu-recall-card {padding:20px 16px;margin-bottom:14px}
body[data-page=recall] #education-workspace .edu-recall-card h3 {margin:8px 0}
body[data-page=recall] #education-workspace .edu-recall-card > p {margin:8px 0}
body[data-page=recall] #education-workspace .edu-recall-actions {margin:0 0 16px}
body[data-page=recall] #education-workspace .edu-recall-actions > p {text-align:center;font-size:.9rem}
body[data-page=recall] #education-workspace .edu-revealed {padding:0}
body[data-page=recall] #education-workspace .edu-recall-answer {
 padding:12px 16px;border:1px solid var(--wz-edge);border-radius:14px;
 background:var(--app-card);box-shadow:var(--app-shadow);
}
body[data-page=recall] #education-workspace .edu-recall-answer p {margin:5px 0 0;font-size:1.25rem;font-weight:650}
body[data-page=recall] #education-workspace .edu-ratings {min-width:0}
body[data-page=recall] #education-workspace .edu-ratings label {background:var(--app-card)}
body[data-page=recall] #education-workspace .edu-recall-actions .primary {border-radius:24px}

/* E11 focused session: use the existing shared brand row without altering its component. */
body[data-page=recall].edu-recall-session main.phone {position:relative}
html[data-wz-module=education] body[data-page=recall].edu-recall-session #education-workspace {position:static}
html[data-wz-module=education][data-wz-mode] body[data-page=recall].edu-recall-session #wz-standard-header.wz-standard-header {
 background:transparent!important;padding:10px 16px 0;border:0;
}
body[data-page=recall].edu-recall-session #wz-standard-header .wz-header-actions {display:none}
body[data-page=recall].edu-recall-session #wz-standard-header .wz-brand {padding-right:56px}
body[data-page=recall].edu-recall-session #education-workspace .edu-recall-pause {
 position:absolute;top:12px;right:16px;z-index:21;width:44px;min-width:44px;height:44px;
 padding:0;margin:0;border-radius:12px;font-size:24px;font-weight:700;
 background:var(--app-card);color:var(--wz-ink);border:1px solid var(--wz-edge);box-shadow:var(--app-shadow);
}
body[data-page=recall].edu-recall-session #education-workspace .edu-session-top {margin:8px 0 4px}
html[data-wz-module=education] body[data-page=recall] #education-workspace .edu-session-top h1 {font-size:28px;line-height:1.15;letter-spacing:-.5px}
html[data-wz-module=education] body[data-page=recall].edu-recall-session #education-workspace > h2 {margin:4px 0;font-size:20px;line-height:1.25}
body[data-page=recall].edu-recall-session #education-workspace > h2 + p {margin:4px 0 16px;font-size:14px}
body[data-page=recall] #education-workspace .edu-recall-card h3 {font-size:24px;line-height:1.25;font-weight:750}
body[data-page=recall] #education-workspace .edu-recall-card > p {font-size:16px;line-height:1.4}
body[data-page=recall] #education-workspace .edu-recall-actions .primary {
 min-height:48px;font-size:18px;line-height:1.25;font-weight:700;padding:10px 14px;
 background:var(--edu-action);color:white;
}
body[data-page=recall] #education-workspace .edu-recall-answer {color:var(--wz-ink)}
body[data-page=recall] #education-workspace .edu-recall-answer p {color:var(--wz-ink);font-size:22px}
body[data-page=recall] #education-workspace .edu-ratings legend {font-size:16px;line-height:1.35;font-weight:600}
body[data-page=recall] #education-workspace .edu-ratings label {font-size:16px;min-height:64px}
body[data-page=recall] #education-workspace .edu-recall-evidence {display:block;text-align:center;font-size:13px;line-height:1.4;margin:8px 0}
body[data-page=recall] #education-workspace .edu-history-note {display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;font-size:12px;line-height:1.4;margin:20px 0;color:var(--wz-muted)}
body[data-page=recall] #education-workspace .edu-history-note::before,body[data-page=recall] #education-workspace .edu-history-note::after {content:'';height:1px;width:28px;background:var(--wz-edge);flex:0 0 28px}
body[data-page=recall].edu-recall-session .bottom-nav {display:none!important}
body[data-page=recall].edu-recall-session #education-workspace {padding-bottom:calc(24px + env(safe-area-inset-bottom))}

/* Type It uses the collection, title and encounter count as one centered heading. */
body[data-page=typed].edu-active-practice #education-workspace .edu-session-top {
 display:grid;grid-template-columns:minmax(0,1fr);
 align-items:center;row-gap:2px;column-gap:4px;margin:8px 0 4px;
}
body[data-page=typed] .edu-session-top :is(.edu-typed-collection,h1) {
 grid-column:1;text-align:center;margin:0;overflow-wrap:anywhere;
}
body[data-page=typed] .edu-typed-collection {font-size:.9rem;color:var(--wz-muted)}
body:is([data-page=typed],[data-page=choice],[data-page=matching]).edu-active-practice #education-workspace .edu-session-top button {
 position:absolute;top:12px;right:16px;z-index:21;margin:0;padding:0 8px;min-width:44px;
}
body[data-page=typed] #education-workspace .edu-typed-progress {
 width:fit-content;max-width:100%;margin:4px auto 14px;padding:4px 10px;text-align:center;
 border-radius:16px;background:var(--app-card);font-size:.88rem;
}
body[data-page=typed] #education-workspace .edu-question-card {
 display:flex;flex-direction:column;min-height:min(52dvh,450px);
}
body[data-page=typed] .edu-question-card .edu-checked-form {display:flex;flex-direction:column;flex:1}
body[data-page=typed] .edu-checked-form .edu-hint {align-self:flex-start}
body[data-page=typed] #education-workspace .edu-checked-form button.primary {margin-top:auto!important}
body:is([data-page=typed],[data-page=choice],[data-page=matching]) #education-feedback p > span {
 padding:10px 12px;border-radius:10px;background:var(--app-card);border:1px solid var(--wz-edge);
}
body:is([data-page=typed],[data-page=choice],[data-page=matching]).edu-active-practice main.phone {position:relative}
html[data-wz-module=education] body:is([data-page=typed],[data-page=choice],[data-page=matching]).edu-active-practice #education-workspace {position:static}
html[data-wz-module=education][data-wz-mode] body:is([data-page=typed],[data-page=choice],[data-page=matching]).edu-active-practice #wz-standard-header.wz-standard-header {
 background:transparent!important;padding:10px 16px 0;border:0;
}
body:is([data-page=typed],[data-page=choice],[data-page=matching]).edu-active-practice #wz-standard-header .wz-brand {padding-right:64px}
body:is([data-page=typed],[data-page=choice],[data-page=matching]) #education-feedback button {border-radius:12px;min-height:44px}


/* E13 Choice Flow, approved question/feedback/retest board. */
body[data-page=choice].edu-active-practice #education-workspace .edu-session-top {margin:4px 0}
body[data-page=choice].edu-active-practice .edu-session-top h1 {font-size:18px;margin:0}
body[data-page=choice] #education-workspace .edu-choice-collection {
 display:flex;align-items:center;justify-content:center;gap:10px;
 padding:10px 12px;margin:12px 0;border:1px solid var(--wz-edge);
 border-radius:14px;background:var(--app-card);font-size:14px;
}
body[data-page=choice] .edu-choice-collection .app-icon {width:28px;height:28px}
body[data-page=choice] #education-workspace .edu-choice-collection + p {font-size:13px;margin:8px 0}
body[data-page=choice] #education-workspace .edu-question-card {
 display:flex;flex-direction:column;min-height:min(58dvh,490px);
 padding:14px 12px;background:transparent;border:0;box-shadow:none;
}
body[data-page=choice] #education-workspace .edu-question-card h3 {font-size:23px;line-height:1.25;margin:0 0 16px}
body[data-page=choice] .edu-checked-form {display:flex;flex-direction:column;flex:1;gap:8px}
body[data-page=choice] #education-workspace .edu-choice-list {margin:0;padding:0;border:0;display:grid;gap:8px}
body[data-page=choice] .edu-choice-list legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-page=choice] #education-workspace .edu-choice {
 display:flex;align-items:center;gap:10px;margin:0;padding:8px 12px;
 min-height:44px;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card);
}
body[data-page=choice] #education-workspace .edu-choice:has(:checked) {border-color:var(--wz-link);background:color-mix(in srgb,var(--wz-link) 18%,var(--wz-panel))}
body[data-page=choice] #education-workspace .edu-choice input {width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--wz-link)}
body[data-page=choice] #education-workspace .edu-checked-form > .secondary {margin-top:auto}
body[data-page=choice] .edu-answer-status:empty {display:none}
body[data-page=choice] #education-workspace .edu-checked-form > .primary {margin:0;min-height:48px}
#education-workspace .edu-motion-segments {display:flex;gap:0;border:0;padding:0;margin:12px 0}
#education-workspace .edu-motion-segments legend {font-size:14px;margin-bottom:8px}
#education-workspace .edu-motion-segments label {position:relative;flex:1;min-width:0;margin:0}
#education-workspace .edu-motion-segments input {position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}
#education-workspace .edu-motion-segments span {display:grid;place-items:center;text-align:center;min-height:44px;padding:5px;border:1px solid var(--wz-edge);font-size:13px}
#education-workspace .edu-motion-segments label:first-of-type span {border-radius:12px 0 0 12px}
#education-workspace .edu-motion-segments label:last-of-type span {border-radius:0 12px 12px 0}
#education-workspace .edu-motion-segments input:checked + span {background:color-mix(in srgb,var(--wz-link) 25%,var(--wz-panel));color:var(--wz-ink);border-color:var(--wz-link)}
#education-workspace .edu-motion-segments input:focus-visible + span {outline:2px solid var(--wz-link);outline-offset:2px}
#education-workspace .edu-motion-segments:disabled {opacity:.55}
#education-workspace .edu-motion-actions {display:flex;gap:10px}
#education-workspace .edu-motion-actions button {flex:1}
#education-workspace .edu-motion-segments {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#education-workspace .edu-motion-segments[aria-label=Speed] {grid-template-columns:repeat(3,minmax(0,1fr))}
#education-workspace .edu-motion-segments label {display:block;width:100%;padding:0}
#education-workspace .edu-motion-segments label span {width:100%;box-sizing:border-box}

#education-workspace .edu-sheet label.edu-motion-reduced input[type=checkbox] {appearance:none;width:44px;height:26px;min-height:26px;border-radius:20px;background:var(--wz-edge);position:relative;border:1px solid var(--wz-edge)}
#education-workspace .edu-sheet label.edu-motion-reduced input[type=checkbox]::after {content:'';position:absolute;width:20px;height:20px;top:2px;left:2px;border-radius:50%;background:var(--wz-panel)}
#education-workspace .edu-sheet label.edu-motion-reduced input[type=checkbox]:checked {background:var(--wz-link)}
#education-workspace .edu-sheet label.edu-motion-reduced input[type=checkbox]:checked::after {transform:translateX(18px)}


/* E14 Matching: one prominent term, stable choices and a compact secondary term selector. */
body[data-page=matching].edu-active-practice #education-workspace .edu-session-top {margin:12px 0 4px}
body[data-page=matching] #education-workspace .edu-session-top h1 {font-size:28px;line-height:1.15}
html[data-wz-module=education] body[data-page=matching] #education-workspace > h2 {margin:4px 0;font-size:20px}
body[data-page=matching] .edu-match-instruction {margin:4px 0;font-size:15px}
body[data-page=matching] .edu-match-instruction + p {margin:6px 0 12px;font-size:13px;color:var(--wz-muted)}
body[data-page=matching] #education-workspace .edu-question-card {padding:0;border:0;box-shadow:none;background:transparent}
body[data-page=matching] #education-workspace .edu-match-prompt {
 text-align:center;font-size:24px;font-weight:750;line-height:1.25;
 padding:16px 12px;border:1px solid var(--wz-edge);border-radius:14px;background:var(--app-card);margin:10px 0;
}
body[data-page=matching] #education-workspace .edu-pair-board {display:block}
body[data-page=matching] .edu-pair-board legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-page=matching] #education-workspace .edu-choice-list {gap:10px}
body[data-page=matching] #education-workspace .edu-choice {min-height:48px;border-radius:12px;margin:0}
body[data-page=matching] #education-workspace .edu-choice:has(:checked) {background:color-mix(in srgb,var(--wz-link) 16%,var(--wz-panel))}
body[data-page=matching] .edu-term-chooser summary {min-height:44px;align-content:center;color:var(--wz-link);font-size:14px;cursor:pointer}
body[data-page=matching] .edu-match-help {text-align:center;font-size:13px;margin:0;color:var(--wz-muted)}
body[data-page=matching] #education-workspace .edu-checked-form > .primary {min-height:48px;border-radius:24px;margin:8px 0}
body[data-page=matching] #education-feedback {min-height:300px}
body[data-page=matching] #education-feedback h2 {padding:12px;border-radius:12px;background:color-mix(in srgb,var(--wz-link) 18%,var(--wz-panel))}
body[data-page=matching] #education-feedback[data-result=incorrect] h2 {background:color-mix(in srgb,var(--wz-danger) 18%,var(--wz-panel))}
body[data-page=matching] #education-feedback button {min-height:48px;border-radius:24px;margin-top:24px}

body[data-page=matching] #education-workspace .edu-match-pause > :is(button:not(.edu-close),a) {display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;min-height:48px;margin:8px 0;border-radius:12px}
body[data-page=matching] #education-workspace .edu-match-empty > a.primary {display:flex;justify-content:center;align-items:center;min-height:48px;margin:18px 0;border-radius:24px}
body[data-page=matching] #education-workspace .edu-match-empty > p {text-align:center}
body[data-page=matching] #education-workspace dialog.edu-match-empty {padding-top:60px}
body[data-page=matching] #education-workspace dialog.edu-match-empty > h2 {white-space:normal;overflow-wrap:anywhere;text-align:center;padding:0;margin:0 0 16px;font-size:24px;line-height:1.2}

body[data-page=matching] #education-workspace .edu-match-pause > :is(button:not(.edu-close),a) {justify-content:flex-start;gap:12px;padding:10px 14px;text-align:left}
body[data-page=matching] .edu-match-pause .app-icon {width:24px;height:24px;flex:none}

/* E15 Diagram Labels: compact media, answer, paired tools and focused states. */
body:is([data-page=typed],[data-page=choice],[data-page=matching],[data-page=labeling]).edu-active-practice #education-workspace .edu-session-top button {
 position:absolute;top:12px;right:16px;z-index:21;margin:0;padding:0 8px;min-width:44px;
}
body[data-page=labeling].edu-active-practice main.phone {position:relative}
html[data-wz-module=education] body[data-page=labeling].edu-active-practice #education-workspace {position:static}
html[data-wz-module=education][data-wz-mode] body[data-page=labeling].edu-active-practice #wz-standard-header.wz-standard-header {
 background:transparent!important;padding:10px 16px 0;border:0;
}
body[data-page=labeling].edu-active-practice #wz-standard-header .wz-brand {padding-right:64px}
body[data-page=labeling] #education-workspace .edu-session-top {margin:5px 0}
body[data-page=labeling] #education-workspace .edu-session-top h1 {font-size:22px;line-height:1.15;margin:0}
body[data-page=labeling] #education-workspace > h2 {font-size:15px;margin:0;color:var(--wz-muted)}
body[data-page=labeling] #education-workspace > h2 + p {font-size:13px;margin:4px 0 10px}
body[data-page=labeling] #education-workspace .edu-question-card {
 display:flex;flex-direction:column;gap:8px;padding:12px;margin:8px 0;min-height:0;
}
body[data-page=labeling] #education-workspace .edu-question-card h3 {font-size:17px;margin:0}
body[data-page=labeling] .edu-diagram-panel {display:contents}
body[data-page=labeling] #education-workspace .edu-diagram-frame {order:1;margin:0;max-height:220px;overflow:hidden;border-radius:12px;background:var(--app-card)}
body[data-page=labeling] #education-workspace .edu-diagram-frame img {width:100%;height:auto;max-height:220px;object-fit:contain}
body[data-page=labeling] #education-workspace .edu-checked-form {order:2;display:flex;flex-direction:column;gap:8px}
body[data-page=labeling] #education-workspace .edu-checked-form label {margin:0}
body[data-page=labeling] #education-workspace .edu-checked-form > .primary {min-height:44px;margin:0;border-radius:10px}
body[data-page=labeling] #education-workspace .edu-diagram-tools {order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body[data-page=labeling] #education-workspace .edu-diagram-tools > :is(button,details) {margin:0;min-width:0;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card)}
body[data-page=labeling] #education-workspace .edu-diagram-tools > button {width:100%;min-height:44px;color:var(--wz-link)}
body[data-page=labeling] #education-workspace .edu-diagram-tools summary {min-height:44px;padding:7px 6px;text-align:center;align-content:center;cursor:pointer;color:var(--wz-link)}
body[data-page=labeling] #education-workspace .edu-diagram-tools details[open] {grid-column:1/-1}
body[data-page=labeling] #education-workspace .edu-diagram-tools details[open] > :not(summary) {padding-inline:10px}
body[data-page=labeling] #education-workspace .edu-diagram-region-note {order:4;margin:0;font-size:13px;color:var(--wz-muted)}
body[data-page=labeling] #education-feedback p > span {padding:8px 10px;border-radius:10px;background:var(--app-card);border:1px solid var(--wz-edge)}
body[data-page=labeling] #education-feedback button {min-height:48px;border-radius:24px;margin-top:18px}
body[data-page=labeling] #education-workspace .edu-label-pause > :is(button:not(.edu-close),a) {display:flex;align-items:center;justify-content:center;min-height:48px;margin:8px 0;border-radius:12px}
body[data-page=labeling] #education-workspace .edu-diagram-panel:has([role=status]) {display:grid;gap:8px;text-align:center;padding:22px 12px;border:1px solid var(--wz-edge);border-radius:14px;background:var(--app-card)}

/* E16 Mixed Review: shared focus layout, ordered correction and retest. */
body[data-page=mixed].edu-active-practice main.phone {position:relative}
html[data-wz-module=education] body[data-page=mixed].edu-active-practice #education-workspace {position:static}
html[data-wz-module=education][data-wz-mode] body[data-page=mixed].edu-active-practice #wz-standard-header.wz-standard-header {
 background:transparent!important;padding:10px 16px 0;border:0;
}
body[data-page=mixed].edu-active-practice #wz-standard-header .wz-brand {padding-right:64px}
body[data-page=mixed] #education-workspace .edu-session-top {margin:5px 0}
body[data-page=mixed] #education-workspace .edu-session-top h1 {font-size:22px;line-height:1.15;margin:0}
body[data-page=mixed] #education-workspace > h2 {font-size:15px;margin:0;color:var(--wz-muted)}
body[data-page=mixed] #education-workspace > h2 + p {font-size:13px;margin:4px 0 10px}
body[data-page=mixed] #education-workspace .edu-question-card {
 display:flex;flex-direction:column;gap:8px;padding:12px;margin:8px 0;min-height:0;
}
body[data-page=mixed] #education-workspace .edu-question-card h3 {font-size:17px;margin:0}
body[data-page=mixed] .edu-diagram-panel {display:contents}
body[data-page=mixed] #education-workspace .edu-diagram-frame {order:1;margin:0;max-height:220px;overflow:hidden;border-radius:12px;background:var(--app-card)}
body[data-page=mixed] #education-workspace .edu-diagram-frame img {width:100%;height:auto;max-height:220px;object-fit:contain}
body[data-page=mixed] #education-workspace .edu-checked-form {order:2;display:flex;flex-direction:column;gap:8px}
body[data-page=mixed] #education-workspace .edu-checked-form label {margin:0}
body[data-page=mixed] #education-workspace .edu-checked-form > .primary {min-height:44px;margin:0;border-radius:10px}
body[data-page=mixed] #education-workspace .edu-diagram-tools {order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body[data-page=mixed] #education-workspace .edu-diagram-tools > :is(button,details) {margin:0;min-width:0;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card)}
body[data-page=mixed] #education-workspace .edu-diagram-tools > button {width:100%;min-height:44px;color:var(--wz-link)}
body[data-page=mixed] #education-workspace .edu-diagram-tools summary {min-height:44px;padding:7px 6px;text-align:center;align-content:center;cursor:pointer;color:var(--wz-link)}
body[data-page=mixed] #education-workspace .edu-diagram-tools details[open] {grid-column:1/-1}
body[data-page=mixed] #education-workspace .edu-diagram-tools details[open] > :not(summary) {padding-inline:10px}
body[data-page=mixed] #education-workspace .edu-diagram-region-note {order:4;margin:0;font-size:13px;color:var(--wz-muted)}
body[data-page=mixed] #education-feedback p > span {padding:8px 10px;border-radius:10px;background:var(--app-card);border:1px solid var(--wz-edge)}
body[data-page=mixed] #education-feedback button {min-height:48px;border-radius:24px;margin-top:18px}
body[data-page=mixed] #education-workspace .edu-label-pause > :is(button:not(.edu-close),a) {display:flex;align-items:center;justify-content:center;min-height:48px;margin:8px 0;border-radius:12px}
body[data-page=mixed] #education-workspace .edu-diagram-panel:has([role=status]) {display:grid;gap:8px;text-align:center;padding:22px 12px;border:1px solid var(--wz-edge);border-radius:14px;background:var(--app-card)}

body[data-page=mixed].edu-active-practice #education-workspace .edu-session-top button {position:absolute;top:12px;right:16px;z-index:21;margin:0;padding:0 8px;min-width:44px}
body[data-page=mixed] #education-workspace .edu-sequence {gap:6px;margin:8px 0;justify-content:center}
body[data-page=mixed] #education-workspace .edu-sequence li {background:var(--app-card);padding:4px 12px}
body[data-page=mixed] #education-workspace .edu-question-card > h2,
body[data-page=mixed] #education-workspace .edu-mixed-correction > h2 {display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:8px;border-radius:10px;background:var(--wz-surface-raised);font-size:18px}
body[data-page=mixed] #education-workspace .app-icon {width:24px;height:24px;flex:none}
body[data-page=mixed] #education-workspace .edu-correction-values {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0}
body[data-page=mixed] #education-workspace .edu-correction-values div {padding:8px;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card)}
body[data-page=mixed] #education-workspace .edu-correction-values dt {font-size:12px;color:var(--wz-muted)}
body[data-page=mixed] #education-workspace .edu-correction-values dd {margin:4px 0 0;font-weight:700;overflow-wrap:anywhere}
body[data-page=mixed] #education-workspace .edu-mixed-correction {padding:12px;margin:10px 0}
body[data-page=mixed] #education-workspace .edu-mixed-correction h3 {font-size:17px;margin:8px 0}
body[data-page=mixed] #education-workspace .edu-mixed-complete h2 {display:flex;align-items:center;gap:8px;font-size:20px}
body[data-page=mixed] #education-workspace .edu-mixed-pause > :is(button:not(.edu-close),a) {display:flex;align-items:center;justify-content:center;min-height:48px;margin:8px 0;border-radius:12px}

body[data-page=mixed] .edu-saved-check {display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--wz-accent);color:var(--wz-accent-contrast);flex:none}

body[data-page=mixed] #education-workspace :is(.edu-question-card,.edu-mixed-correction) > h2 {background:color-mix(in srgb,var(--wz-accent) 12%,transparent)}

/* E17 Session Results: outcomes lead, totals stay compact, full evidence remains expandable. */
body[data-page=results] #education-workspace > h1 {margin-bottom:2px}
body[data-page=results] #education-workspace .edu-results-context {margin:0 0 10px;color:var(--wz-muted);font-size:14px}
body[data-page=results] #education-workspace .edu-results-state {margin:4px 0 10px;color:var(--wz-muted)}
body[data-page=results] #education-workspace .edu-results-status {
 display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;
 min-height:48px;padding:8px 10px;margin:8px 0;border:1px solid var(--wz-edge);border-radius:12px;background:var(--app-card);
}
body[data-page=results] #education-workspace .edu-results-status .app-icon {width:24px;height:24px}
body[data-page=results] #education-workspace .edu-results-status a {min-height:36px;padding:5px 10px;margin:0;border:1px solid var(--wz-edge);border-radius:18px}
body[data-page=results] #education-workspace .edu-result-outcomes {padding:10px;margin:10px 0}
body[data-page=results] #education-workspace .edu-result-outcomes h2 {font-size:16px;margin:0 0 6px}
body[data-page=results] #education-workspace .edu-outcome-row {
 display:grid;grid-template-columns:28px minmax(0,1fr) 34px;align-items:center;gap:8px;
 min-height:48px;padding:6px;border-bottom:1px solid var(--wz-edge);
}
body[data-page=results] #education-workspace .edu-outcome-row:last-of-type {border-bottom:0}
body[data-page=results] #education-workspace .edu-outcome-copy {display:grid;gap:2px;min-width:0}
body[data-page=results] #education-workspace .edu-outcome-copy :is(strong,small) {overflow-wrap:anywhere}
body[data-page=results] #education-workspace .edu-outcome-copy small {color:var(--wz-muted)}
body[data-page=results] #education-workspace .edu-outcome-row .app-icon {width:30px;height:30px;padding:4px;border:1px solid var(--wz-edge);border-radius:8px;background:var(--app-card)}
body[data-page=results] #education-workspace :is(.edu-outcome-marker,.edu-result-marker) {
 display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-weight:800;
 color:var(--wz-ink);background:color-mix(in srgb,var(--wz-muted) 20%,var(--wz-panel));
}
body[data-page=results] #education-workspace :is(.edu-outcome-marker,.edu-result-marker).correct {color:#065f46;background:#a7f3d0}
body[data-page=results] #education-workspace :is(.edu-outcome-marker,.edu-result-marker).incorrect {color:#991b1b;background:#fecaca}
body[data-page=results] #education-workspace .edu-outcome-more {margin:8px 4px 0;color:var(--wz-muted);font-size:13px}
body[data-page=results] #education-workspace .edu-results-summary {padding:10px;margin:10px 0}
body[data-page=results] #education-workspace .edu-results-summary h2 {font-size:16px;margin:0 0 4px}
body[data-page=results] #education-workspace .edu-result-totals {gap:0 12px}
body[data-page=results] #education-workspace .edu-result-totals div {padding:4px 0;font-size:13px}
body[data-page=results] #education-workspace .edu-result-note-action {padding:0;margin:10px 0;background:transparent;border:0;box-shadow:none}
body[data-page=results] #education-workspace .edu-result-note-action > h2 {display:none}
body[data-page=results] #education-workspace .edu-result-note-action .edu-note-actions {display:grid}
body[data-page=results] #education-workspace .edu-result-note-action button {width:100%;min-height:44px;margin:0;border-radius:22px;background:#0756bb;color:white}
body[data-page=results] #education-workspace .edu-result-row {padding:0}
body[data-page=results] #education-workspace .edu-result-row summary {
 display:grid;grid-template-columns:28px minmax(0,1fr) 26px;grid-template-rows:auto auto;align-items:center;gap:2px 8px;
 min-height:54px;padding:5px 0;
}
body[data-page=results] #education-workspace .edu-result-row summary .edu-result-marker {grid-column:1;grid-row:1 / span 2}
body[data-page=results] #education-workspace .edu-result-row summary strong {grid-column:2;grid-row:1}
body[data-page=results] #education-workspace .edu-result-row summary > span:not(.edu-result-marker):not(.app-icon) {grid-column:2;grid-row:2}
body[data-page=results] #education-workspace .edu-result-row summary .app-icon {grid-column:3;grid-row:1 / span 2;width:24px;height:24px}
body[data-page=results] #education-workspace .edu-result-row .edu-values {display:grid;grid-template-columns:minmax(88px,auto) 1fr;gap:5px 10px;padding:8px;margin:0;background:var(--app-card);border-radius:10px}
body[data-page=results] #education-workspace .edu-result-row .edu-values dd {margin:0;font-weight:650}
body[data-page=results] #education-workspace .edu-results-empty {text-align:center;padding:24px 14px}
body[data-page=results] #education-workspace .edu-results-empty a {display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:22px;background:#0756bb;color:white}

/* E18 Learning History: separate dated entries and compact filter/edit sheets. */
body[data-page=history] #education-workspace .edu-history-toolbar {display:grid;grid-template-columns:1.3fr 1fr;gap:10px;align-items:end;margin:12px 0}
body[data-page=history] #education-workspace .edu-history-toolbar label {margin:0;font-size:0}
body[data-page=history] #education-workspace .edu-history-toolbar :is(select,button) {min-height:44px;margin:0;font-size:14px;border:1px solid var(--wz-edge);border-radius:12px;background:var(--app-card);color:var(--wz-ink)}
body[data-page=history] #education-workspace .edu-history-day {margin:12px 0}
body[data-page=history] #education-workspace .edu-history-day > h2 {font-size:14px;margin:8px 0 5px;padding:5px 10px;border-radius:8px;background:color-mix(in srgb,var(--wz-accent) 12%,transparent)}
body[data-page=history] #education-workspace .edu-history-entry {margin:7px 0;padding:10px;border:1px solid var(--wz-edge);border-radius:14px;background:var(--app-card);box-shadow:0 2px 5px #00152b0a}
body[data-page=history] #education-workspace .edu-history-entry-top {display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start}
body[data-page=history] #education-workspace .edu-history-marker {display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:color-mix(in srgb,var(--wz-accent) 12%,transparent);color:var(--wz-link);font-size:24px;font-weight:700}
body[data-page=history] #education-workspace .edu-history-marker .app-icon {width:24px;height:24px}
body[data-page=history] #education-workspace .edu-history-copy h3 {font-size:15px;line-height:1.3;margin:0;overflow-wrap:anywhere}
body[data-page=history] #education-workspace .edu-history-copy p {font-size:13px;line-height:1.35;margin:2px 0}
body[data-page=history] #education-workspace .edu-history-entry > :is(a,button) {display:flex;align-items:center;justify-content:center;min-height:44px;margin:8px 0 0;width:100%;padding:6px 10px;border:1px solid var(--wz-link);border-radius:10px;background:transparent;color:var(--wz-link);font-weight:650}
body[data-page=history] #education-workspace .edu-history-shortcuts {margin:14px 0;display:grid;gap:0;padding:4px 10px;border:1px solid var(--wz-edge);border-radius:14px;background:var(--app-card)}
body[data-page=history] #education-workspace .edu-history-shortcuts > a {min-height:48px;border-radius:0;border:0;border-bottom:1px solid var(--wz-edge);box-shadow:none;background:transparent;padding:8px 0}
body[data-page=history] #education-workspace .edu-history-shortcuts > a:last-child {border-bottom:0}
body[data-page=history] #education-workspace .edu-history-filters fieldset {padding:8px;border:1px solid var(--wz-edge);border-radius:12px;margin:12px 0}
body[data-page=history] #education-workspace .edu-history-filters fieldset label {display:flex;align-items:center;gap:10px;min-height:44px;margin:0;padding:8px;border-radius:8px}
body[data-page=history] #education-workspace .edu-history-filters fieldset label:has(:checked) {background:color-mix(in srgb,var(--wz-accent) 12%,transparent)}
body[data-page=history] #education-workspace .edu-history-filters input[type=radio] {appearance:auto;width:18px;height:18px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--wz-accent)}
body[data-page=history] #education-workspace .edu-history-filter-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
body[data-page=history] #education-workspace .edu-history-filter-actions button {margin:0;min-height:44px}
body[data-page=history] #education-workspace .edu-history-editor form {display:grid;gap:8px}
body[data-page=history] #education-workspace .edu-history-editor label {margin:0;font-size:13px}
body[data-page=history] #education-workspace .edu-history-editor label:not(:has(textarea)) {display:grid;grid-template-columns:minmax(100px,.8fr) 1.2fr;align-items:center;gap:10px}
body[data-page=history] #education-workspace .edu-history-editor :is(input,select,textarea) {margin:0;min-width:0}

body[data-page=history] #education-workspace .edu-history-filters input[type=radio] {order:-1}

body[data-page=history] #education-workspace .edu-history-filters fieldset label {flex-direction:row}

body[data-page=history] #education-workspace .edu-history-editor label:not(:has(textarea)) {display:grid!important}

body[data-page=history] #education-workspace .edu-history-edit-actions {display:grid;grid-template-columns:1fr 1fr;gap:10px}
body[data-page=history] #education-workspace .edu-history-edit-actions button {margin:0;min-height:44px}

/* E19 Learning Progress: compact evidence board with drill-down sheets. */
body[data-page=progress] #education-workspace > h1 {margin-bottom:8px}
body[data-page=progress] #education-workspace > .app-card {padding:10px;margin:8px 0;border-radius:14px}
body[data-page=progress] #education-workspace > .app-card > h2 {display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:16px}
body[data-page=progress] #education-workspace > .app-card > h2 :is(.app-icon,svg) {width:23px;height:23px;flex:none;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-overview {display:grid;grid-template-columns:.72fr 1.28fr;align-items:center;margin:3px 0 8px;padding:4px 0}
body[data-page=progress] #education-workspace .edu-progress-first {display:grid;align-items:center;min-height:64px;padding:6px 14px 6px 4px;border-right:1px solid var(--wz-edge);font-size:20px;line-height:1.15}
body[data-page=progress] #education-workspace .edu-progress-checks {padding-left:14px}
body[data-page=progress] #education-workspace .edu-progress-checks p {display:grid;grid-template-columns:22px 1fr;gap:3px;align-items:center;margin:3px 0;font-size:13px}
body[data-page=progress] #education-workspace .edu-progress-mark {font-weight:800;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-checks p:nth-child(2) .edu-progress-mark {color:#dc2626}
body[data-page=progress] #education-workspace .edu-progress-retest {display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;width:100%;min-height:42px;margin:4px 0;padding:7px 9px;border:1px solid var(--wz-edge);border-radius:11px;background:var(--app-card);color:var(--wz-ink);font-weight:700;text-align:left}
body[data-page=progress] #education-workspace .edu-progress-retest::after {content:'›';font-size:22px;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-retest:disabled {opacity:.62}
body[data-page=progress] #education-workspace .edu-progress-retest .app-icon {width:23px;height:23px;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-caption {margin:5px 2px 0;font-size:12px;color:var(--wz-muted)}
body[data-page=progress] #education-workspace .edu-progress-evidence-row,
body[data-page=progress] #education-workspace .edu-progress-collection-row,
body[data-page=progress] #education-workspace .edu-progress-item-row {display:grid;grid-template-columns:30px minmax(0,1fr) 24px;align-items:center;gap:8px;width:100%;min-height:48px;margin:0;padding:6px 4px;border:0;border-top:1px solid var(--wz-edge);border-radius:0;background:transparent;color:var(--wz-ink);text-align:left;box-shadow:none}
body[data-page=progress] #education-workspace :is(.edu-progress-evidence-row,.edu-progress-collection-row,.edu-progress-item-row):first-of-type {border-top:0}
body[data-page=progress] #education-workspace :is(.edu-progress-evidence-row,.edu-progress-collection-row,.edu-progress-item-row) > .app-icon {width:28px;height:28px;color:var(--wz-link)}
body[data-page=progress] #education-workspace :is(.edu-progress-evidence-row,.edu-progress-collection-row,.edu-progress-item-row) > span:nth-child(2) {display:grid;gap:1px;min-width:0}
body[data-page=progress] #education-workspace :is(.edu-progress-evidence-row,.edu-progress-collection-row,.edu-progress-item-row) :is(strong,small) {overflow-wrap:anywhere}
body[data-page=progress] #education-workspace :is(.edu-progress-evidence-row,.edu-progress-collection-row,.edu-progress-item-row) small {font-size:12px;color:var(--wz-muted)}
body[data-page=progress] #education-workspace .edu-progress-result {display:grid;place-items:center;width:23px;height:23px;border-radius:50%;font-weight:800}
body[data-page=progress] #education-workspace .edu-progress-result.correct {color:#065f46;background:#a7f3d0}
body[data-page=progress] #education-workspace .edu-progress-result.incorrect {color:#991b1b;background:#fecaca}
body[data-page=progress] #education-workspace .edu-progress-result.self {color:var(--wz-ink);background:color-mix(in srgb,var(--wz-muted) 20%,var(--wz-panel))}
body[data-page=progress] #education-workspace .edu-progress-chevron {font-size:22px;text-align:right;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-dates {display:flex;align-items:center;justify-content:center;min-height:40px;margin:5px 0 0;border-top:1px solid var(--wz-edge);font-size:13px;font-weight:650}
body[data-page=progress] #education-workspace .edu-progress-outside p {margin:0;padding:6px 8px;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card);font-size:13px}
body[data-page=progress] #education-workspace .edu-progress-tools {padding-bottom:6px}
body[data-page=progress] #education-workspace .edu-progress-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
body[data-page=progress] #education-workspace .edu-progress-shortcuts > a {display:grid!important;grid-template-columns:1fr!important;grid-template-rows:28px auto;place-items:center;align-content:center;min-height:78px;padding:6px 3px!important;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-card);font-size:11px!important;line-height:1.12;text-align:center!important;box-shadow:none}
body[data-page=progress] #education-workspace .edu-progress-shortcuts .app-icon {grid-column:1;grid-row:1;width:24px;height:24px}
body[data-page=progress] #education-workspace .edu-progress-shortcuts > a > span:not(.app-icon):not(.app-chevron) {grid-column:1;grid-row:2;max-width:76px;overflow-wrap:normal;word-break:normal}
body[data-page=progress] #education-workspace .edu-progress-shortcuts .app-chevron {display:none}
body[data-page=progress] #education-workspace .edu-progress-condition {display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px}
body[data-page=progress] #education-workspace .edu-progress-condition h2 {grid-column:1/-1}
body[data-page=progress] #education-workspace .edu-progress-condition p {margin:0;font-size:13px;color:var(--wz-muted)}
body[data-page=progress] #education-workspace .edu-progress-condition a {min-height:38px;padding:6px 10px;border:1px solid var(--wz-edge);border-radius:10px}
body[data-page=progress] #education-workspace .edu-progress-sheet-row {display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:54px;margin:6px 0;padding:8px;border:1px solid var(--wz-edge);border-radius:11px;background:var(--app-card);color:var(--wz-ink);text-align:left}
body[data-page=progress] #education-workspace .edu-progress-sheet-row .app-icon {width:27px;height:27px;color:var(--wz-link)}
body[data-page=progress] #education-workspace .edu-progress-sheet-row > span {display:grid;gap:2px}
body[data-page=progress] #education-workspace .edu-progress-sheet-row small {color:var(--wz-muted)}
body[data-page=progress] #education-workspace dialog[aria-label='Answer evidence'] > .app-icon,
body[data-page=progress] #education-workspace dialog[aria-label='Item details'] > .app-icon {width:36px;height:36px;color:var(--wz-link)}
body[data-page=progress] #education-workspace dialog[aria-label='Answer evidence'] .edu-values,
body[data-page=progress] #education-workspace dialog[aria-label='Item details'] .edu-values {display:grid;grid-template-columns:minmax(90px,.8fr) 1.2fr;gap:7px 10px;padding:10px;border:1px solid var(--wz-edge);border-radius:12px;background:var(--app-card)}
body[data-page=progress] #education-workspace dialog[aria-label='Answer evidence'] .edu-values dd,
body[data-page=progress] #education-workspace dialog[aria-label='Item details'] .edu-values dd {margin:0;font-weight:650;overflow-wrap:anywhere}

/* E20 Mistake Notebook: preserved first errors, retest status and personal-note sheets. */
body[data-page=mistakes] #education-workspace > h1 {margin-bottom:8px}
body[data-page=mistakes] #education-workspace .edu-mistake-summary {display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;min-height:44px;margin:7px 0 10px;padding:7px 11px;border:1px solid var(--wz-edge);border-radius:12px;background:color-mix(in srgb,var(--wz-accent) 11%,var(--app-card));font-size:14px}
body[data-page=mistakes] #education-workspace .edu-mistake-summary .app-icon {width:25px;height:25px;color:var(--wz-link)}
body[data-page=mistakes] #education-workspace .edu-mistake-filter {display:grid;grid-template-columns:1.2fr .8fr;gap:8px;padding:8px;margin:7px 0 11px}
body[data-page=mistakes] #education-workspace .edu-mistake-filter h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-page=mistakes] #education-workspace .edu-mistake-filter label {margin:0;font-size:0}
body[data-page=mistakes] #education-workspace .edu-mistake-filter :is(input,select) {min-height:42px;margin:0;font-size:13px;border-radius:10px}
body[data-page=mistakes] #education-workspace .edu-mistake-list {display:grid;gap:10px;margin:0 0 16px}
body[data-page=mistakes] #education-workspace .edu-mistake-card {margin:0;padding:0;border:1px solid var(--wz-edge);border-radius:15px;background:var(--app-card);box-shadow:0 3px 8px #00152b0a;overflow:hidden}
body[data-page=mistakes] #education-workspace .edu-mistake-card > summary {display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:9px;min-height:52px;padding:8px 10px;cursor:pointer;list-style:none}
body[data-page=mistakes] #education-workspace .edu-mistake-card > summary::-webkit-details-marker {display:none}
body[data-page=mistakes] #education-workspace .edu-mistake-card > summary::after {content:'⌃';grid-column:3;font-size:19px;text-align:center;color:var(--wz-link)}
body[data-page=mistakes] #education-workspace .edu-mistake-card:not([open]) > summary::after {content:'⌄'}
body[data-page=mistakes] #education-workspace .edu-mistake-card > summary .app-icon {width:32px;height:32px;padding:3px;border-radius:8px;color:var(--wz-link);background:color-mix(in srgb,var(--wz-accent) 10%,transparent)}
body[data-page=mistakes] #education-workspace .edu-mistake-card > summary strong {font-size:16px;overflow-wrap:anywhere}
body[data-page=mistakes] #education-workspace .edu-mistake-body {padding:0 10px 10px;border-top:1px solid var(--wz-edge)}
body[data-page=mistakes] #education-workspace .edu-mistake-values {display:grid;grid-template-columns:minmax(100px,1fr) 1fr;gap:0;margin:0 0 7px}
body[data-page=mistakes] #education-workspace .edu-mistake-values :is(dt,dd) {margin:0;padding:6px 4px;border-bottom:1px solid var(--wz-edge)}
body[data-page=mistakes] #education-workspace .edu-mistake-values dd {text-align:right;font-weight:700;overflow-wrap:anywhere}
body[data-page=mistakes] #education-workspace .edu-mistake-body > strong {display:block;margin:7px 4px 0}
body[data-page=mistakes] #education-workspace .edu-mistake-body > strong + p {margin:2px 4px 7px;font-size:13px}
body[data-page=mistakes] #education-workspace .edu-mistake-status {display:inline-flex;align-items:center;min-height:30px;margin:4px 0 8px;padding:4px 11px;border-radius:15px;font-size:12px;font-weight:700}
body[data-page=mistakes] #education-workspace .edu-mistake-status.correct {color:#065f46;background:#a7f3d0}
body[data-page=mistakes] #education-workspace .edu-mistake-status.pending {color:#92400e;background:#fde68a}
body[data-page=mistakes] #education-workspace .edu-mistake-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body[data-page=mistakes] #education-workspace .edu-mistake-actions > :is(a,button) {display:flex;align-items:center;justify-content:center;min-width:0;min-height:42px;margin:0;padding:5px 3px;border:1px solid var(--wz-edge);border-radius:9px;background:var(--app-card);color:var(--wz-link);font-size:11px;line-height:1.12;text-align:center;box-shadow:none}
body[data-page=mistakes] #education-workspace .edu-mistake-note-saved {display:block;margin:7px 2px 0;color:var(--wz-muted)}
body[data-page=mistakes] #education-workspace .edu-mistake-note-title {display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:8px;border-radius:11px;background:color-mix(in srgb,var(--wz-accent) 9%,transparent)}
body[data-page=mistakes] #education-workspace .edu-mistake-note-title .app-icon {width:30px;height:30px;color:var(--wz-link)}
body[data-page=mistakes] #education-workspace dialog[aria-label='Personal note'] form,
body[data-page=mistakes] #education-workspace dialog[aria-label='Edit personal note'] form {display:grid;gap:10px}
body[data-page=mistakes] #education-workspace dialog[aria-label='Personal note'] textarea,
body[data-page=mistakes] #education-workspace dialog[aria-label='Edit personal note'] textarea {min-height:130px}
body[data-page=mistakes] #education-workspace .edu-mistake-empty {display:grid;place-items:center;text-align:center;min-height:240px;padding:24px 15px;border:1px solid var(--wz-edge);border-radius:16px;background:var(--app-card)}
body[data-page=mistakes] #education-workspace .edu-mistake-empty h2 {margin:12px 0 3px}
body[data-page=mistakes] #education-workspace .edu-mistake-empty p {max-width:270px;margin:0;color:var(--wz-muted)}
body[data-page=mistakes] #education-workspace .edu-empty-clipboard {position:relative;width:92px;height:100px;border:7px solid color-mix(in srgb,var(--wz-accent) 32%,#dbeafe);border-radius:13px;background:color-mix(in srgb,var(--wz-accent) 8%,var(--wz-panel));box-shadow:0 8px 22px color-mix(in srgb,var(--wz-accent) 20%,transparent)}
body[data-page=mistakes] #education-workspace .edu-empty-clipboard::before {content:'';position:absolute;left:24px;top:-17px;width:34px;height:18px;border-radius:8px 8px 4px 4px;background:color-mix(in srgb,var(--wz-accent) 65%,#fff)}
body[data-page=mistakes] #education-workspace .edu-empty-clipboard span {display:block;margin:17px 12px 0;padding-bottom:5px;border-bottom:4px solid color-mix(in srgb,var(--wz-accent) 34%,transparent);color:var(--wz-link);font-weight:800;text-align:left}

/* Final E03/E22 board reconciliation. */
body:is([data-page=personalize],[data-page=setup]) #education-workspace form {display:grid;gap:10px}
body:is([data-page=personalize],[data-page=setup]) #education-workspace form > .wz-workspace-field {margin:0}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0;padding:0;border:0}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days legend {grid-column:1/-1;margin-bottom:2px;font-weight:700}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days label {position:relative;display:grid;place-items:center;min-width:0;min-height:42px;margin:0;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-input);font-size:12px;font-weight:700;cursor:pointer}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days input {position:absolute;opacity:0;pointer-events:none}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days label:has(input:checked) {border-color:var(--wz-accent);background:var(--wz-accent);color:var(--wz-accent-contrast,#fff)}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-days label:focus-within {outline:2px solid var(--wz-accent);outline-offset:2px}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-access {margin:0;border-block:1px solid var(--wz-edge)}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-access summary {min-height:46px;padding:12px 2px;color:var(--wz-link);font-weight:700;cursor:pointer}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-access[open] {padding-bottom:8px}
body:is([data-page=personalize],[data-page=setup]) #education-workspace .edu-setup-access .wz-workspace-field {margin:0;border-top:1px solid var(--wz-edge);padding-block:8px}
body:is([data-page=personalize],[data-page=setup]) #education-workspace form + .wz-workspace-card {margin-top:10px}
body[data-page=outside] #education-workspace .edu-outside-activity {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0;padding:0;border:0}
body[data-page=outside] #education-workspace .edu-outside-activity legend {grid-column:1/-1;margin-bottom:2px;font-weight:700}
body[data-page=outside] #education-workspace .edu-outside-activity label {position:relative;display:grid;place-items:center;min-width:0;min-height:48px;margin:0;padding:4px 2px;border:1px solid var(--wz-edge);border-radius:10px;background:var(--app-input);font-size:11px;text-align:center;cursor:pointer}
body[data-page=outside] #education-workspace .edu-outside-activity input {position:absolute;opacity:0;pointer-events:none}
body[data-page=outside] #education-workspace .edu-outside-activity label:has(input:checked) {border-color:var(--wz-accent);background:var(--wz-accent);color:var(--wz-accent-contrast,#fff)}
body[data-page=outside] #education-workspace .edu-outside-activity label:focus-within {outline:2px solid var(--wz-accent);outline-offset:2px}
body[data-page=outside] #education-workspace .edu-outside-time {display:grid;grid-template-columns:1fr 1fr;gap:8px}
body[data-page=outside] #education-workspace .edu-outside-time .wz-workspace-field {margin:0;min-width:0}
@media (max-width:359px){body[data-page=outside] #education-workspace .edu-outside-activity {grid-template-columns:repeat(2,minmax(0,1fr))}}

