:root {
  --corp-navy: #0f2744;
  --corp-navy-mid: #1a3a5c;
  --corp-blue: #0b5cab;
  --corp-blue-hover: #094a8f;
  --bg-page: #eef1f6;
  --bg-subtle: #f7f9fc;
  --surface: #fff;
  --border: #d8dee8;
  --border-strong: #c5cdd9;
  --text: #1a2332;
  --text-secondary: #4a5568;
  --muted: #64748b;
  --accent: var(--corp-blue);
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --success: #047857;
  --success-bg: #ecfdf5;
  --hold: #c2410c;
  --hold-bg: #fff7ed;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;
  --shadow-sm: 0 1px 2px #0f27440f;
  --shadow-md: 0 4px 12px #0f274414;
  --shadow-lg: 0 12px 40px #0f27441f;
  --sidebar-bg: #0c1929;
  --sidebar-border: #ffffff0f;
  --radius: 6px;
  --radius-lg: 10px;
  --dash-surface: #fff;
  --dash-surface-elevated: #f4f6f9;
  --dash-border: #d4dce6;
  --dash-border-soft: #e8edf2;
  --dash-text: #0f1f2e;
  --dash-text-secondary: #3d5266;
  --dash-text-muted: #5f7386;
  --dash-heading: #0f2744;
  --dash-accent-line: #1e3a5c;
  --dash-accent-line-alt: #0b5cab;
  --dash-track: #e8ecf4;
  --dash-stage-hold: #e8a838;
  --dash-stage-pend: #8ba3bc;
  --dash-stage-ready: #5c7cfa;
  --dash-stage-mou: #0d9488;
  --dash-stage-bank: #2563eb;
  --dash-stage-done: #1e3a8a;
  --dash-attn-hold: #d97706;
  --dash-attn-seed: #0369a1;
  --dash-attn-bill: #4f46e5;
  --dash-attn-workman: #dc2626;
  --dash-bar-verify: #3d6e8f;
  --dash-bar-ready: #2563eb;
  --dash-bar-bank: #1d4ed8;
  --dash-bar-linked: #1e3a8a;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

*, :before, :after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg-page);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, #0b5cab12, transparent 55%),
    linear-gradient(180deg, #e8ecf4 0%, var(--bg-page) 32%);
  margin: 0;
}

#root {
  height: 100%;
  min-height: 0;
}

a {
  color: var(--corp-blue);
  text-decoration: none;
}

a:hover {
  color: var(--corp-blue-hover);
  text-decoration: underline;
}

.skip-link {
  z-index: 9999;
  color: #fff;
  border-radius: var(--radius);
  background: #14532d;
  padding: .5rem 1rem;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
  top: .75rem;
  left: -9999px;
}

.skip-link:focus {
  outline: none;
  left: .75rem;
  box-shadow: 0 0 0 3px #15803d59;
}

.visually-hidden {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #15803d;
}

button:focus:not(:focus-visible), a:focus:not(:focus-visible) {
  outline: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  overflow: hidden;
}

