.dashboard-grid {
    --dashboard-gap: 16px;
    --dashboard-row: 104px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: row dense;
    grid-auto-rows: var(--dashboard-row);
    gap: var(--dashboard-gap);
    margin: 20px 0 38px;
    min-width: 0;
}

.dashboard-grid:empty {
    display: none;
}

.dashboard-source-row.dashboard-source-empty,
.ops-priority-row.dashboard-source-empty,
.ops-deferred.dashboard-source-empty,
.ops-side-stack.dashboard-source-empty,
.ops-fast-next.dashboard-source-empty {
    display: none !important;
}

.dashboard-grid > [data-dashboard-widget] {
    --dashboard-widget-accent: #2877d4;
    grid-column: span var(--dashboard-width, 4);
    grid-row: span var(--dashboard-height, 3);
    position: relative;
    width: auto !important;
    min-width: 0;
    max-width: none !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    align-self: stretch;
    overflow: hidden;
    border-radius: 12px;
    filter: drop-shadow(0 5px 12px rgba(24, 46, 69, .055));
}

.dashboard-grid > [data-dashboard-widget][hidden] {
    display: none !important;
}

.dashboard-grid > [data-dashboard-widget] > :where(.card, .ops-panel, .viz-panel),
.dashboard-grid > :where(.card, .ops-panel, .viz-panel)[data-dashboard-widget],
.dashboard-grid > [data-dashboard-widget] > .card {
    width: 100%;
    height: 100% !important;
    min-height: 0;
    margin: 0 !important;
    border-radius: 12px !important;
}

.dashboard-grid > [data-dashboard-widget] :where(.card-body, .card-body-normal, .card-body-half, .card-body-priority) {
    box-sizing: border-box;
    padding: 18px 20px !important;
}

.dashboard-grid > :where(.viz-panel, .data-quality-banner, .ops-fast-next)[data-dashboard-widget] {
    padding: 18px 20px !important;
}

.dashboard-grid > [data-dashboard-widget] :where(.card-title, .viz-title, .dashboard-quick-title) {
    margin-bottom: 14px !important;
    line-height: 1.3;
}

.dashboard-grid > [data-dashboard-widget] :where(p, li, .text-muted, .priority-meta) {
    line-height: 1.48;
}

.dashboard-grid > [data-dashboard-widget] :where(p, ul):last-child {
    margin-bottom: 0;
}

.dashboard-grid > [data-dashboard-widget] ul.list-unstyled > li {
    margin-bottom: 0 !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(116, 136, 156, .13);
}

.dashboard-grid > [data-dashboard-widget] ul.list-unstyled > li:first-child { padding-top: 2px; }
.dashboard-grid > [data-dashboard-widget] ul.list-unstyled > li:last-child { padding-bottom: 2px; border-bottom: 0; }

.dashboard-grid > [data-dashboard-widget] .kpi-line {
    gap: 14px;
    min-height: 100%;
}

.dashboard-grid > [data-dashboard-widget] .kpi-label {
    line-height: 1.25;
}

.dashboard-grid > [data-dashboard-widget] .kpi-value {
    flex: 0 0 auto;
    line-height: 1;
}

.dashboard-grid > .data-quality-banner[data-dashboard-widget] > div {
    width: 100%;
}

.dashboard-grid > .ops-fast-next[data-dashboard-widget] .ops-fast-link {
    padding: 16px 18px;
}

.dashboard-grid > [data-dashboard-widget] :where(.card-body-normal, .card-body-half, .card-body-priority) {
    height: 100%;
    min-height: 0;
    max-height: none;
    overflow: auto;
}

.dashboard-grid > .viz-panel[data-dashboard-widget],
.dashboard-grid > .data-quality-banner[data-dashboard-widget],
.dashboard-grid > .ops-fast-next[data-dashboard-widget] {
    height: 100%;
    box-sizing: border-box;
}

.dashboard-quick-title {
    grid-column: 1 / -1;
    margin: 0;
    color: #2d465e;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-grid > .data-quality-banner[data-dashboard-widget] {
    display: flex;
    align-items: center;
    overflow: auto;
}

.dashboard-grid > .ops-fast-next[data-dashboard-widget] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 !important;
}

