/* Shared workspace finish for learners, teachers and principals. */
.school-page [hidden] { display:none!important; }
.polished-workspace { --muted:#69796f; --line:#e1e7df; --canvas:#f6f8f6; background:var(--canvas); }
.polished-workspace .sidebar { background:linear-gradient(165deg,#1c4639,#173f34 65%); padding-top:25px; }
.workspace-brand-row { display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.workspace-brand-row .brand { margin:0 14px 27px; }
.workspace-nav-close { display:none; color:#edf5e2; }
.polished-workspace .school-sidebar-label { font-size:9px; letter-spacing:1.6px; color:#bdd1c1; margin:6px 2px 9px; }
.polished-workspace .school-select { border-color:#648572; border-radius:9px; padding:12px 11px; background:#ffffff08; font-size:12px; text-overflow:ellipsis; }
.polished-workspace .school-select option { color:#213c2b; background:#fff; }
.polished-workspace .nav-item { border-radius:9px; transition:background .18s,color .18s; }
.polished-workspace .nav-item.active { box-shadow:0 3px 12px #102f2a18; }
.polished-workspace .sidebar-profile>span:last-child { min-width:0; }
.polished-workspace .sidebar-profile strong { overflow-wrap:anywhere; font-size:12px; }
.polished-workspace .sidebar-bottom>.button { min-height:36px; font-size:11px; }
.polished-workspace .topbar { background:#ffffffed; gap:18px; }
.polished-workspace .breadcrumb { min-width:0; }
.polished-workspace .breadcrumb strong { overflow:hidden; text-overflow:ellipsis; }
.polished-workspace .topbar-actions { flex-shrink:0; gap:13px; }
.workspace-role-pill { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; font-size:10px; color:#52705a; background:#f2f6ee; border:1px solid #e5ebdf; border-radius:20px; white-space:nowrap; }
.workspace-role-pill .icon { width:15px; height:15px; }
.polished-workspace .button { border-radius:9px; min-height:40px; }
.polished-workspace .button-primary { box-shadow:0 3px 6px #173f3410; }
.polished-workspace .page-heading { margin-bottom:29px; align-items:center; }
.polished-workspace .page-heading h1 { font-size:clamp(28px,2.6vw,35px); line-height:1.25; letter-spacing:-1px; }
.polished-workspace .page-heading p { font-size:13px; line-height:1.8; max-width:660px; }
.polished-workspace .eyebrow { font-size:10px; letter-spacing:1.5px; }
.polished-workspace .panel,.polished-workspace .class-card { border-radius:16px; box-shadow:0 4px 20px #29413505; }
.polished-workspace .stat-card { border-radius:14px; padding:21px; box-shadow:0 4px 18px #29413504; }
.polished-workspace .stat-top { font-size:12px; }
.polished-workspace .stat-value { font-size:31px; margin-top:12px; }
.polished-workspace .stat-foot { font-size:11px; line-height:1.6; }
.polished-workspace .stat-icon { width:36px; height:36px; border-radius:11px; }
.polished-workspace .section-head h2,.polished-workspace .panel-header h2 { font-size:18px; }
.polished-workspace .section-subtitle { line-height:1.8; }
.polished-workspace .empty-state { padding:42px 26px; }
.polished-workspace .empty-state h3 { font-size:18px; }
.polished-workspace .empty-state p { max-width:530px; margin:8px auto 0; line-height:1.9; }
.polished-workspace .search-field { border-radius:10px; min-height:44px; }
.polished-workspace .search-field input { min-width:0; }
.polished-workspace .view-toolbar { gap:14px; padding:16px 18px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.polished-workspace .view-toolbar .search-field { background:#f9fbf7; flex:1; }
.polished-workspace .learner-filter select { min-height:42px; font-size:12px; border-radius:8px; }
.polished-workspace .resource-card { padding:23px; gap:0; }
.polished-workspace .resource-card .card-meta { gap:10px; flex-wrap:wrap; }
.polished-workspace .resource-card .resource-symbol { background:var(--subject-tint,#edf3ea); color:var(--subject-ink,#52735a); }
.polished-workspace .resource-card .resource-symbol .icon { width:26px; height:26px; }
.polished-workspace .resource-card h3 { font-size:17px; line-height:1.5; }
.polished-workspace .resource-card>p { font-size:12px; line-height:1.9; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:22px; }
.polished-workspace .resource-card .card-bottom { margin-top:auto; }
.polished-workspace .resource-card .card-bottom small { overflow-wrap:anywhere; }
.polished-workspace .resource-card:hover { border-color:#bbccb2; }
.workspace-welcome { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:36px 40px; background:#204b3d; color:#fff; border-radius:22px; margin-bottom:24px; overflow:hidden; }
.workspace-welcome .eyebrow { color:#cedfae; font-size:9px; letter-spacing:1.6px; }
.workspace-welcome h1 { color:#fff; font-size:clamp(30px,3vw,42px); line-height:1.25; letter-spacing:-1.2px; margin:13px 0; }
.workspace-welcome p { color:#d2dfd3; font-size:13px; line-height:1.9; max-width:540px; }
.workspace-welcome-actions { display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-top:24px; }
.workspace-welcome .button-primary { background:#d7e7b6; border-color:#d7e7b6; color:#284932; }
.workspace-welcome .button-primary:hover { background:#e9f1d6; }
.workspace-hero-link { display:inline-flex; align-items:center; gap:10px; color:#e0eccf; font-size:11px; padding:8px 0; }
.workspace-hero-link .icon { width:15px; height:15px; }
.workspace-welcome-art { display:grid; grid-template-columns:repeat(2,80px); gap:12px; transform:rotate(-8deg); margin:0 28px; flex-shrink:0; }
.workspace-welcome-art>span { display:grid; place-items:center; width:80px; height:80px; border-radius:23px; background:#dce9bd; color:#416348; }
.workspace-welcome-art>span:first-child { grid-row:span 2; height:172px; background:#e3ecdd; }
.workspace-welcome-art>span:last-child { background:#eedccc; color:#946e4b; }
.workspace-welcome-art .icon { width:36px; height:36px; }
.workspace-stat-grid { margin-bottom:32px; }
.workspace-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:28px; }
.workspace-shortcut { display:flex; align-items:center; flex-wrap:wrap; gap:16px; background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; min-width:0; }
.workspace-shortcut:hover { border-color:#a9c299; background:#fbfdf8; }
.workspace-shortcut-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; color:#547840; background:#edf3e5; }
.workspace-shortcut:nth-child(2) .workspace-shortcut-icon { color:#796493; background:#f0ebf6; }
.workspace-shortcut:nth-child(3) .workspace-shortcut-icon { color:#497780; background:#e9f2f3; }
.workspace-shortcut:nth-child(4) .workspace-shortcut-icon { color:#a27243; background:#faf0e6; }
.workspace-shortcut>span:nth-child(2) { order:3; flex-basis:100%; min-width:0; }
.workspace-shortcut strong { display:block; font-size:13px; line-height:1.5; }
.workspace-shortcut small { display:block; font-size:11px; line-height:1.8; color:var(--muted); margin-top:5px; }
.workspace-shortcut>.icon { margin-left:auto; width:16px; color:#8b9b81; }
.workspace-admin-panels { display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:stretch; }
.workspace-admin-panels .invite-panel { display:flex; flex-direction:column; padding:26px; gap:20px; margin:0; border-radius:16px; justify-content:flex-start; }
.workspace-admin-panels .invite-panel h2 { font-size:21px; }
.workspace-admin-panels .invite-panel p { font-size:12px; margin-top:8px; }
.workspace-admin-panels .invite-code-wrap { min-width:0; width:100%; }
.workspace-admin-panels .invite-code-wrap code { font-size:12px; background:#ffffffc9; border-radius:9px; padding:13px; overflow-wrap:anywhere; }
.workspace-admin-panels .invite-code-wrap code.short-join-code { font-size:28px; letter-spacing:.18em; }
.workspace-attention { padding:26px; }
.workspace-attention .section-head { margin-bottom:12px; }
.workspace-attention .section-head>.icon { color:#82985c; }
.workspace-attention-row { display:flex; align-items:center; gap:13px; padding:23px 0; border-top:1px solid var(--line); }
.workspace-attention-row:nth-child(2) { border-top:0; }
.workspace-attention-row>div { flex:1; min-width:0; }
.workspace-attention-row strong { font-size:12px; }
.workspace-attention-row p { color:var(--muted); font-size:11px; margin-top:7px; line-height:1.8; }
.workspace-attention-number { display:grid; place-items:center; width:37px; height:37px; flex-shrink:0; border-radius:11px; font-size:16px; background:#f0f4eb; color:#6a8056; }
.workspace-attention-number.has-items { background:#fbefdf; color:#976e3f; }
.workspace-attention-row .button { font-size:10px; }
.workspace-teacher-note { display:flex; align-items:center; gap:18px; padding:22px 24px; border-radius:14px; background:#edf3e5; border:1px solid #e0e9d5; }
.workspace-teacher-note>.icon { width:28px; height:28px; color:#7c985f; }
.workspace-teacher-note strong { font-size:13px; color:#395c37; }
.workspace-teacher-note p { font-size:11px; line-height:1.8; color:#6b7b5d; margin-top:5px; max-width:610px; }
.workspace-teacher-note .text-link { margin-left:auto; }
.workspace-dashboard .school-section { margin-top:30px; }
.workspace-inline-actions { display:flex; gap:15px; align-items:center; }
.workspace-class-grid,.workspace-plan-grid { grid-template-columns:repeat(auto-fill,minmax(min(285px,100%),1fr)); }
.workspace-class-card.school-card { padding:0; align-items:stretch; }
.subject-theme-general { --subject-ink:#537348; --subject-tint:#eaf0e2; --subject-soft:#f7faf3; --subject-edge:#dce6d2; }
.workspace-class-band { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:22px 23px; background:var(--subject-tint); color:var(--subject-ink); }
.workspace-class-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:#ffffff99; }
.workspace-class-band .tag { margin-left:auto; color:var(--subject-ink); background:#ffffffa6; font-size:10px; }
.workspace-class-kind { flex-basis:100%; font-size:11px; font-weight:600; }
.workspace-class-card .card-body { margin:0; padding:23px; }
.workspace-class-card h3 { margin:0 0 8px; font-size:19px; line-height:1.45; overflow-wrap:anywhere; }
.workspace-class-card .card-body>p { font-size:12px; }
.workspace-class-meta { display:flex; flex-wrap:wrap; gap:14px; margin-top:21px; color:#6c8063; font-size:11px; }
.workspace-class-meta>span { display:flex; align-items:center; gap:7px; }
.workspace-class-meta .icon { width:15px; height:15px; }
.workspace-class-card .card-bottom { width:auto; margin:0 23px; padding:18px 0 23px; flex-wrap:wrap; gap:8px; }
.workspace-class-card .class-delete { color:#9d3335; border-color:#e3c8c9; background:#fff; }
.workspace-class-card .class-delete:hover { background:#fcf1f1; }
.workspace-class-card .button { font-size:11px; }
.workspace-directory-toolbar .search-field { max-width:480px; }
.workspace-directory-count { margin-left:auto; font-size:11px; color:var(--muted); }
.workspace-planner-banner { display:flex; gap:22px; align-items:center; padding:27px 30px; background:#ece9f3; border:1px solid #e1dbed; border-radius:16px; margin-bottom:24px; }
.workspace-planner-banner>span { width:54px; height:60px; flex:0 0 54px; display:grid; place-items:center; color:#7b6896; background:#ffffff99; border-radius:15px; transform:rotate(-5deg); }
.workspace-planner-banner>span .icon { width:27px; height:27px; }
.workspace-planner-banner h2 { font-size:21px; color:#413650; }
.workspace-planner-banner p { font-size:12px; color:#70637e; margin-top:8px; line-height:1.8; }
.workspace-planner-banner small { display:block; font-size:10px; color:#7b7184; margin-top:12px; max-width:590px; line-height:1.8; }
.workspace-planner-totals { border-left:1px solid #d0c8df; padding-left:25px; margin-left:auto; flex-shrink:0; }
.workspace-planner-totals strong { display:block; font-size:30px; color:#635275; }
.workspace-planner-totals span { font-size:10px; color:#796888; }
.workspace-plan-card.school-card { padding:24px; }
.workspace-plan-top { display:flex; align-items:center; justify-content:space-between; width:100%; margin-bottom:25px; }
.workspace-plan-top>span:first-child { background:#f0ecf7; color:#7c6996; padding:11px; border-radius:12px; }
.workspace-plan-status { text-transform:capitalize; font-size:10px; border-radius:20px; padding:5px 10px; background:#fbefdf; color:#91683e; }
.workspace-plan-status.is-ready { background:#eaf2e3; color:#527242; }
.workspace-plan-card .eyebrow { font-size:9px; color:#9a8a64; }
.workspace-plan-card h3 { font-size:18px; line-height:1.5; margin:9px 0; }
.workspace-plan-card .card-body>p { font-size:12px; }
.workspace-plan-card .card-body>small { display:block; color:var(--muted); margin-top:12px; font-size:10px; line-height:1.8; }
.workspace-plan-class { display:flex; align-items:center; gap:9px; font-size:11px; color:#65785b; margin-top:20px; }
.workspace-plan-class .icon { width:15px; height:15px; }
.workspace-plan-card .card-bottom { margin-top:auto; padding-top:18px; }
.workspace-learner-class { display:flex; flex-direction:column; padding:22px 22px 0; }
.workspace-learner-class .class-card-top { margin-bottom:18px; }
.workspace-learner-class .subject-icon { width:46px; height:46px; border-radius:13px; background:var(--subject-tint); color:var(--subject-ink); }
.polished-workspace .workspace-learner-class h3 { font-size:19px; line-height:1.4; }
.polished-workspace .workspace-learner-class .class-topic { font-size:12px; margin-top:6px; }
.workspace-learner-class .class-people { font-size:11px; margin-top:18px; flex-wrap:wrap; }
.workspace-learner-class .class-people .icon { width:15px; height:15px; }
.workspace-learner-class .class-progress { padding-bottom:22px; }
.workspace-learner-class .progress-label { font-size:11px; }
.workspace-learner-class .progress-fill { background:var(--subject-ink); }
.workspace-learner-class .class-next { margin:0 -22px; margin-top:auto; padding:17px 22px; background:var(--subject-soft); }
.workspace-learner-class .class-next .button { font-size:10px; }
.workspace-topic-grade { border:1px solid var(--line); border-radius:11px; margin-top:15px; overflow:hidden; }
.workspace-topic-grade summary { list-style:none; display:flex; align-items:center; gap:12px; cursor:pointer; padding:16px; background:#f8faf5; color:#425f38; font-size:13px; font-weight:600; }
.workspace-topic-grade summary::-webkit-details-marker { display:none; }
.workspace-topic-grade summary small { margin-left:auto; font-size:10px; color:var(--muted); font-weight:400; }
.workspace-topic-grade summary .icon { width:16px; height:16px; }
.workspace-topic-grade[open] summary .icon { transform:rotate(180deg); }
.workspace-topic-grade>div { padding:0 18px; }
.workspace-topic-grade .report-row { margin:22px 0; }
.workspace-topic-grade .progress-label { font-size:11px; align-items:flex-start; line-height:1.7; }
.workspace-topic-grade .progress-label>span:last-child { flex-shrink:0; font-size:10px; }
.workspace-topic-grade .progress-track { height:6px; }
.polished-workspace .calendar-month { padding:22px; }
.polished-workspace .calendar-controls { align-items:center; gap:8px; }
.polished-workspace .calendar-controls button { width:auto; min-width:36px; height:36px; min-height:36px; }
.polished-workspace .calendar-number { background:transparent; border:0; border-radius:50%; cursor:pointer; }
.polished-workspace .calendar-number.today { background:#2b6348; color:#fff; box-shadow:0 3px 8px #345b3520; }
.polished-workspace .calendar-cell { background:#fff; }
.polished-workspace .calendar-cell.muted { background:#f8faf6; }
.polished-workspace .calendar-event { line-height:1.5; border-left:2px solid #a1b783; }
.polished-workspace .schedule-details strong { font-size:13px; }
.polished-workspace .schedule-details p { font-size:11px; line-height:1.7; }
.polished-workspace .schedule-time { font-size:11px; }
.polished-workspace .schedule-time small { font-size:10px; }
.polished-workspace .announcement-card { padding:27px; border-left:3px solid #b9ce97; }
.polished-workspace .announcement-card h3 { font-size:20px; line-height:1.5; margin-top:15px; }
.polished-workspace .announcement-label { gap:10px; flex-wrap:wrap; }
.polished-workspace .announcement-label span { font-size:10px; }
.polished-workspace .announcement-card footer { padding-top:16px; border-top:1px solid var(--line); }
.polished-workspace .community-tabs { padding:6px; border:1px solid var(--line); border-radius:11px; background:#fff; gap:6px; }
.polished-workspace .community-tabs button { border:0; border-radius:7px; margin:0; }
.polished-workspace .community-tabs button.active { background:#eaf1df; color:#3b6137; }
.polished-workspace .member-row { padding:19px 22px; }
.polished-workspace .member-avatar { border-radius:12px; background:#eef2e8; }
.polished-workspace .member-identity strong { font-size:13px; }
.polished-workspace .member-identity small { font-size:11px; }
.polished-workspace .roster-toolbar { border-radius:12px; }
.polished-workspace .request-history { margin-top:25px; border:1px solid var(--line); border-radius:11px; background:#fff; padding:0 20px; }
.polished-workspace .request-history>summary { cursor:pointer; padding:17px 0; color:#587448; font-size:12px; }
.workspace-account-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:24px; align-items:start; max-width:1150px; }
.workspace-profile-cover { height:110px; background:radial-gradient(circle at 88% 10%,#e2ebd2 0 75px,transparent 76px),radial-gradient(circle at 70% 95%,#e9e4f1 0 53px,transparent 54px),#edf3e5; }
.workspace-profile-body { padding:0 30px 27px; }
.workspace-profile-avatar { position:relative; display:flex; justify-content:center; align-items:center; width:80px; height:80px; border-radius:24px; border:5px solid #fff; background:#e5d8c8; color:#76573d; font-size:25px; font-weight:600; margin-top:-40px; }
.workspace-verified { display:inline-flex; align-items:center; gap:5px; margin:18px 0 12px; font-size:10px; color:#587b45; }
.workspace-verified .icon { width:15px; height:15px; }
.workspace-profile-body h2 { font-size:27px; letter-spacing:-.6px; overflow-wrap:anywhere; }
.workspace-profile-email { color:var(--muted); font-size:12px; margin:8px 0 17px; overflow-wrap:anywhere; }
.workspace-profile-roles { display:flex; gap:7px; flex-wrap:wrap; }
.workspace-profile-roles .tag { padding:5px 9px; }
.workspace-account-details { margin:26px 0; }
.workspace-account-details>div { display:flex; justify-content:space-between; gap:22px; padding:16px 0; border-top:1px solid var(--line); font-size:12px; }
.workspace-account-details dt { color:var(--muted); }
.workspace-account-details dd { margin:0; text-align:right; max-width:65%; overflow-wrap:anywhere; }
.workspace-account-reference { padding-top:17px; border-top:1px solid var(--line); }
.workspace-account-reference summary { color:#53714a; font-size:11px; cursor:pointer; }
.workspace-account-reference p { color:var(--muted); font-size:11px; margin:13px 0; line-height:1.8; }
.workspace-account-reference small { color:var(--muted); font-size:10px; }
.workspace-account-support { display:grid; gap:22px; }
.workspace-account-support>.panel { padding:28px; }
.workspace-support-icon { display:grid; place-items:center; width:43px; height:43px; border-radius:12px; color:#6c7c94; background:#ecf0f7; margin-bottom:19px; }
.workspace-account-support h2 { font-size:21px; }
.workspace-account-support h3 { font-size:15px; }
.workspace-account-support p { color:var(--muted); font-size:12px; line-height:1.9; margin-top:10px; }
.workspace-account-divider { border-top:1px solid var(--line); margin:26px 0; }
.workspace-account-note { display:flex; align-items:flex-start; gap:15px; padding:23px; background:#edf3e5; border-radius:14px; border:1px solid #dfe9d3; }
.workspace-account-note>.icon { color:#77965b; margin-top:2px; }
.workspace-account-note .text-link { margin-top:12px; }
.workspace-help-hero { display:flex; align-items:center; gap:25px; padding:30px; background:#eaf1e2; border:1px solid #dae5cf; border-radius:18px; margin-bottom:22px; }
.workspace-help-hero>span { display:grid; place-items:center; width:68px; height:68px; border-radius:21px; background:#ffffffaa; color:#658346; flex-shrink:0; }
.workspace-help-hero>span .icon { width:33px; height:33px; }
.workspace-help-hero h2 { font-size:29px; letter-spacing:-.8px; }
.workspace-help-hero p { font-size:12px; color:#728064; margin-top:9px; }
.workspace-help-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; margin-bottom:27px; }
.workspace-help-links a { display:flex; align-items:center; gap:13px; padding:22px; border:1px solid var(--line); background:#fff; border-radius:12px; }
.workspace-help-links strong { font-size:12px; }
.workspace-help-links .icon { color:#7c9364; }
.workspace-help-links .icon:last-child { margin-left:auto; width:15px; }
.polished-workspace .help-list { padding:28px; }
.polished-workspace .help-list details { padding:20px 0; border-bottom:1px solid var(--line); }
.polished-workspace .help-list details:last-child { border-bottom:0; padding-bottom:0; }
.polished-workspace .help-list summary { cursor:pointer; font-size:14px; color:#375731; line-height:1.7; }
.polished-workspace .help-list details p { color:var(--muted); font-size:13px; line-height:1.9; max-width:830px; margin-top:12px; }
.school-page #school-dialog { border:1px solid #dfe7d9; border-radius:18px; box-shadow:0 25px 90px #183c3430; max-height:calc(100dvh - 36px); }
.school-page #school-dialog::backdrop { background:#14392d80; backdrop-filter:blur(3px); }
.school-page #school-dialog .dialog-header { padding:24px 26px 18px; border-bottom:1px solid #e6ecdf; background:#fafcf7; }
.school-page #school-dialog .dialog-header h2 { font-size:22px; }
.school-page #school-dialog .form-intro { color:#73816a; font-size:12px; line-height:1.9; }
.school-page #school-dialog .form-field>label { font-size:12px; line-height:1.7; }
.school-page #school-dialog :is(input:not([type=checkbox],[type=radio],[type=file]),select,textarea) { border-radius:9px; min-height:43px; }
.school-page #school-dialog .form-actions { padding-top:20px; }
.polished-workspace .work-card { border-radius:16px; }
.polished-workspace .work-card h3 { font-size:18px; line-height:1.5; }
.polished-workspace .work-status { padding:6px 11px; }
.polished-workspace .staff-online-panel .badge { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; font-size:10px; border-radius:20px; background:#edf2e6; color:#52734c; text-transform:capitalize; }
.polished-workspace .staff-online-panel .subject-live::before { content:''; width:6px; height:6px; border-radius:50%; background:#548647; }
@media(max-width:1250px) {
  .workspace-welcome { padding:30px; }
  .workspace-welcome-art { margin:0 10px; grid-template-columns:repeat(2,64px); }
  .workspace-welcome-art>span { width:64px; height:64px; border-radius:18px; }
  .workspace-welcome-art>span:first-child { height:140px; }
  .workspace-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workspace-shortcut { flex-wrap:nowrap; padding:20px; }
  .workspace-shortcut>span:nth-child(2) { order:0; flex:1; }
  .workspace-shortcut-icon { flex-shrink:0; }
  .workspace-admin-panels { grid-template-columns:1fr; }
  .workspace-admin-panels .invite-panel { display:grid; grid-template-columns:1fr 1fr; }
  .workspace-help-links a { padding:18px; gap:10px; }
  .workspace-account-layout { gap:19px; }
}
@media(max-width:1080px) {
  .workspace-role-pill { display:none; }
  .workspace-welcome-art { display:none; }
  .workspace-account-layout { grid-template-columns:1fr; }
  .workspace-account-support { grid-template-columns:1fr 1fr; align-items:start; }
  .workspace-planner-totals { display:none; }
  .workspace-help-links { gap:10px; }
  .workspace-help-links a { flex-wrap:wrap; }
  .workspace-help-links strong { order:2; flex-basis:100%; }
  .polished-workspace .view-toolbar .search-field { min-width:200px; }
}
@media(max-width:760px) {
  body.workspace-nav-open { overflow:hidden; }
  .workspace-nav-close { display:inline-flex; align-self:flex-start; }
  .workspace-brand-row .brand { margin-left:7px; }
  .polished-workspace .sidebar { padding-top:23px; }
  .polished-workspace .topbar { padding-inline:16px; }
  .polished-workspace .topbar-actions { gap:5px; }
  .polished-workspace .breadcrumb-root { display:none; }
  .polished-workspace .breadcrumb>.icon { display:none; }
  .polished-workspace .breadcrumb strong { max-width:calc(100vw - 185px); }
  .polished-workspace .topbar-actions .avatar { display:none; }
  .polished-workspace .page-heading { align-items:flex-start; }
  .polished-workspace .page-heading p { font-size:12px; }
  .polished-workspace .page-heading h1 { font-size:29px; }
  .polished-workspace .button { min-height:44px; }
  .polished-workspace .stat-card { padding:17px; }
  .polished-workspace .stat-top { font-size:11px; }
  .polished-workspace .stat-foot { font-size:10px; }
  .workspace-welcome h1 { font-size:32px; }
  .workspace-welcome { padding:28px; border-radius:18px; }
  .workspace-welcome p { font-size:12px; }
  .workspace-welcome-actions { gap:12px; }
  .workspace-welcome .eyebrow { font-size:9px; }
  .workspace-shortcuts { gap:13px; }
  .workspace-shortcut { flex-wrap:wrap; padding:19px; gap:12px; }
  .workspace-shortcut>span:nth-child(2) { flex-basis:100%; order:3; }
  .workspace-shortcut strong { font-size:12px; }
  .workspace-shortcut small { font-size:10px; }
  .workspace-admin-panels .invite-panel { display:flex; }
  .workspace-attention { padding:23px; }
  .workspace-attention-row { flex-wrap:wrap; }
  .workspace-attention-row .button { margin-left:50px; }
  .workspace-teacher-note { align-items:flex-start; flex-wrap:wrap; padding:21px; }
  .workspace-teacher-note>div { flex:1; }
  .workspace-teacher-note .text-link { margin-left:46px; }
  .workspace-account-support { grid-template-columns:1fr; }
  .workspace-planner-banner { padding:23px; align-items:flex-start; gap:16px; }
  .workspace-planner-banner>span { width:43px; height:49px; flex-basis:43px; }
  .workspace-planner-banner h2 { font-size:19px; }
  .polished-workspace .calendar-full { min-width:0; }
  .polished-workspace .calendar-cell { padding:5px 3px; min-height:76px; }
  .polished-workspace .calendar-heading { padding:12px 2px; font-size:10px; }
  .polished-workspace .calendar-number { width:30px; height:30px; margin:0; }
  .polished-workspace .calendar-event { font-size:9px; padding:3px; }
  .polished-workspace .calendar-month { padding:20px 16px; }
  .polished-workspace .calendar-month h2 { font-size:18px; }
  .polished-workspace .schedule-label { gap:12px; flex-wrap:wrap; }
  .polished-workspace .announcement-card { padding:23px; }
  .polished-workspace .community-tabs { overflow-x:auto; flex-wrap:nowrap; }
  .polished-workspace .community-tabs button { flex-shrink:0; min-height:44px; padding:10px 13px; }
  .workspace-help-hero { padding:24px; gap:18px; }
  .workspace-help-hero>span { width:49px; height:53px; border-radius:14px; }
  .workspace-help-hero h2 { font-size:26px; }
  .polished-workspace .help-list { padding:23px; }
  .school-page #school-dialog { max-height:calc(100dvh - 24px); border-radius:15px; }
}
@media(max-width:480px) {
  .workspace-welcome { padding:26px 23px; }
  .workspace-welcome h1 { font-size:30px; }
  .workspace-stat-grid { margin-bottom:27px; }
  .polished-workspace .stat-icon { width:29px; height:29px; border-radius:9px; }
  .polished-workspace .stat-value { font-size:29px; }
  .polished-workspace .stat-card { padding:16px 14px; }
  .polished-workspace .page-heading { gap:17px; }
  .polished-workspace .heading-actions .button { margin:0; }
  .polished-workspace .section-head { flex-wrap:wrap; }
  .polished-workspace .view-toolbar { padding:15px; align-items:stretch; }
  .polished-workspace .view-toolbar .search-field { flex-basis:100%; min-width:0; }
  .polished-workspace .view-toolbar .learner-filter { flex:1; min-width:0; font-size:11px; }
  .polished-workspace .view-toolbar .learner-filter select { min-width:0; flex:1; }
  .workspace-directory-count { width:100%; margin:0; }
  .workspace-profile-body { padding-inline:23px; }
  .workspace-profile-body h2 { font-size:24px; }
  .workspace-profile-cover { height:95px; }
  .workspace-account-support>.panel { padding:23px; }
  .workspace-account-details>div { font-size:11px; gap:16px; }
  .workspace-help-links { grid-template-columns:1fr; }
  .workspace-help-links a { flex-wrap:nowrap; }
  .workspace-help-links strong { order:0; flex-basis:auto; }
  .workspace-help-hero>span { display:none; }
  .workspace-topic-grade summary { flex-wrap:wrap; gap:7px; }
  .workspace-topic-grade summary small { font-size:9px; }
  .workspace-topic-grade .progress-label { flex-direction:column; gap:5px; }
  .workspace-planner-banner { padding:22px; }
  .workspace-planner-banner>span { display:none; }
  .workspace-inline-actions { gap:12px; flex-wrap:wrap; }
  .polished-workspace .calendar-controls { gap:3px; }
  .polished-workspace .calendar-controls .button { padding-inline:8px; font-size:10px; }
  .polished-workspace .calendar-month h2 { font-size:16px; }
  .polished-workspace .community-tabs { max-width:100%; }
  .school-page #school-dialog .dialog-header { padding:20px; }
  .school-page #school-dialog .dialog-header h2 { font-size:20px; }
  .school-page .school-dialog-body { padding:20px; }
  .school-page #school-dialog .form-actions .button { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .polished-workspace * { scroll-behavior:auto!important; transition:none!important; } }
