/* Shared dashboard presentation. Scoped to keep the public portal unchanged. */
.dashboard-shell {
    --dashboard-ink: #172844;
    --dashboard-muted: #687b98;
    --dashboard-line: #e4ebf5;
    --dashboard-blue: #355cff;
    --dashboard-purple: #6547ef;
    --dashboard-radius: 16px;
    min-height: 100dvh;
    background: linear-gradient(120deg, #eefbff 0%, #f7faff 53%, #f5f1ff 100%);
    color: var(--dashboard-ink);
    font-family: 'Segoe UI', ui-sans-serif, system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
    color-scheme: light;
}
.dashboard-shell .dashboard-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.dashboard-shell :where(a, button, input, select, textarea, summary) {
    -webkit-tap-highlight-color: transparent;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1), filter 180ms ease;
}
.dashboard-shell :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #829dff;
    outline-offset: 3px;
}
.dashboard-shell button { cursor: pointer; }
.dashboard-shell button:disabled { cursor: not-allowed; opacity: .55; }
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--dashboard-ink);
    border-right: 1px solid var(--dashboard-line);
    z-index: 40;
}
.dashboard-brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
    min-height: 86px;
    margin: 0 20px;
    border-bottom: 1px solid var(--dashboard-line);
}
.dashboard-brand-mark {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--dashboard-blue);
    background: #f0f9ff;
    border: 1px solid #dbeaff;
    border-radius: 12px;
}
.dashboard-brand-mark .dashboard-icon { width: 25px; height: 25px; }
.dashboard-brand strong { display: block; font-size: 17px; letter-spacing: -.5px; }
.dashboard-brand small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .65px; text-transform: uppercase; color: var(--dashboard-muted); }
.dashboard-nav { padding: 20px 12px; flex: 1 0 auto; }
.dashboard-nav-link > span { min-width: 0; overflow-wrap: anywhere; }
.dashboard-nav-label { margin: 0 12px 10px; font-size: 9px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--dashboard-muted); }
.dashboard-nav a {
    display: flex;
    position: relative;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    margin: 4px 0;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #536989;
    font-size: 12px;
    line-height: 1.5;
}
.dashboard-nav a:hover { background: #f6f9ff; color: #294fdf; }
.dashboard-nav a[aria-current='page'], .dashboard-nav a.bg-blue-700 {
    color: #2554eb;
    background: #eff6ff;
    border-color: #d9e8ff;
    font-weight: 600;
}
.dashboard-nav a[aria-current='page']::before, .dashboard-nav a.bg-blue-700::before {
    content: ''; position: absolute; left: 0; top: 12px; bottom: 12px;
    width: 3px; border-radius: 3px; background: #416dff;
}
.dashboard-nav-pending { padding: 12px 13px; color: #71819b; font-size: 12px; }
.dashboard-nav-pending span { color: #7786a0; font-size: 10px; }
.dashboard-sidebar-account {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0;
    margin-top: auto; padding: 20px; border-top: 1px solid var(--dashboard-line);
}
.dashboard-sidebar-account > div { min-width: 0; overflow-wrap: anywhere; }
.dashboard-sidebar-account p:first-child { font-size: 12px; font-weight: 600; }
.dashboard-sidebar-account p + p { color: var(--dashboard-muted); font-size: 10px; margin-top: 2px; }
.dashboard-avatar {
    display: grid; place-items: center; flex: 0 0 auto;
    width: 34px; height: 34px; border-radius: 10px;
    color: #5c65d7; background: #f1f1ff; border: 1px solid #e0e4ff;
}
.dashboard-workspace { min-width: 0; }
.dashboard-topbar {
    min-height: 77px; display: flex; align-items: center; gap: 20px;
    padding: 15px 32px; background: #ffffffeb; border-bottom: 1px solid var(--dashboard-line);
}
.dashboard-page-heading { flex: 1; min-width: 0; }
.dashboard-page-heading p { font-size: 9px; text-transform: uppercase; letter-spacing: .7px; color: var(--dashboard-muted); font-weight: 600; }
.dashboard-page-heading h1 { font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -.6px; overflow-wrap: anywhere; }
.dashboard-topbar-account { display: flex; align-items: center; gap: 9px; max-width: 220px; min-width: 0; color: var(--dashboard-muted); font-size: 12px; }
.dashboard-topbar-account > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.dashboard-topbar > form { flex-shrink: 0; }
.dashboard-logout { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--dashboard-line); border-radius: 8px; font-size: 12px; background: #fff; }
.dashboard-logout:hover { background: #f3f6ff; }
.dashboard-logout:active,
.dashboard-nav-toggle:active,
.dashboard-nav-close:active,
.dashboard-content :where(a, button)[class*='rounded-']:active,
.dashboard-shell button:active:not(:disabled),
.dashboard-shell [role='button']:active:not([aria-disabled='true']) { transform: scale(.97); filter: brightness(.96); }
.dashboard-shell :where(a, button, [role='button'], summary):active:not(:disabled) { filter: brightness(.96); }
.dashboard-shell .dashboard-nav a:active,
.public-shell .public-nav-link:active,
.public-shell .public-account-link:active { transform: scale(.97); }
.public-shell .dashboard-quick-card:active { transform: scale(.99); }
.dashboard-content { width: 100%; max-width: 1440px; margin-inline: auto; padding: 34px 32px 48px; }
.dashboard-content > :where(section, form, div).bg-white,
.dashboard-content :where(section, form).rounded-2xl.bg-white,
.dashboard-content .overflow-x-auto.bg-white {
    border: 1px solid var(--dashboard-line);
    border-radius: var(--dashboard-radius);
    box-shadow: 0 3px 0 #253f7110;
}
.dashboard-content :where(h2, h3) { color: var(--dashboard-ink); letter-spacing: -.45px; text-wrap: pretty; overflow-wrap: anywhere; }
.dashboard-content .grid > *, .dashboard-hero > *, .role-summary-header > *, .role-summary-panel-header > div { min-width: 0; }
.dashboard-content :where(p, dd) { overflow-wrap: anywhere; }
.dashboard-content .text-slate-500 { color: var(--dashboard-muted); }
.dashboard-content .text-slate-600 { color: #61728d; }
.dashboard-content :where(a, button).bg-blue-700 { background: var(--dashboard-blue); color: #fff; }
.dashboard-content :where(a, button).bg-blue-700:hover { background: #2849dc; }
.dashboard-content :where(a, button)[class*='rounded-'] {
    border-radius: 8px; font-size: 13px; font-weight: 600;
}
.dashboard-content :where(a, button).border-slate-300 { border-color: #dce4ef; background: #fff; }
.dashboard-content :where(a, button).border-slate-300:hover { background: #f6f8ff; border-color: #b5c8f0; }
.dashboard-content :where(a, button).dashboard-button-create { background: var(--dashboard-purple); }
.dashboard-content :where(a, button).dashboard-button-create:hover { background: #5236d3; }
.dashboard-content :where(a, button).dashboard-button-export { background: #069c77; }
.dashboard-content :where(a, button).dashboard-button-export:hover { background: #087d62; }
.dashboard-content .dashboard-filter button { background: #1d293d; }
.dashboard-content .dashboard-filter button:hover { background: #34445f; }
.dashboard-content :where(input:not([type='checkbox']):not([type='radio']):not([type='hidden']), select, textarea) {
    min-width: 0; max-width: 100%; min-height: 44px; border: 1px solid #dce4ef;
    border-radius: 8px; padding: 10px 13px; background-color: #fff; font-size: 13px; color: var(--dashboard-ink);
}
.dashboard-content :where(input, textarea)::placeholder { color: #7c8ca6; }
.dashboard-content :where(input, select, textarea):focus { border-color: #7895f6; box-shadow: 0 0 0 3px #355cff0d; }
.dashboard-content textarea { resize: vertical; }
.dashboard-content :where(label, legend) { color: #344660; font-size: 13px; font-weight: 500; }
.dashboard-content input:is([type='checkbox'], [type='radio']) { width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--dashboard-blue); }
.dashboard-content input::file-selector-button { padding: 6px 12px; margin-right: 12px; border: 0; border-radius: 5px; background: #eef3ff; color: #3455c6; font: inherit; cursor: pointer; }
.dashboard-content .overflow-x-auto { overscroll-behavior-x: contain; scrollbar-width: thin; }
.dashboard-data-panel { padding: 24px; background: #fff; border: 1px solid var(--dashboard-line); border-radius: 16px; box-shadow: 0 4px 0 #253f7110; }
.dashboard-content .dashboard-data-panel .overflow-x-auto { border: 0; border-radius: 0; box-shadow: none; }
.dashboard-data-panel > .mt-6:empty { display: none; }
.dashboard-data-panel > p { padding: 4px 0 16px; border-bottom: 1px solid var(--dashboard-line); }
.dashboard-content table { min-width: 650px; border-collapse: collapse; font-size: 12px; }
.dashboard-content thead { background: #fff; color: #71809a; }
.dashboard-content th { padding: 21px 20px 15px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .35px; white-space: nowrap; border-bottom: 1px solid #edf1f7; }
.dashboard-content td { padding: 19px 20px; border-color: #edf1f7; vertical-align: middle; }
.dashboard-content tbody tr:hover { background: #fafcff; }
.dashboard-content td a { color: #6448e5; }
.dashboard-content td[colspan] { padding: 65px 24px; text-align: center; color: var(--dashboard-muted); font-size: 13px; }
.dashboard-content td[colspan]::before { content: ''; display: block; width: 38px; height: 30px; margin: 0 auto 15px; border: 1px solid #d2dff1; border-radius: 7px; background: linear-gradient(#e1e9f7, #e1e9f7) center 11px / 18px 2px no-repeat, linear-gradient(#e1e9f7, #e1e9f7) center 17px / 12px 2px no-repeat, #f7faff; }
.dashboard-content .dashboard-badge,
.dashboard-content span.rounded-full:not([aria-hidden]) {
    display: inline-block; padding: 4px 10px; border-radius: 7px;
    background: #f4efff; color: #7141d5; border: 1px solid #e9ddff;
    font-size: 10px; font-weight: 600; line-height: 1.5;
}
.dashboard-content span.bg-emerald-50 { background: #eafaf3; border-color: #d4f1e4; color: #168066; }
.dashboard-badge[data-status='disetujui'], .dashboard-badge[data-status='selesai'], .dashboard-badge[data-status='dikirim'] { background: #eafaf3; border-color: #d4f1e4; color: #168066; }
.dashboard-badge[data-status='draf'] { background: #f1f4f9; border-color: #e2e7ef; color: #60718b; }
.dashboard-badge[data-status='diajukan'], .dashboard-badge[data-status='diproses'] { background: #fff8e9; border-color: #f6e8c7; color: #976313; }
.dashboard-badge[data-status='ditolak'], .dashboard-badge[data-status='spam'], .dashboard-badge[data-status='revisi'] { background: #fff0f1; border-color: #fadbdc; color: #b34c58; }
.dashboard-content :where([role='status'], [role='alert']) { border: 1px solid; border-radius: 12px; font-size: 13px; }
.dashboard-content [role='status'] { background: #ebfaf3; border-color: #cbecdf; color: #246b55; }
.dashboard-content [role='alert'] { background: #fff1f2; border-color: #f5d6da; color: #a0384b; }
.dashboard-content nav[aria-label='Pagination Navigation'] { padding: 5px 0; }
.dashboard-content nav[aria-label='Pagination Navigation'] :where(a, span)[class*='border'] { border-color: var(--dashboard-line); font-size: 12px; }
.dashboard-content nav[aria-label='Pagination Navigation'] :where(a, span)[class*='bg-'] { background: #fff; color: #586c89; }
.dashboard-content nav[aria-label='Pagination Navigation'] [aria-current='page'] > span { background: #eff4ff; color: #3156db; border-color: #d4e0ff; }
.dashboard-content nav[aria-label='Pagination Navigation'] a:hover { background: #f1f5ff; color: #3156db; }
.dashboard-content nav[aria-label='Pagination Navigation'] p { color: var(--dashboard-muted); }
.dashboard-content dl.grid > div { border-bottom: 1px solid #eef2f8; padding-bottom: 16px; }
.dashboard-content dd { font-size: 14px; }
.dashboard-content article.rounded-xl { border-color: var(--dashboard-line); border-radius: 10px; border-left: 3px solid #dce5ff; }
.dashboard-content details summary { padding-block: 5px; }
.dashboard-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr); align-items: center; gap: 36px; min-height: 380px; padding: 48px; border: 1px solid #fff; border-radius: 28px; background: radial-gradient(ellipse at 63% 20%, #dff8ff 0%, transparent 60%), linear-gradient(115deg, #fff 0%, #ecfaff 47%, #ede5ff 100%); box-shadow: 0 5px 0 #263f7010; }
.dashboard-eyebrow { color: #3261c1; font-size: 9px; line-height: 1.5; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; }
.dashboard-hero-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #d5e8ff; border-radius: 7px; background: #ffffffc9; }
.dashboard-hero-label::before { content: ''; height: 6px; width: 6px; border-radius: 50%; background: #20b3e2; }
.dashboard-hero h2 { margin-top: 20px; font-size: clamp(32px, 3.3vw, 52px); font-weight: 750; letter-spacing: -1.8px; line-height: 1.1; }
.dashboard-hero h2 span { display: block; color: #0f1a2a; }
.dashboard-hero-description { margin-top: 21px; max-width: 480px; font-size: 14px; line-height: 1.85; color: #6982a4; }
.dashboard-hero-role { display: flex; align-items: center; gap: 7px; margin-top: 23px; color: #3a5f9d; font-size: 12px; }
.dashboard-hero-art { position: relative; transform: rotate(-4deg); padding: 20px; background: #ffffffcc; border: 7px solid #ffffff8f; border-radius: 22px; box-shadow: 10px 12px 0 #728bda12; }
.dashboard-art-seal { position: absolute; right: -15px; top: -33px; display: grid; place-items: center; width: 62px; height: 62px; background: #7860fa; color: #fff; border-radius: 50%; }
.dashboard-art-seal .dashboard-icon { width: 30px; height: 30px; }
.dashboard-art-title { margin: 16px 0 18px; font-size: 22px; font-weight: 700; letter-spacing: -.75px; color: #284a7f; }
.dashboard-art-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #e4eafb; font-size: 11px; color: #6b80a0; }
.dashboard-art-row .dashboard-icon { color: #4c7aec; width: 16px; height: 16px; }
.dashboard-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 36px 0 16px; }
.dashboard-section-heading h2 { font-size: 23px; font-weight: 700; letter-spacing: -.8px; }
.dashboard-section-heading > p { color: var(--dashboard-muted); font-size: 11px; }
.dashboard-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dashboard-quick-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-content a.dashboard-quick-card { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: 22px; border: 1px solid #dce7fa; border-radius: 16px; background: #fff; font-weight: 400; }
.dashboard-quick-card:nth-child(2) { border-color: #d9ebf0; }
.dashboard-quick-card:nth-child(3) { border-color: #f1e4da; }
.dashboard-quick-card:nth-child(4) { border-color: #dceddf; }
.dashboard-quick-card > .dashboard-icon { color: #597eeb; margin-bottom: 20px; }
.dashboard-quick-card h2 { font-size: 15px; font-weight: 650; }
.dashboard-quick-card p { margin-top: 8px; color: var(--dashboard-muted); font-size: 12px; line-height: 1.8; }
.dashboard-quick-card > span { display: flex; align-items: center; gap: 8px; padding-top: 18px; margin-top: auto; color: #355bd9; font-size: 11px; font-weight: 600; }
.dashboard-quick-card:hover { border-color: #a3baff; box-shadow: 0 4px 16px #29487708; }
.dashboard-tasks li + li { padding-top: 14px; border-top: 1px solid #f0f3f8; }
.dashboard-report-filter { max-width: 960px; margin-inline: auto; }
.dashboard-report-intro { grid-column: 1 / -1; color: var(--dashboard-muted); font-size: 13px; padding-bottom: 10px; }
.role-summary-dashboard { color: #172844; }
.role-summary-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.role-summary-header h2 { margin-top: 2px; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: -.8px; }
.role-summary-header > p { max-width: 330px; color: #75849b; font-size: 11px; text-align: right; }
.role-summary-kicker { color: #315fc7; font-size: 9px; font-weight: 700; letter-spacing: .65px; line-height: 1.5; text-transform: uppercase; }
.role-summary-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.role-summary-stat { position: relative; min-height: 132px; padding: 22px 21px 20px; overflow: hidden; border: 1px solid #dae5f3; border-radius: 15px; background: #fff; box-shadow: 0 3px 0 #223b6710; }
.role-summary-stat::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: #527cff; opacity: .82; }
.role-summary-stat p { color: #62738d; font-size: 10px; font-weight: 700; letter-spacing: .35px; text-transform: uppercase; }
.role-summary-stat strong { display: block; margin-top: 10px; color: #172844; font-size: 32px; font-weight: 750; line-height: 1.15; letter-spacing: -1px; overflow-wrap: anywhere; }
.role-summary-stat > span { display: block; margin-top: 12px; color: #8290a5; font-size: 10px; }
.role-summary-stat-cyan { border-color: #d7eaf0; }
.role-summary-stat-cyan::before { background: #25b7ca; }
.role-summary-stat-amber { border-color: #eee4d7; }
.role-summary-stat-amber::before { background: #e4a83d; }
.role-summary-stat-green { border-color: #d9e9de; }
.role-summary-stat-green::before { background: #30aa78; }
.role-summary-stat-purple { border-color: #e4def5; }
.role-summary-stat-purple::before { background: #8060d4; }
.role-summary-main-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 20px; align-items: start; margin-top: 24px; }
.role-summary-panel { min-width: 0; border: 1px solid #dfe7f2; border-radius: 17px; background: #fff; box-shadow: 0 3px 0 #223b6710; }
.role-summary-panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 23px 19px; border-bottom: 1px solid #edf1f6; }
.role-summary-panel h3 { margin-top: 2px; color: #172844; font-size: 18px; font-weight: 700; letter-spacing: -.45px; }
.role-summary-panel-header > div > span { display: block; margin-top: 2px; color: #8491a4; font-size: 10px; }
.role-summary-view-all { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 38px; padding: 8px 12px; border: 1px solid #d8e5ff; border-radius: 8px; background: #f3f7ff; color: #315fd2; font-size: 10px; font-weight: 700; }
.role-summary-view-all:hover { border-color: #b8ccfa; background: #eaf1ff; }
.role-summary-view-all .dashboard-icon { width: 14px; height: 14px; }
.role-summary-table-wrap { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.dashboard-content .role-summary-table { width: 100%; min-width: 570px; }
.dashboard-content .role-summary-table th { padding: 15px 22px; font-size: 9px; }
.dashboard-content .role-summary-table td { padding: 18px 22px; }
.dashboard-content .role-summary-table .role-summary-empty { height: 245px; padding: 34px 24px; text-align: center; }
.dashboard-content .role-summary-table .role-summary-empty::before { display: none; }
.role-summary-empty > * { display: block; margin-inline: auto; }
.role-summary-empty-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 13px; border: 1px solid #d9e4f3; border-radius: 12px; background: #f6f9fd; color: #5177d6; }
.role-summary-empty strong { color: #34465f; font-size: 13px; }
.role-summary-empty > span:last-child { margin-top: 4px; color: #8491a4; font-size: 11px; }
.role-summary-map { padding: 22px; }
.role-summary-pulse { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 15px; align-items: center; min-height: 128px; margin-top: 18px; padding: 15px; border: 1px solid #e4eaf3; border-radius: 12px; }
.role-summary-ring { display: grid; place-items: center; align-content: center; width: 84px; height: 84px; border: 8px solid #edf1f6; border-radius: 50%; text-align: center; }
.role-summary-ring strong { color: #3564d5; font-size: 18px; line-height: 1; }
.role-summary-ring span { margin-top: 5px; color: #71819a; font-size: 7px; font-weight: 700; letter-spacing: .25px; text-transform: uppercase; }
.role-summary-pulse-copy strong { display: block; color: #315fc7; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.role-summary-pulse-copy span { display: block; margin-top: 8px; color: #8996a8; font-size: 9px; line-height: 1.65; }
.role-summary-composition { margin-top: 18px; }
.role-summary-composition-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; color: #4d5f79; font-size: 10px; font-weight: 650; }
.role-summary-composition-title small { color: #8b97a9; font-weight: 500; }
.role-summary-progress-group { margin-top: 13px; }
.role-summary-progress-group > div:first-child { display: flex; justify-content: space-between; color: #78879d; font-size: 9px; }
.role-summary-progress-group strong { color: #496dda; font-weight: 650; }
.role-summary-progress-track { height: 4px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: #edf1f5; }
.role-summary-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; }
.role-summary-progress-blue { background: #4f77ff; }
.role-summary-progress-cyan { background: #27b9cc; }
.role-summary-report-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 12px 13px; border: 1px solid #dbe6fa; border-radius: 10px; background: #f5f8ff; color: #315bc6; font-size: 10px; font-weight: 700; }
.role-summary-report-link:hover { border-color: #bdcff2; background: #edf3ff; }
.role-summary-report-link span, .role-summary-report-link small { display: block; }
.role-summary-report-link small { margin-bottom: 1px; color: #8897ad; font-size: 8px; font-weight: 500; }
.role-summary-report-link .dashboard-icon { width: 15px; height: 15px; }
.dashboard-nav-toggle, .dashboard-nav-close { display: none; }
.dashboard-backdrop[hidden] { display: none; }
.dashboard-skip { position: fixed; top: -100px; left: 20px; z-index: 60; padding: 12px 18px; border-radius: 8px; background: #fff; color: #254cce; }
.dashboard-skip:focus { top: 12px; }
@media (min-width: 1024px) {
    .dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; overflow-y: auto; }
    .dashboard-workspace { margin-left: 240px; }
}
@media (max-width: 1279px) {
    .dashboard-hero { padding: 32px; gap: 25px; }
    .dashboard-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-quick-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .role-summary-main-grid { grid-template-columns: minmax(0, 1fr); }
    .role-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .dashboard-topbar { padding: 16px 22px; }
    .dashboard-content { padding: 26px 22px 40px; }
    .dashboard-sidebar-account { margin-top: 0; }
    [data-navigation-ready] .dashboard-sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 87vw); overflow-y: auto; transform: translateX(-105%); visibility: hidden; transition: transform 180ms ease, visibility 180ms ease; }
    [data-navigation-ready].dashboard-navigation-open { overflow: hidden; }
    [data-navigation-ready].dashboard-navigation-open .dashboard-sidebar { transform: translateX(0); visibility: visible; }
    [data-navigation-ready] .dashboard-nav-toggle, [data-navigation-ready] .dashboard-nav-close { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid var(--dashboard-line); border-radius: 9px; background: #fff; }
    .dashboard-nav-close { position: absolute; right: 10px; top: 22px; }
    .dashboard-brand { padding-right: 30px; }
    .dashboard-backdrop { position: fixed; inset: 0; z-index: 30; background: #15284b59; }
    .dashboard-topbar-account { display: none; }
    .role-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .role-summary-main-grid { grid-template-columns: 1fr; }
    .role-summary-map { max-width: none; }
}
@media (max-width: 639px) {
    .dashboard-topbar { gap: 10px; padding: 12px 16px; }
    .dashboard-page-heading p { font-size: 8px; letter-spacing: .25px; }
    .dashboard-page-heading h1 { font-size: 16px; letter-spacing: -.3px; }
    .dashboard-logout { padding: 9px; }
    .dashboard-logout span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .dashboard-content { padding: 20px 16px 32px; }
    .dashboard-data-panel { padding: 18px 14px; }
    .dashboard-hero { grid-template-columns: 1fr; padding: 28px 24px; gap: 32px; border-radius: 22px; min-height: auto; }
    .dashboard-hero h2 { font-size: 36px; letter-spacing: -1.4px; }
    .dashboard-hero-description { font-size: 13px; }
    .dashboard-hero-art { display: none; }
    .dashboard-art-title { font-size: 19px; margin: 10px 0; }
    .dashboard-art-seal { right: -6px; width: 48px; height: 48px; top: -26px; }
    .dashboard-art-row { padding: 7px 0; }
    .dashboard-section-heading { align-items: start; flex-direction: column; gap: 4px; margin-top: 28px; }
    .dashboard-section-heading h2 { font-size: 21px; }
    .dashboard-quick-grid { grid-template-columns: 1fr; gap: 12px; }
    .dashboard-quick-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
    .dashboard-content a.dashboard-quick-card { padding: 20px; }
    .dashboard-quick-card > .dashboard-icon { margin-bottom: 12px; }
    .dashboard-content :where(section, form).p-6 { padding: 20px; }
    .dashboard-content form.flex { width: 100%; }
    .dashboard-content form.flex > :where(input, select) { flex: 1 1 170px; width: 100%; }
    .dashboard-content :where(.flex.gap-3, .flex.gap-4) { flex-wrap: wrap; }
    .dashboard-content :where(button, a).px-6 { padding-inline: 16px; }
    .role-summary-header { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 15px; }
    .role-summary-header h2 { font-size: 22px; }
    .role-summary-header > p { max-width: none; text-align: left; }
    .role-summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .role-summary-stat { min-height: 116px; padding: 18px 16px 16px; }
    .role-summary-stat strong { font-size: 28px; }
    .role-summary-main-grid { gap: 14px; margin-top: 18px; }
    .role-summary-panel-header { align-items: start; padding: 18px; }
    .role-summary-panel h3 { font-size: 17px; }
    .role-summary-view-all { min-height: 36px; padding: 7px 9px; }
    .dashboard-content .role-summary-table .role-summary-empty { text-align: left; }
    .role-summary-empty > * { max-width: min(270px, calc(100vw - 86px)); margin-inline: 0; }
    .role-summary-map { padding: 18px; }
    .role-summary-pulse { grid-template-columns: 74px minmax(0, 1fr); padding: 12px; }
    .role-summary-ring { width: 74px; height: 74px; border-width: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .dashboard-shell *, .dashboard-shell *::before { transition: none !important; scroll-behavior: auto !important; }
    .dashboard-shell :where(a, button, [role='button'], summary):active { transform: none !important; filter: none !important; }
}
@media print {
    .dashboard-print-tools { display: none !important; }
    .dashboard-content .dashboard-print-report { padding: 0; border: 0; box-shadow: none; }
    .dashboard-print-report table { table-layout: fixed; }
    .dashboard-content .dashboard-print-report :where(th, td) { padding: 7px; white-space: normal; overflow-wrap: anywhere; border: 1px solid #cbd5e1; }
    .dashboard-print-report tr { break-inside: avoid; }
    .dashboard-sidebar, .dashboard-topbar, .dashboard-skip, .dashboard-backdrop { display: none !important; }
    .dashboard-workspace { margin: 0; }
    .dashboard-shell { background: #fff; }
    .dashboard-content { max-width: none; padding: 0; }
    .dashboard-content .overflow-x-auto { overflow: visible; }
    .dashboard-content table { min-width: 0; }
}
