:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface-hover: #243044;
  --border: #2d3a4f;
  --text: #e8edf4;
  --muted: #8b9cb3;
  --accent: #3b82f6;
  --accent-dim: #2563eb;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

a.isn-link {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

a.isn-link:hover {
  text-decoration: underline;
}

header.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

header.app-header h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

header.app-header .subtitle {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

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

.empty-state {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}

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

label.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
}

label.field span {
  color: var(--muted);
}

input[type="email"],
input[type="password"],
textarea,
select {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

button.primary,
.btn.primary {
  background: var(--accent);
  color: #fff;
}

button.primary:hover {
  background: var(--accent-dim);
}

button.ghost,
.btn.ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

button.ghost:hover {
  background: var(--surface-hover);
  color: var(--text);
}

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

.error-banner {
  padding: 0.75rem 1rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius);
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

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

table.data th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.data tbody tr {
  cursor: pointer;
  transition: background 0.12s;
}

table.data tbody tr:hover,
table.data tbody tr.selected {
  background: var(--surface-hover);
}

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

.badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge.ok {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge.warn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge.muted {
  background: rgba(139, 156, 179, 0.12);
  color: var(--muted);
}

/* Casio-watch day-of-week strip: Monday-first, inspection day lit, rest faded.
   Renders on its own line under the report name, left-justified, so the
   strips line up vertically across rows. */
.day-strip {
  display: flex;
  gap: 2px;
  margin-top: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5625rem;
  line-height: 1;
  letter-spacing: 0.03em;
  user-select: none;
}

.day-cell {
  padding: 2px 3px;
  border-radius: 2px;
  background: rgba(139, 156, 179, 0.08);
  color: var(--muted);
  opacity: 0.45;
}

.day-cell.active {
  background: rgba(59, 130, 246, 0.22);
  color: var(--accent);
  opacity: 1;
  font-weight: 700;
}

/* QA-run timestamp: bookkeeping, de-emphasized vs the inspection identity */
th.col-qa-run,
td.col-qa-run {
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ISN order type: context for low completeness (stand-alone mold/pool score
   low against the full-house rubric by design) */
td.col-type {
  color: var(--muted);
  font-size: 0.8125rem;
  max-width: 16rem;
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.375rem;
  font-size: 0.8125rem;
}

.link-sep {
  color: var(--muted);
  user-select: none;
}

a.action-link,
a.muted-link {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

a.muted-link {
  color: var(--muted);
}

.header-nav {
  font-size: 0.875rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
}

.metric-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

button.link-btn {
  padding: 0;
  font-size: 0.8125rem;
  border: none;
  background: none;
  color: var(--accent);
}

.future-metrics {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
}

.future-metrics li {
  margin-bottom: 0.375rem;
}

.card-triage {
  border-color: rgba(59, 130, 246, 0.35);
}

.card-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-right: 0.5rem;
}

.col-check {
  width: 2rem;
}

.triage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

button.triage-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

table.data tbody tr td.col-check {
  cursor: default;
}

table.triage-table tbody tr {
  cursor: default;
}


.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hidden {
  display: none !important;
}

.workflow-stepper {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.workflow-stepper .step {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.workflow-stepper .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
}

.workflow-stepper .step.done {
  color: var(--text);
}

.workflow-stepper .step.done .step-num {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  color: var(--success);
}

.workflow-stepper .step.active {
  color: var(--text);
  font-weight: 500;
}

.workflow-stepper .step.active .step-num {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--accent);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  header.app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  table.data {
    font-size: 0.8125rem;
  }

  table.data th,
  table.data td {
    padding: 0.5rem;
  }
}

/* ============================================================================
   Leadership showpiece — additive, scoped styles only (.lp-*, .wt-*, .hjq-*,
   body.leadership). Everything below derives strictly from the :root token
   palette (solid tokens or rgba() of the same hex values already used above).
   ========================================================================== */

body.leadership main {
  max-width: 1060px;
  padding: 1.5rem 1.25rem 4rem;
}

body.leadership header.app-header {
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, var(--surface), rgba(26, 35, 50, 0.6));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--accent);
}

.brand .subtitle {
  margin-top: 1px;
}

/* --- shared section grammar ------------------------------------------------ */

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.advisory {
  color: var(--warning);
}

.section-head {
  margin: 2.75rem 0 1.25rem;
}

.panel-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0.25rem 0 0.375rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-head .head-rule {
  flex: 1;
  height: 1px;
  align-self: center;
  background: linear-gradient(90deg, var(--border), transparent);
}

.panel-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 68ch;
}

.reveal {
  animation: lp-rise 0.55s cubic-bezier(0.22, 0.8, 0.36, 1) both;
}

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- hero: team operational landscape -------------------------------------- */

.lp-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.875rem 1.875rem 1.625rem;
  background:
    radial-gradient(55rem 22rem at 88% -30%, rgba(59, 130, 246, 0.16), transparent 62%),
    radial-gradient(40rem 18rem at -10% 120%, rgba(59, 130, 246, 0.07), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg));
}

