:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #687387;
  --soft: #f3f5f8;
  --line: #d9dee7;
  --panel: #ffffff;
  --navy: #172236;
  --blue: #2468ed;
  --blue-dark: #1556cf;
  --cyan: #22c4dd;
  --green: #149b58;
  --amber: #e79d08;
  --danger: #c43b44;
  --shadow: 0 20px 60px rgba(26, 41, 69, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--soft);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(36, 104, 237, 0.08), transparent 28rem),
    var(--soft);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.session-loading {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  place-items: center;
  gap: 1rem;
  color: var(--muted);
  background: rgba(243, 245, 248, 0.92);
  backdrop-filter: blur(10px);
}

.session-loading .brand-mark {
  margin: 0 0 0.5rem;
}

.session-loading p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.session-spinner {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(36, 104, 237, 0.18);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: session-spin 700ms linear infinite;
}

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

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

.eyebrow,
.step-label {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 750;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:focus-visible,
.copy-button:focus-visible,
.auth-tab:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(36, 104, 237, 0.22);
  outline-offset: 2px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(36, 104, 237, 0.22);
}

.button-primary:hover:not(:disabled) {
  background: var(--blue-dark);
}

.button-muted {
  color: #334155;
  border-color: var(--line);
  background: #fff;
}

.button-dark {
  color: #fff;
  background: var(--navy);
}

.button-wide {
  width: 100%;
}

label {
  display: grid;
  gap: 0.5rem;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  border: 1px solid #ccd3de;
  border-radius: 0.7rem;
  background: #fff;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 104, 237, 0.1);
  outline: none;
}

