/* ---------- tokens ---------- */
:root {
  --accent: #0f766e;            /* overridden per org in <head> */
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, white);
  --accent-line: color-mix(in srgb, var(--accent) 35%, white);

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --ink: #111827;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e3e6eb;
  --line-strong: #cfd4dc;

  --ok: #15803d;      --ok-soft: #dcfce7;
  --warn: #b45309;    --warn-soft: #fef3c7;
  --bad: #b91c1c;     --bad-soft: #fee2e2;
  --info: #1d4ed8;    --info-soft: #dbeafe;
  --muted-soft: #eef0f3;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: 0.75rem; --fs-sm: 0.875rem; --fs-md: 1rem; --fs-lg: 1.125rem; --fs-xl: 1.375rem; --fs-2xl: 1.75rem;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(17, 24, 39, .06), 0 1px 1px rgba(17, 24, 39, .04);
  --shadow-2: 0 10px 30px rgba(17, 24, 39, .10);
  --focus: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  --sidebar-w: 232px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-md); line-height: 1.5; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--sp-3); }
h1 { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--sp-3); }
small, .muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

/* ---------- primitives ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-height: 40px; padding: 0 var(--sp-4);
  border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-size: var(--fs-sm); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn-danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, white); }
.btn-danger:hover { background: var(--bad-soft); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-sm { min-height: 32px; padding: 0 var(--sp-3); font-size: var(--fs-xs); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

label, .label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--sp-1); color: var(--ink); }
.hint { font-size: var(--fs-xs); color: var(--ink-3); margin-top: var(--sp-1); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time],
input[type=url], input[type=search], input[type=datetime-local], select, textarea {
  width: 100%; min-height: 40px; padding: var(--sp-2) var(--sp-3); font: inherit; font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus); }
input[type=color] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.check { display: flex; align-items: flex-start; gap: var(--sp-2); font-weight: 400; font-size: var(--fs-sm); }
.check input { margin-top: 3px; accent-color: var(--accent); }
.field { margin-bottom: var(--sp-4); }
.row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.req::after { content: " *"; color: var(--bad); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.card-pad { padding: var(--sp-6); }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-4) var(--sp-6); border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: var(--fs-md); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600;
  background: var(--muted-soft); color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.s-upcoming { background: var(--info-soft); color: var(--info); }
.pill.s-ongoing { background: var(--accent-soft); color: var(--accent); }
.pill.s-needs_update { background: var(--warn-soft); color: var(--warn); }
.pill.s-completed { background: var(--ok-soft); color: var(--ok); }
.pill.s-cancelled { background: var(--bad-soft); color: var(--bad); }
.pill.s-no_show { background: var(--muted-soft); color: var(--ink-2); }
.pill.p-pending { background: var(--warn-soft); color: var(--warn); }
.pill.p-due { background: var(--warn-soft); color: var(--warn); }
.pill.p-paid { background: var(--ok-soft); color: var(--ok); }
.pill.p-in_progress { background: var(--info-soft); color: var(--info); }
.pill.p-failed { background: var(--bad-soft); color: var(--bad); }
.pill.p-refunded, .pill.p-partly_refunded { background: var(--muted-soft); color: var(--ink-2); }
.pill.s-awaiting_payment { background: var(--warn-soft); color: var(--warn); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.tag { display: inline-block; padding: 1px 8px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 600; }

.alert { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); margin-bottom: var(--sp-4); font-size: var(--fs-sm); border: 1px solid; }
.alert-success { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, white); color: #14532d; }
.alert-error { background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 30%, white); color: #7f1d1d; }
.alert-info { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 30%, white); color: #1e3a8a; }
.alert ul { margin: 0; padding-left: var(--sp-5); }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em;
  padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
.table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table a.rowlink { color: var(--ink); text-decoration: none; font-weight: 600; }
.table a.rowlink:hover { color: var(--accent); }
.truncate { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-4); overflow-x: auto; }
.tabs a { padding: var(--sp-2) var(--sp-3); color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current=page] { color: var(--accent); border-bottom-color: var(--accent); }

.empty { text-align: center; padding: var(--sp-10) var(--sp-6); color: var(--ink-3); }
.empty h3 { color: var(--ink); }
.empty .icon { width: 44px; height: 44px; margin: 0 auto var(--sp-3); border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }

.stack > * + * { margin-top: var(--sp-4); }
.flex { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.right { margin-left: auto; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); margin: 0; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; word-break: break-word; }
.copy { display: flex; gap: var(--sp-2); }
.copy input { font-family: var(--mono); font-size: var(--fs-xs); }
details.more summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }

/* ---------- public booking pages ---------- */
.pub { min-height: 100vh; display: flex; flex-direction: column; }
.pub-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.pub-head .inner { max-width: 1040px; margin: 0 auto; padding: var(--sp-4); display: flex; align-items: center; gap: var(--sp-3); }
.pub-head img { height: 36px; width: auto; }
.pub-head .brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: var(--fs-lg); }
.pub-main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: var(--sp-8) var(--sp-4); }
.embed .pub-main { padding: var(--sp-4); }
.pub-foot { text-align: center; color: var(--ink-3); font-size: var(--fs-xs); padding: var(--sp-6); }

