:root {
  color-scheme: light;
  --r-card: 16px;
  --r-ctl: 10px;
  --r-chip: 8px;
  --r-pill: 999px;
  --ink: #241e33;
  --muted: #5f5775;
  --muted-2: #7c7490;
  --brand: #6a45f5;
  --brand-hover: #5a38e0;
  --brand-soft: #eee8ff;
  --line: #e4ddd0;
  --line-strong: #d4cbb8;
  --bg: #efeae1;
  --surface: #fbf8f3;
  --surface-raised: #fefdfb;
  --subtle: #f1ebe0;
  --sidebar: #f6f2ea;
  --sidebar-hover: #f1ebe0;
  --positive: #0e9f6e;
  --positive-bg: #e6f6ee;
  --danger: #d63a56;
  --danger-bg: #fdecee;
  --warning: #9a6700;
  --warning-bg: #fff4d6;
  --shadow-sm: 0 1px 2px rgba(36, 30, 51, .06);
  --shadow-lg: 0 24px 60px rgba(36, 30, 51, .12);
  --login-bg: #070817;
  --login-text: #f8f7ff;
  --login-text-soft: #aaa6bd;
  --login-text-muted: #8f8a9f;
  --login-accent: #8b5cf6;
  --login-accent-soft: #a971ff;
  --login-accent-deep: #7c3aed;
  --login-button-start: #6d35f2;
  --login-button-mid: #893eff;
  --login-button-end: #a849ec;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f0eef7;
  --muted: #9891b0;
  --muted-2: #ada5c2;
  --brand: #7c5cff;
  --brand-hover: #9e82ff;
  --brand-soft: rgba(124, 92, 255, .16);
  --line: #272138;
  --line-strong: #3a3155;
  --bg: #0b0a12;
  --surface: #232136;
  --surface-raised: #2a273f;
  --subtle: #1a1727;
  --sidebar: #1a1727;
  --sidebar-hover: #231e33;
  --positive: #3ddc97;
  --positive-bg: rgba(61, 220, 151, .12);
  --danger: #ff6b81;
  --danger-bg: rgba(255, 107, 129, .12);
  --warning: #f7b955;
  --warning-bg: rgba(247, 185, 85, .14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
}
* {
  box-sizing: border-box;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
h1,
h2,
h3,
h4 {
  letter-spacing: normal;
  text-wrap: balance;
  color: var(--ink);
}
h1 {
  font-size: 30px;
  font-weight: 650;
  margin: 4px 0 8px;
}
h2 {
  font-size: 21px;
  font-weight: 650;
}
h3 {
  font-size: 17px;
  font-weight: 650;
}
p {
  color: var(--muted);
  text-wrap: pretty;
}
a {
  color: var(--brand);
}
.layout {
  grid-template-columns: 232px minmax(0, 1fr);
}
.sidebar {
  width: 232px;
  background: var(--surface);
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  gap: 28px;
}
.brand {
  font-size: 25px;
  color: var(--ink);
  gap: 11px;
  padding: 0 10px;
}
.brand svg {
  width: 29px;
  height: 29px;
}
.brand svg path {
  stroke: var(--brand);
}
.brand svg path + path {
  fill: var(--brand);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: normal;
  font-weight: 650;
  color: var(--muted);
}
.sidebar > .eyebrow {
  margin: 0 12px -18px;
}
.sidebar nav {
  gap: 5px;
}
.nav-link {
  color: var(--muted);
  font-size: 13px;
  padding: 11px 13px;
  border-radius: 7px;
  font-weight: 500;
}
.nav-link:hover {
  background: var(--subtle);
  color: var(--ink);
}
.nav-link[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}
.session {
  border-top: 1px solid var(--line);
  padding: 22px 10px 0;
}
.session p {
  color: var(--ink);
  font-size: 12px;
}
.session a {
  color: var(--muted);
  font-size: 12px;
}
.sidebar .button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
  min-height: 34px;
  font-size: 12px;
}
.main {
  padding: 25px clamp(22px, 3vw, 48px) 48px;
  max-width: 1560px;
}
.topbar {
  min-height: 49px;
  padding-bottom: 19px;
  margin-bottom: 30px;
}
.heading {
  margin-bottom: 29px;
}
.heading > p {
  font-size: 14px;
  margin: 0;
}
.topbar span {
  font-size: 12px;
}
.theme-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  padding: 8px 11px;
  cursor: pointer;
  font-size: 12px;
}
.card,
.stat,
.module-edit,
.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 2px #00000004;
}
.card {
  padding: 24px;
}
.stat {
  padding: 21px;
}
.stat strong {
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.stats {
  gap: 14px;
  margin-bottom: 25px;
}
.card-heading {
  margin-bottom: 20px;
}
.module-card:hover {
  border-color: var(--brand);
}
.module-mark,
.product-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}
.module-card h2 {
  font-size: 17px;
}
.module-card p {
  font-size: 12px;
}
.badge {
  background: var(--subtle);
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  padding: 4px 9px;
}
.badge.positive {
  background: var(--positive-bg);
  color: var(--positive);
}
.button {
  background: var(--brand);
  color: #fff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  min-height: 40px;
  padding: 9px 15px;
}
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.button:hover {
  filter: none;
  opacity: 0.9;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
label {
  font-size: 12px;
  font-weight: 550;
  color: var(--ink);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 13px;
  min-height: 41px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 7px;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
}
input[type="checkbox"] {
  appearance: auto;
  display: inline-block;
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--brand);
  flex: none;
}
label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
  font-weight: 400;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
