:root {
  --ink: #17211d;
  --muted: #606c66;
  --line: #dbe3de;
  --line-strong: #c6d1ca;
  --surface: #ffffff;
  --canvas: #f4f7f5;
  --soft: #eef3f0;
  --teal: #08766b;
  --teal-soft: #e4f2ef;
  --blue: #2453a6;
  --blue-soft: #eaf0fb;
  --coral: #b94f3c;
  --coral-soft: #faece8;
  --amber: #986300;
  --amber-soft: #fff3d6;
  --left-rail-width: 336px;
  --header-height: 64px;
  --shadow: 0 14px 40px rgba(23, 33, 29, 0.12);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

.initializing .app-shell,
.initializing .rail-backdrop {
  display: none;
}

.initializing .header-actions {
  visibility: hidden;
}

.initial-loading {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: calc(100dvh - var(--header-height));
  color: var(--muted);
  font-size: 12px;
}

.initial-loading > span {
  width: min(240px, 64vw);
  height: 3px;
  overflow: hidden;
  background: var(--line);
}

.initial-loading i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--teal);
  animation: initial-load 900ms ease-in-out infinite alternate;
}

@keyframes initial-load {
  from { transform: translateX(0); }
  to { transform: translateX(164%); }
}

@media (prefers-reduced-motion: reduce) {
  .initial-loading i { animation: none; }
}

[hidden] {
  display: none !important;
}

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

button,
select,
input[type="checkbox"],
input[type="range"],
summary {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button,
.open-link {
  min-height: 38px;
  border-radius: 6px;
  font-weight: 700;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(36, 83, 166, 0.24);
  outline-offset: 2px;
}

a {
  color: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  margin-right: 11px;
  overflow: hidden;
  border: 1px solid #aec5bc;
  border-radius: 7px;
  background: var(--teal-soft);
}

.brand-mark i {
  position: absolute;
  inset: 8px;
  display: block;
  border: 2px solid var(--teal);
  border-radius: 50%;
}

.brand-mark i::before,
.brand-mark i::after {
  position: absolute;
  content: "";
  background: var(--surface);
}

.brand-mark i::before {
  top: 8px;
  left: -4px;
  width: 26px;
  height: 4px;
}

.brand-mark i::after {
  top: -4px;
  left: 8px;
  width: 4px;
  height: 26px;
}

.brand-mark b {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 6px;
  height: 6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--blue);
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 19px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.header-actions,
.button-row,
.profile-actions,
.modal-actions,
.modal-actions > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-button,
.secondary-button,
.quiet-button,
.danger-button,
.danger-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 8px 13px;
  text-decoration: none;
}

.primary-button {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.primary-button:hover:not(:disabled) {
  border-color: #075f57;
  background: #075f57;
}

.secondary-button {
  border-color: #9db2d7;
  color: #1d478f;
  background: var(--blue-soft);
}

.secondary-button:hover:not(:disabled) {
  border-color: var(--blue);
}

.quiet-button {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.quiet-button:hover:not(:disabled) {
  border-color: #93a39a;
  background: var(--soft);
}

.danger-button {
  border-color: var(--coral);
  color: #ffffff;
  background: var(--coral);
}

.danger-text-button {
  color: var(--coral);
  background: transparent;
}

.danger-text-button:hover {
  background: var(--coral-soft);
}

#mobileProfileButton {
  display: none;
}

.profile-drawer-close {
  display: none;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(300px, var(--left-rail-width)) minmax(0, 1fr);
  min-height: calc(100vh - var(--header-height));
}

.auth-gate {
  display: none;
}

body.logged-out .app-shell {
  grid-template-columns: minmax(0, 1fr);
}

body.logged-out .left-rail,
body.logged-out .workspace-head,
body.logged-out .metric-strip,
body.logged-out #matchCoverage,
body.logged-out #scanProgress,
body.logged-out .controls,
body.logged-out #messageBox,
body.logged-out #results,
body.logged-out #resultCountLabel,
body.logged-out #loadMoreButton,
body.logged-out #resultsSentinel,
body.logged-out #mobileProfileButton,
body.logged-out #systemButton,
body.logged-out .header-scan {
  display: none !important;
}

body.logged-out .workspace {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding-block: 44px;
}

body.logged-out .auth-gate {
  display: flex;
}

.auth-gate {
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(23, 33, 29, 0.08);
}

.auth-gate-copy {
  max-width: 500px;
}

.auth-gate h1 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.auth-gate p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.auth-gate-actions {
  display: grid;
  flex: 0 0 170px;
  gap: 9px;
}

.login-button {
  min-width: 74px;
}

.left-rail {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  height: calc(100vh - var(--header-height));
  overflow: auto;
  border-right: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: thin;
}

.rail-resize-handle {
  position: fixed;
  z-index: 22;
  top: var(--header-height);
  left: calc(var(--left-rail-width) - 5px);
  width: 10px;
  height: calc(100vh - var(--header-height));
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: col-resize;
  touch-action: none;
}

.rail-resize-handle::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
  content: "";
  background: transparent;
}

