/* Shared task-first polish for family, student and staff workspaces. */
.dashboard-page>.site-header,.dashboard-page>.site-footer,.dashboard-page>.ambient-layer,.dashboard-page>.cursor-glow,.dashboard-page>.scroll-progress{display:none}
.dashboard-page .workspace{padding-top:32px}
.dashboard-actions,.staff-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 18px}
.dashboard-actions>a,.staff-quick-actions>a{display:flex;align-items:center;gap:12px;min-width:0;min-height:76px;padding:14px 16px;border:1px solid #dfe4dd;border-radius:18px;background:#fff;color:#303632;text-decoration:none;box-shadow:0 8px 25px rgba(25,35,27,.025);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.dashboard-actions>a:hover,.staff-quick-actions>a:hover{transform:translateY(-2px);border-color:#bcdcc0;box-shadow:0 12px 30px rgba(25,35,27,.07)}
.dashboard-actions>a.primary,.staff-quick-actions>a.primary{border-color:#b9e8bd;background:linear-gradient(135deg,#e5f9e6,#f5fff3)}
.dashboard-actions i,.staff-quick-actions>a>svg{display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;padding:9px;border-radius:12px;background:#eef2ed;color:#347d3b;font-style:normal}
.dashboard-actions .primary i,.staff-quick-actions .primary>svg{background:#49df5b;color:#16351a}
.dashboard-actions span,.dashboard-actions b,.dashboard-actions small,.staff-quick-actions span,.staff-quick-actions b,.staff-quick-actions small{display:block;min-width:0}
.dashboard-actions b,.staff-quick-actions b{font-size:13px;line-height:1.2}
.dashboard-actions small,.staff-quick-actions small{margin-top:4px;overflow:hidden;color:#7d847e;font-size:10px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.workspace-head h1,.staff-head h1{text-wrap:balance}.workspace-head p,.staff-head p{max-width:670px}
.panel,.staff-panel,.staff-stats>a{box-shadow:0 10px 35px rgba(24,31,25,.025)}
.panel:hover,.staff-panel:hover{border-color:#d2d9d1}
.staff-row-link{color:inherit;text-decoration:none;border-radius:12px;transition:background .16s ease,padding .16s ease}
.staff-row-link:hover{padding-inline:10px;background:#f6f9f5}
.workspace-nav nav a:focus-visible,.staff-side a:focus-visible,.dashboard-actions>a:focus-visible,.staff-quick-actions>a:focus-visible{outline:3px solid rgba(73,223,91,.35);outline-offset:2px}
@media(max-width:1100px){.dashboard-actions,.staff-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .dashboard-page .workspace{padding-top:calc(18px + env(safe-area-inset-top))}
  .dashboard-actions,.staff-quick-actions{display:flex;gap:8px;margin-inline:-2px;padding:2px 2px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.dashboard-actions::-webkit-scrollbar,.staff-quick-actions::-webkit-scrollbar{display:none}
  .dashboard-actions>a,.staff-quick-actions>a{flex:0 0 min(78vw,280px);min-height:70px;padding:12px 14px;border-radius:16px;scroll-snap-align:start}
  .dashboard-actions b,.staff-quick-actions b{font-size:14px}.dashboard-actions small,.staff-quick-actions small{font-size:11px}
  .workspace-head{margin-top:4px}.workspace-head h1,.staff-head h1{letter-spacing:-.045em}
  .workspace-grid{gap:10px}.panel,.staff-panel{box-shadow:none}
  .next-lesson>a{min-height:42px;border-radius:11px;background:#172019;color:#fff;text-decoration:none}
}
@media(prefers-reduced-motion:reduce){.dashboard-actions>a,.staff-quick-actions>a,.staff-row-link{transition:none}}
