@charset "UTF-8";

/* src/styles.scss */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 15px;
}
body {
  overflow-x: hidden;
  text-wrap: pretty;
}
img,
svg,
canvas,
video {
  max-width: 100%;
  height: auto;
}
a.btn-primary:visited {
  color: black;
  background:
    linear-gradient(
      120deg,
      var(--teal-500),
      var(--teal-400));
  box-shadow: 0 10px 25px rgba(15, 159, 147, 0.35);
}
a.btn:visited {
  text-decoration: none;
}
.btn {
  padding: 0.66rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1.15;
  vertical-align: middle;
  max-width: 100%;
  white-space: normal;
  min-height: 2.35rem;
}
.btn-primary {
  background:
    linear-gradient(
      120deg,
      var(--teal-500),
      var(--teal-400));
  color: black;
  box-shadow: 0 10px 25px rgba(15, 159, 147, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(15, 159, 147, 0.35);
}
.btn-secondary {
  background:
    linear-gradient(
      120deg,
      rgba(27, 181, 168, 0.12),
      rgba(197, 122, 58, 0.06));
  color: var(--ink-900);
  border: 1px solid rgba(11, 18, 21, 0.06);
  box-shadow: 0 6px 18px rgba(15, 159, 147, 0.06);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 159, 147, 0.09);
  background:
    linear-gradient(
      120deg,
      rgba(27, 181, 168, 0.16),
      rgba(197, 122, 58, 0.08));
}
.btn-large {
  padding: 0.82rem 1.35rem;
  font-size: 0.98rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  .btn {
    padding: 0.6rem 0.92rem;
    min-height: 2.2rem;
    width: auto;
  }
}
:root {
  --ink-900: #0b1215;
  --ink-800: #131b1f;
  --ink-700: #1b252a;
  --sand-50: #f7f5f2;
  --sand-100: #f1ede7;
  --sand-200: #e6dfd4;
  --teal-400: #1bb5a8;
  --teal-500: #0f9f93;
  --copper-500: #c57a3a;
  --copper-600: #a8642f;
  --gold-300: #ffd487;
  --shadow-soft: 0 12px 40px rgba(7, 13, 15, 0.15);
  --shadow-card: 0 18px 55px rgba(11, 18, 21, 0.18);
}
html,
body {
  height: 100%;
  margin: 0;
  font-family:
    "Sora",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.2vw, 2rem);
}
.page-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  flex-wrap: wrap;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(248, 243, 234, 0.98));
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.page-kicker,
.page-description,
.panel-kicker,
.alert,
.panel-chip {
  margin: 0;
}
.page-kicker,
.panel-kicker {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.page-description {
  margin-top: 0.7rem;
  max-width: 42rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-700);
}
.page-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.alert {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
}
.alert-error {
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
}
.alert-success {
  background: rgba(27, 181, 168, 0.15);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.list-panel,
.editor-panel {
  background: var(--sand-50);
  border: 1px solid rgba(11, 18, 21, 0.08);
  border-radius: 16px;
  padding: 1rem;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.panel-chip--editor {
  background: rgba(197, 122, 58, 0.12);
  color: var(--copper-600);
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--ink-900);
  color: white;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}
.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(
      180deg,
      #fcfbf9 0%,
      #f3eee6 100%);
}
.app-shell--sidebar {
  display: grid;
  grid-template-columns: minmax(216px, 252px) minmax(0, 1fr);
  background:
    radial-gradient(
      900px 450px at -10% 10%,
      rgba(27, 181, 168, 0.18),
      transparent 60%),
    radial-gradient(
      850px 420px at 100% 0%,
      rgba(197, 122, 58, 0.16),
      transparent 55%),
    linear-gradient(
      180deg,
      #f8f4ee 0%,
      #f1ebe1 100%);
}
.app-main {
  min-width: 0;
  min-height: 100vh;
  box-sizing: border-box;
}
.app-main--public {
  padding: 0;
}
.app-main--sidebar {
  padding: 1.35rem clamp(0.9rem, 2vw, 1.8rem) 1.8rem;
}
@media (max-width: 960px) {
  .app-shell--sidebar {
    display: block;
  }
  .app-main--sidebar {
    padding: 5.5rem 1rem 1.5rem;
  }
}
.kyc-dashboard {
  padding: 0.2rem 0 1.5rem;
}
.kyc-dashboard .container {
  max-width: 100%;
  padding: 0;
}
.kyc-dashboard .page-hero__copy {
  max-width: 44rem;
  min-width: 0;
}
.kyc-dashboard .page-kicker,
.kyc-dashboard .page-description,
.kyc-dashboard .overview-label,
.kyc-dashboard .panel-kicker,
.kyc-dashboard .panel-chip {
  margin: 0;
}
.kyc-dashboard .page-kicker,
.kyc-dashboard .overview-label {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.kyc-dashboard .section-title {
  margin: 0;
  text-align: left;
  font-size: clamp(2rem, 3vw, 2.45rem);
  line-height: 1.05;
}
.kyc-dashboard .panel-state {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.kyc-dashboard .panel-state--error {
  border-color: rgba(166, 74, 61, 0.2);
}
.kyc-dashboard .overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.kyc-dashboard .overview-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.kyc-dashboard .overview-card strong {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--ink-900);
}
.kyc-dashboard .overview-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--ink-700);
  font-size: 0.92rem;
}
.kyc-dashboard .overview-card--highlight {
  background:
    linear-gradient(
      135deg,
      rgba(15, 159, 147, 0.18),
      rgba(255, 212, 135, 0.2));
}
.kyc-dashboard .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.kyc-dashboard .metric-card {
  background: white;
  border-radius: 16px;
  padding: 1rem 0.95rem;
  border: 1px solid rgba(11, 18, 21, 0.06);
  min-width: 0;
}
.kyc-dashboard .metric-card .card-title {
  font-size: 0.82rem;
  color: var(--ink-700);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.kyc-dashboard .metric-card .card-value {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--teal-500);
}
.kyc-dashboard .metric-card .card-caption {
  margin: 0.45rem 0 0;
  color: var(--ink-700);
  line-height: 1.5;
  font-size: 0.88rem;
}
.kyc-dashboard .metric-card--positive .card-value {
  color: var(--teal-500);
}
.kyc-dashboard .metric-card--warning .card-value {
  color: var(--copper-600);
}
.kyc-dashboard .metric-card--danger .card-value {
  color: #a54a3d;
}
.kyc-dashboard .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: start;
}
.kyc-dashboard .list-panel,
.kyc-dashboard .editor-panel {
  background: white;
  border-radius: 16px;
  padding: 0.95rem;
  border: 1px solid rgba(11, 18, 21, 0.06);
  min-width: 0;
}
.kyc-dashboard .card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.kyc-dashboard .panel-chip {
  padding: 0.38rem 0.62rem;
  background: rgba(15, 159, 147, 0.1);
}
.kyc-dashboard .section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink-900);
  font-family:
    "Fraunces",
    "Sora",
    serif;
}
.kyc-dashboard .table-wrap {
  overflow-x: auto;
}
.kyc-dashboard .history {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.kyc-dashboard .history th,
.kyc-dashboard .history td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #f1eee9;
  color: var(--ink-800);
  overflow-wrap: anywhere;
}
.kyc-dashboard .history th {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--sand-50);
}
.kyc-dashboard .history tbody tr:hover {
  background: rgba(15, 159, 147, 0.03);
}
.kyc-dashboard .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(11, 18, 21, 0.08);
  color: var(--ink-800);
  font-size: 0.8rem;
  font-weight: 700;
}
.kyc-dashboard .status-pill--positive {
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
}
.kyc-dashboard .status-pill--warning {
  background: rgba(197, 122, 58, 0.12);
  color: var(--copper-600);
}
.kyc-dashboard .status-pill--danger {
  background: rgba(166, 74, 61, 0.12);
  color: #a54a3d;
}
.kyc-dashboard .insight-stack {
  display: grid;
  gap: 0.75rem;
}
.kyc-dashboard .insight-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.9);
  border: 1px solid rgba(11, 18, 21, 0.05);
}
.kyc-dashboard .insight-item strong {
  font-size: 1rem;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
.kyc-dashboard .insight-item p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.52;
  font-size: 0.9rem;
}
.kyc-dashboard .status-breakdown {
  background: white;
  border-radius: 16px;
  padding: 0.95rem;
  border: 1px solid rgba(11, 18, 21, 0.06);
  margin-bottom: 1rem;
}
.kyc-dashboard .status-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
}
.kyc-dashboard .status-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.9rem 0.5rem;
  border-radius: 14px;
  background: rgba(247, 245, 242, 0.9);
  border: 1px solid rgba(11, 18, 21, 0.06);
  text-align: center;
}
.kyc-dashboard .status-card__value {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
}
.kyc-dashboard .status-card__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.3;
}
.kyc-dashboard .status-card--positive {
  background: rgba(15, 159, 147, 0.08);
  border-color: rgba(15, 159, 147, 0.18);
}
.kyc-dashboard .status-card--positive .status-card__value {
  color: var(--teal-500);
}
.kyc-dashboard .status-card--warning {
  background: rgba(197, 122, 58, 0.08);
  border-color: rgba(197, 122, 58, 0.18);
}
.kyc-dashboard .status-card--warning .status-card__value {
  color: var(--copper-600);
}
.kyc-dashboard .status-card--danger {
  background: rgba(166, 74, 61, 0.08);
  border-color: rgba(166, 74, 61, 0.18);
}
.kyc-dashboard .status-card--danger .status-card__value {
  color: #a54a3d;
}
@media (max-width: 600px) {
  .kyc-dashboard {
    padding: 0.35rem 0 1rem;
  }
  .kyc-dashboard .page-hero,
  .kyc-dashboard .overview-card,
  .kyc-dashboard .metric-card,
  .kyc-dashboard .list-panel,
  .kyc-dashboard .editor-panel,
  .kyc-dashboard .status-breakdown {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .kyc-dashboard .page-hero__actions {
    width: 100%;
  }
  .kyc-dashboard .page-hero__actions .btn {
    flex: 1 1 100%;
  }
  .kyc-dashboard .overview-grid,
  .kyc-dashboard .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .kyc-dashboard .metrics-grid {
    grid-template-columns: 1fr;
  }
  .kyc-dashboard .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kyc-dashboard .history {
    min-width: 540px;
  }
}
@media (max-width: 900px) {
  .kyc-dashboard .overview-grid,
  .kyc-dashboard .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .kyc-dashboard .status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.invitations-page {
  display: grid;
  gap: 1rem;
}
.invitations-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(250, 245, 237, 0.95));
}
.invitations-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.invitations-hero h1 {
  margin: 0;
  font-family:
    "Fraunces",
    "Sora",
    serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}
