:root {
  color-scheme: light;
  --ink: #111a32;
  --muted: #68738c;
  --line: #dce4f1;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --blue: #2457d6;
  --blue-dark: #173c9c;
  --blue-soft: #edf3ff;
  --green: #13795b;
  --green-soft: #e9f8f2;
  --amber: #9a5a05;
  --shadow: 0 20px 60px rgba(31, 51, 92, 0.09);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  color: white;
  background: var(--blue-dark);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #75a8ff;
  outline-offset: 3px;
}
a {
  color: var(--blue);
}
[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 0 max(4vw, 24px);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #204dca, #7595ff);
  box-shadow: 0 10px 26px rgba(36, 87, 214, 0.24);
  font-weight: 900;
}
.brand > span:last-child {
  display: grid;
  line-height: 1.05;
}
.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 24px;
}
.site-nav a {
  color: #44506b;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--blue);
}
.environment-label {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 11px;
  font-weight: 800;
}
.button-quiet {
  margin-left: auto;
}

main {
  overflow: hidden;
}
.hero,
.section,
#portal {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.hero {
  display: grid;
  align-items: center;
  gap: 72px;
  min-height: 670px;
  padding: 80px 0 96px;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.85fr);
}
.eyebrow,
.step,
.capacity-name {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin: 14px 0 22px;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.hero p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.text-link {
  font-weight: 800;
  text-decoration: none;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  color: #59657d;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.trust-list li::before {
  margin-right: 7px;
  color: var(--green);
  content: '✓';
}
.hero-panel {
  overflow: hidden;
  border: 1px solid #d7e1f2;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 35px 90px rgba(34, 65, 128, 0.14);
  transform: rotate(1.2deg);
}
.hero-panel-top {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  color: #536078;
  background: var(--blue-soft);
  font-size: 12px;
}
.hero-panel-top strong {
  color: var(--green);
}
.hero-panel ol {
  margin: 0;
  padding: 12px 24px 18px;
  list-style: none;
}
.hero-panel li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.hero-panel li:last-child {
  border: 0;
}
.hero-panel li > span {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 900;
}
.hero-panel li div {
  display: grid;
  gap: 5px;
}
.hero-panel li small {
  color: var(--muted);
}

.section {
  padding: 96px 0;
}
#plans {
  width: 100%;
  padding-inline: max(calc((100% - 1180px) / 2), 24px);
  background: white;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.section-heading h2 {
  max-width: 700px;
  margin: 9px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}
.billing-toggle button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.billing-toggle button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 3px 12px rgba(31, 51, 92, 0.1);
}
.billing-toggle span {
  margin-left: 5px;
  color: var(--green);
}
.public-plan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.public-plan-card {
  position: relative;
  display: flex;
  min-height: 510px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  flex-direction: column;
  background: white;
}
.public-plan-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}
.recommended {
  position: absolute;
  top: -14px;
  right: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.public-plan-card h3 {
  margin: 8px 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.public-plan-card > p {
  min-height: 52px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.public-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 28px;
}
.public-price strong {
  font-size: 36px;
  letter-spacing: -0.05em;
}
.public-price span,
.public-plan-card > small {
  color: var(--muted);
}
.public-plan-card ul {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.public-plan-card li {
  color: #44506b;
  font-size: 13px;
}
.public-plan-card li::before {
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
  content: '✓';
}
.public-plan-card .button {
  width: 100%;
  margin-top: auto;
}
.loading-card {
  padding: 30px;
  color: var(--muted);
}
.comparison-wrap {
  overflow-x: auto;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: white;
}
.comparison-table caption {
  padding: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  text-align: left;
}
.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.comparison-table thead th {
  color: var(--blue);
  font-size: 12px;
}
.comparison-table tbody th {
  color: var(--ink);
  font-size: 13px;
}
.comparison-table td {
  color: var(--muted);
  font-size: 13px;
}

.how-section {
  padding-bottom: 120px;
}
.how-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.how-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}
.how-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
}
.how-grid h3 {
  margin: 30px 0 8px;
  font-size: 20px;
}
.how-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.account-section {
  width: 100%;
  padding-inline: max(calc((100% - 1180px) / 2), 24px);
  background: #eaf0fb;
}

.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.auth-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.auth-card {
  padding: 32px;
}
.auth-card.subtle {
  background: rgba(255, 255, 255, 0.64);
}
.auth-card h3,
.verification-card h3 {
  margin: 8px 0 22px;
  font-size: 25px;
  letter-spacing: -0.035em;
}
.verification-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
}
.verification-card p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
form label {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
  font-size: 13px;
  font-weight: 750;
}
label > small,
.field-help {
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}
input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #c8d3e4;
  border-radius: 12px;
  color: var(--ink);
  background: white;
}
input:hover,
select:hover {
  border-color: #9cadc9;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid #c8d3e4;
  border-radius: 12px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: 0.18s ease;
}
.button:hover {
  border-color: #91a5c7;
  transform: translateY(-1px);
}
.button-primary {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(36, 87, 214, 0.2);
}
.button-primary:hover {
  background: var(--blue-dark);
}
dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(17, 26, 50, 0.3);
}
dialog::backdrop {
  background: rgba(17, 26, 50, 0.55);
  backdrop-filter: blur(5px);
}
.mfa-dialog-card {
  position: relative;
  padding: 32px;
}
.mfa-dialog-card h2 {
  margin: 8px 0;
  font-size: 28px;
}
.mfa-dialog-card > p {
  color: var(--muted);
  line-height: 1.55;
}
.mfa-dialog-card code {
  display: block;
  overflow-wrap: anywhere;
  margin: 20px 0;
  padding: 14px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  cursor: pointer;
}
#mfa-recovery {
  margin-top: 22px;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-soft);
}
#mfa-recovery pre {
  columns: 2;
  white-space: pre-wrap;
}

