/* Self-hosted so visitors' IP addresses are not sent to a font CDN. */
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/familjen-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/familjen-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --snow: #eef3f6;
  --paper: #f8fafb;
  --fjord: #0e2433;
  --slate: #52687a;
  --rime: #c9d6df;
  --bar: #a7b9c6;
  --signal: #ff5b14;
  --alert: #b42318;
  --ok: #2f7d4f;
  /* Text on the orange accent stays dark in both themes. */
  --on-signal: #0e2433;

  --font: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Classical scale: 14 / 16 / 24 / 36 / 72 */
  --t-small: 0.875rem;
  --t-body: 1rem;
  --t-h2: 1.5rem;
  --t-h3: 2.25rem;

  --gutter: 16px;
  font-family: var(--font);
  font-size: 100%;
  color: var(--fjord);
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* Dark theme. data-theme is set before the first paint (see index.html) from the
   user's choice; "Auto" resolves to light or dark from the device setting. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --snow: #0b1822;
  --paper: #11222f;
  --fjord: #e3ecf2;
  --slate: #9db1c0;
  --rime: #253848;
  --bar: #3d5568;
  --alert: #ff8a80;
  --ok: #6fcf97;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--fjord); outline-offset: 3px; border-radius: 4px; }

/* ---------- Frame ---------- */

.site-header,
.page,
.site-footer {
  max-width: 70rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-header nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-weight: 500; }
.site-header nav a:hover { text-decoration: underline; }
.who { color: var(--slate); font-size: var(--t-small); }

.page { padding-top: 32px; padding-bottom: 96px; }

.site-footer {
  padding-bottom: 40px;
  color: var(--slate);
  font-size: var(--t-small);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--rime);
}
.footer-links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer-links a { color: var(--slate); }
.footer-links a:hover { color: var(--fjord); }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.lede { margin-top: 20px; font-size: 1.125rem; color: var(--slate); max-width: 46ch; }
.page-title { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.section-title { font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 16px; }
.muted { color: var(--slate); }
.small { font-size: var(--t-small); }
.mono { font-family: var(--mono); font-size: 0.875em; }
.error { color: var(--alert); font-weight: 500; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1.5px solid var(--fjord);
  background: transparent;
  color: var(--fjord);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--paper); }
.btn.primary { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn.primary:hover { background: #ff7238; border-color: #ff7238; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: var(--t-small); font-weight: 500; border-color: var(--rime); }
.btn.small:hover { border-color: var(--fjord); }
.btn.danger { color: var(--alert); }
.btn.danger:hover { border-color: var(--alert); }
.btn:disabled { opacity: 0.55; cursor: progress; }

.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Hero gauge ---------- */

.hero { padding-bottom: 72px; }
.hero .gauge-wrap { margin-top: 56px; }

.gauge-wrap { overflow-x: auto; padding-bottom: 4px; }
.gauge {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 180px;
  min-width: min-content;
  border-bottom: 2px solid var(--fjord);
  margin-bottom: 14px;
}
.bar {
  position: relative;
  flex: 1 1 0;
  min-width: 12px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.bar .fill {
  display: block;
  width: 100%;
  height: var(--h);
  background: var(--bar);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: grow 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i) * 22ms);
}
.bar.arm .fill {
  background: repeating-linear-gradient(135deg, var(--bar) 0 3px, transparent 3px 6px);
  box-shadow: inset 0 0 0 1.5px var(--bar);
}
.bar:hover .fill { background-color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--slate); }
.bar.arm:hover .fill { background: repeating-linear-gradient(135deg, var(--slate) 0 3px, transparent 3px 6px); }
.bar.selected .fill { background: var(--signal); box-shadow: none; }
.bar.selected::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--fjord);
}
.bar:focus-visible { outline-offset: 2px; }

@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.gauge-legend { font-size: var(--t-small); color: var(--slate); }

/* ---------- Readout ---------- */