.invitations-description {
  margin: 0.7rem 0 0;
  max-width: 44rem;
  line-height: 1.58;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.invitations-hero__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.stat-pill {
  display: grid;
  place-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 21, 0.06);
  text-align: center;
  gap: 0.2rem;
}
.stat-pill strong {
  font-size: 1.35rem;
  color: var(--ink-900);
  font-weight: 700;
}
.stat-pill span {
  font-size: 0.78rem;
  color: var(--ink-700);
}
.alert {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  margin: 0;
}
.alert-error {
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
}
.alert-success {
  background: rgba(27, 181, 168, 0.15);
  border: 1px solid rgba(27, 181, 168, 0.18);
}
.invitations-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.panel-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}
.panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.full-width {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
label > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}
.optional-label {
  font-weight: 400;
  font-style: normal;
  color: var(--ink-700);
}
input,
textarea,
select {
  border: 1px solid rgba(11, 18, 21, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: var(--ink-900);
  background: white;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15, 159, 147, 0.15);
}
.footer-actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.field-error {
  display: block;
  color: var(--copper-600);
  font-size: 0.78rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
input[aria-invalid=true],
select[aria-invalid=true] {
  border-color: var(--copper-600);
  box-shadow: 0 0 0 2px rgba(197, 122, 58, 0.15);
}
.state-msg {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 21, 0.07);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table thead {
  background: rgba(11, 18, 21, 0.03);
}
.table th {
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(11, 18, 21, 0.08);
  white-space: nowrap;
}
.table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(11, 18, 21, 0.06);
  font-size: 0.92rem;
  color: var(--ink-900);
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table tbody tr:hover {
  background: rgba(15, 159, 147, 0.04);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(11, 18, 21, 0.07);
  color: var(--ink-800);
}
.status-pill.status-pill--neutral {
  background: rgba(11, 18, 21, 0.07);
  color: var(--ink-700);
}
.status-pill.status-pill--positive {
  background: rgba(27, 181, 168, 0.14);
  color: var(--teal-500);
}
.status-pill.status-pill--warning {
  background: rgba(197, 122, 58, 0.14);
  color: var(--copper-600);
}
.status-pill.status-pill--danger {
  background: rgba(166, 74, 61, 0.12);
  color: #a44a3d;
}
.row-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}
.btn-ghost-danger {
  background: transparent;
  color: #a44a3d;
  border: 1px solid rgba(166, 74, 61, 0.28);
}
.btn-ghost-danger:hover:not(:disabled) {
  background: rgba(166, 74, 61, 0.08);
}
@media (max-width: 640px) {
  .invitations-hero {
    flex-direction: column;
    align-items: start;
  }
  .invitations-hero__stats {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.kyc-review-page {
  display: grid;
  gap: 1rem;
}
.kyc-review-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(250, 245, 237, 0.95));
}
.kyc-review-hero h1 {
  margin: 0;
  font-family:
    "Fraunces",
    "Sora",
    serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}