#portal {
  padding: 64px 0 110px;
}
.portal-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.portal-heading h1 {
  margin: 9px 0 8px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.065em;
}
.portal-heading p {
  margin: 0;
  color: var(--muted);
}

.customer-dashboard {
  display: grid;
  min-height: 760px;
  grid-template-columns: 236px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.portal-sidebar {
  display: flex;
  gap: 22px;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  flex-direction: column;
  background: #f8faff;
  border-radius: 24px 0 0 24px;
}
.organization-switcher {
  display: grid;
  gap: 7px;
}
.organization-switcher label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.organization-switcher select {
  min-height: 44px;
  padding-right: 32px;
  border-color: #d5deed;
  font-size: 12px;
  font-weight: 800;
}
#portal-navigation {
  display: grid;
  gap: 3px;
}
#portal-navigation button {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  color: #59657b;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  text-align: left;
}
#portal-navigation button > span {
  display: grid;
  flex: 0 0 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  color: #72809a;
  background: #e9eef7;
  font-size: 10px;
  font-weight: 900;
}
#portal-navigation button:hover {
  color: var(--blue);
  background: #eef3ff;
}
#portal-navigation button.active {
  color: var(--blue);
  background: #e8efff;
  box-shadow: inset 3px 0 var(--blue);
}
#portal-navigation button.active > span {
  color: white;
  background: var(--blue);
}
.sidebar-help {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding: 15px;
  border: 1px solid #d8e2f3;
  border-radius: 14px;
  background: white;
}
.sidebar-help strong {
  font-size: 12px;
}
.sidebar-help span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.sidebar-help .button {
  min-height: 34px;
  margin-top: 4px;
  padding-inline: 10px;
  font-size: 10px;
}
.portal-workspace {
  min-width: 0;
  padding: 24px;
}
.service-banner {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 10px 14px;
  border: 1px solid #c7e7dc;
  border-radius: 13px;
  background: #f2fbf7;
}
.service-banner > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-banner > div > span:last-child {
  color: #536078;
  font-size: 11px;
}
.service-banner > small {
  color: var(--muted);
  font-size: 9px;
}
.service-banner.danger {
  border-color: #f0c7c4;
  background: #fff5f4;
}
.service-banner.notice {
  border-color: #efd8a9;
  background: #fffaf0;
}
.service-banner.progress {
  border-color: #c9d8ff;
  background: #f4f7ff;
}
.health-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  color: #52617b;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.health-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b96a9;
  box-shadow: 0 0 0 4px rgba(139, 150, 169, 0.12);
}
.health-badge.success {
  color: var(--green);
}
.health-badge.success i {
  background: #20a47b;
  box-shadow: 0 0 0 4px rgba(32, 164, 123, 0.12);
}
.health-badge.danger {
  color: #b42318;
}
.health-badge.danger i {
  background: #d6453a;
  box-shadow: 0 0 0 4px rgba(214, 69, 58, 0.12);
}
.health-badge.notice {
  color: var(--amber);
}
.health-badge.notice i {
  background: #d88a19;
  box-shadow: 0 0 0 4px rgba(216, 138, 25, 0.12);
}
.health-badge.progress {
  color: var(--blue);
}
.health-badge.progress i {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.12);
}
.workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 23px;
}
.workspace-heading h2 {
  margin: 6px 0;
  font-size: 29px;
  letter-spacing: -0.045em;
}
.workspace-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.metric-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-card {
  display: flex;
  min-height: 128px;
  gap: 9px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  flex-direction: column;
  background: #fbfcfe;
}
.metric-card > span:first-child {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
}
.metric-card > strong {
  font-size: 27px;
  letter-spacing: -0.04em;
}
.metric-card > small {
  margin-top: auto;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}
