@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #17233c;
  --muted: #77829a;
  --line: #e8ecf3;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --navy: #1f3a68;
  --blue: #3f78e9;
  --blue-chart: #2457b8;
  --blue-wash: #edf4ff;
  --violet: #7a67d8;
  --orange: #e89a50;
  --green: #3cad83;
  --teal: #28a6a0;
  --shadow: 0 16px 36px rgba(35, 54, 91, 0.07);
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: 'DM Sans', sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; display: flex; flex-direction: column; width: 252px; height: 100vh; padding: 28px 16px 18px; color: #dfe8f8; background: var(--navy); }
.brand-block { display: flex; align-items: center; gap: 12px; padding: 0 12px 30px; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: var(--navy); background: #f3c37d; font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; }
.brand-block strong { display: block; color: #fff; font-family: 'Manrope', sans-serif; letter-spacing: .08em; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.sidebar .eyebrow { margin-bottom: 3px; color: #91a9ca; }
.accent { color: var(--blue); }
.sidebar-label { padding: 0 14px 10px; color: #8ca1c0; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: grid; gap: 5px; margin-bottom: 25px; }
.nav-item { display: flex; align-items: center; gap: 13px; width: 100%; padding: 11px 13px; border: 0; border-radius: 10px; color: #afc0db; background: transparent; font-size: 13px; text-align: left; transition: .2s ease; }
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(255,255,255,.11); }
.nav-item.active { box-shadow: inset 3px 0 var(--orange); }
.nav-icon { display: inline-grid; width: 18px; place-items: center; color: #8da8d1; font-size: 18px; line-height: 1; }
.nav-item.active .nav-icon { color: #f3c37d; }
.sidebar-footer { margin-top: auto; }
.support-card { display: flex; gap: 10px; align-items: center; padding: 12px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.06); }
.support-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #5bd29d; box-shadow: 0 0 0 4px rgba(91,210,157,.12); }
.support-card strong, .profile-mini strong { display: block; color: #f2f6fc; font-size: 11px; font-weight: 600; }
.support-card small, .profile-mini small { display: block; margin-top: 3px; color: #91a9ca; font-size: 10px; }
.profile-mini { display: flex; align-items: center; gap: 9px; padding: 10px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.logout-button { order: 3; padding: 0; border: 0; color: #a8b8d2; background: transparent; font-size: 10px; }
.avatar, .activity-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--navy); background: #f3c37d; font-size: 10px; font-weight: 700; }
.profile-mini > div:nth-child(2) { min-width: 0; flex: 1; }
.icon-button, .notification-button, .modal-close { border: 0; color: var(--muted); background: transparent; }
.profile-mini .icon-button { color: #a8b8d2; }
.main-content { width: calc(100% - 252px); min-height: 100vh; margin-left: 252px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 4.2%; border-bottom: 1px solid var(--line); background: var(--surface); }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: #a1aabd; font-size: 12px; }
.breadcrumb b { color: #d2d7e1; font-weight: 400; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.notification-button { position: relative; color: var(--ink); font-size: 21px; transform: rotate(-25deg); }
.notification-button i { position: absolute; top: 2px; right: 0; width: 6px; height: 6px; border: 2px solid white; border-radius: 50%; background: #e27871; }
.topbar-date { padding-left: 22px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.topbar-logout-button { padding: 7px 11px; border: 1px solid #dfe5ef; border-radius: 7px; color: var(--navy); background: #fff; font-size: 10px; font-weight: 700; }
.topbar-logout-button:hover { border-color: var(--blue); color: var(--blue); }
.role-chip { padding: 6px 9px; border-radius: 6px; color: var(--blue); background: var(--blue-wash); font-size: 10px; font-weight: 700; }
.province-chip { padding: 6px 9px; border-radius: 6px; color: #2a9c70; background: #e8f8f0; font-size: 10px; font-weight: 700; }
.menu-toggle { display: none; border: 0; color: var(--ink); background: transparent; font-size: 22px; }
.content-wrap { max-width: 1500px; padding: 38px 4.2% 50px; margin: auto; }
.page-section { display: none; animation: appear .25s ease; }
.page-section.active { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: 'Manrope', sans-serif; }
h1 { margin-bottom: 8px; font-size: clamp(27px, 3vw, 34px); letter-spacing: -.04em; }
h2 { margin-bottom: 0; font-size: 16px; letter-spacing: -.025em; }
.page-heading p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.primary-button, .secondary-button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 16px; border-radius: 8px; font-size: 12px; font-weight: 600; transition: .2s ease; }
.primary-button { border: 1px solid var(--navy); color: #fff; background: var(--navy); box-shadow: 0 7px 15px rgba(31,58,104,.15); }
.primary-button:hover { background: #284b84; transform: translateY(-1px); }
.secondary-button { border: 1px solid #dce3ef; color: var(--ink); background: #fff; }
.secondary-button:hover, .ghost-button:hover { border-color: var(--blue); color: var(--blue); }
.ghost-button { min-height: auto; padding: 0; border: 0; color: var(--blue); background: transparent; }
.province-tabs { display: flex; gap: 7px; padding: 4px; width: fit-content; margin-bottom: 19px; border-radius: 9px; background: #ebeff6; }
.dashboard-province-filter { display: flex; align-items: center; gap: 10px; padding: 2px 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
.dashboard-province-filter select { min-width: 230px; height: 34px; padding: 0 30px 0 10px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.dashboard-province-filter select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,120,233,.1); }
.province-tab { padding: 8px 14px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 600; }
.province-tab.active { color: var(--navy); background: #fff; box-shadow: 0 2px 7px rgba(31,58,104,.08); }
.metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 13px; }
.metric-card, .panel, .role-card, .feature-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 5px 18px rgba(35,54,91,.025); }
.metric-card { min-height: 135px; padding: 17px; }
#metricsGrid.admin-dashboard-metrics .metric-card { position: relative; overflow: hidden; isolation: isolate; border: 1px solid #e1e9f6; border-top: 3px solid #3f78e9; box-shadow: 0 10px 24px rgba(45, 86, 155, .12), 0 2px 5px rgba(45, 86, 155, .08); transition: transform .2s ease, box-shadow .2s ease; }
#metricsGrid.admin-dashboard-metrics .metric-card::before { content: ''; position: absolute; z-index: -1; top: 0; left: 14px; right: 14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); }
#metricsGrid.admin-dashboard-metrics .metric-card::after { content: ''; position: absolute; z-index: -1; top: -35%; left: 12%; width: 58%; height: 180%; background: linear-gradient(108deg, transparent 35%, rgba(255,255,255,.48) 48%, transparent 61%); transform: rotate(5deg); pointer-events: none; opacity: .55; }
#metricsGrid.admin-dashboard-metrics .metric-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(45, 86, 155, .17), 0 3px 7px rgba(45, 86, 155, .1); }
.metric-top, .metric-bottom { display: flex; align-items: center; }
.metric-top { justify-content: space-between; gap: 6px; min-height: 30px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.metric-icon, .empty-icon, .feature-icon, .role-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 8px; font-size: 17px; }
.blue { color: #477fe7; background: #eaf2ff; }.violet { color: #7765d2; background: #f0edff; }.orange { color: #d4853d; background: #fff1e1; }.green { color: #2a9c70; background: #e8f8f0; }.teal { color: #218e89; background: #e5f8f7; }
.metric-value { display: block; margin: 12px 0 11px; color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 29px; letter-spacing: -.06em; }
.metric-bottom { flex-wrap: wrap; gap: 5px; font-size: 10px; }
.metric-bottom small { color: #a1aabd; }
.metric-bottom em { width: 100%; margin-top: 4px; color: #a1aabd; font-size: 10px; font-style: normal; }
.trend { font-weight: 700; }.positive { color: #2d9e75; }.negative { color: #d45b5b; }.neutral { color: #7b879d; }
.dashboard-lower-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; margin-top: 15px; }
.panel { padding: 21px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.pipeline-list { display: grid; gap: 17px; }
.pipeline-row { display: grid; grid-template-columns: 150px 40px minmax(100px, 1fr) 37px; gap: 13px; align-items: center; color: var(--muted); font-size: 11px; }
.pipeline-label { display: flex; align-items: center; gap: 9px; }.pipeline-dot { width: 8px; height: 8px; border-radius: 50%; }.pipeline-dot.blue { background: var(--blue); }.pipeline-dot.violet { background: var(--violet); }.pipeline-dot.orange { background: var(--orange); }.pipeline-dot.green { background: var(--green); }.pipeline-dot.teal { background: var(--teal); }
.pipeline-row strong { color: var(--ink); font-size: 12px; }.pipeline-row small { color: #a1aabd; text-align: right; }
.progress, .doc-progress { overflow: hidden; height: 6px; border-radius: 10px; background: #edf0f5; }.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #719af0, #3f78e9); }
.activity-list { display: grid; gap: 18px; }.activity-item { display: flex; gap: 11px; align-items: flex-start; }.activity-avatar { width: 32px; height: 32px; }.activity-avatar.violet { color: #7765d2; background: #f0edff; }.activity-avatar.orange { color: #d4853d; background: #fff1e1; }.activity-item strong { display: block; margin-bottom: 3px; font-size: 11px; }.activity-item p { margin-bottom: 3px; color: #65728a; font-size: 11px; }.activity-item small { color: #a1aabd; font-size: 10px; }
.heading-stat { display: grid; gap: 4px; text-align: right; }.heading-stat strong { font-family: 'Manrope', sans-serif; font-size: 27px; letter-spacing: -.05em; }.heading-stat span { color: var(--muted); font-size: 11px; }
.table-tools { display: flex; gap: 8px; align-items: center; }.search-box { display: flex; align-items: center; gap: 6px; min-width: 190px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; color: #9ba6b9; }.search-box input { width: 100%; height: 34px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; min-width: 620px; } th { padding: 11px 10px; border-bottom: 1px solid var(--line); color: #a0aabc; font-size: 10px; font-weight: 600; text-align: left; } td { padding: 15px 10px; border-bottom: 1px solid #f0f2f6; color: #68758c; font-size: 11px; } td strong { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 600; } td small { display: block; color: #a1aabd; font-size: 10px; }.doc-progress { width: 90px; margin-bottom: 5px; }.doc-progress i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }.status { display: inline-flex; padding: 5px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; }.status.success { color: #23805f; background: #e8f8f0; }.status.warning { color: #ae712e; background: #fff2df; }.status.neutral { color: #63718a; background: #eef1f6; }.row-action { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 600; }
.empty-panel { display: grid; min-height: 310px; place-items: center; align-content: center; text-align: center; }.empty-panel .empty-icon { margin-bottom: 15px; width: 48px; height: 48px; font-size: 24px; }.empty-panel h2 { margin-bottom: 10px; }.empty-panel p { max-width: 390px; margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.follow-up-grid, .roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.feature-card { min-height: 240px; padding: 25px; }.feature-card.blue-wash { background: linear-gradient(145deg, #fff 10%, #f2f7ff); }.feature-card.green-wash { background: linear-gradient(145deg, #fff 10%, #f0fbf6); }.feature-icon { width: 42px; height: 42px; margin-bottom: 25px; font-size: 21px; }.feature-card .eyebrow { margin-bottom: 10px; }.feature-card h2 { margin-bottom: 10px; font-size: 19px; }.feature-card p { max-width: 370px; color: var(--muted); font-size: 12px; line-height: 1.6; }.text-button { margin-top: 14px; padding: 0; border: 0; color: var(--navy); background: transparent; font-size: 11px; font-weight: 700; }.text-button span { margin-left: 7px; color: var(--blue); font-size: 16px; }
.roles-grid { grid-template-columns: repeat(3, 1fr); }.role-card { padding: 22px; }.role-icon { margin-bottom: 20px; }.role-card h2 { margin-bottom: 9px; font-size: 16px; }.role-card p { min-height: 38px; margin-bottom: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }.role-count { color: var(--blue); font-size: 10px; font-weight: 700; }
.user-admin-layout, .personal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 15px; margin-top: 16px; }.user-management-panel, .access-log-panel { min-height: 250px; }.managed-user-list, .log-list { display: grid; gap: 10px; }.managed-user-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #eef1f5; border-radius: 9px; }.managed-user-info { min-width: 0; flex: 1; }.managed-user-info strong, .log-row strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }.managed-user-info small, .log-row small { display: block; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.user-status-toggle { padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 10px; font-weight: 700; }.log-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #f0f2f6; }.log-row:last-child { border-bottom: 0; }.log-row > div { min-width: 0; flex: 1; }.log-row em { color: #a1aabd; font-size: 9px; font-style: normal; }.log-indicator { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }.log-indicator.success { background: var(--green); }.log-indicator.danger { background: #e27871; }.personal-user-view { margin-top: 16px; }.password-change-form { display: grid; gap: 13px; }.password-change-form label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 600; }.password-change-form input { width: 100%; height: 37px; padding: 0 10px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }.password-change-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,120,233,.1); }.password-change-form .primary-button { margin-top: 5px; }
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(17, 31, 57, .45); }.modal-backdrop[hidden] { display: none; }.modal { position: relative; width: min(100%, 420px); padding: 29px; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(12,27,52,.2); }.modal-close { position: absolute; top: 15px; right: 17px; font-size: 25px; line-height: 1; }.modal h2 { margin-bottom: 8px; font-size: 22px; }.modal > p { margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.5; }.modal form { display: grid; gap: 15px; }.modal label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 600; }.modal input, .modal select { width: 100%; height: 39px; padding: 0 11px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }.modal input:focus, .modal select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,120,233,.1); }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 9px; }.toast { position: fixed; z-index: 60; right: 25px; bottom: 25px; padding: 12px 17px; border-radius: 8px; color: white; background: var(--navy); box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }.toast.show { opacity: 1; transform: translateY(0); }

.user-province-fieldset { padding: 14px; border: 1px solid var(--line); border-radius: 8px; }.user-province-fieldset legend { padding: 0 5px; color: var(--ink); font-size: 11px; font-weight: 700; }.user-province-fieldset p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }.user-province-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 220px; padding-right: 5px; overflow-y: auto; }.user-province-options label { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fbfcfe; font-size: 11px; font-weight: 500; }.user-province-options input { width: auto; height: auto; accent-color: var(--blue); }
@media (max-width: 1150px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); }.dashboard-lower-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 10px 0 28px rgba(15,31,60,.18); }.sidebar.open { transform: translateX(0); }.main-content { width: 100%; margin-left: 0; }.menu-toggle { display: block; }.topbar { gap: 15px; justify-content: flex-start; }.topbar-actions { margin-left: auto; }.topbar-date { display: none; }.content-wrap { padding-top: 28px; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading .primary-button { align-self: flex-start; }.follow-up-grid, .roles-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }.metric-card { padding: 13px; }.metric-top { font-size: 9px; }.metric-value { font-size: 25px; }.province-tabs { width: 100%; overflow-x: auto; }.province-tab { white-space: nowrap; }.panel { padding: 16px; }.panel-heading { flex-direction: column; }.table-tools { width: 100%; }.search-box { min-width: 0; flex: 1; }.pipeline-row { grid-template-columns: 116px 30px minmax(60px, 1fr) 29px; gap: 7px; font-size: 10px; } }
@media (max-width: 800px) { .user-admin-layout, .personal-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .managed-user-row { flex-wrap: wrap; }.managed-user-info { min-width: calc(100% - 55px); }.managed-user-row .status { margin-left: 42px; }.dashboard-province-filter { width: 100%; justify-content: space-between; }.dashboard-province-filter select { min-width: 0; flex: 1; } }
.row-action:disabled, .row-action.completed { color: #7c889c; cursor: default; }
.validator-chart-panel { margin-top: 15px; }.chart-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.chart-legend { display: flex; flex-wrap: wrap; gap: 13px; justify-content: flex-end; color: var(--muted); font-size: 10px; }.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }.legend-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; }.legend-dot.blue { background: var(--blue-chart); }.legend-dot.violet { background: var(--violet); }.legend-dot.orange { background: var(--orange); }.legend-dot.green { background: var(--green); }.chart-scroll { overflow-x: auto; padding-top: 3px; }.chart-scroll svg { display: block; width: 100%; min-width: 620px; height: 290px; }.chart-grid line { stroke: #edf0f5; stroke-width: 1; }.chart-y-labels text, .chart-x-labels text { fill: #a1aabd; font-family: 'DM Sans', sans-serif; font-size: 10px; }.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }.blue-line { stroke: var(--blue-chart); }.violet-line { stroke: var(--violet); }.orange-line { stroke: var(--orange); }.green-line { stroke: var(--green); }
.validator-charts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }.indicator-chart-card { min-width: 0; }.chart-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }.chart-card-heading h2 { font-size: 14px; }.chart-card-province { padding: 5px 8px; border-radius: 6px; color: #2a9c70; background: #e8f8f0; font-size: 9px; font-weight: 700; }.indicator-chart { display: block; width: 100%; height: auto; }.mini-chart-grid line { stroke: #edf0f5; stroke-width: 1; }.mini-chart-bars rect { transition: opacity .2s ease; }.mini-chart-bars rect:hover { opacity: .5; }.mini-chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }.mini-chart-points circle { transition: r .2s ease; }.mini-chart-points circle:hover { r: 5; }.mini-chart-labels text { fill: #a1aabd; font-family: 'DM Sans', sans-serif; font-size: 9px; text-anchor: middle; }.validator-charts-grid + .dashboard-lower-grid { margin-top: 15px; }
.chart-card-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 9px; }.chart-card-legend span { display: inline-flex; align-items: center; gap: 4px; }
.mini-chart-stack-value { fill: #fff; font-family: 'DM Sans', sans-serif; font-size: 8px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.mini-chart-zero-segment { stroke: #fff; stroke-width: 1; }
.legend-dot.current-pending { background: #b45309; }
.legend-dot.current-review { background: #047857; }
.mini-chart-current-value { fill: #b45309; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 700; text-anchor: middle; }
@media (max-width: 800px) { .validator-charts-grid { grid-template-columns: 1fr; } }
.mini-chart-value { fill: #53627b; font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 700; text-anchor: middle; }
.metric-breakdown { display: flex; flex-wrap: wrap; gap: 5px 8px; margin: -4px 0 9px; color: var(--muted); font-size: 9px; line-height: 1.2; }.metric-breakdown span { display: inline-flex; align-items: center; gap: 3px; }.metric-breakdown b { color: var(--ink); font-weight: 700; }.status-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; }.status-dot.pending { background: var(--orange); }.status-dot.completed { background: var(--green); }.status-dot.review { background: var(--violet); }
.identification-form-panel { max-width: 980px; }.identification-form { display: grid; gap: 24px; }.identification-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.identification-form label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 700; }.identification-form label small { display: inline; color: var(--muted); font-size: 10px; font-weight: 500; }.identification-form input, .identification-form select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }.identification-form input:focus, .identification-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,120,233,.1); }.source-fieldset { padding: 0; margin: 0; border: 0; }.source-fieldset legend { padding: 0; margin-bottom: 10px; color: var(--ink); font-size: 11px; font-weight: 700; }.source-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.source-option { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fbfcfe; cursor: pointer; }.source-option:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); }.source-option input { width: 15px; height: 15px; accent-color: var(--blue); }.source-option span { display: block; }.source-option strong { display: block; margin-bottom: 3px; font-size: 11px; }.source-option small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 4px; border-top: 1px solid var(--line); }
.territorial-fieldset { padding: 17px; margin: 0; border: 1px solid var(--line); border-radius: 9px; }.territorial-fieldset legend { padding: 0 7px; color: var(--ink); font-size: 11px; font-weight: 700; }.territorial-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.identification-form select:disabled { color: #a1aabd; background: #f7f8fa; cursor: not-allowed; }
@media (max-width: 800px) { .identification-fields, .source-options, .report-filter-grid, .report-summary-grid { grid-template-columns: 1fr; }.report-range-fields { grid-template-columns: 1fr; } }
.identification-list-panel { max-width: 980px; margin-top: 15px; }
.modal-wide { width: min(100%, 620px); }
.audit-log-list { max-height: 420px; overflow-y: auto; padding-right: 5px; }
.needs-selection { padding: 0; margin: 0; border: 0; }
.needs-selection legend { margin-bottom: 10px; color: var(--ink); font-size: 11px; font-weight: 700; }
.need-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; max-height: 220px; overflow-y: auto; }
.need-option { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; cursor: pointer; }
.need-option:has(input:checked) { border-color: var(--blue); background: var(--blue-wash); }
.need-option input { margin-top: 2px; accent-color: var(--blue); }
.need-option span { display: block; }.need-option strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }.need-option small { display: block; color: var(--muted); font-size: 9px; }
.document-admin-panel { margin-top: 16px; }.document-admin-panel .panel-heading p { max-width: 440px; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }.document-checklist-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--ink); font-size: 11px; }.document-options { display: grid; gap: 8px; max-height: 285px; overflow-y: auto; }.document-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfe; }.document-option > div { min-width: 0; }.document-option strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }.document-option small { display: block; color: var(--muted); font-size: 9px; }.add-document-button { min-width: 32px; padding: 5px 8px; border: 1px solid #dce4f1; border-radius: 6px; color: var(--blue); background: #fff; font-size: 11px; font-weight: 700; }.add-document-button:disabled { color: #23805f; border-color: #cdebdc; background: #e8f8f0; }.selected-documents-panel { padding: 12px; border-radius: 8px; background: #f7f9fc; color: var(--ink); font-size: 11px; }.selected-documents { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }.selected-document { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; color: #2f5fae; background: #eaf1ff; font-size: 10px; }.selected-document button { padding: 0; border: 0; color: inherit; background: transparent; font-size: 15px; line-height: 1; }.empty-selection { color: var(--muted); font-size: 10px; }
.table-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 2px 2px; color: var(--muted); font-size: 10px; }.table-pagination button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--blue); background: #fff; font-size: 10px; font-weight: 700; }.table-pagination button:disabled { color: #aab3c2; background: #f7f8fa; cursor: not-allowed; }
.catalog-actions { white-space: nowrap; }.catalog-action { margin-right: 8px; padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 10px; font-weight: 700; }.catalog-action.danger { color: #d66f6f; }.catalog-action:last-child { margin-right: 0; }
.identification-document-fieldset { padding: 17px; margin: 0; border: 1px solid var(--line); border-radius: 9px; }.identification-document-fieldset legend { padding: 0 7px; color: var(--ink); font-size: 11px; font-weight: 700; }.identification-document-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: var(--ink); font-size: 11px; }
#documentChecklistForm .modal-actions { flex-wrap: wrap; }
.reports-filter-panel { max-width: 980px; }.report-period-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }.report-period-tab { padding: 8px 13px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: 10px; font-weight: 700; }.report-period-tab.active { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }.report-filter-grid { display: grid; grid-template-columns: minmax(0, 240px) 1fr; gap: 16px; align-items: end; }.report-filter-grid label, .report-range-fields label { display: grid; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 700; }.report-filter-grid select, .report-range-fields input { width: 100%; height: 39px; padding: 0 10px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }.report-range-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }.report-range-fields[hidden] { display: none; }.report-range-fields .secondary-button { height: 39px; }.report-export-button { margin-left: 8px; white-space: nowrap; }.report-summary-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 15px; max-width: 980px; margin-top: 15px; }.report-summary-card { min-height: 145px; }.report-summary-card .metric-bottom { margin-top: 12px; }.report-summary-note { display: flex; min-height: 145px; flex-direction: column; justify-content: center; }.report-summary-note h2 { margin: 6px 0 8px; font-size: 17px; }.report-summary-note p { color: var(--muted); font-size: 11px; line-height: 1.5; }.report-table-panel { max-width: 980px; margin-top: 15px; }
.report-type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }.report-type-tab { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: 10px; font-weight: 700; }.report-type-tab.active { border-color: var(--navy); color: var(--navy); background: #eef3fb; }
.evaluation-actions { white-space: nowrap; }.evaluation-actions .row-action { margin-right: 10px; }.evaluation-actions .row-action:last-child { margin-right: 0; }.reject-evaluation { color: #c66f6f; }
.delivery-support-records-panel { margin-top: 16px; }.delivery-support-records-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }.delivery-support-records-grid h2 { font-size: 16px; }
.modal textarea { width: 100%; min-height: 92px; padding: 10px 11px; border: 1px solid #dfe5ef; border-radius: 7px; outline: 0; resize: vertical; color: var(--ink); background: #fff; font: inherit; font-size: 12px; }.modal textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63,120,233,.1); }
.rejection-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-bottom: 15px; }.rejection-detail-grid div, .rejection-detail-reason { padding: 10px 11px; border-radius: 8px; background: #f7f9fc; }.rejection-detail-grid small, .rejection-detail-reason small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; }.rejection-detail-grid strong { display: block; color: var(--ink); font-size: 11px; }.rejection-detail-reason p { color: var(--ink); font-size: 12px; line-height: 1.5; white-space: pre-wrap; }
@media (max-width: 520px) { .need-options { grid-template-columns: 1fr; } }