.kyc-review-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.kyc-review-description {
  margin: 0.7rem 0 0;
  max-width: 44rem;
  line-height: 1.58;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.hero-stat {
  display: grid;
  place-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 21, 0.06);
  text-align: center;
  gap: 0.2rem;
  flex-shrink: 0;
}
.alert {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  margin: 0;
}
.alert-error {
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
}
.review-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.panel-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}
.panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.filter-bar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.filter-label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.filter-label > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}
.filter-label select,
.filter-label input {
  border: 1px solid rgba(11, 18, 21, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: var(--ink-900);
  background: white;
  min-width: 0;
}
.filter-label select:focus,
.filter-label input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15, 159, 147, 0.15);
}
.filter-search {
  flex: 1 1 220px;
}
.filter-search input {
  width: 100%;
  box-sizing: border-box;
}
.filter-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: end;
  padding-bottom: 0.02rem;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1px solid rgba(11, 18, 21, 0.18);
  padding: 0.95rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s ease;
}
.btn-ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-outline {
  background: transparent;
  color: var(--teal-500);
  border: 1px solid rgba(15, 159, 147, 0.4);
  cursor: pointer;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s ease;
}
.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}
.state-msg {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 21, 0.07);
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table thead {
  background: rgba(11, 18, 21, 0.03);
}
.table th {
  padding: 0.65rem 0.75rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(11, 18, 21, 0.08);
  white-space: nowrap;
}
.table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(11, 18, 21, 0.06);
  font-size: 0.92rem;
  color: var(--ink-900);
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: none;
}
.table-row {
  cursor: pointer;
}
.table-row:hover,
.table-row:focus {
  background: rgba(15, 159, 147, 0.05);
  outline: none;
}
.table-row:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: -2px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.status-badge--neutral {
  background: rgba(11, 18, 21, 0.07);
  color: var(--ink-700);
}
.status-badge.status-badge--positive {
  background: rgba(27, 181, 168, 0.14);
  color: var(--teal-500);
}
.status-badge.status-badge--warning {
  background: rgba(197, 122, 58, 0.14);
  color: var(--copper-600);
}
.status-badge.status-badge--danger {
  background: rgba(166, 74, 61, 0.12);
  color: #a44a3d;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(11, 18, 21, 0.07);
}
.pagination-info {
  font-size: 0.88rem;
  color: var(--ink-700);
}
@media (max-width: 640px) {
  .kyc-review-hero {
    flex-direction: column;
    align-items: start;
  }
  .filter-fieldset {
    border: none;
    padding: 0;
    margin: 0;
  }
  .field-error {
    display: block;
    color: var(--copper-600);
    font-size: 0.78rem;
    margin-top: 0.25rem;
    font-weight: 500;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
.detail-page {
  display: grid;
  gap: 1rem;
}
.detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(250, 245, 237, 0.95));
  box-shadow: var(--shadow-soft);
}
.detail-hero h1 {
  margin: 0;
  font-family:
    "Fraunces",
    "Sora",
    serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
}
.detail-hero__left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.detail-hero__badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.btn-back {
  align-self: flex-start;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-500);
  padding: 0;
  margin-bottom: 0.25rem;
  letter-spacing: 0.03em;
}
.btn-back:hover {
  text-decoration: underline;
}
.btn-back:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.detail-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.detail-email {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.score-pill,
.risk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  gap: 0.25rem;
}
.score-pill strong,
.risk-pill strong {
  font-size: 1.1rem;
  color: var(--ink-900);
}
.score-pill span,
.risk-pill span {
  font-size: 0.72rem;
  color: var(--ink-700);
}
.risk-pill {
  background: rgba(197, 122, 58, 0.12);
  color: var(--copper-600);
}
.alert {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  margin: 0;
}
.alert-error {
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
}
.alert-success {
  background: rgba(27, 181, 168, 0.15);
  border: 1px solid rgba(27, 181, 168, 0.18);
}
.detail-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.panel-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}
.panel-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 0;
}
.meta-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.meta-grid dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.meta-grid dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-900);
  word-break: break-word;
}
.meta-grid .meta-full {
  grid-column: 1/-1;
}
.notes-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-900);
  white-space: pre-wrap;
  word-break: break-word;
}
.edd-note {
  background: rgba(120, 80, 200, 0.06);
  border-left: 3px solid #7850c8;
  padding: 0.5rem 0.75rem;
  border-radius: 0 8px 8px 0;
}
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.btn-action {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.18s ease;
}
.btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-approve {
  background: rgba(27, 181, 168, 0.14);
  color: var(--teal-500);
  border: 1.5px solid rgba(27, 181, 168, 0.3);
}
.btn-approve.btn-action--active {
  background: rgba(27, 181, 168, 0.22);
  border-color: var(--teal-500);
}
.btn-deny {
  background: rgba(166, 74, 61, 0.1);
  color: #a44a3d;
  border: 1.5px solid rgba(166, 74, 61, 0.25);
}
.btn-deny.btn-action--active {
  background: rgba(166, 74, 61, 0.18);
  border-color: #a44a3d;
}
.btn-changes {
  background: rgba(197, 122, 58, 0.12);
  color: var(--copper-600);
  border: 1.5px solid rgba(197, 122, 58, 0.28);
}
.btn-changes.btn-action--active {
  background: rgba(197, 122, 58, 0.2);
  border-color: var(--copper-600);
}
.btn-edd {
  background: rgba(120, 80, 200, 0.1);
  color: #7850c8;
  border: 1.5px solid rgba(120, 80, 200, 0.25);
}
.btn-edd.btn-action--active {
  background: rgba(120, 80, 200, 0.18);
  border-color: #7850c8;
}
.action-form {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(11, 18, 21, 0.025);
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.form-fieldset legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.full-width {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
label > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}
label > span abbr {
  text-decoration: none;
  color: var(--copper-600);
}
input[type=number],
select,
textarea {
  border: 1px solid rgba(11, 18, 21, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: var(--ink-900);
  background: white;
  min-width: 0;
}
input[type=number]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15, 159, 147, 0.15);
}
textarea {
  resize: vertical;
}
.form-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.field-error {
  display: block;
  color: var(--copper-600);
  font-size: 0.78rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
.btn-danger {
  background: #c0392b;
  color: white;
}
.btn-warning {
  background: var(--copper-600);
  color: white;
}
.btn-edd-submit {
  background: #7850c8;
  color: white;
}
.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1px solid rgba(11, 18, 21, 0.18);
}
.terminal-notice {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  background: rgba(11, 18, 21, 0.04);
  border: 1px solid rgba(11, 18, 21, 0.12);
  color: var(--ink-900);
}
.state-msg {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.answers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}
.answers-sections {
  display: grid;
  gap: 0.9rem;
}
.answers-section-card {
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 21, 0.08);
  background: rgba(11, 18, 21, 0.02);
}
.answers-section-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-900);
}
.answer-item {
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(11, 18, 21, 0.025);
  border: 1px solid rgba(11, 18, 21, 0.06);
  overflow: hidden;
}
.answer-key {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-700);
  text-transform: none;
  letter-spacing: 0;
}
.answer-id {
  margin: 0 0 0.45rem;
  color: var(--ink-700);
}
.answer-value {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-900);
  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: break-word;
}
.answer-file {
  display: grid;
  gap: 0.45rem;
}
.answer-file-preview {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(11, 18, 21, 0.12);
  background: white;
}
.answer-file-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-500);
  text-decoration: none;
}
.answer-file-name {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-700);
}
.risk-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}
.risk-score {
  font-weight: 600;
}
.risk-level {
  font-weight: 700;
}
.risk-breakdown {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.risk-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(11, 18, 21, 0.03);
  border: 1px solid rgba(11, 18, 21, 0.08);
}
.audit-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.audit-event {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.audit-dot {
  display: none;
}
.audit-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.audit-transition {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.audit-notes {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.audit-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-700);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge.status-badge--neutral {
  background: rgba(11, 18, 21, 0.07);
  color: var(--ink-700);
}
.status-badge.status-badge--positive {
  background: rgba(27, 181, 168, 0.14);
  color: var(--teal-500);
}
.status-badge.status-badge--warning {
  background: rgba(197, 122, 58, 0.14);
  color: var(--copper-600);
}
.status-badge.status-badge--danger {
  background: rgba(166, 74, 61, 0.12);
  color: #a44a3d;
}
@media (max-width: 640px) {
  .detail-hero {
    flex-direction: column;
    align-items: start;
  }
  .detail-hero__badge {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .action-buttons {
    flex-direction: column;
  }
}
.questionnaires-page {
  padding-top: 0.2rem;
  padding-bottom: 1.2rem;
  max-width: 100%;
  display: grid;
  gap: 1rem;
}
.page-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  flex-wrap: wrap;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(248, 243, 234, 0.98));
  border: 1px solid rgba(11, 18, 21, 0.06);
}
.page-hero__copy {
  min-width: 0;
  max-width: 48rem;
}
.page-kicker,
.page-description,
.panel-kicker,
.overview-label,
.panel-state {
  margin: 0;
}
.page-kicker,
.panel-kicker {
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-600);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.45rem);
  line-height: 1.05;
}
.page-description {
  margin-top: 0.7rem;
  max-width: 42rem;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--ink-700);
}
.page-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 0.85rem;
}
.overview-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 18, 21, 0.06);
  min-width: 0;
}
.overview-card strong {
  font-size: 1.18rem;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}