.rail-resize-handle:hover::after,
body.resizing-rail .rail-resize-handle::after {
  background: var(--blue);
}

body.resizing-rail {
  cursor: col-resize;
  user-select: none;
}

.panel {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-toggle {
  display: grid;
  min-width: 0;
  min-height: 0;
  flex: 1;
  justify-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.profile-toggle > span {
  font-size: 18px;
  font-weight: 800;
}

.profile-toggle small {
  display: block;
  width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.status-badge,
.flag,
.evidence-confidence {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #acd0c8;
  border-radius: 999px;
  color: #075f57;
  background: var(--teal-soft);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.status-badge.muted {
  border-color: var(--line);
  color: var(--muted);
  background: var(--soft);
}

.status-badge.warning {
  border-color: #dfc172;
  color: var(--amber);
  background: var(--amber-soft);
}

.profile-review-button {
  min-height: 30px;
}

.profile-form {
  display: grid;
  gap: 15px;
}

.profile-panel.collapsed .profile-form {
  display: none;
}

.profile-panel.collapsed .panel-heading {
  margin-bottom: 0;
}

.upload-block {
  display: grid;
  gap: 5px;
}

.file-picker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  overflow: hidden;
  border: 1px dashed #9eb3a8;
  border-radius: 6px;
  color: #075f57;
  background: #f7fbf9;
  font-weight: 800;
  cursor: pointer;
}

.file-picker:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-status {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > span,
.field-label,
.range-field > span,
.opportunity-actions label > span,
.question-number > span,
.eligibility-field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.question-context,
.question-custom,
.question-answer,
.question-number input,
.question-sector-choice select,
.eligibility-field input,
.eligibility-field select,
.status-select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 8px 10px;
  background: var(--surface);
}

.field textarea,
.question-answer {
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #99a99f;
}

.privacy-options {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.switch-field {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-width: 0;
}

.switch-field input,
.question-toggle input {
  width: 31px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.switch-field > span {
  display: grid;
  min-width: 0;
}

.switch-field strong {
  font-size: 12px;
}

.switch-field small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.fact-grid,
.advanced-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.span-two {
  grid-column: 1 / -1;
}

.advanced-filters {
  border-top: 1px solid var(--line);
}

.advanced-filters > summary,
.add-source > summary,
.match-details > summary {
  list-style: none;
}

.advanced-filters > summary::-webkit-details-marker,
.add-source > summary::-webkit-details-marker,
.match-details > summary::-webkit-details-marker {
  display: none;
}

.advanced-filters > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  font-weight: 800;
}

.advanced-filters > summary::after,
.add-source > summary::after,
.match-details > summary::after {
  content: "+";
  color: var(--blue);
  font-size: 17px;
  font-weight: 500;
}

.advanced-filters[open] > summary::after,
.add-source[open] > summary::after,
.match-details[open] > summary::after {
  content: "-";
}

.advanced-filters summary small {
  margin-left: auto;
  margin-right: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.advanced-filter-grid {
  padding: 12px 0 4px;
}

.checkbox-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 0;
  padding: 0;
}

.checkbox-group legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.checkbox-group input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--teal);
}

.profile-actions {
  justify-content: space-between;
  padding-top: 2px;
}

.rail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
}

.rail-actions > div:first-child {
  display: grid;
}

.rail-actions strong {
  font-size: 12px;
}

.rail-actions small {
  color: var(--muted);
  font-size: 10px;
}

.workspace {
  container-name: opportunity-workspace;
  container-type: inline-size;
  min-width: 0;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px clamp(20px, 3vw, 48px) 70px;
}

.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.workspace-head h1,
.modal-head h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.15;
}

