/* Shared glass surfaces for the vocabulary learning area. */
:root{--glass-surface:rgba(255,255,255,.68);--glass-border:rgba(255,255,255,.94);--glass-shadow:0 16px 42px #315b5010,inset 0 1px 0 #fff;--muted:#566f64}
body{background:radial-gradient(ellipse at 18% 25%,#d7eee8 0,transparent 48%),radial-gradient(ellipse at 85% 65%,#e5e5f7 0,transparent 48%),#f4f7f5;background-attachment:fixed}
#space>.heading,#space .card,#space .filters,#space .tabs,#space .list article,#testing>.test-card,#login .shell{background:var(--glass-surface);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%)}
#space>.heading{padding:30px 34px;border-radius:28px;background:linear-gradient(115deg,#e1f1e7b3,#ffffff9c);gap:20px}#space>.heading h1{font-size:32px;letter-spacing:-.5px}#space .eyebrow{color:#3f7765;letter-spacing:2px}#identity{max-width:680px;line-height:1.8;color:#526f62}
#space button,#testing>.heading button,#testing>.test-card>.primary{border-radius:24px;transition:background .18s,box-shadow .18s,transform .18s}#space button:not(.primary),#testing>.heading button{background:#ffffff9c;border:1px solid #ffffffed;box-shadow:inset 0 1px 0 white,0 3px 10px #315b500a;color:#315c4e}#space button:not(.primary):hover:not(:disabled),#testing>.heading button:hover{background:#fff;box-shadow:0 5px 14px #315b5016}#space button:active:not(:disabled){transform:translateY(1px)}
#space .primary,#testing>.test-card>.primary,#login .submit{background:linear-gradient(165deg,#468e7d,#236b59);border:1px solid #579b87;box-shadow:inset 0 1px 0 #ffffff6b,0 6px 16px #2a6d5821;color:white;border-radius:26px;font-weight:600;min-height:48px}#space .primary:hover:not(:disabled),#testing>.test-card>.primary:hover,#login .submit:hover{background:linear-gradient(165deg,#397f6e,#1c5d4e);box-shadow:inset 0 1px 0 #ffffff6b,0 8px 20px #2a6d582b}#space button:disabled{opacity:.55;box-shadow:none}
#space .tabs{border-radius:23px;padding:6px;gap:6px;margin:25px 0;background:#ffffff66}#space .tabs button{border:1px solid transparent;box-shadow:none;background:transparent;border-radius:17px;color:#577165}#space .tabs button.active{background:linear-gradient(135deg,#ffffffed,#e6f2ecb3);color:#245b48;border-color:white;box-shadow:0 3px 10px #315b5014;font-weight:600}
#space .book{--book-tint:#dcefe2;min-height:260px;background:linear-gradient(135deg,#ffffffc7,var(--book-tint));border-radius:26px;padding:28px;box-shadow:var(--glass-shadow)}#space .book:nth-child(5n+2){--book-tint:#e0eef5}#space .book:nth-child(5n+3){--book-tint:#f5e9db}#space .book:nth-child(5n+4){--book-tint:#ebe5f5}#space .book:nth-child(5n+5){--book-tint:#f4e4e9}#space .book h2{margin-top:30px;font-size:27px}#space .book .muted{font-size:13px;color:#586e63;margin-bottom:24px}#space .book-mark{width:56px;height:56px;right:23px;top:24px;color:#5b8375;opacity:.7}#space .book .primary{padding:10px 24px;min-width:145px}
#space .day{border-radius:23px;background:linear-gradient(145deg,#ffffffc2,#ffffff70)}#space .day h3{font-size:23px;margin:17px 0 7px}#space .day .muted{color:#596e64}#space .day button{margin-top:17px}#space .badge{background:#e8f1ec;color:#426653;border:1px solid #ffffffa6;font-weight:500}#space .badge.complete{background:#dceee1;color:#2b6341}#space .badge.in-progress{background:#fff0d9;color:#7a551c}#space .badge.not-started{background:#e8eeeb;color:#53695d}
#space .filters{border-radius:23px;padding:22px;gap:18px}#space .filters label{color:#496457;font-size:12px;font-weight:600}#space .filters select{background:#ffffffb8;border:1px solid #b8cdc2;border-radius:13px;color:#264f3d;min-height:46px;padding:10px 12px}#space .list{gap:15px}#space .list article{padding:24px 26px;border-radius:22px}#space .list h3{font-size:20px;line-height:1.5}#space .list article small{color:#5c7166;line-height:1.8}#space .list article>button{margin-top:8px}#space .empty{padding:64px 24px;color:#547061;border-radius:24px}#space .pager{color:#526d60;margin:26px 0}#space .pager button{min-height:44px}
#testing>.test-card{border-radius:28px}#testing .stats>div{background:linear-gradient(145deg,#ffffffd9,#e5f2eaa6);border:1px solid white;box-shadow:inset 0 1px 0 white;border-radius:20px;color:#496b58;padding:22px 10px}#testing .score{color:#2b725b}#testing .feedback{border-radius:22px;box-shadow:inset 0 1px 0 #ffffffb3}#testing .feedback-good{background:#e6f3e8c9;border-color:#c7dec9}#testing .feedback-review{background:#fff2ddc9;border-color:#e7d2ac}#testing .list article{background:#ffffff9c;border-color:white;border-radius:18px}#testing .good{color:#236544}#testing .bad{color:#9a402c}
#login{background:transparent}#login .shell{border-radius:30px}#login .story{background:linear-gradient(140deg,#dbede5b3,#e9f3ed66)}#login .entry{background:#ffffff26}#login .input-wrap{background:#ffffffa8;border-color:#b9ccc0;border-radius:15px;box-shadow:inset 0 2px 5px #41665106}#login input::placeholder{color:#637b6b}#login .bubble{background:#ffffffe0;border:1px solid white}#login .levels span{background:#ffffff8c;border:1px solid #d3e1d8;color:#4b6c58}#login .submit{justify-content:center;gap:16px}#login .submit:active{transform:translateY(1px);box-shadow:inset 0 1px 0 #ffffff6b,0 3px 10px #2a6d5821}#login .divider{color:#5e7665}#login .safe{color:#526f5e}#notice{background:#fff2e2e8;border-color:#e4c397;box-shadow:0 5px 18px #73542e09}
@media(max-width:760px){#space>.heading{padding:24px;border-radius:24px;align-items:flex-start}#space>.heading h1{font-size:27px}#space>.heading #logout{padding:8px 18px;font-size:13px;min-height:44px}#space .tabs{width:100%;gap:3px;padding:5px}#space .tabs button{padding:10px 8px;font-size:13px;min-width:0}#space .book{min-height:235px;padding:25px}#space .book h2{font-size:26px;margin-top:23px}#space .day{padding:18px 14px;border-radius:20px}#space .day h3{font-size:21px}#space .day .primary{min-width:0;font-size:12px;min-height:44px}#space .filters{padding:17px;gap:14px;border-radius:21px}#space .filters select{font-size:13px}#space .list article{padding:20px;border-radius:20px}#space .list h3{font-size:18px}#space .empty{padding:45px 20px}#space .heading>[data-review]{width:100%;margin-bottom:18px}#testing .stats>div{padding:18px 5px;border-radius:16px}#testing .score{font-size:28px}#login .shell{border-radius:24px}}
@supports not (backdrop-filter:blur(1px)){#space>.heading,#space .card,#space .filters,#space .tabs,#space .list article,#testing>.test-card,#login .shell{background:#f5faf7}}
@media(prefers-reduced-motion:reduce){#space button,#testing>.heading button,#testing>.test-card>.primary{transition:none}}
/* Inline SVG icons inherit the control color and never receive keyboard focus. */
.word-icon{display:inline-block;width:18px;height:18px;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;pointer-events:none}button>.word-icon,a>.word-icon{margin-left:7px}button>.word-icon:first-child{margin-left:0;margin-right:7px}.exercise-steps .word-icon{width:14px;height:14px}.review-part-title>span{display:inline-flex;align-items:center;gap:5px}.review-part-title .word-icon{width:14px;height:14px}.icon-label{font-size:12px;margin-left:4px}#login .star .word-icon{width:31px;height:31px}.diff-gap{display:inline-block;width:7px;height:7px;margin:0 5px;border:1.5px dashed currentColor;border-radius:2px;vertical-align:middle}.spelling-diff .word-icon{width:17px;height:17px}.spelling-diff small .word-icon{width:13px;height:13px}

#space button.course-family{display:grid;text-align:left;gap:6px;padding:18px;border-radius:18px;border:1px solid #d7e7df;background:#fff;color:#244c40}
#space .course-family:disabled{opacity:1;color:#61726a}
.family-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.family-top svg{box-sizing:content-box;width:18px;height:18px;padding:10px;background:#e5f3eb;color:#33745a;border-radius:11px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.family-top svg:last-child{width:14px;height:14px;padding:8px;border-radius:50%}.family-kb .family-top svg:first-child{background:#fff0d5;color:#865a17}.family-exam .family-top svg:first-child{background:#eee8fb;color:#6d4991}.course-family small{font-size:13px}