.action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 17px 18px;
  border: 1px solid #cbd9ff;
  border-radius: 15px;
  background: #f2f6ff;
}
.action-banner > div {
  display: grid;
  gap: 4px;
}
.action-banner strong {
  font-size: 13px;
}
.action-banner span {
  color: var(--muted);
  font-size: 10px;
}
.dashboard-two-column {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
}
.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}
.card-heading h3 {
  margin: 4px 0 0;
  font-size: 16px;
  letter-spacing: -0.025em;
}
.card-kicker {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-list {
  margin: 18px 0 0;
}
.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid #edf1f7;
}
.detail-list dt {
  color: var(--muted);
  font-size: 10px;
}
.detail-list dd {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
  text-transform: capitalize;
}
.text-button {
  padding: 3px 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}
.app-summary {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}
.app-summary > span {
  display: grid;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  grid-template-columns: 30px 1fr auto;
  border-top: 1px solid #edf1f7;
}
.app-summary i,
.person > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.app-summary strong {
  font-size: 11px;
}
.app-summary small {
  color: var(--green);
  font-size: 9px;
  text-transform: capitalize;
}
.setup-card {
  margin-bottom: 18px;
  background: #f8faff;
}
.setup-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.inline-alert {
  margin-top: 12px;
  padding: 10px;
  border-radius: 9px;
  color: #9f241b;
  background: #fff0ef;
  font-size: 10px;
}
.dashboard-empty {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  padding: 35px;
  border: 1px dashed #bac6d9;
  border-radius: 18px;
  text-align: center;
}
.dashboard-empty > span {
  color: #9cabbe;
  font-size: 38px;
}
.dashboard-empty h3 {
  margin: 10px 0 4px;
}
.dashboard-empty p {
  max-width: 430px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.dashboard-list {
  display: grid;
  gap: 10px;
}
.organization-row,
.resource-row {
  display: grid;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: white;
  text-align: left;
}
.organization-row {
  cursor: pointer;
}
.organization-row:hover,
.organization-row.selected {
  border-color: #9db6f5;
  background: #f8faff;
}
.organization-avatar,
.resource-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #2457d6, #7998f1);
  font-weight: 900;
}
.organization-row > span:nth-child(2),
.resource-row > div {
  display: grid;
  gap: 4px;
}
.organization-row strong,
.resource-row strong {
  font-size: 12px;
}
.organization-row small,
.resource-row small {
  color: var(--muted);
  font-size: 9px;
  text-transform: capitalize;
}
.resource-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.resource-row dl {
  display: flex;
  gap: 20px;
  margin: 0;
}
.resource-row dl div {
  display: grid;
  gap: 3px;
}
.resource-row dt {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}
.resource-row dd {
  margin: 0;
  font-size: 9px;
  font-weight: 800;
}
.row-note {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}
.application-catalog {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.application-card {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
}
.application-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.application-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.application-card > small {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 9px;
}
.large-app-icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 16px;
  font-weight: 900;
}
.availability,
.role-pill {
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 900;
  text-transform: capitalize;
}
.table-card {
  overflow: hidden;
  padding: 0;
}
.table-header,
.table-row {
  display: grid;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 9px 15px;
  grid-template-columns: minmax(180px, 1.5fr) minmax(100px, 0.7fr) minmax(
      120px,
      0.8fr
    );
  border-bottom: 1px solid #edf1f7;
  font-size: 10px;
}
.table-header {
  min-height: 38px;
  color: var(--muted);
  background: #f8faff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.table-row:last-child {
  border-bottom: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 9px;
}
.person > span,
.table-row > span:first-child {
  display: grid;
  gap: 3px;
}
.person strong,
.table-row strong {
  font-size: 10px;
}
.person small,
.table-row small {
  color: var(--muted);
  font-size: 8px;
}
.table-empty {
  padding: 30px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.plan-detail {
  display: grid;
  gap: 25px;
  padding: 26px;
  grid-template-columns: 1fr 1.3fr;
}
.plan-detail h3 {
  margin: 6px 0 8px;
  font-size: 26px;
}
.plan-detail p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.limit-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}
.limit-grid span {
  display: grid;
  place-items: center;
  padding: 18px 8px;
  border-radius: 12px;
  background: #f5f7fb;
  text-align: center;
}
.limit-grid strong {
  font-size: 17px;
}
.limit-grid small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}
.managed-note {
  grid-column: 1 / -1;
  padding: 10px 12px;
  border-radius: 9px;
  color: #56627a;
  background: #f2f6ff;
  font-size: 9px;
}
.billing-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  grid-template-columns: repeat(3, 1fr);
}
.billing-summary span {
  display: grid;
  gap: 5px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.billing-summary span:last-child {
  border: 0;
}
.billing-summary small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
}
.billing-summary strong {
  font-size: 13px;
  text-transform: capitalize;
}
.invoice-table .table-header,
.invoice-table .table-row {
  grid-template-columns: 1.4fr 0.8fr 0.6fr 0.3fr;
}
.security-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.security-grid .dashboard-card {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.security-grid h3 {
  margin: 5px 0 0;
  font-size: 14px;
}
.security-grid p {
  min-height: 58px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.security-icon,
.support-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}
.support-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  background: #f8faff;
}
.support-hero > div {
  display: grid;
  gap: 5px;
  grid-template-columns: auto 1fr;
}
.support-hero h3,
.support-hero p {
  margin: 0;
}
.support-hero p {
  grid-column: 2;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.subtle-copy {
  color: var(--muted);
  font-size: 10px;
}
.lifecycle-card {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.lifecycle-card h3 {
  margin: 4px 0 0;
}
.lifecycle-card p {
  min-height: 66px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.lifecycle-card .button {
  margin-top: auto;
}
.danger-zone {
  border-color: #efcfcc;
  background: #fffafa;
}
#onboarding-flow {
  display: grid;
  align-items: start;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 294px;
}
#onboarding-flow[hidden] {
  display: none;
}
#onboarding-flow > .progress-strip {
  grid-column: 1 / -1;
}
#onboarding-flow > #organization-setup,
#onboarding-flow > #order-form,
#onboarding-flow > #draft-success {
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}
.progress-strip {
  position: sticky;
  z-index: 10;
  top: 88px;
  display: grid;
  overflow: hidden;
  margin: 0 0 22px;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(31, 51, 92, 0.08);
  backdrop-filter: blur(16px);
  list-style: none;
}
.progress-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.progress-strip li:last-child {
  border: 0;
}
.progress-strip li span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #eef2f8;
}
.progress-strip li.active {
  color: var(--blue);
  background: var(--blue-soft);
}
.progress-strip li.active span {
  color: white;
  background: var(--blue);
}
.progress-strip li.complete {
  color: var(--green);
}
.progress-strip li.complete span {
  color: transparent;
  background: var(--green-soft);
}
.progress-strip li.complete span::after {
  color: var(--green);
  content: '✓';
}
.wizard-card {
  display: grid;
  gap: 50px;
  min-height: 510px;
  padding: 38px;
  grid-template-columns: minmax(230px, 0.58fr) minmax(0, 1.42fr);
}
.wizard-live-summary {
  position: sticky;
  top: 110px;
  grid-column: 2;
  grid-row: 2;
  padding: 24px;
  border: 1px solid #cfdbef;
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 48px rgba(31, 51, 92, 0.1);
}
.wizard-live-summary h2 {
  margin: 7px 0 20px;
  font-size: 21px;
}
.live-summary-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: 6px;
}
.live-summary-price strong {
  font-size: 30px;
  letter-spacing: -0.045em;
}
.live-summary-price span,
.summary-hint,
.summary-tax {
  color: var(--muted);
  font-size: 10px;
}
.savings-line {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}
.summary-hint {
  margin: 0 0 16px;
}
.wizard-live-summary dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.wizard-live-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.wizard-live-summary dt {
  color: var(--muted);
  font-size: 10px;
}
.wizard-live-summary dd {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
}
.live-summary-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.live-summary-apps span {
  padding: 6px 7px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 750;
}
.live-summary-apps small {
  color: var(--green);
}
.summary-tax {
  margin: 16px 0 0;
  line-height: 1.55;
}
.autosave-state {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}
.wizard-aside {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.wizard-aside h2 {
  margin: 10px 0 14px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.wizard-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.form-grid {
  display: grid;
  align-content: start;
  gap: 0 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.full-field {
  grid-column: 1 / -1;
}
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.choice-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.capacity-option {
  position: relative;
  display: grid;
  margin: 0;
  padding: 20px;
  grid-template-columns: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 17px;
  cursor: pointer;
}
.capacity-option:has(input:checked) {
  border-color: var(--blue);
  background: #f7f9ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.capacity-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-mark {
  display: block;
  width: 20px;
  height: 20px;
  margin: 2px 15px 0 0;
  border: 1px solid #a9b7ce;
  border-radius: 50%;
}
.capacity-option:has(input:checked) .radio-mark {
  border: 6px solid var(--blue);
}
.capacity-option > span:last-child {
  display: grid;
  gap: 5px;
}
.capacity-option strong {
  font-size: 18px;
}
.capacity-option small {
  color: var(--muted);
  font-weight: 550;
}
.capacity-option em {
  margin-top: 5px;
  color: var(--blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
}
.two-field-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.interval-choice {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}
.interval-choice legend,
fieldset > legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.interval-choice label {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.interval-choice input {
  width: 17px;
  min-height: 17px;
}
.interval-choice small {
  margin-left: auto;
  color: var(--green);
}
.application-grid {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  border: 0;
}
.application-option {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}
.application-option:has(input:checked) {
  border-color: var(--blue);
  background: #f7f9ff;
}
.application-option input {
  width: 17px;
  min-height: 17px;
}
.application-option > span:not(.app-icon) {
  display: grid;
  gap: 4px;
}
.application-option small {
  color: var(--muted);
  font-weight: 550;
}
.application-option em {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.application-option.unavailable em {
  color: var(--muted);
}
.application-pricing-note {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  color: #526078;
  background: #f5f8fd;
  font-size: 10px;
  line-height: 1.5;
}
.app-icon {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}
.application-option.unavailable {
  opacity: 0.45;
  cursor: not-allowed;
}
.backup-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  grid-template-columns: repeat(2, 1fr);
}
.backup-option {
  position: relative;
  display: flex;
  min-height: 110px;
  align-items: start;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
}
.backup-option:has(input:checked) {
  border-color: var(--blue);
  background: #f7f9ff;
}
.backup-option input {
  width: 17px;
  min-height: 17px;
}
.backup-option span {
  display: grid;
  gap: 5px;
}
.backup-option small {
  color: var(--muted);
  font-weight: 550;
  line-height: 1.45;
}
.domain-field > span {
  margin-left: 5px;
  color: var(--muted);
  font-weight: 550;
}
.input-prefix {
  display: flex;
  overflow: hidden;
  border: 1px solid #c8d3e4;
  border-radius: 12px;
  background: #f1f4f9;
}
.input-prefix > span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 600;
}
.input-prefix input {
  border: 0;
  border-left: 1px solid #c8d3e4;
  border-radius: 0;
}
.review-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.review-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: var(--blue-soft);
}
.review-heading > div {
  display: grid;
  gap: 4px;
}
.review-heading span,
.review-heading small {
  color: var(--muted);
  font-size: 11px;
}
.review-heading > strong {
  font-size: 25px;
}
.review-heading > strong small {
  margin-left: 4px;
  font-weight: 600;
}
.review-panel dl {
  margin: 0;
  padding: 4px 20px;
}
.review-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.review-panel dl div:last-child {
  border: 0;
}
.review-panel dt {
  color: var(--muted);
}
.review-panel dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
  text-transform: capitalize;
}
.review-note {
  margin: 0;
  padding: 16px 20px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 12px;
  line-height: 1.5;
}
.review-note strong {
  display: block;
  color: var(--green);
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafbfe;
  line-height: 1.5;
}
.terms-check input {
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.success-card {
  display: grid;
  align-items: center;
  gap: 22px;
  padding: 34px;
  grid-template-columns: auto 1fr auto;
  border-color: #bce5d6;
  background: #f8fffc;
}
.success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 24px;
  font-weight: 900;
}
.success-card h2 {
  margin: 7px 0;
  font-size: 25px;
}
.success-card p {
  margin: 0;
  color: var(--muted);
}
.checkout-preview {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #cfe3da;
  border-radius: 12px;
  background: white;
}
.checkout-preview dl {
  display: grid;
  gap: 7px;
  margin: 0;
}
.checkout-preview dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
}
.checkout-preview dt {
  color: var(--muted);
}
.checkout-preview dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}
.checkout-preview p {
  margin-top: 10px;
  font-size: 9px;
}
.checkout-simulator {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  padding: 0;
}
.simulator-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 22px;
  color: #5f430a;
  background: #fff4d6;
  font-size: 10px;
}
.simulator-banner strong {
  letter-spacing: 0.08em;
}
.simulator-layout {
  display: grid;
  min-height: 480px;
  grid-template-columns: 0.9fr 1.1fr;
}
.simulator-order,
.simulator-payment {
  display: flex;
  justify-content: center;
  padding: 48px;
  flex-direction: column;
}
.simulator-order {
  color: white;
  background: linear-gradient(145deg, #173c9c, #2457d6);
}
.simulator-order .eyebrow,
.simulator-order p,
.simulator-order small {
  color: #dfe8ff;
}
.simulator-order h2 {
  margin: 10px 0 4px;
  font-size: 31px;
}
.simulator-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin: 34px 0 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.simulator-total strong {
  font-size: 31px;
}
.simulator-payment {
  gap: 12px;
}
.simulator-payment h3 {
  margin: 5px 0 0;
  font-size: 25px;
}
.simulator-payment p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}
.simulator-payment .text-button {
  margin-top: 5px;
  text-align: center;
}
.checkout-outcome {
  display: flex;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
  flex-direction: column;
  text-align: center;
}
.checkout-outcome h2 {
  margin: 14px 0 10px;
  font-size: 34px;
}
.checkout-outcome p {
  max-width: 590px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.checkout-outcome > small {
  margin-top: 10px;
  color: var(--muted);
}
.outcome-mark {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 29px;
  font-weight: 900;
}
.checkout-outcome.failed .outcome-mark {
  background: #b42318;
}
.checkout-outcome.cancelled .outcome-mark {
  background: var(--blue);
}
.outcome-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.organization-section {
  margin-top: 80px;
}
.compact-heading {
  margin-bottom: 22px;
}
.compact-heading h2 {
  font-size: 32px;
}
.organization-list {
  display: grid;
  gap: 14px;
}
.organization-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  box-shadow: none;
}
.organization-card h3 {
  margin: 5px 0;
  font-size: 22px;
}
.organization-card p {
  margin: 0;
  color: var(--muted);
}
.organization-state {
  text-align: right;
}
.draft-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.draft-details span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #eef3fa;
  font-size: 10px;
  font-weight: 750;
  text-transform: capitalize;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: capitalize;
}
.status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}
.status.active {
  color: var(--green);
}
.status.draft {
  color: var(--blue);
}
.status.failed {
  color: #b42318;
}
.billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.billing-actions .button {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 12px;
}
.invoice-history {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.operation-panel {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid #d8e2f3;
  border-radius: 16px;
  background: #f8faff;
}
.operation-heading,
.operation-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.operation-heading > span:first-child {
  display: grid;
  gap: 3px;
}
.operation-heading small {
  color: var(--muted);
  font-size: 10px;
  text-transform: capitalize;
}
.operation-heading > span:last-child {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.operation-progress {
  overflow: hidden;
  height: 7px;
  margin: 13px 0;
  border-radius: 99px;
  background: #e4eaf5;
}
.operation-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #688cff);
  transition: width 0.25s ease;
}
.operation-detail {
  color: var(--muted);
  font-size: 11px;
}
.operation-detail strong {
  color: var(--ink);
  text-transform: capitalize;
}
.operation-notice,
.operation-error {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  color: #82520a;
  background: #fff7e8;
  font-size: 11px;
}
.operation-error {
  color: #9f241b;
  background: #fff0ef;
}
.operation-panel > .button {
  min-height: 38px;
  margin-top: 14px;
  font-size: 11px;
}
.customer-timeline {
  display: grid;
  gap: 0;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.customer-timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.customer-timeline i {
  width: 11px;
  height: 11px;
  border: 2px solid #b7c3d7;
  border-radius: 50%;
}
.customer-timeline li.complete {
  color: var(--green);
}
.customer-timeline li.complete i {
  border-color: var(--green);
  background: var(--green);
}
.customer-timeline li.current {
  color: var(--blue);
}
.customer-timeline li.current i {
  border: 4px solid var(--blue);
}
.customer-timeline li.action_required {
  color: #b42318;
}
.customer-timeline li.action_required i {
  border-color: #b42318;
  background: #b42318;
}
.inline-alert {
  display: grid;
  gap: 4px;
}
.inline-alert small {
  color: inherit;
}
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}
.customer-notifications {
  display: grid;
  gap: 9px;
  margin-bottom: 18px;
}
.notification-item {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid #d8e2f3;
  border-radius: 12px;
  background: #f8faff;
}
.notification-item span,
.notification-item small {
  color: var(--muted);
  font-size: 10px;
}
.notification-item.payment_action_required,
.notification-item.setup_action_required {
  border-color: #efcfcc;
  background: #fff8f7;
}
.invoice-history h4 {
  margin: 0 0 10px;
  font-size: 13px;
}
.invoice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid #eef2f7;
}
.invoice-row > span {
  display: grid;
  gap: 3px;
}
.invoice-row strong {
  font-size: 12px;
}
.invoice-row small {
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}
.invoice-row a {
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.empty-state {
  padding: 30px;
  border: 1px dashed #bac6d9;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}
.empty-state p {
  margin: 6px 0 0;
}
.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  padding: 15px 18px;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  box-shadow: 0 18px 50px rgba(20, 33, 61, 0.3);
}
.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(4vw, 24px);
  border-top: 1px solid var(--line);
  background: white;
}
footer p {
  max-width: 560px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }
  .hero {
    gap: 45px;
    grid-template-columns: 1fr;
  }
  .hero-panel {
    max-width: 620px;
    transform: none;
  }
  .public-plan-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }
  .public-plan-card {
    min-height: 0;
  }
  .wizard-card {
    gap: 30px;
    grid-template-columns: 1fr;
  }
  #onboarding-flow {
    grid-template-columns: 1fr;
  }
  #onboarding-flow > .progress-strip,
  #onboarding-flow > #organization-setup,
  #onboarding-flow > #order-form,
  #onboarding-flow > #draft-success,
  .wizard-live-summary,
  .checkout-simulator {
    grid-column: 1;
    grid-row: auto;
  }
  .wizard-live-summary {
    position: static;
    order: 2;
  }
  #onboarding-flow > #organization-setup,
  #onboarding-flow > #order-form,
  #onboarding-flow > #draft-success,
  .checkout-simulator {
    order: 3;
  }
  .wizard-aside {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .progress-strip li {
    font-size: 0;
  }
  .progress-strip li span {
    font-size: 11px;
  }
  .customer-dashboard {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .portal-sidebar {
    padding-inline: 11px;
  }
  .portal-workspace {
    padding: 18px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-two-column,
  .application-catalog {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .security-grid p {
    min-height: 0;
  }
  .plan-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }
  .environment-label {
    display: none;
  }
  .hero,
  .section,
  #portal {
    width: min(100% - 28px, 1180px);
  }
  #plans,
  .account-section {
    width: 100%;
    padding-inline: 14px;
  }
  .hero {
    min-height: auto;
    padding: 58px 0 70px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-actions,
  .section-heading,
  .portal-heading,
  .verification-card {
    align-items: stretch;
    flex-direction: column;
  }
  .section {
    padding-block: 68px;
  }
  .public-plan-card {
    padding: 24px;
  }
  .auth-layout,
  .form-grid,
  .application-grid,
  .backup-grid,
  .two-field-row {
    grid-template-columns: 1fr;
  }
  #portal {
    padding-top: 40px;
  }
  .progress-strip {
    top: 78px;
  }
  .wizard-card {
    min-height: 0;
    padding: 24px 18px;
  }
  .success-card {
    grid-template-columns: auto 1fr;
  }
  .success-card .button {
    grid-column: 1 / -1;
  }
  .simulator-banner,
  .outcome-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  .simulator-order,
  .simulator-payment {
    padding: 32px 22px;
  }
  .organization-card {
    grid-template-columns: 1fr;
  }
  .organization-state {
    text-align: left;
  }
  .customer-dashboard {
    display: block;
    border-radius: 18px;
  }
  .portal-sidebar {
    gap: 12px;
    padding: 13px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 18px 18px 0 0;
  }
  #portal-navigation {
    display: flex;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  #portal-navigation button {
    flex: 0 0 auto;
    min-height: 36px;
    padding-inline: 9px;
    white-space: nowrap;
  }
  #portal-navigation button.active {
    box-shadow: inset 0 -3px var(--blue);
  }
  #portal-navigation button > span {
    display: none;
  }
  .sidebar-help {
    display: none;
  }
  .portal-workspace {
    padding: 14px;
  }
  .service-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .service-banner > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .workspace-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card {
    min-height: 118px;
  }
  .action-banner,
  .support-hero {
    align-items: stretch;
    flex-direction: column;
  }
  .action-buttons,
  .outcome-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .action-buttons .button,
  .action-buttons .text-button {
    width: 100%;
    text-align: center;
  }
  .resource-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .resource-row > .health-badge,
  .resource-row > .role-pill,
  .resource-row > dl {
    grid-column: 2;
  }
  .table-card {
    overflow-x: auto;
  }
  .table-header,
  .table-row {
    min-width: 620px;
  }
  .limit-grid,
  .billing-summary {
    grid-template-columns: 1fr;
  }
  .billing-summary span {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .organization-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .organization-row > .health-badge {
    grid-column: 2;
  }
  .organization-row > span:last-child {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  footer p {
    text-align: left;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.payment-choice-screen {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.payment-choice-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.payment-choice-heading h2 {
  margin: 0.35rem 0;
}
.payment-choice-heading p {
  max-width: 48rem;
  color: var(--muted);
}
.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.payment-method-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}
.payment-method-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 14%, transparent);
}
.payment-method-card.unavailable {
  background: color-mix(in srgb, var(--surface) 88%, var(--line));
  color: var(--muted);
}
.payment-method-title {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.payment-method-title h3 {
  margin: 0 0 0.25rem;
}
.payment-method-title p {
  margin: 0;
  color: var(--muted);
}
.payment-method-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.35rem;
  height: 2.35rem;
  border-radius: 0.75rem;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}
.selected-pill {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--blue);
}
.payment-amount {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--blue-soft);
}
.payment-amount strong {
  font-size: 1.4rem;
}
.payment-amount span,
.payment-amount small {
  color: var(--muted);
}
.payment-method-details {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}
.payment-method-details div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
}
.payment-method-details dt {
  font-weight: 750;
}
.payment-method-details dd {
  margin: 0;
  color: var(--muted);
}
.payment-next-steps ol {
  margin: 0.55rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}