.header-scan {
  display: none;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr)) minmax(130px, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

button.metric {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line);
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

button.metric:hover {
  background: #f5f8f6;
}

button.metric[aria-pressed="true"] {
  background: var(--blue-soft);
  box-shadow: inset 0 -3px var(--blue);
}

button.metric:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

.metric span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.metric strong {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.metric-wide strong {
  font-size: 13px;
}

.controls {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) repeat(3, minmax(125px, 0.72fr)) minmax(190px, 1.05fr);
  gap: 12px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 18px rgba(23, 33, 29, 0.05);
}

.field.compact {
  gap: 4px;
}

.field.compact input,
.field.compact select {
  min-height: 36px;
  padding: 6px 9px;
}

.range-field {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}

.range-field > span {
  display: flex;
  justify-content: space-between;
}

.range-field strong {
  color: var(--teal);
}

.range-field input {
  width: 100%;
  margin: 0;
  accent-color: var(--teal);
}

.message-box {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  color: #233c67;
  background: var(--blue-soft);
  font-size: 12px;
}

.message-box[data-tone="warning"] {
  border-color: var(--amber);
  color: #6e4b05;
  background: var(--amber-soft);
}

.message-box[data-tone="error"] {
  border-color: var(--coral);
  color: #743326;
  background: var(--coral-soft);
}

.scan-progress {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #b8cec7;
  border-radius: 7px;
  background: var(--surface);
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
}

.progress-track,
.question-progress-track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe8e4;
}

.progress-track span,
.question-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
  transition: width 180ms ease;
}

.scan-progress p {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}

.results {
  display: grid;
  gap: 10px;
}

.opportunity {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.opportunity:hover {
  border-color: #b5c4bc;
  box-shadow: 0 6px 18px rgba(23, 33, 29, 0.06);
}

.opportunity.rejected {
  border-color: #ebc7be;
}

.opportunity.review {
  border-color: #e8d39d;
}

.score-cell {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0;
  min-height: 100%;
  padding: 18px 8px;
  border-right: 1px solid #bdd9d2;
  color: #075f57;
  background: var(--teal-soft);
}

.score-cell strong {
  font-size: 22px;
  line-height: 1;
}

.score-cell span {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-cell i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--teal);
}

.rejected .score-cell {
  border-color: #ebc7be;
  color: #8f3e30;
  background: var(--coral-soft);
}

.rejected .score-cell i {
  background: var(--coral);
}

.review .score-cell {
  border-color: #e8d39d;
  color: #77520b;
  background: var(--amber-soft);
}

.review .score-cell i {
  background: var(--amber);
}

.opportunity-main {
  min-width: 0;
  padding: 16px 18px 12px;
}

