/* A calm studio-inspired workspace, with existing light/dark preference preserved. */
body[data-screen="workspace"]{background:#d3d5d4;color:#161b1d}
body[data-screen="workspace"] #workspace{min-height:100vh}
body[data-screen="workspace"] #workspace>aside{background:#f6f6f5;border-right:1px solid #e4e5e4;padding:28px 18px;width:220px;overflow-y:auto}
body[data-screen="workspace"] .brand{color:#171c1f;font-size:19px;letter-spacing:-.8px}
body[data-screen="workspace"] .brand .logo{background:#1b2424;border-radius:10px;padding:3px;margin-right:9px}
body[data-screen="workspace"] .brand .logo img{width:32px;height:32px}
body[data-screen="workspace"] .brand .dot{color:#d2aa91}
body[data-screen="workspace"] .nav-label{font-size:10px;font-weight:700;letter-spacing:.1em;color:#717a79;margin:30px 12px 12px}
body[data-screen="workspace"] nav{gap:3px}
body[data-screen="workspace"] nav a{padding:10px 12px;gap:11px;font-size:13px;color:#636d6c;border-radius:11px}
body[data-screen="workspace"] nav a.active{background:#fff;color:#1b2424;box-shadow:0 3px 16px #1b24240b}
body[data-screen="workspace"] nav a:hover{background:#fff;color:#1b2424}
body[data-screen="workspace"] nav .icon{width:19px;font-size:17px}
body[data-screen="workspace"] .sidebar-note{background:#edf0ee;border:0;border-radius:14px;padding:15px;transform:none}
body[data-screen="workspace"] .sidebar-note p{color:#596761;font-size:12px}
body[data-screen="workspace"] .profile{margin-top:14px;padding-top:15px}
body[data-screen="workspace"] .shell{margin-left:220px;background:#f4f4f3;min-height:100vh}
body[data-screen="workspace"] .shell>header{height:66px;padding:0 32px;background:transparent;border-bottom:1px solid #e7e7e5;color:#66706d}
body[data-screen="workspace"] .shell>main{max-width:none;padding:30px 28px 35px}
body[data-screen="workspace"] .card{border:1px solid #e7e9e6;border-radius:18px;box-shadow:0 4px 20px #24332c08}
body[data-screen="workspace"] button.primary,body[data-screen="workspace"] .button{background:#20292a;border-radius:999px;color:#fff}
body[data-screen="workspace"] button.secondary,body[data-screen="workspace"] .secondary{border-radius:999px}
body[data-screen="workspace"] :focus-visible{outline:3px solid #557f75;outline-offset:3px}
body[data-screen="workspace"] .notice{font-size:13px;line-height:1.6}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;min-height:calc(100vh - 130px)}
.dashboard-main{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 12px 4px}
.dashboard-welcome{text-align:center;margin:0 auto 50px}
.dashboard-spark{font-size:67px;line-height:1;color:#bda6b5;text-shadow:12px 5px 20px #ddc5a7,-8px -7px 16px #c2d0d1;margin-bottom:22px}
.dashboard-kicker{font-size:10px;letter-spacing:.13em;font-weight:700;color:#78827e}
.dashboard-welcome h1{font-size:clamp(30px,3vw,45px);letter-spacing:-1.8px;margin:12px 0;color:#171c1f}
.dashboard-welcome p{font-size:14px;color:#6e7774;margin:0}
.dashboard-actions{width:100%;max-width:650px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-action{position:relative;background:#fff;border:1px solid #eee;border-radius:16px;min-height:175px;padding:19px;display:flex;flex-direction:column;gap:7px;transition:transform .2s,box-shadow .2s}
.dashboard-action:hover{transform:translateY(-3px);box-shadow:0 12px 30px #1c343014}
.dashboard-action strong{font-size:14px;color:#1c2323}
.dashboard-action small{font-size:12px;line-height:1.45;color:#69736f;margin:0}
.action-art{font-size:29px;line-height:1;margin-bottom:15px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px}
.action-lesson{color:#9b7797;background:#f4eaf2}.action-quiz{color:#a47863;background:#f6e9dd}.action-language{color:#598e86;background:#e5f1ec}
.action-arrow{position:absolute;right:18px;bottom:16px;color:#84918b}
.dashboard-launch{max-width:650px;width:100%;border:1px solid #dfdfdd;border-radius:18px;margin-top:70px;padding:20px 22px;background:#ffffff70}
.dashboard-launch strong{font-size:13px;margin-left:9px}.dashboard-launch p{font-size:12px;color:#66716c;margin:5px 0 16px 23px}
.dashboard-launch-links{display:flex;flex-wrap:wrap;gap:8px}.dashboard-launch-links a{font-size:12px;font-weight:600;padding:9px 14px;background:#fff;border-radius:999px;color:#3f4c48}
.dashboard-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;max-width:650px;margin-top:18px;color:#7a8580;font-size:11px}.dashboard-bottom button{font-size:11px}
body[data-screen="workspace"] .dashboard-panel{position:static;inset:auto;width:auto;height:auto;z-index:auto;display:flex;flex-direction:column;overflow:visible;background:#fff;border:1px solid #ededeb;border-radius:20px;padding:22px;min-width:0}
.dashboard-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.dashboard-panel-head h2{font-size:18px;margin:6px 0 0}.panel-symbol{width:34px;height:34px;border-radius:50%;background:#f2f4f2;display:grid;place-items:center;color:#56625d}
.panel-shortcut{border:1px solid #e3e7e4;border-radius:999px;padding:11px 14px;display:flex;justify-content:space-between;font-size:12px;color:#586560}
.panel-section{padding:21px 0;border-bottom:1px solid #eff0ee}.panel-heading{display:flex;justify-content:space-between;gap:8px;font-size:12px}.panel-heading a,.panel-heading>span{font-size:11px;color:#6b7771}.panel-empty,.panel-muted{font-size:12px;line-height:1.55;color:#77827c;margin:12px 0 0}
.panel-item{display:flex;gap:10px;margin-top:15px}.panel-dot{height:9px;width:9px;border-radius:50%;background:#b3cbbd;margin-top:4px;flex:none}.panel-item strong,.panel-task strong{font-size:12px}.panel-item small,.panel-task small{font-size:11px;color:#758079;line-height:1.4;margin-top:3px}
.panel-task{display:flex;gap:10px;margin-top:14px;align-items:flex-start}.panel-task input{accent-color:#284e42;margin-top:3px}.panel-task span{display:block}
.panel-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.panel-stats strong{font-size:19px}.panel-stats small{font-size:10px;color:#6d7973}.panel-primary{margin-top:auto;padding:12px 16px;background:#1b2525;color:#fff;border-radius:999px;font-size:12px;font-weight:700;display:flex;justify-content:space-between}
html[data-theme="dark"] body[data-screen="workspace"]{background:#111917;color:#edf3ef}
html[data-theme="dark"] body[data-screen="workspace"] #workspace>aside{background:#18241e;border-color:#33483d}
html[data-theme="dark"] body[data-screen="workspace"] .brand,html[data-theme="dark"] body[data-screen="workspace"] .dashboard-welcome h1{color:#f1f5f2}
html[data-theme="dark"] body[data-screen="workspace"] nav a{color:#c1cec6}html[data-theme="dark"] body[data-screen="workspace"] nav a.active,html[data-theme="dark"] body[data-screen="workspace"] nav a:hover{background:#31473a;color:#fff}
html[data-theme="dark"] body[data-screen="workspace"] .shell{background:#111c17}html[data-theme="dark"] body[data-screen="workspace"] .shell>header{border-color:#304136;color:#c4d2ca}
html[data-theme="dark"] body[data-screen="workspace"] .dashboard-panel,html[data-theme="dark"] body[data-screen="workspace"] .dashboard-action{background:#1d2b23;border-color:#344a3c;color:#eef5ef}
html[data-theme="dark"] body[data-screen="workspace"] .dashboard-action strong{color:#eef5ef}html[data-theme="dark"] body[data-screen="workspace"] .dashboard-action small,html[data-theme="dark"] body[data-screen="workspace"] .dashboard-welcome p,html[data-theme="dark"] body[data-screen="workspace"] .panel-empty,html[data-theme="dark"] body[data-screen="workspace"] .panel-muted,html[data-theme="dark"] body[data-screen="workspace"] .dashboard-kicker{color:#becfc3}
html[data-theme="dark"] body[data-screen="workspace"] .dashboard-launch{background:#1a2921;border-color:#3c5044}html[data-theme="dark"] body[data-screen="workspace"] .dashboard-launch p{color:#c4d3c9}html[data-theme="dark"] body[data-screen="workspace"] .dashboard-launch-links a{background:#344a3d;color:#fff}html[data-theme="dark"] body[data-screen="workspace"] .panel-section{border-color:#3a4c40}html[data-theme="dark"] body[data-screen="workspace"] .panel-shortcut{border-color:#4b6051;color:#d6e2d9}html[data-theme="dark"] body[data-screen="workspace"] .sidebar-note{background:#293c30}
@media(max-width:1050px){.dashboard-layout{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.dashboard-action{padding:15px}.dashboard-launch{margin-top:40px}}
@media(max-width:760px){body[data-screen="workspace"] #workspace>aside{inset:auto 0 0;width:100%;height:76px;padding:0 4px;padding-bottom:env(safe-area-inset-bottom);overflow:visible;background:#f8f9f7}body[data-screen="workspace"] nav a{font-size:10px;padding:8px 1px;gap:5px}body[data-screen="workspace"] .shell{margin-left:0;padding-bottom:80px}body[data-screen="workspace"] .shell>header{height:58px;padding:0 16px}body[data-screen="workspace"] .shell>main{padding:20px 15px 30px}.dashboard-layout{display:flex;flex-direction:column;min-height:0}.dashboard-main{padding:12px 0}.dashboard-welcome{margin:10px auto 30px}.dashboard-spark{font-size:50px;margin-bottom:14px}.dashboard-welcome h1{font-size:29px}.dashboard-actions{gap:8px}.dashboard-action{min-height:155px;padding:12px}.dashboard-action strong{font-size:12px}.dashboard-action small{font-size:11px}.dashboard-launch{margin-top:28px}.dashboard-panel{margin-bottom:15px}.dashboard-bottom{margin-top:14px}}
@media(max-width:400px){.dashboard-actions{grid-template-columns:1fr}.dashboard-action{min-height:96px;display:grid;grid-template-columns:38px 1fr;column-gap:12px}.action-art{grid-row:1/3;margin:0}.dashboard-action small{grid-column:2}.action-arrow{right:14px;bottom:12px}}
@media(prefers-reduced-motion:reduce){.dashboard-action{transition:none}.dashboard-action:hover{transform:none}}