.field-hint {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.brand-mark {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  margin-bottom: 1.5rem;
  color: #fff;
  border-radius: 1rem;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(36, 104, 237, 0.28);
  font-size: 1.4rem;
  font-weight: 900;
}

.brand-mark-small {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  border-radius: 0.7rem;
  font-size: 1rem;
}

.portal-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.portal-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.portal-home > main {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  flex: 1;
}

.portal-hero {
  max-width: 46rem;
  padding: 2rem 0 3.5rem;
}

.portal-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.portal-lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.portal-features,
.portal-pricing,
.portal-faq {
  margin-top: 1.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.portal-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.portal-feature {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
}

.portal-feature span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.portal-feature h3 {
  margin: 0.65rem 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.portal-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.portal-faq-list details {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.78);
}

.portal-faq-list summary {
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.portal-faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.portal-footer {
  width: min(100% - 2rem, 80rem);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-shell-compact .auth-card {
  width: min(100%, 29rem);
}

.auth-back {
  display: inline-flex;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 750;
}

.auth-back:hover {
  text-decoration: underline;
}

.auth-card {
  width: min(100% - 3rem, 29rem);
  align-self: center;
  justify-self: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-card-heading h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.auth-card-heading > p:last-child {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 1.75rem 0;
  padding: 0.3rem;
  border-radius: 0.8rem;
  background: #edf0f5;
}

.auth-tab {
  min-height: 2.5rem;
  border: 0;
  border-radius: 0.6rem;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
}

.auth-tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 12px rgba(26, 41, 69, 0.08);
}

.stacked-form {
  display: grid;
  gap: 1rem;
}

.auth-footnote {
  margin: 1.25rem 0 0;
  color: #8791a3;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(217, 222, 231, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.header-brand span:last-child {
  display: grid;
}

.header-brand strong {
  letter-spacing: -0.02em;
}

.header-brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
}

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

.account-email {
  max-width: 18rem;
  margin-right: 0.45rem;
  overflow: hidden;
  color: #425066;
  font-size: 0.84rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-shell {
  width: min(100% - 2rem, 80rem);
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.hero {
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero > p:last-child {
  margin: 1rem auto 0;
  color: var(--muted);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 28px rgba(30, 45, 70, 0.045);
}

.installation-panel,
.bind-panel,
.data-panel {
  padding: clamp(1.15rem, 3vw, 2rem);
}

.bind-panel,
.plans-section,
.data-panel {
  margin-top: 1.25rem;
}

.section-heading,
.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-heading h2,
.table-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.official-badge,
.count-pill {
  flex: 0 0 auto;
  padding: 0.4rem 0.65rem;
  color: var(--green);
  border: 1px solid rgba(20, 155, 88, 0.18);
  border-radius: 99rem;
  background: rgba(20, 155, 88, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
}

.install-prerequisite {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(44, 109, 242, 0.12);
  border-radius: 0.75rem;
  color: var(--muted);
  background: rgba(44, 109, 242, 0.05);
  font-size: 0.82rem;
}

.install-prerequisite code {
  color: var(--navy);
  font-weight: 750;
}

.command-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.command-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.3rem;
  padding: 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.9rem;
  background: var(--navy);
}

.command-block > div {
  min-width: 0;
}

.command-number {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(89, 214, 231, 0.35);
  border-radius: 0.65rem;
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 800;
}

.command-block small {
  display: block;
  margin-bottom: 0.35rem;
  color: #a9b7cc;
  font-size: 0.7rem;
}

.command-block code {
  display: block;
  overflow: hidden;
  color: #39d2e5;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.6vw, 0.92rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 750;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.compact-heading > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.inline-form input {
  background: #f7f9fc;
}

.plans-section {
  padding: 2.3rem 0 0.3rem;
}

.plans-heading {
  padding: 0 0.2rem;
}

.plans-heading > p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.devices-list {
  display: grid;
  gap: 0.75rem;
}

.device-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.device-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.device-tracker {
  overflow: hidden;
  color: var(--navy);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-host {
  color: #5a6b86;
  font-size: 0.8rem;
}

.device-seen {
  color: #8595ad;
  font-size: 0.7rem;
}

.device-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.device-actions .button {
  min-height: 2.4rem;
  padding: 0.5rem 1rem;
}

@media (max-width: 640px) {
  .device-card {
    flex-direction: column;
    align-items: stretch;
  }

  .device-actions .button {
    flex: 1;
  }
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  padding: 1.65rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(29, 46, 79, 0.075);
}

.plan-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -4.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: var(--plan-glow);
  filter: blur(40px);
  content: "";
  opacity: 0.27;
}

.plan-card[data-accent="blue"] {
  --plan-color: var(--blue);
  --plan-glow: #4b87ff;
}

.plan-card[data-accent="amber"] {
  --plan-color: var(--amber);
  --plan-glow: #ffc241;
}

.plan-card[data-accent="green"] {
  --plan-color: var(--green);
  --plan-glow: #43ce87;
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.plan-topline h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan-tier {
  padding: 0.35rem 0.55rem;
  color: var(--plan-color);
  border-radius: 99rem;
  background: color-mix(in srgb, var(--plan-color) 10%, white);
  font-size: 0.68rem;
  font-weight: 850;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.6rem 0 1.35rem;
}

.plan-price strong {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.plan-price span {
  color: var(--plan-color);
  font-size: 0.86rem;
  font-weight: 800;
}

.compare-price {
  margin: -0.8rem 0 1rem;
  min-height: 1.25rem;
  color: #8b95a6;
  font-size: 0.82rem;
  line-height: 1.25rem;
  text-decoration: line-through;
}

.compare-price.is-placeholder {
  visibility: hidden;
  text-decoration: none;
}

.plan-card .button {
  position: relative;
  z-index: 1;
  width: 100%;
  color: #fff;
  background: var(--plan-color);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--plan-color) 25%, transparent);
}

.plan-features {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: #4b586c;
  font-size: 0.86rem;
  list-style: none;
}

.plan-features li::before {
  margin-right: 0.5rem;
  color: var(--plan-color);
  content: "✓";
  font-weight: 900;
}

.table-heading {
  margin-bottom: 1rem;
}

.count-pill {
  min-width: 2rem;
  color: var(--blue);
  border-color: rgba(36, 104, 237, 0.16);
  background: rgba(36, 104, 237, 0.08);
  text-align: center;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  white-space: nowrap;
}

th,
td {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #e5e8ee;
  text-align: left;
}

th {
  color: #7b8494;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: #38465a;
}

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

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 99rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: capitalize;
}

.status::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-completed,
.status-connected,
.status-active {
  color: var(--green);
  background: rgba(20, 155, 88, 0.08);
}

.status-pending,
.status-review {
  color: #ad7500;
  background: rgba(231, 157, 8, 0.1);
}

.status-offline,
.status-cancelled,
.status-disabled,
.status-abused,
.status-inactive {
  color: var(--danger);
  background: rgba(196, 59, 68, 0.08);
}

.table-action {
  padding: 0.45rem 0.65rem;
  color: #5d687a;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 750;
}

.empty-state {
  display: grid;
  place-items: center;
  padding: 2.25rem 1rem;
  color: var(--muted);
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--blue);
  border-radius: 0.8rem;
  background: rgba(36, 104, 237, 0.08);
}

.empty-state h3 {
  margin: 0.8rem 0 0.25rem;
  color: #344156;
  font-size: 0.9rem;
}

.empty-state p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  width: min(100% - 2rem, 80rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  color: #7c8798;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

.modal {
  width: min(100% - 2rem, 31rem);
  padding: 0;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: 0 30px 100px rgba(14, 25, 45, 0.32);
}

.modal::backdrop {
  background: rgba(9, 18, 34, 0.58);
  backdrop-filter: blur(4px);
}

.modal-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-heading h2 {
  margin: 0;
  letter-spacing: -0.03em;
}

.icon-button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: #667085;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  font-size: 1.4rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.order-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #f7f9fc;
}

.order-summary div {
  display: grid;
  gap: 0.2rem;
}

.order-summary small {
  color: var(--muted);
}

.payment-methods {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #f7f9fc;
}

.payment-methods legend {
  padding: 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 750;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.payment-option input {
  width: auto;
  min-height: auto;
}

.notice-message {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.notice-message.form-status-error {
  color: #9f2933;
}

.form-status {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--green) 12%, white);
  color: #1f6b45;
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-status.form-status-error {
  background: color-mix(in srgb, #9f2933 10%, white);
  color: #9f2933;
}

label.is-invalid input,
label.is-invalid select,
input.is-invalid,
select.is-invalid,
.payment-methods.is-invalid {
  border-color: #9f2933;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: #9f2933;
  font-size: 0.78rem;
  line-height: 1.35;
}

.inline-action-feedback {
  display: inline-block;
  margin-left: 0.45rem;
  color: #1f6b45;
  font-size: 0.75rem;
  font-weight: 700;
}

.inline-action-feedback.is-error {
  color: #9f2933;
}

@media (max-width: 900px) {
  .portal-hero {
    padding-top: 1.25rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 0;
  }

  .account-email {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .header-brand small {
    display: none;
  }

  .portal-nav-actions {
    gap: 0.4rem;
  }

  .portal-nav-actions .button,
  .account-actions .button {
    min-height: 2.4rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.72rem;
  }

  .account-actions {
    gap: 0.4rem;
  }

  .dashboard-shell {
    width: min(100% - 1rem, 80rem);
    padding-top: 3.2rem;
  }

  .installation-panel,
  .bind-panel,
  .data-panel {
    padding: 1rem;
  }

  .section-heading,
  .table-heading {
    align-items: flex-start;
  }

  .compact-heading,
  .plans-heading {
    display: block;
  }

  .compact-heading > p,
  .plans-heading > p {
    margin-top: 0.75rem;
    text-align: left;
  }

  .command-block {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .copy-button {
    grid-column: 1 / -1;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .site-footer {
    display: grid;
  }
}

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

/* Nevect mark; assets are editable SVGs in /nevect/brand/. */
.brand-mark { background: transparent url("/nevect/brand/icon.svg?v=nevect.2") center / contain no-repeat; color: transparent; flex-shrink: 0; }
.documentation { max-width: 900px; margin: 2rem auto 5rem; padding: 0 1.5rem; line-height: 1.8; }
.documentation section { scroll-margin-top: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.documentation h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; }
.documentation h2 { line-height: 1.35; }
.documentation code { overflow-wrap: anywhere; color: var(--blue-dark); }
.docs-index { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 1rem 0 2rem; }
