/**
 * Account / report chrome — uses design tokens only (SSoT: css/tokens.css).
 */

.account-shell {
  min-height: 100vh;
}

.account-wrap {
  max-width: min(58rem, 100%);
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 4rem;
}

.account-wrap--login {
  max-width: 28rem;
  width: 100%;
}

.account-wrap--report {
  max-width: min(72rem, 100%);
}

.scan-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.scan-card {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.35);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.scan-card--active {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.scan-card__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.scan-card__header:hover {
  background: rgba(45, 212, 191, 0.06);
}

.scan-card__title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.scan-card__meta {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.scan-card__summary {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Hub scan runs list (report.html) — native details expand/collapse */
.runs-list-region {
  margin-top: 0.25rem;
}

.runs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.runs-toolbar--primary {
  justify-content: flex-end;
}

.runs-toolbar--list {
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.runs-list-hint {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-muted);
  max-width: 46rem;
}

.runs-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.runs-list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.runs-detail {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.35);
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.runs-detail[open] {
  border-color: rgba(45, 212, 191, 0.38);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.1);
}

.runs-detail.runs-detail--active {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}

/* Older scans collapse under one dropdown; the newest run stays visible above it. */
.runs-older {
  border-radius: var(--radius-btn);
  border: 1px dashed var(--color-border-strong);
  background: rgba(7, 13, 22, 0.2);
  overflow: hidden;
}

.runs-older__summary {
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
  user-select: none;
}

.runs-older__summary::-webkit-details-marker {
  display: none;
}

.runs-older__summary::marker {
  content: '';
}

.runs-older__summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.15s ease;
}

.runs-older[open] > .runs-older__summary {
  color: inherit;
}

.runs-older[open] > .runs-older__summary::before {
  transform: rotate(90deg);
}

.runs-older__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem;
  list-style: none;
  border-top: 1px solid var(--color-border-strong);
}

.runs-older__list > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-runs-section {
  margin-bottom: 1.75rem;
}

.hub-runs-lede {
  max-width: 46rem;
}

.runs-detail__summary {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) minmax(0, 1fr) auto;
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font: inherit;
  color: inherit;
}

.runs-detail__summary::-webkit-details-marker {
  display: none;
}

.runs-detail__summary::marker {
  content: '';
}

.runs-detail__when {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.runs-detail__title {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  min-width: 0;
}

.runs-detail__title a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.runs-detail__title a:hover {
  color: #5eead4;
}

.runs-detail__metrics {
  font-size: 0.82rem;
  color: var(--color-muted);
  text-align: right;
  white-space: nowrap;
}

.runs-detail__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(0, 0, 0, 0.12);
}

.runs-detail__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.runs-detail__dl dt {
  margin: 0;
  color: var(--color-muted);
  font-weight: 600;
}

.runs-detail__dl dd {
  margin: 0;
  word-break: break-all;
}

.runs-detail__mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.82rem;
}

.runs-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.runs-detail__severities {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .runs-detail__summary {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .runs-detail__metrics {
    text-align: left;
    white-space: normal;
  }
}

.scan-detail-shell {
  margin-top: 0.5rem;
}

.report-pre--full {
  max-height: min(85vh, 48rem);
}

.account-login-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1rem, 4vh, 2.5rem) clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.account-page-header.site-header {
  margin: 0 0 1.25rem;
  border-radius: 14px;
}

.account-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.account-card--login {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 2.85rem) clamp(1.35rem, 4vw, 2.75rem);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(45, 212, 191, 0.06),
    0 0 80px rgba(45, 212, 191, 0.06);
}

.account-card__frame {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(45, 212, 191, 0.14), transparent 52%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
  opacity: 1;
}

.account-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.account-card--login .account-kicker {
  margin-bottom: 0.35rem;
}

.account-card--login .account-title {
  margin-bottom: 0.65rem;
}

.account-card--login .account-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.2), rgba(94, 234, 212, 0.95), rgba(45, 212, 191, 0.2));
}

