/* Study Cards uses the shared appearance and the supplied studio artwork. */
html[data-wz-module="education"][data-wz-mode="light"] {
 --sc-bg:#f0f6ff; --sc-panel:#fff; --sc-soft:#e4f0ff; --sc-border:#cadbee;
 --sc-text:#10233b; --sc-muted:#4b647f; --sc-accent:#1653c6; --sc-on:#fff;
 --sc-studio:url(assets/education/writing-studio-light-20261110.jpg);
}
html[data-wz-module="education"][data-wz-mode="dark"] {
 --sc-bg:#061526; --sc-panel:#112a40; --sc-soft:#173954; --sc-border:#2a506c;
 --sc-text:#f0f6ff; --sc-muted:#b0c8df; --sc-accent:#69dcf2; --sc-on:#061827;
 --sc-studio:url(assets/education/writing-studio-dark-20261110.jpg);
}
html[data-wz-screen="education-cards"][data-wz-mode] main.phone {
 max-width:440px; min-height:100dvh; background:var(--sc-bg); color:var(--sc-text);
}
html[data-wz-screen="education-cards"][data-wz-mode] main.phone > .hero {
 min-height:0; height:auto; padding:0; background:transparent; color:var(--sc-text);
}
html[data-wz-screen="education-cards"][data-wz-mode] .hero > .back {
 display:inline-flex; align-items:center; min-height:44px; margin:0 16px; color:var(--sc-text);
}
.sc-page {
 padding:10px 16px calc(106px + env(safe-area-inset-bottom));
 font-family:inherit; color:var(--sc-text); background:transparent; overflow-wrap:anywhere;
}
.sc-hero {
 min-height:164px; padding:18px 15px; border-radius:18px; color:#fff;
 background:linear-gradient(90deg,#081d36b3,transparent),var(--sc-studio) center/cover;
}
.sc-hero small {font-size:11px;font-weight:750;letter-spacing:.05em;background:#315d87;border-radius:20px;padding:4px 16px}
.sc-hero h1 {font-size:clamp(24px,6.5vw,31px);line-height:1.15;margin:12px 0 7px;color:#fff}
.sc-hero p {max-width:215px;margin:0;font-size:15px;line-height:1.48;color:#e3edf9}
.sc-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 8px}
.sc-heading h2 {margin:0;font-size:20px;line-height:1.3}
.sc-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.sc-tabs {display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 12px}
.sc-button,.sc-chip,.sc-row {
 box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--sc-border);border-radius:11px;
 color:var(--sc-accent);background:var(--sc-panel);text-decoration:none;cursor:pointer;font:inherit;font-size:14px;font-weight:650;
}
.sc-button {display:inline-flex;align-items:center;justify-content:center;text-align:center}
.sc-primary {background:var(--sc-accent);border-color:var(--sc-accent);color:var(--sc-on)}
.sc-chip[aria-pressed="true"] {background:var(--sc-soft);border-color:var(--sc-accent)}
.sc-text-action {min-height:44px;border:0;background:none;color:var(--sc-accent);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.sc-row {
 display:grid;grid-template-columns:35px minmax(0,1fr) 12px;gap:10px;align-items:center;
 width:100%;min-height:58px;margin:0 0 7px;text-align:left;color:var(--sc-text);border-radius:15px;
}
.sc-row-icon {display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--sc-soft);color:var(--sc-accent)}
.sc-row-icon svg {width:18px;height:18px}
.sc-row-copy {display:grid;gap:3px}
.sc-row-copy small,.sc-caption,.sc-panel p {color:var(--sc-muted);font-size:13px;line-height:1.5}
.sc-panel {background:var(--sc-panel);border:1px solid var(--sc-border);border-radius:15px;padding:14px;margin:8px 0;color:var(--sc-text)}
.sc-panel h3 {margin:8px 0;font-size:18px}
.sc-panel > small {color:var(--sc-accent);font-size:12px;font-weight:650}
.sc-panel p {margin:7px 0}
.sc-week {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.sc-week > div {display:grid;gap:5px;padding:6px 2px;border-radius:10px}
.sc-week small {color:var(--sc-muted)}
.sc-today {background:var(--sc-soft);color:var(--sc-accent)}
.sc-search,.sc-field :is(select,input,textarea) {box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--sc-border);border-radius:11px;color:var(--sc-text);background:var(--sc-panel);font:inherit;font-size:16px}
.sc-field {display:grid;gap:7px;margin:12px 0;color:var(--sc-text);font-weight:650}
.sc-check {display:flex;align-items:center;gap:8px;min-height:44px}
.sc-check input {accent-color:var(--sc-accent)}
html[data-wz-screen="education-cards"][data-wz-mode] dialog.edu-sheet.sc-sheet {
 width:min(100%,440px);max-height:88dvh;overflow:auto;overscroll-behavior:contain;
 position:fixed;inset:auto 0 0;margin:0 auto;padding:18px 16px calc(16px + env(safe-area-inset-bottom));
 border:1px solid var(--sc-border);border-radius:22px 22px 0 0;background:var(--sc-panel);color:var(--sc-text);
}
.sc-sheet > .sc-button {width:100%;margin:6px 0}
.sc-sheet::backdrop {background:#06182d88;backdrop-filter:blur(3px)}
.sc-page :focus-visible,.sc-sheet :focus-visible {outline:3px solid var(--sc-accent);outline-offset:3px}
.sc-page :disabled,.sc-sheet :disabled {opacity:.6;cursor:default}
.sc-sheet [hidden] {display:none!important}
.sc-generator > .sc-button {width:100%;margin:4px 0}
.sc-generator textarea {resize:vertical}
.sc-options {display:flex;flex-wrap:wrap;gap:6px;border:0;margin:14px 0;padding:0;min-width:0}
.sc-options legend {margin-bottom:6px;font-size:13px;font-weight:750}
.sc-options label {display:inline-flex;align-items:center;gap:5px;padding:8px}
.sc-options input {margin:0;accent-color:var(--sc-accent)}
.sc-options label:has(:checked) {background:var(--sc-soft);border-color:var(--sc-accent)}
.sc-form-status:not(:empty) {padding:11px 13px;border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-soft);color:var(--sc-text)}
.sc-form-status:empty {display:none}
html[data-wz-module="education"][data-wz-mode] main.phone:has(.sc-practice) {background:var(--sc-bg);color:var(--sc-text)}
html[data-wz-module="education"][data-wz-mode] #education-workspace.sc-practice {
 color:var(--sc-text);padding-bottom:calc(105px + env(safe-area-inset-bottom));
}
.sc-practice .sc-practice-progress {margin:8px 0 12px;color:var(--sc-muted);font-size:13px;font-weight:650}
.sc-progress {display:block;width:100%;height:8px;margin:0 0 16px;accent-color:var(--sc-accent)}
html[data-wz-module="education"][data-wz-mode] .sc-practice :is(.edu-recall-card,.edu-question-card,.edu-recall-answer,.sc-completion) {
 border:1px solid var(--sc-border);border-radius:16px;background:var(--sc-panel);color:var(--sc-text);box-shadow:none;
}
.sc-practice :is(.edu-recall-card,.edu-question-card) h3 {color:var(--sc-text);font-size:clamp(20px,5.5vw,25px);line-height:1.3}
.sc-practice .sc-card-label {color:var(--sc-accent);font-size:12px;font-weight:750;text-transform:uppercase}
.sc-practice .sc-completion {padding:16px;margin:10px 0}
.sc-practice .sc-completion > .sc-row {margin-top:8px}
.sc-practice .sc-completion > .sc-button {display:flex;width:100%;margin-top:8px}

dialog.edu-sheet.sc-sheet:has(.sc-record-editor)::before {
 content:'';display:block;width:46px;height:4px;margin:0 auto 12px;border-radius:8px;background:var(--sc-border);
}
.sc-sheet .sc-record-editor {display:grid;gap:8px;margin:0 0 10px}
.sc-sheet .sc-record-editor .wz-workspace-field {display:grid;gap:6px;margin:3px 0;font-size:14px;font-weight:650;color:var(--sc-text)}
.sc-sheet .sc-record-editor .wz-workspace-field:has(input[type="checkbox"]) {
 display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;min-height:44px;
}
.sc-sheet .sc-record-editor .wz-workspace-field :is(input:not([type="checkbox"]),textarea,select) {
 width:100%;box-sizing:border-box;min-height:46px;padding:11px 12px;
 border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-panel);color:var(--sc-text);font:inherit;font-size:16px;font-weight:400;
}
.sc-sheet .sc-record-editor .wz-workspace-field input[type="checkbox"] {
 width:18px;height:18px;margin:0 6px 0 0;accent-color:var(--sc-accent);
}
.sc-sheet .sc-record-editor .edu-privacy-row {display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-soft);color:var(--sc-text)}
.sc-sheet .sc-record-editor .edu-privacy-row svg {flex:0 0 18px;width:18px;height:18px;color:var(--sc-accent)}
.sc-sheet .sc-record-editor > p:empty {display:none}
.sc-editor-details {padding:10px 12px;border:1px solid var(--sc-border);border-radius:12px;background:var(--sc-panel)}
.sc-editor-details > summary {min-height:36px;padding:6px 0;cursor:pointer;font-weight:700;color:var(--sc-text)}
.sc-editor-details > summary small {display:block;padding:3px 0 0 16px;color:var(--sc-muted);font-weight:400}
.sc-editor-details[open] > .wz-workspace-field {margin:10px 0}
.sc-blank-help {margin:2px 0}
