.workspace-home .home-classes { min-width:0;min-height:0;display:flex;flex-direction:column;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);overflow:hidden; }
.home-classes__list { flex:1;min-height:0;overflow:auto;overscroll-behavior:contain; }
.home-classes__row { display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:10px 4px;text-align:left;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);font:inherit;cursor:pointer; }
.home-classes__row:hover { background:var(--panel-2); }
.home-classes__row>img { width:22px;height:22px;flex:none; }
.home-classes__row>span { display:grid;gap:4px;min-width:0; }
.home-classes__row strong { font-size:14px;overflow-wrap:anywhere; }
.home-classes__row small { font-size:12px;color:var(--muted);overflow-wrap:anywhere; }
.home-classes__state { display:grid;justify-items:start;align-content:center;min-height:100%;gap:12px;padding:16px 4px;box-sizing:border-box; }
.home-classes__state p { margin:0;font-size:14px;color:var(--muted);line-height:1.5; }
.home-classes__all { margin-top:8px;flex:none; }
.home-empty { flex:1;min-height:0;overflow:auto;padding:20px 8px;align-content:center; }
.home-empty h3 { margin:16px 0 8px;font-size:22px;line-height:1.25; }
.home-empty p { max-width:38em;margin:0;color:var(--muted);font-size:14px;line-height:1.6; }
.home-empty__icon { opacity:.8; }
.home-empty img,.home-suggestions img,.home-tools-open img,.home-classes img { filter:invert(.75) sepia(.15) saturate(2) hue-rotate(175deg); }
.theme-light :is(.home-empty,.home-suggestions,.home-tools-open,.home-classes) img { filter:none;opacity:.75; }
.home-empty__actions { display:flex;flex-wrap:wrap;gap:8px;margin-top:20px; }
:is(.home-empty,.home-suggestions,.home-classes__state,.dashboard-agenda) :is(.home-tools-open,[data-home-connect-drive],[data-home-add-tool],.home-start-primary),.home-classes__all,.home-classes__state button,.home-reflow-add { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:13px;line-height:1.4;cursor:pointer; }
.home-empty .home-start-primary { background:var(--accent);color:var(--accent-contrast,#0b1425);border-color:transparent;font-weight:600; }
.home-empty .home-start-primary img { filter:brightness(.15);opacity:1; }
.theme-light .home-empty .home-start-primary { color:#fff; }
.theme-light .home-empty .home-start-primary img { filter:invert(1); }
.home-suggestions { flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:12px 0;border-top:1px solid var(--border); }
.home-suggestions>span { font-size:12px;color:var(--muted); }
.home-suggestions>div { display:flex;flex-wrap:wrap;gap:8px; }
.home-tools-open { flex:none;align-self:flex-start;margin-top:4px; }
.home-empty[hidden],.home-suggestions[hidden],.home-reflow-add[hidden],[data-home-add-tool][hidden],.dashboard-agenda [data-dashboard-agenda][hidden] { display:none!important; }
.home-reflow-add { margin-bottom:12px; }
.home-classes :focus-visible,.home-empty :focus-visible,.home-suggestions :focus-visible,.home-tools-open:focus-visible { outline:2px solid var(--accent);outline-offset:2px; }
@media(max-width:700px),(min-width:701px) and (max-width:900px) and (max-height:899px) {
  .workspace-home .study-home__tools>.home-classes { height:var(--home-tool-height,300px);flex:none;box-sizing:border-box; }
  .home-empty { padding:20px 8px; }
  .home-empty h3 { font-size:22px; }
  .home-empty__actions { flex-direction:column;align-items:stretch; }
}
@media(max-height:740px) {
  .home-empty { padding:8px; }
  .home-empty__icon { display:none; }
  .home-empty h3 { margin:4px 0 8px;font-size:20px; }
  .home-empty__actions { margin-top:12px; }
  .dashboard-agenda:has([data-home-empty]:not([hidden])) .home-suggestions { display:none; }
}