.account-lede--login {
  max-width: 24rem;
  margin-bottom: 1.35rem;
}

.account-banner--login {
  width: 100%;
  max-width: 24rem;
  text-align: left;
  box-sizing: border-box;
}

.account-error--login {
  width: 100%;
  max-width: 24rem;
}

.account-actions--login {
  width: 100%;
  max-width: 20.5rem;
  margin-top: 0.5rem;
}

.account-card--login .btn-google,
.account-card--login .btn-github {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.account-card--login .btn-ghost {
  margin-top: 0.15rem;
}

.account-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 0.5rem;
}

.account-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.account-lede {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.55;
  max-width: 46rem;
}

.account-banner {
  border-radius: var(--radius-btn);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.account-banner--host {
  border-color: rgba(244, 114, 182, 0.4);
  background: rgba(244, 114, 182, 0.08);
  color: #fbcfe8;
}

.account-banner--host a {
  color: #fdf4ff;
  font-weight: 700;
  text-decoration: underline;
}

.auth-diag {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.55);
  text-align: left;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-diag__heading {
  margin: 1rem 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.auth-diag__heading:first-of-type {
  margin-top: 0;
}

.auth-diag__steps {
  margin: 0;
  padding-left: 1.1rem;
}

.auth-diag__steps li {
  margin: 0.25rem 0;
}

.auth-diag__cta {
  margin: 0 0 0.75rem;
}

.auth-diag__cta .btn {
  width: 100%;
}

.auth-diag__grid {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: 0.35rem 0.85rem;
  margin: 0;
  font-size: 0.88rem;
}

.auth-diag__grid dt {
  color: var(--color-muted);
  font-weight: 600;
}

.auth-diag__grid dd {
  margin: 0;
  word-break: break-word;
  color: var(--color-text);
}

.account-form {
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
}

.account-label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.account-input {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.55);
  color: var(--color-text);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.account-input:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.account-error {
  color: #fecaca;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.35rem;
}

.account-actions--stack {
  flex-direction: column;
  align-items: stretch;
  max-width: 22rem;
}

.btn-oauth-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid var(--color-border-strong);
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.btn-google:hover:not(:disabled) {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-google:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #24292f;
  color: #f6f8fa;
  font-weight: 700;
}

.btn-github:hover:not(:disabled) {
  background: #2f3742;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-github:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.account-fatal {
  margin: 0;
  padding: 1rem;
  background: #7f1d1d;
  color: #fecaca;
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.account-fatal--cli-diag {
  line-height: 1.45;
}

.cli-link-diag__headline {
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.cli-link-diag__cause,
.cli-link-diag__fixtitle {
  margin: 0.35rem 0;
}

.cli-link-diag__fixtitle {
  font-weight: 600;
  margin-top: 0.75rem;
}

.cli-link-diag__list {
  margin: 0.35rem 0 0.5rem 1.1rem;
  padding: 0;
}

.cli-link-diag__list li {
  margin: 0.25rem 0;
}

.cli-link-diag__hint {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: rgba(254, 202, 202, 0.85);
}

.cli-link-success-panel {
  margin-top: 0.75rem;
}

.report-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.report-userline {
  color: var(--color-muted);
  font-size: 0.95rem;
}

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

.report-userline strong,
.report-userline__name {
  color: var(--color-text);
  font-weight: 700;
}

.report-meta {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  max-width: 52rem;
}

.report-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.report-metric {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border);
  background: rgba(7, 13, 22, 0.45);
  padding: 0.75rem 0.85rem;
}

.report-metric__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.report-metric__value {
  margin-top: 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.report-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
  color: var(--color-text);
}

.report-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.report-table th,
.report-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.report-table th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: rgba(7, 13, 22, 0.55);
}

/* Sortable column headers in the "Summary by policy" table. */
.report-table th.report-th-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.report-table th.report-th-sortable:hover,
.report-table th.report-th-sortable:focus-visible {
  color: var(--color-text, #cbd5e1);
  outline: none;
}

.report-table th.report-th-sortable::after {
  content: '↕';
  margin-left: 0.35rem;
  font-size: 0.85em;
  opacity: 0.35;
}

.report-table th.report-th-sorted-asc::after {
  content: '▲';
  opacity: 0.95;
  color: #2dd4bf;
}

.report-table th.report-th-sorted-desc::after {
  content: '▼';
  opacity: 0.95;
  color: #2dd4bf;
}

.report-table code {
  font-size: 0.86rem;
  color: #99f6e4;
}

.report-table tbody tr.report-policy-row--clickable {
  cursor: pointer;
  outline: none;
}

.report-table tbody tr.report-policy-row--clickable:hover {
  background: rgba(153, 246, 228, 0.06);
}

.report-table tbody tr.report-policy-row--clickable:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(153, 246, 228, 0.45);
}

.report-table tbody tr.report-policy-row--active {
  background: rgba(153, 246, 228, 0.1);
}

.report-table tbody tr.report-policy-row--active td {
  border-bottom-color: rgba(153, 246, 228, 0.35);
}

.report-policy-expand-row td.report-policy-expand-cell {
  padding: 0;
  border-bottom: 1px solid rgba(153, 246, 228, 0.28);
  background: rgba(4, 10, 18, 0.92);
}

.policy-expand-card {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border-left: 3px solid rgba(153, 246, 228, 0.55);
}

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

.policy-expand-titles {
  min-width: min(100%, 14rem);
}

.policy-expand-kicker {
  margin: 0 0 0.2rem;
}

.policy-expand-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--color-text);
}

