/* Temas claro e escuro. Estilos restritos à central pública de dashboards. */
:root {
    color-scheme: light;
    --bg: #f7f8fa;
    --surface: #fff;
    --text: #202b40;
    --muted: #69758a;
    --border: #e3e7ee;
    --primary: #2858ce;
    --primary-dark: #2049ac;
    --soft-blue: #eff4ff;
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; }
button, a, input { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #4673dd; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 50; background: var(--primary); color: #fff; padding: 12px 20px; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; background: #fffffffa; border-bottom: 1px solid var(--border); backdrop-filter: blur(15px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-symbol { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: var(--primary); border-radius: 9px; }
.brand-symbol .icon { width: 21px; height: 21px; stroke-width: 1.7; }
.brand-name { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.brand-name > span { display: block; font-size: 10px; font-weight: 500; letter-spacing: 1.9px; margin-top: 3px; text-transform: uppercase; color: var(--muted); }
.header-nav { display: flex; align-self: stretch; align-items: center; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 7px; background: var(--soft-blue); color: #284f9c; font-size: 12px; font-weight: 600; }
.nav-link .icon { width: 16px; height: 16px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; color: #58657a; background: var(--surface); font-size: 12px; font-weight: 500; }
.theme-toggle:hover { background: var(--soft-blue); border-color: #b7c7e7; }
.theme-toggle .icon { width: 17px; height: 17px; }
.theme-toggle .theme-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-sun { display: block; }
.workspace-label { display: inline-flex; align-items: center; gap: 9px; color: #566177; font-size: 12px; }
.workspace-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #edf0f5; color: #5c6980; font-size: 9px; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; min-height: 42px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 600; transition: background .16s, border-color .16s; }
.button .icon { width: 16px; height: 16px; }
.button-admin, .button-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 2px 3px #2858ce0c; }
.button-admin:hover, .button-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button-admin .admin-arrow { width: 14px; height: 14px; margin-left: 5px; opacity: .85; }
.button-secondary { background: #fff; color: var(--text); border-color: #d2d9e6; }
.button-secondary:hover { background: #f2f5fa; border-color: #acb9cd; }
.main-content { padding-top: 27px; }
.main-content:focus { outline: none; }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #69758a; font-size: 11px; }
.breadcrumb .icon { width: 13px; height: 13px; color: #8894a6; }
.breadcrumb > :last-child { color: #4e5b70; }
.breadcrumb > :nth-child(3) { color: #a9b2bf; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0 29px; }
h1 { color: #1a263c; font-size: clamp(27px, 3vw, 35px); font-weight: 650; line-height: 1.2; letter-spacing: -1.1px; }
h1 > span { color: var(--primary); }
.hero-copy > p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.hero-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 12px; font-weight: 600; color: var(--primary); flex-shrink: 0; }
.hero-link .icon { width: 17px; height: 17px; }
.hero-link:hover { color: var(--primary-dark); }
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.summary-card { padding: 18px 22px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; min-width: 0; box-shadow: 0 2px 3px #172b4d02; }
.summary-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #58657a; font-size: 12px; font-weight: 500; }
.summary-icon { display: grid; place-items: center; width: 30px; height: 30px; color: #426bc3; background: var(--soft-blue); border-radius: 7px; flex-shrink: 0; }
.summary-icon .icon { width: 17px; height: 17px; }
.summary-icon.neutral { background: #f3f5f8; color: #758198; }
.summary-bottom { display: flex; align-items: baseline; gap: 13px; margin-top: 8px; }
.summary-bottom > strong { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.summary-bottom > span { font-size: 11px; line-height: 1.5; color: #69758a; }
.summary-admin { transition: border-color .16s, background .16s; }
.summary-admin:hover { background: #fcfdff; border-color: #b3c3e5; }
.summary-admin .summary-bottom { align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.summary-admin .summary-bottom strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.3px; }
.summary-admin .summary-bottom div > span { display: block; color: #69758a; font-size: 11px; margin-top: 4px; }
.summary-arrow { color: var(--primary) !important; }
.summary-arrow .icon { width: 18px; height: 18px; }
.collection { margin-top: 35px; scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.section-title-row { display: flex; align-items: center; gap: 9px; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -.5px; line-height: 1.4; }
.count-badge { display: grid; place-items: center; min-width: 24px; height: 23px; padding: 0 6px; background: #eaedf3; color: #5a6980; border-radius: 5px; font-size: 11px; font-weight: 500; }
.section-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 12px; width: 300px; min-height: 43px; background: #fff; border: 1px solid #dbe1ea; border-radius: 7px; color: #8090a8; }
.search-box:focus-within { border-color: #6c8edb; box-shadow: 0 0 0 3px #2858ce0d; }
.search-box > .icon { width: 17px; height: 17px; }
.search-box input { width: 100%; min-width: 0; flex: 1; height: 43px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.search-box input::placeholder { color: #69758a; opacity: 1; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-shortcut { background: #f9fafc; border: 1px solid #e0e5ed; border-radius: 4px; padding: 0 5px; font-family: inherit; font-size: 11px; line-height: 18px; color: #8a94a5; }
.search-clear { display: grid; place-items: center; min-width: 28px; min-height: 32px; padding: 0; background: transparent; color: #637189; }
.search-clear .icon { width: 15px; height: 15px; }
.collection-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 21px 0 19px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.category-filters { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 37px; max-width: 100%; padding: 8px 12px; border-radius: 6px; background: transparent; border: 1px solid transparent; color: #657289; font-size: 12px; font-weight: 500; text-align: left; overflow-wrap: anywhere; transition: background .16s, border-color .16s; }
.filter-button > span { color: #7c8799; font-size: 10px; }
.filter-button:hover { background: #eceff4; }
.filter-button.is-active { color: #244fae; background: #edf2fd; border-color: #dbe5fc; }
.filter-button.is-active > span { padding: 0 5px; color: #345dad; background: #dce7fc; border-radius: 4px; }
.view-control { display: flex; flex-shrink: 0; padding: 3px; border-radius: 7px; background: #eef1f5; border: 1px solid #e1e6ee; }
.view-button { display: grid; place-items: center; width: 33px; height: 29px; background: transparent; color: #7c899f; border-radius: 4px; }
.view-button .icon { width: 15px; height: 15px; }
.view-button.is-active { background: #fff; color: #315fbe; box-shadow: 0 1px 3px #24365615; }
.view-button:hover { color: var(--primary); }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 19px; }
.dashboard-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 22px 24px 0; background: #fff; border: 1px solid #e0e5ed; border-radius: 11px; box-shadow: 0 2px 3px #172b4d02; transition: border-color .18s, box-shadow .18s, transform .18s; }
.dashboard-card:hover { border-color: #a5bde8; box-shadow: 0 7px 22px #213b7310; transform: translateY(-2px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #4167ae; background: #eef3fc; }
.tone-cyan .card-icon, .tone-mint .card-icon { background: #edf5f6; color: #407b85; }
.tone-amber .card-icon, .tone-rose .card-icon { background: #f2f1f8; color: #6f6493; }
.card-icon .icon { width: 23px; height: 23px; }
.active-label { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 500; color: #377959; padding: 3px 8px; border-radius: 5px; background: #f0f8f3; }
.active-label > span { width: 4px; height: 4px; border-radius: 50%; background: #4e9a70; }
.card-copy { flex: 1; padding-top: 20px; min-width: 0; }
.card-category { display: block; color: #69758a; text-transform: uppercase; font-size: 9px; font-weight: 600; letter-spacing: 1.3px; overflow-wrap: anywhere; }
.card-copy h3 { font-size: 18px; font-weight: 600; letter-spacing: -.45px; line-height: 1.4; margin-top: 5px; overflow-wrap: anywhere; }
.card-copy p { font-size: 12px; color: var(--muted); line-height: 1.75; margin: 9px 0 21px; overflow-wrap: anywhere; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; border-top: 1px solid #edf0f5; font-size: 11px; font-weight: 600; color: #3159a8; }
.card-arrow { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 6px; color: #6481b6; transition: background .18s, color .18s; }
.card-arrow .icon { width: 17px; height: 17px; }
.dashboard-card:hover .card-arrow { background: var(--soft-blue); color: var(--primary); }
.dashboard-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.is-list .dashboard-card { display: grid; grid-template-columns: 78px minmax(0, 1fr) 160px; gap: 20px; align-items: center; padding: 18px 22px; }
.is-list .card-top { flex-direction: column; gap: 8px; }
.is-list .card-copy { padding-top: 0; }
.is-list .card-copy p { margin-bottom: 0; }
.is-list .card-footer { border-top: 0; border-left: 1px solid #e8ecf3; padding-left: 20px; }
.collection-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 19px; color: #69758a; font-size: 10px; }
.collection-bottom > span { display: inline-flex; align-items: center; gap: 6px; }
.collection-bottom .icon { width: 13px; height: 13px; }
.empty-state { margin-top: 24px; padding: 46px 24px; background: #fff; border: 1px dashed #cad4e5; border-radius: 10px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 13px; margin: 0 auto 17px; background: var(--soft-blue); color: #5073b8; }
.empty-state h3 { font-size: 18px; font-weight: 600; }
.empty-state p { max-width: 430px; margin: 10px auto 21px; color: var(--muted); line-height: 1.8; font-size: 13px; }
.help-strip { display: flex; align-items: center; gap: 15px; padding: 22px 24px; margin: 32px 0; background: #eef2f8; border: 1px solid #e1e7f0; border-radius: 9px; }
.help-icon { width: 38px; height: 38px; border: 1px solid #dce3ee; border-radius: 9px; display: grid; place-items: center; background: #fff; color: #6c83a8; flex-shrink: 0; }
.help-icon .icon { width: 19px; height: 19px; }
.help-strip strong { font-weight: 600; font-size: 12px; color: #43516a; }
.help-strip p { color: #69758a; font-size: 11px; margin-top: 4px; }
.help-strip > a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-left: auto; min-height: 42px; padding: 9px 0 9px 12px; font-size: 11px; font-weight: 600; color: #3c5e9d; flex-shrink: 0; }
.help-strip > a:hover { color: var(--primary); }
.help-strip > a .icon { width: 15px; height: 15px; }
.site-footer { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid #e0e5ed; padding-block: 21px 25px; font-size: 10px; color: #69758a; }
.site-footer strong { font-weight: 500; color: #617089; }
@media screen {
    :root[data-theme="dark"] {
        color-scheme: dark;
        --bg: #10151e;
        --surface: #19212d;
        --text: #edf1f8;
        --muted: #a8b4c7;
        --border: #2d3849;
        --primary: #8db3ff;
        --primary-dark: #b4ceff;
        --soft-blue: #233450;
    }
    [data-theme="dark"] :focus-visible { outline-color: #8db3ff; }
    [data-theme="dark"] .site-header { background: #151c27fa; }
    [data-theme="dark"] .brand-symbol, [data-theme="dark"] .skip-link { background: #3466d1; }
    [data-theme="dark"] .nav-link { color: #b1cbff; }
    [data-theme="dark"] .workspace-label { color: #b4c0d2; }
    [data-theme="dark"] .workspace-avatar { background: #253142; color: #bcc8dd; }
    [data-theme="dark"] .theme-toggle { color: #c2cee2; }
    [data-theme="dark"] .theme-toggle:hover { border-color: #5975a1; }
    [data-theme="dark"] .button-admin, [data-theme="dark"] .button-primary { background: #3466d1; border-color: #4779df; }
    [data-theme="dark"] .button-admin:hover, [data-theme="dark"] .button-primary:hover { background: #3d71df; border-color: #6392ed; }
    [data-theme="dark"] .button-secondary { background: var(--surface); border-color: #465671; }
    [data-theme="dark"] .button-secondary:hover { background: #233148; border-color: #6a85ae; }
    [data-theme="dark"] h1 { color: #f1f4fc; }
    [data-theme="dark"] .breadcrumb, [data-theme="dark"] .breadcrumb .icon { color: var(--muted); }
    [data-theme="dark"] .breadcrumb > :last-child { color: #c0cbe0; }
    [data-theme="dark"] .summary-top { color: #b6c2d5; }
    [data-theme="dark"] .summary-icon { color: #a2c0fa; }
    [data-theme="dark"] .summary-icon.neutral { background: #263143; color: #aebdd5; }
    [data-theme="dark"] .summary-bottom > span, [data-theme="dark"] .summary-admin .summary-bottom div > span { color: var(--muted); }
    [data-theme="dark"] .summary-admin:hover { background: #1e2939; border-color: #5472a0; }
    [data-theme="dark"] .count-badge { background: #293448; color: #c0cee3; }
    [data-theme="dark"] .search-box { background: var(--surface); border-color: var(--border); color: #a7b8d0; }
    [data-theme="dark"] .search-box:focus-within { border-color: #7ba4f4; box-shadow: 0 0 0 3px #7ba4f417; }
    [data-theme="dark"] .search-box input::placeholder, [data-theme="dark"] .search-clear { color: var(--muted); }
    [data-theme="dark"] .search-shortcut { background: #202b3c; border-color: #3b4a62; color: #aebbd1; }
    [data-theme="dark"] .filter-button, [data-theme="dark"] .filter-button > span { color: #afbdd3; }
    [data-theme="dark"] .filter-button:hover { background: #253244; }
    [data-theme="dark"] .filter-button.is-active { background: #263c60; border-color: #365588; color: #bed5ff; }
    [data-theme="dark"] .filter-button.is-active > span { background: #3a5279; color: #d1e2ff; }
    [data-theme="dark"] .view-control { background: #151d2a; border-color: #2b3a50; }
    [data-theme="dark"] .view-button { color: #a2b1c8; }
    [data-theme="dark"] .view-button.is-active { background: #2b3e5a; color: #bfd4fc; }
    [data-theme="dark"] .view-button:hover { color: #d6e5ff; }
    [data-theme="dark"] .dashboard-card { background: var(--surface); border-color: var(--border); box-shadow: 0 2px 4px #00000010; }
    [data-theme="dark"] .dashboard-card:hover { border-color: #5c7dac; box-shadow: 0 7px 22px #00000024; }
    [data-theme="dark"] .card-icon { background: #243450; color: #a5c4fb; }
    [data-theme="dark"] .tone-cyan .card-icon, [data-theme="dark"] .tone-mint .card-icon { background: #22383e; color: #9dcdd5; }
    [data-theme="dark"] .tone-amber .card-icon, [data-theme="dark"] .tone-rose .card-icon { background: #322e45; color: #c2b4ea; }
    [data-theme="dark"] .active-label { background: #20382f; color: #9ed3b7; }
    [data-theme="dark"] .active-label > span { background: #78b595; }
    [data-theme="dark"] .card-category, [data-theme="dark"] .collection-bottom { color: var(--muted); }
    [data-theme="dark"] .card-footer { color: #a3c0ff; border-color: #2c3645; }
    [data-theme="dark"] .card-arrow { color: #a3bff1; }
    [data-theme="dark"] .empty-state { background: var(--surface); border-color: #455777; }
    [data-theme="dark"] .empty-icon { color: #aac8fc; }
    [data-theme="dark"] .help-strip { background: #171f2d; border-color: #303d53; }
    [data-theme="dark"] .help-icon { background: #212f45; border-color: #3a4b68; color: #a1b8dd; }
    [data-theme="dark"] .help-strip strong { color: #c5d1e5; }
    [data-theme="dark"] .help-strip p { color: var(--muted); }
    [data-theme="dark"] .help-strip > a { color: #a8c4f6; }
    [data-theme="dark"] .help-strip > a:hover { color: #d0e1ff; }
    [data-theme="dark"] .site-footer { border-color: var(--border); color: var(--muted); }
    [data-theme="dark"] .site-footer strong { color: #bcc9dd; }
}
@media (max-width: 1080px) {
    .shell { width: calc(100% - 64px); }
    .header-inner { gap: 30px; }
    .workspace-label { display: none; }
    .overview, .dashboard-grid { gap: 15px; }
    .summary-card { padding-inline: 18px; }
    .summary-bottom { gap: 9px; }
    .summary-bottom > span { font-size: 10px; }
    .summary-admin .summary-bottom strong { font-size: 14px; }
    .summary-admin .summary-bottom div > span { font-size: 10px; }
    .dashboard-card { padding-inline: 20px; }
}
@media (max-width: 850px) {
    .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .summary-admin { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding-block: 13px; }
    .summary-admin .summary-top { flex-direction: row-reverse; justify-content: flex-end; font-size: 11px; }
    .summary-admin .summary-bottom { flex: 1; margin: 0; }
    .summary-admin .summary-bottom strong { font-size: 12px; }
    .summary-admin .summary-bottom div > span { display: none; }
    .hero-link { display: none; }
    .help-strip { flex-wrap: wrap; }
    .search-box { width: 265px; }
}
@media (max-width: 640px) {
    html { scroll-padding-top: 84px; }
    .shell { width: calc(100% - 40px); }
    .header-inner { min-height: 70px; gap: 12px; }
    .header-actions { gap: 8px; }
    .theme-toggle { width: 40px; padding-inline: 0; flex-shrink: 0; }
    .theme-toggle > span { display: none; }
    .brand { gap: 9px; }
    .brand-symbol { width: 32px; height: 32px; border-radius: 8px; }
    .brand-symbol .icon { width: 19px; height: 19px; }
    .brand-name { font-size: 14px; }
    .brand-name > span { font-size: 8px; letter-spacing: 1.8px; }
    .header-nav, .button-admin .admin-arrow { display: none; }
    .button-admin { min-height: 42px; font-size: 11px; padding-inline: 12px; gap: 6px; }
    .button-admin .icon { width: 14px; height: 14px; }
    .main-content { padding-top: 21px; }
    .breadcrumb { font-size: 10px; }
    .hero { padding: 23px 0 23px; }
    h1 { font-size: clamp(25px, 6.8vw, 32px); letter-spacing: -.9px; }
    .hero-copy > p { font-size: 13px; max-width: 320px; margin-top: 8px; }
    .overview { gap: 11px; }
    .summary-card { padding: 14px 15px; border-radius: 8px; }
    .summary-top { font-size: 10px; gap: 7px; }
    .summary-icon { width: 26px; height: 26px; border-radius: 6px; }
    .summary-icon .icon { width: 15px; height: 15px; }
    .summary-bottom { margin-top: 7px; display: block; }
    .summary-bottom > strong { font-size: 28px; }
    .summary-bottom > span { display: block; font-size: 9px; margin-top: 4px; }
    .summary-admin { padding-block: 11px; gap: 14px; }
    .summary-admin .summary-top { font-size: 10px; }
    .summary-admin .summary-top > .summary-icon { display: none; }
    .summary-admin .summary-bottom { display: flex; }
    .summary-admin .summary-bottom strong { font-size: 11px; }
    .summary-admin .summary-bottom > span { margin: 0; }
    .summary-arrow .icon { width: 16px; height: 16px; }
    .collection { margin-top: 29px; }
    .section-heading { align-items: stretch; flex-direction: column; gap: 17px; }
    h2 { font-size: 20px; }
    .section-heading p { font-size: 12px; }
    .search-box { width: 100%; min-height: 46px; }
    .search-box input { font-size: 16px; height: 46px; }
    .search-box input::placeholder { font-size: 13px; }
    .search-shortcut { display: none; }
    .search-clear { min-width: 32px; min-height: 40px; }
    .collection-toolbar { margin-block: 13px 17px; padding-bottom: 13px; gap: 9px; }
    .filter-button { font-size: 11px; min-height: 44px; padding-inline: 10px; gap: 6px; }
    .view-button { width: 34px; height: 36px; }
    .dashboard-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 17px; }
    .dashboard-card { padding: 21px 22px 0; }
    .card-copy { padding-top: 17px; }
    .card-copy h3 { font-size: 18px; }
    .card-copy p { font-size: 13px; }
    .card-category { font-size: 9px; }
    .card-footer { min-height: 55px; font-size: 12px; }
    .active-label { font-size: 10px; }
    .is-list .dashboard-card { grid-template-columns: 41px minmax(0, 1fr) 25px; gap: 12px; padding: 17px 14px; }
    .is-list .card-icon { width: 36px; height: 36px; border-radius: 8px; }
    .is-list .card-icon .icon { width: 20px; height: 20px; }
    .is-list .active-label { font-size: 8px; padding-inline: 4px; gap: 3px; }
    .is-list .card-copy h3 { font-size: 15px; }
    .is-list .card-copy p { font-size: 11px; margin-top: 5px; }
    .is-list .card-category { font-size: 8px; letter-spacing: .7px; }
    .is-list .card-footer { border: 0; padding: 0; min-height: 44px; }
    .is-list .card-footer > span:first-child { display: none; }
    .collection-bottom { font-size: 11px; }
    .collection-bottom > span { display: none; }
    .help-strip { margin-block: 27px; padding: 18px; gap: 11px; align-items: flex-start; }
    .help-strip > div { flex: 1; min-width: 0; }
    .help-strip p { line-height: 1.7; }
    .help-strip > a { width: 100%; margin-left: 0; padding: 8px 0 0 49px; min-height: 44px; justify-content: flex-start; font-size: 12px; }
    .site-footer { flex-direction: column; gap: 6px; font-size: 10px; padding-block: 20px; }
}
@media (max-width: 360px) {
    .shell { width: calc(100% - 28px); }
    .button-admin { padding-inline: 10px; }
    .button-admin > .icon { display: none; }
    .summary-card { padding-inline: 12px; }
    .summary-top { font-size: 9px; }
    .summary-icon { width: 22px; height: 22px; }
    .collection-toolbar { flex-wrap: wrap; }
    .view-control { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
    :root { --bg: #fff; --muted: #444; --border: #ccc; }
    .site-header { position: static; background: #fff; }
    .header-nav, .header-actions, .hero-link, .search-box, .collection-toolbar, .help-strip { display: none !important; }
    .shell { width: 100%; }
    .dashboard-card { break-inside: avoid; box-shadow: none; }
}