.overview-label {
  font-size: 0.82rem;
  color: var(--ink-700);
}
.alert {
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  margin: 0;
}
.alert-error {
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
}
.alert-success {
  background: rgba(27, 181, 168, 0.15);
  border: 1px solid rgba(27, 181, 168, 0.18);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.list-panel,
.editor-panel {
  background: var(--sand-50);
  border: 1px solid rgba(11, 18, 21, 0.08);
  border-radius: 16px;
  padding: 1rem;
  min-width: 0;
}
.list-panel {
  padding: 0.8rem;
}
.list-panel.collapsed {
  padding-bottom: 0.7rem;
}
.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.panel-toggle {
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
}
.panel-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.15;
}
.panel-heading--editor {
  margin-bottom: 1rem;
}
.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.panel-chip--editor {
  background: rgba(197, 122, 58, 0.12);
  color: var(--copper-600);
}
.panel-state {
  padding: 0.7rem 0;
  color: var(--ink-700);
}
.questionnaire-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-height: 14rem;
  overflow: auto;
}
.questionnaire-link {
  width: 100%;
  border: 1px solid rgba(11, 18, 21, 0.08);
  border-radius: 16px;
  background: white;
  text-align: left;
  padding: 0.85rem 0.9rem;
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}
.questionnaire-link.selected {
  border-color: var(--teal-500);
}
.questionnaire-link .name {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.questionnaire-link .meta {
  color: var(--ink-700);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}
.editor-section {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 21, 0.05);
}
.editor-section + .editor-section {
  margin-top: 1rem;
}
.metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.full-width {
  grid-column: 1/-1;
}
label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
label > span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
}
input,
textarea,
select {
  border: 1px solid rgba(11, 18, 21, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  color: var(--ink-900);
  background: white;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(15, 159, 147, 0.15);
}
.versions {
  margin-top: 0;
  border-top: 0;
  padding-top: 0.7rem;
}
.versions-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.version-actions,
.version-inline-actions,
.footer-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.version-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.version-tab {
  border: 1px solid rgba(11, 18, 21, 0.16);
  border-radius: 999px;
  background: white;
  padding: 0.45rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
}
.version-tab.active {
  border-color: var(--teal-500);
  background: rgba(27, 181, 168, 0.12);
}
.version-tab.live {
  border-color: rgba(15, 159, 147, 0.45);
}
.tab-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tab-status.muted {
  color: var(--ink-700);
}
.version-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.version-summary p {
  margin: 0;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}
.questions {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}
.questions-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.inline-note {
  margin: 0.2rem 0 0.45rem;
  color: var(--ink-700);
  font-size: 0.88rem;
  line-height: 1.5;
}
.inline-note[role=alert] {
  margin-top: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(198, 100, 47, 0.12);
  border: 1px solid rgba(198, 100, 47, 0.18);
  color: var(--copper-600);
  font-weight: 600;
}
.question-card {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 21, 0.08);
  background: rgba(255, 255, 255, 0.94);
}
.question-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(11, 18, 21, 0.07);
}
.question-title {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-900);
}
.question-id-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(15, 159, 147, 0.12);
  color: var(--teal-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.55rem;
}
.question-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: end;
}
.question-text-field {
  grid-column: auto;
}
.required-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px dashed rgba(11, 18, 21, 0.15);
  background: rgba(250, 245, 237, 0.65);
}
.required-check input {
  width: 1rem;
  height: 1rem;
}
.question-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.question-actions .btn {
  flex: 0 1 auto;
}
.nested-group {
  margin: 0;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 21, 0.09);
  background: rgba(250, 245, 237, 0.48);
  min-width: 0;
}
.nested-group legend {
  padding: 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
}
.nested-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.nested-header strong {
  font-size: 0.9rem;
}
.options-list {
  display: grid;
  gap: 0.6rem;
}
.nested-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}
.sections-group .version-inline-actions {
  align-items: end;
}
.sections-group .version-inline-actions label {
  flex: 1 1 220px;
}
.field-invalid {
  border-color: var(--copper-600);
  box-shadow: 0 0 0 2px rgba(197, 122, 58, 0.14);
}
.question-card .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.footer-actions {
  margin-top: 1rem;
  justify-content: flex-end;
}
@media (max-width: 1000px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .metadata-grid {
    grid-template-columns: 1fr;
  }
  .version-actions,
  .version-inline-actions,
  .footer-actions,
  .page-hero__actions {
    width: 100%;
  }
  .version-actions .btn,
  .version-inline-actions .btn,
  .footer-actions .btn,
  .page-hero__actions .btn,
  .questions-header .btn {
    flex: 1 1 100%;
  }
  .version-summary {
    grid-template-columns: 1fr;
  }
  .question-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .question-text-field {
    grid-column: 1/-1;
  }
  .nested-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .nested-row .btn {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  .page-hero,
  .overview-card,
  .list-panel,
  .editor-panel,
  .editor-section {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
  .panel-heading,
  .versions-header,
  .questions-header {
    flex-direction: column;
    align-items: stretch;
  }
  .question-card,
  .nested-group {
    padding: 0.8rem;
  }
  .question-grid,
  .nested-row {
    grid-template-columns: 1fr;
  }
  .question-actions,
  .nested-header {
    align-items: stretch;
  }
  .question-actions .btn,
  .nested-header .btn {
    width: 100%;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