.payment-unavailable {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: var(--blue-soft);
}
.payment-support-note {
  text-align: center;
  color: var(--muted);
  margin: 1.25rem 0 0;
}
@media (max-width: 800px) {
  .payment-method-grid {
    grid-template-columns: 1fr;
  }
  .payment-choice-heading {
    display: grid;
  }
  .payment-method-details div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
.payment-instruction-screen {
  width: min(760px, 100%);
  margin: auto;
  padding: clamp(1.25rem, 4vw, 3rem);
}
.payment-instruction-screen > p {
  color: var(--muted);
}
.bank-instruction-card {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}
.bank-instruction-card dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}
.bank-instruction-card dl div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.bank-instruction-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.reference-row dd strong {
  color: var(--blue);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.payment-warning {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff4df;
  color: #744607;
}
.payment-warning span {
  line-height: 1.5;
}
@media (max-width: 620px) {
  .bank-instruction-card dl div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
.mmqr-instruction-card {
  justify-items: center;
}
.mmqr-instruction-card dl {
  width: 100%;
}
.mmqr-code {
  width: min(320px, 100%);
  height: auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
}
.payment-trust-panel {
  margin: 1.1rem 0 1.4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #9bb9ff;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
  color: #172347;
}
.payment-trust-panel > div:first-child {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.payment-trust-panel strong {
  color: #10245c;
}
.payment-trust-panel p {
  margin: 0.2rem 0;
}
.payment-trust-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.9rem 0;
  padding-left: 1.2rem;
}
.trust-mark {
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1d5ed2;
  color: #fff;
  font-weight: 800;
}
.payment-trust-panel .fraud-alert {
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: #fff1ee;
  color: #742317;
}
.instruction-trust dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0;
}
.instruction-trust dl div {
  padding: 0.65rem;
  border: 1px solid #cfdbf4;
  border-radius: 0.7rem;
  background: #fff;
}
.instruction-trust dt {
  font-size: 0.75rem;
  color: #5f6b89;
}
.instruction-trust dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .payment-trust-panel ul,
  .instruction-trust dl {
    grid-template-columns: 1fr;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  .printable-payment,
  .printable-payment * {
    visibility: visible;
  }
  .printable-payment {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 1rem;
  }
  .no-print {
    display: none !important;
  }
}

.assisted-review-shell {
  padding: clamp(1rem, 3vw, 2.4rem);
  background: #f6f8fc;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}
.assisted-review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
}
.assisted-review-header .text-button {
  display: block;
  margin: 0 0 1.25rem;
  padding: 0;
}
.assisted-review-header h1 {
  margin: 0.35rem 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.assisted-review-header p {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.review-state {
  padding: 0.55rem 0.8rem;
  border: 1px solid #a9c2f6;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
  white-space: nowrap;
}
.assisted-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1.25rem;
  align-items: start;
}
.assisted-review-grid main {
  display: grid;
  gap: 1rem;
}
.assisted-card,
.assisted-decision-card {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(23, 35, 71, 0.05);
}
.assisted-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.assisted-card-heading h2,
.assisted-decision-card h2 {
  margin: 0.25rem 0;
}
.assisted-total {
  font-size: 1.55rem;
  color: var(--ink);
  white-space: nowrap;
}
.assisted-total small {
  font-size: 0.8rem;
  color: var(--muted);
}
.assisted-products {
  display: grid;
  gap: 0.65rem;
}
.assisted-products > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.assisted-products span:nth-child(2) {
  display: grid;
}
.assisted-products small {
  color: var(--muted);
}
.assisted-products b {
  font-size: 0.82rem;
}
.assisted-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
}
.assisted-terms div {
  padding: 0.75rem;
  border-radius: 0.8rem;
  background: var(--blue-soft);
}
.assisted-terms dt {
  font-size: 0.72rem;
  color: var(--muted);
}
.assisted-terms dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}
.assisted-services {
  display: grid;
  gap: 0.65rem;
}
.assisted-services article {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}
.assisted-services p {
  margin: 0.2rem 0;
  color: var(--muted);
}
.assisted-services small {
  color: var(--muted);
}
.assisted-empty {
  color: var(--muted);
}
.beneficiary-callout {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eef4ff, #f8fbff);
}
.beneficiary-callout div {
  display: grid;
  gap: 0.15rem;
}
.beneficiary-callout p {
  margin: 0.2rem 0;
  color: var(--muted);
}
.destination-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.destination-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.destination-list span {
  color: var(--muted);
  text-align: right;
}
.assisted-decision-card {
  position: sticky;
  top: 1rem;
}
.access-boundary {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
.access-boundary > div {
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: #effaf4;
  color: #174d2f;
}
.access-boundary .cannot {
  background: #fff3f0;
  color: #69251c;
}
.access-boundary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}
.access-boundary li + li {
  margin-top: 0.35rem;
}
.assisted-decision-card form {
  display: grid;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.assisted-decision-card form .button {
  width: 100%;
}
.secondary-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.secondary-decisions .button {
  grid-column: 1/-1;
}
.secondary-decisions .text-button {
  text-align: center;
}
.decision-complete {
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--blue-soft);
}
.decision-complete p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}
.assisted-edit summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--blue);
}
.assisted-edit form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.assisted-app-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.assisted-app-edit label {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.admin-dialog-card textarea {
  min-height: 8rem;
  resize: vertical;
}
@media (max-width: 900px) {
  .assisted-review-grid {
    grid-template-columns: 1fr;
  }
  .assisted-decision-card {
    position: static;
  }
  .assisted-terms {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .assisted-review-header,
  .assisted-card-heading,
  .assisted-services article,
  .destination-list li {
    display: grid;
  }
  .review-state {
    justify-self: start;
  }
  .assisted-products > div {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .assisted-products b {
    grid-column: 2;
  }
  .destination-list span {
    text-align: left;
  }
  .secondary-decisions {
    grid-template-columns: 1fr;
  }
}