.opportunity-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.opportunity-title,
.opportunity-title > div {
  min-width: 0;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.source-name {
  margin: 0;
  overflow: hidden;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.flags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.flag {
  min-height: 20px;
  padding: 3px 6px;
  border-color: var(--line);
  color: var(--muted);
  background: var(--soft);
  font-size: 9px;
}

.flag.deadline-flag {
  border-color: #d5bf85;
  color: #77520b;
  background: var(--amber-soft);
}

.opportunity h2 {
  margin: 4px 0 5px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.24;
}

.meta {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.opportunity-link-stack {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.evidence-confidence {
  min-height: 20px;
  padding: 3px 6px;
  border-color: var(--line);
  color: var(--muted);
  background: var(--soft);
  font-size: 9px;
}

.evidence-confidence[data-level="high"] {
  border-color: #acd0c8;
  color: #075f57;
  background: var(--teal-soft);
}

.evidence-confidence[data-level="medium"] {
  border-color: #d5bf85;
  color: #77520b;
  background: var(--amber-soft);
}

.evidence-confidence[data-level="review"] {
  border-color: #d5bf85;
  color: #77520b;
  background: var(--amber-soft);
}

.open-link {
  min-width: 76px;
}

.match-summary {
  margin: 10px 0 0;
  color: #34403a;
  font-size: 12px;
}

.match-details {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.match-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 10px;
  border-top: 1px solid var(--line);
}

.signal-grid > div {
  min-width: 0;
  padding: 10px 12px 2px;
  border-right: 1px solid var(--line);
}

.signal-grid > div:first-child {
  padding-left: 0;
}

.signal-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.signal-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-grid p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 11px;
}

.opportunity-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.verification-meta {
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.opportunity-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-select {
  width: auto;
  min-height: 32px;
  padding: 4px 28px 4px 8px;
  font-size: 11px;
  font-weight: 700;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 220px;
  align-content: center;
  padding: 34px;
  border: 1px dashed #b8c5be;
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.54);
  text-align: center;
}

.empty-state h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.empty-state p {
  max-width: 560px;
  margin: 0;
}

.match-coverage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 2px 14px;
  border-bottom: 1px solid var(--line);
}

.match-coverage > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-width: 0;
}

.coverage-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 12px;
}

.match-coverage strong {
  color: var(--ink);
  font-size: 12px;
}

.match-coverage span {
  color: var(--muted);
  font-size: 11px;
}