fieldset:disabled {
  opacity: 0.5;
}
legend {
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0;
}
.form-grid {
  gap: 18px;
}
.notice {
  background: var(--brand-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 12px;
  border-radius: 8px;
}
.notice.error {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: var(--danger);
}
.notice.success {
  background: var(--positive-bg);
  color: var(--positive);
}
th {
  background: var(--subtle);
  color: var(--muted);
}
td,
th {
  font-size: 12px;
  padding: 14px 13px;
  font-variant-numeric: tabular-nums;
}
tbody tr:hover {
  background: var(--subtle);
}
.member > summary {
  background: var(--surface);
}
.hint {
  font-size: 12px;
}
.empty {
  padding: 50px 22px;
}
.empty .product-icon {
  margin-bottom: 16px;
}
.empty p {
  font-size: 13px;
}
.empty .button {
  margin-top: 12px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading p {
  font-size: 13px;
  margin: 5px 0 0;
}
.section-heading h2,
.section-heading h3 {
  margin: 0;
}
.catalog-toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.catalog-toolbar input {
  max-width: 350px;
  margin: 0;
}
.catalog-toolbar > span {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.plan-card .section-heading {
  margin-bottom: 20px;
}
.plan-card h3 {
  font-size: 21px;
  margin: 0 0 7px;
}
.plan-description {
  font-size: 13px;
  min-height: 39px;
  margin: 0 0 18px;
}
.plan-price {
  font-size: 32px;
  font-weight: 650;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 6px 0 24px;
}
.plan-price small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.summary-products {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.summary-products > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding: 7px 0;
}
.summary-products strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
}
.plan-card footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

/* Central business and operational control plane. */
.control-plane{display:grid;gap:20px}.cp-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.cp-head h2,.cp-head p{margin:0}.cp-head label{min-width:260px;margin:0}.cp-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:3px}.cp-tabs button,.cp-chips button{border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);padding:10px 14px;white-space:nowrap;cursor:pointer}.cp-tabs button[aria-current="page"]{border-color:var(--brand);background:var(--brand-soft);color:var(--brand);font-weight:700}.cp-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cp-stats button{min-height:128px;padding:20px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);cursor:pointer}.cp-stats button:hover{border-color:var(--brand)}.cp-stats span,.cp-stats small{display:block;color:var(--muted)}.cp-stats strong{display:block;margin:8px 0;font-size:28px}.cp-health{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.cp-health article{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--subtle)}.cp-health article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.cp-health dl{display:grid;grid-template-columns:1fr auto;gap:6px;margin:18px 0}.cp-health dt{color:var(--muted)}.cp-health dd{margin:0;font-weight:650}.cp-row{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.cp-row small{margin-top:3px}.cp-badge{display:inline-flex;width:max-content;border-radius:999px;padding:4px 9px;background:var(--subtle);color:var(--muted);font-size:12px;font-weight:700}.cp-badge.active,.cp-badge.healthy,.cp-badge.paid,.cp-badge.resolved{background:var(--positive-bg);color:var(--positive)}.cp-badge.critical,.cp-badge.down,.cp-badge.past_due,.cp-badge.uncollectible{background:var(--danger-bg);color:var(--danger)}.cp-badge.warning,.cp-badge.degraded,.cp-badge.trialing,.cp-badge.open,.cp-badge.stale{background:#fff5d8;color:#7c5b00}.cp-form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto;align-items:end;gap:12px}.cp-form label{margin:0}.cp-form .button{margin:0 0 1px}.cp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.cp-empty{padding:36px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px}.control-plane table select{min-width:150px;margin:0}.control-plane .notice{display:flex;align-items:start;justify-content:space-between;gap:16px}.control-plane .notice button{border:0;background:none;color:inherit;font-size:20px;cursor:pointer}.control-plane code{color:var(--brand)}
@media(max-width:1100px){.cp-stats,.cp-health{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-form{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-form .button{align-self:end}}
@media(max-width:700px){.cp-head{align-items:stretch;flex-direction:column}.cp-head label{min-width:0}.cp-stats,.cp-health,.cp-form{grid-template-columns:1fr}.cp-stats button{min-height:105px}}
.plan-card footer .button:first-of-type {
  margin-left: auto;
}
.plan-card footer small {
  color: var(--muted);
  font-size: 11px;
}
.plan-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 24px;
  align-items: start;
}
.plan-main {
  min-width: 0;
}
.plan-summary {
  position: sticky;
  top: 24px;
}
.plan-summary h2 {
  overflow-wrap: anywhere;
}
.plan-summary .button {
  width: 100%;
  margin-top: 14px;
}
.button.danger {
  background: #a82f42;
  color: #fff;
  border-color: #a82f42;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}
.step-title > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
}
.step-title h3 {
  margin: 0;
}
.step-title p {
  font-size: 12px;
  margin: 4px 0 0;
}
.product-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
}
.product-tab {
  padding: 13px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.product-tab strong {
  font-size: 11px;
  font-weight: 600;
}
.product-tab small {
  font-size: 10px;
  color: var(--muted);
}
.product-tab.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.product-detail {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.product-detail .section-heading {
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.check-row {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  margin: 0;
  padding: 11px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.product-detail h4 {
  margin: 23px 0 5px;
  font-size: 13px;
}
.limits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.product-detail .hint {
  margin: 0 0 8px;
}
.assignment {
  border-left: 3px solid var(--brand);
}
.plan-main .card:last-child {
  margin-bottom: 0;
}
.skeleton {
  min-height: 200px;
  background: var(--subtle);
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 430px;
  width: calc(100% - 32px);
  padding: 26px;
}
dialog::backdrop {
  background: #0008;
}
dialog .dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
@media (min-width: 1500px) {
  .plan-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .plan-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-summary {
    position: static;
    max-width: none;
  }
  .plan-summary .summary-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    font-size: 23px;
  }
  .sidebar > .eyebrow {
    display: none;
  }
  .sidebar .session {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .session .eyebrow,
  .session p {
    display: none;
  }
  .session form {
    display: flex;
    margin: 0;
  }
  .session a,
  .session .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 40px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 11px;
    white-space: nowrap;
    text-decoration: none;
  }
  .sidebar nav {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    gap: 4px;
    margin-top: 4px;
  }
  .nav-link {
    font-size: 12px;
    padding: 9px 10px;
  }
  .main {
    padding: 20px 16px 35px;
  }
  .topbar {
    margin-bottom: 23px;
  }
  .topbar span:first-child {
    display: block;
    font-size: 10px;
  }
  .topbar span:last-child {
    display: none;
  }
  .heading {
    margin-bottom: 25px;
  }
  h1 {
    font-size: 25px;
  }
  .card {
    padding: 20px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .plan-cards {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .catalog-toolbar input {
    max-width: none;
  }
  .catalog-toolbar > span {
    margin-left: 0;
  }
  .product-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-grid,
  .limits-grid {
    grid-template-columns: 1fr;
  }
  .plan-summary .summary-products {
    display: block;
  }
  .plan-editor-grid {
    gap: 20px;
  }
  .form-grid {
    gap: 0;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 26px;
  }
  .theme-button {
    min-height: 36px;
  }
  .plan-price {
    font-size: 30px;
  }
}

.auth-shell {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 40px 20px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 5px 20px #00000005;
}
.auth-card .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 30px;
  padding: 0;
}
.auth-core {
  font-size: 9px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-weight: 600;
}
.auth-card h1 {
  font-size: 23px;
}
.auth-card > p {
  font-size: 13px;
}
.auth-card label {
  margin-top: 20px;
}
.auth-card .button {
  width: 100%;
  margin-top: 24px;
}
.auth-card .auth-footnote {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 26px;
  font-size: 11px;
  text-align: center;
}
.auth-theme {
  position: absolute;
  top: 24px;
  right: 24px;
}
.auth-card .account {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--subtle);
  color: var(--ink);
  cursor: pointer;
  margin-top: 10px;
}
.auth-card [role="alert"] {
  color: var(--danger);
}
@media (max-width: 480px) {
  .auth-card {
    padding: 26px;
  }
  .auth-shell {
    padding: 75px 16px 30px;
  }
  .auth-theme {
    top: 16px;
    right: 16px;
  }
}

/* Prisma house — same graphite-violet family as Track. */
html{background:var(--bg);scrollbar-color:var(--line-strong) transparent}
body{min-width:320px;background:var(--bg);color:var(--ink);font:13.5px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.006em}
::selection{background:color-mix(in srgb,var(--brand) 28%,transparent)}
h1,h2,h3,h4{color:var(--ink);text-wrap:balance}h1{font-size:28px;font-weight:650;letter-spacing:-.035em}h2{font-size:18px;font-weight:630;letter-spacing:-.02em}h3{font-size:15px;font-weight:630}p{color:var(--muted)}
.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh;background:var(--bg)}
.sidebar{position:sticky;z-index:20;top:0;width:244px;height:100dvh;padding:18px 12px 14px;border-right:1px solid var(--line);background:var(--sidebar);color:var(--ink);gap:0;box-shadow:none}
.sidebar>.brand,.auth-card>.brand{display:flex;align-items:center;gap:10px;height:42px;padding:4px 8px;margin:0;color:var(--ink);font-size:16px;font-weight:680;letter-spacing:-.025em;text-decoration:none}
.sidebar>.brand img,.auth-card>.brand img{width:27px;height:27px;border-radius:7px;box-shadow:0 4px 14px rgba(109,93,252,.16)}
.sidebar>.brand span,.auth-card>.brand>span:nth-child(2){font-weight:700}.sidebar>.brand em,.auth-core{margin-left:auto;padding:2px 5px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:8px;font-style:normal;font-weight:700;letter-spacing:.09em}
.sidebar>.eyebrow{display:none}.sidebar nav{display:flex;flex-direction:column;gap:2px;margin-top:14px;overflow:auto;padding:0 2px 12px}
.nav-group{display:block;padding:16px 9px 5px;color:var(--muted-2);font-size:9px;font-weight:720;letter-spacing:.095em;text-transform:uppercase}
.nav-link{position:relative;display:flex;align-items:center;gap:10px;min-height:34px;padding:7px 9px;border:1px solid transparent;border-radius:6px;color:var(--muted);font-size:12.5px;font-weight:510;letter-spacing:-.006em;transition:background .13s ease,color .13s ease,border-color .13s ease}
.nav-link svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;opacity:.82}.nav-link[data-section="overview"] svg{fill:currentColor;stroke:none}
.nav-link:hover{background:var(--sidebar-hover);color:var(--ink);text-decoration:none}.nav-link[aria-current]{border-color:var(--line);background:var(--surface-raised);color:var(--ink);box-shadow:var(--shadow-sm)}.nav-link[aria-current] svg{color:var(--brand);opacity:1}
.sidebar .session{margin-top:auto;padding:12px 8px 2px;border-top:1px solid var(--line);font-size:11px}.sidebar .session>div{min-width:0}.sidebar .session .eyebrow{display:none}.sidebar .session p{margin:0 0 8px;color:var(--ink);font-size:11px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar .session a{color:var(--muted);font-size:11px}.sidebar .session form{margin-top:10px}.sidebar .session .button{width:100%;min-height:31px;padding:5px 9px;background:transparent;border-color:var(--line);color:var(--muted);font-size:11px}.sidebar .session .button:hover{background:var(--sidebar-hover);color:var(--ink)}
.main{width:100%;max-width:1480px;margin:0 auto;padding:0 clamp(24px,4vw,64px) 72px}.topbar{position:sticky;z-index:15;top:0;min-height:58px;margin:0 -2px 38px;padding:0 2px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.topbar span{color:var(--muted);font-size:11.5px}.theme-button{min-height:30px;padding:5px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:11px;box-shadow:var(--shadow-sm)}.theme-button:hover{border-color:var(--line-strong);color:var(--ink)}
.heading{margin:0 0 28px}.heading .eyebrow{margin-bottom:7px;color:var(--brand);font-size:9px;font-weight:720;letter-spacing:.11em}.heading h1{margin:0 0 7px}.heading p{margin:0;font-size:13px}
.card,.stat{border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.card{padding:22px;margin-bottom:16px}.card-heading{margin-bottom:17px}.stats{gap:10px;margin-bottom:16px}.stat{padding:18px}.stat span{font-size:11.5px}.stat strong{margin-top:8px;font-size:27px;font-weight:620;letter-spacing:-.035em}
.module-grid{gap:10px;margin-bottom:16px}.module-grid .card{border-radius:9px}.module-card{position:relative;padding:18px}.module-card:hover{border-color:var(--line-strong);background:var(--surface-raised)}.module-mark{width:34px;height:34px;border:1px solid color-mix(in srgb,var(--brand) 24%,var(--line));border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:10px}.module-card h2{margin:13px 0 6px;font-size:15px}.module-card p{margin-bottom:0;font-size:11.5px}
.button{min-height:34px;padding:7px 12px;border-radius:6px;background:var(--brand);color:#fff;font-size:12px;font-weight:590;box-shadow:0 1px 2px rgba(0,0,0,.08);transition:background .12s ease,border-color .12s ease,transform .12s ease}.button:hover{background:var(--brand-hover);filter:none;text-decoration:none}.button:active{transform:translateY(1px)}.button.secondary{border-color:var(--line);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.button.secondary:hover{border-color:var(--line-strong);background:var(--subtle)}.button.danger{background:var(--danger);border-color:var(--danger);color:#fff}.button.danger.secondary,.button.danger.subtle{background:transparent;color:var(--danger)}
label{margin:10px 0;color:var(--ink);font-size:11.5px;font-weight:590}input,select,textarea{min-height:36px;margin-top:5px;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:12.5px;box-shadow:inset 0 1px rgba(0,0,0,.02);transition:border-color .12s ease,box-shadow .12s ease}input:hover,select:hover,textarea:hover{border-color:var(--line-strong)}input:focus,select:focus,textarea:focus{outline:0;border-color:color-mix(in srgb,var(--brand) 62%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}input[type="checkbox"]{width:15px;height:15px;min-height:0;margin:0;accent-color:var(--brand);box-shadow:none}
.notice{margin:14px 0;padding:11px 13px;border:1px solid var(--line);border-radius:7px;background:var(--brand-soft);color:var(--ink);font-size:11.5px}.notice.error{border-color:color-mix(in srgb,var(--danger) 36%,var(--line));background:var(--danger-bg);color:var(--danger)}.notice.success{border-color:color-mix(in srgb,var(--positive) 34%,var(--line));background:var(--positive-bg);color:var(--positive)}.badge,.cp-badge{padding:3px 7px;border:1px solid var(--line);border-radius:999px;background:var(--subtle);font-size:10px;font-weight:620}
.table-scroll{border:1px solid var(--line);border-radius:8px}.table-scroll table{border-collapse:separate;border-spacing:0}.table-scroll th{height:36px;padding:9px 12px;border-bottom:1px solid var(--line);background:var(--subtle);color:var(--muted);font-size:10px;font-weight:620;letter-spacing:.02em}.table-scroll td{height:43px;padding:10px 12px;border-bottom:1px solid var(--line);font-size:11.5px}.table-scroll tbody tr:last-child td{border-bottom:0}.table-scroll tbody tr:hover{background:color-mix(in srgb,var(--subtle) 65%,transparent)}.table-scroll td a{color:var(--ink);font-weight:590}.table-scroll td a:hover{color:var(--brand)}
.member,.module-edit{border-color:var(--line);border-radius:8px}.member>summary{padding:14px}.member-body{padding:16px}.empty,.cp-empty{padding:38px 18px;border:1px dashed var(--line);border-radius:8px;background:color-mix(in srgb,var(--subtle) 35%,transparent);color:var(--muted)}
.section-heading{margin-bottom:18px}.section-heading p{font-size:11.5px}.catalog-toolbar{gap:10px;margin-bottom:16px}.catalog-toolbar input{max-width:320px}.plan-cards{gap:12px}.plan-card{padding:19px;border-radius:9px}.plan-card h3{font-size:16px;letter-spacing:-.02em}.plan-description{min-height:35px;font-size:11.5px}.plan-price{margin:2px 0 17px;font-size:27px}.summary-products{margin-bottom:16px;padding:12px 0}.summary-products>div{padding:5px 0}.plan-editor-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.plan-summary{top:76px}.step-title{gap:10px;margin-bottom:18px}.step-title>span{width:28px;height:28px;border-radius:6px}.product-selector{gap:6px;margin-bottom:18px}.product-tab{min-height:82px;padding:11px 7px;border-radius:7px}.product-tab:hover{border-color:var(--line-strong);background:var(--subtle)}.product-tab.selected{border-color:color-mix(in srgb,var(--brand) 55%,var(--line));background:var(--brand-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 12%,transparent)}.product-icon{width:32px!important;height:32px!important;border-radius:7px!important}.product-detail{padding-top:18px}.check-row{padding:8px 0}.feature-grid{gap:0 18px}.limits-grid{gap:10px}.assignment{border-left:2px solid var(--brand)}
.control-plane{gap:14px}.cp-head{padding:0 0 3px}.cp-head h2{font-size:18px}.cp-head p{margin-top:4px;font-size:11.5px}.cp-tabs{gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--subtle)}.cp-tabs button{min-height:30px;padding:5px 10px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px}.cp-tabs button:hover{color:var(--ink)}.cp-tabs button[aria-current="page"]{border:0;background:var(--surface);color:var(--ink);box-shadow:var(--shadow-sm)}.cp-stats{gap:10px}.cp-stats button{min-height:106px;padding:17px;border-radius:9px}.cp-stats button:hover{border-color:var(--line-strong);background:var(--surface-raised)}.cp-stats span,.cp-stats small{font-size:10.5px}.cp-stats strong{font-size:25px}.cp-health{gap:10px}.cp-health article{padding:15px;border-radius:8px;background:var(--surface)}.cp-health dl{margin:14px 0;font-size:11px}.cp-form{gap:10px}.cp-chips button{padding:6px 9px;border-radius:6px;font-size:10.5px}
dialog{padding:22px;border-color:var(--line);border-radius:10px;box-shadow:var(--shadow-lg)}dialog::backdrop{background:rgba(0,0,0,.58);backdrop-filter:blur(2px)}
.auth-shell{position:relative;display:grid;place-items:center;min-height:100dvh;padding:clamp(28px,5vh,64px) clamp(20px,6vw,80px);color:var(--login-text);background-color:var(--login-bg);background-image:radial-gradient(circle at 8% 46%,rgba(124,58,237,.34),transparent 28%),radial-gradient(circle at 92% 88%,rgba(94,42,225,.22),transparent 30%),radial-gradient(circle at 55% 30%,rgba(72,38,150,.12),transparent 36%),linear-gradient(rgba(145,115,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(145,115,255,.04) 1px,transparent 1px);background-size:auto,auto,auto,40px 40px,40px 40px;overflow:hidden}.auth-shell::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(199,186,255,.28) .7px,transparent .8px);background-size:23px 23px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 78%);opacity:.45;pointer-events:none}.auth-shell::after{content:"";position:absolute;left:-18vw;top:6vh;width:min(760px,58vw);height:min(760px,58vw);border:1px solid rgba(150,115,255,.13);border-radius:50%;box-shadow:0 0 60px rgba(124,58,237,.08);pointer-events:none}.auth-layout{position:relative;z-index:1;width:min(1080px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);align-items:center;gap:clamp(48px,9vw,120px)}.auth-story{min-width:0}.auth-story .brand{display:flex;align-items:center;gap:10px;height:auto;margin:0 0 48px;padding:0;color:var(--login-text);font-size:20px;font-weight:700;letter-spacing:-.03em;text-decoration:none}.auth-story .brand img{width:32px;height:32px;border-radius:10px;box-shadow:0 0 24px rgba(124,92,255,.35)}.auth-story .auth-core{margin-left:2px;padding:3px 6px;border:1px solid rgba(169,113,255,.35);border-radius:6px;color:var(--login-accent-soft);font-size:8px;letter-spacing:.1em}.auth-story h2{margin:0;color:var(--login-text);font-size:clamp(36px,4vw,52px);font-weight:720;line-height:1.08;letter-spacing:-1.6px}.auth-story h2 em{color:var(--login-accent-soft);font-style:normal;text-shadow:0 0 28px rgba(124,58,237,.28)}.auth-story p{max-width:420px;margin:22px 0 0;padding-left:16px;border-left:2px solid var(--login-accent-deep);color:var(--login-text-soft);font-size:16px;line-height:1.55}.auth-card{position:relative;width:100%;max-width:none;padding:32px 28px;border:1px solid rgba(169,113,255,.18);border-radius:var(--r-card);background:rgba(16,14,28,.72);box-shadow:0 24px 80px rgba(0,0,0,.45);backdrop-filter:blur(22px)}.auth-card>.brand{display:none}.auth-heading>span{display:block;margin-bottom:8px;color:var(--login-accent-soft);font-size:9px;font-weight:720;letter-spacing:.14em}.auth-card h1{margin:0 0 8px;color:var(--login-text);font-size:22px}.auth-card>p{margin:0 0 22px;color:var(--login-text-soft);font-size:13px}.auth-card label{margin-top:15px;color:var(--login-text-muted);font-size:11px;letter-spacing:.04em;text-transform:uppercase}.auth-card input{min-height:42px;border-color:rgba(169,113,255,.22);background:rgba(7,8,23,.55);color:var(--login-text)}.auth-card input:focus{border-color:var(--login-accent);box-shadow:0 0 0 3px rgba(139,92,246,.22)}.auth-card .button{min-height:44px;margin-top:22px;border:0;background:linear-gradient(90deg,var(--login-button-start),var(--login-button-mid),var(--login-button-end));box-shadow:0 10px 28px rgba(109,53,242,.35)}.auth-card .button:hover{filter:brightness(1.06);background:linear-gradient(90deg,var(--login-button-start),var(--login-button-mid),var(--login-button-end))}.auth-card .auth-footnote{margin:26px 0 0;padding-top:18px;border-top:1px solid rgba(169,113,255,.16);color:var(--login-text-muted);font-size:11px}.auth-card .account{border-color:rgba(169,113,255,.22);background:rgba(7,8,23,.45);color:var(--login-text)}.auth-card [role="alert"]{color:#ff9ca9}.auth-card .password-toggle{color:var(--login-text-muted)}.auth-theme{z-index:3;top:18px;right:18px;border-color:rgba(169,113,255,.22);background:rgba(16,14,28,.6);color:var(--login-text-soft)}
@media(max-width:900px){.layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px}.main{padding-inline:24px}.cp-health{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.layout{display:block}.sidebar{position:relative;display:grid;width:100%;height:auto;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.brand{padding-inline:4px}.sidebar nav{display:flex;margin:5px 0 0;padding:3px 0;gap:3px}.nav-group{display:none}.nav-link{flex:0 0 auto;min-height:32px;padding:6px 9px}.nav-link svg{width:14px;height:14px}.sidebar .session{padding:0;border:0}.main{padding:0 14px 40px}.topbar{min-height:50px;margin-bottom:26px}.heading{margin-bottom:22px}.heading h1{font-size:24px}.card{padding:16px}.plan-editor-grid{gap:12px}.plan-summary{position:static}.cp-tabs{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.cp-tabs button[aria-current="page"]{background:var(--subtle)}}
@media(max-width:860px){.auth-layout{grid-template-columns:1fr;width:min(420px,100%);gap:0}.auth-story h2,.auth-story p{display:none}.auth-story .brand{margin-bottom:28px}}
@media(max-width:480px){.auth-shell{padding:72px 16px 28px}.auth-card{padding:24px}.cp-stats,.cp-health{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.product-selector{grid-template-columns:1fr 1fr}}

/* Tracker-like navigation: grouped, collapsible and visually anchored. */
.sidebar{isolation:isolate;background:linear-gradient(180deg,var(--sidebar),color-mix(in srgb,var(--sidebar) 96%,var(--brand)))}
.sidebar::after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:220px;background:radial-gradient(ellipse at 0 100%,color-mix(in srgb,var(--brand) 9%,transparent),transparent 62%);pointer-events:none}
.sidebar-head{display:flex;align-items:center;gap:4px;min-height:47px;padding:0 3px 10px;border-bottom:1px solid var(--line)}
.sidebar-head .brand{display:flex;align-items:center;gap:9px;min-width:0;flex:1;padding:3px 4px;color:var(--ink);font-size:16px;font-weight:700;letter-spacing:-.025em;text-decoration:none}
.sidebar-head .brand img{width:27px;height:27px;flex:none;border-radius:7px;box-shadow:0 0 18px color-mix(in srgb,var(--brand) 22%,transparent)}
.sidebar-head .brand-text{overflow:hidden}.sidebar-head .brand em{margin-left:auto;padding:2px 5px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:8px;font-style:normal;font-weight:700;letter-spacing:.09em}
.sidebar-collapse{display:grid;place-items:center;width:28px;height:28px;min-height:28px;flex:none;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}
.sidebar-collapse:hover{border-color:var(--line);background:var(--sidebar-hover);color:var(--ink)}.sidebar-collapse svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .15s ease}
.sidebar nav{padding-top:3px}.nav-link{isolation:isolate;overflow:hidden;min-height:36px;font-weight:570}.nav-link::after{content:"";position:absolute;z-index:-1;inset:2px;border:1px solid color-mix(in srgb,var(--brand) 20%,transparent);border-radius:5px;background:linear-gradient(90deg,color-mix(in srgb,var(--brand) 17%,var(--surface)),color-mix(in srgb,var(--brand) 3%,transparent));opacity:0;transform:translateX(-6px);transition:opacity .14s ease,transform .16s ease}.nav-link:hover::after{opacity:.42;transform:none}.nav-link[aria-current]{border-color:transparent;background:transparent;box-shadow:none}.nav-link[aria-current]::after{opacity:1;transform:none}.nav-link[aria-current]::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:2px;background:var(--brand);box-shadow:0 0 10px var(--brand)}
.nav-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-group{padding-top:14px}
.layout.sidebar-compact{grid-template-columns:72px minmax(0,1fr)}.sidebar.is-compact{width:72px;padding-inline:9px}.sidebar.is-compact .sidebar-head{justify-content:center;padding-inline:0}.sidebar.is-compact .sidebar-head .brand{flex:0 0 auto;padding:3px}.sidebar.is-compact :is(.brand-text,.brand em,.nav-text,.nav-group,.session>div){display:none}.sidebar.is-compact .sidebar-collapse{position:absolute;top:54px;left:22px;z-index:2;background:var(--sidebar);border-color:var(--line)}.sidebar.is-compact nav{margin-top:35px;padding-inline:0;overflow:visible}.sidebar.is-compact .nav-link{justify-content:center;width:40px;height:38px;margin-inline:auto;padding:7px}.sidebar.is-compact .nav-link svg{width:17px;height:17px;flex-basis:17px}.sidebar.is-compact .nav-link[aria-current]::before{left:1px}.sidebar.is-compact .session{display:flex;justify-content:center;padding:10px 0 2px}.sidebar.is-compact .session form{width:40px;margin:0}.sidebar.is-compact .session .button{position:relative;width:40px;height:36px;padding:0;font-size:0}.sidebar.is-compact .session .button::before{content:"↪";font-size:16px;transform:rotate(180deg)}
@media(max-width:760px){.layout.sidebar-compact{display:block}.sidebar.is-compact{width:100%;padding:10px 12px}.sidebar.is-compact :is(.brand-text,.brand em,.nav-text,.session>div){display:block}.sidebar.is-compact .nav-group{display:none}.sidebar.is-compact .sidebar-collapse{display:none}.sidebar.is-compact nav{margin:5px 0 0;padding:3px 0;overflow:auto}.sidebar.is-compact .nav-link{justify-content:flex-start;width:auto;height:auto;margin:0}.sidebar.is-compact .session{display:none}.sidebar-head .sidebar-collapse{display:none}}

/* Backoffice language inherited from Painel Bot. */
.topbar-copy{display:flex!important;flex-direction:column;gap:0}.topbar-copy strong{color:var(--ink);font-size:12px;font-weight:650}.topbar-copy small{color:var(--muted);font-size:10px}.topbar-secure{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:8px;color:var(--muted)!important;font-size:10.5px!important}.topbar-secure i{width:6px;height:6px;border-radius:50%;background:var(--positive);box-shadow:0 0 8px color-mix(in srgb,var(--positive) 55%,transparent)}
.core-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:190px;padding:34px 16px;color:var(--muted);font-size:11.5px}.core-loader svg{width:44px;height:44px;overflow:visible}.core-loader :is(.loader-prism,.loader-ray,.loader-beam){fill:none;stroke:var(--brand);stroke-linecap:round;stroke-linejoin:round}.core-loader .loader-prism{stroke-width:1.6;opacity:.9}.core-loader .loader-ray{stroke-width:1.7;stroke-dasharray:8 8;animation:core-ray 1.4s linear infinite}.core-loader .loader-beam{stroke-width:1.5;stroke-dasharray:8 8;stroke-dashoffset:8;animation:core-beam 1.4s ease-out infinite}.core-loader .beam-1{animation-delay:.25s}.core-loader .beam-2{animation-delay:.4s}.core-loader .beam-3{animation-delay:.55s}.core-loader-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid color-mix(in srgb,var(--brand) 35%,var(--line));border-radius:9px;background:var(--brand-soft);color:var(--brand);font-size:22px;animation:core-pulse 1.25s ease-in-out infinite}
@keyframes core-ray{0%{stroke-dashoffset:16;opacity:.3}50%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:.3}}@keyframes core-beam{0%,20%{stroke-dashoffset:8;opacity:0}58%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}@keyframes core-pulse{50%{border-color:var(--brand);box-shadow:0 0 24px color-mix(in srgb,var(--brand) 18%,transparent)}}
.plan-management-table{background:var(--surface)}.plan-management-table table{min-width:980px}.plan-management-table th:last-child,.plan-management-table td:last-child{text-align:right}.plan-management-table td:first-child{min-width:230px}.plan-management-table td:nth-child(3){min-width:260px}.plan-management-table small{margin-top:3px;max-width:310px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-product-chips{display:flex;flex-wrap:wrap;gap:5px}.plan-product-chips .badge{padding:3px 6px}.row-actions{display:flex;justify-content:flex-end;gap:5px;white-space:nowrap}.row-actions .button{min-height:29px;padding:5px 8px;font-size:10.5px}.button.danger.secondary,.button.danger.subtle{border-color:color-mix(in srgb,var(--danger) 25%,var(--line));background:transparent;color:var(--danger);box-shadow:none}.button.danger.secondary:hover,.button.danger.subtle:hover{background:var(--danger-bg)}
.plan-editor>.section-heading{position:sticky;z-index:8;top:58px;margin:0 -2px 14px;padding:12px 2px;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(16px)}.plan-editor .plan-summary{border-color:color-mix(in srgb,var(--brand) 22%,var(--line))}.plan-editor .plan-summary>.button{width:100%;margin-top:7px}.catalog-toolbar{padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
@media(max-width:760px){.topbar-secure{display:none}.topbar-copy small{display:block}.plan-editor>.section-heading{top:50px}.core-loader{min-height:150px}.row-actions{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.core-loader :is(.loader-ray,.loader-beam),.core-loader-mark{animation:none}}

/* People management — compact daily workflow, matching Painel Bot. */
.people-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.people-search{display:grid;grid-template-columns:minmax(240px,420px) 150px auto;gap:7px;min-width:0;flex:1}.people-search :is(input,select,.button){margin:0;min-height:34px}.people-actions{display:flex;gap:7px;flex:none}.people-actions .button{min-height:34px}
.people-summary{display:flex;align-items:baseline;gap:7px;margin-bottom:9px;color:var(--muted);font-size:11px}.people-summary strong{color:var(--ink);font-size:18px;font-weight:640}.people-table{background:var(--surface)}.people-table table{min-width:880px}.people-table th:last-child,.people-table td:last-child{text-align:right}.people-table td{vertical-align:middle}.people-table td:nth-child(2){min-width:245px}.people-table td:nth-child(4){min-width:210px}.person-cell{display:flex;align-items:center;gap:10px;min-width:0}.person-cell>span:last-child{min-width:0}.person-avatar{display:grid;place-items:center;width:29px;height:29px;flex:none;border:1px solid color-mix(in srgb,var(--brand) 26%,var(--line));border-radius:50%;background:linear-gradient(145deg,var(--brand-soft),var(--surface));color:var(--brand);font-size:9px;font-weight:750;letter-spacing:.03em}.person-avatar.large{width:42px;height:42px;font-size:12px}.person-cell a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-cell small{margin-top:1px}.icon-action{display:grid;place-items:center;width:30px;height:29px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--muted);font-size:11px;letter-spacing:1px;text-decoration:none}.icon-action:hover{border-color:var(--line-strong);background:var(--subtle);color:var(--ink);text-decoration:none}
.bulk-toolbar{display:flex;align-items:center;gap:9px;margin-bottom:8px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.bulk-toolbar label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}.bulk-toolbar input,.selection-cell input{width:15px;height:15px;min-height:0;margin:0;accent-color:var(--brand)}.bulk-toolbar span{margin-right:auto;color:var(--muted);font-size:11px}.bulk-toolbar select{width:auto;min-width:175px;min-height:34px;margin:0}.bulk-toolbar .button{min-height:34px}.people-table .selection-cell{width:38px;min-width:38px!important;padding-right:2px}
.management-create{padding:0!important;overflow:hidden}.management-create>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;list-style:none;cursor:pointer}.management-create>summary::-webkit-details-marker{display:none}.management-create>summary>span:first-child{display:flex;flex-direction:column;gap:2px}.management-create>summary small{font-weight:450}.management-create[open]>summary{border-bottom:1px solid var(--line);background:var(--subtle)}.management-create-body{padding:17px}.management-create-body>p{margin-top:0}.person-profile{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px}.person-profile-main{display:flex;align-items:center;gap:12px}.person-profile-main h2{margin:2px 0}.person-profile-main p{margin:0;font-size:11.5px}.person-profile-side{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:900px){.people-toolbar{align-items:stretch;flex-direction:column}.people-actions{justify-content:flex-end}.people-search{grid-template-columns:minmax(180px,1fr) 140px auto}}
@media(max-width:600px){.people-search{grid-template-columns:1fr}.people-actions{display:grid;grid-template-columns:1fr 1fr}.person-profile{align-items:flex-start;flex-direction:column}.person-profile-side{justify-content:flex-start}.management-create>summary{align-items:flex-start;flex-direction:column}.management-create>summary .button{width:100%}}

/* Person detail — access first, global danger controls second. */
.person-back{display:inline-flex;align-items:center;margin:-8px 0 12px;color:var(--muted);font-size:11.5px}.person-back:hover{color:var(--ink);text-decoration:none}
.person-profile{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:28px;margin-bottom:14px;padding:18px 20px}.person-profile-metrics{display:flex;align-items:stretch;gap:5px}.person-profile-metrics>span{display:flex;min-width:76px;flex-direction:column;justify-content:center;padding:3px 14px;border-left:1px solid var(--line)}.person-profile-metrics strong{max-width:150px;overflow:hidden;color:var(--ink);font-size:13px;font-weight:640;text-overflow:ellipsis;white-space:nowrap}.person-profile-metrics small{margin-top:2px;color:var(--muted);font-size:9.5px}.person-profile-side{justify-content:flex-end}
.person-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:14px}.person-accounts{padding:0;overflow:hidden}.person-accounts>.card-heading{margin:0;padding:17px 18px;border-bottom:1px solid var(--line)}.person-accounts>.card-heading h2{font-size:15px}.person-accounts>.card-heading p{margin:3px 0 0;font-size:10.5px}.person-accounts>.card-heading .button{min-height:30px;padding:5px 9px;font-size:10.5px}.person-account-list{display:flex;flex-direction:column}
.person-account-row{display:grid;grid-template-columns:minmax(190px,1.15fr) minmax(190px,.9fr) 86px auto;align-items:center;gap:14px;min-height:76px;padding:13px 18px;border-bottom:1px solid var(--line)}.person-account-row:last-child{border-bottom:0}.person-account-row:hover{background:color-mix(in srgb,var(--subtle) 58%,transparent)}.person-account-main{display:flex;align-items:center;gap:10px;min-width:0}.person-account-main>span:last-child{min-width:0}.person-account-main a{display:block;overflow:hidden;color:var(--ink);font-weight:620;text-overflow:ellipsis;white-space:nowrap}.person-account-main a:hover{color:var(--brand);text-decoration:none}.person-account-main small{margin-top:3px}.account-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border:1px solid var(--line);border-radius:8px;background:var(--subtle);color:var(--muted);font-size:9px;font-weight:700}.person-account-access{min-width:0}.meta-label{display:block;margin-bottom:6px;color:var(--muted-2);font-size:8px;font-weight:720;letter-spacing:.08em}.person-account-access .plan-product-chips{flex-wrap:nowrap;overflow:hidden}.person-account-access .badge{max-width:105px;overflow:hidden;text-overflow:ellipsis}.muted-value{color:var(--muted);font-size:10.5px}.person-account-state{display:flex;align-items:flex-start;flex-direction:column;gap:3px}.person-account-state small{font-size:9px}.person-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.person-account-actions .button{min-height:30px;padding:5px 9px;font-size:10.5px}
.person-control{position:sticky;top:76px;margin:0;padding:18px}.person-control .eyebrow{display:block;margin-bottom:10px}.person-control h3{margin:0 0 7px;font-size:14px}.person-control p{margin:0 0 16px;font-size:10.5px;line-height:1.55}.person-control form{margin:0}.person-control form .button{width:100%;min-height:34px;margin:0;background:transparent;box-shadow:none}.person-control.danger-action{border-color:color-mix(in srgb,var(--danger) 25%,var(--line))}.person-control.danger-action .button{border-color:color-mix(in srgb,var(--danger) 35%,var(--line));color:var(--danger)}.person-control.danger-action .button:hover{background:var(--danger-bg)}.person-control.restore-action{border-color:color-mix(in srgb,var(--positive) 25%,var(--line))}.person-control.restore-action .button{border-color:color-mix(in srgb,var(--positive) 35%,var(--line));color:var(--positive)}.person-control.restore-action .button:hover{background:var(--positive-bg)}.person-control.protected .control-icon{display:grid;place-items:center;width:30px;height:30px;margin-bottom:12px;border:1px solid var(--line);border-radius:7px;background:var(--brand-soft);color:var(--brand)}
@media(max-width:1100px){.person-profile{grid-template-columns:1fr auto}.person-profile-metrics{grid-column:1/-1;grid-row:2}.person-detail-grid{grid-template-columns:1fr}.person-control{position:static;order:-1}.person-control p{max-width:620px}.person-control form .button{width:auto}}
@media(max-width:760px){.person-profile{grid-template-columns:1fr;gap:16px}.person-profile-metrics{grid-column:auto;overflow-x:auto}.person-profile-side{justify-content:flex-start}.person-account-row{grid-template-columns:1fr}.person-account-access .plan-product-chips{flex-wrap:wrap}.person-account-actions{justify-content:flex-start}.person-account-state{flex-direction:row;align-items:center}.person-accounts>.card-heading{align-items:flex-start;flex-direction:column}}

/* Daily account and access operations. */
.primary-create{border-color:color-mix(in srgb,var(--brand) 30%,var(--line));background:linear-gradient(135deg,color-mix(in srgb,var(--brand-soft) 52%,var(--surface)),var(--surface) 58%)}
.primary-create>summary{padding:18px 20px}.technical-create{opacity:.82}.technical-create[open]{opacity:1}
.account-list-name{display:flex;align-items:center;gap:10px;min-width:190px}.account-list-name>span:last-child{min-width:0}.account-list-name a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-list-name small{margin-top:2px}
.badge.warning{border-color:color-mix(in srgb,var(--warning) 28%,var(--line));background:var(--warning-bg);color:var(--warning)}
.credential-notice{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.7fr) minmax(220px,.8fr);align-items:end;gap:14px;margin:0 0 18px;padding:18px;border:1px solid color-mix(in srgb,var(--positive) 38%,var(--line));border-radius:10px;background:linear-gradient(135deg,var(--positive-bg),var(--surface))}.credential-notice h2{margin:4px 0}.credential-notice p{margin:0;font-size:11px}.credential-notice label{margin:0}.credential-notice input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.person-all-accounts{margin:0;font-size:10.5px}
.icon-action{cursor:pointer;padding:0}
.icon-action svg{width:16px;height:16px;fill:currentColor}
button.text-link{display:block;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:650;text-align:left;cursor:pointer}
button.text-link:hover{color:var(--brand)}
.account-sheet{padding:4px 18px 18px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--subtle) 55%,var(--surface))}
.account-pane{display:grid;gap:12px;padding:8px 0}
.account-pane .onboarding-products{align-items:stretch}
.product-include{display:grid;gap:10px;margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.product-include header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.product-include strong{display:block;font-size:14px}
.product-include small{margin:0}
.product-include .button{width:100%;margin:0}
.product-include select{width:100%;margin:0}
.product-include .include-actions{display:flex;gap:8px}
.product-include .include-actions .button{width:auto;flex:1}
.pane-lead{margin:0 0 4px;color:var(--muted);font-size:13px}
.preset-shortcut{display:grid;gap:10px;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--subtle)}
.preset-shortcut label{margin:0}
.preset-shortcut .button{width:100%;margin:0}
.track-card{padding:18px}
.track-card>p{margin:0 0 14px}
.track-embed{min-height:280px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.person-role-dialog{max-width:none;padding:0;overflow:hidden}
.person-role-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 0}
.person-role-dialog-head h3{margin:4px 0 0;font-size:18px;letter-spacing:-.03em}
.person-role-dialog-body{display:grid;gap:12px;padding:12px 22px 22px;max-height:min(70vh,640px);overflow:auto}
.person-role-dialog-body>small{margin:0}
.person-role-dialog-body form{margin:0}
.person-role-dialog-body form .button{width:100%;margin-top:8px}
.person-role-dialog-body .text-link{margin:4px 0 0;font-size:11px}
.person-product-controls{margin-top:4px;padding-top:10px;border-top:1px solid var(--line)}
.person-product-controls>summary{font-size:11px}
.person-product-controls>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.person-product-controls form{padding:8px;border:1px solid var(--line);border-radius:7px}
.person-product-controls form label{margin:0}
.person-product-controls form .button{min-height:28px;padding:4px 7px;font-size:10px}
.person-product-unavailable{padding:8px;border:1px dashed var(--line);border-radius:7px}
.person-product-unavailable span{font-size:10.5px}
.person-product-unavailable small{font-size:9px}
@media(max-width:760px){.credential-notice{grid-template-columns:1fr}.account-list-name{min-width:220px}.person-product-controls>div{grid-template-columns:1fr}}
.account-onboarding>.management-create-body{padding:0}.account-onboarding form{margin:0}.onboarding-steps{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);background:var(--subtle)}.onboarding-steps span{display:flex;align-items:center;gap:8px;padding:10px 16px;color:var(--muted);font-size:10.5px}.onboarding-steps b{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);color:var(--ink);font-size:9px}.onboarding-section{padding:18px 20px;border-bottom:1px solid var(--line)}.onboarding-section:last-of-type{border-bottom:0}.onboarding-section>.eyebrow{display:block;margin-bottom:8px;color:var(--brand)}.onboarding-section>p{margin:3px 0 12px;font-size:11px}.onboarding-section>label{max-width:620px}.onboarding-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.onboarding-products label{margin:0;padding:11px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.onboarding-products select{margin-top:8px}.onboarding-products small{margin-top:6px;font-size:9px}.account-onboarding form>.button{margin:16px 20px 20px}.account-onboarding[open]>summary{background:var(--surface)}
@media(max-width:1050px){.onboarding-products{grid-template-columns:1fr 1fr}}@media(max-width:600px){.onboarding-steps{grid-template-columns:1fr}.onboarding-steps span{padding:7px 14px}.onboarding-products{grid-template-columns:1fr}.onboarding-section{padding:15px}.account-onboarding form>.button{width:calc(100% - 30px);margin:15px}}
.password-field{position:relative;display:block;margin-top:5px}
.password-field input{width:100%;margin-top:0;padding-right:42px}
.password-toggle{position:absolute;top:50%;right:4px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;transform:translateY(-50%)}
.password-toggle:hover{background:color-mix(in srgb,var(--brand) 10%,transparent);color:var(--ink)}
.password-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:1px}

