:root {
  --navy: #111111;
  --navy-2: #050505;
  --teal: #bd1522;
  --teal-soft: #f8e9eb;
  --gold: #bd1522;
  --ink: #171717;
  --muted: #6c6c6c;
  --line: #dedede;
  --container-line: #c9cbce;
  --surface: #ffffff;
  --canvas: #f5f5f5;
  --danger: #a64040;
  --warning: #9a6a17;
  --success: #287353;
  --info: #2767b1;
  --progress-low: #c92835;
  --progress-medium: #d59b20;
  --progress-high: #26865c;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(12 40 47 / 6%), 0 8px 28px rgb(12 40 47 / 5%);
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { color-scheme: light; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font: 14px/1.5 Inter, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
h2 { margin-bottom: 3px; font-size: 17px; letter-spacing: -.01em; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.visually-hidden { position: fixed !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 238px; padding: 22px 14px 18px; background: var(--navy-2); color: #fff; display: flex; flex-direction: column; }
.brand { display: block; margin: 0 5px 20px; padding: 8px; border-radius: 6px; background: #fff; box-shadow: 0 5px 20px rgb(0 0 0 / 20%); }
.brand-logo { display: block; width: 100%; height: auto; }
.project-ribbon { margin: -9px 8px 18px; padding: 9px 11px; border-left: 2px solid var(--gold); background: rgb(255 255 255 / 5%); }
.project-ribbon span, .project-ribbon strong { display: block; }
.project-ribbon span { color: #e63b47; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-ribbon strong { margin-top: 3px; color: #d8e4e6; font-size: 9px; line-height: 1.35; }
.nav { display: grid; gap: 3px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 7px; color: #c7c7c7; font-size: 13px; font-weight: 600; }
.nav a span { width: 18px; text-align: center; font-size: 15px; color: #999; }
.nav a .nav-icon { height: 18px; display: inline-grid; flex: 0 0 18px; place-items: center; }
.nav a .nav-icon svg { width: 17px; height: 17px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav a:hover { background: rgb(255 255 255 / 5%); color: #fff; }
.nav a.active { background: #292929; color: #fff; box-shadow: inset 3px 0 0 var(--teal); }
.nav a.active span { color: #fff; }
.nav-divider { height: 1px; margin: 9px 10px; background: rgb(255 255 255 / 10%); }
.sidebar-session { min-width: 0; margin-top: auto; padding: 11px 12px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 8px; background: rgb(255 255 255 / 5%); }
.sidebar-session-user { min-width: 0; display: flex; align-items: center; gap: 9px; }
.sidebar-user-avatar { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 24%); border-radius: 50%; background: linear-gradient(145deg, #343434, #0d0d0d); color: #fff; font-size: 10px; font-weight: 900; }
.sidebar-session-user small, .sidebar-session-user strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-session-user small { color: #aeb1b5; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sidebar-session-user strong { color: #fff; font-size: 9px; letter-spacing: .02em; }
.sidebar-logout-form { margin: 6px 0 0 41px; line-height: 1; }
.sidebar-logout-form button { padding: 0; border: 0; background: transparent; color: #ee4a55; cursor: pointer; font-size: 8px; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; }
.sidebar-logout-form button:hover { color: #fff; }
.sidebar-personal-back { min-height: 30px; display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 6px 8px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 6px; background: rgb(255 255 255 / 6%); color: #fff; font-size: 9px; font-weight: 800; }
.sidebar-personal-back:hover { border-color: rgb(238 74 85 / 75%); background: rgb(189 21 34 / 18%); }
.app-shell { min-width: 0; margin-left: 238px; min-height: 100vh; }
.topbar { display: none; }
.eyebrow { margin: 0; color: var(--teal); font-size: 10px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.main-content { width: min(1480px, 100%); min-width: 0; margin: auto; padding: 28px 30px 48px; }
.main-content { user-select: text; }
.button, .icon-button, .copy-button { user-select: none; }
.menu-button { display: none; }
.sidebar-scrim { display: none; }

.page-heading { margin-bottom: 22px; }
.page-heading p:last-child { margin: 0; }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.form-heading { margin-bottom: 17px; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--teal); font-size: 12px; font-weight: 700; }
.required, label span b, .consent-check b { color: var(--danger); }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-header p { margin: 0; font-size: 12px; }
.text-link { color: var(--teal); font-size: 12px; font-weight: 700; }

.button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 700; font-size: 12px; transition: background .16s, border-color .16s, transform .08s; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--navy); color: #fff; }
.button.primary:hover { background: var(--teal); }
.button.secondary { background: #fff; color: var(--ink); border-color: #cbd7d9; }
.button.secondary:hover { border-color: var(--teal); color: var(--teal); }
.button.danger-quiet { border-color: #e6caca; background: #fff; color: var(--danger); }
.button.small { min-height: 34px; padding: 6px 11px; }
.button:disabled { opacity: .55; cursor: wait; }
.button[aria-disabled="true"] { opacity: .48; cursor: not-allowed; pointer-events: none; }
.icon-button { width: 36px; height: 36px; border: 0; border-radius: 7px; background: transparent; cursor: pointer; color: var(--ink); font-size: 20px; }
.icon-button:hover { background: var(--canvas); }

.dashboard-top-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 10px; margin-bottom: 10px; }
.project-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; }
.project-fact { min-width: 0; padding: 15px 18px; border-left: 1px solid var(--line); }
.project-fact:first-child { border-left: 0; }
.project-fact span, .project-fact strong { display: block; }
.project-fact span { margin-bottom: 4px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.project-fact strong { overflow-wrap: anywhere; font-size: 12px; }
.project-fact.primary-fact { grid-column: 1 / -1; border-bottom: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--teal); }
.project-overview .project-fact:nth-child(2) { border-left: 0; }
.dashboard-period-panel { margin-bottom: 14px; overflow: hidden; border-top: 3px solid var(--teal); }
.dashboard-report-panel { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 13px 15px; border-left: 3px solid #191919; }
.dashboard-top-grid .dashboard-report-panel { grid-column: 2; grid-row: 1 / span 2; }
.dashboard-top-grid .dashboard-period-panel { margin: 0; }
.dashboard-report-title h2 { margin: 1px 0 2px; font-size: 16px; }
.dashboard-report-title p { margin-bottom: 0; font-size: 10px; }
.dashboard-report-panel form { display: grid; grid-template-columns: 1fr; align-items: end; gap: 8px; }
.dashboard-report-panel form select { min-height: 36px; }
.dashboard-report-panel > small { margin-top: auto; color: var(--muted); font-size: 8px; }
.dashboard-period-form { display: grid; grid-template-columns: minmax(260px, 1fr) 170px 170px auto; align-items: end; gap: 13px; padding: 17px 18px 13px; }
.dashboard-period-title h2 { margin: 2px 0 3px; font-size: 17px; }
.dashboard-period-title p { margin-bottom: 0; font-size: 10px; }
.dashboard-period-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 15px; }
.dashboard-period-shortcuts button { min-height: 28px; padding: 4px 10px; border: 1px solid #d5dcdd; border-radius: 14px; background: #fff; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.dashboard-period-shortcuts button:hover { border-color: var(--teal); color: var(--teal); }
.dashboard-empty-notice { margin: 0 0 14px; padding: 13px 16px; border: 1px solid #d8ddde; border-left: 4px solid var(--teal); border-radius: 7px; background: #f7f9f9; color: var(--muted); font-size: 10px; font-weight: 800; }
.dashboard-metric-group { margin-bottom: 20px; padding: 17px; border: 1px solid var(--container-line); border-radius: 10px; box-shadow: 0 4px 16px rgb(0 0 0 / 3%); }
.dashboard-period-results { border-top: 3px solid var(--teal); background: #f7faf9; }
.dashboard-current-results { border-top: 3px solid #202020; background: #f7f7f8; }
.dashboard-metric-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.dashboard-metric-heading h2 { margin: 0 0 3px; font-size: 18px; }
.dashboard-metric-heading p { margin-bottom: 0; font-size: 10px; }
.dashboard-scope-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid; border-radius: 5px; font-size: 8px; font-weight: 900; letter-spacing: .05em; }
.dashboard-scope-badge.filtered { border-color: #bdd4d1; background: #eaf3f1; color: var(--teal); }
.dashboard-scope-badge.current { border-color: #d0d1d2; background: #eceeef; color: #333; }
.dashboard-current-badges { display: flex; align-items: center; gap: 7px; }
.dashboard-metric-group .stat-grid { margin-bottom: 14px; }
.dashboard-metric-group .dashboard-activity-panel { margin-bottom: 14px; }
.dashboard-chart-panel { margin-bottom: 0; overflow: hidden; }
.dashboard-insight-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: start; gap: 10px; margin-bottom: 12px; }
.dashboard-insight-grid .dashboard-metric-group { min-width: 0; margin-bottom: 0; }
.dashboard-period-detail-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.dashboard-insight-grid .stat-grid.four-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-insight-grid .dashboard-metric-heading { align-items: flex-start; }
.dashboard-insight-grid .dashboard-metric-heading > div:first-child { min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-grid.four-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-card { position: relative; overflow: hidden; padding: 18px 19px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--teal); }
.stat-card.warning::before { background: #6d6d6d; }
.stat-card.rejected::before { background: var(--danger); }
.stat-card.approved::before { background: var(--success); }
.stat-card.approved strong { color: var(--success); }
.dashboard-current-results .current-metrics-grid .stat-card.approved { grid-column: 1 / -1; }
.stat-card.metric-added::before { background: #777c82; }
.stat-card.metric-sent::before { background: var(--info); }
.stat-card.metric-released::before { background: var(--success); }
.stat-card.metric-rejected::before { background: var(--danger); }
.stat-card.metric-added strong { color: #555b60; }
.stat-card.metric-sent strong { color: var(--info); }
.stat-card.metric-released strong { color: var(--success); }
.stat-card.metric-rejected strong { color: var(--danger); }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card span { font-size: 12px; font-weight: 600; }
.stat-card strong { display: block; margin: 7px 0 1px; font-size: 29px; line-height: 1; }
.stat-card small { font-size: 10px; }
.dashboard-activity-panel { margin-bottom: 18px; overflow: hidden; border-top: 3px solid #191919; }
.dashboard-total-badge { padding: 5px 8px; border-radius: 4px; background: #f0f1f2; color: var(--muted); font-size: 8px; font-weight: 900; white-space: nowrap; }
.dashboard-activity-wrap { max-height: 330px; overflow: auto; border-top: 1px solid var(--line); }
.dashboard-activity-table { width: 100%; min-width: 590px; border-collapse: collapse; }
.dashboard-activity-table th, .dashboard-activity-table td { padding: 10px 15px; border-bottom: 1px solid #ececee; text-align: left; font-size: 10px; }
.dashboard-activity-table th { position: sticky; top: 0; z-index: 1; background: #f7f7f8; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.dashboard-activity-table td:not(:first-child), .dashboard-activity-table th:not(:first-child) { text-align: center; }
.dashboard-activity-table .dashboard-no-data { padding: 24px 15px; color: var(--muted); font-weight: 700; text-align: center; }
.activity-value { min-width: 27px; display: inline-grid; place-items: center; padding: 4px 7px; border-radius: 4px; background: #f0f1f2; font-weight: 900; }
.activity-value.added { color: var(--ink); }
.activity-value.sent { background: #e9f1fb; color: var(--info); }
.activity-value.released { background: #e8f3ed; color: var(--success); }
.activity-value.rejected { background: #fff0f1; color: var(--danger); }

body[data-page="dashboard"] .main-content { padding-top: 20px; padding-bottom: 28px; }
body[data-page="dashboard"] .page-heading { margin-bottom: 13px; }
body[data-page="dashboard"] .page-heading h1 { font-size: clamp(23px, 2.4vw, 29px); }
body[data-page="dashboard"] .project-overview { margin-bottom: 10px; }
body[data-page="dashboard"] .project-fact { padding: 11px 15px; }
body[data-page="dashboard"] .project-fact.primary-fact strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-page="dashboard"] .dashboard-period-panel { margin-bottom: 10px; }
body[data-page="dashboard"] .dashboard-period-form { gap: 10px; padding: 11px 15px 8px; }
body[data-page="dashboard"] .dashboard-period-shortcuts { gap: 5px; padding: 0 15px 10px; }
body[data-page="dashboard"] .dashboard-metric-group { margin-bottom: 12px; padding: 12px; }
body[data-page="dashboard"] .dashboard-metric-heading { gap: 12px; margin-bottom: 10px; }
body[data-page="dashboard"] .dashboard-metric-heading h2 { font-size: 16px; }
body[data-page="dashboard"] .dashboard-metric-group .stat-grid { gap: 10px; margin-bottom: 10px; }
body[data-page="dashboard"] .stat-card { padding: 12px 14px; }
body[data-page="dashboard"] .stat-card strong { margin-top: 4px; font-size: 25px; }
body[data-page="dashboard"] .panel-header { padding: 11px 14px; }
body[data-page="dashboard"] .dashboard-activity-panel { margin-bottom: 0; }
body[data-page="dashboard"] .dashboard-activity-wrap { max-height: 230px; }
body[data-page="dashboard"] .dashboard-activity-table th,
body[data-page="dashboard"] .dashboard-activity-table td { padding: 8px 10px; }
body[data-page="dashboard"] .status-chart { min-height: 0; gap: 8px; padding: 13px 14px; }
body[data-page="dashboard"] .dashboard-recruiter-panel .status-chart { align-content: start; }
body[data-page="dashboard"] .status-row { gap: 9px; }
body[data-page="dashboard"] .privacy-banner { padding: 10px 13px; }
body[data-page="dashboard"] .dashboard-insight-grid .dashboard-activity-table { min-width: 520px; }
body[data-page="dashboard"] .dashboard-insight-grid .dashboard-recruiter-panel { min-height: 170px; }
body[data-page="dashboard"] .dashboard-current-results .dashboard-chart-panel { margin-top: 2px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .8fr); gap: 18px; margin-bottom: 18px; }
.status-chart { min-height: 240px; padding: 20px; display: grid; gap: 13px; align-content: center; }
.status-row { display: grid; grid-template-columns: 155px 1fr 30px; align-items: center; gap: 12px; font-size: 12px; }
.status-row span { text-transform: uppercase; }
.recruiter-row { grid-template-columns: minmax(110px, 1.2fr) minmax(80px, 1fr) 30px; }
.status-row strong { text-align: right; }
.bar-track, .progress-track { overflow: hidden; height: 7px; border-radius: 9px; background: #e8eeee; }
.bar-track i, .progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--teal); transition: width .4s ease; }
.quick-panel > a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 15px 19px; border-bottom: 1px solid var(--line); }
.quick-panel > a:last-child { border-bottom: 0; }
.quick-panel > a:hover { background: #f9fbfb; }
.quick-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--teal-soft); color: var(--teal); font-weight: 800; }
.quick-panel strong, .quick-panel small { display: block; }
.quick-panel strong { font-size: 12px; }
.quick-panel small { color: var(--muted); font-size: 10px; }
.quick-panel b { color: var(--muted); font-size: 20px; }
.privacy-banner { display: flex; align-items: flex-start; gap: 13px; padding: 14px 17px; border: 1px solid #cbdede; border-radius: 9px; background: var(--teal-soft); }
.privacy-banner p { margin: 2px 0 0; font-size: 11px; }
.privacy-icon { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); font-weight: 800; }

label { display: grid; align-content: start; gap: 5px; color: var(--ink); font-size: 11px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #cbd6d8; border-radius: 6px; background: #fff; color: var(--ink); outline: none; font-weight: 400; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(31 106 114 / 10%); }
input:disabled { background: #f1f4f4; color: var(--muted); }
.uppercase { text-transform: uppercase; }
.record-form input:not([type="email"]), .record-form textarea, .record-form select { text-transform: uppercase; }
.record-form input[type="email"] { text-transform: lowercase; }
.field-error { min-height: 13px; color: var(--danger); font-size: 10px; font-weight: 500; }
.invalid input, .invalid select, .invalid textarea { border-color: var(--danger); }

.filter-panel { margin-bottom: 14px; padding: 17px; }
.filter-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: -2px 0 15px; padding: 0 0 12px; border-bottom: 1px solid #e1e2e4; }
.filter-panel-heading h2 { margin: 0 0 2px; font-size: 16px; }
.filter-panel-heading p { margin: 0; font-size: 10px; }
.filters { display: grid; grid-template-columns: minmax(210px, 1.7fr) repeat(5, minmax(130px, 1fr)); align-items: end; gap: 12px; }
.filters > * { min-width: 0; }
.filter-panel .filters select {
  min-height: 43px;
  padding: 9px 44px 9px 12px;
  border: 1px solid #bfc2c6;
  border-radius: 10px;
  background-color: #f8f9fa;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bd1522' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent calc(100% - 39px), #eceeef calc(100% - 39px));
  background-position: right 11px center, 0 0;
  background-size: 16px 16px, 100% 100%;
  color: #26282a;
  font-size: 10px;
  font-weight: 750;
  box-shadow: 0 2px 6px rgb(0 0 0 / 6%), inset 0 1px #fff;
}
.filter-panel .filters select:hover {
  border-color: #989ca0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%239b0f19' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent calc(100% - 39px), #f2e5e7 calc(100% - 39px));
  box-shadow: 0 4px 10px rgb(0 0 0 / 9%);
}
.filter-panel .filters select:focus {
  border-color: var(--teal);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgb(189 21 34 / 13%), 0 4px 10px rgb(0 0 0 / 7%);
}
.filter-panel .filters select option { background: #fff; color: #202124; font-weight: 600; }
.filter-panel .filters select.filter-native-select { position: absolute; width: 1px; min-height: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; border: 0; opacity: 0; clip-path: inset(50%); pointer-events: none; }
.custom-filter-select { min-width: 0; position: relative; }
.custom-filter-select.open { z-index: 40; }
.custom-filter-select-trigger { width: 100%; min-height: 43px; display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #bfc2c6; border-radius: 10px; background: #f8f9fa; color: #26282a; cursor: pointer; box-shadow: 0 2px 6px rgb(0 0 0 / 6%), inset 0 1px #fff; font-size: 10px; font-weight: 750; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.custom-filter-select-trigger > span { min-width: 0; align-self: center; padding: 9px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.custom-filter-select-trigger > i { position: relative; display: grid; place-items: center; border-left: 1px solid #e1e3e5; background: #eceeef; }
.custom-filter-select-trigger > i::before { width: 7px; height: 7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); content: ""; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.custom-filter-select-trigger:hover { border-color: #989ca0; background: #fff; box-shadow: 0 4px 10px rgb(0 0 0 / 9%); }
.custom-filter-select-trigger:hover > i { background: #f2e5e7; }
.custom-filter-select.open .custom-filter-select-trigger { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgb(189 21 34 / 13%), 0 4px 10px rgb(0 0 0 / 8%); }
.custom-filter-select.open .custom-filter-select-trigger > i::before { transform: translateY(2px) rotate(225deg); }
.custom-filter-select-menu { width: max(100%, 220px); max-width: calc(100vw - 24px); position: absolute; z-index: 45; top: calc(100% + 7px); left: 0; max-height: 280px; overflow-y: auto; padding: 6px; border: 1px solid #c5c8cb; border-radius: 11px; background: rgb(255 255 255 / 98%); box-shadow: 0 16px 38px rgb(0 0 0 / 18%), 0 2px 8px rgb(0 0 0 / 8%); scrollbar-color: #c1c3c6 #f2f3f4; scrollbar-width: thin; backdrop-filter: blur(8px); }
.custom-filter-select.opens-left .custom-filter-select-menu { right: 0; left: auto; }
.custom-filter-select.opens-upward .custom-filter-select-menu { top: auto; bottom: calc(100% + 7px); }
.custom-filter-select-option { width: 100%; min-height: 36px; display: grid; grid-template-columns: minmax(0, 1fr) 23px; align-items: center; gap: 7px; padding: 7px 8px 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #333639; cursor: pointer; font-size: 9px; font-weight: 750; text-align: left; text-transform: uppercase; }
.custom-filter-select-option + .custom-filter-select-option { margin-top: 2px; }
.custom-filter-select-option > span { overflow-wrap: anywhere; }
.custom-filter-select-option > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: transparent; font-size: 10px; font-style: normal; }
.custom-filter-select-option:hover, .custom-filter-select-option:focus-visible { background: #f3f4f5; color: #111; outline: 0; }
.custom-filter-select-option.selected { background: #fff0f2; color: #96131d; font-weight: 900; }
.custom-filter-select-option.selected > i { background: var(--teal); color: #fff; }
.modern-native-select { position: absolute !important; width: 1px !important; min-width: 1px !important; height: 1px !important; min-height: 1px !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; opacity: 0 !important; clip-path: inset(50%) !important; pointer-events: none !important; }
.modern-select { width: 100%; min-width: 0; position: relative; }
.modern-select-trigger { width: 100%; min-height: 39px; display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #bfc2c6; border-radius: 8px; background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%); color: #26282a; cursor: pointer; box-shadow: 0 2px 6px rgb(0 0 0 / 6%), inset 0 1px #fff; font-size: 10px; font-weight: 750; text-align: left; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.modern-select-trigger > span { min-width: 0; align-self: center; padding: 9px 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modern-select-trigger > i { position: relative; display: grid; place-items: center; border-left: 1px solid #e1e3e5; background: #f0f1f2; }
.modern-select-trigger > i::before { width: 7px; height: 7px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); content: ""; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.modern-select-trigger:hover { border-color: #989ca0; background: #fff; box-shadow: 0 4px 10px rgb(0 0 0 / 9%); }
.modern-select-trigger:hover > i { background: #f5e8e9; }
.modern-select.open .modern-select-trigger { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgb(189 21 34 / 13%), 0 4px 10px rgb(0 0 0 / 8%); }
.modern-select.open .modern-select-trigger > i::before { transform: translateY(2px) rotate(225deg); }
.modern-select.disabled { opacity: .58; }
.modern-select-trigger:disabled { cursor: not-allowed; }
.modern-select.invalid .modern-select-trigger { border-color: var(--danger); }
.modern-select-menu { max-width: calc(100vw - 20px); max-height: 286px; position: fixed; z-index: 1200; overflow-y: auto; padding: 6px; border: 1px solid #c5c8cb; border-radius: 11px; background: rgb(255 255 255 / 99%); box-shadow: 0 18px 42px rgb(0 0 0 / 22%), 0 3px 9px rgb(0 0 0 / 10%); scrollbar-color: #c1c3c6 #f2f3f4; scrollbar-width: thin; backdrop-filter: blur(8px); }
.modern-select-option { width: 100%; min-height: 37px; display: grid; grid-template-columns: minmax(0, 1fr) 23px; align-items: center; gap: 8px; padding: 7px 8px 7px 11px; border: 0; border-radius: 7px; background: transparent; color: #333639; cursor: pointer; font-size: 9px; font-weight: 750; text-align: left; text-transform: uppercase; }
.modern-select-option + .modern-select-option { margin-top: 2px; }
.modern-select-option > span { overflow-wrap: anywhere; }
.modern-select-option > i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: transparent; font-size: 10px; font-style: normal; }
.modern-select-option:hover, .modern-select-option:focus-visible { background: #f3f4f5; color: #111; outline: 0; }
.modern-select-option.selected { background: #fff0f2; color: #96131d; font-weight: 900; }
.modern-select-option.selected > i { background: var(--teal); color: #fff; }
.modern-select-option:disabled { color: #aaa; cursor: not-allowed; }
.date-capture .modern-select { align-self: stretch; }
.date-capture .modern-select-trigger { min-height: 33px; height: 100%; grid-template-columns: minmax(0, 1fr) 24px; border: 0; border-left: 1px solid #e3e4e6; border-radius: 0; background: transparent; box-shadow: none; font-size: 9px; }
.date-capture .modern-select-trigger > span { padding: 5px 4px; }
.date-capture .modern-select-trigger > i { border-left: 0; background: transparent; }
.inline-status-select + .modern-select .modern-select-trigger { min-height: 32px; border-color: rgb(40 115 83 / 25%); background: #edf6f1; color: #246548; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.validation-filter-bar .modern-select-trigger { min-height: 38px; }
.dashboard-report-panel .modern-select-trigger { min-height: 36px; }
.check-filter { min-height: 39px; grid-template-columns: auto 1fr; align-items: center; }
.check-filter input, .inactive-toggle input { width: 16px; min-height: 16px; accent-color: var(--teal); }
.filter-actions { display: flex; justify-content: flex-end; gap: 8px; grid-column: -3 / -1; }
.auto-filter-hint { align-self: center; color: var(--muted); font-size: 10px; }
.table-panel { overflow: hidden; }
.table-toolbar { min-height: 67px; }
.inactive-toggle { display: flex; grid-template-columns: auto 1fr; align-items: center; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.data-table th { padding: 11px 13px; background: #f7f9f9; border-bottom: 1px solid var(--line); color: #536569; text-align: left; text-transform: uppercase; letter-spacing: .04em; font-size: 9px; }
.data-table th.sortable-column { padding: 0; }
.sort-button { display: flex; width: 100%; min-height: 38px; align-items: center; gap: 6px; padding: 10px 13px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; letter-spacing: inherit; text-align: left; text-transform: inherit; cursor: pointer; }
.sort-button:hover, .sort-button:focus-visible { background: #f0f2f2; color: var(--text); outline: none; }
.sort-button.active { color: var(--red); }
.sort-arrow { display: inline-grid; width: 13px; height: 13px; place-items: center; color: var(--red); font-size: 13px; font-weight: 900; line-height: 1; }
.data-table td { padding: 13px; border-bottom: 1px solid #e7ecec; vertical-align: middle; }
.data-table tbody tr:hover { background: #fbfcfc; }
.data-table tbody tr.inactive-row { opacity: .6; }
.data-table .name-cell strong, .data-table .name-cell small { display: block; }
.data-table .name-cell small, .stacked-cell small { color: var(--muted); margin-top: 2px; }
.id-column { width: 126px; min-width: 126px; white-space: nowrap; }
.record-id { display: inline-block; color: var(--muted); font-weight: 700; white-space: nowrap; word-break: keep-all; overflow-wrap: normal; }
.person-entry-button { display: inline-flex; max-width: 100%; align-items: center; min-height: 31px; padding: 5px 9px; border: 1px solid rgb(189 21 34 / 35%); border-radius: 5px; background: #fff; color: var(--teal); font-weight: 800; line-height: 1.3; }
.person-entry-button:hover { border-color: var(--teal); background: var(--teal-soft); color: #8f0f19; }
.stacked-cell span, .stacked-cell small { display: block; }
.id-link { color: var(--teal); font-weight: 800; }
.status-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 20px; background: #e8f2ed; color: var(--success); font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-badge.pending { background: #faf1dc; color: var(--warning); }
.status-badge.inactive { background: #f5e8e8; color: var(--danger); }
.status-cell { width: 185px; min-width: 185px; white-space: nowrap; }
.inline-status-select { width: 100%; min-width: 165px; height: 32px; padding: 5px 27px 5px 9px; border: 1px solid rgb(40 115 83 / 25%); border-radius: 6px; background-color: #edf6f1; color: #246548; cursor: pointer; font-size: 9px; font-weight: 800; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.inline-status-select.pending { border-color: rgb(154 106 23 / 25%); background-color: #fff7e5; color: #8b6017; }
.inline-status-select.inactive { border-color: rgb(166 64 64 / 25%); background-color: #f8eded; color: var(--danger); }
.inline-status-select:hover { border-color: var(--teal); }
.inline-status-select.is-saving { cursor: wait; opacity: .65; }
.inline-status-select.compact { min-width: 0; margin-top: 4px; }
.progress-cell { min-width: 125px; }
.progress-cell > div:first-child { display: flex; justify-content: space-between; margin-bottom: 5px; }
.progress-cell strong { font-size: 10px; }
.progress-track { height: 6px; }
.progress-track.progress-low i { background: linear-gradient(90deg, #a9121e, var(--progress-low)); }
.progress-track.progress-medium i { background: linear-gradient(90deg, #b7790c, var(--progress-medium)); }
.progress-track.progress-high i { background: linear-gradient(90deg, #176844, var(--progress-high)); }
.pending-count { display: inline-grid; min-width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #eef2f2; color: var(--muted); font-weight: 800; }
.muted-text { color: var(--muted); font-size: 10px; }
.missing-docs { display: flex; max-width: 220px; flex-wrap: wrap; gap: 4px; white-space: normal; }
.missing-docs span { padding: 3px 6px; border-radius: 4px; background: #f8e9eb; color: #9d1520; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.complete-label { display: inline-flex; padding: 4px 7px; border-radius: 4px; background: #e8f2ed; color: var(--success); font-size: 9px; font-weight: 800; white-space: normal; }
.actions-cell { text-align: right !important; }
.action-group { display: flex; justify-content: flex-end; gap: 5px; }
.action-link { min-height: 31px; display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--teal); font-weight: 700; }
.action-link:hover { border-color: var(--teal); }
.table-message { padding: 35px !important; color: var(--muted); text-align: center; }
.people-cards { display: none; }
.people-status-groups { display: grid; gap: 10px; padding: 12px; background: #f3f4f5; }
.people-status-group { min-width: 0; overflow: hidden; border: 1px solid var(--container-line); border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgb(0 0 0 / 5%); }
.people-status-group > summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%); cursor: pointer; list-style: none; user-select: none; }
.people-status-group > summary::-webkit-details-marker { display: none; }
.people-status-group > summary:hover { background: #fff7f8; }
.people-status-group > summary:focus-visible { outline: 3px solid rgb(189 21 34 / 18%); outline-offset: -3px; }
.people-status-group-title { min-width: 0; display: flex; align-items: center; gap: 9px; }
.people-status-group-title small { color: var(--muted); font-size: 9px; font-weight: 900; white-space: nowrap; }
.people-status-group-chevron { width: 22px; height: 22px; flex: 0 0 auto; position: relative; border-radius: 5px; background: #f0f1f2; }
.people-status-group-chevron::before { width: 7px; height: 7px; position: absolute; top: 6px; left: 7px; border-right: 2px solid #6a6d71; border-bottom: 2px solid #6a6d71; content: ""; transform: rotate(45deg); transition: transform .16s ease, border-color .16s ease; }
.people-status-group[open] > summary { border-bottom: 1px solid var(--container-line); background: #fff; box-shadow: inset 3px 0 var(--teal); }
.people-status-group[open] .people-status-group-chevron { background: #f8e9eb; }
.people-status-group[open] .people-status-group-chevron::before { top: 9px; border-color: var(--teal); transform: rotate(225deg); }
.people-status-group-content { min-width: 0; }
.grouped-data-table { min-width: 1060px; }
.people-status-cards { display: none; }

.record-form { display: grid; gap: 14px; padding-bottom: 76px; }
.form-section { padding: 20px; }
.section-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-title > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: var(--navy); color: #fff; font-size: 9px; font-weight: 800; }
.section-title p { margin: 0; font-size: 11px; }
.form-grid { display: grid; gap: 15px 13px; }
.form-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.consent-section { padding: 17px 20px; }
.employee-number-note { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #cbdede; border-radius: 7px; background: var(--teal-soft); }
.employee-number-note strong { color: var(--navy); font-size: 11px; }
.employee-number-note span { color: var(--muted); font-size: 10px; }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.consent-check input { width: 17px; min-height: 17px; margin-top: 3px; accent-color: var(--teal); }
.consent-check span, .consent-check strong { display: block; }
.consent-check span { color: var(--muted); font-weight: 400; }
.consent-check strong { margin-bottom: 2px; color: var(--ink); font-size: 12px; }
.sticky-actions { position: fixed; z-index: 10; right: 0; bottom: 0; left: 238px; display: flex; justify-content: flex-end; gap: 9px; padding: 12px 30px; background: rgb(255 255 255 / 96%); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }

.modern-form-heading { position: relative; overflow: hidden; padding: 21px 23px; border: 1px solid var(--container-line); border-top: 3px solid var(--teal); border-radius: 12px; background: linear-gradient(135deg, #fff 0%, #fafafa 72%, #f8e9eb 100%); box-shadow: var(--shadow); }
.modern-form-heading::after { content: "EIM"; position: absolute; right: 22px; bottom: -27px; color: rgb(189 21 34 / 5%); font-size: 86px; font-weight: 950; letter-spacing: -.08em; pointer-events: none; }
.modern-form-heading > * { position: relative; z-index: 1; }
.modern-form-heading > p:not(.eyebrow) { max-width: 720px; margin-bottom: 14px; font-size: 12px; }
.form-heading-meta { max-width: 520px; display: flex; align-items: center; gap: 9px; }
.form-heading-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.form-heading-meta b { width: 19px; height: 19px; display: inline-grid; place-items: center; border-radius: 50%; background: #1a1a1a; color: #fff; font-size: 8px; }
.form-heading-meta i { width: 34px; height: 1px; background: #cfd1d3; }
.modern-record-form .form-section { position: relative; overflow: hidden; padding: 24px; border-radius: 13px; }
.modern-record-form .form-section::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--teal), #8d0d16); }
.modern-record-form .section-title { margin-bottom: 22px; }
.modern-record-form .section-title > span { border-radius: 8px; background: linear-gradient(145deg, #d01b28, #991019); box-shadow: 0 5px 12px rgb(189 21 34 / 18%); }
.modern-record-form label > span:first-child { color: #4c4d50; font-size: 9px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.modern-record-form input, .modern-record-form select, .modern-record-form textarea { min-height: 43px; border-color: #c9cbcf; background-color: #fdfdfd; }
.modern-record-form select { padding-right: 34px; cursor: pointer; }
.modern-record-form textarea[readonly] { border-style: dashed; background: #f7f7f8; color: #44464a; font-size: 11px; line-height: 1.5; }
.modern-record-form .project-field { min-width: 0; grid-column: span 3; }
.project-select { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-field > small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.labor-date-card { gap: 7px; padding: 13px 14px; border: 1px solid; border-radius: 10px; }
.labor-date-card > span:first-child { font-size: 10px !important; }
.labor-date-card > small { font-size: 8px; font-weight: 700; }
.income-date-field { border-color: rgb(40 115 83 / 42%); background: #f2f8f5; box-shadow: inset 3px 0 #287353; }
.income-date-field > span:first-child, .income-date-field > small { color: #246548 !important; }
.income-date-field input { border-color: rgb(40 115 83 / 35%); background: #fff; }
.termination-date-field { border-color: rgb(166 64 64 / 38%); background: #fff5f5; box-shadow: inset 3px 0 #a64040; }
.termination-date-field > span:first-child, .termination-date-field > small { color: #922e35 !important; }
.termination-date-field input { border-color: rgb(166 64 64 / 32%); background: #fff; }
.date-capture-field { align-self: start; }
.date-capture { min-width: 0; display: grid; grid-template-columns: 38px minmax(64px, .7fr) minmax(120px, 1.4fr) minmax(82px, .8fr); gap: 6px; padding: 5px; border: 1px solid #c9cbcf; border-radius: 8px; background: #fdfdfd; box-shadow: inset 0 1px 2px rgb(0 0 0 / 3%); transition: border-color .15s ease, box-shadow .15s ease; }
.date-capture:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(189 21 34 / 11%); }
.date-capture-icon { display: grid; place-items: center; border-radius: 6px; background: #1c1c1d; color: #fff; font-size: 13px; }
.date-capture select { min-width: 0; min-height: 33px; padding: 5px 7px; border: 0; border-left: 1px solid #e3e4e6; border-radius: 0; background: transparent; box-shadow: none; font-size: 10px; font-weight: 750; }
.date-capture select:focus { box-shadow: none; }
.date-format-hint { color: var(--muted); font-size: 8px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.invalid .date-capture { border-color: var(--danger); box-shadow: 0 0 0 3px rgb(166 64 64 / 9%); }

.loading-page { padding: 50px; text-align: center; color: var(--muted); }
.record-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-bottom: 14px; padding: 20px; }
.record-identity { min-width: 0; display: flex; align-items: center; gap: 15px; }
.record-identity > div:last-child { min-width: 0; }
.person-monogram { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 800; letter-spacing: .04em; }
.credential-photo { position: relative; flex: 0 0 auto; width: 88px; height: 116px; display: flex; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; border: 1px solid #bfc1c4; border-radius: 8px; background: linear-gradient(145deg, #f7f7f8, #e7e8ea); box-shadow: 0 7px 18px rgb(0 0 0 / 10%); color: #272727; }
.credential-photo::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--teal); }
.credential-user-icon { position: relative; width: 47px; height: 47px; margin-bottom: 8px; border: 1px solid #d0d1d3; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgb(0 0 0 / 7%); }
.credential-user-icon::before { content: ""; position: absolute; top: 8px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: #5c5e61; transform: translateX(-50%); }
.credential-user-icon::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 27px; height: 16px; border-radius: 16px 16px 7px 7px; background: #5c5e61; transform: translateX(-50%); }
.credential-photo span, .credential-photo small { display: block; line-height: 1.2; text-align: center; }
.credential-photo span { font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.credential-photo small { margin-top: 2px; color: #777; font-size: 6px; font-weight: 700; }
.record-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.record-title-line h1 { margin: 0; overflow-wrap: anywhere; font-size: 23px; }
.record-meta-lines { display: grid; gap: 3px; margin: 9px 0 0; }
.record-meta-lines > div { min-width: 0; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.record-meta-lines dt { color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.record-meta-lines dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 750; line-height: 1.35; }
.record-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.progress-summary { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid var(--line); }
.progress-summary > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 11px; }
.progress-summary strong { color: var(--teal); }
.progress-track.large { height: 9px; }
.progress-summary small { display: block; margin-top: 5px; color: var(--muted); }
.record-process-summary { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 12px; }
.record-process-summary > div { min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fafafa; }
.record-process-summary > div > span { display: block; margin-bottom: 7px; color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.record-process-summary p { max-height: 76px; margin: 0; overflow: auto; color: var(--text); font-size: 10px; line-height: 1.45; white-space: pre-line; }
.record-pending-list { display: flex; flex-wrap: wrap; gap: 5px; }
.record-pending-list span { padding: 4px 7px; border: 1px solid #e8c5c8; border-radius: 5px; background: #fff5f6; color: #8d1922; font-size: 9px; font-weight: 800; }
.record-pending-list span.complete { border-color: #bdd9ca; background: #eff8f3; color: var(--success); }
.category-selector { min-width: 0; margin: 0; padding: 13px; border: 1px solid var(--line); border-radius: 8px; }
.category-selector legend { padding: 0 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.category-selector legend b { color: var(--red); }
.category-selector > p { margin: 0 0 10px; color: var(--muted); font-size: 10px; }
.category-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.category-option { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }
.category-option:has(input:checked) { border-color: var(--red); background: #fff6f7; box-shadow: 0 0 0 1px rgb(184 18 31 / 8%); }
.category-option input { width: 16px; height: 16px; accent-color: var(--red); }
.category-option span { color: var(--text); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.category-selector.invalid { border-color: var(--red); background: #fff8f8; }
.tabs { display: flex; gap: 3px; overflow-x: auto; margin-bottom: 14px; padding: 4px; background: #e6ecec; border-radius: 9px; }
.tabs button { flex: 0 0 auto; min-height: 37px; padding: 7px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / 7%); }
.count-pill { min-width: 19px; height: 19px; display: inline-grid; place-items: center; margin-left: 3px; border-radius: 10px; background: #e8eeee; font-size: 9px; }
.tab-panel { display: none; overflow: hidden; }
.tab-panel.active { display: block; }
.sensitive-label { padding: 4px 8px; border-radius: 4px; background: #f7eeee; color: var(--danger); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 5px 20px 20px; }
.detail-grid > div { min-width: 0; padding: 15px 10px 8px 0; border-bottom: 1px solid #edf0f0; }
.detail-grid dt { margin-bottom: 4px; color: var(--teal); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.detail-grid dd { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; overflow-wrap: anywhere; margin: 0; font-size: 12px; font-weight: 600; }
.detail-grid dd span { min-width: 0; overflow-wrap: anywhere; }
.personal-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 22px; background: #f5f6f7; }
.personal-group { min-width: 0; overflow: hidden; border: 1px solid var(--container-line); border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgb(0 0 0 / 5%); }
.personal-group-identification, .personal-group-address, .personal-group-emergency { grid-column: 1 / -1; }
.personal-group-header { min-height: 61px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-bottom: 1px solid #e7e8e9; background: linear-gradient(180deg, #fff, #fafafa); }
.personal-group-marker { width: 4px; height: 34px; flex: 0 0 auto; border-radius: 4px; background: var(--teal); }
.personal-group-header h3 { margin: 0 0 2px; color: var(--ink); font-size: 14px; line-height: 1.2; text-transform: uppercase; letter-spacing: .025em; }
.personal-group-header p { margin: 0; color: var(--muted); font-size: 10px; }
.personal-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.personal-group-civil .personal-detail-grid, .personal-group-contact .personal-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.personal-detail-grid > div { min-height: 77px; padding: 15px; }
.personal-detail-grid > div:nth-child(4n), .personal-detail-grid > div:nth-child(3n), .personal-detail-grid > div:nth-child(2n) { border-right: 1px solid #e8e9eb; }
.personal-detail-grid > div:nth-child(3n) { border-right: 0; }
.personal-group-civil .personal-detail-grid > div:nth-child(3n), .personal-group-contact .personal-detail-grid > div:nth-child(3n) { border-right: 1px solid #e8e9eb; }
.personal-group-civil .personal-detail-grid > div:nth-child(2n), .personal-group-contact .personal-detail-grid > div:nth-child(2n) { border-right: 0; }
.personal-detail-grid dt { margin-bottom: 8px; font-size: 10px; letter-spacing: .055em; }
.personal-detail-grid dd { min-height: 31px; font-size: 14px; line-height: 1.35; }
.personal-detail-grid .copy-button { margin-top: 1px; padding: 3px 6px; font-size: 8px; }
.personal-detail-grid .detail-item-wide { grid-column: span 3; }
.personal-detail-grid .detail-item-full { grid-column: 1 / -1; }
.copy-button { flex: 0 0 auto; padding: 2px 5px; border: 1px solid #d6d6d6; border-radius: 4px; background: #fff; color: var(--muted); cursor: pointer; font-size: 8px; font-weight: 700; }
.copy-button:hover { border-color: var(--teal); color: var(--teal); }
.prominent-copy { padding: 4px 7px; font-size: 9px; }
.observation-box { min-height: 150px; margin: 0; padding: 20px; white-space: pre-wrap; }
.document-guide { color: var(--muted); font-size: 10px; font-weight: 700; }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; }
.document-card { min-width: 0; min-height: 225px; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.document-card.received { border-top: 3px solid var(--success); }
.document-card.missing { border-top: 3px solid var(--teal); background: #fffbfb; }
.document-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.document-number { color: #aaa; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.document-state { padding: 3px 7px; border-radius: 12px; background: #f8e9eb; color: #9d1520; font-size: 9px; font-weight: 800; }
.document-card.received .document-state { background: #e8f2ed; color: var(--success); }
.document-card h3 { margin: 17px 0 9px; overflow-wrap: anywhere; font-size: 16px; text-transform: uppercase; }
.document-card > p { margin-bottom: 15px; font-size: 11px; }
.document-file { min-width: 0; margin-bottom: 14px; padding: 10px; border-radius: 6px; background: #f5f5f5; }
.document-file strong, .document-file small { display: block; }
.document-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.document-file small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.document-file-list { display: grid; gap: 7px; margin-bottom: 14px; }
.document-file-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 7px; padding: 9px; border: 1px solid #e5e6e7; border-radius: 6px; background: #f7f8f8; }
.document-file-data { min-width: 0; }
.document-file-data strong, .document-file-data small { display: block; }
.document-file-data strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.document-file-data small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.document-file-view { padding: 4px 7px; border: 1px solid #cfd3d5; border-radius: 5px; color: var(--teal); font-size: 8px; font-weight: 900; text-decoration: none; }
.document-file-view:hover { border-color: var(--teal); background: var(--teal-soft); }
.document-delete-button { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid #e5b7bb; border-radius: 6px; background: #fff6f7; color: #9d1520; cursor: pointer; font-size: 18px; line-height: 1; }
.document-delete-button:hover { border-color: #9d1520; background: #9d1520; color: #fff; }
.document-delete-button:disabled { opacity: .45; cursor: wait; }
.document-card-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.document-card-actions .button { flex: 1 1 auto; }
.timeline { padding: 8px 22px 22px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 14px 0 14px 18px; border-left: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; top: 20px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.timeline-item time { color: var(--muted); font-size: 10px; }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item small { color: var(--muted); }

.modal { width: min(650px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 11px; box-shadow: 0 25px 80px rgb(7 31 36 / 35%); }
.modal::backdrop { background: rgb(10 31 35 / 58%); backdrop-filter: blur(2px); }
.modal form { padding: 21px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 19px; }
.modal-note { padding: 10px 12px; border-radius: 6px; background: var(--teal-soft); font-size: 11px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.compact-modal { width: min(470px, calc(100% - 28px)); }
.compact-modal form { display: grid; gap: 13px; }
.delete-warning { margin: 0; padding: 11px 12px; border-left: 3px solid var(--teal); border-radius: 5px; background: var(--teal-soft); font-size: 11px; }
.name-review-modal { width: min(680px, calc(100% - 28px)); }
.name-review-content { padding: 21px; }
.name-review-intro { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.name-review-warnings { display: grid; gap: 9px; }
.name-review-warning { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid #ead7aa; border-radius: 8px; background: #fffaf0; }
.name-review-warning div { display: grid; gap: 3px; }
.name-review-warning span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.name-review-warning strong { color: var(--ink); font-size: 17px; }
.name-review-warning div:last-of-type strong { color: var(--teal); }
.name-review-warning p { grid-column: 1 / -1; margin: 1px 0 0; color: #765014; font-size: 12px; font-weight: 700; }
.name-review-arrow { color: var(--teal) !important; font-size: 20px !important; }
.name-review-note { margin: 12px 0 0; padding-left: 10px; border-left: 3px solid var(--teal); color: var(--muted); font-size: 11px; line-height: 1.5; }
.name-review-actions { flex-wrap: wrap; }
.person-preview-modal { width: min(1040px, calc(100% - 28px)); overflow: hidden; }
.person-preview-content { max-height: calc(100vh - 28px); overflow-y: auto; padding: 24px; scrollbar-color: #bbb #f3f3f3; scrollbar-width: thin; }
.preview-intro { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #d8dcde; border-radius: 8px; background: #f7f8f8; }
.preview-intro > span { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #1b1b1b; color: #fff; font-size: 12px; font-weight: 900; }
.preview-intro strong, .preview-intro p { display: block; }
.preview-intro strong { font-size: 12px; }
.preview-intro p { margin: 1px 0 0; font-size: 10px; }
.preview-suggestion-section { width: min(820px, 100%); margin: 0 auto 14px; padding: 11px 12px; border: 1px solid #e5d7b7; border-radius: 8px; background: #fffdf8; }
.preview-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.preview-section-heading span { color: #916418; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.preview-section-heading h3 { margin: 1px 0 0; font-size: 12px; text-transform: uppercase; }
.preview-section-heading .button { min-height: 30px; padding: 5px 9px; font-size: 8px; }
.preview-suggestion-section .name-review-warnings { gap: 6px; }
.preview-suggestion-section .name-review-warning { grid-template-columns: 96px minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; padding: 9px 10px; border-color: #e7dcc2; border-radius: 6px; background: #fff; }
.preview-suggestion-section .name-review-warning span { font-size: 7px; letter-spacing: .065em; }
.preview-suggestion-section .name-review-warning strong { font-size: 13px; }
.preview-suggestion-section .name-review-arrow { font-size: 15px !important; }
.preview-suggestion-section .name-warning-field { align-self: stretch; display: grid; place-items: center; padding: 5px 6px; border-radius: 5px; background: #f3f3f4; color: #56585b; text-align: center; }
.preview-suggestion-section .name-review-warning p { grid-column: 2 / -1; }
.preview-suggestion-section .name-review-warning p { color: #765d2c; font-size: 9px; font-weight: 650; line-height: 1.35; }
.preview-suggestion-section .name-review-note { margin-top: 8px; padding-left: 8px; border-left-width: 2px; font-size: 9px; line-height: 1.4; }
.person-preview-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.person-preview-group { min-width: 0; overflow: hidden; border: 1px solid #dfe1e3; border-radius: 9px; background: #fff; }
.person-preview-group header { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid #e2e3e5; background: linear-gradient(180deg, #fafafa, #f3f3f4); }
.person-preview-group header span { color: var(--teal); font-size: 8px; font-weight: 900; }
.person-preview-group header h3 { margin: 0; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.person-preview-group dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.person-preview-group dl > div { min-width: 0; padding: 10px 12px; border-right: 1px solid #ececee; border-bottom: 1px solid #ececee; }
.person-preview-group dl > div:nth-child(2n) { border-right: 0; }
.person-preview-group .preview-item-wide { grid-column: 1 / -1; border-right: 0; }
.person-preview-group dt { margin-bottom: 3px; color: var(--teal); font-size: 7px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.person-preview-group dd { margin: 0; overflow-wrap: anywhere; color: #242527; font-size: 10px; font-weight: 750; line-height: 1.4; }
.person-preview-actions { position: sticky; bottom: -24px; z-index: 2; margin: 18px -24px -24px; padding: 13px 24px; border-top: 1px solid #d9dadd; background: rgb(255 255 255 / 97%); box-shadow: 0 -7px 22px rgb(0 0 0 / 5%); }
.app-confirm-content { padding: 21px; }
.app-confirm-message { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 11px; padding: 14px; border: 1px solid #e0e1e3; border-radius: 8px; background: #f8f8f9; }
.app-confirm-message > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #1b1b1b; color: #fff; font-size: 14px; font-weight: 900; }
.app-confirm-message p { margin: 0; color: #353638; font-size: 12px; line-height: 1.55; }
.delete-person-name { margin: 0; color: var(--ink); font-size: 12px; font-weight: 800; }
#deleteConfirmation { text-transform: lowercase; }

.empty-state { max-width: 620px; margin: 60px auto; padding: 55px; text-align: center; }
.empty-mark { display: inline-grid; width: 65px; height: 45px; place-items: center; margin-bottom: 16px; border: 1px solid var(--navy); border-radius: 4px; box-shadow: inset 0 -3px 0 var(--gold); color: var(--navy); font-weight: 800; letter-spacing: .12em; }
.empty-state p { max-width: 450px; margin: 0 auto 21px; }
.toast-region { position: fixed; z-index: 10000; inset: 78px 18px auto auto; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 36px); margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; color: inherit; }
.toast { min-width: 290px; max-width: 390px; display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: center; gap: 9px; padding: 12px 14px; border: 1px solid #d6ded9; border-left: 4px solid var(--success); border-radius: 9px; background: #fff; color: #222; box-shadow: 0 14px 38px rgb(0 0 0 / 18%); font-size: 11px; font-weight: 700; animation: slide-in .2s ease; }
.toast::before { content: "✓"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e5f2eb; color: var(--success); font-size: 10px; font-weight: 950; }
.toast.error { border-color: #ead1d3; border-left-color: var(--danger); background: #fffafa; }
.toast.error::before { content: "!"; background: #f7e5e6; color: var(--danger); }
.filter-notification-region { position: fixed; z-index: 9998; right: 18px; bottom: 18px; width: min(410px, calc(100vw - 36px)); pointer-events: none; }
.filter-update-notification { position: relative; overflow: hidden; padding: 14px; border: 1px solid #d8ddda; border-top: 3px solid var(--success); border-radius: 10px; background: #fff; box-shadow: 0 18px 48px rgb(0 0 0 / 22%); pointer-events: auto; animation: filter-notification-in .24s ease; }
.filter-update-notification::after { content: ""; position: absolute; inset: 0 0 auto 50%; height: 3px; background: var(--danger); }
.filter-notification-close { position: absolute; z-index: 1; top: 7px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: #777; cursor: pointer; font-size: 18px; line-height: 1; }
.filter-notification-close:hover { background: #f1f1f1; color: #111; }
.filter-notification-heading { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; padding-right: 26px; }
.filter-notification-heading > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #e7f4ed; color: var(--success); font-weight: 950; }
.filter-notification-heading small, .filter-notification-heading strong { display: block; }
.filter-notification-heading small { color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.filter-notification-heading strong { margin-top: 1px; font-size: 13px; }
.filter-notification-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.filter-notification-counts span { display: flex; align-items: baseline; gap: 6px; padding: 8px 10px; border-radius: 7px; font-size: 10px; font-weight: 800; }
.filter-notification-counts b { font-size: 18px; line-height: 1; }
.filter-notification-counts .released { background: #e9f5ef; color: var(--success); }
.filter-notification-counts .rejected { background: #fbecee; color: var(--danger); }
.filter-notification-names { margin: 9px 2px 0; font-size: 9px; line-height: 1.45; }
.filter-notification-names.released b { color: var(--success); }
.filter-notification-names.rejected b { color: var(--danger); }
@keyframes filter-notification-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes slide-in { from { opacity: 0; transform: translateX(15px); } }

/* Refinamiento visual ejecutivo EIM */
body {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 72%) 0, transparent 36%),
    #f3f4f5;
}

.sidebar {
  background: linear-gradient(180deg, #090909 0%, #151515 58%, #080808 100%);
  box-shadow: 10px 0 34px rgb(0 0 0 / 9%);
}
.brand { border: 1px solid rgb(255 255 255 / 16%); }
.nav a { position: relative; border: 1px solid transparent; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.nav a:hover { border-color: rgb(255 255 255 / 8%); background: rgb(255 255 255 / 7%); }
.nav a.active { border-color: rgb(189 21 34 / 34%); background: linear-gradient(90deg, rgb(189 21 34 / 23%), rgb(255 255 255 / 7%)); box-shadow: inset 3px 0 0 var(--teal); }

.topbar {
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 5px 22px rgb(0 0 0 / 4%);
}

.page-heading h1 { color: #101010; }
.page-heading .eyebrow { margin-bottom: 5px; }
.panel {
  border-color: var(--container-line);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 12px 30px rgb(0 0 0 / 6%);
}
.panel-header {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-bottom-color: #e1e2e4;
}
.panel-header h2 { color: #161616; }

.button { position: relative; overflow: hidden; border-radius: 8px; letter-spacing: .015em; box-shadow: 0 2px 5px rgb(0 0 0 / 7%); transition: transform .14s ease, box-shadow .14s ease, background .16s ease, border-color .16s ease, color .16s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 13px rgb(0 0 0 / 11%); }
.button:active:not(:disabled) { transform: translateY(0); box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }
.button.primary { background: linear-gradient(180deg, #2b2b2c 0%, #090909 100%); border-color: #090909; box-shadow: 0 4px 11px rgb(0 0 0 / 16%), inset 0 1px rgb(255 255 255 / 12%); }
.button.primary:hover { background: linear-gradient(180deg, #d32230 0%, #9f0e19 100%); border-color: #920d17; box-shadow: 0 6px 16px rgb(189 21 34 / 23%); }
.button.secondary { border-color: #c7c9cc; background: linear-gradient(180deg, #fff 0%, #f4f5f6 100%); box-shadow: 0 2px 5px rgb(0 0 0 / 6%), inset 0 1px #fff; }
.button.secondary:hover { border-color: #a8aaad; background: #fff; }
.button.danger-quiet { border-color: #dfbfc2; background: linear-gradient(180deg, #fff 0%, #fff6f7 100%); }
.button.small { border-radius: 7px; }
.button:focus-visible, .icon-button:focus-visible, .copy-button:focus-visible, a:focus-visible {
  outline: 3px solid rgb(189 21 34 / 22%);
  outline-offset: 2px;
}

input, select, textarea {
  border-color: #cfd1d4;
  border-radius: 8px;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 3%);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
select {
  appearance: none;
  padding-right: 36px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3.25 5.25 3.75 3.5 3.75-3.5' fill='none' stroke='%23515559' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(180deg, #fff 0%, #fafafa 100%);
  background-repeat: no-repeat;
  background-position: right 11px center, 0 0;
  background-size: 14px 14px, 100% 100%;
  cursor: pointer;
}
select:hover { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3.25 5.25 3.75 3.5 3.75-3.5' fill='none' stroke='%23bd1522' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(180deg, #fff 0%, #f7f7f8 100%); }
select:disabled { cursor: not-allowed; }
input:hover, select:hover, textarea:hover { border-color: #b7b9bd; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgb(189 21 34 / 11%); }
.date-capture select { background-color: transparent; background-image: none; }
.inline-status-select, .inline-status-select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3.25 5.25 3.75 3.5 3.75-3.5' fill='none' stroke='%23515559' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.filter-panel { border-top: 3px solid #1b1b1b; }
.filters label > span:first-child { color: #4a4a4a; font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }

.table-panel { border-top: 3px solid var(--teal); }
.table-wrap { scrollbar-color: #b7b7b7 #f1f1f1; scrollbar-width: thin; }
.data-table { background: #fff; }
.data-table th {
  height: 39px;
  padding-block: 10px;
  border-right: 1px solid #e3e4e6;
  background: linear-gradient(180deg, #f6f6f7 0%, #eeeeef 100%);
  color: #3f4144;
  white-space: nowrap;
}
.data-table th:last-child, .data-table td:last-child { border-right: 0; }
.data-table td { border-right: 1px solid #ececee; border-bottom-color: #e4e5e7; }
.data-table tbody tr:nth-child(even) { background: #fbfbfc; }
.data-table tbody tr:hover { background: #fff5f6; box-shadow: inset 3px 0 0 var(--teal); }
.data-table tbody tr { transition: background .13s ease, box-shadow .13s ease; }
.table-toolbar { background: #fff; }
.record-id { color: #55585c; font-family: Consolas, "Courier New", monospace; letter-spacing: -.02em; }
.person-entry-button { border-radius: 7px; background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%); box-shadow: 0 2px 4px rgb(0 0 0 / 5%); transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease; }
.person-entry-button:hover { transform: translateY(-1px); box-shadow: 0 4px 9px rgb(189 21 34 / 10%); }
.action-link { border-color: #c9cbce; border-radius: 7px; background: linear-gradient(180deg, #fff 0%, #f5f6f6 100%); box-shadow: 0 2px 4px rgb(0 0 0 / 5%); transition: transform .12s ease, box-shadow .12s ease, border-color .15s ease, color .15s ease; }
.action-link:hover { transform: translateY(-1px); box-shadow: 0 4px 9px rgb(0 0 0 / 8%); }

.status-badge { border: 1px solid rgb(40 115 83 / 18%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%); }
.status-badge.pending { border-color: rgb(154 106 23 / 19%); }
.status-badge.inactive { border-color: rgb(166 64 64 / 20%); }
.progress-track { border: 1px solid #e0e1e3; background: #ececee; }
.progress-track i { background: linear-gradient(90deg, #97101a, #cf2330); }
.progress-track.progress-low i { background: linear-gradient(90deg, #a9121e, var(--progress-low)); }
.progress-track.progress-medium i { background: linear-gradient(90deg, #b7790c, var(--progress-medium)); }
.progress-track.progress-high i { background: linear-gradient(90deg, #176844, var(--progress-high)); }
.status-row.status-approved .bar-track i { background: linear-gradient(90deg, #176844, var(--progress-high)); }
.status-row.status-ready .bar-track i { background: linear-gradient(90deg, #1e4f88, var(--info)); }
.status-row.status-attention .bar-track i { background: linear-gradient(90deg, #a9121e, var(--progress-low)); }
.status-row.status-neutral .bar-track i { background: linear-gradient(90deg, #6c6f73, #96999d); }
.status-row.recruiter-row .bar-track i { background: linear-gradient(90deg, #97101a, #cf2330); }

.record-hero { position: relative; overflow: hidden; border-top: 3px solid var(--teal); }
.record-hero::after { content: ""; position: absolute; inset: 0 0 auto auto; width: 150px; height: 150px; background: radial-gradient(circle at top right, rgb(189 21 34 / 7%), transparent 68%); pointer-events: none; }
.person-monogram { background: linear-gradient(145deg, #2b2b2b, #050505); box-shadow: 0 6px 15px rgb(0 0 0 / 14%); }

.tabs {
  gap: 7px;
  padding: 6px;
  border: 1px solid var(--container-line);
  background: rgb(255 255 255 / 94%);
  border-radius: 11px;
  box-shadow: 0 5px 18px rgb(0 0 0 / 5%);
}
.tabs button {
  position: relative;
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid transparent;
  background: #f5f5f6;
  color: #5b5d61;
  transition: color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tabs button:hover { border-color: #d5d6d8; background: #fff; color: #181818; }
.tabs button.active {
  border-color: #111;
  background: linear-gradient(180deg, #292929 0%, #0b0b0b 100%);
  color: #fff;
  box-shadow: 0 5px 13px rgb(0 0 0 / 16%);
}
.tabs button.active::after { content: ""; position: absolute; right: 16px; bottom: -1px; left: 16px; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal); }
.tabs button.active .count-pill { background: var(--teal); color: #fff; }
.tab-panel.active { animation: panel-reveal .16s ease-out; }
@keyframes panel-reveal { from { opacity: .55; transform: translateY(3px); } }

.detail-grid { background: #fff; }
.detail-grid > div {
  padding: 15px 13px 11px;
  border-right: 1px solid #e8e9eb;
  border-bottom: 1px solid #e8e9eb;
  background: linear-gradient(180deg, #fff, #fdfdfd);
}
.detail-grid > div:nth-child(4n) { border-right: 0; }
.detail-grid dt { margin-bottom: 6px; }
.detail-grid dd { min-height: 27px; align-items: center; }
.copy-button { background: #f7f7f8; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.copy-button:hover { background: var(--teal-soft); }

.document-card { border-color: var(--container-line); box-shadow: 0 5px 18px rgb(0 0 0 / 5%); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.document-card:hover { transform: translateY(-2px); border-color: #c6c7c9; box-shadow: 0 10px 25px rgb(0 0 0 / 8%); }
.document-card.received { border-top-color: #287353; }
.document-card.missing { border-top-color: var(--teal); }
.document-file { border: 1px solid #e6e7e9; }

.stat-card { border-color: var(--container-line); transition: transform .15s ease, box-shadow .15s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgb(0 0 0 / 8%); }
.project-overview { border-top: 3px solid #181818; }
.project-fact strong { color: #222; }
.status-chart { background: linear-gradient(180deg, #fff, #fdfdfd); }

.modal { border: 1px solid rgb(255 255 255 / 18%); }
.modal-header { position: relative; }
.modal-header::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: linear-gradient(90deg, var(--teal), transparent 72%); }
.toast { border-radius: 8px; box-shadow: 0 14px 36px rgb(0 0 0 / 25%); }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 20%, #292929 0, #111 38%, #050505 100%); }
.login-shell { width: min(450px, 100%); }
.login-card { overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 28px 90px rgb(0 0 0 / 42%); }
.login-brand { padding: 24px 34px; border-bottom: 4px solid var(--teal); background: #fff; }
.login-brand img { display: block; width: min(285px, 100%); height: auto; margin: auto; }
.login-content { padding: 30px 34px 34px; }
.login-content h1 { font-size: 28px; }
.login-content > p:not(.eyebrow) { margin-bottom: 22px; font-size: 12px; }
.login-form { display: grid; gap: 15px; }
.login-form select { text-transform: uppercase; }
.login-submit { width: 100%; margin-top: 4px; background: var(--teal) !important; }
.login-submit:hover { background: #9e101b !important; }
.login-error { margin-bottom: 16px; padding: 10px 12px; border-left: 3px solid var(--teal); border-radius: 5px; background: var(--teal-soft); color: #8d101a; font-size: 11px; font-weight: 700; }
.login-footer { margin: 14px 0 0; color: #aaa; text-align: center; font-size: 9px; letter-spacing: .08em; }

.audit-filter-panel { margin-bottom: 14px; padding: 17px; }
.audit-filters { display: grid; grid-template-columns: minmax(240px, 2fr) minmax(180px, 1fr) minmax(160px, 1fr) auto; align-items: end; gap: 12px; }
.audit-table-wrap { max-height: calc(100vh - 290px); overflow: auto; }
.audit-table thead { position: sticky; z-index: 1; top: 0; }
.audit-table td { overflow-wrap: anywhere; text-transform: uppercase; }
.audit-person-link { display: grid; gap: 2px; min-width: 175px; color: var(--ink); text-decoration: none; }
.audit-person-link:hover strong { color: var(--teal); text-decoration: underline; }
.audit-person-link small, .audit-no-person { color: var(--muted); font-size: 9px; font-weight: 700; }
.audit-cards { display: none; }
.audit-card { padding: 14px; border-bottom: 1px solid var(--line); }
.audit-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.audit-card strong { font-size: 11px; }
.audit-card time, .audit-card small { color: var(--muted); font-size: 9px; }
.audit-card p { margin: 5px 0 2px; color: var(--ink); font-size: 10px; }
.audit-card .audit-person-link { margin-top: 8px; }

.users-layout { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.6fr); align-items: start; gap: 16px; }
.admin-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 24px 2px 10px; }
.admin-section-heading h2 { margin: 2px 0 0; font-size: 18px; }
.backup-admin-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); align-items: stretch; gap: 16px; }
.backup-control-panel { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 22px; border-top: 3px solid var(--teal); }
.backup-control-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 27px; font-weight: 900; }
.backup-control-copy h2 { margin: 3px 0 7px; font-size: 18px; }
.backup-control-copy > p:not(.eyebrow) { max-width: 590px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.backup-create-button { min-width: 160px; }
.backup-last-status { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 13px; padding: 9px 11px; border-radius: 6px; font-size: 9px; }
.backup-last-status strong { font-size: 9px; }
.backup-last-status.current { background: #e7f2ec; color: var(--success); }
.backup-last-status.overdue { background: #fff0f1; color: var(--danger); }
.backup-history-panel { overflow: hidden; border-top: 3px solid #202020; }
.backup-history { max-height: 250px; overflow: auto; }
.backup-history-item { display: grid; grid-template-columns: minmax(130px, 1.05fr) minmax(125px, 1fr) auto; align-items: center; gap: 9px; padding: 12px 14px; border-top: 1px solid var(--line); }
.backup-history-item:first-child { border-top: 0; }
.backup-history-item > div:first-child { display: grid; gap: 2px; }
.backup-history-item strong { font-size: 10px; }
.backup-history-item small { overflow-wrap: anywhere; color: var(--muted); font-size: 8px; }
.backup-history-meta { display: flex; flex-wrap: wrap; gap: 5px 9px; color: var(--muted); font-size: 8px; font-weight: 800; }
.backup-history-item.invalid { background: #fff0f1; }
.backup-history-item .button { white-space: nowrap; }
.backup-progress-overlay { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(15 15 15 / 72%); backdrop-filter: blur(3px); }
.backup-progress-card { width: min(470px, 100%); padding: 32px; border-top: 4px solid var(--teal); border-radius: 10px; background: #fff; box-shadow: 0 25px 70px rgb(0 0 0 / 35%); text-align: center; }
.backup-progress-card h2 { margin: 6px 0 9px; font-size: 23px; }
.backup-progress-card > p:not(.eyebrow) { margin: 0 0 14px; color: var(--muted); font-size: 11px; }
.backup-progress-card > strong { display: block; padding: 10px; border-radius: 6px; background: #f4f5f6; color: var(--teal); font-size: 10px; }
.backup-spinner { width: 42px; height: 42px; display: block; margin: 0 auto 16px; border: 4px solid #e3e4e5; border-top-color: var(--teal); border-radius: 50%; animation: backup-spin .8s linear infinite; }
@keyframes backup-spin { to { transform: rotate(360deg); } }
.user-create-form { display: grid; gap: 14px; padding: 20px; }
.user-create-form input { text-transform: uppercase; }
.admin-lock { color: var(--muted); font-size: 9px; font-weight: 800; }
.user-cards { display: none; }
.user-card { padding: 14px; border-bottom: 1px solid var(--line); }
.user-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.user-card p { margin: 5px 0 12px; font-size: 10px; }

.tools-grid { display: grid; grid-template-columns: minmax(0, 920px); gap: 16px; }
.tool-card { overflow: hidden; }
.tool-image-link { display: block; overflow: hidden; background: #0d3e70; }
.tool-image-link img { display: block; width: 100%; height: auto; transition: transform .18s ease, opacity .18s ease; }
.tool-image-link:hover img { transform: scale(1.008); opacity: .94; }
.tool-card-content { padding: 20px 22px 23px; }
.tool-card-content h2 { margin: 5px 0 7px; font-size: 20px; }
.tool-card-content h2 a { color: var(--ink); }
.tool-card-content h2 a:hover { color: var(--teal); }
.tool-card-content h2 span { color: var(--teal); }
.tool-card-content > p:last-child { max-width: 680px; margin: 0; font-size: 12px; }

.filter-tool-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.filter-safety-notice { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-bottom: 14px; padding: 15px 18px; border: 1px solid #dfb7ba; border-left: 4px solid var(--teal); border-radius: 8px; background: #fff7f8; }
.filter-safety-notice strong { grid-row: span 2; align-self: center; color: #96131d; font-size: 12px; text-transform: uppercase; }
.filter-safety-notice p { margin: 0; color: #5f4c4e; font-size: 11px; }
.filter-verification-notice { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 13px 17px; border: 1px solid #d9c28b; border-radius: 8px; background: #fff9e9; }
.filter-verification-notice > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #191919; color: #fff; font-size: 15px; font-weight: 900; }
.filter-verification-notice strong { display: block; margin-bottom: 2px; color: #684c0c; font-size: 12px; text-transform: uppercase; }
.filter-verification-notice p { margin: 0; color: #6f6245; font-size: 10px; }
.filter-process-panel { margin-bottom: 14px; overflow: hidden; border-top: 3px solid #1a1a1a; }
.filter-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 21px; }
.filter-process-grid input[readonly] { background: #f4f4f5; color: #555; }
.filter-process-grid .manual-field { border-color: #dfc785; background: #fff9e8; color: #795b18; font-weight: 800; }
.process-readiness { padding: 5px 9px; border-radius: 14px; font-size: 9px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.process-readiness.pending { background: #fff1dc; color: #8b6017; }
.process-readiness.ready { background: #e8f2ed; color: var(--success); }
.filter-candidates-panel { overflow: hidden; border-top: 3px solid var(--teal); }
.filter-candidates-header { min-height: 72px; }
.filter-legend { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.filter-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.filter-candidate-list { display: grid; gap: 10px; padding: 14px; background: #f5f6f7; }
.filter-candidate-card { min-width: 0; display: grid; grid-template-columns: minmax(230px, 1.15fr) minmax(460px, 2fr) 165px; align-items: center; gap: 18px; padding: 15px 16px; border: 1px solid var(--container-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 5%); }
.filter-candidate-main { min-width: 0; }
.filter-candidate-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filter-candidate-main h3 { margin: 7px 0 3px; overflow-wrap: anywhere; font-size: 14px; }
.filter-candidate-main h3 a { color: var(--ink); }
.filter-candidate-main h3 a:hover { color: var(--teal); }
.filter-candidate-main > p { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; }
.filter-candidate-data { min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.filter-candidate-data > div { min-width: 0; padding: 4px 11px; border-left: 1px solid #e6e7e8; }
.filter-candidate-data dt { margin-bottom: 5px; color: var(--teal); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.filter-candidate-data dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.filter-candidate-action { display: grid; gap: 5px; text-align: center; }
.filter-candidate-action .button { width: 100%; }
.filter-candidate-action small { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .03em; }

.workflow-panel { margin-bottom: 14px; overflow: hidden; border-top: 3px solid #1b1b1b; }
.important-dates-panel { margin-bottom: 14px; overflow: hidden; border-top: 3px solid var(--teal); }
.important-dates-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); background: #f5f6f7; }
.important-date-card { position: relative; min-width: 0; min-height: 126px; padding: 15px 13px 13px; border-right: 1px solid #e0e2e3; background: #fff; }
.important-date-card:last-child { border-right: 0; }
.important-date-number { display: block; margin-bottom: 10px; color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.important-date-card dt { min-height: 27px; color: var(--teal); font-size: 8px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.important-date-card dd { display: flex; align-items: flex-start; gap: 5px; margin: 8px 0 9px; }
.important-date-card dd strong { min-width: 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.35; }
.important-date-card dd .copy-button { flex: 0 0 auto; }
.important-date-card > small { display: block; color: var(--muted); font-size: 7px; font-weight: 800; line-height: 1.35; }
.workflow-header { align-items: center; }
.workflow-header p { margin-bottom: 0; }
.workflow-missing { display: flex; align-items: flex-start; gap: 15px; padding: 12px 20px; border-block: 1px solid #ececee; background: #fafafa; }
.workflow-missing > strong { flex: 0 0 auto; padding-top: 4px; color: var(--teal); font-size: 9px; letter-spacing: .05em; }
.workflow-missing > div { min-width: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.workflow-missing span, .workflow-pending-list span { display: inline-flex; max-width: 100%; padding: 3px 7px; border: 1px solid #e8c5c8; border-radius: 4px; background: #fff5f6; color: #8d1922; font-size: 8px; font-weight: 800; line-height: 1.3; }
.workflow-missing span.complete { border-color: #bdd9ca; background: #eff8f3; color: var(--success); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 18px 20px; background: #f5f6f7; }
.validation-card, .filter-action-card { min-width: 0; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 15px; border: 1px solid var(--container-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 5%); }
.validation-card-head, .filter-action-card > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.validation-card-head > div, .filter-action-card > div:first-child { min-width: 0; }
.validation-card-head > div { display: flex; align-items: center; gap: 8px; }
.validation-card-head > div > span, .filter-action-number { color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.validation-card h3, .filter-action-card h3 { margin: 0; font-size: 13px; text-transform: uppercase; }
.validation-card > p, .filter-action-card > p { min-height: 44px; margin: 0; font-size: 10px; }
.validation-card > p strong, .validation-card > p span { display: block; }
.validation-card > p span { margin-top: 2px; color: var(--muted); }
.local-validation-ok { color: var(--success); }
.local-validation-error { color: var(--danger); }
.official-validation-link { align-self: flex-start; }
.validation-card label, .filter-action-card label { display: grid; gap: 4px; }
.validation-card label > span, .filter-action-card label > span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.validation-card input, .validation-card select, .validation-card textarea, .filter-action-card input { width: 100%; min-width: 0; }
.validation-card textarea { resize: vertical; }
.validation-captured-value { padding: 9px 10px; border: 1px solid #dfe1e3; border-radius: 6px; background: #f7f8f8; }
.validation-captured-value > span { display: block; margin-bottom: 5px; color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.validation-captured-value > div { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.validation-captured-value strong { min-width: 0; overflow-wrap: anywhere; font-size: 11px; letter-spacing: .035em; }
.corrected-identifier-field { padding: 9px; border: 1px solid #e4b9bd; border-radius: 6px; background: #fff7f8; }
.corrected-identifier-field input { text-transform: uppercase; }
.validation-resource-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.validation-resource-actions .button { flex: 1 1 145px; }
.validation-meta { min-height: 25px; margin-top: auto; color: var(--muted); font-size: 8px; line-height: 1.4; }
.filter-action-card > small { margin-top: auto; color: var(--muted); font-size: 8px; }
.filter-send-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 9px; border-radius: 5px; background: #f5f5f5; }
.filter-send-meta dt { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.filter-send-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 9px; font-weight: 700; }
.workflow-pending-list small { align-self: center; color: var(--muted); font-size: 8px; font-weight: 800; }
.pending-more { flex: 1 0 100%; }
.pending-more summary { width: fit-content; cursor: pointer; color: var(--muted); font-size: 8px; font-weight: 900; list-style: none; }
.pending-more summary::-webkit-details-marker { display: none; }
.pending-more > div { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 5px; }
.process-link { white-space: nowrap; }

.integration-panel { overflow: hidden; border-top: 3px solid var(--teal); }
.integration-brand { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); }
.integration-brand h2, .integration-brand p { margin-bottom: 0; }
.integration-brand h2 { font-size: 20px; }
.integration-brand p:last-child { margin-top: 3px; font-size: 11px; }
.gmail-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #d6d6d6; border-radius: 9px; background: #fff; color: #bd1522; font-size: 23px; font-weight: 900; box-shadow: 0 3px 10px rgb(0 0 0 / 6%); }
.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 20px; }
.integration-grid > div { min-width: 0; padding: 17px 14px 17px 0; border-bottom: 1px solid var(--line); }
.integration-grid span, .integration-grid strong { display: block; overflow-wrap: anywhere; }
.integration-grid span { margin-bottom: 4px; color: var(--teal); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.integration-grid strong { font-size: 12px; }
.integration-message { margin: 17px 20px 0; padding: 11px 13px; border-left: 3px solid #1d1d1d; border-radius: 5px; background: #f5f5f5; color: var(--muted); font-size: 11px; }
.integration-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; }
.integration-safety { padding: 15px 20px; border-top: 1px solid #ead8da; background: #fff8f8; }
.integration-safety strong { display: block; margin-bottom: 3px; color: #8f1520; font-size: 10px; text-transform: uppercase; }
.integration-safety p { margin: 0; font-size: 10px; }

.validation-inbox-panel { margin-top: 16px; overflow: hidden; border-top: 3px solid #1b1b1b; }
.validation-inbox-header { align-items: center; }
.validation-inbox-header h2, .validation-inbox-header p { margin-bottom: 0; }
.validation-inbox-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.validation-filter-bar { display: grid; grid-template-columns: minmax(250px, 1.6fr) minmax(155px, .7fr) minmax(225px, 1fr) auto; align-items: end; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--line); background: #f7f8f8; }
.validation-filter-bar label { min-width: 0; display: grid; gap: 5px; }
.validation-filter-bar label > span { color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.validation-filter-bar input, .validation-filter-bar select { width: 100%; min-height: 38px; border: 1px solid #cfd3d5; border-radius: 6px; background: #fff; font-size: 10px; font-weight: 750; }
.validation-filter-bar input:focus, .validation-filter-bar select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(185 24 36 / 10%); outline: 0; }
.validation-filter-bar .button { min-height: 38px; white-space: nowrap; }
.validation-email-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafafa; }
.validation-email-summary > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.validation-email-summary > div:last-child { border-right: 0; }
.validation-email-summary span, .validation-email-summary strong { display: block; }
.validation-email-summary span { margin-bottom: 3px; color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.validation-email-summary strong { font-size: 20px; }
.validation-confirmation-note { display: flex; align-items: center; gap: 12px; margin: 14px; padding: 11px 13px; border: 1px solid #dfc98d; border-radius: 6px; background: #fff9e9; }
.validation-confirmation-note strong { flex: 0 0 auto; color: #765810; font-size: 9px; text-transform: uppercase; }
.validation-confirmation-note span { color: #6c6248; font-size: 9px; }
.validation-email-results { display: grid; gap: 10px; padding: 0 14px 16px; }
.validation-email-results.is-syncing { position: relative; cursor: progress; }
.validation-email-results.is-syncing::after { position: sticky; z-index: 4; top: 82px; display: block; width: max-content; max-width: calc(100% - 20px); margin: 8px 10px -38px auto; padding: 7px 10px; border: 1px solid #e1c3c5; border-radius: 6px; background: #fff7f7; box-shadow: 0 5px 16px rgb(20 20 20 / 9%); color: var(--red); content: "Actualizando validaciones…"; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.validation-email-results.empty-state { min-height: 88px; place-items: center; color: var(--muted); font-size: 11px; text-align: center; }
.validation-day-group { overflow: hidden; border: 1px solid var(--container-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 5%); }
.validation-day-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f5f6f7; box-shadow: inset 3px 0 var(--teal); }
.validation-day-header span { color: var(--teal); font-size: 7px; font-weight: 900; letter-spacing: .08em; }
.validation-day-header h3 { margin: 3px 0 0; font-size: 13px; text-transform: capitalize; }
.validation-day-header > strong { padding: 4px 7px; border-radius: 4px; background: #e9eaeb; color: var(--muted); font-size: 8px; white-space: nowrap; }
.validation-day-hours { display: grid; }
.validation-hour-group { display: grid; grid-template-columns: 82px minmax(0, 1fr); border-bottom: 1px solid #e1e3e4; }
.validation-hour-group:last-child { border-bottom: 0; }
.validation-hour-header { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 8px; border-right: 1px solid #e1e3e4; background: #f8f9f9; text-align: center; }
.validation-hour-header time { font-size: 13px; font-weight: 900; white-space: nowrap; }
.validation-hour-header span { color: var(--teal); font-size: 7px; font-weight: 900; }
.mail-read-state { min-height: 22px; display: inline-flex; align-items: center; flex: 0 0 auto; justify-self: start; padding: 4px 8px; border-radius: 4px; background: #e9eaeb; color: #5d6268; font-size: 7px; font-weight: 900; line-height: 1; white-space: nowrap; }
.mail-read-state.unread { background: #e9f1ee; color: var(--success); }
.validation-day-people { display: grid; }
.validation-email-person { min-width: 0; display: grid; grid-template-columns: minmax(320px, 460px) max-content max-content; align-items: start; justify-content: start; column-gap: 8px; row-gap: 6px; padding: 11px 14px; border-bottom: 1px solid #ececee; }
.validation-email-person:last-child { border-bottom: 0; }
.validation-email-person:has(input:checked) { background: #f2f8f5; box-shadow: inset 3px 0 var(--success); }
.validation-email-person.review { cursor: default; background: #fdfafa; }
.validation-email-person.approved { cursor: default; background: #f2f8f5; box-shadow: inset 3px 0 var(--success); }
.validation-email-person.rejected { background: #fdf2f3; box-shadow: inset 3px 0 var(--danger); }
.validation-email-person.warning { background: #fff8e8; box-shadow: inset 3px 0 #b7790c; }
.validation-email-person input { width: 16px; height: 16px; accent-color: var(--teal); }
.validation-person-identity { min-width: 0; }
.validation-person-identity strong, .validation-person-identity small { display: block; overflow-wrap: anywhere; }
.validation-person-identity strong { font-size: 11px; }
.validation-person-identity strong a { color: var(--ink); }
.validation-person-identity strong a:hover { color: var(--teal); }
.validation-person-identity small { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 700; }
.validation-person-identity .validation-typo-note { width: fit-content; max-width: 100%; margin-top: 5px; padding: 3px 6px; border: 1px solid #e4c889; border-radius: 4px; background: #fff5da; color: #80560b; font-weight: 900; }
.match-result { width: fit-content; min-height: 22px; max-width: min(240px, 100%); display: inline-flex; align-items: center; justify-content: center; justify-self: start; padding: 4px 8px; border-radius: 4px; font-size: 7px; font-weight: 900; line-height: 1.15; text-align: center; white-space: normal; }
.match-result.ready { background: #e6f2ec; color: var(--success); }
.match-result.pending { background: #fff0f1; color: #961722; }
.match-result.approved { border: 1px solid #bad8c8; background: #e6f2ec; color: var(--success); }
.match-result.rejected { border: 1px solid #e6b8bc; background: #fff0f1; color: var(--danger); }
.match-result.warning { border: 1px solid #e4c889; background: #fff5da; color: #80560b; }
.validation-sync-panel { overflow: hidden; border-top: 3px solid var(--teal); }
.validation-sync-state { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.validation-sync-state > div { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); }
.validation-sync-state > div:last-child { border-right: 0; }
.validation-sync-state span, .validation-sync-state strong { display: block; overflow-wrap: anywhere; }
.validation-sync-state span { margin-bottom: 4px; color: var(--teal); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.validation-sync-state strong { font-size: 11px; }
.validation-sync-panel > p { margin: 0; padding: 10px 18px; border-top: 1px solid var(--line); background: #f7f8f8; color: var(--muted); font-size: 9px; font-weight: 750; }
.validation-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-top: 1px solid var(--line); background: #fafafa; }
.validation-pagination strong { min-width: 120px; color: var(--muted); font-size: 9px; text-align: center; }

@media (max-width: 1180px) {
  .filters { grid-template-columns: repeat(3, 1fr); }
  .filter-actions { grid-column: auto; }
  .form-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3, .modern-record-form .project-field { grid-column: span 2; }
  .span-4 { grid-column: span 2; }
  .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid > div:nth-child(4n) { border-right: 1px solid #e8e9eb; }
  .detail-grid > div:nth-child(3n) { border-right: 0; }
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-candidate-card { grid-template-columns: minmax(220px, 1fr) minmax(380px, 1.7fr); }
  .filter-candidate-action { grid-column: 1 / -1; justify-self: end; width: 180px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-action-card { grid-column: 1 / -1; }
  .dashboard-period-form { grid-template-columns: minmax(240px, 1fr) 160px 160px; }
  .dashboard-period-form .button { grid-column: 2 / -1; justify-self: end; }
  .important-dates-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .important-date-card:nth-child(3) { border-right: 0; }
  .important-date-card:nth-child(n+4) { border-top: 1px solid #e0e2e3; }
}

@media (max-width: 1100px) {
  .dashboard-period-detail-grid { grid-template-columns: 1fr; }
  .dashboard-report-panel { grid-template-columns: 1fr; }
  .dashboard-report-panel > small { grid-column: auto; }
  .category-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-panel > .table-wrap { display: none; }
  .table-panel .people-cards { display: grid; gap: 10px; padding: 12px; }
  .people-status-table-wrap { display: none; }
  .people-status-cards { display: grid; gap: 10px; padding: 12px; }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  body.menu-open .sidebar { transform: none; }
  .sidebar-scrim { position: fixed; inset: 0; z-index: 19; background: rgb(0 0 0 / 35%); }
  body.menu-open .sidebar-scrim { display: block; }
  .app-shell { margin-left: 0; }
  .menu-button { display: block; }
  .topbar { height: 52px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: flex-start; padding: 0 18px; border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
  .main-content { padding: 22px 18px 42px; }
  .sticky-actions { left: 0; padding-right: 18px; }
  .stat-grid, .stat-grid.four-metrics { grid-template-columns: repeat(2, 1fr); }
  .dashboard-top-grid, .dashboard-insight-grid { grid-template-columns: 1fr; }
  .dashboard-top-grid .dashboard-report-panel { grid-column: auto; grid-row: auto; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .record-hero { grid-template-columns: 1fr; }
  .record-actions { grid-row: 2; flex-wrap: wrap; }
  .progress-summary { grid-row: 3; }
  .audit-filters { grid-template-columns: 1fr 1fr; }
  .audit-filters .search-field { grid-column: span 2; }
  .users-layout { grid-template-columns: 1fr; }
  .backup-admin-grid { grid-template-columns: 1fr; }
  .dashboard-period-form { grid-template-columns: 1fr 1fr; }
  .dashboard-period-title { grid-column: 1 / -1; }
  .dashboard-period-form .button { grid-column: auto; justify-self: stretch; }
  .personal-groups { grid-template-columns: 1fr; }
  .personal-group { grid-column: 1; }
  .personal-detail-grid, .personal-group-civil .personal-detail-grid, .personal-group-contact .personal-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-group-identification .personal-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .personal-detail-grid > div:nth-child(3n) { border-right: 1px solid #e8e9eb; }
  .personal-detail-grid > div:nth-child(2n) { border-right: 0; }
  .personal-detail-grid .detail-item-wide { grid-column: span 2; }
  .personal-group-identification .personal-detail-grid .detail-item-full { grid-column: 1 / -1; }
  .filter-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .validation-filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .validation-filter-search { grid-column: 1 / -1; }
  .validation-filter-bar .button { justify-self: stretch; }
  .validation-email-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .validation-email-summary > div:nth-child(2) { border-right: 0; }
  .filter-candidate-card { grid-template-columns: 1fr; }
  .filter-candidate-data > div:first-child { border-left: 0; }
  .filter-candidate-action { grid-column: auto; justify-self: stretch; width: auto; }
}

@media (max-width: 700px) {
  .backup-control-panel { grid-template-columns: 45px minmax(0, 1fr); padding: 17px; }
  .backup-control-icon { width: 43px; height: 43px; font-size: 23px; }
  .backup-create-button { grid-column: 1 / -1; width: 100%; }
  .backup-history-item { grid-template-columns: 1fr auto; }
  .backup-history-meta { grid-column: 1; }
  .backup-history-item .button { grid-column: 2; grid-row: 1 / span 2; }
  .dashboard-report-panel form { grid-template-columns: 1fr; }
  .record-process-summary, .category-options { grid-template-columns: 1fr; }
  .dashboard-metric-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .dashboard-current-badges { flex-wrap: wrap; }
  .split-heading { align-items: stretch; flex-direction: column; }
  .split-heading .button { align-self: flex-start; }
  .project-overview { grid-template-columns: 1fr; }
  .project-fact { border-top: 1px solid var(--line); border-left: 0; }
  .project-fact:first-child { border-top: 0; }
  .filters { grid-template-columns: 1fr 1fr; }
  .search-field { grid-column: span 2; }
  .table-panel > .table-wrap { display: none; }
  .people-cards { display: grid; gap: 10px; padding: 12px; }
  .person-card { padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
  .person-card-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
  .person-card h3 { margin: 0 0 2px; font-size: 14px; }
  .person-card p { margin: 0; font-size: 10px; }
  .person-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 13px 0; }
  .person-card-grid span { display: block; color: var(--muted); font-size: 9px; }
  .person-card-grid strong { display: block; font-size: 11px; }
  .person-card-status-field { grid-column: 1 / -1; }
  .person-card-actions { display: flex; gap: 6px; }
  .person-card-missing { margin: 0 0 13px; padding-top: 10px; border-top: 1px solid var(--line); }
  .person-card-missing > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
  .form-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid > div:nth-child(3n) { border-right: 1px solid #e8e9eb; }
  .detail-grid > div:nth-child(2n) { border-right: 0; }
  .record-identity { align-items: flex-start; }
  .record-title-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .timeline-item { grid-template-columns: 1fr; gap: 3px; }
  .audit-table-wrap { display: none; }
  .audit-cards { display: block; }
  .users-layout .table-wrap { display: none; }
  .user-cards { display: block; }
  .filter-tool-heading { align-items: flex-start; flex-direction: column; }
  .filter-safety-notice { grid-template-columns: 1fr; }
  .filter-safety-notice strong { grid-row: auto; }
  .filter-candidates-header { align-items: flex-start; flex-direction: column; }
  .filter-candidate-data { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; }
  .filter-candidate-data > div:nth-child(odd) { border-left: 0; }
  .workflow-grid { grid-template-columns: 1fr; }
  .filter-action-card { grid-column: auto; }
  .workflow-missing { align-items: stretch; flex-direction: column; gap: 7px; }
  .important-dates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .important-date-card:nth-child(3) { border-right: 1px solid #e0e2e3; }
  .important-date-card:nth-child(2n) { border-right: 0; }
  .important-date-card:nth-child(n+3) { border-top: 1px solid #e0e2e3; }
  .integration-grid { grid-template-columns: 1fr; }
  .integration-brand { grid-template-columns: auto 1fr; }
  .integration-brand > .status-badge { grid-column: 1 / -1; justify-self: start; }
  .validation-inbox-header { align-items: stretch; flex-direction: column; }
.validation-inbox-actions .button { flex: 1; }
.validation-hour-group { grid-template-columns: 1fr; }
  .validation-hour-header { min-height: 40px; align-items: center; flex-direction: row; justify-content: flex-start; padding: 8px 12px; border-right: 0; border-bottom: 1px solid #e1e3e4; }
  .validation-email-person { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .validation-person-identity { grid-column: 1; }
  .validation-email-person > .mail-read-state { grid-column: 1; justify-self: start; }
  .match-result { grid-column: 1; justify-self: start; white-space: normal; }
}

@media (max-width: 480px) {
  .validation-filter-bar { grid-template-columns: 1fr; padding: 12px; }
  .validation-filter-search { grid-column: auto; }
  .backup-history-item { grid-template-columns: 1fr; }
  .backup-history-item .button { grid-column: 1; grid-row: auto; width: 100%; }
  .backup-progress-card { padding: 24px 18px; }
  .main-content { padding-inline: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dashboard-period-form { grid-template-columns: 1fr; padding: 14px; }
  .dashboard-period-title, .dashboard-period-form .button { grid-column: auto; }
  .dashboard-period-shortcuts { padding-inline: 14px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 24px; }
  .filters, .form-grid.cols-4, .form-grid.cols-3, .form-grid.cols-2 { grid-template-columns: 1fr; }
  .search-field, .span-2, .span-3, .span-4 { grid-column: span 1; }
  .modern-record-form .project-field { grid-column: span 1; }
  .modern-form-heading { padding: 18px; }
  .form-heading-meta { gap: 6px; }
  .form-heading-meta i { width: 16px; }
  .date-capture { grid-template-columns: 34px minmax(54px, .65fr) minmax(102px, 1.35fr) minmax(72px, .8fr); gap: 3px; }
  .date-capture select { padding-inline: 4px; font-size: 9px; }
  .filter-actions { justify-content: stretch; }
  .filter-actions .button { flex: 1; }
  .custom-filter-select-menu { max-height: 235px; }
  .people-status-groups { gap: 8px; padding: 9px; }
  .people-status-group > summary { min-height: 50px; padding: 10px 11px; }
  .people-status-group-title { align-items: flex-start; flex-direction: column; gap: 4px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > div { border-right: 0; }
  .personal-groups { gap: 11px; padding: 12px; }
  .personal-group-header { min-height: 56px; padding: 11px 12px; }
  .personal-group-header h3 { font-size: 13px; }
  .personal-detail-grid, .personal-group-civil .personal-detail-grid, .personal-group-contact .personal-detail-grid { grid-template-columns: 1fr; }
  .personal-group-identification .personal-detail-grid { grid-template-columns: 1fr; }
  .personal-detail-grid > div, .personal-group-civil .personal-detail-grid > div, .personal-group-contact .personal-detail-grid > div { min-height: 70px; padding: 13px; border-right: 0; }
  .personal-detail-grid .detail-item-wide { grid-column: span 1; }
  .personal-detail-grid dd { font-size: 13px; }
  .document-grid { grid-template-columns: 1fr; padding: 12px; }
  .record-hero { padding: 15px; }
  .person-monogram { width: 43px; height: 43px; }
  .credential-photo { width: 70px; height: 92px; border-radius: 7px; }
  .credential-user-icon { width: 38px; height: 38px; margin-bottom: 5px; }
  .credential-user-icon::before { top: 6px; width: 11px; height: 11px; }
  .credential-user-icon::after { bottom: 5px; width: 23px; height: 14px; }
  .record-title-line h1 { font-size: 19px; }
  .record-actions .button { flex: 1; }
  .modal form { padding: 16px; }
  .name-review-content { padding: 16px; }
  .name-review-warning { grid-template-columns: 1fr; gap: 7px; }
  .name-review-arrow { display: none; }
  .name-review-actions .button { width: 100%; }
  .person-preview-content { padding: 16px; }
  .person-preview-groups { grid-template-columns: 1fr; }
  .person-preview-group dl { grid-template-columns: 1fr; }
  .person-preview-group dl > div { border-right: 0; }
  .preview-section-heading { align-items: stretch; flex-direction: column; }
  .preview-suggestion-section .name-review-warning { grid-template-columns: 1fr; }
  .preview-suggestion-section .name-review-warning p { grid-column: 1; }
  .person-preview-actions { bottom: -16px; flex-direction: column-reverse; margin: 16px -16px -16px; padding: 12px 16px; }
  .person-preview-actions .button { width: 100%; }
  .app-confirm-content { padding: 16px; }
  .login-page { padding: 12px; }
  .login-brand { padding: 19px 25px; }
  .login-content { padding: 24px 22px 27px; }
  .audit-filters { grid-template-columns: 1fr; }
  .audit-filters .search-field { grid-column: span 1; }
  .tool-card-content { padding: 17px; }
  .tool-card-content h2 { font-size: 17px; }
  .filter-process-grid { grid-template-columns: 1fr; padding: 14px; }
  .filter-candidate-list { padding: 10px; }
  .filter-candidate-card { gap: 14px; padding: 14px; }
  .filter-candidate-data { grid-template-columns: 1fr; gap: 0; }
  .filter-candidate-data > div { padding: 9px 0; border-bottom: 1px solid #ececee; border-left: 0; }
  .workflow-grid { padding: 10px; }
  .important-dates-grid { grid-template-columns: 1fr; }
  .important-date-card, .important-date-card:nth-child(3) { min-height: 0; border-top: 1px solid #e0e2e3; border-right: 0; }
  .important-date-card:first-child { border-top: 0; }
  .validation-email-summary { grid-template-columns: 1fr 1fr; }
  .validation-email-summary > div { padding: 12px; }
  .validation-sync-state { grid-template-columns: 1fr; }
  .validation-sync-state > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .validation-sync-state > div:last-child { border-bottom: 0; }
  .validation-change-item { grid-template-columns: 68px minmax(0, 1fr); }
  .validation-pagination { gap: 7px; }
  .validation-pagination .button { min-width: 0; padding-inline: 9px; }
  .validation-confirmation-note { align-items: flex-start; flex-direction: column; gap: 4px; }
}