.coverage-action {
  flex: 0 0 auto;
  padding: 3px 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.coverage-action:hover {
  text-decoration: underline;
}

.results-pagination {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 44px;
  padding-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

#resultsSentinel {
  width: 1px;
  height: 1px;
}

.modal-shell {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: auto;
  background: rgba(18, 29, 24, 0.54);
}

.modal-card {
  width: min(780px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid #b8c5be;
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.questionnaire-dialog {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(860px, 100%);
  overflow: hidden;
}

.questionnaire {
  min-height: 0;
  overflow: auto;
  padding: 0 4px 12px 0;
}

.admin-dialog {
  width: min(960px, 100%);
}

.compact-dialog {
  width: min(520px, 100%);
}

.login-dialog {
  width: min(430px, 100%);
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form .primary-button {
  width: 100%;
  margin-top: 2px;
}

.login-error {
  margin: -2px 0 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-intro {
  max-width: 700px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.questionnaire-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
}

.questionnaire-head > div {
  display: grid;
}

.questionnaire-head strong {
  font-size: 12px;
}

.questionnaire-head span:not(.status-badge) {
  color: var(--muted);
  font-size: 10px;
}

.question-list {
  min-height: 330px;
}

.question-item {
  padding: 22px 0 6px;
}

.question-title {
  margin-bottom: 7px;
  font-size: 20px;
}

.question-copy {
  max-width: 720px;
  margin-bottom: 13px;
  color: #3d4943;
  font-size: 13px;
}

.profile-read-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-read-summary > div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
}

.profile-read-summary > div:last-child {
  border-right: 0;
}

.profile-read-summary dt {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-read-summary dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 700;
}

.question-impact {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  padding: 9px 11px;
  border-left: 3px solid var(--blue);
  color: #334f7c;
  background: var(--blue-soft);
  font-size: 11px;
}

.question-impact strong {
  white-space: nowrap;
}

.question-control {
  display: grid;
  gap: 12px;
}

.question-choices,
.question-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.question-choice,
.question-chip {
  display: grid;
  justify-items: start;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  padding: 7px 10px;
  color: var(--ink);
  background: var(--surface);
  text-align: left;
}

.question-choice {
  width: min(280px, 100%);
}

.question-choice[aria-pressed="true"],
.question-chip[aria-pressed="true"] {
  border-color: var(--teal);
  color: #075f57;
  background: var(--teal-soft);
}

.choice-label {
  font-size: 12px;
}

.choice-description {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.question-correction {
  display: grid;
  gap: 6px;
}

.question-sector-choice {
  display: grid;
  gap: 6px;
}

.question-sector-choice + .field-help {
  min-height: 15px;
  color: var(--muted);
  font-size: 11px;
}

.question-group {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.question-group h4 {
  margin: 0 0 8px;
  font-size: 12px;
}

.question-custom,
.question-context {
  margin-top: 9px;
}

.question-toggle-list,
.seniority-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.question-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.question-number {
  display: grid;
  gap: 5px;
  min-width: 220px;
}

.eligibility-notice {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eligibility-field {
  display: grid;
  gap: 5px;
}

.eligibility-field .field-help {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.question-error {
  margin: 10px 0 0;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
}

.question-item.has-error .question-control {
  padding-left: 10px;
  border-left: 3px solid var(--coral);
}

.modal-actions {
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.admin-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-summary > strong {
  font-size: 12px;
}

.admin-summary .status-badge {
  max-width: 78%;
  line-height: 1.35;
  white-space: normal;
}

.quality-audit {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.quality-audit .section-heading {
  margin-top: 16px;
}

.audit-progress-track {
  height: 4px;
  overflow: hidden;
  background: var(--soft);
}

.audit-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--teal);
  transition: width 180ms ease;
}

.audit-gate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
}

.audit-gate p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.audit-gate .status-badge[data-state="pass"] {
  border-color: #8abcae;
  color: #075f57;
  background: #e6f4ef;
}

.audit-gate .status-badge[data-state="fail"] {
  border-color: #d9a49a;
  color: #8a3025;
  background: #fff0ed;
}

.audit-cohort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.audit-cohort span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-cohort .quiet-button {
  min-height: 30px;
  flex: 0 0 auto;
  padding: 5px 9px;
  font-size: 10px;
}

.audit-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audit-metrics > div {
  min-width: 0;
  padding: 9px 12px;
  border-right: 1px solid var(--line);
}

.audit-metrics > div:last-child {
  border-right: 0;
}

.audit-metrics span,
.audit-metrics strong {
  display: block;
}

.audit-metrics span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.audit-metrics strong {
  margin-top: 2px;
  font-size: 17px;
}

.audit-review {
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
}

.audit-role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.audit-role-head > div {
  min-width: 0;
}

.audit-role-head strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.audit-role-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.audit-score {
  color: var(--teal);
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
}

.audit-description {
  max-height: 126px;
  margin: 12px 0;
  overflow: auto;
  color: #34423b;
  font-size: 12px;
  white-space: pre-line;
}

.audit-links,
.audit-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-links {
  margin-bottom: 14px;
}

.audit-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 11px;
  text-decoration: none;
}

.audit-field {
  min-width: 0;
  margin: 12px 0;
  border: 0;
  padding: 0;
}

.audit-field legend {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.segmented-control {
  display: inline-grid;
  grid-auto-columns: minmax(84px, 1fr);
  grid-auto-flow: column;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.segmented-control button {
  min-height: 34px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 6px 10px;
  background: var(--surface);
  font-size: 11px;
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button[aria-pressed="true"] {
  color: #075f57;
  background: var(--teal-soft);
}

.segmented-control button[data-value="irrelevant"][aria-pressed="true"],
.segmented-control button[data-value="invalid"][aria-pressed="true"] {
  color: var(--coral);
  background: var(--coral-soft);
}

.audit-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.audit-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-top: 0;
}

.audit-notes-details {
  min-width: min(360px, 100%);
}

.audit-notes-details > summary {
  min-height: 30px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.audit-notes-details .field {
  margin-top: 6px;
}

.audit-source-details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.audit-source-details > summary {
  min-height: 38px;
  padding-top: 10px;
  font-size: 11px;
  font-weight: 800;
}

.audit-source-list {
  max-height: 170px;
  overflow: auto;
}

.audit-source-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.4fr) 82px 92px 70px;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.audit-source-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-source-row span {
  color: var(--muted);
}

.audit-source-row .audit-risk {
  color: var(--coral);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
}

.verification-controls {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 8px;
}

.section-heading h3 {
  margin: 0;
  font-size: 14px;
}

.section-heading span {
  color: var(--muted);
  font-size: 10px;
}

.source-health-list {
  max-height: 300px;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.source-health-controls {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(180px, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.source-health-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) 90px 90px 90px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 7px 3px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.source-health-row strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.source-health-row span {
  color: var(--muted);
}

.source-health-empty {
  margin: 0;
  padding: 18px 3px;
  color: var(--muted);
  font-size: 12px;
}

.source-health-row [data-health="degraded"],
.source-health-row [data-health="empty"] {
  color: var(--amber);
}

.source-health-row [data-health="quarantined"] {
  color: var(--coral);
}

.source-health-row [data-health="retired"] {
  color: var(--muted);
  text-decoration: line-through;
}

.add-source {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.add-source > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  font-weight: 800;
}

.add-source .admin-grid {
  padding-top: 8px;
}

.rail-backdrop {
  display: none;
}

@container opportunity-workspace (max-width: 760px) {
  .workspace-head {
    align-items: center;
    gap: 12px;
  }

  .workspace-head .primary-button {
    max-width: 190px;
    white-space: normal;
  }

  .metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .metric {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 10px 12px;
    border-right: 1px solid var(--line) !important;
  }

  .metric span {
    overflow: visible;
    line-height: 1.2;
    white-space: normal;
  }

  .metric:nth-child(3n) {
    border-right: 0 !important;
  }

  .metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line) !important;
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .range-field,
  .search-field {
    grid-column: 1 / -1;
  }
}

@container opportunity-workspace (max-width: 500px) {
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .metric:nth-child(2n) {
    border-right: 0 !important;
  }

  .metric:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  .workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-head .scan-action,
  .workspace-head .primary-button {
    width: 100%;
    max-width: none;
  }

  .opportunity {
    grid-template-columns: 1fr;
  }

  .score-cell {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    justify-items: start;
    gap: 5px;
    min-height: 40px;
    padding: 10px 13px;
    border-right: 0;
    border-bottom: 1px solid #bdd9d2;
  }

  .score-cell strong {
    font-size: 18px;
  }

  .score-cell span {
    margin-top: 0;
  }

  .score-cell i {
    top: 0;
    right: auto;
    bottom: 0;
    width: 4px;
    height: auto;
  }

  .opportunity-main {
    padding: 13px;
  }

  .opportunity-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .opportunity-link-stack {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .open-link {
    justify-self: end;
  }

  .opportunity h2 {
    font-size: 16px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid > div,
  .signal-grid > div:first-child,
  .signal-grid > div:last-child {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid > div:last-child {
    border-bottom: 0;
  }

  .opportunity-actions {
    align-items: start;
    flex-direction: column;
  }

  .opportunity-actions label {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 1120px) {
  .metric-strip {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
  }

  .metric:nth-child(3) {
    border-right: 0;
  }

  .metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 58px;
  }

  .app-header {
    height: var(--header-height);
    padding: 0 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    margin-right: 9px;
    padding: 6px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  #mobileProfileButton {
    display: inline-flex;
  }

  .header-scan {
    display: inline-flex;
  }

  .workspace-head .scan-action {
    display: none;
  }

  .app-shell {
    display: block;
  }

  .auth-gate {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-gate-actions {
    flex-basis: auto;
  }

  .left-rail {
    position: fixed;
    z-index: 60;
    top: 0;
    bottom: auto;
    left: 0;
    width: min(420px, 90vw);
    height: 100dvh;
    max-height: 100dvh;
    transform: translateX(-102%);
    box-shadow: var(--shadow);
    transition: transform 180ms ease;
  }

  body.rail-open .left-rail {
    transform: translateX(0);
  }

  .rail-resize-handle {
    display: none;
  }

  .rail-backdrop {
    position: fixed;
    z-index: 55;
    inset: 0;
    background: rgba(18, 29, 24, 0.46);
  }

  .profile-drawer-close {
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    color: var(--muted);
    background: transparent;
    font-size: 24px;
    line-height: 1;
  }

  body.rail-open .rail-backdrop {
    display: block;
  }

  .workspace {
    padding: 22px 16px 60px;
  }

  .workspace-head {
    margin-bottom: 15px;
  }

  .workspace-head h1 {
    font-size: 24px;
  }

  .match-coverage {
    align-items: flex-start;
  }

  .controls {
    top: calc(var(--header-height) + 6px);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 13px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions button {
    min-height: 34px;
    padding: 6px 9px;
    font-size: 11px;
  }

  #systemButton {
    display: none;
  }

  .workspace {
    padding: 18px 10px 54px;
  }

  .match-coverage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .match-coverage > div:first-child {
    display: grid;
    gap: 3px;
  }

  .coverage-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .metric-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
  }

  .metric {
    min-width: 0;
    border-right: 1px solid var(--line) !important;
  }

  .metric:nth-child(3n) {
    border-right: 0 !important;
  }

  .metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line) !important;
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 10px;
  }

  .range-field,
  .search-field {
    grid-column: 1 / -1;
  }

  .opportunity {
    grid-template-columns: 1fr;
  }

  .score-cell {
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    justify-items: start;
    gap: 5px;
    min-height: 40px;
    padding: 10px 13px;
    border-right: 0;
    border-bottom: 1px solid #bdd9d2;
  }

  .score-cell strong {
    font-size: 18px;
  }

  .score-cell span {
    margin-top: 0;
  }

  .score-cell i {
    top: 0;
    right: auto;
    bottom: 0;
    width: 4px;
    height: auto;
  }

  .opportunity-main {
    padding: 13px;
  }

  .opportunity-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .opportunity-link-stack {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .open-link {
    justify-self: end;
  }

  .opportunity h2 {
    font-size: 16px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid > div,
  .signal-grid > div:first-child,
  .signal-grid > div:last-child {
    padding: 9px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid > div:last-child {
    border-bottom: 0;
  }

  .opportunity-actions {
    align-items: start;
    flex-direction: column;
  }

  .opportunity-actions label {
    width: 100%;
    justify-content: space-between;
  }

  .modal-shell {
    align-items: end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 94vh;
    border-radius: 8px 8px 0 0;
    padding: 18px 15px;
  }

  .modal-head h2 {
    font-size: 22px;
  }

  .profile-read-summary,
  .eligibility-grid,
  .admin-grid,
  .fact-grid,
  .advanced-filter-grid {
    grid-template-columns: 1fr;
  }

  .profile-read-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .profile-read-summary > div:last-child {
    border-bottom: 0;
  }

  .span-two {
    grid-column: auto;
  }

  .question-list {
    min-height: 360px;
  }

  .question-title {
    font-size: 18px;
  }

  .question-choice {
    width: 100%;
  }

  .audit-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-gate {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .audit-cohort {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-cohort span {
    white-space: normal;
  }

  .audit-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .audit-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .segmented-control {
    display: grid;
    width: 100%;
  }

  .audit-source-row {
    grid-template-columns: minmax(120px, 1fr) 70px 84px;
  }

  .audit-source-row span:nth-child(4) {
    display: none;
  }

  .audit-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .audit-actions {
    width: 100%;
  }

  .source-health-row {
    grid-template-columns: minmax(130px, 1fr) 72px 72px;
  }

  .source-health-row span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 380px) {
  .controls {
    grid-template-columns: 1fr;
  }

  .range-field,
  .search-field {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