/* House radius on the surfaces people actually see. */
.card,.stat,.table-scroll,.plan-card,.cp-stats button,.dialog{border-radius:var(--r-card)}
.button,input,select,textarea,.theme-button,.product-tab,.nav-link{border-radius:var(--r-ctl)}
.badge,.cp-badge{border-radius:var(--r-pill)}
.sidebar-head .brand img,.auth-story .brand img{border-radius:var(--r-ctl)}
.auth-card .button{border:0;color:#fff;background:linear-gradient(90deg,var(--login-button-start),var(--login-button-mid),var(--login-button-end))}
:root[data-theme="dark"] .button:not(.secondary):not(.subtle){color:#fff}
:root[data-theme="dark"] .button.danger.subtle,:root[data-theme="dark"] .button.danger.secondary{color:var(--danger);background:transparent}

/* Page stage — one workspace per screen, no leftover black void. */
.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 22px}
.heading-copy{min-width:0;flex:1}
.heading-copy .eyebrow{margin-bottom:8px}
.heading-copy h1{margin:0 0 6px}
.heading-copy p{margin:0;max-width:52ch}
.page-body{display:flex;flex-direction:column;gap:16px;min-height:calc(100dvh - 210px)}
.page-stage{display:flex;flex-direction:column;flex:1;min-height:420px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}
.page-stage-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--subtle) 70%,var(--surface))}
.page-stage-bar strong{margin-right:auto;color:var(--ink);font-size:13px}
.page-stage-bar>span{margin-left:auto;color:var(--muted);font-size:11.5px;white-space:nowrap}
.page-stage-bar .button{margin-left:0}
.page-stage-bar :is(input,select){width:auto;min-width:180px;max-width:280px;margin:0;min-height:36px}
.page-stage-bar .search,.page-stage-bar .people-search{display:flex;align-items:center;gap:8px;flex:1;min-width:min(100%,320px);max-width:none;margin:0}
.page-stage-bar .search input,.page-stage-bar .people-search input{flex:1;max-width:none}
.page-stage-body{flex:1}
.page-stage .empty{margin:auto;border:0;background:transparent}
.stage-wait{pointer-events:none}
.stage-wait .page-stage-bar{gap:12px}
.bone{display:block;border-radius:8px;background:color-mix(in srgb,var(--muted) 22%,var(--subtle));background-image:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ink) 8%,transparent),transparent);background-size:200% 100%;animation:stage-shimmer 1.4s ease-in-out infinite}
.bone-search{width:min(240px,42%);height:14px}
.bone-chip{width:92px;height:14px}
.bone-action{width:72px;height:14px;margin-left:auto}
.bone-row{min-height:88px}
.bone-mark{width:44px;height:44px;border-radius:12px;flex:none}
.bone-copy{display:flex;flex-direction:column;gap:8px;flex:1 1 180px;min-width:0}
.bone-line{width:min(220px,70%);height:12px}
.bone-line.short{width:min(140px,42%);height:10px}
.bone-price{width:72px;height:14px;flex:none}
@keyframes stage-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.bone{animation:none}}
.core-loader,.core-loader-mark{display:none!important}
.offer{display:flex;align-items:center;flex-wrap:wrap;gap:14px 16px;min-height:88px;padding:16px 18px;border-bottom:1px solid var(--line)}
.offer:last-child{border-bottom:0}
.offer:hover{background:color-mix(in srgb,var(--subtle) 72%,transparent)}
.offer-select{display:grid;place-items:center;margin:0}
.offer-select input{width:16px;height:16px;min-height:0;margin:0}
.offer-mark{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid color-mix(in srgb,var(--brand) 28%,var(--line));border-radius:12px;background:linear-gradient(160deg,var(--brand-soft),var(--surface));color:var(--brand);font-size:11px;font-weight:750;letter-spacing:.04em}
.offer-main{min-width:0;flex:1 1 180px}
.offer-main :is(a,strong){display:block;overflow:hidden;color:var(--ink);font-size:14px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.offer-main a:hover{color:var(--brand);text-decoration:none}
.offer-main small,.offer-metric small{display:block;margin-top:3px;color:var(--muted);font-size:11px}
.offer-metric{flex:0 0 88px}
.offer-metric strong{display:block;color:var(--ink);font-size:16px;font-weight:650;letter-spacing:-.03em}
.offer-products{display:flex;flex-wrap:wrap;gap:5px;flex:0 1 260px}
.confirm-action{width:min(100% - 24px,430px);max-width:430px;padding:24px}
.confirm-action h2{margin:0 0 12px;font-size:18px}
.confirm-action p{margin:0 0 20px;line-height:1.5}
.confirm-action .dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.person-account-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
@media(max-width:640px){.offer-products{flex-basis:100%}.confirm-action .dialog-actions .button{flex:1 1 130px}}
.offer .row-actions,.offer>.button{margin-left:auto}
a.stat,.stat{text-decoration:none;color:inherit;transition:border-color .14s ease,transform .14s ease}
a.stat:hover{border-color:color-mix(in srgb,var(--brand) 40%,var(--line));text-decoration:none}
.timeline{list-style:none;margin:0;padding:8px 0}
.timeline-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line)}
.timeline-row:last-child{border-bottom:0}
.timeline-dot{width:9px;height:9px;margin-left:4px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 16%,transparent)}
.timeline-row strong{display:block;color:var(--ink);font-size:13px}
.timeline-row small{display:block;margin-top:2px;color:var(--muted);font-size:11px}
.timeline-row time{color:var(--muted);font-size:11px;white-space:nowrap}
.timeline-details summary{color:var(--brand);font-size:11px;font-weight:600;cursor:pointer}
.catalog-product{display:flex;flex-direction:column;gap:8px;padding:22px}
.catalog-product h2{margin:8px 0 0}
.catalog-product .button{margin-top:auto}
[data-page="control"] .cp-head{margin-bottom:4px}
.page-body>:is(#new-account,#new-person):not([open]){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.page-body>:is(#new-account,#new-person)[open]{position:relative;width:auto;height:auto;clip:auto;margin-bottom:16px}
[data-page="account"] .text-link,[data-page="user"] .person-back{margin-bottom:4px}
@media(max-width:760px){.heading{align-items:stretch;flex-direction:column}.heading .button{width:100%}.page-body{min-height:0}.page-stage{min-height:0}.page-stage-bar>span{margin-left:0}.offer{min-height:0}.offer .row-actions,.offer>.button{margin-left:0;width:100%}.timeline-row{grid-template-columns:18px minmax(0,1fr);gap:8px}.timeline-row time{grid-column:2}}

/* Accounts: keep the creation form and the short account list readable. */
.account-create{padding:22px 24px 24px!important;scroll-margin-top:70px}
.account-create .card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 20px}
.account-create .card-heading strong{font-size:18px}
.account-create .card-heading p{margin:4px 0 0;font-size:13px}
.account-create .card-heading .button{min-height:38px;font-size:13px}
.account-create .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-bottom:16px}
.account-create label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:13px}
.account-create input,.account-create select{width:100%;min-height:42px;margin:0;font-size:14px}
.account-create>label{margin-bottom:16px}
.account-create label>small{font-size:12px;line-height:1.45}
.account-create .onboarding-products{margin-bottom:18px}
.account-create .onboarding-products label{padding:12px;font-size:12.5px}
.account-create-actions{display:flex;justify-content:flex-end;padding-top:16px;border-top:1px solid var(--line)}
.account-create-actions .button{min-width:180px;min-height:44px;font-size:14px}
.accounts-stage{flex:none;min-height:0}
.accounts-stage .offer{min-height:0;padding:16px 18px}
.accounts-stage .offer-main{flex:1 1 240px}
.accounts-stage .offer-main .text-link{font-size:16px;line-height:1.3}
.accounts-stage .offer-main small{font-size:12.5px}
.accounts-stage .offer-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:2 1 520px;min-width:0}
.accounts-stage .offer-products .badge{display:block;padding:6px 9px;border-radius:7px;font-size:11.5px;line-height:1.25;white-space:normal}
.accounts-stage .offer>.badge{font-size:11.5px;padding:5px 9px}
.accounts-stage .offer>.button{min-height:38px;font-size:13px}
.account-people{display:flex;flex-direction:column;align-items:center;min-width:54px;line-height:1.25}
.account-people strong{font-size:15px}
.account-people small{color:var(--muted);font-size:11px}
@media(max-width:1050px){
  .accounts-stage .offer-products{order:1;flex-basis:100%}
  .accounts-stage .offer>.button{order:2}
}
@media(max-width:600px){
  .account-create{padding:16px!important}
  .account-create .card-heading{align-items:flex-start}
  .account-create .form-grid{grid-template-columns:1fr;gap:12px}
  .account-create-actions .button{width:100%}
  .accounts-stage .offer-products{grid-template-columns:1fr 1fr}
}
@media(max-width:400px){
  .accounts-stage .offer-products{grid-template-columns:1fr}
}

/* The catalog editor owns the page title while it is open. */
[data-page="catalogo"].editing-plan>.heading{display:none}
.plan-editor-heading h1{margin:0;font-size:25px;line-height:1.2}
.plan-editor .step-title h2{margin:0;font-size:15px;font-weight:630}
.plan-editor .plan-summary h2{margin:0 0 8px;font-size:16px}
@media(max-width:1200px){
  .plan-editor-grid{grid-template-columns:minmax(0,1fr)}
  .plan-summary{position:static;top:auto}
}
@media(max-width:760px){
  .plan-editor-heading h1{font-size:23px}
}
.overage-mode {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 0;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.overage-mode legend {
  width: 100%;
  padding: 0;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
}
.overage-mode .check-row {
  padding: 6px 0;
}
.overage-price small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.check-all {
  margin: 0 0 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  gap: 10px;
}
.check-all small {
  color: var(--muted);
}
.badge-building {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.master-key-value {
  display: block;
  margin: 8px 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--subtle);
  font-size: 13px;
  word-break: break-all;
  user-select: all;
}
.cp-checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}
.plan-master-keys {
  margin-bottom: 16px;
}