.policy-expand-code {
  font-size: 1rem;
  color: #99f6e4;
}

.policy-expand-count {
  font-weight: 650;
  color: var(--color-muted);
}

.policy-expand-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.policy-expand-copy-hint {
  margin: 0 0 0.55rem;
  min-height: 1.35em;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.policy-expand-pre {
  max-height: min(55vh, 28rem);
  margin: 0 0 1rem;
}

.policy-expand-feedback {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-strong);
}

.policy-expand-feedback .policy-feedback-shell {
  margin: 0;
}

.report-pre {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.72);
  color: var(--color-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: min(70vh, 36rem);
  overflow: auto;
}

.report-findings-section {
  margin-top: 0.25rem;
}

.report-findings-lede {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.report-findings-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 0.75rem;
}

.report-findings-copy-hint {
  margin: 0;
  flex: 1 1 12rem;
  min-height: 1.35em;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --- Hub empty state (report.html) --- */
.account-card--hub {
  padding: clamp(1.35rem, 3.2vw, 2.25rem);
}

.hub-welcome {
  margin: 0.5rem 0 0;
}

.hub-welcome__shell {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .hub-welcome__shell {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem);
    align-items: start;
  }
}

.hub-welcome__main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hub-welcome__hero {
  border-radius: calc(var(--radius-card) + 2px);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(45, 212, 191, 0.18);
  background: var(--policy-entry-surface-wash);
  box-shadow: var(--policy-entry-shadow), 0 0 0 1px rgba(45, 212, 191, 0.06);
  position: relative;
  overflow: hidden;
}

.hub-welcome__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 55%);
}

.hub-welcome__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #99f6e4;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--policy-eyebrow-bg);
  border: 1px solid var(--policy-eyebrow-border);
}

.hub-welcome__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
}

.hub-welcome__lede {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: #cbd5e1;
  line-height: 1.55;
  font-size: 1.02rem;
}

.hub-welcome__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hub-welcome__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
}

.hub-card {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.55);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hub-card:hover {
  border-color: rgba(45, 212, 191, 0.28);
  transform: translateY(-1px);
}

.hub-card__step {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #5eead4;
}

.hub-card__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}

.hub-card__body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.hub-card__body code {
  font-size: 0.82rem;
  color: #a5f3fc;
}

.hub-welcome__rail {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.72);
  padding: 1.1rem 1.15rem;
  align-self: stretch;
}