.topbar {
  background: linear-gradient(105deg, #0a1f35 0%, var(--corp-navy) 45%, #152f4d 100%);
  color: #fff;
  min-height: 58px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border-bottom: 1px solid #ffffff14;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding: 0 1.5rem;
  display: flex;
}

.topbar__user {
  background: #ffffff14;
  border: 1px solid #ffffff1f;
  border-radius: 999px;
  align-items: center;
  gap: .65rem;
  padding: .25rem .65rem .25rem .25rem;
  display: flex;
}

.topbar__user-avatar {
  letter-spacing: .04em;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: .65rem;
  font-weight: 800;
  display: flex;
}

.topbar__user-meta {
  flex-direction: column;
  line-height: 1.2;
  display: flex;
}

.topbar__user-role {
  font-size: .8125rem;
  font-weight: 600;
}

.topbar__user-env {
  opacity: .75;
  font-size: .6875rem;
}

.topbar__left {
  align-items: center;
  gap: .875rem;
  display: flex;
}

.topbar__left--brand {
  flex: 1;
  min-width: 0;
}

.topbar__brand {
  align-items: center;
  min-width: 0;
  display: flex;
}

.topbar__brand-img {
  object-fit: contain;
  object-position: left center;
  width: auto;
  max-width: min(100%, 560px);
  height: clamp(48px, 11vw, 68px);
  display: block;
}

.topbar__brand-img--indiramma {
  object-position: left center;
  max-width: min(100%, 480px);
  height: clamp(44px, 10vw, 64px);
}

.topbar__mark {
  border-radius: var(--radius);
  letter-spacing: -.02em;
  background: #ffffff1f;
  border: 1px solid #fff3;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
}

.topbar__mark-inner {
  opacity: .95;
}

.topbar__titles {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  display: flex;
}

.topbar__product {
  letter-spacing: -.02em;
  font-size: 1.05rem;
  font-weight: 700;
}

.topbar__divider {
  background: #ffffff40;
  align-self: center;
  width: 1px;
  height: 14px;
}

.topbar__module {
  color: #ffffffd1;
  font-size: .8125rem;
  font-weight: 500;
}

.topbar__right {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.pill {
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  align-items: center;
  padding: .28rem .65rem;
  font-size: .6875rem;
  font-weight: 600;
  display: inline-flex;
}

.pill--outline {
  color: #fffffff2;
  border: 1px solid #ffffff59;
}

.pill--soft {
  color: #ffffffe0;
  background: #ffffff1f;
  border: 1px solid #0000;
}

.app-body {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.app-body__row {
  flex: auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.app-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(#f8fafc 0%, #f1f5f9 100%);
  flex-shrink: 0;
  width: 100%;
  padding: .4rem 1rem .45rem;
  box-shadow: 0 -1px #0f172a0a;
}

.app-footer__inner {
  text-align: center;
  word-wrap: break-word;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

.app-footer__copy {
  color: var(--muted);
  margin: 0;
  font-size: .6875rem;
  line-height: 1.35;
}

.app-footer__dev {
  color: var(--text-secondary);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .3rem .5rem;
  font-size: .6875rem;
  line-height: 1.35;
  display: flex;
}

.app-footer__dev-label {
  color: var(--muted);
}

.app-footer__dev-link {
  max-width: 100%;
  color: inherit;
  outline-offset: 2px;
  border-radius: 6px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .4rem .55rem;
  text-decoration: none;
  display: inline-flex;
}

.app-footer__dev-link:hover .app-footer__dev-name {
  text-decoration: underline;
}

.app-footer__dev-link:focus-visible {
  outline: 2px solid var(--corp-blue);
}

.app-footer__dev-logo {
  object-fit: contain;
  width: auto;
  max-width: 5.5rem;
  height: 1.35rem;
  display: block;
}

.app-footer__dev-name {
  color: var(--text);
  font-weight: 600;
}

.sidebar {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
  width: 272px;
  min-height: 0;
  padding: 0;
  display: flex;
  overflow: hidden auto;
  box-shadow: 4px 0 24px #0000001f;
}

.sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.sidebar__brand-block {
  border-bottom: 1px solid var(--sidebar-border);
  background: linear-gradient(#ffffff0a 0%, #0000 100%);
  padding: 1.35rem 1.25rem 1.1rem;
}

.sidebar__brand-title {
  color: #f1f5f9;
  letter-spacing: -.02em;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  display: block;
}

.sidebar__brand-desc {
  color: #94a3b8f2;
  margin-top: .25rem;
  font-size: .6875rem;
  line-height: 1.4;
  display: block;
}

.sidebar__section-label {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8d9;
  padding: 1rem 1.25rem .4rem;
  font-size: .625rem;
  font-weight: 600;
}

.nav-link {
  border-radius: var(--radius);
  color: #cbd5e1eb;
  border-left: 3px solid #0000;
  align-items: center;
  gap: .65rem;
  margin: .15rem .65rem;
  padding: .6rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: flex;
}

.nav-link__icon {
  opacity: .85;
  flex-shrink: 0;
}

.nav-link:hover {
  color: #fff;
  background: #ffffff0f;
  text-decoration: none;
}

.nav-link--active {
  color: #fff;
  background: #3b82f626;
  border-left-color: #60a5fa;
  font-weight: 600;
}

.nav-link--active .nav-link__icon {
  color: #93c5fd;
  opacity: 1;
}

.sidebar__promo {
  border-radius: var(--radius-lg);
  background: #3b82f61a;
  border: 1px solid #3b82f638;
  align-items: flex-start;
  gap: .65rem;
  margin: 1.25rem .75rem 0;
  padding: .85rem 1rem;
  display: flex;
}

.sidebar__promo-icon {
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: .1rem;
}

.sidebar__promo strong {
  color: #e2e8f0;
  margin-bottom: .25rem;
  font-size: .75rem;
  display: block;
}

.sidebar__promo p {
  color: #94a3b8f2;
  margin: 0;
  font-size: .6875rem;
  line-height: 1.45;
}

.sidebar__foot {
  border-top: 1px solid var(--sidebar-border);
  background: #00000026;
  margin-top: auto;
  padding: 1.1rem 1.25rem;
}

.sidebar__foot-text {
  color: #64748bf2;
  margin: 0;
  font-size: .625rem;
  line-height: 1.5;
}

.main {
  background: none;
  flex: 1;
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: grid;
  overflow: hidden;
}

.main__scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  background-image: linear-gradient(#ffffff6b 0%, #0000 220px);
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden auto;
}

.main__scroll-fill {
  flex-direction: column;
  flex: auto;
  width: 100%;
  display: flex;
}

.main__canvas {
  flex: 0 auto;
  min-height: 0;
  padding: 1.75rem 2rem 3rem;
}

.main__scroll-fill > .app-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.main__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-title {
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0 0 .35rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
}

.page-desc {
  color: var(--muted);
  max-width: 56rem;
  margin: 0 0 1.5rem;
  font-size: .9375rem;
}

.kpi-grid {
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
  display: grid;
}

.kpi-grid--dense {
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--corp-blue);
  padding: 1rem 1.15rem;
}

.kpi-card:nth-child(4n+2) {
  border-top-color: var(--corp-navy-mid);
}

.kpi-card:nth-child(4n+3) {
  border-top-color: #0d9488;
}

.kpi-card:nth-child(4n+4) {
  border-top-color: #7c3aed;
}

.kpi-card__label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  font-size: .6875rem;
  font-weight: 600;
}

.kpi-card__value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.15;
}

.kpi-card__hint {
  color: var(--muted);
  margin-top: .4rem;
  font-size: .75rem;
  line-height: 1.35;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem;
}

.card--elevated {
  box-shadow: var(--shadow-md);
  border-color: #cdd5e1;
}

.leads-import-header-actions {
  flex-shrink: 0;
  align-self: flex-start;
}

.leads-import-box {
  width: auto;
  max-width: 100%;
  margin-bottom: 0;
  padding: .55rem .7rem;
  display: inline-block;
}

.leads-import-box--corner {
  text-align: right;
}

.leads-import-box--corner .btn {
  white-space: normal;
  text-align: center;
  max-width: 14rem;
}

.leads-import-panel-below-header {
  margin-bottom: 1.25rem;
}

.card--pipeline {
  padding-bottom: 1.5rem;
}

.card__head {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: .85rem;
  display: flex;
}

.card__head--accent {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, #eff6ff99 0%, #0000 100%);
  border-bottom-color: #bfdbfe;
  margin: -1.35rem -1.5rem 1.25rem;
  padding: 1.25rem 1.5rem 1rem;
}

.card__head-left {
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.card__icon-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--info-border);
  width: 44px;
  height: 44px;
  color: var(--corp-blue);
  background: #fff;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.card__head-lead {
  color: var(--text-secondary);
  max-width: 52rem;
  margin: .35rem 0 0;
  font-size: .875rem;
  line-height: 1.55;
}

.card__title--inline {
  margin-bottom: 0;
}

.card__head-meta {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .75rem;
  font-weight: 600;
}

.card__head-tag {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--corp-blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 4px;
  padding: .25rem .55rem;
  font-size: .6875rem;
  font-weight: 700;
}

.card--subcontractor {
  border-color: #93c5fd;
  box-shadow: 0 4px 20px #2563eb1a;
}

.subcontractor-firm-panel {
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-top: 1rem;
  padding: 1.15rem 1.35rem 1.25rem;
}

.subcontractor-firm-panel > .form-section-title {
  border-bottom: 1px solid #e2e8f0;
  margin: 0 0 .85rem;
  padding-bottom: .7rem;
}

.subcontractor-firm-panel .summary-dl {
  grid-template-columns: minmax(10.5rem, 32%) 1fr;
  align-items: start;
  gap: .55rem 1.25rem;
}

.subcontractor-firm-panel .summary-dl dd {
  word-break: break-word;
  min-width: 0;
}

.dedicated-subcontractor-link {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.dedicated-subcontractor-link .page-header {
  margin-bottom: 1rem;
}

.dedicated-subcontractor-link .page-header__subtitle {
  gap: .35rem;
}

.dedicated-subcontractor-link__meta {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.45;
  display: flex;
}

.dedicated-subcontractor-link__meta .mono {
  color: #334155;
  font-weight: 500;
}

.dedicated-subcontractor-link__title-row {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .65rem;
  margin-top: .2rem;
  display: flex;
}

.dedicated-subcontractor-link__beneficiary-name {
  color: var(--text);
  letter-spacing: -.02em;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.dedicated-subcontractor-link__title-sep {
  color: #94a3b8;
  -webkit-user-select: none;
  user-select: none;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.dedicated-subcontractor-link__subcontractor {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .5rem;
  font-size: .875rem;
  line-height: 1.4;
  display: inline-flex;
}

.dedicated-subcontractor-link__subcontractor-label {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #64748b;
  font-size: .6875rem;
  font-weight: 600;
}

.dedicated-subcontractor-link__subcontractor-name {
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
}

.dedicated-subcontractor-link__toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
}

.dedicated-subcontractor-link .card--subcontractor-dedicated {
  border-color: #bbf7d0;
  margin-bottom: 0;
  padding: 1.2rem 1.35rem 1.3rem;
  box-shadow: 0 1px 2px #0f172a0d;
}

.dedicated-subcontractor-link .card--subcontractor-dedicated .form-section-title:first-of-type {
  margin-top: 0;
  padding-top: .1rem;
}

.dedicated-subcontractor-link .card--subcontractor-dedicated .toolbar-row:last-child {
  margin-top: 1.1rem;
  margin-bottom: 0;
}

.dedicated-subcontractor-link .card--subcontractor-dedicated .section-lead--tight {
  margin-bottom: .45rem;
}

.dedicated-subcontractor-link .card--subcontractor-dedicated .field--full select {
  max-width: 100%;
}

.beneficiary-dedicated-hub__deck {
  color: var(--muted);
  max-width: 52rem;
  margin-top: .5rem;
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.45;
  display: block;
}

.beneficiary-dedicated-hub__section {
  margin-bottom: 2rem;
}

.beneficiary-dedicated-hub__h {
  letter-spacing: -.02em;
  color: var(--corp-navy, #0f172a);
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.beneficiary-dedicated-hub__lead {
  color: var(--muted);
  max-width: 48rem;
  margin: 0 0 .85rem;
  font-size: .8125rem;
  line-height: 1.45;
}

.beneficiary-dedicated-hub__panel {
  background: linear-gradient(#fffbeb 0%, #fff 42%);
  border-color: #fde68a;
  padding: 1rem 1.15rem 1.15rem;
}

.beneficiary-dedicated-hub__panel--gantt {
  background: #fffef7;
  border-color: #f5e9c8;
  padding: 1rem .85rem 1.35rem;
  overflow: visible;
}

.beneficiary-gantt--empty {
  padding: .25rem 0 .5rem;
}

.beneficiary-gantt {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.beneficiary-gantt__chart-title {
  text-align: center;
  color: #3f3f46;
  letter-spacing: .02em;
  margin: 0 0 .35rem;
  font-size: .875rem;
  font-weight: 700;
}

.beneficiary-gantt__duration {
  text-align: center;
  color: #52525b;
  margin: 0 0 .65rem;
  font-size: .8125rem;
  font-weight: 600;
}

.beneficiary-gantt__metrics {
  background: #ffffffbf;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem .85rem;
  margin: 0 0 .9rem;
  padding: .65rem .7rem;
  display: grid;
}

.beneficiary-gantt__metric {
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  display: flex;
}

.beneficiary-gantt__metric-label {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #78716c;
  white-space: normal;
  hyphens: auto;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1.25;
}

.beneficiary-gantt__metric-value {
  color: #292524;
  font-variant-numeric: tabular-nums;
  font-size: .8125rem;
  font-weight: 700;
}

.beneficiary-gantt__metric-sub {
  color: #78716c;
  font-size: .6875rem;
  font-weight: 600;
}

.beneficiary-gantt__metric-value--behind {
  color: #b45309;
}

.beneficiary-gantt__metric-value--ahead {
  color: #15803d;
}

.beneficiary-gantt__metric-value--neutral {
  color: #52525b;
}

@media (width <= 720px) {
  .beneficiary-gantt__metrics {
    grid-template-columns: 1fr;
  }
}

.beneficiary-gantt__scroll {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
  border-radius: 6px;
  outline: none;
  width: 100%;
  max-width: 100%;
  margin-bottom: .25rem;
  padding-bottom: .65rem;
  overflow: auto visible;
}

.beneficiary-gantt__scroll:focus-visible {
  box-shadow: 0 0 0 2px #0b5cab59;
}

.beneficiary-gantt__body {
  box-sizing: border-box;
  grid-template-columns: max-content minmax(38rem, 1fr);
  align-items: start;
  gap: 0 .35rem;
  width: max(52rem, 100%);
  min-width: 52rem;
  display: grid;
}

.beneficiary-gantt__labels {
  flex-direction: column;
  padding-left: .25rem;
  display: flex;
}

.beneficiary-gantt__corner {
  flex-shrink: 0;
  height: 1.45rem;
  margin-bottom: .2rem;
}

.beneficiary-gantt__label {
  text-align: right;
  color: #3f3f46;
  box-sizing: border-box;
  border-bottom: 1px solid #0000;
  justify-content: flex-end;
  align-items: center;
  max-width: 12.5rem;
  min-height: 2.35rem;
  margin-bottom: .35rem;
  padding: .2rem .2rem .2rem .25rem;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.3;
  display: flex;
}

.beneficiary-gantt__tracks {
  flex-direction: column;
  min-width: 38rem;
  display: flex;
}

.beneficiary-gantt__axis {
  border-bottom: 1px solid #d4d4d8;
  flex-shrink: 0;
  height: 1.45rem;
  margin-bottom: .2rem;
  position: relative;
}

.beneficiary-gantt__tick {
  color: #71717a;
  font-variant-numeric: tabular-nums;
  font-size: .625rem;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
}

.beneficiary-gantt__track {
  background: #fef9c359;
  border-radius: 4px;
  flex-shrink: 0;
  height: 2.35rem;
  margin-bottom: .35rem;
  position: relative;
}

.beneficiary-gantt__bar {
  box-sizing: border-box;
  background: #fef08ab8;
  border: 1px solid #eab30873;
  border-radius: 2px;
  min-width: 2px;
  position: absolute;
  top: .22rem;
  bottom: .22rem;
}

.beneficiary-gantt__bar--has-actual {
  background: #fde047d9;
  border-color: #ca8a048c;
}

.beneficiary-gantt__caption {
  color: #3f3f46;
  white-space: nowrap;
  pointer-events: none;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.25;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.beneficiary-gantt__cap-approx {
  color: #57534e;
}

.beneficiary-gantt__cap-actual {
  color: #1c1917;
  font-weight: 700;
}

@media (width <= 900px) {
  .beneficiary-dedicated-hub__panel--gantt {
    padding: .85rem .55rem 1.1rem;
  }

  .beneficiary-gantt__label {
    max-width: 10rem;
    min-height: 2.15rem;
    margin-bottom: .3rem;
    font-size: .75rem;
  }

  .beneficiary-gantt__track {
    height: 2.15rem;
    margin-bottom: .3rem;
  }

  .beneficiary-gantt__caption {
    font-size: .625rem;
  }
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card__title {
  color: var(--text);
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  font-size: .9375rem;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
}

table.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .875rem;
}

.data-table th, .data-table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: .7rem 1rem;
}

.data-table thead th {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--border-strong);
  font-size: .6875rem;
  font-weight: 600;
}

.data-table tbody tr:hover td {
  background: #fafbfd;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.badge {
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1px solid #0000;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .6875rem;
  font-weight: 600;
  display: inline-block;
}

.badge--hold {
  background: var(--hold-bg);
  color: var(--hold);
  border-color: #fed7aa;
}

.badge--pending {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: #fde68a;
}

.badge--ok {
  background: var(--success-bg);
  color: var(--success);
  border-color: #a7f3d0;
}

.badge--outline {
  color: var(--muted);
  border-color: var(--border);
  text-transform: none;
  letter-spacing: .02em;
  background: #fff;
}

.badge--progress {
  background: var(--info-bg);
  color: #1d4ed8;
  border-color: var(--info-border);
}

.badge--banking {
  color: #92400e;
  background: #fef3c7;
  border-color: #fcd34d;
}

.badge--complete {
  color: #065f46;
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.lead-status-pill {
  border: 1px solid #0000;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.25;
  display: inline-block;
}

.lead-status-pill--interested {
  background: var(--success-bg);
  color: var(--success);
  border-color: #a7f3d0;
}

.lead-status-pill--not-interested {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #fecaca;
}

.btn {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  justify-content: center;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  text-decoration: none;
}

.btn--primary {
  background: var(--corp-blue);
  border-color: var(--corp-blue);
  color: #fff;
  box-shadow: 0 1px 2px #0b5cab40;
}

.btn--primary:hover {
  background: var(--corp-blue-hover);
  border-color: var(--corp-blue-hover);
  color: #fff;
}

.btn--sm {
  padding: .4rem .75rem;
  font-size: .75rem;
}

.btn--lg {
  padding: .65rem 1.35rem;
  font-size: .9375rem;
}

.btn--danger {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #fecaca;
}

.btn--danger:hover {
  background: #fee2e2;
}

.btn--link {
  box-shadow: none;
  color: var(--corp-blue);
  background: none;
  border-color: #0000;
  padding-left: .25rem;
  padding-right: .25rem;
}

.btn--link:hover {
  background: none;
  text-decoration: underline;
}

.field-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
  display: grid;
}

.field--full {
  grid-column: 1 / -1;
}

.file-hint {
  margin-top: .35rem;
  font-size: .8125rem;
  display: block;
}

.field label {
  color: var(--text-secondary);
  margin-bottom: .3rem;
  font-size: .75rem;
  font-weight: 600;
  display: block;
}

.field input, .field select, .field textarea {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--text);
  padding: .5rem .65rem;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--corp-blue);
  outline: none;
  box-shadow: 0 0 0 3px #0b5cab26;
}

.field input:disabled, .field select:disabled, .field textarea:disabled {
  background: var(--bg-subtle);
  color: var(--muted);
  cursor: not-allowed;
}

.searchable-select {
  z-index: 1;
  width: 100%;
  position: relative;
}

.searchable-select[data-open="true"] {
  z-index: 40;
}

.searchable-select__trigger {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-height: 2.375rem;
  padding: .5rem .65rem;
  font-size: .875rem;
  display: flex;
}

.searchable-select__trigger:disabled {
  background: var(--bg-subtle);
  color: var(--muted);
  cursor: not-allowed;
}

.searchable-select__trigger:focus {
  border-color: var(--corp-blue);
  outline: none;
  box-shadow: 0 0 0 3px #0b5cab26;
}

.searchable-select__trigger-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.searchable-select__chevron {
  opacity: .65;
  flex-shrink: 0;
  font-size: .65rem;
}

.searchable-select__panel {
  z-index: 50;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px #0f172a1f;
}

.searchable-select__panel--portal {
  max-width: calc(100vw - 16px);
  overflow: hidden;
}

.searchable-select__search {
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
  width: 100%;
  color: var(--text);
  font: inherit;
  padding: .45rem .65rem;
  font-size: .8125rem;
  display: block;
}

.searchable-select__search:focus {
  background: var(--surface);
  outline: none;
}

.searchable-select__list {
  max-height: min(240px, 40vh);
  margin: 0;
  padding: .25rem 0;
  list-style: none;
  overflow-y: auto;
}

.searchable-select__empty {
  color: var(--muted);
  padding: .5rem .65rem;
  font-size: .8125rem;
}

.searchable-select__option {
  width: 100%;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: .4rem .65rem;
  font-size: .8125rem;
  display: block;
}

.searchable-select__option:hover, .searchable-select__option--active {
  background: #0b5cab14;
}

.searchable-select--dash .searchable-select__trigger {
  border-radius: var(--radius-md);
  border-color: var(--dash-border);
  background: var(--dash-bg);
  min-height: auto;
  color: var(--dash-text);
  padding: .45rem .55rem;
  font-size: .8125rem;
}

.searchable-select--dash .searchable-select__trigger:focus {
  border-color: var(--corp-blue, #2563eb);
  box-shadow: 0 0 0 2px #2563eb33;
}

.searchable-select--dash .searchable-select__trigger:disabled {
  background: var(--dash-surface);
  opacity: .75;
}

.searchable-select--dash .searchable-select__panel {
  border-color: var(--dash-border);
  background: var(--dash-surface);
  box-shadow: var(--dash-shadow-sm, 0 6px 20px #0f172a1a);
}

.searchable-select--dash .searchable-select__search {
  background: var(--dash-bg);
  color: var(--dash-text);
  border-bottom-color: var(--dash-border);
}

.searchable-select--dash .searchable-select__search:focus {
  background: var(--dash-surface);
}

.searchable-select--dash .searchable-select__option:hover, .searchable-select--dash .searchable-select__option--active {
  background: #0b5cab1a;
}

.searchable-select__panel--portal.searchable-select--dash {
  border-color: var(--dash-border);
  background: var(--dash-surface);
  box-shadow: var(--dash-shadow-sm, 0 6px 20px #0f172a1a);
}

.searchable-select__panel--portal.searchable-select--dash .searchable-select__search {
  background: var(--dash-bg);
  color: var(--dash-text);
  border-bottom-color: var(--dash-border);
}

.searchable-select__panel--portal.searchable-select--dash .searchable-select__search:focus {
  background: var(--dash-surface);
}

.searchable-select__panel--portal.searchable-select--dash .searchable-select__option:hover, .searchable-select__panel--portal.searchable-select--dash .searchable-select__option--active {
  background: #0b5cab1a;
}

.geo-zones-add-row .searchable-select {
  min-width: 10rem;
}

.milestone-timeline-multi__label {
  color: var(--text-secondary);
  margin-bottom: .3rem;
  font-size: .75rem;
  font-weight: 600;
  display: block;
}

.milestone-timeline-check-grid {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  grid-template-columns: 1fr;
  gap: .45rem;
  max-height: 20rem;
  padding: .65rem .75rem;
  display: grid;
  overflow-y: auto;
  box-shadow: inset 0 1px 2px #0f172a0a;
}

@media (width >= 640px) {
  .milestone-timeline-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem .85rem;
  }
}

@media (width >= 1100px) {
  .milestone-timeline-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.milestone-timeline-check {
  border-radius: var(--radius-md);
  color: var(--text);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  flex-direction: row;
  align-items: flex-start;
  gap: .65rem;
  margin: 0;
  padding: .55rem .65rem;
  font-size: .8125rem;
  transition: background .12s, border-color .12s, box-shadow .12s;
  display: flex;
}

.milestone-timeline-check:hover {
  background: #0b5cab0d;
  border-color: #0b5cab59;
}

.milestone-timeline-check:has(input:checked) {
  background: #0b5cab14;
  border-color: #0b5cab73;
  box-shadow: 0 0 0 1px #0b5cab1f;
}

.milestone-timeline-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--corp-blue);
  cursor: pointer;
  flex-shrink: 0;
  margin: .2rem 0 0;
}

.milestone-timeline-check__text {
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: .15rem;
  min-width: 0;
  line-height: 1.4;
  display: flex;
}

.milestone-timeline-check__title {
  color: var(--text);
  font-weight: 600;
}

.milestone-timeline-check__meta {
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  font-size: .75rem;
}

.milestone-timeline-check__text--single {
  justify-content: center;
  padding-top: .05rem;
}

.milestone-timeline-check__text--single .milestone-timeline-check__title {
  font-weight: 600;
}

.milestone-phase-card__timeline-list {
  border-left: 2px solid var(--border);
  margin: .35rem 0 0;
  padding: 0 0 0 .5rem;
  list-style: none;
}

.milestone-phase-card__timeline-list li {
  margin: .15rem 0;
  font-size: .8125rem;
}

.milestone-phase-card__resource-items {
  border-left: 1px dashed var(--border);
  margin: .25rem 0 0 .65rem;
  padding: 0 0 0 .45rem;
  list-style: none;
}

.milestone-phase-card__resource-items li {
  margin: .1rem 0;
  font-size: .78rem;
}

.milestone-phase-card__resource-empty {
  font-size: .78rem;
  font-style: italic;
}

.standard-resource-item-row {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .5rem;
  margin-bottom: .6rem;
  padding-bottom: .6rem;
  display: flex;
}

.standard-resource-item-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.standard-resource-item-row__qty {
  flex: 0 0 5.5rem;
  max-width: 6.5rem;
}

.standard-resource-item-row__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  display: flex;
}

.standard-resource-items {
  margin-top: .5rem;
}

.standard-catalog-picker.card {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem 1.1rem;
}

.standard-catalog-picker__header .form-section-title {
  margin-top: 0;
  margin-bottom: .35rem;
}

.standard-catalog-picker__lead {
  max-width: 52rem;
  margin: 0 0 .15rem;
  font-size: .8125rem;
  line-height: 1.45;
}

.standard-catalog-picker__controls {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem .85rem;
  margin-top: .65rem;
  display: flex;
}

.standard-catalog-picker__filter {
  flex: 10rem;
  min-width: min(100%, 8.75rem);
  max-width: 100%;
  margin-bottom: 0;
}

.standard-catalog-picker__filter .searchable-select {
  min-width: 0;
}

.standard-catalog-picker__search-field {
  flex: 2 16rem;
  min-width: min(100%, 12rem);
  max-width: 100%;
  margin-bottom: 0;
}

.standard-catalog-picker__hint {
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin: .75rem 0 0;
  padding: .65rem .85rem;
  font-size: .8125rem;
  line-height: 1.45;
}

.standard-catalog-picker__results {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: .85rem;
  overflow: hidden;
}

.standard-catalog-picker__error {
  color: var(--danger, #b91c1c);
  border-bottom: 1px solid var(--border);
  background: #b91c1c0f;
  margin: 0;
  padding: .55rem .85rem;
  font-size: .8125rem;
}

.standard-catalog-picker__list-scroll {
  border-bottom: 1px solid var(--border);
  max-height: min(42vh, 22rem);
  overflow: auto;
}

.standard-catalog-picker__list {
  --catalog-name-uom-gap: 1rem;
  --catalog-uom-col: 5.75rem;
  flex-direction: column;
  align-items: stretch;
  font-size: .8125rem;
  display: flex;
}

.standard-catalog-picker__list-head, .standard-catalog-picker__list-row {
  grid-template-columns: minmax(0, 1fr) var(--catalog-uom-col);
  column-gap: var(--catalog-name-uom-gap);
  box-sizing: border-box;
  align-items: start;
  width: 100%;
  padding: .5rem .75rem;
  display: grid;
}

.standard-catalog-picker__list-head {
  z-index: 1;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  position: sticky;
  top: 0;
  box-shadow: 0 1px #0f172a0a;
}

.standard-catalog-picker__list-row {
  border-bottom: 1px solid var(--border);
  padding-top: .4rem;
  padding-bottom: .4rem;
}

.standard-catalog-picker__list > .standard-catalog-picker__list-row:last-child {
  border-bottom: none;
}

.standard-catalog-picker__list > .standard-catalog-picker__list-row:nth-of-type(2n) {
  background: var(--bg-subtle);
}

.standard-catalog-picker__list-row--selected {
  background: #15803d14 !important;
}

.standard-catalog-picker__list-row--clickable {
  cursor: pointer;
}

.standard-catalog-picker__list-row--clickable:hover {
  background: #0b5cab0f;
}

.standard-catalog-picker__list-row--selected.standard-catalog-picker__list-row--clickable:hover {
  background: #15803d1f !important;
}

.standard-catalog-picker__list-row--clickable:focus-visible {
  outline: 2px solid var(--corp-blue, #115cab);
  outline-offset: -2px;
}

.standard-catalog-picker__list-row--disabled {
  cursor: not-allowed;
  opacity: .75;
}

.standard-catalog-picker__item-name {
  word-break: break-word;
  min-width: 0;
  padding: .1rem 0;
  line-height: 1.4;
}

.standard-catalog-picker__item-uom {
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  padding: .1rem 0;
  font-weight: 600;
  line-height: 1.4;
}

.standard-catalog-picker__list-head .standard-catalog-picker__item-uom {
  font-weight: 700;
}

.standard-catalog-picker__list-empty {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
  width: 100%;
  padding: 1.5rem .85rem;
}

.standard-catalog-picker__selection {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .65rem;
  margin: 0;
  padding: .55rem .85rem;
  font-size: .8125rem;
  display: flex;
}

.standard-catalog-picker__selection--empty {
  font-style: italic;
}

.standard-catalog-picker__selection-label {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  flex-shrink: 0;
  font-size: .6875rem;
  font-weight: 700;
}

.standard-catalog-picker__selection-text {
  word-break: break-word;
  min-width: 0;
}

.standard-catalog-picker__selection-text code {
  font-size: .8125rem;
}

.standard-catalog-picker__selection-uom {
  color: var(--text-secondary);
  font-weight: 600;
}

.standard-catalog-picker__selection-id {
  font-size: .75rem;
}

.standard-catalog-picker__actions {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-subtle) 100%);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1rem;
  padding: .65rem .85rem;
  display: flex;
}

.standard-catalog-picker__actions-start, .standard-catalog-picker__actions-end {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  display: flex;
}

.standard-catalog-picker__actions-end {
  margin-left: auto;
}

.standard-catalog-picker__count {
  font-size: .75rem;
}

.standard-catalog-picker__qty {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  display: flex;
}

.standard-catalog-picker__qty label {
  color: var(--text-secondary);
  margin: 0;
  font-size: .75rem;
  font-weight: 600;
}

.standard-catalog-picker__qty input {
  width: 4.25rem;
  margin: 0;
  padding: .4rem .5rem;
  font-size: .875rem;
}

.standard-catalog-picker__add-btn {
  min-height: 2.25rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  display: flex;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist select {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 160px;
  padding: .4rem .5rem;
}

.modal-backdrop {
  z-index: 1000;
  backdrop-filter: blur(2px);
  background: #0f274473;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 1.5rem 1.65rem;
  box-shadow: 0 20px 50px #0f27442e;
}

.modal h2 {
  color: var(--text);
  margin: 0 0 .65rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.modal p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-size: .875rem;
  line-height: 1.55;
}

.modal__actions {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: .5rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  display: flex;
}

.modal.modal--assign-subcontractor {
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.modal__lede {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-size: .875rem;
  line-height: 1.5;
}

.subcontractor-firm-panel--compact {
  margin-bottom: .75rem;
}

.subcontractor-firm-panel--compact .summary-dl {
  margin-bottom: 0;
}

.alert {
  border-radius: var(--radius-lg);
  border: 1px solid;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  font-size: .875rem;
  line-height: 1.5;
}

.alert--hold {
  background: var(--hold-bg);
  color: #9a3412;
  border-color: #fed7aa;
}

.alert--info {
  background: var(--info-bg);
  border-color: var(--info-border);
  color: #1e40af;
}

.alert--success {
  color: #065f46;
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.alert--danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.alert ul {
  margin: .5rem 0 0;
  padding-left: 1.2rem;
}

.back-row {
  margin-bottom: .25rem;
}

.back-row a {
  font-size: .9375rem;
  font-weight: 500;
}

.page-meta {
  margin: 0 0 1.25rem;
  font-size: .9375rem;
}

.muted-caption {
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: .25rem;
  font-size: .8125rem;
  font-weight: 600;
}

.section-lead {
  color: var(--text-secondary);
  margin-top: 0;
  font-size: .875rem;
  line-height: 1.55;
}

.checklist__body {
  flex: 1;
}

.checklist__body strong {
  color: var(--text);
  display: block;
}

.checklist__hint {
  color: var(--muted);
  margin-top: .2rem;
  font-size: .8125rem;
}

.toolbar-row {
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  display: flex;
}

.field-inline {
  flex: 220px;
  margin-bottom: 0;
}

.table-section {
  margin-top: 1rem;
}

.empty-cell {
  color: var(--muted);
}

.card-footer-link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.workflow-list {
  color: var(--text-secondary);
  margin: 0;
  padding-left: 1.25rem;
  font-size: .9375rem;
  line-height: 1.6;
}

.workflow-list li {
  margin-bottom: .35rem;
}

.stack {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.doc-pills {
  flex-wrap: wrap;
  gap: .45rem;
  display: flex;
}

.doc-pill {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .3rem .6rem;
  font-size: .75rem;
  font-weight: 500;
}

.doc-pill--ok {
  background: var(--success-bg);
  color: var(--success);
  border-color: #a7f3d0;
}

.mono {
  font-family: ui-monospace, Cascadia Code, Consolas, monospace;
  font-size: .875em;
}

.text-muted {
  color: var(--muted);
}

.text-warning {
  color: var(--warning);
}

.page-header {
  margin-bottom: 1.75rem;
}

.page-header__crumb {
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem 0;
  margin-bottom: .65rem;
  font-size: .8125rem;
  display: flex;
}

.page-header__crumb-item {
  color: var(--muted);
  align-items: center;
  gap: .25rem;
  display: inline-flex;
}

.page-header__crumb-item a {
  color: var(--muted);
  font-weight: 500;
}

.page-header__crumb-item a:hover {
  color: var(--corp-blue);
}

.page-header__crumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}

.page-header__crumb-sep {
  color: var(--border-strong);
  margin: 0 .15rem;
}

.page-header__row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  display: flex;
}

.page-header__title {
  letter-spacing: -.035em;
  color: var(--text);
  margin: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.page-header__subtitle {
  color: var(--muted);
  margin-top: .4rem;
  font-size: .9375rem;
}

.page-header__aside {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.status-chip {
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 999px;
  align-items: center;
  padding: .35rem .75rem;
  font-size: .6875rem;
  font-weight: 700;
  display: inline-flex;
}

.status-chip--live {
  color: #047857;
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.status-chip--done {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #93c5fd;
}

.status-chip--progress {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}

.status-chip--hold {
  color: #c2410c;
  background: #fff7ed;
  border-color: #fdba74;
}

.dashboard-corp {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--dash-surface-elevated) 0%, transparent 42%);
  max-width: 1280px;
  margin: 0 auto;
  padding: .35rem .75rem .75rem;
}

.dash-corp-metrics__head h1.dash-corp-section-title {
  color: var(--dash-heading);
  letter-spacing: .12em;
  font-size: .8125rem;
  font-weight: 700;
}

.btn--corp {
  border-radius: var(--radius);
  background: var(--dash-heading);
  color: #fff;
  border: 1px solid var(--dash-heading);
  justify-content: center;
  align-items: center;
  padding: .55rem 1.15rem;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  display: inline-flex;
}

.btn--corp:hover {
  background: var(--dash-stage-bank);
  border-color: var(--dash-stage-bank);
  color: #fff;
  text-decoration: none;
}

.btn--corp-outline {
  background: var(--dash-surface);
  color: var(--dash-heading);
  border-color: var(--dash-border);
}

.btn--corp-outline:hover {
  background: var(--dash-surface-elevated);
  border-color: var(--dash-accent-line);
  color: var(--dash-heading);
}

.dash-corp-executive {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  display: grid;
}

@media (width <= 960px) {
  .dash-corp-executive {
    grid-template-columns: 1fr;
  }
}

.dash-corp-panel {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem 1.6rem;
  box-shadow: 0 2px 8px #0f274412;
}

.dash-corp-panel--primary {
  border-top: 3px solid var(--dash-accent-line);
}

.dash-corp-panel--side {
  border-top: 3px solid var(--dash-accent-line-alt);
  flex-direction: column;
  display: flex;
}

.dash-corp-panel__head {
  margin-bottom: 1.25rem;
}

.dash-corp-eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 .35rem;
  font-size: .625rem;
  font-weight: 700;
}

.dash-corp-stat-xl {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
  color: var(--dash-heading);
  margin: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.05;
}

.dash-corp-panel__lede {
  color: var(--dash-text-secondary);
  max-width: 36rem;
  margin: .45rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
}

.dash-corp-bar-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 .5rem;
  font-size: .6875rem;
  font-weight: 600;
}

.dash-corp-bar {
  background: var(--dash-track);
  border-radius: 2px;
  height: 8px;
  margin-bottom: 1rem;
  display: flex;
  overflow: hidden;
}

.dash-corp-bar__seg {
  min-width: 0;
  transition: width .35s;
}

.dash-corp-bar__seg--hold {
  background: var(--dash-stage-hold);
}

.dash-corp-bar__seg--pend {
  background: var(--dash-stage-pend);
}

.dash-corp-bar__seg--ready {
  background: var(--dash-stage-ready);
}

.dash-corp-bar__seg--mou {
  background: var(--dash-stage-mou);
}

.dash-corp-bar__seg--bank {
  background: var(--dash-stage-bank);
}

.dash-corp-bar__seg--done {
  background: var(--dash-stage-done);
}

.dash-corp-legend {
  border: 1px solid var(--dash-border-soft);
  border-radius: var(--radius);
  flex-direction: column;
  gap: 0;
  display: flex;
  overflow: hidden;
}

.dash-corp-legend__row {
  border-bottom: 1px solid var(--dash-border-soft);
  background: var(--dash-surface);
  grid-template-columns: 12px 1fr auto auto;
  align-items: center;
  gap: .65rem 1rem;
  padding: .55rem .75rem;
  font-size: .8125rem;
  display: grid;
}

.dash-corp-legend__row:last-child {
  border-bottom: none;
}

.dash-corp-legend__swatch {
  border-radius: 1px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.dash-corp-legend__swatch--hold {
  background: var(--dash-stage-hold);
}

.dash-corp-legend__swatch--pend {
  background: var(--dash-stage-pend);
}

.dash-corp-legend__swatch--ready {
  background: var(--dash-stage-ready);
}

.dash-corp-legend__swatch--mou {
  background: var(--dash-stage-mou);
}

.dash-corp-legend__swatch--bank {
  background: var(--dash-stage-bank);
}

.dash-corp-legend__swatch--done {
  background: var(--dash-stage-done);
}

.dash-corp-legend__label {
  color: var(--dash-text-secondary);
  font-weight: 500;
}

.dash-corp-legend__count, .dash-corp-legend__pct {
  font-variant-numeric: tabular-nums;
  color: var(--dash-text-muted);
  text-align: right;
}

.dash-corp-legend__count {
  color: var(--dash-heading);
  min-width: 2rem;
  font-weight: 600;
}

.dash-corp-legend__pct {
  min-width: 2.5rem;
  font-size: .75rem;
}

.dash-corp-panel__title {
  color: var(--dash-heading);
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .9375rem;
  font-weight: 700;
}

.dash-corp-panel__intro {
  color: var(--dash-text-muted);
  margin: 0 0 1rem;
  font-size: .8125rem;
  line-height: 1.55;
}

.dash-corp-process {
  color: var(--dash-text-secondary);
  flex: 1;
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  font-size: .8125rem;
  line-height: 1.55;
}

.dash-corp-process li {
  margin-bottom: .45rem;
}

.dash-corp-panel__cta {
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.dash-corp-map {
  margin-bottom: 1.75rem;
}

.dash-corp-map--first {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-top: 0;
}

.dash-key-metrics {
  border-radius: 22px;
  flex-direction: column;
  max-width: min(1100px, 100%);
  min-height: 34rem;
  margin-bottom: 2rem;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px #0f27441a, inset 0 2px #ffffffa6;
}

.dash-key-metrics__bg {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  inset: 0;
}

.dash-key-metrics__sunburst {
  z-index: 0;
  background: radial-gradient(92% 82% at 50% 46%, #fffdf538 0%, #0000 42%), radial-gradient(circle, #fff7e8e0 0%, #ffe4c2 40%, #ffd49a 65%, #ffc266 90%, #ffb04a 100%);
  position: absolute;
  inset: 0;
}

.dash-key-metrics__rays {
  z-index: 1;
  opacity: .055;
  background: repeating-conic-gradient(#ffffff6b 0deg 3deg, #0000 3deg 11deg);
  position: absolute;
  inset: -25%;
}

.dash-key-metrics__map {
  z-index: 2;
  object-fit: contain;
  object-position: center center;
  width: min(98%, 1020px);
  height: auto;
  min-height: 340px;
  max-height: min(64vh, 660px);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dash-key-metrics__map--state-png {
  mix-blend-mode: screen;
  opacity: 1;
  filter: saturate(1.72) contrast(1.42) brightness(1.14) drop-shadow(0 1px 4px #2820182e);
}

.dash-key-metrics__inner {
  z-index: 3;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  align-items: stretch;
  padding: 1.65rem 1.5rem 2.5rem;
  display: flex;
  position: relative;
}

.dash-key-metrics__ribbon-badge {
  isolation: isolate;
  align-self: flex-start;
  margin: 0 0 2.15rem;
  padding-bottom: .35rem;
  display: inline-block;
  position: relative;
}

.dash-key-metrics__ribbon-badge:before {
  content: "";
  z-index: 0;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%);
  pointer-events: none;
  background: linear-gradient(#fb923c 0%, #c2410c 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 5px;
  left: 5px;
}

.dash-key-metrics__ribbon {
  z-index: 1;
  letter-spacing: .04em;
  text-transform: none;
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 0 100%);
  background: linear-gradient(#dc2626 0%, #991b1b 100%);
  margin: 0;
  padding: .34rem 2.1rem .38rem .8rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.2;
  display: inline-block;
  position: relative;
}

.dash-key-metrics__grid {
  margin: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.75rem .65rem;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: .25rem 0 0;
  list-style: none;
  display: grid;
}

.dash-key-metrics__card:nth-child(-n+4) {
  grid-column: span 3;
}

.dash-key-metrics__card:nth-child(5) {
  grid-column: 3 / span 3;
}

.dash-key-metrics__card:nth-child(6) {
  grid-column: 6 / span 3;
}

.dash-key-metrics__card:nth-child(7) {
  grid-column: 9 / span 3;
}

.dash-key-metrics__card {
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border-radius: 22px;
  justify-self: center;
  width: 100%;
  max-width: 158px;
  min-height: 11.75rem;
  margin-top: .85rem;
  padding: 2.65rem .55rem 2.1rem;
  position: relative;
  box-shadow: 0 8px 28px #1928461a, 0 2px 8px #1928460d;
}

.dash-key-metrics__icon-badge {
  border: 3px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 10px #0f27441f;
}

.dash-key-metrics__icon-svg {
  display: block;
}

.dash-key-metrics__value {
  color: #374151;
  letter-spacing: -.02em;
  margin: .35rem 0 .55rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
}

.dash-key-metrics__label {
  color: #4b5563;
  hyphens: auto;
  overflow-wrap: break-word;
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.38;
}

@media (width <= 768px) {
  .dash-key-metrics__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem .65rem;
    max-width: 400px;
  }

  .dash-key-metrics__card:nth-child(n) {
    grid-column: auto !important;
  }

  .dash-key-metrics__card {
    max-width: 168px;
    min-height: 11.25rem;
    padding: 2.5rem .5rem 1.95rem;
  }
}

@media (width <= 640px) {
  .dash-key-metrics {
    min-height: 28rem;
  }

  .dash-key-metrics__inner {
    justify-content: flex-start;
    padding: 1.5rem 1rem 2rem;
  }

  .dash-key-metrics__map {
    width: min(98%, 100vw - 1rem);
    min-height: 240px;
    max-height: 46vh;
  }

  .dash-key-metrics__map--state-png {
    opacity: 1;
    filter: saturate(1.58) contrast(1.34) brightness(1.1) drop-shadow(0 1px 3px #28201824);
  }

  .dash-key-metrics__value {
    font-size: 1.2rem;
  }

  .dash-key-metrics__ribbon-badge {
    margin-bottom: 1.5rem;
    padding-bottom: .25rem;
  }

  .dash-key-metrics__card {
    max-width: 156px;
    min-height: 11rem;
    padding: 2.45rem .45rem 1.85rem;
  }

  .dash-key-metrics__ribbon-badge:before {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    top: 4px;
    left: 4px;
  }

  .dash-key-metrics__ribbon {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    padding: .26rem 1.65rem .3rem .6rem;
    font-size: .75rem;
  }
}

.dash-corp-map__title {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dash-heading);
  margin: 0 0 .65rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
}

.dash-corp-map__head {
  margin-bottom: 1rem;
}

.dash-corp-map__layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 320px);
  align-items: start;
  gap: 1.15rem;
  max-width: min(1180px, 100%);
  display: grid;
}

@media (width <= 900px) {
  .dash-corp-map__layout {
    grid-template-columns: 1fr;
  }
}

.dash-corp-map__figure {
  min-width: 0;
  margin: 0;
}

.dash-corp-map__aside {
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  display: flex;
}

.dash-corp-map__side-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 1px 4px #0f27440f;
}

.dash-corp-map__side-card--district {
  background: linear-gradient(#f8fafc 0%, #f1f5f9 100%);
  border-color: #2563eb59;
}

.dash-corp-map__side-card--muted {
  background: #f8fafce6;
  border-style: dashed;
}

.dash-corp-map__side-eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 .35rem;
  font-size: .625rem;
  font-weight: 700;
}

.dash-corp-map__side-lead {
  color: var(--dash-text-secondary);
  margin: 0 0 .75rem;
  font-size: .8125rem;
  line-height: 1.45;
}

.dash-corp-map__side-title {
  color: var(--dash-heading);
  letter-spacing: -.02em;
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.dash-corp-map__side-placeholder {
  color: var(--dash-text-secondary);
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.dash-corp-map__side-stats {
  grid-template-columns: 1fr 1fr;
  gap: .65rem .85rem;
  margin: 0 0 .5rem;
  display: grid;
}

.dash-corp-map__side-stats--compact {
  grid-template-columns: 1fr 1fr;
  gap: .5rem .65rem;
}

.dash-corp-map__side-stats dt {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dash-text-muted);
  margin: 0;
  font-size: .625rem;
  font-weight: 600;
}

.dash-corp-map__side-stats dd {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  margin: .12rem 0 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.dash-corp-map__side-stats--compact dd {
  font-size: 1.05rem;
}

.dash-corp-map__side-link {
  text-align: center;
  justify-content: center;
  width: 100%;
  margin-top: .35rem;
}

.dash-corp-map__frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--dash-border);
  background: #fff;
  width: 100%;
  max-width: 640px;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 12px #0f274414;
}

.dash-corp-map__frame--geo {
  aspect-ratio: 1879 / 1897;
  max-width: min(640px, 100%);
}

.dash-corp-map__geo-clip {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dash-corp-map__geo {
  width: 100%;
  height: 100%;
  display: block;
}

.tg-geo-path {
  cursor: pointer;
  transition: filter .12s, stroke-width .12s, stroke .12s;
}

.tg-geo-path:hover {
  filter: brightness(.93);
  stroke: #b91c1c;
}

.tg-geo-path--active {
  stroke: #dc2626 !important;
}

.tg-geo-path:focus {
  outline: none;
}

.tg-geo-path:focus-visible {
  stroke: #0284c7 !important;
  stroke-width: 2.75px !important;
}

.tg-geo-labels {
  pointer-events: none;
}

.tg-geo-label {
  fill: #000;
  paint-order: stroke fill;
  stroke: #fffffff2;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  font-family: Plus Jakarta Sans, system-ui, sans-serif;
  font-weight: 700;
}

.dash-corp-map__map-tooltip {
  z-index: 20;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dash-border);
  pointer-events: auto;
  background: #fff;
  width: min(252px, 100% - 16px);
  padding: .75rem .85rem .85rem;
  position: absolute;
  box-shadow: 0 8px 28px #0f172a24;
}

.dash-corp-map__map-tooltip__eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 .2rem;
  font-size: .5625rem;
  font-weight: 700;
}

.dash-corp-map__map-tooltip__title {
  color: #0f172a;
  margin: 0 0 .55rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.dash-corp-map__map-tooltip__stats {
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  margin: 0 0 .5rem;
  display: grid;
}

.dash-corp-map__map-tooltip__stats dt {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dash-text-muted);
  margin: 0;
  font-size: .625rem;
  font-weight: 600;
}

.dash-corp-map__map-tooltip__stats dd {
  font-variant-numeric: tabular-nums;
  color: #0f172a;
  margin: .1rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.dash-corp-map__map-tooltip__hint {
  margin: 0 0 .65rem;
  font-size: .6875rem;
  line-height: 1.4;
}

.dash-corp-map__map-tooltip__cta {
  text-align: center;
  white-space: normal;
  justify-content: center;
  width: 100%;
}

.dash-corp-map__base {
  vertical-align: top;
  width: 100%;
  height: auto;
  display: block;
}

.dash-corp-map__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.tg-dist__label {
  pointer-events: none;
  fill: #0f172a;
  letter-spacing: .01em;
  font-family: Plus Jakarta Sans, system-ui, sans-serif;
  font-weight: 600;
}

.tg-dist__hit {
  fill: #0000;
  stroke: #0000;
  cursor: pointer;
  transition: stroke .12s, fill .12s;
}

.tg-dist--active .tg-dist__hit {
  stroke: #dc2626;
  stroke-width: 2.25px;
  fill: #dc26261c;
}

.tg-dist__hit:focus {
  outline: none;
}

.tg-dist__hit:focus-visible {
  stroke: #0ea5e9;
  stroke-width: 2.5px;
  fill: #0ea5e91f;
}

.dash-corp-map__side {
  flex-direction: column;
  gap: .85rem;
  display: flex;
}

.dash-corp-map__panel {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--radius-lg);
  min-height: 9rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 1px 4px #0f27440f;
}

.dash-corp-map__panel-eyebrow {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 .35rem;
  font-size: .625rem;
  font-weight: 700;
}

.dash-corp-map__panel-title {
  color: #000;
  letter-spacing: .01em;
  margin: 0 0 .85rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.dash-corp-map__panel-placeholder {
  color: var(--dash-text-secondary);
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
}

.dash-corp-map__stats {
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1rem;
  margin: 0 0 .75rem;
  display: grid;
}

.dash-corp-map__stats dt {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dash-text-muted);
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
}

.dash-corp-map__stats dd {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  margin: .2rem 0 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.dash-corp-map__hint {
  margin: 0;
  font-size: .75rem;
  line-height: 1.45;
}

.geo-zones-page {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.geo-zones-intro {
  border-radius: var(--radius-lg);
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  box-shadow: var(--dash-shadow-sm);
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
}

.geo-zones-intro h1 {
  color: var(--dash-heading);
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.geo-zones-intro p {
  color: var(--dash-text-muted);
  margin: 0;
  font-size: .875rem;
  line-height: 1.5;
}

.geo-zones-actions {
  margin-bottom: 1rem;
}

.geo-zones-list {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.geo-zones-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  box-shadow: var(--dash-shadow-sm);
  overflow: hidden;
}

.geo-zones-card__head {
  border-bottom: 1px solid var(--dash-border);
  background: linear-gradient(#ffffff0a, #0000);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  display: flex;
}

.geo-zones-card__title {
  color: var(--dash-heading);
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.geo-zones-card__meta {
  color: var(--dash-text-muted);
  margin: .25rem 0 0;
  font-size: .75rem;
}

.geo-zones-card__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.geo-zones-card__body {
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
}

.geo-zones-field {
  flex-direction: column;
  gap: .35rem;
  display: flex;
}

.geo-zones-field label {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dash-text-muted);
  font-size: .75rem;
  font-weight: 600;
}

.geo-zones-field input, .geo-zones-field textarea {
  border-radius: var(--radius-md);
  border: 1px solid var(--dash-border);
  background: var(--dash-bg);
  width: 100%;
  color: var(--dash-text);
  padding: .5rem .65rem;
  font-size: .875rem;
}

.geo-zones-field textarea {
  resize: vertical;
  min-height: 4rem;
}

.geo-zones-section-title {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dash-heading);
  margin: 0 0 .5rem;
  font-size: .8125rem;
  font-weight: 700;
}

.geo-zones-district-grid {
  border-radius: var(--radius-md);
  border: 1px solid var(--dash-border);
  background: var(--dash-bg);
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: .35rem .75rem;
  max-height: 14rem;
  padding: .5rem .65rem;
  display: grid;
  overflow-y: auto;
}

.geo-zones-check {
  color: var(--dash-text);
  cursor: pointer;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  display: flex;
}

.geo-zones-check input {
  accent-color: var(--dash-accent, #2563eb);
  margin: 0;
}

.geo-zones-add-row {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .5rem;
  margin-bottom: .85rem;
  display: flex;
}

.geo-zones-add-row select {
  border-radius: var(--radius-md);
  border: 1px solid var(--dash-border);
  background: var(--dash-bg);
  min-width: 10rem;
  color: var(--dash-text);
  padding: .45rem .55rem;
  font-size: .8125rem;
}

.geo-zones-pill-list {
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.geo-zones-pill-row {
  border-radius: var(--radius-md);
  border: 1px solid var(--dash-border);
  background: var(--dash-bg);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .4rem .65rem;
  font-size: .8125rem;
  display: flex;
}

.geo-zones-pill-row span {
  color: var(--dash-text);
}

.geo-zones-match {
  color: var(--dash-text-muted);
  margin: 0;
  font-size: .8125rem;
}

.geo-zones-match strong {
  color: var(--dash-heading);
  font-variant-numeric: tabular-nums;
}

.geo-directory-master {
  max-width: 100%;
}

.geo-directory-master__lede {
  max-width: 48rem;
  margin: .35rem 0 1.25rem;
  font-size: .9375rem;
  line-height: 1.55;
}

.geo-directory-master__loading {
  margin-top: .5rem;
}

.geo-directory-master__alert {
  margin-bottom: 1.25rem;
}

.geo-directory-master__alert-p {
  color: var(--text-secondary);
  margin: .35rem 0 0;
  font-size: .875rem;
  line-height: 1.55;
}

.geo-directory-master__alert code {
  background: #ffffffbf;
  border: 1px solid #bfdbfed9;
  border-radius: 4px;
  padding: .1rem .35rem;
  font-size: .8125rem;
}

.geo-directory-master__tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  gap: .35rem;
  margin-bottom: 1.25rem;
  padding: .35rem;
  display: flex;
}

.geo-directory-master__tab {
  border-radius: var(--radius);
  min-width: 0;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  flex: 1 1 0;
  padding: .7rem .75rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  transition: background .12s, color .12s, box-shadow .12s;
}

.geo-directory-master__tab:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

.geo-directory-master__tab--active {
  color: var(--corp-navy);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: #fff;
  margin: -1px;
}

.geo-directory-master__panels {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.geo-directory-master__section.card {
  margin-bottom: 0;
}

.geo-directory-master__section .card__head {
  align-items: center;
}

.geo-directory-master__h2 {
  color: var(--corp-navy);
  letter-spacing: -.02em;
  margin: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.geo-directory-master__count {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  flex-shrink: 0;
  padding: .25rem .55rem;
  font-size: .75rem;
  font-weight: 700;
}

.geo-directory-master__section-sub {
  margin: .2rem 0 0;
  font-size: .8125rem;
}

.geo-directory-master__form-grid {
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  margin-bottom: .25rem;
  display: grid;
}

.geo-directory-master__form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

@media (width <= 640px) {
  .geo-directory-master__form-grid, .geo-directory-master__form-grid--2 {
    grid-template-columns: 1fr;
  }
}

.geo-directory-master__form-span {
  grid-column: 1 / -1;
}

.geo-directory-master__section .field {
  margin-bottom: 0;
}

.geo-directory-master__form-actions {
  border-top: 1px solid var(--dash-border-soft);
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  display: flex;
}

.geo-directory-master__select {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  width: 100%;
  max-width: 100%;
  color: var(--text);
  padding: .55rem .7rem;
  font-family: inherit;
  font-size: .9375rem;
}

.geo-directory-master__select:focus {
  outline-offset: 1px;
  border-color: var(--corp-blue);
  outline: 2px solid #0b5cab47;
}

.geo-directory-master__list {
  flex-direction: column;
  gap: .85rem;
  display: flex;
}

.geo-directory-master__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--corp-blue);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(#fbfcfe 0%, #f4f6f9 100%);
  grid-template-columns: minmax(3.5rem, auto) minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem 1.25rem;
  padding: 1.1rem 1.15rem;
  display: grid;
}

@media (width <= 720px) {
  .geo-directory-master__card {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .geo-directory-master__card-id {
    justify-self: start;
  }

  .geo-directory-master__card-foot {
    flex-direction: column;
    justify-self: stretch;
    align-items: stretch;
    width: 100%;
  }

  .geo-directory-master__card-foot .btn {
    justify-content: center;
    width: 100%;
  }
}

.geo-directory-master__card-id {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  padding-top: .35rem;
  font-size: .75rem;
  font-weight: 700;
}

.geo-directory-master__card-fields {
  gap: .65rem 1rem;
  min-width: 0;
  display: grid;
}

.geo-directory-master__card-fields--district {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.geo-directory-master__card-fields--mandal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.geo-directory-master__card-fields--village {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

@media (width <= 720px) {
  .geo-directory-master__card-fields--district, .geo-directory-master__card-fields--mandal, .geo-directory-master__card-fields--village {
    grid-template-columns: 1fr;
  }
}

.geo-directory-master__card-fields .field label {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: 600;
}

.geo-directory-master__card-fields .field input {
  font-size: .9375rem;
}

.geo-directory-master__card-foot {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: .35rem;
  padding-top: .15rem;
  display: flex;
}

.geo-directory-master__readonly-list {
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.geo-directory-master__readonly-row {
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  grid-template-columns: minmax(5rem, 1fr) minmax(4rem, .6fr) minmax(0, 2fr);
  gap: .75rem;
  padding: .65rem .85rem;
  font-size: .875rem;
  display: grid;
}

@media (width <= 560px) {
  .geo-directory-master__readonly-row {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

.geo-directory-master__readonly-k {
  color: var(--corp-navy);
  font-weight: 600;
}

.geo-directory-master__readonly-c {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.geo-directory-master__readonly-n {
  color: var(--text);
}

.geo-directory-master__empty-banner {
  margin: 0;
}

.geo-reports__actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.geo-reports__toolbar-clear-row {
  justify-content: flex-end;
}

.geo-reports__kpi-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
}

.geo-reports__kpi-cards .geo-reports__kpi-card {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  min-height: 5.5rem;
  margin-bottom: 0;
  padding: 1.25rem 1rem 1.35rem;
  display: flex;
}

@media (width <= 720px) {
  .geo-reports__kpi-cards {
    grid-template-columns: 1fr;
  }
}

.geo-reports__kpi-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--text, #1a2332);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.05;
}

.geo-reports__kpi-label {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dash-text-muted, #6b7280);
  max-width: 12rem;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1.35;
}

.geo-reports__th-wrap {
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
  vertical-align: bottom;
  min-width: 4.5rem;
  max-width: 9rem;
  line-height: 1.25;
}

.geo-reports__table-wrap {
  max-height: min(70vh, 720px);
  overflow: auto;
}

.geo-reports__table th.geo-reports__stat, .geo-reports__table td.geo-reports__stat {
  font-size: .75rem;
}

.geo-reports__table td.geo-reports__stat {
  white-space: nowrap;
}

.geo-reports__abbr {
  letter-spacing: .02em;
  font-weight: 700;
}

.geo-reports__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.geo-reports__row--click {
  cursor: pointer;
}

.geo-reports__row--click:hover td {
  background: var(--dash-surface-elevated, #f4f6f9);
}

.geo-reports__cell-main {
  color: var(--text, #1a2332);
  font-weight: 600;
}

.geo-reports__hint {
  color: var(--dash-accent-line-alt, #0b5cab);
  font-size: .6875rem;
  font-weight: 500;
}

.geo-reports__hint--empty {
  color: var(--dash-text-muted, #5f7386);
}

.geo-reports__muted {
  color: var(--text-secondary, #4a5568);
  margin-top: .15rem;
  font-size: .75rem;
}

.geo-reports__app-link {
  color: var(--accent, #0b5cab);
  font-weight: 600;
  text-decoration: none;
}

.geo-reports__app-link:hover {
  text-decoration: underline;
}

.dash-corp-quickstart {
  margin-bottom: 2rem;
}

.dash-corp-section-title {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 1rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
}

.dash-corp-quickstart__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

@media (width <= 800px) {
  .dash-corp-quickstart__grid {
    grid-template-columns: 1fr;
  }
}

.dash-corp-quickstart__card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-soft);
  border-radius: var(--radius-lg);
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  display: flex;
  box-shadow: 0 1px 3px #0f27440f;
}

.dash-corp-quickstart__step {
  letter-spacing: .06em;
  color: var(--dash-accent-line);
  opacity: .85;
  flex-shrink: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .6875rem;
  font-weight: 800;
}

.dash-corp-quickstart__text {
  color: var(--dash-text-secondary);
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.dash-corp-quickstart__text a {
  color: var(--dash-accent-line-alt);
  font-weight: 600;
  text-decoration: none;
}

.dash-corp-quickstart__text a:hover {
  text-decoration: underline;
}

.dash-corp-metrics {
  margin-bottom: 1.75rem;
  padding-top: .25rem;
}

.dash-corp-metrics--first {
  margin-bottom: 1.5rem;
  padding-top: 0;
}

.dash-corp-metrics__head {
  margin-bottom: 1rem;
}

.dash-corp-metrics__sub {
  color: var(--dash-text-muted);
  max-width: 40rem;
  margin: .35rem 0 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.kpi-grid--corp-unified {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .875rem;
  margin-bottom: 1.75rem;
  display: grid;
}

@media (width <= 900px) {
  .kpi-grid--corp-unified {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 520px) {
  .kpi-grid--corp-unified {
    grid-template-columns: 1fr;
  }
}

.kpi-tile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  flex-direction: column;
  min-height: 5.5rem;
  margin: 0;
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 2px #0f172a0a;
}

.kpi-tile:before {
  content: "";
  background: var(--corp-navy);
  flex-shrink: 0;
  height: 2px;
  display: block;
}

.kpi-tile__body {
  flex: 1;
  padding: .85rem 1rem .5rem;
}

.kpi-tile__label {
  color: #64748b;
  margin: 0 0 .4rem;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.35;
  display: block;
}

.kpi-tile__value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #0f172a;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  display: block;
}

.kpi-tile__hint {
  color: #94a3b8;
  background: #fafbfc;
  border-top: 1px solid #f1f5f9;
  margin: auto 0 0;
  padding: .55rem 1rem .8rem;
  font-size: .6875rem;
  line-height: 1.45;
}

.dash-analytics {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.dash-analytics__charts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
  display: grid;
}

@media (width <= 900px) {
  .dash-analytics__charts {
    grid-template-columns: 1fr;
  }
}

.dash-donut-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--dash-accent-line);
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 2px 8px #0f274412;
}

.dash-donut-card--accent-blue {
  border-top-color: var(--dash-accent-line-alt);
}

.dash-donut-card__title {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 1rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
}

.dash-donut-card__body {
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  display: flex;
}

.dash-donut {
  flex-shrink: 0;
  width: 11rem;
  height: 11rem;
  position: relative;
}

.dash-donut__ring {
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.dash-donut__center {
  background: var(--dash-surface);
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--dash-border-soft);
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 22%;
}

.dash-donut__value {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
}

.dash-donut__sub {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin-top: .15rem;
  font-size: .625rem;
  font-weight: 600;
}

.dash-donut-card__legend {
  flex-direction: column;
  flex: 1;
  gap: .35rem;
  min-width: min(100%, 220px);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.dash-donut-card__legend-item {
  color: var(--dash-text-secondary);
  grid-template-columns: 10px 1fr auto auto;
  align-items: center;
  gap: .45rem .65rem;
  font-size: .75rem;
  display: grid;
}

.dash-donut-card__swatch {
  border-radius: 2px;
  width: 10px;
  height: 10px;
}

.dash-donut-card__legend-label {
  font-weight: 500;
  line-height: 1.3;
}

.dash-donut-card__legend-val {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  font-weight: 700;
}

.dash-donut-card__legend-pct {
  color: var(--dash-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 2.25rem;
  font-size: .6875rem;
}

.dash-bars-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--dash-accent-line-alt);
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 2px 8px #0f274412;
}

.dash-bars-card__title {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin: 0 0 1rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .8125rem;
  font-weight: 700;
}

.dash-bars-card__list {
  flex-direction: column;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.dash-bars-card__row-head {
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .35rem;
  display: flex;
}

.dash-bars-card__label {
  color: var(--dash-text-secondary);
  font-size: .8125rem;
  font-weight: 500;
}

.dash-bars-card__count {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  font-size: .8125rem;
  font-weight: 700;
}

.dash-bars-card__track {
  background: var(--dash-track);
  border-radius: 3px;
  height: 6px;
  overflow: hidden;
}

.dash-bars-card__fill {
  border-radius: 3px;
  min-width: 0;
  height: 100%;
  transition: width .35s;
}

.dash-analytics__summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

@media (width <= 960px) {
  .dash-analytics__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 520px) {
  .dash-analytics__summary {
    grid-template-columns: 1fr;
  }
}

.dash-analytics__metric {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-soft);
  border-radius: var(--radius-lg);
  border-top: 2px solid var(--dash-border);
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 3px #0f27440f;
}

.dash-analytics__metric-label {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  margin-bottom: .35rem;
  font-size: .625rem;
  font-weight: 700;
  display: block;
}

.dash-analytics__metric-value {
  font-variant-numeric: tabular-nums;
  color: var(--dash-heading);
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  display: block;
}

.dash-analytics__metric-hint {
  color: var(--dash-text-muted);
  margin-top: .35rem;
  font-size: .6875rem;
  line-height: 1.4;
  display: block;
}

.dash-analytics__progress {
  background: var(--dash-track);
  border-radius: 2px;
  height: 4px;
  margin-top: .65rem;
  overflow: hidden;
}

.dash-analytics__progress-fill {
  background: linear-gradient(90deg, #3b82f6, var(--dash-accent-line-alt));
  border-radius: 2px;
  height: 100%;
  transition: width .35s;
}

.section-heading {
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 .35rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: .875rem;
}

.section-lead--tight {
  margin-top: .75rem;
  margin-bottom: 0;
}

.dash-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
}

@media (width <= 900px) {
  .dash-hero {
    grid-template-columns: 1fr;
  }
}

.dash-hero__main {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
  border-radius: 14px;
  padding: 1.5rem 1.65rem 1.65rem;
}

.dash-hero__kicker {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--corp-blue);
  margin: 0 0 .35rem;
  font-size: .6875rem;
  font-weight: 700;
}

.dash-hero__value {
  letter-spacing: -.04em;
  color: var(--corp-navy);
  margin: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.dash-hero__label {
  color: var(--muted);
  max-width: 28rem;
  margin: .5rem 0 1.25rem;
  font-size: .9375rem;
}

.dash-hero__bar {
  background: var(--border);
  border-radius: 999px;
  height: 10px;
  margin-bottom: 1rem;
  display: flex;
  overflow: hidden;
}

.dash-hero__seg {
  min-width: 2px;
  transition: width .35s;
}

.dash-hero__seg--hold {
  background: #fb923c;
}

.dash-hero__seg--pend {
  background: #fbbf24;
}

.dash-hero__seg--ready {
  background: #38bdf8;
}

.dash-hero__seg--bank {
  background: #6366f1;
}

.dash-hero__seg--done {
  background: #10b981;
}

.dash-hero__legend {
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin: 0;
  padding: 0;
  font-size: .75rem;
  list-style: none;
  display: flex;
}

.dash-hero__legend li {
  align-items: center;
  gap: .35rem;
  display: flex;
}

.dash-hero__swatch {
  border-radius: 2px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.dash-hero__swatch--hold {
  background: #fb923c;
}

.dash-hero__swatch--pend {
  background: #fbbf24;
}

.dash-hero__swatch--ready {
  background: #38bdf8;
}

.dash-hero__swatch--bank {
  background: #6366f1;
}

.dash-hero__swatch--done {
  background: #10b981;
}

.dash-hero__side-title {
  color: var(--text);
  margin: 0 0 .85rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: .9375rem;
  font-weight: 700;
}

.dash-hero__steps {
  color: var(--text-secondary);
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  font-size: .8125rem;
  line-height: 1.55;
}

.dash-hero__steps li {
  margin-bottom: .4rem;
}

.dash-hero__cta {
  justify-content: center;
  width: 100%;
}

.case-progress {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: .35rem;
  padding: 1rem .75rem 1.1rem;
}

.case-progress__steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: .25rem .35rem;
  display: grid;
}

.case-progress__step {
  text-align: center;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  display: flex;
}

.case-progress__track {
  align-items: center;
  width: 100%;
  margin-bottom: .55rem;
  display: flex;
}

.case-progress__line {
  border-radius: 999px;
  flex: auto;
  min-width: 6px;
  height: 3px;
}

.case-progress__line--complete {
  background: linear-gradient(90deg, #059669, #10b981);
}

.case-progress__line--pending {
  background: var(--border);
}

.case-progress__line--spacer {
  background: none;
  flex: 0 0 .5rem;
  min-width: .5rem;
}

.case-progress__dot {
  border: 2px solid var(--border-strong);
  background: var(--surface);
  width: 14px;
  height: 14px;
  box-shadow: 0 0 0 3px var(--bg-subtle);
  border-radius: 50%;
  flex: none;
}

.case-progress__step--done .case-progress__dot {
  box-shadow: inset 0 0 0 3px var(--success), 0 0 0 3px var(--bg-subtle);
  background: #fff;
  border-color: #059669;
}

.case-progress__step--current .case-progress__dot {
  border-color: var(--corp-blue);
  background: var(--corp-blue);
  box-shadow: 0 0 0 4px #0b5cab33, 0 0 0 3px var(--bg-subtle);
}

.case-progress__step--current-mou .case-progress__dot {
  border-color: var(--corp-blue);
  box-shadow: inset 0 0 0 3px var(--success), 0 0 0 4px #0b5cab38, 0 0 0 3px var(--bg-subtle);
  background: #fff;
}

.case-progress__step--upcoming .case-progress__dot {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.case-progress__text {
  min-width: 0;
  padding: 0 .2rem;
}

.case-progress__title {
  color: var(--corp-navy);
  letter-spacing: -.01em;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

.case-progress__step--done .case-progress__title {
  color: var(--success);
}

.case-progress__step--current .case-progress__title, .case-progress__step--current-mou .case-progress__title {
  color: var(--corp-blue);
}

.case-progress__step--upcoming .case-progress__title {
  color: var(--muted);
}

@media (width <= 720px) {
  .case-progress__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: .85rem;
  }

  .case-progress__track {
    margin-bottom: .45rem;
  }
}

.table-toolbar {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(#fafbfc 0%, #fff 100%);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  padding: .85rem 1.25rem;
  display: flex;
}

.table-toolbar__count {
  color: var(--text);
  font-size: .8125rem;
  font-weight: 700;
}

.table-toolbar__hint {
  color: var(--muted);
  font-size: .75rem;
}

.table-toolbar--stack {
  flex-direction: column;
  align-items: stretch;
  gap: .85rem;
}

.table-toolbar__top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  display: flex;
}

.table-toolbar__clear {
  font-weight: 600;
}

.table-filters-grid {
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  display: flex;
}

.table-filters {
  grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: .75rem 1rem;
  width: 100%;
  display: grid;
}

.table-filters--geo-row {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.table-filters--leads {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: .75rem 1rem;
}

.table-filters--leads .table-filters__field label {
  color: var(--text-secondary);
  font-size: .75rem;
  font-weight: 600;
}

.table-filters--leads .field input[type="search"], .table-filters--leads select {
  min-height: 2.375rem;
}

.table-filters--leads .searchable-select__chevron {
  opacity: .88;
  font-size: .72rem;
}

@media (width <= 1100px) {
  .table-filters--leads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (width <= 560px) {
  .table-filters--leads {
    grid-template-columns: 1fr;
  }
}

.table-filters--beneficiary-row {
  grid-template-columns: minmax(200px, 1.4fr) minmax(160px, 1fr);
}

@media (width <= 900px) {
  .table-filters:not(.table-filters--leads) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 520px) {
  .table-filters:not(.table-filters--leads) {
    grid-template-columns: 1fr;
  }
}

.table-filters__field label {
  font-size: .6875rem;
}

.table-filters__field--grow {
  min-width: 0;
}

.data-table__empty {
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
  padding: 2rem 1.5rem !important;
}

.table-name {
  color: var(--text);
  font-weight: 600;
}

.panel-locked {
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 8px, #f1f5f9 8px 16px);
  padding: 1.25rem 1.35rem;
}

.panel-locked__title {
  color: var(--text-secondary);
  margin: 0 0 .65rem;
  font-size: .9375rem;
  font-weight: 700;
}

.panel-locked__list {
  color: var(--muted);
  margin: 0;
  padding-left: 1.2rem;
  font-size: .875rem;
  line-height: 1.55;
}

.tg-strip {
  background: linear-gradient(90deg, #f93 0%, #fff 38% 62%, #138808 100%);
  flex-shrink: 0;
  height: 4px;
}

.portal-login {
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  color: #e8eef7;
  isolation: isolate;
  flex-direction: column;
  font-family: Inter, Plus Jakarta Sans, system-ui, sans-serif;
  display: flex;
  position: relative;
  overflow: hidden auto;
}

.portal-login__bg {
  z-index: -2;
  background: linear-gradient(165deg, #050d1a 0%, #0c1f3d 38%, #0a2548 55%, #071428 100%);
  position: fixed;
  inset: 0;
}

.portal-login__pattern {
  z-index: -1;
  opacity: .45;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #ffffff12 1px, #0000 0), linear-gradient(#ffffff08 1px, #0000 1px), linear-gradient(90deg, #ffffff08 1px, #0000 1px);
  background-position: 0 0, -1px -1px, -1px -1px;
  background-size: 40px 40px, 72px 72px, 72px 72px;
  position: fixed;
  inset: 0;
}

.portal-login__header {
  backdrop-filter: blur(10px);
  background: #061228e0;
  border-bottom: 1px solid #ffffff14;
  flex-shrink: 0;
  padding: .65rem clamp(1rem, 3vw, 2rem);
}

.portal-login__header-inner {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
}

.portal-login__header-left {
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.portal-login__header-right {
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.portal-login__telangana-emblem {
  object-fit: contain;
  filter: drop-shadow(0 2px 12px #00000059);
  flex-shrink: 0;
  width: auto;
  max-width: min(64px, 20vw);
  height: clamp(48px, 9vw, 64px);
}

.portal-login__indiramma-logo {
  object-fit: contain;
  filter: drop-shadow(0 2px 8px #00000040);
  width: auto;
  height: clamp(40px, 7vw, 52px);
}

.portal-login__main {
  flex-direction: column;
  flex: auto;
  gap: clamp(1rem, 3vw, 2rem);
  width: 100%;
  min-width: 0;
  max-width: 1280px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(.85rem, 3vw, 2rem) clamp(.75rem, 3vw, 2rem) clamp(1rem, 3vw, 1.75rem);
  display: flex;
}

.portal-login__intro {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: 100%;
  min-width: 0;
  display: grid;
}

.portal-login__intro-visual {
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  position: relative;
}

@media (width >= 900px) {
  .portal-login__intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(26.5rem, 100%));
    gap: clamp(1rem, 2vw, 1.75rem);
  }

  .portal-login__intro-visual {
    max-width: min(100%, min(52rem, 55vw));
  }

  .portal-login__intro .portal-login__panel {
    justify-self: start;
    width: 100%;
    min-width: 0;
    max-width: min(26.5rem, 100%);
  }
}

.portal-login__banner {
  background: none;
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.portal-login__banner img {
  vertical-align: middle;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.portal-login__panel {
  background: linear-gradient(#0c2448eb 0%, #081a34f5 100%);
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  flex-direction: column;
  max-width: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
  box-shadow: 0 24px 60px #00000073;
}

@media (width >= 900px) {
  .portal-login__panel {
    min-height: min(300px, 50vh);
  }
}

@media (height <= 700px) {
  .portal-login__panel {
    min-height: 0;
  }
}

.portal-login__panel-head {
  background: #f8fafc;
  border-bottom: 1px solid #0000000f;
  flex-shrink: 0;
  padding: .95rem 1.25rem .9rem;
  box-shadow: inset 0 -2px #c9a227;
}

.portal-login__panel-title {
  letter-spacing: .02em;
  text-align: center;
  color: #92400e;
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
}

@media (width >= 480px) {
  .portal-login__panel-title {
    font-size: 1rem;
  }
}

.portal-login__panel-body {
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
}

@media (width >= 480px) {
  .portal-login__panel-body {
    padding: 1.5rem 1.5rem 1.75rem;
  }
}

.portal-login__form {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.portal-login__field {
  flex-direction: column;
  gap: .4rem;
  display: flex;
}

.portal-login__label {
  color: #ffffffe0;
  font-size: .8rem;
  font-weight: 600;
}

.portal-login__label abbr {
  color: #f87171;
  text-decoration: none;
}

.portal-login__input, .portal-login__select {
  color: #0f172a;
  background: #fff;
  border: 1px solid #fff3;
  border-radius: 8px;
  outline: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: .7rem .95rem;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s;
}

.portal-login__select {
  cursor: pointer;
  appearance: auto;
}

.portal-login__input::placeholder {
  color: #94a3b8;
}

.portal-login__input:focus, .portal-login__select:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px #c9a22740;
}

.portal-login__search-btn {
  cursor: pointer;
  letter-spacing: .04em;
  color: #1c1410;
  background: linear-gradient(#e8c96b 0%, #c9a227 45%, #a67c1a 100%);
  border: none;
  border-radius: 10px;
  width: 100%;
  margin-top: .25rem;
  padding: .8rem 1rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  transition: filter .15s, transform .1s;
  box-shadow: 0 4px 16px #00000059;
}

.portal-login__search-btn:hover:not(:disabled) {
  filter: brightness(1.05);
}

.portal-login__search-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.portal-login__search-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}

.portal-login__error {
  color: #fecaca;
  background: #7f1d1d59;
  border: 1px solid #f8717173;
  border-radius: 8px;
  margin: 0;
  padding: .55rem .75rem;
  font-size: .8125rem;
}

.portal-login__hint {
  color: #ffffff80;
  text-align: center;
  border-top: 1px solid #ffffff1a;
  margin: 1rem 0 0;
  padding-top: .9rem;
  font-size: .72rem;
  line-height: 1.5;
}

.portal-login__hint strong {
  color: #ffffffb3;
}

.portal-login__footer {
  backdrop-filter: blur(8px);
  background: #061228d1;
  border-top: 1px solid #ffffff14;
  flex-shrink: 0;
  width: 100%;
  padding: .45rem clamp(1rem, 3vw, 2rem) .55rem;
}

.portal-login__footer-inner {
  text-align: center;
  word-wrap: break-word;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

.portal-login__footer-copy {
  color: #ffffff80;
  margin: 0;
  font-size: .72rem;
  line-height: 1.35;
}

.portal-login__footer-dev {
  color: #ffffff8c;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .3rem .5rem;
  font-size: .72rem;
  line-height: 1.35;
  display: flex;
}

.portal-login__footer-dev-label {
  color: #ffffff94;
}

.portal-login__footer-dev-link {
  max-width: 100%;
  color: inherit;
  outline-offset: 2px;
  border-radius: 6px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem .65rem;
  text-decoration: none;
  display: inline-flex;
}

.portal-login__footer-dev-link:hover .portal-login__footer-dev-name {
  text-decoration: underline;
}

.portal-login__footer-dev-link:focus-visible {
  outline: 2px solid #c9a227d9;
}

.portal-login__footer-dev-logo {
  object-fit: contain;
  width: auto;
  max-width: 6rem;
  height: 1.5rem;
  display: block;
}

.portal-login__footer-dev-name {
  color: #ffffffb8;
  font-weight: 600;
}

.topbar--tg {
  color: var(--text);
  direction: ltr;
  unicode-bidi: isolate;
  background: #fff;
  border-bottom: 1px solid #cbd5e1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem 1.5rem;
  min-height: 64px;
  padding-top: .35rem;
  padding-bottom: .35rem;
  display: grid;
  box-shadow: 0 1px 3px #0f172a0f;
}

.topbar--tg .topbar__left--brand {
  justify-self: start;
  min-width: 0;
}

.topbar--tg .topbar__right--session {
  place-self: center end;
  min-width: 0;
}

.topbar__account {
  max-width: min(100%, 280px);
  position: relative;
}

.topbar__account-trigger {
  max-width: 100%;
  min-height: 2.5rem;
  font: inherit;
  letter-spacing: -.01em;
  color: #0f766e;
  cursor: pointer;
  text-align: left;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 9999px;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem .5rem 1rem;
  font-size: .875rem;
  font-weight: 700;
  display: inline-flex;
  box-shadow: 0 1px 2px #0f766e14;
}

.topbar__account-trigger:hover {
  background: #d1fae5;
  border-color: #34d399;
}

.topbar__account-trigger:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #0d9488;
}

.topbar__account-name {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.topbar__account-chevron {
  color: #64748b;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform .2s;
}

.topbar__account-trigger[aria-expanded="true"] .topbar__account-chevron {
  transform: rotate(180deg);
}

.topbar__account-dropdown {
  border-radius: var(--radius);
  z-index: 200;
  background: #fff;
  border: 1px solid #e2e8f0;
  min-width: 200px;
  padding: .35rem 0;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  box-shadow: 0 8px 24px #0f172a1f;
}

.topbar__account-item {
  width: 100%;
  font: inherit;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem .85rem;
  font-size: .8125rem;
  font-weight: 600;
  display: block;
}

.topbar__account-item:hover {
  background: #f1f5f9;
}

.topbar__account-item:focus-visible {
  background: #ecfdf5;
  outline: none;
  box-shadow: inset 0 0 0 2px #15803d;
}

@media (width <= 640px) {
  .topbar--tg {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .topbar--tg .topbar__right--session {
    justify-self: stretch;
    width: 100%;
  }

  .topbar__account {
    width: 100%;
    max-width: none;
  }

  .topbar__account-trigger {
    justify-content: space-between;
    width: 100%;
  }
}

.topbar--tg .topbar__user {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.topbar--tg .topbar__user-avatar {
  background: linear-gradient(135deg, #15803d, #0f3d2f);
  font-size: .75rem;
  font-weight: 700;
}

.topbar--tg .topbar__user-role {
  color: #0f172a;
}

.topbar--tg .topbar__user-env {
  color: #64748b;
  opacity: 1;
}

.topbar__emblem {
  color: #fff;
  background: linear-gradient(145deg, #16a34a, #0f3d2f);
  border: 2px solid #bbf7d0;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
}

.topbar__emblem-inner {
  letter-spacing: -.02em;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

.topbar--tg .topbar__titles {
  flex-direction: column;
  align-items: flex-start;
  gap: .08rem;
}

.topbar__gov {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #15803d;
  font-size: .65rem;
  font-weight: 700;
}

.topbar__cmo {
  color: #0f172a;
  letter-spacing: -.02em;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
}

.topbar__scheme {
  color: #475569;
  font-size: .8125rem;
  font-weight: 500;
}

.sidebar.sidebar--tg {
  background: linear-gradient(#f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid #e2e8f0;
  width: 220px;
  overflow: hidden;
  box-shadow: inset -1px 0 #0f27440f;
}

.sidebar.sidebar--tg .sidebar__nav {
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: auto;
  min-height: 0;
  overflow: hidden auto;
}

.sidebar.sidebar--tg .sidebar__nav::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.sidebar__brand-block--tg {
  background: #ffffffbf;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar.sidebar--tg .sidebar__brand-title {
  color: var(--corp-navy);
}

.sidebar.sidebar--tg .sidebar__brand-desc {
  color: #475569;
}

.sidebar.sidebar--tg .sidebar__section-label {
  color: #64748b;
  padding: .85rem .65rem .35rem;
}

.sidebar.sidebar--tg .nav-link {
  color: #334155;
  align-items: center;
  gap: .45rem;
  margin: .08rem .4rem;
  padding: .5rem;
  font-size: .8125rem;
}

.sidebar.sidebar--tg .nav-link:hover {
  color: var(--corp-navy);
  background: #e2e8f0;
  text-decoration: none;
}

.sidebar.sidebar--tg .nav-link__icon {
  flex-shrink: 0;
}

.sidebar.sidebar--tg .nav-link--active {
  color: var(--corp-navy);
  border-left-color: var(--corp-blue);
  background: #e8f0f8;
}

.sidebar.sidebar--tg .nav-link--active .nav-link__icon {
  color: var(--corp-blue);
}

.sidebar.sidebar--tg .sidebar__section-toggle {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  z-index: 1;
  background: none;
  border: none;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  margin: .5rem 0 0;
  padding: .7rem .65rem .4rem;
  display: flex;
  position: relative;
}

.sidebar.sidebar--tg .sidebar__section-toggle:hover .sidebar__section-toggle__text {
  color: #64748b;
}

.sidebar.sidebar--tg .sidebar__section-toggle__text {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-size: .6875rem;
  font-weight: 700;
}

.sidebar.sidebar--tg .sidebar__section-toggle__chevron {
  color: #94a3b8;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform .2s;
}

.sidebar.sidebar--tg .sidebar__section-toggle__chevron--open {
  transform: rotate(90deg);
}

.sidebar__sub-nav {
  flex-direction: column;
  padding: 0 .5rem .25rem;
  display: flex;
}

.sidebar__sub-nav.sidebar__sub-nav--collapsed {
  display: none !important;
}

.sidebar.sidebar--tg .sidebar__sub-nav .nav-link {
  margin-left: 0;
  margin-right: 0;
}

.sidebar.sidebar--tg .sidebar__sub-nav {
  padding: 0 .35rem .2rem;
}

.sidebar__foot--tg {
  background: #fff9;
  border-top: 1px solid #e2e8f0;
}

.sidebar.sidebar--tg .sidebar__foot-text {
  color: #475569;
}

.main__inner--wide {
  max-width: 1320px;
}

.page-header__subtitle {
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  display: flex;
}

.page-header__id-line {
  font-size: .8125rem;
}

.page-header__tab-desc {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
}

.workspace {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 0;
  min-height: 60vh;
  display: grid;
}

.workspace--empty {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

@media (width <= 960px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .workspace__sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
}

.workspace__sidebar {
  box-shadow: var(--shadow-md);
  background: #fff;
  border: 1px solid #c7e9d6;
  border-radius: 12px;
  padding: 0;
  position: sticky;
  top: .5rem;
  overflow: hidden;
}

.workspace__back {
  color: #0f3d2f;
  background: linear-gradient(90deg, #ecfdf5 0%, #fff 100%);
  border-bottom: 1px solid #c7e9d6;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  padding: 1rem 1.15rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
}

.workspace__back:hover {
  color: #14532d;
  background: #ecfdf5;
  text-decoration: none;
}

.workspace__back svg {
  opacity: .85;
  margin-bottom: .15rem;
}

.workspace__dossier {
  border-bottom: 1px solid var(--border);
  background: #fafafa;
  padding: 1rem 1.15rem;
}

.workspace__dossier-label {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 .35rem;
  font-size: .6rem;
  font-weight: 700;
}

.workspace__dossier-name {
  color: #0f172a;
  margin: 0;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.workspace__dossier-id, .workspace__dossier-sanction {
  color: #475569;
  margin: .25rem 0 0;
  font-size: .75rem;
}

.workspace__nav-title {
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
  padding: .85rem 1.15rem .15rem;
  font-size: .6rem;
  font-weight: 700;
}

.tab-nav {
  flex-direction: column;
  gap: .2rem;
  padding: 0 .5rem .75rem;
  display: flex;
}

.tab-nav__link {
  color: #334155;
  border-left: 3px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: .65rem;
  padding: .55rem .65rem;
  text-decoration: none;
  transition: background .12s, border-color .12s;
  display: flex;
}

.tab-nav__link:hover {
  color: #0f172a;
  background: #f8fafc;
  text-decoration: none;
}

.tab-nav__link--active {
  color: #14532d;
  background: #ecfdf5;
  border-left-color: #15803d;
}

.tab-nav__ico {
  color: #64748b;
  flex-shrink: 0;
}

.tab-nav__link--active .tab-nav__ico {
  color: #15803d;
}

.tab-nav__label {
  min-width: 0;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.workspace__sidebar-foot {
  border-top: 1px solid var(--border);
  background: #f8fafc;
  padding: .85rem 1.15rem 1rem;
}

.workspace__sidebar-foot p {
  color: #64748b;
  margin: 0;
  font-size: .625rem;
  line-height: 1.45;
}

.workspace__main {
  min-width: 0;
  padding-left: 1.5rem;
}

@media (width <= 960px) {
  .workspace__main {
    padding-top: 1rem;
    padding-left: 0;
  }
}

.tab-intro {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  background: #f8fafc;
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  font-size: .875rem;
  line-height: 1.55;
}

.milestone-form {
  flex-direction: column;
  gap: 1rem;
  max-width: 36rem;
  display: flex;
}

.milestone-form .field textarea {
  resize: vertical;
  width: 100%;
  min-height: 3.5rem;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .65rem;
}

.milestone-form__submit {
  align-self: flex-start;
}

.milestone-list {
  flex-direction: column;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.milestone-row {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.15rem;
}

.milestone-row--done {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.milestone-row__head {
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .5rem;
  display: flex;
}

.milestone-row__title {
  color: var(--text);
  font-size: .9375rem;
  font-weight: 600;
}

.milestone-row__meta {
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  font-size: .8125rem;
  display: flex;
}

.milestone-row__meta div {
  flex-direction: column;
  gap: .15rem;
  display: flex;
}

.milestone-row__meta dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  font-size: .6875rem;
  font-weight: 600;
}

.milestone-row__meta dd {
  color: var(--text-secondary);
  margin: 0;
}

.milestone-row__notes {
  color: var(--text-secondary);
  white-space: pre-wrap;
  margin: .65rem 0 0;
  font-size: .875rem;
  line-height: 1.5;
}

.milestone-row__actions {
  border-top: 1px solid var(--dash-border-soft);
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
  padding-top: .75rem;
  display: flex;
}

.milestone-row__remove {
  color: #b91c1c;
  border-color: #fecaca;
}

.milestone-row__remove:hover {
  background: #fef2f2;
}

.milestone-links {
  border-top: 1px dashed var(--dash-border-soft);
  margin-top: 1rem;
  padding-top: 1rem;
}

.milestone-links__title {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 0 0 .35rem;
  font-size: .8125rem;
  font-weight: 700;
}

.milestone-links__help {
  margin: 0 0 .85rem;
  font-size: .8125rem;
  line-height: 1.5;
}

.milestone-links__empty {
  margin: 0 0 .85rem;
  font-size: .875rem;
}

.milestone-links__list {
  flex-direction: column;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: flex;
}

.milestone-link-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f8fafc;
  flex-direction: column;
  gap: .5rem;
  padding: .65rem .75rem;
  font-size: .875rem;
  display: flex;
}

.milestone-link-row--done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.milestone-link-row__main {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  display: flex;
}

.milestone-link-row__kind {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #15803d;
  background: #ecfdf5;
  border-radius: 4px;
  padding: .15rem .45rem;
  font-size: .6875rem;
  font-weight: 700;
}

.milestone-link-row__label {
  min-width: 0;
  color: var(--text);
  flex: 12rem;
}

.milestone-link-row__actions {
  flex-wrap: wrap;
  gap: .4rem;
  display: flex;
}

.milestone-links__add {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem 1rem;
  padding: .85rem;
  display: flex;
}

.milestone-links__field {
  min-width: 10rem;
  margin-bottom: 0;
}

.milestone-links__field--grow {
  flex: 14rem;
}

.milestone-links__add-btn {
  align-self: flex-end;
}

.milestone-links__no-bills {
  margin: 0;
  font-size: .8125rem;
}

.milestone-links__shortcut {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-top: .75rem;
  display: flex;
}

.milestone-links__shortcut-hint {
  font-size: .75rem;
}

.milestone-template-list {
  flex-direction: column;
  gap: 1.25rem;
  display: flex;
}

.milestone-phase-card--phase-done {
  opacity: .97;
}

.milestone-phase-card__head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .75rem;
  display: flex;
}

.milestone-phase-card__title {
  margin-bottom: .25rem;
}

.milestone-phase-card__badges {
  flex-wrap: wrap;
  gap: .35rem;
  display: flex;
}

.milestone-phase-card__foot {
  border-top: 1px solid var(--dash-border-soft);
  margin-top: 1rem;
  padding-top: .75rem;
}

.milestone-master-items {
  flex-direction: column;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.milestone-master-item-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: .75rem .9rem;
}

.milestone-master-item-row.is-done {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.milestone-master-item-row__main {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  display: flex;
}

.milestone-master-item-row__label {
  flex: 14rem;
  min-width: 0;
  font-size: .875rem;
}

.milestone-item-bill-row {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .65rem;
  margin-top: .65rem;
  display: flex;
}

.milestone-item-actions {
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .5rem;
  display: flex;
}

.milestone-master-form-items {
  flex-direction: column;
  gap: .5rem;
  margin: .75rem 0;
  display: flex;
}

.milestone-master-form-item {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.milestone-master-form-item .field {
  flex: 10rem;
  margin-bottom: 0;
}

.card--gov {
  border-color: #d1fae5;
}

.card__title--gov {
  color: #0f3d2f;
  border-bottom: 2px solid #bbf7d0;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
}

.console-users-page__perms {
  border-radius: var(--radius-lg);
  background: linear-gradient(#fafdfb 0%, #f8fafc 100%);
  border: 1px solid #c7e9d6;
  min-width: 0;
  margin: 0 0 1rem;
  padding: .85rem 1rem 1rem;
}

.console-users-page__data-table {
  table-layout: fixed;
  --cu-perm-viewport-h: 6.75rem;
  width: 100%;
}

.console-users-page__col-user {
  width: 22%;
}

.console-users-page__col-perms {
  width: 46%;
}

.console-users-page__col-pw {
  width: 20%;
}

.console-users-page__col-actions {
  width: 12%;
}

.console-users-page__user-td, .console-users-page__perms-td, .console-users-page__pw-td, .console-users-page__actions-td {
  vertical-align: top;
}

.console-users-page__actions-cell {
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  padding-top: .65rem;
  display: flex;
}

.console-users-page__user-td {
  padding-top: .65rem;
}

.console-users-page__user-line {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .45rem;
  line-height: 1.35;
  display: flex;
}

.console-users-page__user-sep {
  color: #94a3b8;
  -webkit-user-select: none;
  user-select: none;
}

.console-users-page__user-email-inline {
  word-break: break-all;
  font-size: .8125rem;
}

.console-users-page__role-line {
  margin-top: .45rem;
}

.console-users-page__role-pill {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #14532d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: .2rem .5rem;
  font-size: .6875rem;
  font-weight: 700;
  display: inline-block;
}

.console-users-page__role-pill--super {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.console-users-page__perms-td {
  border-left: 1px solid #e2e8f0;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.console-users-page__pw-td {
  border-left: 1px solid #e2e8f0;
  padding-top: .6rem;
}

.console-users-page__data-table thead th {
  border-left: 1px solid #e2e8f0;
}

.console-users-page__data-table thead th:first-child {
  border-left: none;
}

.console-users-page__pw-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .3rem;
  font-size: .6875rem;
  font-weight: 700;
  display: block;
}

.console-users-page__perm-list {
  grid-template-columns: 1fr 1fr;
  gap: .35rem 1.25rem;
  margin-top: 0;
  display: grid;
}

@media (width <= 640px) {
  .console-users-page__perm-list {
    grid-template-columns: 1fr;
  }
}

.console-users-page__perm-list--compact {
  grid-template-columns: 1fr 1fr;
  gap: .3rem .75rem;
  width: 100%;
  max-width: none;
  display: grid;
}

@media (width <= 520px) {
  .console-users-page__perm-list--compact {
    grid-template-columns: 1fr;
  }
}

.console-users-page__perm-row {
  border-radius: var(--radius);
  cursor: pointer;
  color: #334155;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .55rem .65rem;
  margin: 0;
  padding: .35rem .25rem;
  font-size: .875rem;
  line-height: 1.4;
  display: grid;
}

.console-users-page__perm-row:hover {
  background: #15803d0f;
}

.console-users-page__perm-check {
  cursor: pointer;
  accent-color: #15803d;
  flex-shrink: 0;
  height: 1rem;
  margin-top: .15rem;
  width: 1rem !important;
}

.console-users-page__perm-label {
  min-width: 0;
  display: block;
}

.console-users-page__perm-viewport {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--cu-perm-viewport-h, 6.75rem);
  max-height: var(--cu-perm-viewport-h, 6.75rem);
  height: var(--cu-perm-viewport-h, 6.75rem);
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  align-items: center;
  padding: .35rem .45rem;
  display: flex;
}

.console-users-page__perm-all-label {
  font-size: .875rem;
  line-height: 1.4;
}

.console-users-page__perm-viewport--scroll {
  overscroll-behavior: contain;
  align-items: stretch;
  padding: .25rem .3rem;
  overflow: hidden auto;
}

.console-users-page__perm-viewport--scroll .console-users-page__perm-list--compact {
  width: 100%;
}

.console-users-page__perm-editor {
  flex-direction: column;
  align-items: stretch;
  gap: .5rem;
  width: 100%;
  min-width: 0;
  display: flex;
}

.console-users-page__perm-err {
  margin: 0;
  font-size: .8125rem;
}

.console-users-page__pw-cell {
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  max-width: 15rem;
  display: flex;
}

.console-users-page__pw-cell input[type="password"] {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
  font: inherit;
  padding: .45rem .6rem;
  font-size: .875rem;
}

.agent-master-form .field label {
  margin-bottom: .45rem;
  font-size: .8125rem;
}

.agent-master-form .field textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.45;
}

.agent-master-form .form-section-title {
  border-top: 1px solid var(--border);
  margin-top: 1.65rem;
  margin-bottom: .65rem;
  padding-top: .5rem;
  font-size: .8125rem;
}

.agent-master-form .form-section-title:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.agent-master-form__hint {
  color: var(--text-secondary);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  margin: 0 0 1rem;
  padding: .7rem .95rem;
  font-size: .875rem;
  line-height: 1.55;
}

.agent-master-form__stack {
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  max-width: 12rem;
  display: flex;
}

.agent-master-form__geo {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(#fafbfc 0%, #f1f5f9 100%);
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
  margin: 0 0 1.15rem;
  padding: 1.05rem 1.15rem 1.1rem;
  display: flex;
}

.agent-master-form__geo .table-filters__field {
  flex: 11.5rem;
  min-width: 10.5rem;
  margin-bottom: 0;
}

.agent-master-form__geo .table-filters__field label {
  color: var(--text-secondary);
  margin-bottom: .38rem;
  font-size: .75rem;
  font-weight: 600;
}

.agent-master-form__geo-btn {
  flex: none;
  align-self: flex-end;
  padding-bottom: .12rem;
}

.agent-master-form__geo-btn .btn {
  min-width: 8rem;
}

.agent-master-form__village-table .table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.agent-master-form__village-table .data-table__empty {
  padding: 1.35rem 1rem !important;
}

.agent-master-form__actions {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  display: flex;
}

@media (width <= 640px) {
  .agent-master-form__geo-btn {
    flex: 100%;
    width: 100%;
  }

  .agent-master-form__geo-btn .btn {
    width: 100%;
  }
}

.btn--tg {
  color: #fff;
  background: #15803d;
  border-color: #166534;
  box-shadow: 0 1px 2px #15803d40;
}

.btn--tg:hover {
  color: #fff;
  background: #166534;
  border-color: #14532d;
}

.btn--tg-secondary {
  color: #14532d;
  background: #fff;
  border-color: #86efac;
}

.btn--tg-secondary:hover {
  background: #f0fdf4;
}

.summary-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
}

.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 1.1rem 1.2rem;
}

.summary-card__title {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #15803d;
  margin: 0 0 .65rem;
  font-size: .75rem;
  font-weight: 700;
}

.summary-dl {
  grid-template-columns: auto 1fr;
  gap: .35rem .75rem;
  margin: 0;
  font-size: .8125rem;
  display: grid;
}

.summary-dl dt {
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.summary-dl dd {
  color: var(--text);
  margin: 0;
}

.summary-card__link {
  color: #0f766e;
  margin-top: .75rem;
  font-size: .8125rem;
  font-weight: 600;
  display: inline-block;
}

.summary-card__link--muted {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.summary-card__links {
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .75rem;
  display: flex;
}

.section-index {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-index li {
  border-bottom: 1px solid var(--border);
}

.section-index li:last-child {
  border-bottom: none;
}

.section-index a {
  color: inherit;
  flex-direction: column;
  gap: .15rem;
  padding: .85rem .25rem;
  text-decoration: none;
  display: flex;
}

.section-index a:hover {
  background: #f8fafc;
  text-decoration: none;
}

.section-index__row {
  flex-direction: column;
  gap: .15rem;
  padding: .85rem .25rem;
  display: flex;
}

.section-index__row--muted {
  background: #f8fafc;
}

.section-index__badge {
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  vertical-align: middle;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  margin-left: .45rem;
  padding: .12rem .45rem;
  font-size: .65rem;
  font-weight: 700;
  display: inline-block;
}

.section-index__en {
  color: #0f172a;
  font-weight: 700;
}

.section-index__desc {
  color: var(--muted);
  font-size: .8125rem;
}

.form-section-title {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #475569;
  margin: 1.25rem 0 .75rem;
  font-size: .8125rem;
  font-weight: 700;
}

.form-section-title:first-of-type {
  margin-top: 0;
}

.field-grid--read input:disabled {
  color: #334155;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.help-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  font-size: .9375rem;
  line-height: 1.55;
}

.help-banner strong {
  color: #0f172a;
}

.help-banner--welcome {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
  border-color: #bbf7d0;
}

.help-banner--welcome p {
  color: var(--text-secondary);
  margin: .5rem 0 0;
}

.help-banner--next {
  background: #fffbeb;
  border-color: #fcd34d #fcd34d #fcd34d #f59e0b;
  border-left-style: solid;
  border-left-width: 4px;
}

.help-banner__badge {
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b45309;
  margin-bottom: .35rem;
  font-size: .65rem;
  font-weight: 800;
  display: inline-block;
}

.help-banner__title {
  color: #0f172a;
  margin: 0 0 .35rem;
  font-family: Plus Jakarta Sans, Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.help-banner__body {
  color: var(--text-secondary);
  margin: 0 0 .85rem;
}

.help-banner__btn {
  text-decoration: none;
}

.help-banner--inline {
  background: #f8fafc;
  margin-bottom: 1.5rem;
}

.help-banner--inline .help-steps {
  color: var(--text-secondary);
  margin: .5rem 0 0;
  padding-left: 1.25rem;
}

.help-banner--inline .help-steps li {
  margin-bottom: .25rem;
}

.help-banner--muted {
  background: #f1f5f9;
  border-color: #e2e8f0;
  font-size: .875rem;
}

.help-banner--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  font-size: .875rem;
}

.alert__lead {
  margin: .35rem 0 .5rem;
  font-size: .875rem;
}

.section-heading--inset {
  margin-top: .25rem;
}

.section-sub--tight {
  margin-top: -.5rem;
  margin-bottom: 1rem;
}

.workspace__nav-help {
  color: #64748b;
  margin: 0 1.15rem .65rem;
  font-size: .75rem;
  line-height: 1.45;
}

.workspace__current-tip {
  color: #334155;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  margin: .5rem .85rem .75rem;
  padding: .65rem .75rem;
  font-size: .75rem;
  line-height: 1.45;
}

.workspace__current-tip-label {
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #15803d;
  margin-bottom: .25rem;
  font-size: .65rem;
  font-weight: 700;
  display: block;
}

.workspace__current-tip p {
  margin: 0;
}

.tab-nav__link {
  align-items: center;
  min-height: 44px;
}

.toast-viewport {
  top: calc(1.25rem + env(safe-area-inset-top, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  z-index: 10050;
  pointer-events: none;
  flex-direction: column-reverse;
  gap: .5rem;
  max-width: min(22rem, 100vw - 2rem);
  display: flex;
  position: fixed;
}

.toast-viewport .toast {
  pointer-events: auto;
}

.toast {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  width: 100%;
  box-shadow: var(--shadow-md);
  text-align: left;
  cursor: pointer;
  color: var(--text);
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
  padding: .65rem .75rem .65rem .85rem;
  font-size: .875rem;
  line-height: 1.4;
  animation: .22s ease-out toast-in;
  display: flex;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast--success {
  background: var(--success-bg);
  border-color: #6ee7b7;
}

.toast--error {
  background: var(--danger-bg);
  border-color: #fca5a5;
}

.toast--info {
  border-color: var(--info-border);
  background: var(--info-bg);
}

.toast__message {
  flex: 1;
  min-width: 0;
}

.toast__dismiss {
  opacity: .55;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.goods-receipts-filters {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
}

.goods-receipts-filters__grid {
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  align-items: end;
  gap: .85rem 1rem;
  display: grid;
}

.goods-receipts-filters__field {
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  display: flex;
}

.goods-receipts-filters__label {
  color: var(--text, #374151);
  font-size: .8125rem;
  font-weight: 600;
}

.goods-receipts-filters .form-control {
  box-sizing: border-box;
  border: 1px solid var(--border, #d1d5db);
  border-radius: var(--radius-md, 10px);
  width: 100%;
  color: var(--text, #111827);
  background: #fff;
  margin: 0;
  padding: .45rem .65rem;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.35;
}

.goods-receipts-filters .form-control:focus {
  border-color: #15803d;
  outline: none;
  box-shadow: 0 0 0 3px #15803d1f;
}

.goods-receipts-filters__actions {
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  display: flex;
}

.inv-receive-modal {
  box-sizing: border-box;
  flex-direction: column;
  padding: 1.5rem 1.65rem 1.65rem;
  display: flex;
}

.inv-receive-modal__header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin: 0 0 .65rem;
  padding-bottom: .85rem;
  display: flex;
}

.inv-receive-modal__header .form-section-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.3;
}

.inv-receive-modal__meta {
  color: var(--muted, #6b7280);
  margin: 0 0 1.35rem;
  padding: 0;
  font-size: .875rem;
  line-height: 1.5;
}

.inv-receive-modal__form {
  flex-direction: column;
  gap: 1.05rem;
  width: 100%;
  margin: 0 0 1.5rem;
  display: flex;
}

.inv-receive-modal__field {
  cursor: default;
  flex-direction: column;
  align-items: stretch;
  gap: .4rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
}

.inv-receive-modal__label {
  color: var(--text, #374151);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.inv-receive-modal__input {
  box-sizing: border-box;
  border: 1px solid var(--border, #d1d5db);
  border-radius: var(--radius-md, 10px);
  width: 100%;
  max-width: 100%;
  color: var(--text, #111827);
  background: #fff;
  margin: 0;
  padding: .5rem .7rem;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
  display: block;
}

.inv-receive-modal__input:focus {
  border-color: #15803d;
  outline: none;
  box-shadow: 0 0 0 3px #15803d26;
}

.inv-receive-modal__input:disabled {
  opacity: .65;
  cursor: not-allowed;
  background: #f9fafb;
}

textarea.inv-receive-modal__input {
  resize: vertical;
  vertical-align: top;
  min-height: 5.25rem;
}

.inv-receive-modal__table-title {
  margin: 0 0 .85rem;
  font-size: 1rem;
}

.inv-receive-modal__table-wrap {
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--border);
  margin: 0 0 .25rem;
  overflow-x: auto;
}

.inv-receive-modal__table-wrap .data-table {
  margin: 0;
}

.inv-receive-modal__table-wrap .data-table tbody tr:last-child td {
  border-bottom: none;
}

.inv-receive-modal__qty-input {
  box-sizing: border-box;
  text-align: right;
  width: 100%;
  min-width: 4.25rem;
  max-width: 5.5rem;
  margin: 0;
}

.inv-receive-modal__actions {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
}

.inv-outward-issue {
  margin-top: .35rem;
}

.inv-outward-issue__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem 1.25rem;
  margin-bottom: .75rem;
  display: grid;
}

.inv-outward-issue__field {
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
  margin: 0;
  display: flex;
}

.inv-outward-issue__label {
  color: var(--text, #374151);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.inv-outward-issue .form-control {
  box-sizing: border-box;
  border: 1px solid var(--border, #d1d5db);
  border-radius: var(--radius-md, 10px);
  width: 100%;
  max-width: 100%;
  color: var(--text, #111827);
  background: #fff;
  margin: 0;
  padding: .5rem .7rem;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}

.inv-outward-issue .form-control:focus {
  border-color: #15803d;
  outline: none;
  box-shadow: 0 0 0 3px #15803d1f;
}

.inv-outward-issue .form-control:disabled {
  opacity: .65;
  cursor: not-allowed;
  background: #f9fafb;
}

textarea.inv-outward-issue__notes {
  resize: vertical;
  min-height: 4.5rem;
}

.inv-outward-issue__field--r1 {
  grid-column: span 4;
}

.inv-outward-issue__field--item {
  grid-column: span 8;
}

.inv-outward-issue__field--qty {
  grid-column: span 4;
  justify-self: start;
  max-width: 11rem;
}

.inv-outward-issue__field--full {
  grid-column: 1 / -1;
}

.inv-outward-issue__hint {
  color: var(--muted, #6b7280);
  margin: 0 0 .85rem;
  font-size: .875rem;
  line-height: 1.45;
}

.inv-outward-issue__actions {
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  display: flex;
}

@media (width <= 960px) {
  .inv-outward-issue__field--r1, .inv-outward-issue__field--item {
    grid-column: 1 / -1;
  }

  .inv-outward-issue__field--qty {
    grid-column: 1 / -1;
    max-width: none;
  }

  .inv-outward-issue__field--qty .form-control {
    max-width: 12rem;
  }
}

.field-required-note {
  color: #64748b;
  margin-left: .25rem;
  font-size: .78rem;
  font-weight: 400;
}

.required-star {
  color: #dc2626;
  margin-left: .15rem;
}

.input--error {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 2px #ef44441f !important;
}

.input--verified {
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
}

.field-hint {
  color: #64748b;
  margin: .25rem 0 0;
  font-size: .78rem;
  line-height: 1.4;
}

.field-hint--error {
  color: #dc2626;
}

.field-hint--warn {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  margin-top: .4rem;
  padding: .5rem .75rem;
}

.gst-verify-row__input-group {
  align-items: stretch;
  gap: .5rem;
  display: flex;
}

.gst-verify-row__input-group input {
  flex: 1;
  min-width: 0;
}

.gst-verify-row__btn {
  white-space: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: .4rem;
  display: inline-flex;
}

.spinner {
  vertical-align: middle;
  border: 2px solid #fff6;
  border-top-color: #fff;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  animation: .65s linear infinite spin;
  display: inline-block;
}

.spinner--sm {
  width: .85em;
  height: .85em;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gst-verified-panel {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  margin-top: .75rem;
  padding: .85rem 1rem;
}

.gst-verified-panel--manual {
  background: #fffbeb;
  border-color: #fcd34d;
}

.gst-verified-panel__title--warn {
  color: #b45309;
  font-weight: 600;
}

.gst-verified-panel__manual-lead {
  color: #78350f;
  margin: 0 0 .75rem;
  font-size: .8rem;
  line-height: 1.5;
}

.gst-portal-blocked-box {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  margin-top: .5rem;
  padding: .75rem 1rem;
}

.gst-verified-panel__header {
  color: #15803d;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  font-size: .8125rem;
  font-weight: 600;
  display: flex;
}

.gst-verified-panel__icon {
  color: #16a34a;
  flex-shrink: 0;
}

.gst-verified-panel__grid {
  grid-template-columns: max-content 1fr;
  gap: .3rem 1.25rem;
  margin: 0;
  font-size: .8rem;
  line-height: 1.45;
  display: grid;
}

.gst-verified-panel__grid dt {
  color: #374151;
  white-space: nowrap;
  font-weight: 600;
}

.gst-verified-panel__grid dd {
  color: #1f2937;
  word-break: break-word;
  margin: 0;
}

@media (width <= 540px) {
  .gst-verify-row__input-group {
    flex-direction: column;
  }

  .gst-verified-panel__grid {
    grid-template-columns: 1fr;
  }

  .gst-verified-panel__grid dt {
    margin-top: .35rem;
  }
}
/*# sourceMappingURL=client.3456eee1.css.map */
