/* CyberSafe.Now — shared logo mark and header wordmark (portal + tenant VM) */

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

a.brand-logo:hover {
  color: var(--color-brand);
  text-decoration: none;
}

.brand-logo__text {
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-brand), #2563eb);
  color: var(--color-text-inverse);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
}

.brand-logo__mark .logo-mark__svg {
  display: block;
  overflow: visible;
  width: 1.55rem;
  height: 1.55rem;
}

.brand-logo-wrap {
  margin: 0;
}

.logo-mark__orbit {
  transform-box: view-box;
  transform-origin: 16px 16px;
  animation: logo-mark-orbit 10s linear infinite;
}

.logo-mark__pulse {
  fill: none;
  stroke: #5eead4;
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-mark-pulse 2.6s ease-in-out infinite;
}

.logo-mark__pulse--inner {
  stroke: #99f6e4;
  animation-delay: 0.35s;
}

.logo-mark__check {
  stroke: #4ade80;
}

.logo-mark__beacon-rays {
  stroke: #fde047;
  opacity: 0.8;
}

.logo-mark__beacon {
  fill: #facc15;
}

.logo-mark__beacon-core {
  fill: #fef08a;
}

@keyframes logo-mark-orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes logo-mark-pulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark__orbit,
  .logo-mark__pulse {
    animation: none;
  }
}
.playbook-body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  line-height: 1.35;
  font-size: 10pt;
}

.playbook {
  max-width: 8in;
  margin: 0 auto;
}

.playbook__header {
  border-bottom: 2px solid #1f4b99;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
}

.playbook__brand {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f4b99;
  font-weight: 600;
}

.playbook__title {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
}

.playbook__org {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 600;
}

.playbook__meta {
  margin: 0.25rem 0 0;
  color: #555;
  font-size: 0.8rem;
}

.playbook__banner {
  background: #fdecea;
  border: 1px solid #e8b4b0;
  border-radius: 4px;
  padding: 0.45rem 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.playbook__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
}

.playbook__section h2 {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: #1f4b99;
}

.playbook__section ul,
.playbook__section ol {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
}

.playbook__section li + li {
  margin-top: 0.15rem;
}

.playbook__contacts h2 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #1f4b99;
}

.playbook__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.playbook__table th,
.playbook__table td {
  border: 1px solid #ccc;
  padding: 0.3rem 0.45rem;
  text-align: left;
  vertical-align: top;
}

.playbook__table th {
  background: #f4f6fa;
  width: 34%;
}

.playbook__placeholder {
  color: #888;
  font-style: italic;
}

.playbook__footer {
  margin-top: 0.65rem;
  padding-top: 0.45rem;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 0.72rem;
}

.playbook__footer p {
  margin: 0.15rem 0;
}

@media print {
  .report-actions,
  .page-header,
  .btn-row {
    display: none !important;
  }

  .playbook-body {
    font-size: 9pt;
  }

  .playbook__grid {
    gap: 0.45rem 0.75rem;
  }
}

@media (max-width: 720px) {
  .playbook__grid {
    grid-template-columns: 1fr;
  }
}
/* SecInABox — public customer portal */

.portal {
  --portal-max: 72rem;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.09), transparent 32rem),
    radial-gradient(circle at 80% 0%, rgba(4, 120, 87, 0.06), transparent 28rem),
    var(--color-bg);
}

.portal-container {
  width: 100%;
  max-width: var(--portal-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */

.portal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.portal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: 4.25rem;
  max-width: var(--portal-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.portal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
}

.portal-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}

.portal-nav a:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
  text-decoration: none;
}

.portal-nav__cta {
  background: var(--color-brand) !important;
  color: var(--color-text-inverse) !important;
}

.portal-nav__cta:hover {
  background: var(--color-brand-hover) !important;
  color: var(--color-text-inverse) !important;
}

/* Flash */

.portal-flash {
  padding: var(--space-md) 0;
  font-weight: 550;
}