.readout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.readout-name { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 1.125rem;
}
.readout-price { text-align: right; line-height: 1.1; }
.readout-price .amount { display: block; font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; }
.readout-price .per { color: var(--slate); font-size: var(--t-small); }

.deploy-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Choices (radio pills) ---------- */

.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 8px; font-size: var(--t-small); font-weight: 500; }
.choices .options { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block;
  padding: 7px 14px;
  border: 1.5px solid var(--rime);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 500;
}
.choice:hover span { border-color: var(--fjord); }
.choice input:checked + span { background: var(--fjord); border-color: var(--fjord); color: var(--snow); }
.choice .detail { margin-left: 8px; font-size: var(--t-small); font-weight: 400; color: var(--slate); }
.choice input:checked + span .detail { color: var(--rime); }
.choice input:focus-visible + span { outline: 2px solid var(--fjord); outline-offset: 3px; }

/* ---------- Facts ---------- */

.facts,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.facts { padding-top: 40px; border-top: 2px solid var(--fjord); }
.facts h3,
.steps h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.facts p,
.steps p { color: var(--slate); max-width: 34ch; }

/* The steps are a real sequence, so they carry numbers. */
.steps { counter-reset: step; }
.steps li { counter-increment: step; padding-top: 16px; border-top: 2px solid var(--rime); }
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1;
  color: var(--signal);
}

/* ---------- Long-form text ---------- */

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.about .prose { font-size: 1.125rem; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 40px 0 8px; }
.legal p, .legal li { line-height: 1.6; }
.legal p + p { margin-top: 0.75em; }
.legal ul { padding-left: 1.25em; margin: 8px 0 0; }
.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 0.75em; }
td .link { white-space: nowrap; }
.legal .muted { margin-top: 8px; }
.table-note { margin: -8px 0 16px; font-size: var(--t-small); }

/* ---------- Tables ---------- */

.section { margin-top: 80px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--slate);
  padding: 0 12px 10px 0;
  border-bottom: 1.5px solid var(--fjord);
  white-space: nowrap;
}
td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rime); vertical-align: middle; }
th.num, td.num { text-align: right; white-space: nowrap; }
th:last-child, td:last-child { padding-right: 0; }
@media (max-width: 719px) {
  .col-wide { display: none; }
  th, td { padding-right: 8px; font-size: var(--t-small); }
  .readout-price { text-align: left; }
}
tr.is-selected td { background: var(--paper); }
td .sub { display: block; color: var(--slate); font-size: var(--t-small); }
td .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

.status { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--slate);
}
.status.running::before { background: var(--fjord); border-color: var(--fjord); }
.status.off::before { background: transparent; }
.status.missing { color: var(--alert); }
.status.missing::before { border-color: var(--alert); }
.status.busy::before { border-color: var(--signal); border-top-color: transparent; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */

.narrow { max-width: 26rem; }
.form { display: grid; gap: 24px; margin-top: 32px; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-size: var(--t-small); font-weight: 500; }
.hint { font-size: var(--t-small); color: var(--slate); }
input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid var(--rime);
  border-radius: 6px;
  background: var(--paper);
  color: var(--fjord);
  font: inherit;
}
input:hover, select:hover, textarea:hover { border-color: var(--slate); }
input:focus, select:focus, textarea:focus { border-color: var(--fjord); outline: none; box-shadow: 0 0 0 1px var(--fjord); }
textarea { min-height: 96px; font-family: var(--mono); font-size: var(--t-small); resize: vertical; }

.deploy-form { display: grid; gap: 28px; margin-top: 32px; max-width: 40rem; }
.switch { margin-top: 24px; color: var(--slate); }

/* ---------- Panels ---------- */

.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.panel { margin-top: 32px; padding: 24px; border: 1.5px solid var(--fjord); border-radius: 10px; background: var(--paper); max-width: 40rem; }
.panel > * + * { margin-top: 12px; }
.secret { display: block; padding: 12px; border-radius: 6px; background: var(--snow); font-family: var(--mono); font-size: 1.125rem; word-break: break-all; }
.empty { padding: 48px 0; border-top: 1.5px solid var(--fjord); }
.empty p + .btn { margin-top: 20px; }