.hub-welcome__rail-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hub-welcome__rail-body {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.hub-welcome__rail-body a {
  color: #99f6e4;
  font-weight: 700;
}

.hub-welcome__rail-code {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 191, 0.15);
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #e2e8f0;
  overflow-x: auto;
}

#hub-scans-region > .report-section-title:first-of-type {
  margin-top: 0.75rem;
}

/* --- CLI guide tabbed page --- */
.account-wrap--cli-guide {
  max-width: min(76rem, 100%);
}

.account-card--cli-guide {
  padding: clamp(1.35rem, 3vw, 2.35rem);
}

.cli-guide-hero {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cli-guide-hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.cli-guide-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3.5vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.cli-guide-hero__lede {
  margin: 0;
  max-width: 48rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cli-guide-hero__user {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.cli-guide-hero__user strong {
  color: var(--color-text);
}

.cli-guide-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.45);
}

.cli-guide-tabs__tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.cli-guide-tabs__tab:hover {
  color: var(--color-text);
  background: rgba(45, 212, 191, 0.06);
}

.cli-guide-tabs__tab[aria-selected='true'] {
  color: #042f1f;
  background: linear-gradient(165deg, #5eead4, #34d399);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 6px 24px rgba(45, 212, 191, 0.15);
}

.cli-guide-tabs__panels {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.4);
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
}

.cli-guide-panel--hidden {
  display: none;
}

.cli-guide-panel__h {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
}

.cli-guide-panel__p {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 52rem;
}

.cli-guide-panel__p code {
  font-size: 0.88em;
  color: #a5f3fc;
}

.cli-guide-code {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(45, 212, 191, 0.12);
  background: rgba(0, 0, 0, 0.38);
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-x: auto;
}

.cli-guide-code--tall {
  max-height: min(22rem, 50vh);
  overflow: auto;
}

.cli-guide-code--interactive {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
}

.cli-guide-code--interactive.cli-guide-code--tall {
  overflow-y: auto;
}

.cli-guide-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.45rem 0.6rem;
  padding: 0.12rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.cli-guide-code-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cli-guide-code-row__text {
  display: block;
  margin: 0;
  padding: 0.2rem 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: transparent;
}

.cli-guide-code-row__copy {
  flex-shrink: 0;
  margin-top: 0.05rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cli-guide-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.cli-guide-list li {
  margin: 0.35rem 0;
}

.cli-guide-list code {
  color: #a5f3fc;
  font-size: 0.88em;
}

.cli-guide-steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cli-guide-steps li {
  margin: 0.45rem 0;
}

.cli-guide-steps--tight li {
  margin: 0.3rem 0;
}

.cli-guide-callout {
  margin: 0 0 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(45, 212, 191, 0.22);
  background: rgba(45, 212, 191, 0.06);
}

.cli-guide-callout__title {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-text);
}

.cli-guide-callout__p {
  margin: 0 0 0.65rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 52rem;
}

.cli-guide-callout__p:last-child {
  margin-bottom: 0;
}

.license-keys-recovery {
  margin-bottom: 1.25rem;
}

.license-key-prefix-cell {
  vertical-align: middle;
}

.license-key-prefix-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.license-key-prefix-wrap code {
  font-size: 0.82em;
  word-break: break-all;
}

.license-key-prefix-copy {
  flex: 0 0 auto;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.cli-guide-steps code {
  color: #a5f3fc;
  font-size: 0.88em;
}

.site-nav__signin--btn {
  background: transparent;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-nav-link);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}

.site-nav__signin--btn:hover {
  color: var(--color-nav-link-hover);
  background: var(--color-nav-hover-surface);
}

.site-nav__muted {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 0 0.25rem;
}

/* Policy feedback (CLI-WEB W4) */
.policy-feedback-shell {
  margin: 1.75rem 0 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--color-border-strong);
}

.policy-feedback-prior-banner {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(94, 234, 212, 0.28);
  background: rgba(13, 148, 136, 0.14);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.policy-feedback-skeleton-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.35);
  padding: 1rem 1.1rem;
  min-height: 4.5rem;
}