.portal-flash--notice {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.portal-flash--alert {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.portal-main {
  min-height: calc(100vh - 12rem);
}

/* Hero */

.portal-hero {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.portal-hero__pitch {
  max-width: min(100%, 60rem);
  padding: var(--space-md) 0 var(--space-xl);
}

.portal-eyebrow {
  margin: 0 0 var(--space-md);
  color: var(--color-brand);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portal-hero__title {
  font-size: clamp(2.25rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  margin-bottom: var(--space-md);
}

.portal-hero__lead {
  margin: 0 0 var(--space-lg);
  max-width: 46rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.portal-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Tier buttons in a row (~⅓ width each), then full-width "What's included". */
.portal-hero__plans {
  display: grid;
  gap: var(--space-md);
  width: 100%;
  padding-top: var(--space-lg);
}

.portal-plan-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  width: 100%;
}

@media (min-width: 640px) {
  .portal-plan-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.portal-plan-card {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  text-align: center;
  justify-items: center;
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.portal-plan-card:hover,
.portal-plan-card:focus-visible {
  border-color: var(--color-brand);
  outline: none;
}

.portal-plan-card.is-active {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 1px var(--color-brand);
  background: rgba(37, 99, 235, 0.04);
}

.portal-plan-card__rank {
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-plan-card__name {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.portal-plan-card__tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.portal-hero__includes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.portal-hero__includes-title {
  margin: 0 0 var(--space-md);
  font-size: 1.125rem;
  font-weight: 650;
}

/* Eight bullets: left column items 1–4, right column 5–8. */
.portal-hero__includes .portal-checklist {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: none;
  grid-auto-flow: row;
  column-gap: var(--space-xl);
  row-gap: 0;
  flex: 1 1 auto;
}

@media (min-width: 720px) {
  .portal-hero__includes .portal-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
  }
}

.portal-hero__price {
  margin: var(--space-lg) 0 var(--space-md);
  color: var(--color-text-muted);
}

.portal-hero__includes-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.portal-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portal-checklist li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
}

.portal-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.portal-checklist--compact li {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

/* Sections */

.portal-section {
  padding: var(--space-2xl) 0;
}

.portal-section--muted {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--color-border);
}

.portal-section__header {
  max-width: 40rem;
  margin-bottom: var(--space-xl);
}

.portal-section__header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Features panel: one enclosure around section heading + module cards so the
   heading reads as supporting structure, not a competing hero title. */
.portal-features-panel {
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.portal-features-panel .portal-section__header {
  margin-bottom: var(--space-lg);
}

.portal-features-panel .portal-section__header h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
  font-weight: 650;
}

.portal-features-panel .portal-section__footer-link {
  margin-bottom: 0;
}

.portal-page-header {
  padding: var(--space-xl) 0 var(--space-md);
}

.portal-page-header__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Features */

.portal-feature-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .portal-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .portal-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portal-feature h3 {
  margin-bottom: var(--space-sm);
}

.portal-feature p {
  margin: 0;
  color: var(--color-text-muted);
}

.portal-benefits-grid .portal-feature h3 {
  margin-bottom: var(--space-md);
}

/* Steps */

.portal-step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: grid;
  gap: var(--space-lg);
}

.portal-step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
}

.portal-step-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-weight: 700;
}

.portal-step-list p {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
}

.portal-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-brand-soft);
  border: 1px solid rgba(29, 78, 216, 0.15);
}

.portal-cta-band p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Pricing */

.portal-pricing-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.portal-pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
}

.portal-pricing-card--featured {
  border-color: rgba(29, 78, 216, 0.45);
  box-shadow: var(--shadow-lg);
}

.portal-pricing-card__popular,
.portal-pricing-card__badge {
  margin: 0;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-pricing-card__name {
  margin: 0;
}

.portal-pricing-card__tagline {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.portal-pricing-card__price {
  margin: 0;
}

.portal-pricing-card__amount {
  font-size: 2rem;
  font-weight: 750;
}

.portal-pricing-card__period,
.portal-pricing-card__per-seat {
  margin: 0;
  color: var(--color-text-muted);
}

.portal-policy-requirements {
  margin-top: var(--space-2xl);
}

.portal-policy-requirements__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .portal-policy-requirements__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portal-policy-requirements__card h3 {
  margin: 0 0 var(--space-md);
}

.portal-policy-requirements__label {
  margin: var(--space-md) 0 var(--space-sm);
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-policy-requirements__label:first-of-type {
  margin-top: 0;
}

.portal-policy-requirements__note {
  margin: var(--space-md) 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.portal-pricing-card .portal-checklist {
  flex: 1;
  margin: var(--space-sm) 0 var(--space-md);
}

.portal-pricing-note {
  margin: var(--space-xl) 0 0;
  color: var(--color-text-muted);
  text-align: center;
}

/* Control × tier comparison matrix */

.portal-control-matrix {
  margin-top: var(--space-2xl);
  /* Offset #controls jumps below the sticky site header + Modules feature nav (nav bottom ~10.3rem). */
  scroll-margin-top: 11rem;
}

.portal-control-matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md, 0.5rem);
  background: #fff;
}

.portal-control-matrix__table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.portal-control-matrix__table th,
.portal-control-matrix__table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.portal-control-matrix__table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-control-matrix__table thead th:first-child,
.portal-control-matrix__table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  min-width: 14rem;
  max-width: 22rem;
}

.portal-control-matrix__table thead th:first-child {
  z-index: 3;
  background: #f8fafc;
}

.portal-control-matrix__category th {
  background: #f1f5f9;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-control-matrix__name {
  display: block;
  font-weight: 600;
  color: var(--color-text);
}

.portal-control-matrix__fn {
  font-size: 0.7em;
  font-weight: 700;
  line-height: 1;
}

.portal-control-matrix__fn a {
  color: var(--color-brand);
  text-decoration: none;
}

.portal-control-matrix__fn a:hover,
.portal-control-matrix__fn a:focus {
  text-decoration: underline;
}

.portal-control-matrix__footnotes {
  margin: 0.4rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.5625rem;
  line-height: 1.3;
}

.portal-control-matrix__footnotes p {
  margin: 0 0 0.15rem;
}

.portal-control-matrix__fn-mark {
  font-weight: 700;
  margin-right: 0.15rem;
}

.portal-control-matrix__note {
  display: inline-block;
  margin-top: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  font-style: italic;
}

.portal-control-matrix__category .portal-control-matrix__note {
  display: block;
  text-transform: none;
  letter-spacing: 0;
}

.portal-control-matrix__cell {
  white-space: nowrap;
}

.portal-control-matrix__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.portal-control-matrix__cell--included .portal-control-matrix__status {
  color: #166534;
}

.portal-control-matrix__cell--optional .portal-control-matrix__status {
  color: #a16207;
}

.portal-control-matrix__cell--not-included .portal-control-matrix__status {
  color: #64748b;
  font-weight: 500;
}

.portal-control-matrix__mark {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .portal-control-matrix__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .portal-control-matrix__status {
    justify-content: center;
  }

  .portal-control-matrix__table thead th:not(:first-child),
  .portal-control-matrix__cell {
    text-align: center;
  }
}

/* Optional add-ons (archive + retention) */

.portal-addons {
  margin-top: var(--space-2xl);
}

.portal-addons__grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  width: 100%;
}

@media (min-width: 800px) {
  .portal-addons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.portal-addons__grid > .card {
  min-width: 0;
  width: 100%;
}

.portal-addon {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  width: 100%;
}

.portal-addon h3 {
  margin: 0;
}

.portal-addon__price {
  margin: 0;
  color: var(--color-brand);
  font-size: 0.95rem;
  font-weight: 700;
}

.portal-addon__price span {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.portal-addon__tagline {
  margin: 0;
  font-weight: 600;
}

.portal-addon__label {
  margin: var(--space-sm) 0 0;
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portal-addon__roi {
  margin: var(--space-sm) 0 0;
}

.portal-addon__scope {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.portal-addon-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.8);
}

.portal-addon-option input[type="checkbox"] {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.portal-addon-option__copy {
  flex: 1;
  min-width: 0;
}

.portal-addon-option__copy > label {
  display: block;
  font-weight: 700;
}

.portal-addon-option__price {
  color: var(--color-brand);
  font-weight: 600;
}

.portal-addon-option__tagline {
  margin: 0.25rem 0 var(--space-sm);
  font-weight: 600;
}

.portal-addon-option .portal-checklist {
  margin: 0 0 var(--space-sm);
}

/* Subscribe */

.portal-subscribe-layout {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 960px) {
  .portal-subscribe-layout {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.portal-subscribe-form {
  padding: var(--space-xl);
}

.portal-form-section {
  border: 0;
  margin: 0 0 var(--space-xl);
  padding: 0;
}

.portal-form-section legend {
  padding: 0;
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
  font-weight: 650;
}

.portal-form-hint {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.portal-subscribe-form .form-group--team-size {
  margin-bottom: var(--space-lg);
}

.portal-subscribe-form .callout--billing-schedule {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group input[type="email"],
.form-group input[type="tel"],
.portal-subscribe-form input[type="email"],
.portal-subscribe-form input[type="tel"] {
  width: 100%;
  max-width: none;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font: inherit;
}

.portal-subscribe-aside h2 {
  margin-bottom: var(--space-md);
}

.portal-aside-steps {
  margin: 0 0 var(--space-lg);
  padding-left: 1.2rem;
  color: var(--color-text-muted);
}

.portal-aside-steps li {
  margin-bottom: var(--space-sm);
}

.portal-subscribe-estimate {
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

/* Confirmation */

.portal-confirm-next-step {
  margin: 0 0 var(--space-lg);
}

.portal-confirm-next-step p {
  margin: 0;
}

.portal-confirm-priority {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.portal-confirm-priority__label {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
  font-weight: 650;
}

.portal-confirm-priority__value {
  margin: 0 0 var(--space-xs);
  font-size: 1.0625rem;
}

.portal-confirm-layout {
  max-width: 42rem;
}

.portal-confirm-card {
  padding: var(--space-xl);
}

.portal-confirm-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.portal-confirm-progress {
  margin-top: var(--space-md);
}

.portal-confirm-progress__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.portal-confirm-progress__step {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: var(--color-muted, #5b6470);
}

.portal-confirm-progress__marker {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: transparent;
}

.portal-confirm-progress__step--pending .portal-confirm-progress__marker {
  opacity: 0.45;
}

.portal-confirm-progress__step--current {
  color: var(--color-text, #1b2430);
  font-weight: 600;
}

.portal-confirm-progress__step--current .portal-confirm-progress__marker {
  border-color: var(--color-accent, #0b6e4f);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #0b6e4f) 20%, transparent);
}

.portal-confirm-progress__step--done {
  color: var(--color-text, #1b2430);
}

.portal-confirm-progress__step--done .portal-confirm-progress__marker {
  border-color: var(--color-accent, #0b6e4f);
  background: var(--color-accent, #0b6e4f);
}

.portal-confirm-progress__activity {
  margin: var(--space-sm) 0 0;
  font-size: 0.9375rem;
  color: var(--color-muted, #5b6470);
}

.portal-detail-list {
  display: grid;
  gap: var(--space-md);
  margin: 0 0 var(--space-lg);
}

.portal-detail-list div {
  display: grid;
  gap: 0.2rem;
}

.portal-detail-list dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.portal-detail-list dd {
  margin: 0;
}

.portal-credentials-callout {
  margin-top: var(--space-sm);
}

.portal-credentials-callout__lead {
  margin: 0 0 var(--space-sm);
  font-size: 1.0625rem;
}

.portal-credentials-callout__detail {
  margin: 0 0 var(--space-md);
}

.portal-credentials-callout__password {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* Buttons */

.btn--lg {
  padding: 0.8rem 1.35rem !important;
  font-size: 1rem !important;
}

/* Pre-release inquiry dialog */

dialog.portal-inquiry {
  width: min(32rem, calc(100vw - 2rem));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-surface, #fff);
}

dialog.portal-inquiry::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

.portal-inquiry__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-height: inherit;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.portal-inquiry__header {
  position: relative;
  padding-right: 2rem;
}

.portal-inquiry__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  line-height: 1.25;
}

.portal-inquiry__lead {
  margin: 0;
  color: var(--color-text-muted);
}

.portal-inquiry__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: transparent;
  border: 0;
  color: var(--color-text-muted);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
}

.portal-inquiry__close:hover {
  color: var(--color-text);
}

.portal-inquiry-form .form-group input,
.portal-inquiry-form .form-group textarea {
  max-width: none;
}

.portal-inquiry-form .form-actions {
  margin-top: var(--space-lg);
}

.portal-inquiry-page {
  max-width: 36rem;
  padding: var(--space-xl);
}

/* Footer */

.portal-footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.7);
}

.portal-footer__inner {
  display: grid;
  gap: var(--space-sm);
}

.portal-footer__brand {
  margin: 0;
  font-weight: 700;
}

.portal-footer__tagline,
.portal-footer__legal {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.portal-footer__nav {
  display: flex;
  gap: var(--space-md);
}

.portal-feature__link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-weight: 600;
  font-size: 0.9375rem;
}

.portal-section__footer-link {
  margin: var(--space-lg) 0 0;
  text-align: center;
  font-weight: 600;
}

/* Feature deep-dive page */

.portal-feature-nav {
  position: sticky;
  top: 4.25rem;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.portal-feature-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.portal-feature-nav__link {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
}

.portal-feature-nav__link:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
  text-decoration: none;
}

.portal-feature-detail {
  padding: var(--space-2xl) 0;
  /* Offset anchor jumps so the section heading lands below the sticky page
     header (4.25rem) + sticky feature nav, not hidden beneath them. */
  scroll-margin-top: 8rem;
}

.portal-feature-detail--alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--color-border);
}

.portal-feature-detail__inner {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 960px) {
  .portal-feature-detail__inner {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .portal-feature-detail--reverse .portal-feature-detail__copy {
    order: 2;
  }

  .portal-feature-detail--reverse .portal-feature-detail__figure {
    order: 1;
  }
}

.portal-feature-detail__tagline {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.portal-feature-detail__actions {
  margin-top: var(--space-xl);
}

.portal-feature-detail__figure {
  margin: 0;
}

.portal-feature-shot {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.portal-feature-shot--live {
  overflow: hidden;
  background: var(--color-bg);
  pointer-events: none;
  user-select: none;
}

.portal-feature-shot--live .marketing-mock__header h2 {
  font-size: 1.35rem;
}

.portal-feature-shot--live .section {
  margin-bottom: var(--space-md);
}

.portal-feature-shot--live .section:last-child {
  margin-bottom: 0;
}

.portal-feature-shot--live .marketing-mock__btn {
  cursor: default;
}

.portal-feature-detail__caption {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 720px) {
  .portal-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .portal-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-feature-nav {
    top: 0;
  }

  .portal-feature-detail {
    /* Header stacks taller on narrow screens; give anchor jumps more clearance. */
    scroll-margin-top: 9.5rem;
  }

  .portal-control-matrix {
    scroll-margin-top: 12.5rem;
  }
}

/* Legal pages (Privacy Policy, Terms of Service) */

.portal-legal {
  max-width: 50rem;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

.portal-legal h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.portal-legal h2 {
  font-size: 1.5rem;
  font-weight: 650;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.portal-legal h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.portal-legal p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: var(--color-text);
}

.portal-legal ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  list-style: disc;
}

.portal-legal ul li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-text);
}

.portal-legal strong {
  font-weight: 650;
}

.portal-legal__date {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}

.portal-legal__footer {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
}

.portal-legal__footer a {
  color: var(--color-brand);
  text-decoration: none;
}

.portal-legal__footer a:hover {
  text-decoration: underline;
}

.report-body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
  padding: 1rem;
  counter-reset: report-h2;
}

.report-body h2:not(.report-toc__title) {
  counter-increment: report-h2;
  counter-reset: report-h3;
  break-before: page;
  page-break-before: always;
}

.report-body h2:not(.report-toc__title)::before {
  content: counter(report-h2) ". ";
}

.report-section--purpose > h2 {
  break-before: auto;
  page-break-before: auto;
}

.report-body h3 {
  counter-increment: report-h3;
}

.report-body h3::before {
  content: counter(report-h2) "." counter(report-h3) " ";
}

.report-header {
  border-bottom: 2px solid #1d4ed8;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.report-cover {
  --report-logo-fill: linear-gradient(135deg, #1d4ed8, #2563eb);
  margin: -1rem -1rem 1.75rem;
  padding: 0 0 1.25rem;
  border-bottom: 0;
  background: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.report-cover__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--report-logo-fill);
  color: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.report-cover__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.report-cover__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.4rem;
  background: var(--report-logo-fill);
  color: #fff;
}

.report-cover__mark .logo-mark__svg {
  display: block;
  overflow: visible;
  width: 1.6rem;
  height: 1.6rem;
}

.report-cover .logo-mark__orbit {
  animation: none;
}

.report-cover .logo-mark__pulse {
  fill: none;
  stroke: #5eead4;
  animation: none;
  opacity: 0.7;
}

.report-cover .logo-mark__check {
  stroke: #4ade80;
}

.report-cover .logo-mark__beacon-rays {
  stroke: #fde047;
}

.report-cover .logo-mark__beacon {
  fill: #facc15;
}

.report-cover .logo-mark__beacon-core {
  fill: #fef08a;
}

.report-cover__wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.report-cover__badge {
  margin: 0;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.report-cover__title-block {
  padding: 1.4rem 1.25rem 0.35rem;
}

.report-cover h1,
.report-header h1 {
  margin: 0 0 0.4rem;
  font-size: 1.85rem;
  line-height: 1.2;
  color: #122a56;
}

.report-company-name {
  white-space: nowrap;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}

.report-cover__prepared,
.report-header__prepared {
  margin: 0 0 0.7rem;
  color: #1f4b99;
  font-size: 0.95rem;
  font-weight: 600;
}

.report-cover__lede {
  margin: 0;
  color: #3d4a5c;
  font-size: 1.02rem;
  max-width: 40rem;
}

.report-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin: 1rem 1.25rem 0;
  padding-top: 0.85rem;
  border-top: 1px solid #d5deee;
}

.report-cover__meta p {
  margin: 0;
}

.report-cover__meta-label {
  display: block;
  margin-bottom: 0.15rem;
  color: #6b7a90;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-header__meta {
  color: #555;
  font-size: 0.9rem;
}

.report-copyright--screen {
  margin-top: 2rem;
  padding-top: 0.75rem;
  border-top: 1px solid #ccc;
  color: #555;
  font-size: 0.8rem;
}

.report-copyright--screen p {
  margin: 0;
}

.report-watermark {
  position: fixed;
  top: 42%;
  left: 50%;
  z-index: 0;
  margin: 0;
  padding: 0.35em 0.65em;
  transform: translate(-50%, -50%) rotate(-32deg);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(40, 40, 40, 0.14);
  background: rgba(80, 80, 80, 0.07);
}

@media print {
  .report-copyright--screen {
    display: none;
  }
}

.report-section {
  margin-bottom: 1.5rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-section h2,
.report-section h3,
.report-category-group > h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #1f4b99;
  break-after: avoid;
  page-break-after: avoid;
}

.report-section h3,
.report-category-group > h3 {
  font-size: 1rem;
}

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

.report-table thead {
  display: table-header-group;
}

.report-table tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-table th,
.report-table td {
  border: 1px solid #ddd;
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

.report-table th {
  background: #f4f6fa;
}

.report-purpose__statement,
.report-section__lead {
  margin: 0 0 0.75rem;
}

.report-table--purpose th {
  width: 11rem;
  white-space: nowrap;
}

.report-purpose__constraints,
.report-purpose__guide {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.15rem;
}

/* Shared column widths across Control status category tables. */
.report-table--controls,
.report-table--identity {
  table-layout: fixed;
}

.report-table--controls .report-table__col--control,
.report-table--identity .report-table__col--control {
  width: 28%;
}

.report-table--controls .report-table__col--required {
  width: 5.5rem;
}

.report-table--controls .report-table__col--status {
  width: 11%;
}

.report-table--controls .report-table__col--finding {
  width: 12%;
}

.report-table--with-period .report-table__col--period {
  width: 11%;
}

.report-table--with-period .report-table__col--evidence {
  width: 28%;
}

.report-table--identity .report-table__col--finding {
  width: 28.5%;
}

.report-table--controls .report-table__col--evidence,
.report-table--identity .report-table__col--evidence {
  width: 39%;
}

.report-table--controls th:nth-child(2),
.report-table--controls td:nth-child(2) {
  white-space: nowrap;
}

.report-kpi {
  display: inline-block;
  margin-right: 1.5rem;
}

.report-kpi strong {
  display: block;
  font-size: 1.4rem;
}

.report-row--fail {
  background: #fdecea;
}

.report-footer-note {
  color: #555;
  font-size: 0.85rem;
}

.report-toc__title::before {
  content: none;
}

.report-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.report-toc__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.15rem 0;
  font-size: 0.9rem;
}

.report-toc__item--h3 {
  padding-left: 1.25rem;
}

.report-toc__num {
  color: #1f4b99;
  font-weight: 600;
  white-space: nowrap;
}

.report-toc__label {
  flex: 0 1 auto;
}

.report-toc__dots {
  flex: 1;
  border-bottom: 1px dotted #999;
  min-width: 1.5rem;
  transform: translateY(-0.25em);
}

.report-toc__page {
  white-space: nowrap;
  min-width: 1.5rem;
  text-align: right;
}

.broker-example-banner {
  background: #eef3fb;
  border: 1px solid #1f4b99;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.broker-example-banner p {
  margin: 0 0 0.5rem;
}

.broker-example-banner p:last-child {
  margin-bottom: 0;
}

.broker-example-banner__nav a {
  margin-right: 1rem;
}

.report-page-break {
  break-after: page;
  page-break-after: always;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.report-section--purpose > h2 {
  break-before: auto;
  page-break-before: auto;
}

.report-toc {
  break-before: page;
  page-break-before: always;
}

.report-table__cell--period {
  text-align: center;
}

.report-finding--fail {
  font-weight: 700;
}

/* Starting on a new page does not authorize a split. Only these
   wrappers may break, and only between keep-together children. */
.report-section--allow-split {
  break-inside: auto;
  page-break-inside: auto;
}

.report-category-group {
  break-inside: avoid;
  page-break-inside: avoid;
}

.report-section--risk-assessment h3 {
  font-size: 1rem;
  margin: 1rem 0 0.4rem;
  color: #1f4b99;
}

.report-signature-block {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

.report-signature-line {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.report-signature-field {
  flex: 1;
}

.report-signature-rule {
  border-bottom: 1px solid #1a1a1a;
  min-height: 2.25rem;
}

.policy-copy-body {
  white-space: normal;
  font-size: 0.9rem;
}

@media print {
  .report-actions,
  .broker-example-banner {
    display: none;
  }

  .report-section,
  .report-category-group {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .report-section--policy-copy,
  .report-section--risk-assessment,
  .report-section--allow-split {
    break-inside: auto;
    page-break-inside: auto;
  }

  .report-section h2,
  .report-section h3,
  .report-category-group > h3 {
    page-break-after: avoid;
  }

  .report-table thead {
    display: table-header-group;
  }

  .report-table tr {
    page-break-inside: avoid;
  }
}
/* SecInABox — application styles */

:root {
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --color-bg: #eef2f7;
  --color-surface: #ffffff;
  --color-surface-muted: #f8fafc;
  --color-border: #dbe3ef;
  --color-border-strong: #c5d0e0;

  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-inverse: #ffffff;

  --color-brand: #1d4ed8;
  --color-brand-hover: #1e40af;
  --color-brand-soft: #eff6ff;

  --color-success: #047857;
  --color-success-soft: #ecfdf5;
  --color-warning: #b45309;
  --color-warning-soft: #fffbeb;
  --color-danger: #b91c1c;
  --color-danger-soft: #fef2f2;
  --color-info: #0369a1;
  --color-info-soft: #f0f9ff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);

  --space-xs: 0.375rem;
  --space-sm: 0.625rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  --header-height: 4rem;
  --container-width: 68rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.07), transparent 28rem),
    radial-gradient(circle at top right, rgba(4, 120, 87, 0.05), transparent 24rem),
    var(--color-bg);
}

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-md);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

p {
  margin: 0 0 var(--space-md);
}

ul, ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: var(--radius-sm);
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
}

/* Layout */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  min-height: var(--header-height);
}

/* Marketing dashboard previews (portal screenshot capture) */

.marketing-preview__capture {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-2xl);
}

/* Walkthrough destination screenshot capture (no app header) */

.guidance-preview__capture {
  position: relative;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-2xl);
}

/* Role Admins assignees table is wider than the default container; let capture grow. */
#guidance-preview-capture:has(.guidance-google-admin__shell--role-admins) {
  max-width: none;
  width: max-content;
  min-width: 60rem;
}

.guidance-preview__capture .table-actions input[type="submit"],
.guidance-preview__capture .resource-download .btn {
  pointer-events: none;
}

.marketing-mock__btn {
  pointer-events: none;
}

.marketing-mock__list {
  margin: 0;
}

.marketing-mock__table {
  margin-top: var(--space-sm);
}

.app-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.app-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.app-nav a:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
  text-decoration: none;
}

.app-main {
  padding: var(--space-xl) var(--space-lg) var(--space-2xl);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.page-header {
  margin-bottom: var(--space-xl);
}

.page-header__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.page-header__meta {
  margin: var(--space-sm) 0 0;
  color: var(--color-text-muted);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

/* Cards & panels */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
}

.card--muted {
  background: var(--color-surface-muted);
}

.card__title {
  margin-bottom: var(--space-sm);
}

.card__subtitle {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.resource-body {
  color: var(--color-text);
  line-height: 1.55;
}

.resource-body p {
  margin: 0 0 0.85rem;
}

.resource-body p:last-child {
  margin-bottom: 0;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.card__header .card__title {
  margin-bottom: 0;
}

.card__header-link {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.section {
  margin-bottom: var(--space-xl);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.section__header .section__title {
  margin-bottom: 0;
}

.section__action {
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Flash */

.flash {
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 550;
}

.flash--notice {
  background: var(--color-success-soft);
  border-color: rgba(4, 120, 87, 0.18);
  color: var(--color-success);
}

.flash--alert {
  background: var(--color-danger-soft);
  border-color: rgba(185, 28, 28, 0.18);
  color: var(--color-danger);
}

/* Score */

.score-card {
  display: grid;
  gap: var(--space-md);
}

.score-card__metric {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.score-card__ring {
  --score: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, var(--color-surface) 58%, transparent 59%),
    conic-gradient(var(--color-brand) calc(var(--score) * 1%), var(--color-border) 0);
  box-shadow: inset 0 0 0 1px var(--color-border);
}

.score-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.score-card__details p {
  margin-bottom: var(--space-xs);
}

.score-card__details p:last-child {
  margin-bottom: 0;
}

.score-card__label {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Buttons */

.btn,
input[type="submit"],
button[type="submit"],
.button_to input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: var(--color-text-inverse) !important;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.button_to input[type="submit"]:hover {
  background: var(--color-brand-hover);
}

.btn--secondary,
input[type="submit"][value="Waive"],
input[type="submit"][value="Filter"] {
  background: var(--color-surface);
  color: var(--color-text) !important;
  border-color: var(--color-border-strong);
}

.btn--secondary:hover,
input[type="submit"][value="Waive"]:hover,
input[type="submit"][value="Filter"]:hover {
  background: var(--color-surface-muted);
}

.btn--ghost {
  background: transparent;
  color: var(--color-brand) !important;
  border-color: var(--color-border);
}

.btn--danger,
input[type="submit"].btn--danger,
button[type="submit"].btn--danger,
.button_to input[type="submit"].btn--danger {
  background: var(--color-danger);
  border-color: var(--color-danger);
  color: var(--color-text-inverse) !important;
}

.btn--danger:hover,
input[type="submit"].btn--danger:hover,
button[type="submit"].btn--danger:hover,
.button_to input[type="submit"].btn--danger:hover {
  background: #991b1b;
  border-color: #991b1b;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.resource-download {
  margin-top: var(--space-lg);
}

.button_to {
  display: inline;
}

/* Forms */

.form-panel {
  display: grid;
  gap: var(--space-lg);
}

.form-grid {
  display: grid;
  gap: var(--space-md);
}

.form-group {
  display: grid;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-label__note {
  font-weight: 400;
  color: var(--color-muted);
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select,
.form-group textarea,
input[type="text"],
input[type="number"],
select {
  width: 100%;
  max-width: 28rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-group--checkbox input {
  margin-top: 0.2rem;
}

.form-fieldset__help {
  margin: 0.35rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

.callout {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.callout--warning {
  background: var(--color-warning-soft);
  border-color: rgba(180, 83, 9, 0.18);
  color: #92400e;
}

.callout--danger {
  background: var(--color-danger-soft);
  border-color: rgba(185, 28, 28, 0.18);
  color: var(--color-danger);
}

/* Dashboard "next step" encouragement nudge */
.card--nudge {
  border-color: var(--color-brand);
  border-left-width: 4px;
}

.card--nudge .card__header {
  align-items: flex-start;
}

.encouragement__dismiss {
  background: transparent;
  border: 0;
  color: var(--color-text-muted);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
}

.encouragement__dismiss:hover {
  color: var(--color-text);
}

.encouragement__lead {
  font-size: 1.05rem;
  margin: 0 0 var(--space-md);
}

.encouragement__task {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.encouragement__task-name {
  font-weight: 600;
}

.encouragement__purpose {
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.encouragement__question {
  margin: 0 0 var(--space-md);
}

/* Guided walkthrough overlay */
dialog.walkthrough {
  width: min(840px, calc(100vw - 2rem));
  max-height: min(88vh, 900px);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  color: var(--color-text);
  background: var(--color-surface, #fff);
}

dialog.walkthrough::backdrop {
  background: rgba(15, 23, 42, 0.55);
}

/* The Turbo frame sits between the dialog and .walkthrough__inner; make it a
   full-height flex passthrough so the inner scroll region inherits the dialog's
   max-height instead of collapsing to `none`. */
dialog.walkthrough > turbo-frame {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
  overflow: hidden;
}

.walkthrough__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-height: 0;
  max-height: inherit;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.walkthrough__header {
  position: relative;
  padding-right: 2rem;
}

.walkthrough__encouragement {
  margin: 0 0 var(--space-sm);
  color: var(--color-brand);
  font-weight: 600;
}

.walkthrough__title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
}

.walkthrough__eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.walkthrough__close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: transparent;
  border: 0;
  color: var(--color-text-muted);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0 0.25rem;
  cursor: pointer;
}

.walkthrough__close:hover {
  color: var(--color-text);
}

.walkthrough__section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

.walkthrough__heading {
  margin: 0 0 var(--space-sm);
  font-size: 1.05rem;
}

.walkthrough__value {
  margin: 0;
}

.walkthrough__time {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

.walkthrough__steps {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25rem;
}

.walkthrough__steps li {
  margin-bottom: 0.35rem;
}

.walkthrough__threshold {
  margin: 0;
  color: var(--color-text-muted);
}

.walkthrough__destination {
  background: var(--color-surface-muted, rgba(15, 23, 42, 0.03));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.walkthrough__destination--external {
  border-color: var(--color-brand);
  border-left-width: 4px;
}

.walkthrough__leaving {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.walkthrough__facts {
  margin: var(--space-md) 0 0;
  display: grid;
  grid-template-columns: minmax(9rem, max-content) 1fr;
  gap: 0.35rem var(--space-md);
}

.walkthrough__facts dt {
  font-weight: 600;
  color: var(--color-text-muted);
}

.walkthrough__facts dd {
  margin: 0;
}

.walkthrough__verify-note {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

.walkthrough__result {
  margin: 0 0 var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted, rgba(15, 23, 42, 0.03));
}

.walkthrough__result--pass {
  background: var(--color-success-soft, rgba(21, 128, 61, 0.1));
  border-color: rgba(21, 128, 61, 0.25);
  color: var(--color-success, #15803d);
}

.walkthrough__result--fail {
  background: var(--color-danger-soft);
  border-color: rgba(185, 28, 28, 0.25);
  color: var(--color-danger);
}

.walkthrough__footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

/* Destination screenshot (real capture or captioned placeholder) */
.guidance-screenshot {
  margin: var(--space-md) 0;
}

.guidance-screenshot__img {
  display: block;
  max-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.guidance-screenshot__caption {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Multi-step destinations (e.g. SPF/DKIM/DMARC) show a stacked gallery. */
.guidance-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}

.guidance-gallery .guidance-screenshot {
  margin: 0;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.guidance-gallery .guidance-screenshot:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.guidance-screenshot__placeholder {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  background: var(--color-surface-muted, rgba(15, 23, 42, 0.03));
}

.guidance-screenshot__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-bottom: var(--space-sm);
}

.guidance-screenshot__text {
  margin: 0;
  color: var(--color-text-muted);
}

.error-list {
  margin: var(--space-md) 0 0;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--color-danger-soft);
  border: 1px solid rgba(185, 28, 28, 0.18);
  color: var(--color-danger);
}

/* Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

thead {
  background: var(--color-surface-muted);
}

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

th {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
}

.table-sort:hover {
  color: var(--color-text);
}

.table-sort--active {
  color: var(--color-text);
}

.table-sort__arrow {
  font-size: 0.75rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
}

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

tbody tr:hover {
  background: rgba(239, 246, 255, 0.55);
}

.table-actions {
  display: grid;
  gap: var(--space-sm);
  min-width: 14rem;
}

.table-actions input[type="text"] {
  max-width: none;
}

.table-actions input[type="submit"] {
  width: 100%;
}

/* Badges */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge--open,
.badge--in_progress {
  background: var(--color-warning-soft);
  color: var(--color-warning);
  border-color: rgba(180, 83, 9, 0.15);
}

.badge--done {
  background: var(--color-success-soft);
  color: var(--color-success);
  border-color: rgba(4, 120, 87, 0.15);
}

.badge--waived {
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.badge--pass {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.badge--fail {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.badge--needs_review,
.badge--unknown {
  background: var(--color-info-soft);
  color: var(--color-info);
}

.badge--kind {
  background: var(--color-brand-soft);
  color: var(--color-brand);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

/* Lists */

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list > li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.link-list > li.pending-task {
  /* Single header child keeps meta on the right; guidance sits under the task name. */
  display: block;
}

.pending-task__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
}

/* Keep check / priority badge on the control-name line, not centered on name+guidance. */
.pending-task .link-list__lead {
  align-items: flex-start;
}

.pending-task__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

.pending-task__complete {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  /* Optical align 18px mark with ~1.4–1.5 line-height control name. */
  height: 1.5em;
  margin-top: 0;
}

.pending-task__complete .finding-mark {
  display: inline-flex;
  margin-left: 0;
}

.task-guidance {
  margin: 0.1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: left;
}

.pending-task__snoozed {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 4px);
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.task-guidance__summary {
  cursor: pointer;
  color: var(--color-brand);
  font-weight: 600;
  list-style: none;
}

.task-guidance__summary::-webkit-details-marker {
  display: none;
}

.task-guidance__summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.35rem;
  transition: transform 0.12s ease;
}

.task-guidance[open] > .task-guidance__summary::before,
.plan-item-row:has(+ .plan-item-guidance-row .task-guidance__toggle:checked) .task-guidance__summary::before {
  transform: rotate(90deg);
}

.task-guidance__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.task-guidance__body {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--color-brand-soft);
  background: color-mix(in srgb, var(--color-brand-soft) 35%, transparent);
}

.task-guidance__section {
  margin: 0 0 0.55rem;
}

.task-guidance__section:last-child {
  margin-bottom: 0;
}

.task-guidance__section strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-text);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.task-guidance__steps {
  margin: 0.15rem 0 0;
  padding-left: 1.2rem;
}

.task-guidance__steps li {
  display: list-item;
  padding: 0.15rem 0;
  border-bottom: none;
  justify-content: initial;
  align-items: initial;
}

.plan-item-row .task-guidance__summary {
  display: block;
  margin-top: 0.4rem;
}

.plan-item-row:has(+ .plan-item-guidance-row .task-guidance__toggle:checked) td {
  border-bottom: none;
}

.plan-item-guidance-row:not(:has(.task-guidance__toggle:checked)) {
  display: none;
}

.plan-item-guidance-row__cell {
  padding-top: 0;
  padding-bottom: 0.75rem;
  vertical-align: top;
}

.plan-item-guidance-row__cell .task-guidance {
  margin: 0;
}

.plan-item-guidance-row__cell .task-guidance__body {
  margin-top: 0;
  max-width: none;
}

.link-list__lead {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

.link-list__lead .badge {
  flex-shrink: 0;
}

.link-list__label {
  font-weight: 600;
}

.link-list > li:last-child {
  border-bottom: none;
}

.link-list__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  max-width: 16rem;
  text-align: right;
}

.link-list__meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.link-list--guidelines li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem 14rem;
  align-items: center;
  justify-content: stretch;
  column-gap: var(--space-md);
}

.link-list--guidelines .link-list__meta--category {
  text-align: left;
  justify-self: start;
}

.link-list--guidelines .link-list__meta--review {
  text-align: left;
  justify-self: start;
  white-space: nowrap;
}

.link-list--playbooks li {
  display: grid;
  /* Fixed trailing columns so subtitle left edges align across rows. */
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 1.4fr) 7rem;
  align-items: center;
  justify-content: stretch;
  column-gap: var(--space-md);
}

.link-list--playbooks > li > a {
  justify-self: start;
  min-width: 0;
}

.link-list--playbooks .link-list__meta--subtitle {
  display: block;
  width: 100%;
  text-align: left;
  justify-self: stretch;
}

.link-list--playbooks .badge {
  justify-self: start;
  width: max-content;
}

.link-list__status {
  margin-left: 0.35rem;
  font-weight: 700;
}

.link-list__status--due {
  color: var(--color-danger);
}

.link-list__status--ok {
  color: var(--color-success);
}

.link-list__admin-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.finding-mark,
.link-list__fail-x {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.finding-mark__icon,
.guided-mark__icon,
.policy-upload-mark__icon {
  display: block;
  width: 18px;
  height: 18px;
}

.finding-mark--pass,
.badge .finding-mark--pass {
  color: var(--color-success);
}

.finding-mark--fail,
.link-list__fail-x,
.badge .finding-mark--fail {
  color: var(--color-danger);
}

.finding-mark--needs-review,
.badge .finding-mark--needs-review {
  color: var(--color-warning);
}

.finding-mark--pending.finding-mark--recommended,
.badge .finding-mark--pending.finding-mark--recommended {
  color: var(--color-warning);
}

.finding-mark--pending.finding-mark--required,
.badge .finding-mark--pending.finding-mark--required {
  color: var(--color-danger);
}

.plan-item-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.plan-item-kind .finding-mark,
.plan-item-kind .policy-upload-mark,
.plan-item-kind .guided-mark {
  margin-left: 0;
}

.guided-mark {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  line-height: 1;
  vertical-align: middle;
}

.guided-mark--complete {
  color: var(--color-success);
}

.guided-mark--in_progress {
  color: var(--color-warning);
}

.guided-mark--open.guided-mark--recommended,
.guided-mark--needs-review.guided-mark--recommended {
  color: var(--color-warning);
}

.guided-mark--open.guided-mark--required,
.guided-mark--needs-review.guided-mark--required {
  color: var(--color-danger);
}

.policy-upload-mark {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  line-height: 1;
  vertical-align: middle;
}

.policy-upload-mark--current {
  color: var(--color-success);
}

.policy-upload-mark--missing.policy-upload-mark--recommended,
.policy-upload-mark--needs-review.policy-upload-mark--recommended {
  color: var(--color-warning);
}

.policy-upload-mark--missing.policy-upload-mark--required,
.policy-upload-mark--needs-review.policy-upload-mark--required {
  color: var(--color-danger);
}

.policy-upload-mark--needs-review {
  font-weight: 700;
}

.workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps__item {
  list-style: none;
}

.workflow-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: var(--space-sm);
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.workflow-steps__item > .card__header {
  align-items: flex-start;
}

.workflow-review-status {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.75rem;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.workflow-process-guidance h4.card__title {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.workflow-process-guidance h4.card__title:first-child {
  margin-top: 0;
}

.workflow-process-guidance ul {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25rem;
}

.workflow-hygiene-table {
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-hygiene-row {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.workflow-hygiene-row:last-child {
  border-bottom: none;
}

.workflow-hygiene-row__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
}

.workflow-hygiene-row__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.workflow-hygiene-row__label {
  font-weight: 600;
}

.workflow-hygiene-row__count {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

.workflow-hygiene-row__hint {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.workflow-flagged-users {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.workflow-flagged-users li {
  display: list-item;
  padding: 0.15rem 0;
  border-bottom: none;
}

.workflow-admin-signin {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.empty-state {
  color: var(--color-text-muted);
  font-style: italic;
}

/* Report / code blocks */

.report-json {
  margin: 0;
  padding: var(--space-lg);
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}

/* Filters toolbar */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: end;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.toolbar .form-group {
  min-width: 10rem;
}

.toolbar input[type="submit"] {
  margin-top: 1.35rem;
}

/* Responsive */

@media (max-width: 720px) {
  .app-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .app-main {
    padding-top: var(--space-lg);
  }

  .score-card__metric {
    flex-direction: column;
    align-items: flex-start;
  }

  th, td {
    padding: 0.7rem 0.75rem;
  }
}

/* Dashboard overview + task-kind legend */

.dashboard-overview {
  border-left: 4px solid var(--color-brand);
}

.dashboard-overview p {
  margin: 0 0 var(--space-md);
  max-width: 64ch;
  line-height: 1.65;
}

.dashboard-overview ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.35rem;
  max-width: 64ch;
}

.dashboard-overview li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
}

.dashboard-overview li:last-child {
  margin-bottom: 0;
}

.dashboard-overview p:last-of-type {
  margin-bottom: 0;
}

.task-kind-legend__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md) var(--space-lg);
  margin: 0;
}

.task-kind-legend__item {
  display: grid;
  grid-template-columns: minmax(8rem, max-content) 1fr;
  gap: var(--space-md);
  align-items: baseline;
}

.task-kind-legend__item dt {
  margin: 0;
}

.task-kind-legend__item dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .task-kind-legend__list {
    grid-template-columns: 1fr;
  }

  .task-kind-legend__item {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

/* Google Admin console mock for walkthrough destination captures */

.guidance-google-admin {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
  color: #202124;
  font-size: 0.9375rem;
}

.guidance-google-admin__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
}

.guidance-google-admin__logo {
  letter-spacing: 0.02em;
}

.guidance-google-admin__domain {
  opacity: 0.92;
  font-weight: 500;
}

.guidance-google-admin__nav {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #dadce0;
  color: #5f6368;
  font-size: 0.875rem;
}

.guidance-google-admin__title {
  margin: 0;
  padding: 1.25rem 1.25rem 0.35rem;
  font-size: 1.35rem;
  font-weight: 500;
}

.guidance-google-admin__lead {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: #5f6368;
}

.guidance-google-admin__card {
  margin: 0 1.25rem 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
}

.guidance-google-admin__card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.guidance-google-admin__oauth-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0 1.25rem 1rem;
}

.guidance-google-admin__card--oauth {
  margin: 0;
  background: #fff;
}

.guidance-google-admin__card--oauth .guidance-google-admin__meta {
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
}

.guidance-google-admin__table--oauth {
  table-layout: fixed;
}

.guidance-google-admin__table--oauth th:nth-child(1),
.guidance-google-admin__table--oauth td:nth-child(1) {
  width: 18%;
}

.guidance-google-admin__table--oauth th:nth-child(2),
.guidance-google-admin__table--oauth td:nth-child(2) {
  width: 14%;
}

.guidance-google-admin__table--oauth th:nth-child(3),
.guidance-google-admin__table--oauth td:nth-child(3) {
  width: 12%;
}

.guidance-google-admin__table--oauth th:nth-child(4),
.guidance-google-admin__table--oauth td:nth-child(4) {
  width: 34%;
}

.guidance-google-admin__table--oauth th:nth-child(5),
.guidance-google-admin__table--oauth td:nth-child(5) {
  width: 22%;
}

.guidance-google-admin__table--oauth td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
}

.guidance-google-admin__oauth-id {
  font-family: "Roboto Mono", Consolas, monospace;
  font-size: 0.75rem;
  color: #5f6368;
}

.guidance-google-admin__oauth-access {
  font-weight: 600;
}

.guidance-google-admin__oauth-access--trusted {
  color: #188038;
}

.guidance-google-admin__oauth-access--limited {
  color: #e37400;
}

.guidance-google-admin__oauth-access--specific {
  color: #1a73e8;
}

.guidance-google-admin__oauth-access--blocked {
  color: #d93025;
}

.guidance-google-admin__subheading {
  margin: 1rem 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.guidance-google-admin__meta {
  margin: 0 0 0.75rem;
  color: #5f6368;
}

.guidance-google-admin__table-wrap {
  margin: 0 1.25rem 1.25rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
}

.guidance-google-admin__table {
  width: 100%;
  border-collapse: collapse;
}

.guidance-google-admin__table th,
.guidance-google-admin__table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e8eaed;
  text-align: left;
}

.guidance-google-admin__table th {
  background: #f8f9fa;
  color: #5f6368;
  font-weight: 600;
  font-size: 0.8125rem;
}

.guidance-google-admin__table tr:last-child td {
  border-bottom: none;
}

.guidance-google-admin__settings {
  width: 100%;
  border-collapse: collapse;
}

.guidance-google-admin__settings td {
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8eaed;
}

.guidance-google-admin__settings tr:last-child td {
  border-bottom: none;
}

.guidance-google-admin__settings td:last-child {
  text-align: right;
  font-weight: 600;
}

/* Microsoft 365 / Entra admin walkthrough capture mocks */
.guidance-microsoft-admin {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #242424;
  background: #f5f5f5;
  min-height: 420px;
}

.guidance-microsoft-admin__shell {
  border: 1px solid #d1d1d1;
  background: #fff;
  overflow: hidden;
}

.guidance-microsoft-admin__topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #0078d4;
  color: #fff;
}

.guidance-microsoft-admin__topbar-logo {
  font-weight: 600;
  font-size: 0.95rem;
}

.guidance-microsoft-admin__search {
  flex: 1;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  opacity: 0.95;
}

.guidance-microsoft-admin__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}

.guidance-microsoft-admin__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  background: #f3f2f1;
  border-right: 1px solid #e1dfdd;
  font-size: 0.85rem;
}

.guidance-microsoft-admin__sidebar-item--active {
  font-weight: 600;
  color: #0078d4;
  background: #fff;
  margin: 0 -0.75rem;
  padding: 0.35rem 0.75rem;
  border-left: 3px solid #0078d4;
}

.guidance-microsoft-admin__main {
  padding: 1rem 1.25rem 1.5rem;
}

.guidance-microsoft-admin__breadcrumb {
  font-size: 0.8rem;
  color: #605e5c;
  margin-bottom: 0.75rem;
}

.guidance-microsoft-admin__panel-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.guidance-microsoft-admin__meta {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: #605e5c;
}

.guidance-microsoft-admin__table-wrap {
  overflow: auto;
  border: 1px solid #edebe9;
  border-radius: 2px;
}

.guidance-microsoft-admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.guidance-microsoft-admin__table th,
.guidance-microsoft-admin__table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid #edebe9;
  text-align: left;
}

.guidance-microsoft-admin__table th {
  background: #faf9f8;
  font-weight: 600;
}

.guidance-microsoft-admin__table tr:last-child td {
  border-bottom: none;
}

.guidance-microsoft-admin__settings {
  width: 100%;
  border-collapse: collapse;
}

.guidance-microsoft-admin__settings td {
  padding: 0.55rem 0;
  border-bottom: 1px solid #edebe9;
}

.guidance-microsoft-admin__settings tr:last-child td {
  border-bottom: none;
}

.guidance-microsoft-admin__settings td:last-child {
  text-align: right;
  font-weight: 600;
}

.email-auth-guide__heading {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.tls-remediation-guide__heading,
.legacy-ftp-guide__heading,
.rdp-hardening-guide__heading {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1.5px;
}

.tls-remediation-guide__heading:first-child,
.legacy-ftp-guide__heading:first-child,
.rdp-hardening-guide__heading:first-child {
  margin-top: 0;
}

.tls-remediation-guide > p,
.legacy-ftp-guide > p,
.rdp-hardening-guide > p {
  margin: 0 0 0.85rem;
}

.tls-remediation-guide > p:last-child,
.legacy-ftp-guide > p:last-child,
.rdp-hardening-guide > p:last-child {
  margin-bottom: 0;
}

.email-auth-guide__heading:first-child {
  margin-top: 0;
}

.email-auth-guide__note {
  margin: 1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.guidance-google-admin__breadcrumb {
  padding: 0.75rem 1.25rem 0;
  color: #5f6368;
  font-size: 0.8125rem;
}

.guidance-google-admin__dns-block {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #dadce0;
  border-radius: 8px;
}

.guidance-google-admin__dns-label {
  margin: 0 0 0.25rem;
  color: #5f6368;
  font-size: 0.8125rem;
  font-weight: 600;
}

.guidance-google-admin__dns-value {
  margin: 0 0 0.85rem;
  word-break: break-all;
}

.guidance-google-admin__dns-value--long code {
  font-size: 0.75rem;
}

.guidance-google-admin__note {
  margin: 0 0 1rem;
  color: #5f6368;
  font-size: 0.875rem;
}

.guidance-google-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.guidance-google-admin__shell {
  border: none;
  border-radius: 0;
}

/* Role Admins assignees table needs Admin / OU / Type without clipping. */
.guidance-google-admin__shell--role-admins {
  min-width: 58rem;
}

.guidance-google-admin__shell--authenticate-email {
  border: none;
  border-radius: 0;
  min-width: 52rem;
}

.guidance-google-admin__panel--authenticate-email {
  max-width: 46rem;
}

.guidance-google-admin__gmail-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  width: fit-content;
}

.guidance-google-admin__gmail-chip .guidance-google-admin__service-status {
  display: block;
  margin-top: 0.1rem;
  color: #5f6368;
  font-size: 0.8125rem;
  font-weight: 400;
}

.guidance-google-admin__meta--status {
  padding: 0.75rem 0.85rem;
  border-left: 3px solid #f9ab00;
  background: #fef7e0;
}

.guidance-google-admin__actions--authenticate-email {
  align-items: center;
  justify-content: space-between;
}

.guidance-google-admin__actions--authenticate-email .guidance-google-admin__primary-action {
  margin-left: 0;
}

/* Role Admins / Authenticate email / Shared drives captures need room beyond the default container. */
#guidance-preview-capture:has(.guidance-google-admin__shell--authenticate-email) {
  max-width: none;
  width: max-content;
  min-width: 54rem;
}

#guidance-preview-capture:has(.guidance-google-admin__shell--shared-drives) {
  max-width: none;
  width: max-content;
  min-width: 58rem;
}

.guidance-google-admin__shell--shared-drives {
  min-width: 56rem;
}

/* Room for the 2SV-column oval so capture does not clip Enrolled / Not enrolled. */
.guidance-google-admin__table-wrap--2sv {
  overflow: visible;
  padding: 0.75rem 1.5rem 0.75rem 0;
}

.guidance-google-admin__avatar-chip {
  margin-left: auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #188038;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.75rem;
  text-align: center;
}

.guidance-google-admin__shared-drives {
  display: grid;
  grid-template-columns: 15rem minmax(36rem, 1fr);
  gap: 1rem;
  align-items: start;
}

.guidance-google-admin__ou-panel {
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #e8f0fe;
}

.guidance-google-admin__ou-title {
  margin: 0 0 0.65rem;
  color: #202124;
  font-size: 0.95rem;
  font-weight: 600;
}

.guidance-google-admin__ou-label {
  margin: 0 0 0.45rem;
  color: #5f6368;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.guidance-google-admin__ou-radio {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0;
  color: #202124;
  font-size: 0.8125rem;
}

.guidance-google-admin__radio-dot {
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid #5f6368;
  border-radius: 50%;
  background: #fff;
  flex: 0 0 auto;
}

.guidance-google-admin__radio-dot--on {
  border-color: #1a73e8;
  box-shadow: inset 0 0 0 3px #1a73e8;
}

.guidance-google-admin__ou-list {
  margin: 0.75rem 0 0.85rem;
  padding: 0;
  list-style: none;
}

.guidance-google-admin__ou-item {
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  color: #202124;
  font-size: 0.8125rem;
}

.guidance-google-admin__ou-item--selected {
  background: #fff;
  font-weight: 500;
}

.guidance-google-admin__ou-manage {
  color: #1a73e8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.guidance-google-admin__panel--shared-drives {
  margin: 0;
}

.guidance-google-admin__pager {
  margin: 0.75rem 0 0;
  color: #5f6368;
  font-size: 0.75rem;
  text-align: right;
}

.guidance-google-admin__table-wrap--flush {
  margin: 1rem 0 0;
}

.guidance-google-admin__topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 1px solid #dadce0;
}

.guidance-google-admin__topbar-logo {
  color: #5f6368;
  font-weight: 600;
}

.guidance-google-admin__search {
  flex: 1;
  max-width: 36rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  color: #80868b;
  font-size: 0.875rem;
}

.guidance-google-admin__body {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  min-height: 38rem;
}

.guidance-google-admin__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-size: 0.875rem;
}

.guidance-google-admin__sidebar-item--active {
  padding: 0.45rem 0.75rem;
  border-radius: 0 16px 16px 0;
  background: #e8f0fe;
  color: #1a73e8;
  font-weight: 600;
}

.guidance-google-admin__sidebar-nested {
  padding-left: 1.5rem;
  color: #5f6368;
}

.guidance-google-admin__sidebar-nested--selected {
  padding-left: 2.25rem;
  color: #1a73e8;
  font-weight: 600;
}

.guidance-google-admin__main {
  padding: 1rem 1.25rem 1.5rem;
  background: #f8f9fa;
}

.guidance-google-admin__split {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

/* Super Admin › Admins: compact role summary | assignees (Admin / OU / Type). */
.guidance-google-admin__split--role-admins {
  grid-template-columns: 12rem minmax(28rem, 1fr);
}

.guidance-google-admin__split--role-admins .guidance-google-admin__table-wrap {
  overflow: visible;
}

.guidance-google-admin__split--role-admins .guidance-google-admin__table th,
.guidance-google-admin__split--role-admins .guidance-google-admin__table td {
  padding: 0.65rem 0.75rem;
  white-space: nowrap;
}

.guidance-google-admin__system-chip {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: #e8eaed;
  color: #3c4043;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guidance-google-admin__admin-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.guidance-google-admin__avatar {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #dadce0;
  color: #5f6368;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 2rem;
  text-align: center;
}

.guidance-google-admin__admin-name {
  display: block;
  color: #202124;
  font-weight: 500;
}

.guidance-google-admin__admin-email {
  display: block;
  color: #5f6368;
  font-size: 0.8125rem;
}

.guidance-google-admin__service-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.875rem;
}

.guidance-google-admin__service-icon {
  color: #ea4335;
  font-weight: 600;
}

.guidance-google-admin__service-status {
  color: #5f6368;
}

.guidance-google-admin__panel {
  padding: 1.25rem;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #fff;
}

.guidance-google-admin__panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.guidance-google-admin__field-label {
  margin: 0.75rem 0 0.25rem;
  color: #5f6368;
  font-size: 0.8125rem;
  font-weight: 600;
}

.package-build {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-brand-soft);
}

.package-build[hidden],
.package-build__spinner[hidden] {
  display: none;
}

.package-build__message {
  margin: 0;
  font-weight: 600;
  color: var(--color-brand);
}

.package-build__bar {
  width: min(16rem, 100%);
  height: 0.55rem;
  accent-color: var(--color-brand);
}

.package-build__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.package-build__spinner {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  border: 2px solid color-mix(in srgb, var(--color-brand) 25%, transparent);
  border-top-color: var(--color-brand);
  border-radius: 50%;
  animation: package-build-spin 0.7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .package-build__spinner {
    animation: none;
    border-top-color: color-mix(in srgb, var(--color-brand) 25%, transparent);
    border-right-color: var(--color-brand);
  }
}

@keyframes package-build-spin {
  to {
    transform: rotate(360deg);
  }
}

.guidance-google-admin__domain-select {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
}

.guidance-google-admin__link-action {
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guidance-google-admin__primary-action {
  margin-left: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  background: #1a73e8;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