.hero { margin-bottom: var(--sp-6); }
.hero p { color: var(--ink-2); max-width: 60ch; }
.et-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.et-card { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); text-decoration: none; color: inherit; border-left: 4px solid var(--c, var(--accent)); transition: box-shadow .15s, transform .15s; }
.et-card:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.et-card h3 { margin: 0; }
.et-card p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); color: var(--ink-3); font-size: var(--fs-sm); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }

.booker { display: grid; grid-template-columns: 300px 1fr; overflow: hidden; }
.booker-info { padding: var(--sp-6); border-right: 1px solid var(--line); background: var(--surface); }
.booker-info .meta { flex-direction: column; gap: var(--sp-2); margin: var(--sp-4) 0; }
.booker-body { padding: var(--sp-6); }
.picker { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--sp-6); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-3); }
.cal-head h3 { margin: 0; font-size: var(--fs-md); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .dow { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; padding: var(--sp-1) 0; }
.cal button { aspect-ratio: 1; max-height: 48px; width: 100%; border: 0; border-radius: var(--r-pill); background: transparent; font: inherit; font-size: var(--fs-sm); color: var(--ink-3); cursor: default; }
.cal button.has { background: var(--accent-soft); color: var(--accent); font-weight: 700; cursor: pointer; }
.cal button.has:hover { background: var(--accent-line); }
.cal button.sel { background: var(--accent); color: var(--accent-ink); }
.cal button.today { text-decoration: underline; text-underline-offset: 3px; }
.slots h3 { font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.slot-list { display: flex; flex-direction: column; gap: var(--sp-2); max-height: 380px; overflow-y: auto; padding: 2px; }
.slot { min-height: 44px; border: 1px solid var(--accent-line); background: var(--surface); color: var(--accent); border-radius: var(--r-md); font: inherit; font-weight: 600; font-size: var(--fs-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
.slot:hover { border-color: var(--accent); background: var(--accent-soft); }
.slot.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slot small { color: inherit; opacity: .75; font-weight: 400; }
.tz-row { margin-top: var(--sp-5); max-width: 340px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: var(--r-md); height: 44px; }
@keyframes sh { to { background-position: -200% 0; } }
.confirm-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-size: 28px; margin-bottom: var(--sp-4); }
.narrow { max-width: 640px; margin: 0 auto; }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.side { background: #101828; color: #d0d5dd; padding: var(--sp-4) var(--sp-3); position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .brand { color: #fff; font-weight: 700; text-decoration: none; padding: var(--sp-2) var(--sp-3) var(--sp-4); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side nav a { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); color: #d0d5dd; text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.side nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side nav a[aria-current=page] { background: rgba(255, 255, 255, .1); color: #fff; }
.side nav .sec { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a94a6; padding: var(--sp-4) var(--sp-3) var(--sp-1); }
.side .ico { width: 18px; text-align: center; opacity: .85; }
.side .me { margin-top: auto; padding: var(--sp-3); border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-sm); }
.side .me .name { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .me button { color: #d0d5dd; }
.main { min-width: 0; }
.topbar { display: none; }
.page { padding: var(--sp-8); max-width: 1200px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-6); flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: var(--sp-1) 0 0; color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: flex-end; margin-bottom: var(--sp-4); }
.filters > * { flex: 0 1 auto; }
.filters select, .filters input:not([type=checkbox]):not([type=radio]) { min-width: 150px; width: auto; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-4); margin-bottom: var(--sp-6); }
.stat { padding: var(--sp-4) var(--sp-5); }
.stat .n { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.02em; }
.stat .l { color: var(--ink-3); font-size: var(--fs-sm); }
.bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); }
.form-actions { display: flex; gap: var(--sp-2); justify-content: flex-end; padding-top: var(--sp-4); border-top: 1px solid var(--line); margin-top: var(--sp-2); }
.section-title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: var(--sp-6) 0 var(--sp-3); }
.section-title:first-child { margin-top: 0; }
.hours-row { display: grid; grid-template-columns: 140px 1fr; gap: var(--sp-3); align-items: center; padding: var(--sp-2) 0; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: 0; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: flex; align-items: center; gap: var(--sp-3); justify-content: space-between; padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.list-plain li:last-child { border-bottom: 0; }
.field-row { display: grid; grid-template-columns: 2fr 1.2fr 1.6fr auto auto; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-2); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); }
.timeline li { padding: var(--sp-2) 0 var(--sp-2) var(--sp-4); border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }

/* calendar week view */
.week { display: grid; grid-template-columns: 56px repeat(7, minmax(110px, 1fr)); min-width: 860px; position: relative; }
.week .wh { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; text-align: center; color: var(--ink-2); }
.week .wh.today { color: var(--accent); }
.week .hr { font-size: 11px; color: var(--ink-3); text-align: right; padding: 2px var(--sp-2) 0 0; }
.week .col { position: relative; border-left: 1px solid var(--line); }
.week .cell { height: 48px; border-bottom: 1px solid var(--surface-2); }
.week .ev { position: absolute; left: 3px; right: 3px; border-radius: var(--r-sm); padding: 3px 6px; font-size: 11px; line-height: 1.3; overflow: hidden; text-decoration: none;
  background: color-mix(in srgb, var(--c, var(--accent)) 14%, white); border-left: 3px solid var(--c, var(--accent)); color: var(--ink); }
.week .ev:hover { z-index: 3; box-shadow: var(--shadow-2); }
.week .ev.cancelled { opacity: .5; text-decoration: line-through; }
.week .ev strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* auth pages */
.auth { min-height: 100vh; display: grid; place-items: center; padding: var(--sp-6) var(--sp-4); }
.auth .card { width: 100%; max-width: 440px; }
.auth.wide .card { max-width: 620px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .booker { grid-template-columns: 1fr; }
  .booker-info { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .picker { grid-template-columns: 1fr; }
  .slot-list { max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .adm { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: var(--shadow-2); }
  .topbar { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: #101828; color: #fff; position: sticky; top: 0; z-index: 40; }
  .topbar a { color: #fff; text-decoration: none; font-weight: 700; }
  .topbar button { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: var(--r-md); min-height: 36px; padding: 0 var(--sp-3); font: inherit; }
  .page { padding: var(--sp-5) var(--sp-4); }
  .card-pad { padding: var(--sp-4); }
  .booker-body, .booker-info { padding: var(--sp-4); }
  .pub-main { padding: var(--sp-5) var(--sp-4); }
  .hours-row { grid-template-columns: 1fr; gap: var(--sp-1); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; gap: 0 0; }
  .dl dd { margin-bottom: var(--sp-2); }
  .filters select, .filters input:not([type=checkbox]):not([type=radio]) { min-width: 0; width: 100%; }
  .filters > * { flex: 1 1 140px; }
}
@media print { .side, .topbar, .btn { display: none !important; } .adm { display: block; } }

/* ---------- added: integrations, payments, workflows ---------- */
.int-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-items: start; }
.int-card summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-5) var(--sp-6); }
.int-card summary::-webkit-details-marker { display: none; }
.int-card .logo { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; font-size: 15px; }
.int-card .body { padding: 0 var(--sp-6) var(--sp-6); border-top: 1px solid var(--line); padding-top: var(--sp-4); }
.int-card h3 { margin: 0; font-size: var(--fs-md); }
.int-card p.sub { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
.kv { font-family: var(--mono); font-size: var(--fs-xs); background: var(--surface-2); padding: 6px 8px; border-radius: var(--r-sm); word-break: break-all; }
.pay-box { text-align: center; padding: var(--sp-6); }
.pay-box .amt { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.02em; margin: var(--sp-2) 0; }
.pay-buttons { display: grid; gap: var(--sp-3); max-width: 360px; margin: var(--sp-5) auto 0; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; }
.join { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--accent-line); margin: var(--sp-4) 0; }
.step-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); margin-bottom: var(--sp-3); background: var(--surface); }
.step-card .head { display: flex; align-items: center; gap: var(--sp-2); justify-content: space-between; margin-bottom: var(--sp-3); }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list code { background: var(--surface-2); padding: 2px 6px; border-radius: var(--r-sm); font-size: var(--fs-xs); cursor: pointer; border: 1px solid var(--line); }
.host-alloc { display: grid; grid-template-columns: 1fr 90px 120px 110px 90px; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm); }
.host-alloc .h { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 720px) { .host-alloc { grid-template-columns: 1fr 1fr; } .host-alloc .h { display: none; } .int-grid { grid-template-columns: 1fr; } }