.policy-feedback-skeleton-line {
  height: 0.65rem;
  border-radius: 4px;
  max-width: 100%;
  background: linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.14) 20%,
    rgba(148, 163, 184, 0.07) 45%,
    rgba(148, 163, 184, 0.14) 70%
  );
  background-size: 220% 100%;
  animation: policy-feedback-skel-shimmer 1.15s ease-in-out infinite;
}

@keyframes policy-feedback-skel-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.policy-feedback-root {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.policy-feedback-row {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
  background: rgba(7, 13, 22, 0.35);
  padding: 1rem 1.1rem;
}

.policy-feedback-row__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.policy-feedback-row__title code {
  font-size: 0.95em;
  color: #a5f3fc;
}

.policy-feedback-row__counts {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.policy-feedback-note {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.policy-feedback-note__label {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.policy-feedback-note__input {
  width: 100%;
  max-width: min(42rem, 100%);
  resize: vertical;
  min-height: 2.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: rgba(2, 6, 15, 0.65);
  color: var(--color-text);
  font: inherit;
  line-height: 1.45;
}

.policy-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.policy-feedback-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.policy-feedback-status {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.policy-feedback-status--error {
  color: #fca5a5;
}

.policy-feedback-btn--selected {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(13, 148, 136, 0.22);
}

.policy-feedback-summary {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-strong);
}

.policy-feedback-summary__counts {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.policy-feedback-row__chips {
  margin: 0 0 0.75rem;
}

.policy-feedback-row__chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.policy-feedback-chip {
  font-size: 0.82rem;
}

.policy-feedback-chip--selected {
  border-color: rgba(94, 234, 212, 0.55);
  background: rgba(13, 148, 136, 0.18);
}

.policy-feedback-row__severity {
  margin: 0 0 0.25rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border-strong);
}

.policy-feedback-row__severity-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0.35rem;
}

.policy-feedback-radio {
  font-size: 0.84rem;
  color: var(--color-text);
}

.policy-suggestion-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.policy-suggestion-field label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.policy-suggestion-field input[type='text'],
.policy-suggestion-field textarea,
.policy-suggestion-field select {
  width: 100%;
  max-width: min(42rem, 100%);
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: rgba(2, 6, 15, 0.65);
  color: var(--color-text);
  font: inherit;
}

.policy-suggestion-field select {
  cursor: pointer;
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%),
    linear-gradient(135deg, var(--color-muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.65rem) 55%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.policy-suggestion-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.policy-suggestion-field--radios {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.policy-suggestion-field--radios legend {
  padding: 0;
  margin-bottom: 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.policy-suggestion-severity-lede {
  margin: 0 0 0.35rem;
  max-width: min(42rem, 100%);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.35;
}

.policy-suggestion-severity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: min(42rem, 100%);
}

@media (min-width: 520px) {
  .policy-suggestion-severity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.policy-suggestion-severity-option {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  min-height: 2.75rem;
  box-sizing: border-box;
  width: 100%;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--color-border-strong);
  background: rgba(2, 6, 15, 0.45);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

/* Native radio hidden: whole row + left rail remain the visible control (label activates input). */
.policy-suggestion-severity-option__control {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

.policy-suggestion-severity-option:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(2, 6, 15, 0.72);
}

.policy-suggestion-severity-option:hover .policy-suggestion-severity-option__rail {
  background: rgba(148, 163, 184, 0.35);
}

.policy-suggestion-severity-option:focus-within {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-focus-ring);
  border-color: rgba(45, 212, 191, 0.45);
}

.policy-suggestion-severity-option:has(.policy-suggestion-severity-option__control:checked) {
  border-color: rgba(45, 212, 191, 0.4);
  background: rgba(45, 212, 191, 0.08);
}

.policy-suggestion-severity-option__rail {
  flex: 0 0 5px;
  align-self: stretch;
  background: rgba(148, 163, 184, 0.22);
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.policy-suggestion-severity-option:has(.policy-suggestion-severity-option__control:checked)
  .policy-suggestion-severity-option__rail {
  background: var(--policy-entry-accent-line);
  box-shadow: 2px 0 14px rgba(52, 211, 153, 0.2);
}

.policy-suggestion-severity-option__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.65rem 0.85rem 0.65rem 0.75rem;
}

.policy-suggestion-severity-option__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.policy-suggestion-severity-option__desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.25;
}

.policy-suggestion-status {
  margin: 0;
  font-size: 0.88rem;
}

.policy-suggestion-status--ok {
  color: #6ee7b7;
}

.policy-suggestion-status--err {
  color: #fca5a5;
}

.policy-suggestion-list {
  margin-top: 1.5rem;
}

.policy-suggestion-list__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.policy-suggestion-list__table th,
.policy-suggestion-list__table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--color-border-strong);
  text-align: left;
  vertical-align: top;
}

.policy-suggestion-status-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(71, 85, 105, 0.35);
  color: #e2e8f0;
}

.policy-suggestion-status-badge--received {
  background: rgba(59, 130, 246, 0.25);
}

.policy-suggestion-status-badge--considering {
  background: rgba(245, 158, 11, 0.22);
}

.policy-suggestion-status-badge--implemented {
  background: rgba(16, 185, 129, 0.22);
}

.policy-suggestion-status-badge--closed {
  background: rgba(100, 116, 139, 0.35);
}

/* License dashboard (LICENSE plan Faz 2) */
.license-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.license-card .hub-card__title {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.license-card__value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  word-break: break-word;
}

.license-card__value--muted {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
}

.license-subs {
  margin-top: 1.25rem;
}

.license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.license-keys-help {
  margin-top: 0.65rem;
  margin-bottom: 0.25rem;
}

.license-keys-help .account-lede {
  margin: 0 0 0.55rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.license-keys-help .account-lede:last-child {
  margin-bottom: 0;
}

.license-keys-table-section__hint {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.license-new-key {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-strong);
}

.license-new-key__hint code {
  color: #a5f3fc;
  font-size: 0.88em;
}

.license-generate-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: min(28rem, 100%);
  margin-top: 0.5rem;
}

.license-generate-form__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.license-generate-form__label-text {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.license-generate-form__help {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-muted);
  max-width: min(32rem, 100%);
}

.license-generate-form__input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: rgba(2, 6, 15, 0.65);
  color: var(--color-text);
  font: inherit;
}