.dashboard-grid.dashboard-density-compact {
    --dashboard-row: 82px;
    --dashboard-gap: 10px;
}

.dashboard-grid.dashboard-density-compact [data-dashboard-widget] :where(.card-body, .viz-panel) {
    padding: 13px 15px !important;
}

.dashboard-grid > [data-dashboard-accent="blue"] { --dashboard-widget-accent: #2877d4; }
.dashboard-grid > [data-dashboard-accent="green"] { --dashboard-widget-accent: #249263; }
.dashboard-grid > [data-dashboard-accent="amber"] { --dashboard-widget-accent: #d99318; }
.dashboard-grid > [data-dashboard-accent="red"] { --dashboard-widget-accent: #cf4d4d; }
.dashboard-grid > [data-dashboard-accent="violet"] { --dashboard-widget-accent: #7357c7; }
.dashboard-grid > [data-dashboard-accent="slate"] { --dashboard-widget-accent: #526476; }

.dashboard-grid > [data-dashboard-accent]:not([data-dashboard-accent="default"])::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 4px;
    pointer-events: none;
    background: var(--dashboard-widget-accent);
}

.dashboard-commandbar {
    position: sticky;
    z-index: 1015;
    top: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 16px 0 10px;
    padding: 12px 14px;
    border: 1px solid #a9c8ec;
    border-radius: 11px;
    background: color-mix(in srgb, #f4f9ff 94%, transparent);
    box-shadow: 0 8px 30px rgba(22, 46, 74, .12);
    backdrop-filter: blur(12px);
}

.dashboard-commandbar[hidden] { display: none !important; }

.dashboard-commandbar > div:first-child {
    display: grid;
    min-width: 0;
}

.dashboard-commandbar strong { color: #183c67; }
.dashboard-commandbar span { color: #587088; font-size: .83rem; }

.dashboard-commandbar span.is-dirty {
    color: #9a650d;
    font-weight: 700;
}

.dashboard-commandbar-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.dashboard-profile-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 3px;
    color: #697b8d;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-profile-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7e9ab3;
    box-shadow: 0 0 0 3px rgba(126, 154, 179, .13);
}

.dashboard-profile-state.is-saved { color: #37735b; }
.dashboard-profile-state.is-saved .dashboard-profile-dot { background: #2b956a; box-shadow: 0 0 0 3px rgba(43, 149, 106, .13); }

body.dashboard-editing .dashboard-grid {
    padding: 12px;
    border: 1px dashed #80aee0;
    border-radius: 14px;
    background-color: rgba(235, 245, 255, .48);
    background-image: radial-gradient(circle, rgba(73, 122, 174, .22) 1px, transparent 1px);
    background-size: calc((100% - 11 * var(--dashboard-gap)) / 12 + var(--dashboard-gap)) calc(var(--dashboard-row) + var(--dashboard-gap));
}

body.dashboard-editing .dashboard-grid > [data-dashboard-widget]:not([hidden]) {
    overflow: visible;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .14s ease, opacity .14s ease, transform .14s ease;
}

body.dashboard-editing .dashboard-grid > [data-dashboard-widget]:hover,
body.dashboard-editing .dashboard-grid > [data-dashboard-widget]:focus-within {
    z-index: 5;
    outline-color: #4387d0;
}

body.dashboard-editing .dashboard-grid > [data-dashboard-widget] :where(.card-title, .viz-title) {
    padding-right: 174px;
}

.dashboard-welcome {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 16px 0 4px;
    padding: 17px 19px;
    border: 1px solid #cfe0f1;
    border-radius: 12px;
    background: linear-gradient(115deg, #f3f8fd 0%, #fbfdff 62%, #f2f8ff 100%);
    box-shadow: 0 5px 18px rgba(33, 72, 111, .07);
}

.dashboard-welcome[hidden] { display: none; }

.dashboard-welcome-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #205f9e;
    background: #deedfb;
    font-size: 1.2rem;
}

.dashboard-welcome-kicker {
    color: #3974ad;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-welcome h2 {
    margin: 1px 0 3px;
    color: #1f3b57;
    font-size: 1.02rem;
}

.dashboard-welcome p {
    margin: 0;
    color: #61758a;
    font-size: .82rem;
    line-height: 1.45;
}

body.dashboard-editing .dashboard-grid > [data-dashboard-widget].dashboard-dragging {
    opacity: .46;
    transform: scale(.985);
}

body.dashboard-editing .dashboard-grid > [data-dashboard-widget].dashboard-drag-over {
    outline-color: #146bc5;
    background: rgba(32, 113, 199, .1);
}

.dashboard-widget-chrome {
    position: absolute;
    z-index: 12;
    top: 7px;
    right: 7px;
    display: none;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(71, 94, 120, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 16px rgba(23, 43, 66, .2);
}

body.dashboard-editing .dashboard-widget-chrome { display: flex; }

.dashboard-widget-tool {
    display: inline-grid;
    width: 29px;
    height: 29px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #39546f;
    background: transparent;
    font-size: .92rem;
    line-height: 1;
}

.dashboard-widget-tool:hover,
.dashboard-widget-tool:focus-visible {
    color: #105fae;
    background: #e9f3fd;
    outline: none;
}

.dashboard-widget-tool.dashboard-drag-handle {
    cursor: grab;
    font-size: 1.05rem;
}

.dashboard-widget-tool.dashboard-remove-tool:hover { color: #b4232d; background: #fff0f1; }

.dashboard-resize-handle {
    position: absolute;
    z-index: 13;
    right: -5px;
    bottom: -5px;
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #2678cb;
    box-shadow: 0 2px 8px rgba(21, 62, 105, .35);
    cursor: nwse-resize;
    touch-action: none;
}

.dashboard-resize-handle::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

body.dashboard-editing .dashboard-resize-handle { display: block; }

.dashboard-empty-state {
    grid-column: 1 / -1;
    display: grid;
    min-height: 210px;
    place-content: center;
    justify-items: center;
    gap: 8px;
    padding: 28px;
    border: 1px dashed #b6c8da;
    border-radius: 12px;
    color: #53677c;
    text-align: center;
    background: #f8fbfe;
}

.dashboard-empty-state strong { color: #273d53; font-size: 1.05rem; }

.dashboard-backdrop {
    position: fixed;
    z-index: 1045;
    inset: 0;
    background: rgba(14, 25, 39, .36);
    backdrop-filter: blur(2px);
}

.dashboard-backdrop[hidden] { display: none; }

.dashboard-drawer-reopen {
    position: fixed;
    z-index: 1040;
    top: 50%;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px 11px 11px;
    border: 1px solid #9fc3e5;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    color: #174e82;
    background: #f5faff;
    box-shadow: -5px 5px 20px rgba(24, 61, 96, .16);
    transform: translateY(-50%);
    font: inherit;
    cursor: pointer;
}

.dashboard-drawer-reopen > span {
    font-size: 1rem;
    line-height: 1;
}

.dashboard-drawer-reopen strong {
    font-size: .76rem;
    white-space: nowrap;
}

.dashboard-drawer-reopen:hover,
.dashboard-drawer-reopen:focus-visible {
    color: #fff;
    background: #236ead;
    outline: none;
}

.dashboard-drawer-reopen[hidden] { display: none !important; }

.dashboard-drawer {
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(470px, 100vw);
    height: 100dvh;
    border: 0;
    border-left: 1px solid #d4dce5;
    background: #fff;
    box-shadow: -18px 0 55px rgba(14, 29, 47, .22);
}

.dashboard-drawer[hidden] { display: none; }

.dashboard-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 17px;
    border-bottom: 1px solid #e3e9ef;
}

.dashboard-drawer-kicker,
.dashboard-settings-heading span {
    color: #3971aa;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-drawer-header h2 {
    margin: 2px 0 5px;
    color: #182b3d;
    font-size: 1.42rem;
}

.dashboard-drawer-header p {
    margin: 0;
    color: #607284;
    font-size: .86rem;
    line-height: 1.45;
}

.dashboard-icon-button {
    display: inline-grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid #dbe3ea;
    border-radius: 8px;
    color: #40566b;
    background: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

.dashboard-icon-button:hover { background: #f1f6fa; }

.dashboard-drawer-body {
    overflow: auto;
    padding: 18px 24px 30px;
}

.dashboard-howto {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.dashboard-howto li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 7px;
    padding: 10px;
    border: 1px solid #e0e8ef;
    border-radius: 9px;
    background: #f9fbfd;
}

.dashboard-howto li > span {
    grid-row: 1 / 3;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #327bbf;
    font-size: .7rem;
    font-weight: 800;
}

.dashboard-howto strong { color: #2c465f; font-size: .74rem; }
.dashboard-howto small { overflow: hidden; color: #748596; font-size: .62rem; line-height: 1.2; text-overflow: ellipsis; }

.dashboard-search-label,
.dashboard-density-fieldset legend,
.dashboard-widget-settings > label,
.dashboard-size-presets > span {
    display: block;
    margin-bottom: 7px;
    color: #324a61;
    font-size: .78rem;
    font-weight: 800;
}

.dashboard-search-wrap { position: relative; }
.dashboard-search-wrap > span { position: absolute; z-index: 1; top: 9px; left: 11px; opacity: .55; }
.dashboard-search-wrap input { padding-left: 36px; }

.dashboard-density-fieldset {
    margin: 18px 0 20px;
    padding: 0;
    border: 0;
}

.dashboard-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border-radius: 9px;
    background: #edf2f6;
}

.dashboard-segmented button {
    padding: 7px 10px;
    border: 0;
    border-radius: 7px;
    color: #586b7e;
    background: transparent;
    font-size: .82rem;
    font-weight: 700;
}

.dashboard-segmented button.is-active {
    color: #174f89;
    background: #fff;
    box-shadow: 0 1px 5px rgba(22, 45, 70, .15);
}

.dashboard-widget-group { margin-top: 20px; }
.dashboard-widget-group:first-child { margin-top: 0; }

.dashboard-widget-group h3 {
    margin: 0 0 7px;
    color: #708195;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-library-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 8px;
    border-bottom: 1px solid #edf1f5;
}

.dashboard-library-item.is-unavailable { opacity: .58; }
.dashboard-library-item.is-filtered { display: none; }

.dashboard-library-copy { display: grid; min-width: 0; }
.dashboard-library-copy strong { overflow: hidden; color: #263d53; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-library-copy small { color: #728397; font-size: .72rem; }

.dashboard-visibility-toggle {
    position: relative;
    width: 38px;
    height: 22px;
}

.dashboard-visibility-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.dashboard-visibility-toggle span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #bdc8d2;
    transition: background .15s ease;
}
.dashboard-visibility-toggle span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
    transition: transform .15s ease;
}
.dashboard-visibility-toggle input:checked + span { background: #2c7ece; }
.dashboard-visibility-toggle input:checked + span::after { transform: translateX(16px); }
.dashboard-visibility-toggle input:focus-visible + span { outline: 2px solid #2a76bf; outline-offset: 2px; }

.dashboard-library-settings {
    padding: 5px 7px;
    border: 0;
    border-radius: 6px;
    color: #41617e;
    background: transparent;
    font-size: .76rem;
    font-weight: 700;
}
.dashboard-library-settings:hover { color: #125fa9; background: #ebf4fd; }

.dashboard-widget-settings {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #cedce9;
    border-radius: 11px;
    background: #f8fbfe;
}

.dashboard-widget-settings[hidden] { display: none; }

.dashboard-settings-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dashboard-settings-heading h3 { margin: 2px 0 0; color: #213a52; font-size: 1rem; }
.dashboard-widget-settings > label:not(:first-of-type) { margin-top: 12px; }
.dashboard-widget-settings small { color: #7a8998; font-weight: 500; }

.dashboard-size-presets { margin-top: 16px; }
.dashboard-size-presets > div { display: flex; gap: 7px; }

.dashboard-drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 20px;
    border-top: 1px solid #e2e8ee;
    background: #f8fafc;
}

.dashboard-drawer-footer span { color: #718094; font-size: .7rem; text-align: right; }

.dashboard-toast {
    position: fixed;
    z-index: 1080;
    right: 22px;
    bottom: 22px;
    max-width: min(390px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 9px;
    color: #fff;
    background: #23445f;
    box-shadow: 0 8px 28px rgba(9, 27, 43, .28);
    font-size: .84rem;
    font-weight: 700;
}

.dashboard-toast.is-error { background: #a92f3a; }
.dashboard-toast.is-success { background: #23704e; }
.dashboard-toast[hidden] { display: none; }

[data-bs-theme="dark"] .dashboard-commandbar {
    border-color: #355c84;
    background: rgba(19, 38, 59, .94);
}
[data-bs-theme="dark"] .dashboard-commandbar strong { color: #d6eaff; }
[data-bs-theme="dark"] .dashboard-commandbar span { color: #9eb8d1; }
[data-bs-theme="dark"] .dashboard-drawer { border-color: #34485b; background: #172331; }
[data-bs-theme="dark"] .dashboard-drawer-reopen { border-color: #42698d; color: #cde6ff; background: #203a51; }
[data-bs-theme="dark"] .dashboard-drawer-header,
[data-bs-theme="dark"] .dashboard-drawer-footer { border-color: #34485b; background: #172331; }
[data-bs-theme="dark"] .dashboard-drawer-header h2,
[data-bs-theme="dark"] .dashboard-settings-heading h3,
[data-bs-theme="dark"] .dashboard-library-copy strong { color: #e2edf7; }
[data-bs-theme="dark"] .dashboard-drawer-header p,
[data-bs-theme="dark"] .dashboard-library-copy small { color: #9eb0c1; }
[data-bs-theme="dark"] .dashboard-icon-button,
[data-bs-theme="dark"] .dashboard-widget-chrome { border-color: #43576a; color: #cfdeeb; background: #223140; }
[data-bs-theme="dark"] .dashboard-widget-settings { border-color: #3b5369; background: #1d2c3a; }
[data-bs-theme="dark"] .dashboard-segmented { background: #263746; }
[data-bs-theme="dark"] .dashboard-segmented button.is-active { color: #d7ebff; background: #34516b; }
[data-bs-theme="dark"] .dashboard-library-item { border-color: #2d4052; }
[data-bs-theme="dark"] .dashboard-welcome { border-color: #365875; background: linear-gradient(115deg, #172b3e, #1b2f42); }
[data-bs-theme="dark"] .dashboard-welcome h2 { color: #dcecff; }
[data-bs-theme="dark"] .dashboard-welcome p { color: #9eb4c8; }
[data-bs-theme="dark"] .dashboard-welcome-icon { color: #b9ddff; background: #294e70; }
[data-bs-theme="dark"] .dashboard-howto li { border-color: #344a5d; background: #1c2b39; }
[data-bs-theme="dark"] .dashboard-howto strong { color: #d7e5f2; }
[data-bs-theme="dark"] body.dashboard-editing .dashboard-grid,
[data-bs-theme="dark"] body.dashboard-editing .dashboard-grid { background-color: rgba(17, 37, 56, .66); }

@media (max-width: 991.98px) {
    .dashboard-grid > [data-dashboard-widget] {
        grid-column: span 6;
    }

    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 7"],
    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 8"],
    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 9"],
    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 10"],
    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 11"],
    .dashboard-grid > [data-dashboard-widget][style*="--dashboard-width: 12"] {
        grid-column: 1 / -1;
    }

    .dashboard-grid > .ops-fast-next[data-dashboard-widget] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .dashboard-grid > [data-dashboard-widget] {
        grid-column: 1 !important;
        grid-row: auto !important;
        min-height: max(112px, calc(var(--dashboard-height, 2) * 78px));
    }

    .dashboard-grid > .ops-fast-next[data-dashboard-widget] { grid-template-columns: 1fr; }
    .dashboard-commandbar { top: 60px; align-items: stretch; flex-direction: column; }
    .dashboard-commandbar-actions { justify-content: flex-end; }
    .dashboard-resize-handle { display: none !important; }
    .dashboard-welcome { grid-template-columns: auto 1fr; }
    .dashboard-welcome .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 520px) {
    .dashboard-drawer-header { padding: 18px 17px 14px; }
    .dashboard-drawer-body { padding: 16px 17px 24px; }
    .dashboard-drawer-footer { align-items: flex-start; flex-direction: column; }
    .dashboard-drawer-footer span { text-align: left; }
    .dashboard-howto { grid-template-columns: 1fr; }
    .dashboard-drawer-reopen { padding: 12px; }
    .dashboard-drawer-reopen strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-grid *,
    .dashboard-visibility-toggle * { transition: none !important; }
}
