.fa-proposal {
  --proposal-gap: 14px;
  color: var(--ink);
  min-width: 0;
}
.fa-proposal-main {
  min-width: 0;
  background: var(--page);
}
.fa-proposal * { box-sizing: border-box; }
.fa-proposal .preview-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--sos);
  border-radius: var(--radius-s);
  background: var(--sos-tint);
  color: var(--navy);
  font-size: var(--step--1);
}
.fa-proposal .preview-banner strong { display: block; }
.fa-proposal .preview-banner p { margin: 1px 0 0; color: var(--muted); }
.fa-proposal .preview-mark { flex: none; width: 18px; height: 18px; color: var(--sos-deep); }
.fa-proposal .proposal-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 14px;
}
.fa-proposal .proposal-title { min-width: 230px; }
.fa-proposal .proposal-title h1 { margin: 0; }
.fa-proposal .proposal-title p { margin: 4px 0 0; color: var(--muted); }
.fa-proposal .scope-tools {
  margin-inline-start: auto;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.fa-proposal .scope-tools .field { min-width: 195px; }
.fa-proposal .updated-note { color: var(--muted); font-size: 12px; white-space: nowrap; padding-bottom: 8px; }
.fa-proposal .preview-action { position: relative; }
.fa-proposal .proposal-toast {
  position: fixed;
  z-index: 100;
  inset-inline-end: 20px;
  bottom: 20px;
  max-width: min(400px, calc(100vw - 32px));
  padding: 11px 15px;
  border-radius: var(--radius-s);
  background: var(--navy);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-size: var(--step--1);
}
.fa-proposal .proposal-section { margin: 0 0 16px; }
.fa-proposal .section-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-bottom: 9px;
}
.fa-proposal .section-heading h2 { margin: 0; }
.fa-proposal .section-heading p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.fa-proposal .kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.fa-proposal .kpi {
  min-width: 0;
  padding: 13px 14px 12px;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fa-proposal .kpi:nth-child(6n) { border-inline-end: 0; }
.fa-proposal .kpi:nth-child(n+7) { border-bottom: 0; }
.fa-proposal .kpi-top { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.25; min-height: 30px; }
.fa-proposal .kpi-icon { width: 17px; height: 17px; color: var(--sos-deep); flex: none; }
.fa-proposal .kpi-value { color: var(--navy); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.1; font-weight: 650; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.fa-proposal .kpi-value.bad { color: var(--bad-ink); }
.fa-proposal .kpi-value.wait { color: var(--wait-ink); }
.fa-proposal .kpi-note { color: var(--muted); font-size: 11px; line-height: 1.35; }
.fa-proposal .cap-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--wait);
  border-radius: var(--radius-s);
  padding: 2px 6px;
  background: var(--wait-bg);
  color: var(--wait-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}
.fa-proposal .cap-tag.info {
  border-color: var(--line);
  background: var(--sos-tint);
  color: var(--sos-deep);
}
.fa-proposal .cap-tag.muted { border-color: var(--line); background: var(--page); color: var(--muted); }
.fa-proposal .analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--proposal-gap);
  align-items: stretch;
}
.fa-proposal .panel { min-width: 0; }
.fa-proposal .panel .panel-head { align-items: flex-start; }
.fa-proposal .panel-title-copy { min-width: 0; }
.fa-proposal .panel-title-copy h2 { margin: 0 0 3px; }
.fa-proposal .panel-title-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.fa-proposal .chart-list { display: grid; gap: 9px; margin-top: 12px; }
.fa-proposal .bar-row { display: grid; grid-template-columns: minmax(95px, 145px) minmax(40px, 1fr) 52px; align-items: center; gap: 9px; }
.fa-proposal .bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink); }
.fa-proposal .bar-track { height: 12px; border-radius: var(--radius-s); background: var(--stale-bg); overflow: hidden; }
.fa-proposal .bar-track .chart-bar { display: block; height: 100%; border-radius: 3px; }
.fa-proposal .bar-value { text-align: end; color: var(--navy); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fa-proposal .chart-footnote { margin: 12px 0 0; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.fa-proposal .analytics-side { display: contents; }
.fa-proposal .verification-list { display: grid; gap: 11px; margin-top: 14px; }
.fa-proposal .operational-coverage {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--page);
}
.fa-proposal .operational-coverage > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fa-proposal .operational-coverage > div:first-child span { color: var(--navy); font-size: 12px; font-weight: 650; }
.fa-proposal .operational-coverage strong { color: var(--navy); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.fa-proposal .operational-coverage p { margin: 2px 0 8px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.fa-proposal .verification-row { display: grid; grid-template-columns: minmax(100px, 1fr) auto; gap: 4px 12px; align-items: center; }
.fa-proposal .verification-row .progress { grid-column: 1 / -1; height: 8px; }
.fa-proposal .verification-row b { color: var(--navy); font-size: 13px; font-variant-numeric: tabular-nums; }
.fa-proposal .verification-row span { color: var(--muted); font-size: 12px; }
.fa-proposal .condition-grid { display: grid; gap: 7px; margin-top: 13px; }
.fa-proposal .condition-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 12px; }
.fa-proposal .condition-item:last-child { border-bottom: 0; padding-bottom: 0; }
.fa-proposal .condition-item strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.fa-proposal .twocol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--proposal-gap);
}
.fa-proposal .compact-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin: 13px 0 0;
}
.fa-proposal .compact-metric { min-width: 0; padding: 10px 11px; border-inline-end: 1px solid var(--line); }
.fa-proposal .compact-metric:last-child { border-inline-end: 0; }
.fa-proposal .compact-metric b { display: block; color: var(--navy); font-size: 1.25rem; font-variant-numeric: tabular-nums; line-height: 1.2; }
.fa-proposal .compact-metric span { color: var(--muted); font-size: 11px; line-height: 1.25; }
.fa-proposal .approval-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.fa-proposal .approval-key span { display: inline-flex; align-items: center; gap: 5px; }
.fa-proposal .approval-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.fa-proposal .attention-table { width: 100%; min-width: 0; }
.fa-proposal .table-wrap { margin-top: 12px; }
.fa-proposal .attention-table td:last-child { white-space: nowrap; }
.fa-proposal .support-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.fa-proposal .planning-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.fa-proposal .planning-item { padding: 10px 11px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius-s); }
.fa-proposal .planning-item b { display: block; color: var(--navy); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.fa-proposal .planning-item span { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; }
.fa-proposal .planning-data { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 10px; border-top: 1px solid var(--line); }
.fa-proposal .planning-data p { flex: 1 1 210px; margin: 0; color: var(--muted); font-size: 11px; }
.fa-proposal .room-list { margin-top: 8px; }
.fa-proposal .room-list li { cursor: default; }
.fa-proposal .room-list li:hover { background: transparent; }
.fa-proposal .room-count { margin-inline-start: auto; color: var(--navy); font-size: 12px; white-space: nowrap; }
.fa-proposal .panel-subhead { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 7px 12px; justify-content: space-between; }
.fa-proposal .panel-subhead h2 { margin: 0; }
.fa-proposal .state-card { border-inline-start: 4px solid var(--sos); min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.fa-proposal .state-card h2 { margin-bottom: 8px; }
.fa-proposal .state-card p { color: var(--muted); margin-bottom: 14px; }
.fa-proposal .skeleton-block { height: 60px; border-radius: var(--radius-s); background: var(--stale-bg); }
.fa-proposal .skeleton-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.fa-proposal .skeleton-line { height: 14px; border-radius: var(--radius-s); background: var(--stale-bg); margin: 10px 0; }
.fa-proposal .skeleton-line.short { width: 52%; }
@media (max-width: 1180px) {
  .fa-proposal .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fa-proposal .kpi:nth-child(3n) { border-inline-end: 0; }
  .fa-proposal .kpi:nth-child(6n) { border-inline-end: 0; }
  .fa-proposal .kpi:nth-child(n+4) { border-bottom: 0; }
  .fa-proposal .kpi:nth-child(n+5) { border-bottom: 0; }
}
@media (max-width: 900px) {
  .fa-proposal .analytics-grid, .fa-proposal .twocol { grid-template-columns: 1fr; }
  .fa-proposal .analytics-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fa-proposal .planning-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fa-proposal .scope-tools { margin-inline-start: 0; }
}
@media (max-width: 640px) {
  .fa-proposal .attention-table { min-width: 520px; }
  .fa-proposal .proposal-head { align-items: stretch; }
  .fa-proposal .proposal-title { min-width: 0; }
  .fa-proposal .scope-tools { width: 100%; }
  .fa-proposal .scope-tools .field { flex: 1 1 100%; }
  .fa-proposal .scope-tools > button { flex: 1 1 auto; }
  .fa-proposal .updated-note { flex-basis: 100%; }
  .fa-proposal .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fa-proposal .kpi:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .fa-proposal .kpi:nth-child(2n) { border-inline-end: 0; }
  .fa-proposal .kpi:nth-child(n+4) { border-bottom: 1px solid var(--line); }
  .fa-proposal .kpi:nth-child(n+5) { border-bottom: 0; }
  .fa-proposal .kpi { padding: 11px 10px; }
  .fa-proposal .kpi-value { font-size: 1.55rem; }
  .fa-proposal .analytics-side { grid-template-columns: 1fr; }
  .fa-proposal .compact-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .fa-proposal .compact-metric:nth-child(2) { border-inline-end: 0; }
  .fa-proposal .compact-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fa-proposal .bar-row { grid-template-columns: minmax(82px, 1fr) minmax(42px, 1.3fr) 45px; gap: 6px; }
  .fa-proposal .panel { padding: 14px; }
  .fa-proposal .section-heading { align-items: flex-start; flex-direction: column; }
  .fa-proposal .proposal-toast { inset-inline: 12px; bottom: 88px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fa-proposal .skeleton-block { animation: none; }
}
.fa-proposal .progress i { transition: none; }
.dashboard-approved .dashboard-toolbar { align-items: end; gap: 12px; margin-bottom: 18px; }
.dashboard-approved .dashboard-toolbar .field { min-width: 200px; }
.dashboard-approved a.kpi { color: inherit; text-decoration: none; }
.dashboard-approved .kpi { display: flex; flex-direction: column; align-items: start; }
.dashboard-approved .kpi-top { min-height: 32px; }
.dashboard-approved .kpi-top svg { width: 17px; height: 17px; flex: none; }
.dashboard-approved a.kpi:hover { background: var(--sos-tint); }
.dashboard-approved a.kpi:focus-visible { outline: 2px solid var(--sos-deep); outline-offset: -2px; }
.dashboard-approved .operational-inventory { margin: 14px 0; }
.dashboard-approved .dashboard-history { margin-top: 14px; }
.dashboard-approved .dashboard-history > summary,
.dashboard-approved .dashboard-planning > summary { cursor: pointer; padding: 12px; color: var(--navy); background: var(--sos-tint); border-radius: var(--radius-s); font-weight: 600; }
.dashboard-approved .dashboard-planning .dashboard-section { margin-top: 10px; }
.dashboard-approved .dashboard-section-content > .analytics-grid > .panel { margin: 0; }
.fa-proposal button.kpi { font: inherit; text-align: start; background: var(--paper); cursor: pointer; }
.fa-proposal button.kpi:hover { background: var(--sos-tint); }
.fa-proposal button.kpi:focus-visible,
.fa-proposal .location-drilldown:focus-visible,
.fa-proposal .quick-actions summary:focus-visible { outline: 2px solid var(--sos-deep); outline-offset: -2px; }
.fa-proposal .location-drilldown { border: 0; background: none; padding: 2px 0; text-align: start; cursor: pointer; color: var(--sos-deep); text-decoration: underline; }
.fa-proposal .quick-actions summary { list-style: none; cursor: pointer; }
.fa-proposal .quick-actions summary::-webkit-details-marker { display: none; }
.fa-proposal .quick-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 5px; min-width: 210px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.fa-proposal .quick-menu small { color: var(--muted); }
.fa-proposal .approved-location-progress { display: grid; gap: 9px; margin-top: 12px; }
.fa-proposal .approved-location-progress .verification-row { padding-inline-start: 10px; border-inline-start: 2px solid var(--line); }
.fa-proposal .queue-link { padding: 0; border: 0; background: none; color: var(--sos-deep); font: inherit; text-decoration: underline; text-align: start; cursor: pointer; }
.fa-proposal .table-wrap { max-width: 100%; overflow-x: auto; }
.fa-proposal .cap-tag { max-width: 100%; white-space: normal; }
@media (max-width: 640px) {
  .fa-proposal .btn { min-width: 0; max-width: 100%; white-space: normal; text-align: center; }
  .fa-proposal .updated-note { white-space: normal; }
  .fa-proposal .room-list-copy { min-width: 0; }
  .fa-proposal .room-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .fa-proposal .room-count { grid-column: 2; margin-inline-start: 0; white-space: normal; }
}