.license-key-once {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.06);
}

.license-key-once__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.license-key-once__hint {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.license-key-once__pre {
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(2, 6, 15, 0.55);
  border: 1px solid var(--color-border-strong);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

.license-keys-table-section {
  margin-top: 2rem;
}

.license-table-empty {
  color: var(--color-muted);
  font-style: italic;
  padding: 0.75rem 0.5rem;
}

.license-revoke-btn {
  color: #fca5a5;
}

.cli-link-device-meta {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

#cli-link-success {
  margin-top: 1rem;
}

.account-card--inset {
  margin-top: 1rem;
  padding: 1.5rem;
  background: var(--color-surface-2, rgba(15, 23, 42, 0.45));
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
}

.cli-link-device-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 0.75rem 0 0;
}

.cli-link-device-grid dt {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.cli-link-device-grid dd {
  margin: 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.88rem;
}

#service-keys-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

#service-keys-table th,
#service-keys-table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border, rgba(148, 163, 184, 0.25));
}

.account-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 15, 0.72);
}

.account-dialog {
  width: min(26rem, 100%);
  max-height: min(90vh, 100%);
  overflow: auto;
  border-radius: var(--radius-btn, 10px);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-1, rgba(15, 23, 42, 0.96));
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.account-dialog__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.account-dialog__body {
  margin-bottom: 1rem;
}

.account-dialog__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.account-dialog__input {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  background: rgba(2, 6, 15, 0.45);
  color: inherit;
  font-size: 0.95rem;
}

.account-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
