html {
  font-size: 14px;
}

.registration-legal-consent,.legal-version-list{display:grid;gap:.75rem;margin:1rem 0}.legal-checkbox{display:flex;align-items:flex-start;gap:.65rem;color:#34495a;font-size:.92rem;line-height:1.45}.legal-checkbox input{width:1.1rem;height:1.1rem;margin-top:.15rem;accent-color:#00bfae;flex:0 0 auto}.legal-checkbox a{font-weight:700;color:#17677a}.legal-version-list article{display:grid;grid-template-columns:1fr auto auto;gap:1rem;align-items:center;padding:1rem;border:1px solid #dfe8ee;border-radius:12px;background:#f7f9fb}.legal-version-list article span{color:#60717d}.legal-acceptance-card{max-width:720px}.enterprise-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.enterprise-form>div{display:grid;gap:.4rem}.enterprise-form input,.enterprise-form select{width:100%;padding:.75rem;border:1px solid #cedbe2;border-radius:9px;background:#fff}.enterprise-form .legal-checkbox,.enterprise-form button{align-self:end}@media(max-width:760px){.enterprise-form{grid-template-columns:1fr}.legal-version-list article{grid-template-columns:1fr}}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(0, 191, 174, 0.34);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Identity login, adapted from DuoNahuatl */
.identity-login-page {
  display: grid;
  place-items: center;
  padding: 1.5rem 0 3.5rem;
}

.identity-login-card {
  width: min(100%, 460px);
  margin: 1rem auto;
  padding: 2rem;
  border: 2px solid #dce5ea;
  border-bottom-width: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(11, 29, 45, 0.09);
}

.identity-login-card h1 {
  margin: 0.35rem 0 0.5rem;
  color: #0b1d2d;
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.identity-login-eyebrow {
  color: #00877d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-login-intro {
  margin-bottom: 0;
  color: #526273;
}

.identity-external-login,
.identity-password-login {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.identity-external-login {
  text-align: center;
}

.identity-external-login small {
  color: #68726d;
}

.identity-google-button,
.identity-submit-button {
  width: 100%;
  padding: 0.9rem;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.identity-google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: #0b1d2d;
  background: #fff;
  border: 2px solid #dce5ea;
  box-shadow: 0 4px 0 #dce5ea;
}

.identity-google-button span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  color: #4285f4;
  background: #eef4ff;
  font-size: 0.95rem;
  font-weight: 950;
}

.identity-google-button:not(:disabled):hover,
.identity-submit-button:hover {
  transform: translateY(-1px);
}

.identity-google-button:not(:disabled):active,
.identity-submit-button:active {
  transform: translateY(3px);
  box-shadow: none;
}

.identity-google-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.identity-login-separator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  color: #526273;
  font-size: 0.78rem;
  font-weight: 750;
}

.identity-login-separator::before,
.identity-login-separator::after {
  flex: 1;
  height: 1px;
  background: #dfe1da;
  content: "";
}

.identity-password-login > div {
  display: grid;
  gap: 0.4rem;
}

.identity-password-login label {
  color: #0b1d2d;
  font-weight: 800;
}

.identity-password-login input:not([type="checkbox"]) {
  width: 100%;
  padding: 0.85rem;
  border: 2px solid #d6d8d1;
  border-radius: 12px;
  background: #fff;
}

.identity-password-login input:focus {
  border-color: #00a99c;
  outline: 3px solid rgba(0, 191, 174, 0.14);
}

.identity-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650 !important;
}

.identity-submit-button {
  border: 0;
  color: #fff;
  background: #00a99c;
  box-shadow: 0 5px 0 #00877d;
}

.identity-validation {
  color: #a13d2d;
  font-size: 0.84rem;
}

.identity-validation:empty {
  display: none;
}

.identity-account-link {
  margin: 1.25rem 0 0;
  color: #526273;
  text-align: center;
}

.identity-account-link a {
  color: #00877d;
  font-weight: 850;
}

.identity-help-links {
  margin-top: 0.45rem;
  font-size: 0.9rem;
}

@media (max-width: 575px) {
  .identity-login-page {
    padding-top: 0.5rem;
  }

  .identity-login-card {
    padding: 1.4rem;
    border-radius: 20px;
  }
}

/* VPSM enterprise application system */
:root {
  --vpsm-bg: #f7f9fb;
  --vpsm-surface: #ffffff;
  --vpsm-surface-soft: #f0f4f7;
  --vpsm-ink: #0b1d2d;
  --vpsm-muted: #526273;
  --vpsm-border: #dce5ea;
  --vpsm-accent: #00a99c;
  --vpsm-accent-dark: #00877d;
  --vpsm-accent-soft: #e1f7f4;
  --vpsm-danger: #a33a38;
  --vpsm-danger-soft: #f9eaea;
  --vpsm-warning: #9a620d;
  --vpsm-warning-soft: #f9f0df;
  --vpsm-sidebar: #0a1427;
  --vpsm-sidebar-text: #c7d2dd;
  --vpsm-radius: 9px;
}

html { font-size: 16px; }
body { margin: 0; background: var(--vpsm-bg); color: var(--vpsm-ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--vpsm-accent); }
button, input { font: inherit; }