.stats { display: grid; grid-template-columns: max-content max-content; gap: 10px 48px; margin: 0; }
.stats dt { color: var(--slate); }
.stats dd { margin: 0; font-weight: 600; text-align: right; }

.section-gap { margin-top: 40px; }
.stats dd:last-of-type { border-top: 1.5px solid var(--fjord); padding-top: 10px; }
.stats dt:last-of-type { padding-top: 10px; border-top: 1.5px solid var(--fjord); font-weight: 600; color: var(--fjord); }

/* ---------- Account pages ---------- */

.crumb { margin-bottom: 8px; font-size: var(--t-small); }
.block { margin-top: 48px; padding-top: 24px; border-top: 1.5px solid var(--fjord); }
.block > .section-title { margin-bottom: 12px; }
.block > p + p { margin-top: 12px; }
.status-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.strong-link { font-weight: 600; }

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--rime);
  font-size: 0.75rem;
  color: var(--slate);
}
.badge.warn { border-color: var(--alert); color: var(--alert); }

.notice { padding: 12px 16px; border-left: 3px solid var(--fjord); background: var(--paper); margin-top: 12px; }
.notice.ok { border-left-color: var(--ok); }
.notice.warn { border-left-color: var(--alert); }
.warn-text { color: var(--alert); }
.credit { color: var(--ok); }

.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; margin: 24px 0; }
.facts-list dt { font-size: var(--t-small); color: var(--slate); }
.facts-list dd { margin: 2px 0 0; word-break: break-all; }

.actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.inline-form { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { min-width: 160px; }
.mini-form { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mini-form input { min-height: 34px; padding: 4px 8px; width: auto; }
.size-input { width: 90px !important; min-height: 34px !important; padding: 4px 8px !important; }
.link.small { font-size: var(--t-small); font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-small); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--fjord); }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rime); }
.plain-list li > span:first-child { margin-right: auto; }

