/* START-1: real, permission-filtered module shortcuts, not a second dashboard. */
body.workspace-shell[data-workspace-view="workspace-start"],
body.workspace-shell[data-workspace-view="workspace-start"] .main-content,
body.workspace-shell #workspace-start-view { background: var(--ws-bg); }
body.workspace-shell[data-workspace-view="workspace-start"]::before { display: none; }
/* The legacy fixed chat toggle can cover module actions, especially at 200%.
   This launchpad has no chat surface; other modules retain the existing widget. */
body.workspace-shell[data-workspace-view="workspace-start"] #ellie-widget { display: none !important; }
body.workspace-shell #workspace-start-view {
    color: var(--ws-ink);
    color-scheme: var(--ws-scheme);
    font-family: var(--ws-font);
    font-size: var(--ws-text-body);
    line-height: 1.5;
    min-width: 0;
}
body.workspace-shell #workspace-start-view .ws-start { max-width: 72rem; margin-inline: auto; }
body.workspace-shell #workspace-start-view :is(h1, h2, h3, p) { margin: 0; overflow-wrap: anywhere; }
body.workspace-shell #workspace-start-view h1 { font-size: var(--ws-text-heading); line-height: 1.25; font-weight: 700; }
body.workspace-shell #workspace-start-view h2 { font-size: var(--ws-text-subheading); line-height: 1.35; font-weight: 650; }
body.workspace-shell #workspace-start-view h3 { font-size: var(--ws-text-body); font-weight: 650; }
body.workspace-shell #workspace-start-view :is(h1, h2, h3) { text-wrap: balance; }
body.workspace-shell #workspace-start-view p { max-width: 72ch; }
body.workspace-shell #workspace-start-view .ws-start-muted { color: var(--ws-muted); }
body.workspace-shell #workspace-start-view .ws-start-header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: var(--ws-space-lg); margin-bottom: var(--ws-space-xl); }
body.workspace-shell #workspace-start-view .ws-start-header h1 { margin-bottom: var(--ws-space-sm); }
body.workspace-shell #workspace-start-view .ws-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ws-space-sm); }
body.workspace-shell #workspace-start-view .ws-start-button {
    min-height: 44px; min-width: 44px; max-width: 100%; padding: .5rem 1rem;
    border: 1px solid var(--ws-line); border-radius: .5rem;
    background: var(--ws-surface); color: var(--ws-ink); font: inherit; line-height: 1.4;
    white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
body.workspace-shell #workspace-start-view .ws-start-button:hover:not(:disabled) { background: var(--ws-soft); border-color: var(--ws-accent); }
body.workspace-shell #workspace-start-view .ws-start-primary { background: var(--ws-button-bg); border-color: var(--ws-button-bg); color: var(--ws-button-ink); font-weight: 650; }
body.workspace-shell #workspace-start-view .ws-start-primary:hover:not(:disabled) { background: var(--ws-button-bg); border-color: var(--ws-ink); }
body.workspace-shell #workspace-start-view .ws-start-button:disabled { color: var(--ws-muted); background: var(--ws-soft); cursor: default; }
body.workspace-shell #workspace-start-view :is(button, input):focus-visible { outline: 3px solid var(--ws-accent); outline-offset: 3px; }
body.workspace-shell #workspace-start-view .ws-start-section { margin-top: var(--ws-space-xl); }
body.workspace-shell #workspace-start-view .ws-start-section > h2 { margin-bottom: var(--ws-space-md); }
body.workspace-shell #workspace-start-view :is(.ws-start-pins, .ws-start-catalog) { list-style: none; padding: 0; margin: 0; }
body.workspace-shell #workspace-start-view .ws-start-pins { border-block: 1px solid var(--ws-line); }
body.workspace-shell #workspace-start-view :is(.ws-start-pin, .ws-start-catalog-row) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--ws-space-md); padding-block: var(--ws-space-md); }
body.workspace-shell #workspace-start-view .ws-start-pin + .ws-start-pin { border-top: 1px solid var(--ws-line); }
body.workspace-shell #workspace-start-view .ws-start-module-info { flex: 1 1 16rem; min-width: 0; }
body.workspace-shell #workspace-start-view .ws-start-module-info p { margin-top: var(--ws-space-xs); }
body.workspace-shell #workspace-start-view .ws-start-module-link { border: 0; padding: .5rem 0; text-align: left; font-size: var(--ws-text-subheading); font-weight: 650; background: transparent; color: var(--ws-accent); }
body.workspace-shell #workspace-start-view .ws-start-module-link:disabled { color: var(--ws-ink); background: transparent; }
body.workspace-shell #workspace-start-view .ws-start-group { color: var(--ws-muted); font-size: var(--ws-text-meta); }
body.workspace-shell #workspace-start-view .ws-start-search-label { display: block; margin-bottom: var(--ws-space-sm); font-weight: 650; }
body.workspace-shell #workspace-start-view .ws-start-search { display: block; width: min(100%, 32rem); min-width: 0; min-height: 44px; padding: .75rem; margin-bottom: var(--ws-space-md); border: 1px solid var(--ws-line); border-radius: .5rem; background: var(--ws-surface); color: var(--ws-ink); font: inherit; }
body.workspace-shell #workspace-start-view .ws-start-search::placeholder { color: var(--ws-muted); opacity: 1; }
body.workspace-shell #workspace-start-view .ws-start-catalog-row { border-bottom: 1px solid var(--ws-line); }
body.workspace-shell #workspace-start-view :is(.ws-start-notice, .ws-start-empty, .ws-start-loading) { padding: var(--ws-space-md); background: var(--ws-soft); border-radius: .5rem; margin-bottom: var(--ws-space-md); }
body.workspace-shell #workspace-start-view .ws-start-notice-warning { color: var(--ws-warn); border: 1px solid var(--ws-line); }
body.workspace-shell #workspace-start-view :is(.ws-start-reset, .ws-start-comparison) { border: 1px solid var(--ws-line); border-radius: .5rem; padding: var(--ws-space-lg); margin-block: var(--ws-space-lg); background: var(--ws-surface); }
body.workspace-shell #workspace-start-view :is(.ws-start-reset, .ws-start-comparison) > * + * { margin-top: var(--ws-space-md); }
body.workspace-shell #workspace-start-view .ws-start-comparison-columns { display: flex; flex-wrap: wrap; gap: var(--ws-space-lg); }
body.workspace-shell #workspace-start-view .ws-start-comparison-columns > div { flex: 1 1 16rem; min-width: 0; }
body.workspace-shell #workspace-start-view .ws-start-comparison-list { padding-left: var(--ws-space-lg); margin-block: var(--ws-space-sm) 0; overflow-wrap: anywhere; }
body.workspace-shell #workspace-start-view [hidden] { display: none !important; }
@media (max-width: 480px) {
    body.workspace-shell #workspace-start-view .ws-start-header { display: block; }
    body.workspace-shell #workspace-start-view .ws-start-header > .ws-start-actions { margin-top: var(--ws-space-md); }
    body.workspace-shell #workspace-start-view :is(.ws-start-pin, .ws-start-catalog-row) { align-items: stretch; }
    body.workspace-shell #workspace-start-view .ws-start-actions { width: 100%; }
    body.workspace-shell #workspace-start-view .ws-start-actions > button { flex: 1 1 auto; }
    body.workspace-shell #workspace-start-view :is(.ws-start-reset, .ws-start-comparison) { padding: var(--ws-space-md); }
}
@media (prefers-reduced-motion: reduce) {
    body.workspace-shell #workspace-start-view :is(button, input) { transition: none; animation: none; scroll-behavior: auto; }
}