.lp-hero h2 {
  margin: 0.375rem 0 0.375rem;
  font-size: clamp(1.5rem, 3.4vw, 2.0625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.lp-hero-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 62ch;
}

.lp-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.lp-stat {
  background: rgba(15, 20, 25, 0.66);
  padding: 1rem 1.125rem 0.875rem;
}

.lp-stat-value {
  font-size: 1.8125rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.lp-stat-label {
  margin-top: 0.3125rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  margin-top: 1.75rem;
}

@media (max-width: 720px) {
  .lp-hero {
    padding: 1.375rem 1.25rem;
  }

  .lp-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.lp-block-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-bar-row {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3125rem 0;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.lp-bar-week {
  color: var(--muted);
  white-space: nowrap;
}

.lp-bar-track {
  height: 0.625rem;
  border-radius: 999px;
  background: rgba(139, 156, 179, 0.14);
  overflow: hidden;
}

.lp-bar-fill {
  height: 100%;
  min-width: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
}

.lp-bar-count {
  text-align: right;
  font-weight: 600;
}

.lp-stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.lp-stage-chip {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.625rem 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(26, 35, 50, 0.75);
}

.lp-stage-chip strong {
  font-size: 1.1875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.lp-stage-chip span {
  font-size: 0.75rem;
  color: var(--muted);
}

.lp-empty {
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* --- per-inspector progress ------------------------------------------------ */

.lp-inspector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
  gap: 1rem;
}

.lp-inspector-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.125rem 1.25rem 1rem;
  transition: border-color 0.18s, transform 0.18s;
}

.lp-inspector-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .lp-inspector-card,
  .lp-inspector-card:hover {
    transition: none;
    transform: none;
  }
}

.lp-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.lp-inspector-name {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.lp-spark {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0.875rem 0 0.25rem;
}

.lp-spark-caption {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lp-mini {
  background: var(--bg);
  padding: 0.5625rem 0.625rem;
}

.lp-mini-value {
  font-size: 0.9375rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.lp-mini-label {
  margin-top: 0.1875rem;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lp-trend {
  font-size: 0.875rem;
  font-weight: 600;
}

.lp-trend.good {
  color: var(--success);
}

.lp-trend.watch {
  color: var(--warning);
}

.lp-trend.flat {
  color: var(--muted);
}

.lp-weeks {
  margin-top: 0.875rem;
}

.lp-weeks summary {
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
}

.lp-weeks summary:hover {
  color: var(--text);
}

.lp-weeks .table-wrap {
  margin-top: 0.625rem;
}

/* --- AI-advisory walkthrough (the centerpiece) ------------------------------ */

.wt-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
  padding: 1.75rem 1.875rem 1.625rem;
  background:
    radial-gradient(48rem 20rem at 8% -40%, rgba(245, 158, 11, 0.11), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg));
  margin-bottom: 1.25rem;
}

.wt-hero h3 {
  margin: 0.375rem 0;
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wt-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 66ch;
}

.wt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.125rem;
}

.wt-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.55);
  font-size: 0.75rem;
  color: var(--muted);
}

.wt-chain {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 1.375rem 1.5rem 1.25rem;
  margin-bottom: 1rem;
}

.wt-chain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.125rem;
}

.wt-chain-title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wt-spine {
  position: relative;
  padding-left: 1.875rem;
}

.wt-spine::before {
  content: "";
  position: absolute;
  left: 0.4375rem;
  top: 0.5rem;
  bottom: 0.625rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(139, 156, 179, 0.45), rgba(245, 158, 11, 0.75));
}

.wt-node {
  position: relative;
  margin-bottom: 1.25rem;
}

.wt-node:last-child {
  margin-bottom: 0;
}

.wt-node::before {
  content: "";
  position: absolute;
  left: -1.875rem;
  top: 0.3125rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--muted);
}

.wt-node.flag::before {
  border-color: var(--warning);
  background: rgba(245, 158, 11, 0.25);
}

.wt-node.verdict::before {
  border-color: var(--warning);
  background: var(--warning);
}

.wt-node-label {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wt-node.flag .wt-node-label {
  color: var(--warning);
}

.wt-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 56ch;
}

.wt-read-as {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.wt-flag-panel {
  margin: 0;
  padding: 0.875rem 1.0625rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 60ch;
}

.wt-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3125rem 0.75rem;
  border: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 7px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warning);
}

.wt-stamp-note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

@media (max-width: 640px) {
  .wt-hero,
  .wt-chain {
    padding: 1.125rem 1.125rem 1rem;
  }
}

/* --- HJQ (human judgment queue) --------------------------------------------- */

.hjq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.375rem 1.5rem;
  margin-bottom: 1.125rem;
}

.hjq-kicker {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
}

.hjq-kicker .when {
  font-size: 0.75rem;
  color: var(--muted);
}

.hjq-prompt {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.hjq-brief {
  margin: 0 0 1.125rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid rgba(59, 130, 246, 0.45);
  border-radius: 0 8px 8px 0;
  background: rgba(59, 130, 246, 0.07);
  font-size: 0.875rem;
  color: var(--muted);
}

.hjq-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6875rem;
  padding: 0.8125rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(15, 20, 25, 0.4);
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.hjq-option:hover {
  background: var(--surface-hover);
}

.hjq-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.11);
}

.hjq-option input[type="radio"] {
  accent-color: var(--accent);
  margin: 0.2rem 0 0;
  flex: none;
}

.hjq-submitted {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hjq-row {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.hjq-row:first-of-type {
  border-top: none;
}

.hjq-row.card-toolbar {
  margin-bottom: 0;
}

.hjq-row-prompt {
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
}

.hjq-form-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  gap: 0.875rem;
}

.hjq-submit {
  align-self: flex-start;
  padding-inline: 1.75rem;
}

body.leadership #login-section {
  max-width: 26rem;
  margin: 9vh auto 0;
  padding: 1.75rem;
  border-radius: 14px;
  background:
    radial-gradient(30rem 14rem at 50% -40%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--surface);
}

body.leadership .meta-row {
  justify-content: flex-end;
  margin-bottom: 0.25rem;
}