.app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 22px 14px 16px; color: var(--vpsm-ink); border-right: 1px solid var(--vpsm-border); background: #fff; }
.app-brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-size: 1.15rem; font-weight: 800; letter-spacing: -.035em; text-decoration: none; }
.app-sidebar .app-brand { padding: 0 10px 24px; }
.app-brand-mark { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; }
.app-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark { color: #0b1d2d; font-size: 1.3rem; font-weight: 850; line-height: 1; letter-spacing: -.055em; }
.brand-wordmark > span { color: #00bfae; }
.brand-wordmark small { margin-left: 1px; color: #526273; font-size: .52em; font-weight: 750; letter-spacing: -.02em; }
.app-sidebar .app-brand-mark { width: 42px; height: 42px; }
.app-sidebar .brand-wordmark { color: var(--vpsm-ink); }
.app-sidebar .brand-wordmark small { color: var(--vpsm-muted); }
.app-navigation { display: grid; gap: 4px; }
.app-navigation a, .app-nav-disabled { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 11px; border-radius: 7px; color: var(--vpsm-muted); font-size: .84rem; text-decoration: none; }
.app-navigation a:hover, .app-navigation a.active { color: var(--vpsm-ink); background: var(--vpsm-accent-soft); }
.app-navigation a.active { font-weight: 650; }
.nav-symbol { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--vpsm-border); border-radius: 6px; color: #25637a; font-size: .65rem; font-weight: 750; }
.app-nav-disabled { opacity: .52; }
.app-nav-disabled small { margin-left: auto; font-size: .61rem; text-transform: uppercase; }
.app-navigation-bottom { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--vpsm-border); }
.app-workspace { min-width: 0; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 28px; border-bottom: 1px solid var(--vpsm-border); background: var(--vpsm-surface); }
.workspace-name { display: flex; align-items: center; gap: 8px; font-size: .83rem; }
.workspace-name span { color: var(--vpsm-muted); }
.app-account { display: flex; align-items: center; gap: 10px; }
.app-account > div { display: grid; text-align: right; }
.app-account strong { max-width: 220px; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.app-account span { color: var(--vpsm-muted); font-size: .69rem; }
.account-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #063b39; background: #b8eee8; font-size: .7rem; font-weight: 750; text-decoration: none; }
.app-logout { padding: .4rem .65rem; border: 1px solid var(--vpsm-border); border-radius: 6px; color: var(--vpsm-muted); background: var(--vpsm-surface); font-size: .72rem; }
.app-content { width: min(100%, 1320px); min-height: calc(100vh - 112px); margin: 0 auto; padding: 30px; }
.app-footer { display: flex; justify-content: space-between; padding: 16px 30px 22px; color: var(--vpsm-muted); font-size: .72rem; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-heading h1 { margin: 4px 0 5px; color: var(--vpsm-ink); font-size: clamp(1.65rem, 3vw, 2.15rem); font-weight: 750; letter-spacing: -.035em; }
.page-heading p { margin: 0; color: var(--vpsm-muted); }
.page-kicker { color: var(--vpsm-accent); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.danger-kicker { color: var(--vpsm-danger); }
.button-primary, .button-secondary, .button-ghost, .button-danger, .button-light { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.button-primary { border-color: var(--vpsm-accent-dark); color: #fff; background: var(--vpsm-accent); }
.button-primary:hover { color: #fff; background: var(--vpsm-accent-dark); }
.button-secondary { border-color: var(--vpsm-border); color: var(--vpsm-ink); background: var(--vpsm-surface); }
.button-secondary:hover, .button-ghost:hover { color: var(--vpsm-accent); border-color: #b8c8c3; background: var(--vpsm-accent-soft); }
.button-ghost { border-color: transparent; color: var(--vpsm-muted); background: transparent; }
.button-danger { border-color: #8e302f; color: #fff; background: var(--vpsm-danger); }
.button-light { color: var(--vpsm-accent-dark); background: #fff; }
.button-large { min-height: 48px; padding: 0 20px; font-size: .9rem; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.metric-card, .content-panel { border: 1px solid var(--vpsm-border); border-radius: var(--vpsm-radius); background: var(--vpsm-surface); }
.metric-card { padding: 17px; }
.metric-card > div { display: flex; align-items: center; justify-content: space-between; color: var(--vpsm-muted); font-size: .76rem; }
.metric-card > strong { display: block; margin: 13px 0 7px; font-size: 1.8rem; letter-spacing: -.04em; }
.metric-card small { color: var(--vpsm-muted); font-size: .7rem; }
.metric-symbol { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; color: var(--vpsm-accent); background: var(--vpsm-accent-soft); font-size: .68rem; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .75fr); gap: 14px; margin-top: 14px; }
.content-panel { padding: 18px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.panel-heading h2 { margin: 0 0 4px; font-size: 1rem; font-weight: 750; }
.panel-heading p { margin: 0; color: var(--vpsm-muted); font-size: .75rem; }
.panel-heading > a { font-size: .76rem; font-weight: 700; text-decoration: none; }
.status-online { color: var(--vpsm-accent); font-size: .7rem; font-weight: 750; white-space: nowrap; }
.service-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--vpsm-border); font-size: .75rem; }
.service-row span { display: flex; align-items: center; gap: 8px; color: var(--vpsm-muted); }
.service-row i { width: 8px; height: 8px; border-radius: 50%; background: #20a579; box-shadow: 0 0 0 4px var(--vpsm-accent-soft); }
.last-run { margin-top: 16px; padding: 14px; border-radius: 7px; background: var(--vpsm-surface-soft); }
.last-run span, .last-run small { display: block; color: var(--vpsm-muted); font-size: .69rem; }
.last-run strong { display: block; margin: 7px 0 3px; font-size: .9rem; }

.enterprise-table-wrap { margin: 16px -18px -18px; }
.enterprise-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.enterprise-table th { padding: 11px 18px; color: var(--vpsm-muted); background: var(--vpsm-surface-soft); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.enterprise-table td { padding: 14px 18px; border-top: 1px solid var(--vpsm-border); vertical-align: middle; }
.enterprise-table td strong, .enterprise-table td small { display: block; }
.enterprise-table td small { margin-top: 3px; color: var(--vpsm-muted); font-size: .68rem; }
.actions-column { text-align: right !important; }
.table-actions { text-align: right; white-space: nowrap; }
.table-actions form { display: inline; margin: 0; }
.table-actions button { min-height: 32px; padding: 0 9px; font-size: .73rem; }
.table-actions a { margin-left: 12px; font-size: .73rem; font-weight: 650; text-decoration: none; }
.danger-link { color: var(--vpsm-danger); }
.status-badge { display: inline-flex; width: max-content; padding: 4px 8px; border-radius: 999px; font-size: .67rem; font-weight: 750; }
.status-active { color: var(--vpsm-accent); background: var(--vpsm-accent-soft); }
.status-review { color: var(--vpsm-warning); background: var(--vpsm-warning-soft); }
.status-failed { color: var(--vpsm-danger); background: rgba(184, 61, 61, .1); }
.email-deliveries-panel { margin-top: 14px; }
.email-error-cell { max-width: 290px; color: var(--vpsm-muted); font-size: .7rem; line-height: 1.4; overflow-wrap: anywhere; }
.table-action-muted { color: var(--vpsm-muted); }
.empty-state { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 230px; color: var(--vpsm-muted); text-align: left; }
.compact-empty { min-height: 185px; }
.empty-state strong { display: block; color: var(--vpsm-ink); }
.empty-state p { margin: 5px 0; font-size: .8rem; }
.empty-state a { font-size: .78rem; font-weight: 700; text-decoration: none; }
.empty-symbol, .match-symbol { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; color: var(--vpsm-accent); background: var(--vpsm-accent-soft); font-weight: 800; }
.search-panel { margin-bottom: 14px; }
.enterprise-filter { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px; margin-top: 17px; }
.enterprise-filter > div, .enterprise-form > div { display: grid; gap: 6px; }
.enterprise-filter label, .enterprise-form label { color: var(--vpsm-ink); font-size: .77rem; font-weight: 700; }
.enterprise-filter input, .enterprise-form input { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #cfd8de; border-radius: 7px; color: var(--vpsm-ink); background: #fff; }
.enterprise-filter input:focus, .enterprise-form input:focus { border-color: var(--vpsm-accent); outline: 3px solid rgba(20,107,93,.12); }
.form-panel { max-width: 720px; }
.enterprise-form { display: grid; gap: 20px; }
.enterprise-form small { color: var(--vpsm-muted); font-size: .72rem; }
.form-actions, .page-bottom-actions { display: flex !important; align-items: center; gap: 9px !important; }
.page-bottom-actions { margin-top: 18px; }
.detail-panel { max-width: 780px; padding: 0; overflow: hidden; }
.detail-row { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 17px 20px; border-bottom: 1px solid var(--vpsm-border); font-size: .82rem; }
.detail-row:last-child { border-bottom: 0; }
.detail-row > span { color: var(--vpsm-muted); }
.confirmation-panel { display: flex; gap: 16px; max-width: 760px; padding: 22px; }
.confirmation-panel h2 { margin: 0 0 7px; font-size: 1.05rem; }
.confirmation-panel p { color: var(--vpsm-muted); font-size: .82rem; }
.confirmation-symbol { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; color: var(--vpsm-danger); background: var(--vpsm-danger-soft); font-weight: 850; }
.match-list { margin: 15px -18px -18px; }
.match-list > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 13px 18px; border-top: 1px solid var(--vpsm-border); }
.match-symbol { width: 34px; height: 34px; border-radius: 8px; font-size: .72rem; }
.app-notice { margin-bottom: 14px; padding: 12px 14px; border: 1px solid #c9ded8; border-radius: 7px; color: var(--vpsm-accent-dark); background: var(--vpsm-accent-soft); font-size: .8rem; }
.app-notice-error { border-color: rgba(184, 61, 61, .24); color: var(--vpsm-danger); background: rgba(184, 61, 61, .08); }
.worker-history-panel { margin-top: 14px; }
.system-health-panel { margin-top: 14px; }
.system-health-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.system-health-card { display: grid; gap: 7px; min-width: 0; padding: 16px; border: 1px solid var(--vpsm-border); border-radius: 12px; background: var(--vpsm-background); }
.system-health-card > span { color: var(--vpsm-muted); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.system-health-card > strong { font-size: 1rem; }
.system-health-card > small { color: var(--vpsm-muted); line-height: 1.45; }
.health-good { color: var(--vpsm-accent); }
.health-warning { color: var(--vpsm-warning); }
.health-danger { color: var(--vpsm-danger); }
@media (max-width: 980px) { .system-health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .system-health-grid { grid-template-columns: 1fr; } }
.monitoring-rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.monitoring-rule-card { display: grid; gap: 16px; }
.monitoring-rule-card h2 { margin: 4px 0 0; font-size: 1.1rem; }
.monitoring-rule-card > p { margin: 0; color: var(--vpsm-muted); }
.monitoring-rule-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.monitoring-switch { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 750; }
.monitoring-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.monitoring-form-grid label { display: grid; gap: 6px; color: var(--vpsm-muted); font-size: .72rem; font-weight: 750; }
.monitoring-form-grid select, .monitoring-form-grid input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--vpsm-border); border-radius: 8px; background: #fff; color: var(--vpsm-text); }
.monitoring-cost-note { margin-bottom: 14px; }
.page-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1050px) { .monitoring-rule-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .monitoring-form-grid { grid-template-columns: 1fr; } .page-actions { align-items: stretch; flex-direction: column; } }
.page-heading form { margin: 0; }
.button-primary:disabled { cursor: not-allowed; opacity: .55; }

.public-header { border-bottom: 1px solid var(--vpsm-border); background: rgba(255,255,255,.97); box-shadow: 0 4px 18px rgba(11,29,45,.035); }
.public-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1180px, calc(100% - 40px)); min-height: 72px; margin: 0 auto; }
.public-brand { color: var(--vpsm-ink); }
.public-nav > nav { display: flex; gap: 28px; }
.public-nav > nav a, .public-account-actions a, .public-account-actions button { color: var(--vpsm-muted); font-size: .82rem; font-weight: 650; text-decoration: none; }
.public-account-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.public-account-actions form { margin: 0; }
.public-account-actions button { border: 0; background: transparent; }
.public-account-actions .public-cta { min-height: 38px; padding: 9px 14px; border-radius: 7px; color: #fff; background: var(--vpsm-accent); }
.public-content { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 152px); margin: 0 auto; }
.public-footer { display: flex; justify-content: space-between; gap: 20px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0; border-top: 1px solid var(--vpsm-border); color: var(--vpsm-muted); font-size: .75rem; }
.public-footer > div { display: flex; align-items: center; gap: 18px; }
.public-footer a { text-decoration: none; }
.saas-hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(400px,.95fr); align-items: center; gap: 54px; min-height: 610px; padding: 60px 0; }
.saas-hero-copy h1 { max-width: 650px; margin: 12px 0 18px; font-size: clamp(2.6rem,5vw,4.5rem); font-weight: 780; line-height: 1.02; letter-spacing: -.055em; }
.saas-hero-copy > p { max-width: 610px; color: var(--vpsm-muted); font-size: 1.08rem; line-height: 1.7; }
.saas-actions { display: flex; gap: 10px; margin-top: 28px; }
.saas-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 27px; color: var(--vpsm-muted); font-size: .75rem; }
.saas-trust span::before { margin-right: 7px; color: var(--vpsm-accent); content: "✓"; font-weight: 800; }
.product-preview { overflow: hidden; border: 1px solid var(--vpsm-border); border-radius: 12px; background: var(--vpsm-surface); box-shadow: 0 30px 80px rgba(18,46,40,.14); transform: perspective(1200px) rotateY(-3deg); }
.preview-header { display: flex; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--vpsm-border); font-size: .8rem; }
.preview-header strong { color: var(--vpsm-accent); }
.preview-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 16px; background: var(--vpsm-surface-soft); }
.preview-metrics div { padding: 13px; border: 1px solid var(--vpsm-border); border-radius: 7px; background: #fff; }
.preview-metrics span, .preview-metrics strong { display: block; }
.preview-metrics span { color: var(--vpsm-muted); font-size: .65rem; }
.preview-metrics strong { margin-top: 8px; font-size: 1.3rem; }
.preview-table { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; }
.preview-table span, .preview-table b { padding: 15px; border-top: 1px solid var(--vpsm-border); font-size: .72rem; }
.preview-table b { color: var(--vpsm-warning); font-size: .65rem; }
.psm-source-section { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(340px,.82fr); align-items: center; gap: 52px; padding: 78px 0; border-top: 1px solid var(--vpsm-border); }
.psm-source-visual { margin: 0; overflow: hidden; border: 1px solid #ccd8d5; border-radius: 13px; background: var(--vpsm-surface); box-shadow: 0 28px 70px rgba(18,46,40,.13); }
.psm-source-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--vpsm-border); background: #f8faf9; font-size: .7rem; font-weight: 750; }
.psm-source-toolbar > span { display: flex; align-items: center; gap: 8px; color: var(--vpsm-muted); letter-spacing: .04em; text-transform: uppercase; }
.psm-source-toolbar i { width: 8px; height: 8px; border-radius: 50%; background: #20a579; box-shadow: 0 0 0 4px var(--vpsm-accent-soft); }
.psm-source-toolbar a { color: var(--vpsm-accent-dark); text-decoration: none; }
.psm-source-toolbar a:hover { text-decoration: underline; }
.psm-source-visual img { display: block; width: 100%; aspect-ratio: 1265 / 712; object-fit: cover; object-position: top center; }
.psm-source-visual figcaption { padding: 11px 16px; border-top: 1px solid var(--vpsm-border); color: var(--vpsm-muted); font-size: .67rem; }
.psm-source-copy h2 { margin: 10px 0 16px; font-size: clamp(2rem,3.6vw,3.2rem); font-weight: 770; line-height: 1.08; letter-spacing: -.045em; }
.psm-source-copy > p { margin: 0; color: var(--vpsm-muted); font-size: .96rem; line-height: 1.75; }
.psm-flow { display: grid; gap: 0; margin-top: 27px; border-top: 1px solid var(--vpsm-border); }
.psm-flow > div { display: grid; grid-template-columns: 36px 1fr; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--vpsm-border); }
.psm-flow > div > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--vpsm-accent-dark); background: var(--vpsm-accent-soft); font-size: .64rem; font-weight: 850; }
.psm-flow p, .psm-flow strong { display: block; margin: 0; }
.psm-flow p { color: var(--vpsm-muted); font-size: .77rem; line-height: 1.55; }
.psm-flow strong { margin-bottom: 3px; color: var(--vpsm-ink); font-size: .83rem; }
.saas-section { padding: 80px 0; }
.section-intro { max-width: 680px; }
.section-intro h2, .saas-band h2 { margin: 8px 0 12px; font-size: clamp(2rem,3.5vw,3rem); font-weight: 760; letter-spacing: -.04em; }
.section-intro p { color: var(--vpsm-muted); }
.saas-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.saas-feature-grid article { padding: 24px; border: 1px solid var(--vpsm-border); border-radius: 9px; background: var(--vpsm-surface); }
.saas-feature-grid article > span { color: var(--vpsm-accent); font-size: .72rem; font-weight: 800; }
.saas-feature-grid h3 { margin: 30px 0 10px; font-size: 1.05rem; }
.saas-feature-grid p { margin: 0; color: var(--vpsm-muted); font-size: .83rem; line-height: 1.65; }
.saas-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 70px; padding: 38px; border-radius: 12px; color: #fff; background: linear-gradient(120deg, #0a1427 0%, #102a3e 100%); }
.saas-band .page-kicker { color: #4bd8cc; }
.saas-band h2 { max-width: 700px; margin-bottom: 0; }

/* Enterprise authentication */
.identity-login-page { min-height: calc(100vh - 230px); padding: 48px 0 70px; }
.identity-login-card { width: min(100%, 440px); padding: 32px; border: 1px solid var(--vpsm-border); border-radius: 10px; background: var(--vpsm-surface); box-shadow: 0 24px 60px rgba(20,49,43,.1); }
.identity-login-card h1 { color: var(--vpsm-ink); font-size: 2rem; font-weight: 760; letter-spacing: -.04em; }
.identity-login-eyebrow { color: var(--vpsm-accent); }
.identity-google-button { border: 1px solid var(--vpsm-border); border-radius: 7px; box-shadow: none; }
.identity-google-button span { border-radius: 6px; }
.identity-submit-button { border-radius: 7px; background: var(--vpsm-accent); box-shadow: none; }
.identity-password-login input:not([type="checkbox"]) { border: 1px solid #cfd8de; border-radius: 7px; }
.identity-register-card { width: min(100%, 540px); }
.identity-register-form { gap: 18px; }
.identity-turnstile { width: 100%; min-height: 65px; }
.identity-turnstile .cf-turnstile { width: 100%; }
.identity-confirmation-page { align-items: center; }
.identity-confirmation-card { width: min(100%, 520px); padding: 42px; text-align: center; }
.identity-confirmation-card h1 { margin: 14px 0 8px; }
.identity-confirmation-card .identity-login-intro { max-width: 430px; margin: 0 auto 26px; }
.identity-confirmation-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 22px; background: rgba(0,191,174,.12); color: #008f85; }
.identity-confirmation-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.identity-confirmation-card.is-error .identity-confirmation-icon { background: #fff0ed; color: #b8422f; }
.identity-confirmation-status { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 15px 16px; margin-top: 10px; border: 1px solid #dce7e5; border-radius: 10px; background: #f7fbfa; text-align: left; }
.identity-confirmation-status > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d9f6f1; color: #007d74; font-weight: 750; }
.identity-confirmation-status div { display: grid; gap: 3px; }
.identity-confirmation-status strong { color: var(--vpsm-ink); font-size: .92rem; }
.identity-confirmation-status small { color: var(--vpsm-muted); line-height: 1.4; }
.identity-confirmation-status > b { color: #008f85; font-size: .78rem; }
.identity-confirmation-status.is-pending { background: #fffaf0; border-color: #eee0bd; }
.identity-confirmation-status.is-pending > span { background: #f7eac8; color: #7a5a13; }
.identity-confirmation-status.is-pending > b { color: #7a5a13; }
.identity-confirmation-action { display: block; margin-top: 24px; text-decoration: none; text-align: center; }
.identity-confirmation-action:hover { color: #062a35; }
.identity-confirmation-help { padding: 18px; margin: 20px 0 0; border: 1px solid #ead9d4; border-radius: 10px; background: #fff9f7; text-align: left; }
.identity-confirmation-help strong { color: var(--vpsm-ink); }
.identity-confirmation-help p { margin: 6px 0 0; color: var(--vpsm-muted); font-size: .9rem; line-height: 1.55; }
.identity-password-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
.identity-password-grid > div { display: grid; gap: 6px; }
.identity-terms { margin: 0; color: var(--vpsm-muted); font-size: .74rem; line-height: 1.55; }
.identity-terms a { font-weight: 650; }

/* Account management */
.account-manage-heading { align-items: center; }
.account-security-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: var(--vpsm-accent-dark); background: var(--vpsm-accent-soft); font-size: .7rem; font-weight: 750; }
.account-security-badge::before { width: 7px; height: 7px; border-radius: 50%; background: #20a579; content: ""; }
.account-manage-grid { display: grid; grid-template-columns: 250px minmax(0, 760px); align-items: start; gap: 14px; }
.account-manage-navigation { padding: 0; overflow: hidden; }
.account-manage-navigation-title { display: flex; align-items: center; gap: 11px; padding: 18px; border-bottom: 1px solid var(--vpsm-border); }
.account-manage-navigation-title > div { min-width: 0; }
.account-manage-navigation-title strong, .account-manage-navigation-title small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-manage-navigation-title strong { font-size: .82rem; }
.account-manage-navigation-title small { margin-top: 3px; color: var(--vpsm-muted); font-size: .67rem; }
.account-manage-symbol { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; color: var(--vpsm-accent-dark); background: var(--vpsm-accent-soft); font-size: .72rem; font-weight: 800; }
.account-settings-nav { display: grid; padding: 8px; }
.account-settings-nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 7px; color: var(--vpsm-muted); font-size: .77rem; font-weight: 650; text-decoration: none; }
.account-settings-nav a > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--vpsm-border); border-radius: 5px; font-size: .61rem; }
.account-settings-nav a:hover, .account-settings-nav a.active { color: var(--vpsm-accent-dark); background: var(--vpsm-accent-soft); }
.account-settings-nav a.active > span { border-color: #b8d9d1; background: #fff; }
.account-manage-content { min-height: 480px; padding: 26px; }
.account-section-heading { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--vpsm-border); }
.account-section-heading h2, .account-manage-content > h3 { margin: 5px 0 6px; color: var(--vpsm-ink); font-size: 1.35rem; font-weight: 750; letter-spacing: -.025em; }
.account-section-heading p { margin: 0; color: var(--vpsm-muted); font-size: .8rem; }
.account-profile-form { max-width: 560px; }
.account-manage-content form:not(.form-inline) { max-width: 560px; }
.account-manage-content .form-floating { margin-bottom: 14px; }
.account-manage-content .form-control { border-color: #cfd8de; border-radius: 7px; }
.account-manage-content .form-control:focus { border-color: var(--vpsm-accent); box-shadow: 0 0 0 3px rgba(20,107,93,.12); }
.account-manage-content .btn-primary { border-color: var(--vpsm-accent-dark); background: var(--vpsm-accent); }
.account-manage-content .nav-pills .nav-link.active { background: var(--vpsm-accent); }
.connected-login-list { display: grid; gap: 10px; }
.connected-login-list > div { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--vpsm-border); border-radius: 8px; }
.connected-login-list > div > span { margin-right: auto; color: var(--vpsm-accent); font-size: .72rem; }
.connected-login-list form { margin: 0; }
.account-security-summary { padding: 18px; border: 1px solid var(--vpsm-border); border-radius: 8px; background: var(--vpsm-surface-soft); }
.account-security-summary p, .account-feature-note { margin: 12px 0 0; color: var(--vpsm-muted); font-size: .8rem; }
.account-data-actions { display: grid; gap: 12px; }
.account-data-actions article { padding: 18px; border: 1px solid var(--vpsm-border); border-radius: 8px; }
.account-data-actions h3 { margin: 0 0 7px; font-size: 1rem; }
.account-data-actions p { color: var(--vpsm-muted); font-size: .8rem; }
.danger-zone { border-color: rgba(184,61,61,.25) !important; }
.danger-notice { color: var(--vpsm-danger); background: rgba(184,61,61,.08); }
.authenticator-steps { display: grid; gap: 10px; margin-bottom: 20px; color: var(--vpsm-muted); font-size: .8rem; }
.recovery-code-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recovery-code-grid code { padding: 10px; border-radius: 6px; color: var(--vpsm-ink); background: var(--vpsm-surface-soft); text-align: center; }

.app-public .legal-hero, .app-public .legal-document { max-width: 980px; margin-right: auto; margin-left: auto; }
.app-public .legal-hero { padding-top: 60px; }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .saas-hero { grid-template-columns: 1fr; }
  .product-preview { max-width: 700px; transform: none; }
  .psm-source-section { grid-template-columns: 1fr; gap: 38px; }
  .psm-source-visual { max-width: 760px; }
}

@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: static; height: auto; padding: 12px 14px; }
  .app-sidebar .app-brand { padding: 0 4px 12px; }
  .app-navigation { grid-template-columns: repeat(2,1fr); }
  .app-navigation-bottom { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 8px; padding-top: 8px; }
  .app-navigation a, .app-nav-disabled { min-height: 38px; }
  .app-nav-disabled { display: none; }
  .app-topbar { min-height: 60px; padding: 0 16px; }
  .workspace-name span, .app-account > div { display: none; }
  .app-account { gap: 8px; }
  .app-logout { display: inline-flex; align-items: center; min-height: 34px; padding: 0 10px; color: #526273; background: #fff; }
  .app-content { min-height: auto; padding: 22px 16px; }
  .app-footer { padding: 15px 16px 22px; }
  .page-heading { align-items: stretch; flex-direction: column; }
  .page-heading > .button-primary, .page-heading > .button-secondary { align-self: flex-start; }
  .enterprise-filter { grid-template-columns: 1fr; }
  .public-nav { grid-template-columns: 1fr auto; }
  .public-nav > nav { display: none; }
  .public-content, .public-nav, .public-footer { width: min(100% - 28px,1180px); }
  .saas-hero { min-height: auto; padding: 50px 0; }
  .saas-hero-copy h1 { font-size: clamp(2.35rem,12vw,3.5rem); }
  .saas-feature-grid { grid-template-columns: 1fr; }
  .saas-section { padding: 54px 0; }
  .psm-source-section { padding: 58px 0; }
  .saas-band { align-items: flex-start; flex-direction: column; padding: 26px; }
  .public-footer { align-items: flex-start; flex-direction: column; }
  .public-footer > div { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .metric-grid { grid-template-columns: 1fr; }
  .app-navigation { grid-template-columns: 1fr 1fr; }
  .nav-symbol { display: none; }
  .app-navigation-bottom { grid-template-columns: 1fr 1fr; }
  .public-account-actions { gap: 6px; }
  .public-account-actions > a:first-child { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 7px; white-space: nowrap; }
  .public-account-actions .public-cta { min-height: 34px; padding: 7px 9px; white-space: nowrap; }
  .public-account-actions a { font-size: .68rem; }
  .saas-actions { align-items: stretch; flex-direction: column; }
  .saas-trust { display: grid; gap: 9px; }
  .product-preview { display: none; }
  .psm-source-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; padding: 11px 14px; }
  .psm-source-visual figcaption { padding: 9px 12px; }
  .preview-metrics { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 5px; }
  .confirmation-panel { align-items: flex-start; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .identity-login-card { padding: 24px 18px; }
  .identity-confirmation-card { padding: 30px 20px; }
  .identity-confirmation-status { grid-template-columns: 32px 1fr; }
  .identity-confirmation-status > b { grid-column: 2; }
  .identity-password-grid { grid-template-columns: 1fr; }
  .account-manage-grid { grid-template-columns: 1fr; }
  .account-manage-navigation-title { padding: 14px; }
  .account-settings-nav { grid-template-columns: 1fr 1fr; }
  .account-settings-nav a { min-height: 38px; }
  .account-manage-content { min-height: 0; padding: 20px 16px; }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Commercial landing page */
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}

.hero-copy h1,
.section-heading h2,
.landing-band h2 {
  letter-spacing: 0;
  color: #122033;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero-lead {
  max-width: 680px;
  color: #4e5b6c;
  font-size: 1.18rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-panel {
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(18, 32, 51, 0.12);
  padding: 1.25rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 1rem;
  color: #506070;
}

.panel-header strong {
  color: #0f766e;
}

.signal-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.signal-list > div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.signal-list p {
  margin: 0;
  color: #526172;
}

.signal-list strong {
  color: #17263a;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.45rem;
}

.signal-dot.success { background: #16a34a; }
.signal-dot.info { background: #2563eb; }
.signal-dot.warning { background: #d97706; }

.landing-section {
  padding: 3rem 0;
}

.landing-section.compact {
  padding-bottom: 4.5rem;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.landing-band h2 {
  margin: 0.65rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
}

.section-heading p {
  color: #526172;
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.feature-card {
  min-height: 230px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  padding: 1.35rem;
  background: #ffffff;
}

.feature-number {
  color: #0f766e;
  font-weight: 800;
}

.feature-card h3 {
  margin: 1rem 0 0.65rem;
  color: #17263a;
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-card p {
  color: #526172;
  line-height: 1.65;
}

.landing-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  border-radius: 8px;
  background: #122033;
  padding: 2rem;
}

.landing-band h2 {
  color: #ffffff;
}

.landing-band .eyebrow {
  color: #5eead4;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.benefit-list span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #eef6ff;
  padding: 0.7rem 0.9rem;
}

@media (max-width: 991px) {
  .landing-hero,
  .landing-band {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .landing-hero {
    padding-top: 2.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .landing-band {
    padding: 1.35rem;
  }
}

/* Plans, checkout and sales */
.subscription-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.subscription-summary > div { padding: .5rem 1rem; border-right: 1px solid #dce3ea; }
.subscription-summary > div:last-child { border-right: 0; }
.subscription-summary span, .order-summary > span, .payment-instructions > span { color: #0f766e; font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.subscription-summary h2 { margin: .4rem 0; color: #17263a; font-weight: 800; }
.subscription-summary strong { display: block; margin: .4rem 0; color: #17263a; font-size: 1.45rem; }
.subscription-summary p { margin: 0; color: #697789; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.plan-card { display: flex; flex-direction: column; min-height: 410px; padding: 1.4rem; border: 1px solid #dce3ea; border-radius: 10px; background: #fff; }
.plan-card.featured { border: 2px solid #00bfae; box-shadow: 0 12px 30px rgba(10, 20, 39, .08); }
.plan-label { color: #0f766e; font-size: .7rem; font-weight: 900; letter-spacing: .08em; }
.plan-card h2 { margin: .8rem 0 .35rem; color: #17263a; font-size: 1.35rem; font-weight: 800; }
.plan-card > p { color: #697789; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: .5rem; margin: 1rem 0; }
.plan-price strong { color: #0a1427; font-size: 2rem; }
.plan-price span { color: #697789; font-size: .82rem; }
.plan-card ul { flex: 1; padding-left: 1.2rem; color: #526172; line-height: 2; }
.plan-action { display: flex; justify-content: center; text-align: center; }
.billing-history { margin-top: 1.25rem; }

.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 1.25rem; align-items: start; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-divider { display: flex; flex-direction: column; gap: .25rem; padding-top: 1rem; border-top: 1px solid #dce3ea; color: #17263a; }
.form-divider small { color: #697789; }
.order-summary, .payment-instructions { position: sticky; top: 1rem; }
.order-summary h2, .payment-instructions h2, .order-detail h2 { margin: .65rem 0 1rem; color: #17263a; font-weight: 800; }
.order-summary > div, .order-detail > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; color: #526172; border-bottom: 1px solid #edf1f4; }
.order-summary .order-total, .order-detail .order-total { margin-top: .5rem; color: #17263a; font-size: 1.1rem; border-bottom: 0; }
.order-summary > small { display: block; margin-top: 1rem; color: #697789; line-height: 1.6; }
.reference-box { margin: 1rem 0; padding: 1rem; border-radius: 8px; background: #e8f8f6; }
.reference-box span { display: block; color: #0f766e; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.reference-box strong { display: block; margin-top: .25rem; color: #0a1427; word-break: break-all; }
.table-input { width: 130px; min-height: 38px; padding: .4rem .55rem; border: 1px solid #cfd8e3; border-radius: 6px; }
.table-actions form { display: inline-flex; align-items: center; gap: .35rem; }
.form-check-row { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: .75rem 0; }
.form-check-row label { display: inline-flex; align-items: center; gap: .5rem; color: #334155; font-weight: 700; }
.form-check-row input { width: 18px; height: 18px; accent-color: #0f766e; }
.delete-summary { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; padding: 1rem; border-radius: 8px; background: #f7f9fb; color: #526172; }
.delete-summary strong { color: #17263a; font-size: 1.1rem; }

@media (max-width: 991px) {
  .plan-grid, .checkout-grid { grid-template-columns: 1fr; }
  .subscription-summary { grid-template-columns: 1fr; }
  .subscription-summary > div { border-right: 0; border-bottom: 1px solid #dce3ea; }
  .subscription-summary > div:last-child { border-bottom: 0; }
  .order-summary, .payment-instructions { position: static; }
}

@media (max-width: 575px) { .form-grid-two { grid-template-columns: 1fr; } }

/* Landing product story */
.lp-hero { display: grid; grid-template-columns: minmax(0,.94fr) minmax(520px,1.06fr); align-items: center; gap: 58px; min-height: 680px; padding: 72px 0 64px; }
.lp-hero-copy h1 { max-width: 690px; margin: 18px 0 22px; color: #081b2d; font-size: clamp(3rem,5.6vw,5.35rem); font-weight: 820; line-height: .98; letter-spacing: -.065em; }
.lp-hero-copy h1 em { color: var(--vpsm-accent); font-style: normal; }
.lp-hero-copy > p { max-width: 610px; margin: 0; color: #536477; font-size: 1.08rem; line-height: 1.72; }
.lp-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #cbe3df; border-radius: 999px; color: #16675f; background: #f0faf8; font-size: .68rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.lp-pill i { width: 7px; height: 7px; border-radius: 50%; background: #14ad9e; box-shadow: 0 0 0 4px #d7f4f0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp-button { min-height: 48px; padding: 13px 20px; border-radius: 8px; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: #68778a; font-size: .72rem; font-weight: 650; }
.lp-proof span::before { margin-right: 7px; color: var(--vpsm-accent); content: "✓"; font-weight: 900; }
.lp-product { overflow: hidden; border: 1px solid #cfdce2; border-radius: 18px; background: #fff; box-shadow: 0 32px 90px rgba(8,27,45,.16); transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.lp-window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 45px; padding: 0 15px; border-bottom: 1px solid #e1e8ec; color: #6e7b89; background: #f8fafb; font-size: .62rem; }
.lp-window-bar > div { display: flex; gap: 5px; }
.lp-window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d4dce1; }
.lp-window-bar b { justify-self: end; color: #078c80; font-size: .61rem; }
.lp-product-body { display: grid; grid-template-columns: 112px 1fr; min-height: 420px; }
.lp-product-body aside { display: flex; flex-direction: column; gap: 8px; padding: 18px 11px; color: #627183; border-right: 1px solid #e5ebee; font-size: .61rem; }
.lp-product-body aside > strong { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 0 14px 8px; border-radius: 9px; color: #fff; background: #0a2033; }
.lp-product-body aside > span { padding: 8px; border-radius: 6px; }
.lp-product-body aside > span.active { color: #087c72; background: #e9f8f5; font-weight: 800; }
.lp-dashboard { min-width: 0; padding: 23px; background: #f7f9fb; }
.lp-dash-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lp-dash-title small { color: #00a99c; font-size: .55rem; font-weight: 850; letter-spacing: .12em; }
.lp-dash-title h2 { margin: 5px 0 0; font-size: 1.05rem; letter-spacing: -.025em; }
.lp-dash-title button { padding: 8px 10px; border: 0; border-radius: 6px; color: #fff; background: var(--vpsm-accent); font-size: .58rem; font-weight: 750; }
.lp-mini-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 22px 0 12px; }
.lp-mini-metrics > div { display: grid; gap: 5px; min-width: 0; padding: 13px; border: 1px solid #e0e7eb; border-radius: 9px; background: #fff; }
.lp-mini-metrics span,.lp-mini-metrics small { color: #748191; font-size: .55rem; }
.lp-mini-metrics strong { font-size: 1.45rem; }
.lp-match-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px solid #dfe7eb; border-radius: 9px; background: #fff; }
.lp-match-card > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lp-company-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 8px; color: #087c72; background: #e5f6f3; font-size: .58rem; font-weight: 850; }
.lp-match-card strong,.lp-match-card small { display: block; }
.lp-match-card strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.lp-match-card small { margin-top: 3px; color: #7a8794; font-size: .5rem; }
.lp-match-card a { color: #078c80; font-size: .57rem; font-weight: 800; white-space: nowrap; }
.lp-example-note { margin: 11px 0 0; color: #8995a1; font-size: .52rem; text-align: right; }
.lp-value-strip { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--vpsm-border); border-bottom: 1px solid var(--vpsm-border); }
.lp-value-strip > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 24px 28px; border-right: 1px solid var(--vpsm-border); }
.lp-value-strip > div:last-child { border-right: 0; }
.lp-value-strip strong { color: #08a99c; font-size: .62rem; }
.lp-value-strip span { color: #657587; font-size: .78rem; }
.lp-value-strip b { color: #12273a; }
.lp-section { padding: 96px 0; }
.lp-section-heading { max-width: 760px; }
.lp-section-heading h2,.lp-source-copy h2,.lp-final h2 { margin: 10px 0 16px; color: #091d2f; font-size: clamp(2.35rem,4.3vw,4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.05em; }
.lp-section-heading > p,.lp-source-copy > p { max-width: 680px; margin: 0; color: #5d6d7e; line-height: 1.75; }
.lp-workflow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 42px; }
.lp-module { min-width: 0; padding: 26px; border: 1px solid #dce5ea; border-radius: 14px; background: #fff; }
.lp-module-label { display: flex; align-items: center; gap: 9px; color: #667789; font-size: .6rem; font-weight: 850; letter-spacing: .1em; }
.lp-module-label span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; color: #087d73; background: #e6f7f4; letter-spacing: 0; }
.lp-module h3 { margin: 24px 0 9px; color: #102539; font-size: 1.15rem; }
.lp-module > p { min-height: 66px; margin: 0; color: #657587; font-size: .8rem; line-height: 1.65; }
.lp-list-demo { display: grid; gap: 8px; margin-top: 22px; }
.lp-list-demo > div { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid #e4eaed; border-radius: 8px; }
.lp-list-demo i { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; color: #087d73; background: #e8f7f5; font-size: .52rem; font-style: normal; font-weight: 800; }
.lp-list-demo b,.lp-list-demo small { display: block; }
.lp-list-demo b { font-size: .65rem; }
.lp-list-demo small { margin-top: 3px; color: #16977f; font-size: .5rem; }
.lp-list-demo em { color: #8a96a2; font-style: normal; }
.lp-document-demo { margin-top: 22px; padding: 17px; border-left: 3px solid #00a99c; border-radius: 4px 9px 9px 4px; background: #f4f8fa; }
.lp-document-demo > span { color: #11897e; font-size: .53rem; font-weight: 850; letter-spacing: .09em; }
.lp-document-demo > strong { display: block; margin: 7px 0 14px; font-size: .9rem; }
.lp-document-demo dl { display: grid; gap: 7px; margin: 0 0 14px; }
.lp-document-demo dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: .58rem; }
.lp-document-demo dt { color: #7a8794; font-weight: 500; }.lp-document-demo dd { margin: 0; font-weight: 700; text-align: right; }
.lp-document-demo > b { color: #078c80; font-size: .6rem; }
.lp-message-demo { margin-top: 22px; padding: 17px; border: 1px solid #dfe7eb; border-radius: 12px; background: #f8fafb; box-shadow: 0 12px 30px rgba(11,29,45,.07); }
.lp-message-head { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 9px; }
.lp-message-head > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; background: #0a2033; font-size: .65rem; font-weight: 850; }
.lp-message-head b,.lp-message-head small { display: block; }.lp-message-head b { font-size: .65rem; }.lp-message-head small,.lp-message-head time { color: #85919c; font-size: .51rem; }
.lp-message-demo > p { margin: 16px 0 12px; color: #5b6b7b; font-size: .68rem; line-height: 1.55; }
.lp-message-demo > a { display: block; padding: 9px; border-radius: 6px; color: #fff; background: #00a99c; font-size: .58rem; font-weight: 800; text-align: center; }
.lp-phone { position: relative; width: min(230px,100%); height: 292px; margin: 22px auto -27px; padding: 8px; border: 3px solid #142332; border-radius: 31px 31px 0 0; color: #fff; background: #071421; box-shadow: 0 18px 42px rgba(8,27,45,.2); overflow: hidden; }
.lp-phone-speaker { position: absolute; z-index: 3; top: 13px; left: 50%; width: 64px; height: 17px; border-radius: 999px; background: #071421; transform: translateX(-50%); }
.lp-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 21px 21px 0 0; background: radial-gradient(circle at 76% 18%,rgba(21,176,163,.6),transparent 26%),radial-gradient(circle at 18% 75%,rgba(31,86,119,.75),transparent 34%),linear-gradient(145deg,#102a3c,#071421 65%); }
.lp-phone-status { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 9px 14px 0; font-size: .49rem; }
.lp-phone-status span { letter-spacing: .08em; }
.lp-phone-wallpaper { display: grid; justify-items: center; padding-top: 28px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.lp-phone-time { font-size: 2.25rem; font-weight: 300; letter-spacing: -.06em; line-height: 1; }.lp-phone-wallpaper small { margin-top: 5px; font-size: .48rem; }
.lp-phone-notification { display: grid; grid-template-columns: 28px 1fr; gap: 8px; margin: 22px 9px 0; padding: 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 13px; color: #17263a; background: rgba(255,255,255,.91); box-shadow: 0 9px 24px rgba(0,0,0,.2); backdrop-filter: blur(14px); }
.lp-wa-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; background: #23b864; font-size: .85rem; font-weight: 900; }
.lp-phone-message { min-width: 0; }.lp-phone-message > div { display: flex; justify-content: space-between; gap: 5px; color: #637080; font-size: .39rem; letter-spacing: .025em; }.lp-phone-message time { white-space: nowrap; }.lp-phone-message > strong { display: block; margin-top: 6px; font-size: .56rem; }.lp-phone-message p { margin: 3px 0 0; color: #4f5e6e; font-size: .47rem; line-height: 1.35; }
.lp-phone-caption { position: absolute; right: 0; bottom: 12px; left: 0; color: rgba(255,255,255,.6); font-size: .43rem; text-align: center; }
.lp-phone-home { position: absolute; z-index: 3; bottom: 6px; left: 50%; width: 72px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.76); transform: translateX(-50%); }
.lp-source { display: grid; grid-template-columns: minmax(340px,.78fr) minmax(0,1.22fr); align-items: center; gap: 62px; border-top: 1px solid var(--vpsm-border); }
.lp-source-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 18px; padding: 0; margin: 28px 0; list-style: none; }
.lp-source-copy li { color: #344a5e; font-size: .78rem; }.lp-source-copy li::before { margin-right: 8px; color: #00a99c; content: "✓"; font-weight: 900; }
.lp-source-copy > a { color: #087d73; font-size: .78rem; font-weight: 800; text-decoration: none; }
.lp-source-visual { margin: 0; overflow: hidden; border: 1px solid #d5e0e5; border-radius: 14px; box-shadow: 0 24px 70px rgba(8,27,45,.12); }
.lp-source-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; color: #667789; background: #f7f9fa; font-size: .62rem; }
.lp-source-top i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #18a87b; }.lp-source-top b { color: #087d73; }
.lp-source-visual img { display: block; width: 100%; }.lp-source-visual figcaption { padding: 10px 15px; color: #7d8995; background: #fff; font-size: .58rem; }
.lp-plans { border-top: 1px solid var(--vpsm-border); }
.lp-plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 42px; }
.lp-plan-grid article { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid #d9e3e8; border-radius: 14px; background: #fff; }
.lp-plan-grid article.featured { border: 2px solid #00a99c; box-shadow: 0 20px 55px rgba(0,169,156,.1); }
.lp-plan-grid article > span { color: #087d73; font-size: .61rem; font-weight: 850; letter-spacing: .11em; }
.lp-plan-grid article > b { position: absolute; top: 19px; right: 20px; padding: 5px 8px; border-radius: 999px; color: #fff; background: #00a99c; font-size: .5rem; letter-spacing: .06em; }
.lp-plan-grid h3 { min-height: 48px; margin: 18px 0; font-size: 1.05rem; }.lp-plan-grid article > div { display: flex; align-items: baseline; gap: 7px; }.lp-plan-grid article > div strong { font-size: 2.15rem; }.lp-plan-grid article > div small { color: #73808e; font-size: .62rem; }
.lp-plan-grid article > p { margin: 13px 0; color: #3d5367; font-size: .78rem; font-weight: 750; }.lp-plan-grid ul { flex: 1; padding: 15px 0 20px; margin: 0; border-top: 1px solid #e5eaed; list-style: none; }.lp-plan-grid li { padding: 6px 0; color: #657587; font-size: .72rem; }.lp-plan-grid li::before { margin-right: 8px; color: #00a99c; content: "✓"; font-weight: 900; }.lp-plan-grid a { justify-content: center; text-align: center; }
.lp-final { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 74px; padding: 48px; border-radius: 18px; color: #fff; background: radial-gradient(circle at 90% 10%,#16475a 0,transparent 34%),linear-gradient(125deg,#081a2c,#0c2b3e); }
.lp-final .page-kicker { color: #48d8cc; }.lp-final h2 { margin-bottom: 12px; color: #fff; }.lp-final p { margin: 0; color: #bdcad4; }

@media (max-width: 1050px) { .lp-hero { grid-template-columns: 1fr; }.lp-product { max-width: 760px; transform: none; }.lp-workflow-grid,.lp-plan-grid { grid-template-columns: 1fr 1fr; }.lp-workflow-grid article:last-child,.lp-plan-grid article:last-child { grid-column: 1 / -1; }.lp-source { grid-template-columns: 1fr; }.lp-source-visual { max-width: 800px; } }
@media (max-width: 760px) { .lp-hero { min-height: auto; padding: 54px 0; }.lp-hero-copy h1 { font-size: clamp(2.8rem,13vw,4.3rem); }.lp-value-strip,.lp-workflow-grid,.lp-plan-grid { grid-template-columns: 1fr; }.lp-value-strip > div { border-right: 0; border-bottom: 1px solid var(--vpsm-border); }.lp-workflow-grid article:last-child,.lp-plan-grid article:last-child { grid-column: auto; }.lp-section { padding: 66px 0; }.lp-final { align-items: flex-start; flex-direction: column; padding: 30px; } }
@media (max-width: 540px) { .lp-product-body { grid-template-columns: 1fr; }.lp-product-body aside { display: none; }.lp-dashboard { padding: 16px; }.lp-mini-metrics { grid-template-columns: 1fr; }.lp-mini-metrics > div { grid-template-columns: 1fr auto; }.lp-mini-metrics small { grid-column: 1 / -1; }.lp-match-card { align-items: flex-start; flex-direction: column; }.lp-source-copy ul { grid-template-columns: 1fr; }.lp-actions { flex-direction: column; }.lp-actions a { justify-content: center; text-align: center; } }

/* Legal documents */
.legal-hero {
  padding: 3.5rem 0 2rem;
  max-width: 900px;
}

.legal-hero h1 {
  margin: 0.65rem 0 0.8rem;
  color: #122033;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.legal-hero p {
  color: #526172;
  font-size: 1.1rem;
  line-height: 1.7;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.legal-actions .button-primary,
.legal-actions .button-secondary {
  min-height: 44px;
  padding: 0 18px;
}

.legal-document {
  border-top: 1px solid #dce3ea;
  padding: 2.5rem 0;
}

.legal-document-header {
  max-width: 850px;
  margin-bottom: 1.5rem;
}

.legal-document-header h2 {
  margin: 0.45rem 0;
  color: #122033;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
}

.legal-document-header p {
  color: #697789;
}

.legal-block {
  max-width: 920px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #ffffff;
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.legal-block h3 {
  color: #17263a;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.legal-block p,
.legal-block li {
  color: #526172;
  line-height: 1.68;
}

.legal-block ul {
  margin-bottom: 0.75rem;
  padding-left: 1.2rem;
}

@media (max-width: 575px) {
  .legal-actions .button-primary,
  .legal-actions .button-secondary {
    width: 100%;
  }

  .legal-block {
    padding: 1rem;
  }
}