.balance { margin-top: 24px; }
.balance-amount { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.balance .muted { margin-top: 8px; max-width: 60ch; }

.rules { display: grid; gap: 8px; margin-top: 16px; }
.rule { display: grid; grid-template-columns: 100px 140px minmax(160px, 2fr) minmax(120px, 1fr) auto; gap: 8px; align-items: center; }
.rule input, .rule select { min-height: 38px; padding: 6px 10px; }
.rule-head { font-size: var(--t-small); color: var(--slate); }
@media (max-width: 719px) {
  .rule { grid-template-columns: 1fr 1fr; padding-bottom: 12px; border-bottom: 1px solid var(--rime); }
  .rule-head { display: none; }
}

.request { padding: 16px 0; border-bottom: 1px solid var(--rime); }
.request p + p { margin-top: 6px; }
.request .mini-form { margin-top: 10px; }
input.secret { font-family: var(--mono); font-size: var(--t-small); }

/* ---------- Usage charts ---------- */

:root {
  /* Validated categorical pair on the snow surface (dataviz validator, light mode). */
  --series-1: #2a78d6;
  --series-2: #eb6834;
}

:root[data-theme="dark"] {
  /* Same hues stepped for the dark surface (validator: all checks pass on #0b1822). */
  --series-1: #3987e5;
  --series-2: #d95926;
}

/* ---------- Theme picker ---------- */

.theme-picker .options { gap: 4px; }
.theme-picker .choice span { padding: 3px 10px; font-size: var(--t-small); }

.metrics-head { margin-bottom: 8px; }
.metrics-head .choices legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px 32px; }
.chart { margin: 0; min-width: 0; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-title { font-weight: 700; }
.chart-legend { display: flex; gap: 14px; font-size: var(--t-small); color: var(--slate); }
.chart-legend strong { color: var(--fjord); font-weight: 600; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }

.plot { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 140px auto; column-gap: 8px; }
.y-labels { display: flex; flex-direction: column; justify-content: space-between; font-size: 0.75rem; color: var(--slate); text-align: right; white-space: nowrap; }
.y-labels span:first-child { transform: translateY(-40%); }
.y-labels span:last-child { transform: translateY(40%); }
.plot-area { position: relative; }
.plot-area svg { display: block; width: 100%; height: 140px; overflow: visible; }
.plot-area .grid { stroke: var(--rime); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot-area .baseline { stroke: var(--bar); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot-area .series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plot-area .crosshair { stroke: var(--fjord); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.plot-area .hit { position: absolute; inset: -8px 0; cursor: crosshair; }
.x-labels { grid-column: 2; display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--slate); margin-top: 4px; }

.tooltip {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  background: var(--paper);
  border: 1px solid var(--rime);
  border-radius: 6px;
  font-size: 0.8125rem;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(14, 36, 51, 0.08);
}
.tooltip-time { color: var(--slate); }
.tooltip .swatch { margin-right: 6px; }

.chart-table { margin-top: 8px; font-size: var(--t-small); }
.chart-table summary { cursor: pointer; color: var(--slate); }
.chart-table table { margin-top: 8px; }
.chart-table td, .chart-table th { padding: 4px 12px 4px 0; }
.charts + .hint { margin-top: 16px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar .fill, .status.busy::before { animation: none; }
}

/* ---------- Account menu ---------- */

.user-menu { position: relative; }
.user-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1.5px solid var(--rime);
  border-radius: 999px;
  background: transparent;
  color: var(--fjord);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.user-menu-button:hover, .user-menu-button[aria-expanded="true"] { border-color: var(--fjord); }
.user-menu-button .who { color: var(--fjord); font-size: var(--t-body); max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-backdrop { position: fixed; inset: 0; z-index: 10; }
.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 11;
  width: min(300px, calc(100vw - 32px));
  padding: 16px;
  border: 1.5px solid var(--fjord);
  border-radius: 10px;
  background: var(--paper);
  display: grid;
  gap: 14px;
}
.menu-head { display: grid; gap: 2px; font-size: var(--t-small); padding-bottom: 12px; border-bottom: 1px solid var(--rime); }
.menu-email { font-weight: 600; word-break: break-all; }
.site-header .menu-links { display: grid; gap: 2px; }
.site-header .menu-links a { padding: 6px 0; }
.menu .theme-picker .choices legend { font-size: var(--t-small); color: var(--slate); margin-bottom: 4px; }
.menu-logout { justify-self: start; padding-top: 12px; border-top: 1px solid var(--rime); width: 100%; text-align: left; }

/* ---------- Settings ---------- */

.stack-form { display: grid; gap: 16px; max-width: 28rem; }
.danger-zone { border-top-color: var(--alert); }
.danger-zone > p + p, .danger-zone > p + form, .danger-zone > p + ul { margin-top: 12px; }
.blockers { margin: 12px 0 0; padding-left: 1.25em; }
.blockers li + li { margin-top: 6px; }

/* ---------- Domains ---------- */

.field.grow { flex: 1 1 260px; }
.field.narrow { min-width: 90px; max-width: 120px; }
.offers { margin-top: 20px; }
.offers li > .offer-name { margin-right: auto; font-weight: 600; word-break: break-all; }
.offer-price { font-weight: 600; }
.offer-price small { font-weight: 400; }
.register-panel { max-width: 46rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.phone-inputs { display: flex; gap: 6px; }
.phone-inputs .phone-code { width: 72px; flex: none; }
.records td { overflow-wrap: anywhere; }
.record-value { max-width: 36ch; }
.row-buttons { white-space: nowrap; text-align: right; }
.row-buttons .btn + .btn { margin-left: 6px; }
.record-form { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rime); display: grid; gap: 16px; }
.sub-title { font-size: 1.125rem; font-weight: 700; }
.record-fields { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.record-fields .field { min-width: 120px; }
.proxy-check { align-self: center; padding-bottom: 10px; }
.use-server { max-width: 20rem; }
.card-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.card-label { font-weight: 600; margin-right: 8px; }
