/* Shared workbench layout; forest and candy share the same useful content. */
.wb-dashboard { padding-bottom:24px; }
.wb-overview.fp-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:0; background:none; border:0; margin:20px 0 24px; }
.wb-overview.fp-overview > * { min-width:0; display:flex; flex-direction:column; padding:22px; border-radius:20px; border:1px solid #d5d6be; background:#f8f5e8; box-shadow:0 5px 14px #4356380b; text-decoration:none; }
.wb-overview.fp-overview > * > span { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:650; }
.wb-overview.fp-overview strong { margin:10px 0 5px; font-size:32px; font-weight:750; color:var(--ink); }
.wb-overview.fp-overview small { font-size:12px; color:var(--muted); line-height:1.6; }
.wb-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:22px; align-items:start; }
.wb-task-column,.wb-learning-column { display:flex; flex-direction:column; gap:20px; min-width:0; }
.wb-dashboard .fp-planner,.wb-dashboard .fp-reading,.wb-grades.panel,.wb-bottom-grid > .panel { padding:22px; border-radius:22px; background:#faf6e8; border:1px solid #d5d6be; box-shadow:0 5px 14px #4356380b; min-width:0; }
.wb-dashboard .fp-planner .fp-section-head h2 { font-size:19px; display:flex; align-items:center; gap:8px; margin:0; }
.wb-quick-focus.fp-launch { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 14px; align-items:center; padding:20px; text-align:left; border-radius:22px; background:#e2e8ce; border:1px solid #c1cbb0; }
.wb-quick-focus .fp-launch-icon { grid-column:1; grid-row:1 / span 4; margin:0; width:42px; height:42px; }
.wb-quick-focus h2 { grid-column:2; margin:0; font-size:13px; color:var(--muted); }
.wb-quick-focus h3 { grid-column:2; margin:4px 0; font-size:17px; }
.wb-quick-focus p { grid-column:2; margin:2px 0; font-size:12px; }
.wb-quick-focus .fp-launch-time { grid-column:3; grid-row:1 / span 2; font-size:18px; margin:0; }
.wb-quick-focus .button { grid-column:3; grid-row:3 / span 2; white-space:nowrap; margin:0; }
.wb-quick-focus > small { grid-column:2; font-size:11px; }
.wb-calendar-disclosure { border-top:1px solid var(--line); margin-top:16px; padding-top:15px; }
.wb-calendar-disclosure summary { cursor:pointer; color:var(--muted); font-size:13px; }
.wb-learning-links,.wb-project-apps,.wb-personal-links { display:flex; flex-wrap:wrap; gap:8px; }
.wb-learning-links { margin-bottom:16px; }
.wb-learning-links > *,.wb-project-apps a,.wb-personal-links > * { display:inline-flex; align-items:center; gap:5px; padding:8px 12px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:#ecebd9; font-size:13px; text-decoration:none; cursor:pointer; }
.wb-bottom-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:22px; }
.wb-project-list { list-style:none; padding:0; margin:0 0 18px; }
.wb-project-list li { display:flex; gap:12px; margin:0; padding:12px 0; border-bottom:1px solid var(--line); }
.wb-project-list li > div { min-width:0; }
.wb-project-list small { color:var(--muted); font-size:11px; }
.wb-project-list a { display:block; font-weight:700; margin:3px 0; }
.wb-project-list p { font-size:12px; margin:0; line-height:1.7; overflow-wrap:anywhere; }
.wb-growth p { font-size:14px; }
.wb-growth-links { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:20px 0; }
.wb-growth-links a { display:flex; flex-direction:column; align-items:center; gap:10px; padding:14px 2px; font-size:13px; border-radius:14px; background:#e6ead5; border:1px solid var(--line); text-decoration:none; }
.wb-growth-links .ui-icon { width:23px; height:23px; }
.wb-personal-links { border-top:1px solid var(--line); padding-top:15px; }
.wb-empty { text-align:left; padding:17px 0; }
.wb-empty h3 { font-size:16px; margin:0 0 9px; }
.wb-empty p { color:var(--muted); font-size:13px; line-height:1.8; }
.wb-grades .y-section-heading h2,.wb-bottom-grid .y-section-heading h2 { display:flex; gap:8px; align-items:center; font-size:19px; }
.wb-grades .y-section-heading { gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.wb-grade-subject { display:flex; align-items:center; gap:10px; font-size:13px; }
.wb-grade-subject select { width:auto; max-width:60%; margin:0; min-height:36px; padding:5px 12px; }
.wb-grade-subject small { color:var(--muted); margin-left:auto; font-size:12px; }
.wb-chart { margin:16px 0; }
.wb-chart svg { display:block; width:100%; max-height:225px; overflow:visible; }
.wb-chart text { fill:var(--muted); font-size:11px; }
.wb-grid-line { stroke:var(--line); stroke-dasharray:3 6; }
.wb-chart-line { stroke:var(--brand); stroke-width:3; stroke-linejoin:round; fill:none; }
.wb-chart circle { fill:var(--brand); stroke:var(--cream); stroke-width:2; }
.wb-chart figcaption { color:var(--muted); font-size:11px; line-height:1.7; }
.wb-latest-grade { display:flex; justify-content:space-between; gap:12px; font-size:12px; }
.wb-grade-record { border-top:1px solid var(--line); padding:13px 0; }
.wb-grade-record summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.wb-grade-record summary h3 { margin:4px 0; font-size:15px; }
.wb-grade-record summary small { font-size:12px; font-weight:400; color:var(--muted); }
.wb-grade-record summary strong { font-size:20px; white-space:nowrap; }
.wb-analysis { padding:10px 0; font-size:13px; }
.wb-analysis h4 { font-size:14px; margin:10px 0; }
.wb-analysis ul { padding-left:20px; }
.wb-analysis li { margin-bottom:12px; }
.wb-analysis p { line-height:1.8; }
.wb-tools { margin:24px 0 22px; }
.wb-tools > h2 { font-size:19px; margin:0 0 16px; }
.wb-tool-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.wb-tool { display:block; width:100%; min-width:0; text-align:left; padding:20px; border-radius:20px; border:1px solid #d5d6be; background:#faf6e8; color:var(--ink); text-decoration:none; cursor:pointer; }
.wb-tool h3 { font-size:17px; margin:13px 0 6px; }
.wb-tool p { font-size:12px; line-height:1.7; margin:0 0 12px; color:var(--muted); }
.wb-tool > .ui-icon { width:17px; height:17px; }
.wb-loss-inputs { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.y-learning > .wb-grades { margin-bottom:25px; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-overview.fp-overview { grid-template-columns:repeat(4,minmax(0,1fr)); margin:20px 0 24px; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus.fp-launch { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 14px; padding:20px; text-align:left; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus .fp-launch-icon { width:42px; height:42px; margin:0; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus h2 { font-size:13px; margin:0; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus h3 { font-size:17px; margin:4px 0; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus p { font-size:12px; margin:2px 0; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus .fp-launch-time { font-size:18px; margin:0; color:var(--brand); }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus .button { width:auto; margin:0; }
.wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus > small { font-size:11px; }
@media(max-width:1200px) { .wb-overview.fp-overview { gap:12px; } .wb-overview.fp-overview > * { padding:17px; } .wb-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .wb-dashboard-grid { grid-template-columns:1fr 1fr; gap:16px; } .wb-dashboard .fp-planner,.wb-dashboard .fp-reading,.wb-grades.panel,.wb-bottom-grid > .panel { padding:18px; } }
@media(max-width:1050px) { .wb-dashboard-grid { grid-template-columns:1fr; } .wb-learning-column { display:grid; grid-template-columns:1fr 1fr; align-items:start; } }
@media(max-width:600px) { .wb-overview.fp-overview { grid-template-columns:1fr 1fr; gap:10px; } .wb-overview.fp-overview > * { padding:16px 13px; border-radius:17px; } .wb-overview.fp-overview strong { font-size:28px; } .wb-overview.fp-overview > * > span { font-size:12px; gap:4px; } .wb-overview.fp-overview small { font-size:11px; } .wb-bottom-grid,.wb-learning-column { display:flex; flex-direction:column; gap:18px; } .wb-bottom-grid > *, .wb-learning-column > * { width:100%; } .wb-quick-focus.fp-launch { grid-template-columns:minmax(0,1fr) auto; padding:16px; gap:6px 8px; } .wb-quick-focus .fp-launch-icon { display:none; } .wb-quick-focus h2,.wb-quick-focus h3,.wb-quick-focus p,.wb-quick-focus > small { grid-column:1; } .wb-quick-focus .fp-launch-time,.wb-quick-focus .button { grid-column:2; } .wb-quick-focus > small { font-size:10px; } .wb-growth-links { gap:5px; } .wb-tool { padding:16px; } .wb-tool-grid { gap:10px; } }
@media(max-width:600px) { .wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-overview.fp-overview { grid-template-columns:1fr 1fr; } .wb-dashboard.fp-dashboard:has(.fp-space-wallpaper) .wb-quick-focus.fp-launch { grid-template-columns:minmax(0,1fr) auto; padding:16px; gap:6px 8px; } }
@media(prefers-reduced-motion:reduce) { .wb-chart * { transition:none; } }
