:root {
  --paper: #f3ece1;
  --ink: #1a1612;
  --muted: #6f655b;
  --line: #e2d6c6;
  --card: rgba(255, 251, 245, 0.88);
  --accent: #c45c26;
  --accent-dark: #9a3f14;
  --accent-soft: #f6e3d4;
  --forest: #2f6f4e;
  --gold: #9a6b12;
  --rose: #9b3d4a;
  --shadow: 0 20px 50px rgba(48, 36, 22, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html.app-shell,
html.app-shell body {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}
body {
  font-family: Figtree, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 8% -8%, #f7dcc4 0%, transparent 58%),
    radial-gradient(700px 380px at 100% 0%, #dce8df 0%, transparent 46%),
    linear-gradient(180deg, #f7f1e8 0%, var(--paper) 38%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(28, 25, 23, 0.06) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0;
}
h1 { font-size: 2rem; line-height: 1.1; }
h2 { font-size: 1.28rem; margin-bottom: 0.35rem; }

.eyebrow,
.card-kicker,
.steps-kicker {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
}

.lede, .hint, label { color: var(--muted); }
.hint { margin: 0 0 1rem; line-height: 1.5; font-size: 0.95rem; }
.lede { line-height: 1.55; }

.app-footer {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.app-footer a, .boot-privacy a { color: var(--muted); }
.boot-privacy { margin: 1.25rem 0 0; font-size: 0.85rem; }
code {
  font-size: 0.88em;
  background: #efe6d8;
  padding: 0.05rem 0.35rem;
  border-radius: 6px;
}

.hidden { display: none !important; }

.app,
.unlock {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 4rem;
}

html.app-shell .app {
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.unlock {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.unlock-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  width: min(920px, 100%);
}
.unlock-brand,
.unlock-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.unlock-brand {
  padding: 2.2rem;
  background: linear-gradient(165deg, rgba(28, 25, 23, 0.95), rgba(48, 32, 22, 0.92));
  color: #f6efe6;
  border: 0;
}
.unlock-brand .eyebrow { color: #e8a87c; }
.unlock-brand .lede { color: #d7cbbd; }
.unlock-brand h1 { font-size: 2.35rem; }
.unlock-points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: #e8d8c4;
  font-size: 0.95rem;
}
.unlock-points li {
  padding-left: 1.15rem;
  position: relative;
}
.unlock-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #e8a87c;
}
.unlock-card { padding: 2rem 1.9rem; }
.unlock-card h2 { margin-bottom: 0.5rem; }
.unlock-card form { display: grid; gap: 0.55rem; margin-top: 1.1rem; }
.card { padding: 1.35rem 1.45rem; }

.brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #1c1917;
  color: #e8a87c;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.18);
}
.unlock-brand .brand-mark {
  background: #e8a87c;
  color: #1c1917;
  margin-bottom: 1.1rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  position: relative;
  top: 0;
  z-index: 50;
  margin: 0 0 1.15rem;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 251, 245, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(48, 36, 22, 0.08);
}
.topbar-meta { display: flex; gap: 0.55rem; align-items: center; flex-wrap: wrap; }

.steps,
.alert-banner {
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.steps {
  background: #1c1917;
  color: #f4efe6;
}
.steps-kicker {
  color: #e8a87c;
  white-space: nowrap;
  margin: 0;
}
.steps span { color: #e8d8c4; }
.alert-banner {
  background: #f8dfe3;
  color: var(--rose);
  border: 1px solid #e8c5cb;
  justify-content: space-between;
}
.alert-banner span { color: #7a3340; }
.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}
.alert-banner[hidden],
.steps[hidden] { display: none !important; }

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  max-width: 22rem;
  background: #1c1917;
  color: #f4efe6;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 20;
  font-weight: 600;
  line-height: 1.4;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stack { display: grid; gap: 0.4rem; }
.inline { display: flex; gap: 0.55rem; align-items: center; }
.toolbar { flex-wrap: wrap; justify-content: flex-end; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.title-with-info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.title-with-info h2 { margin-bottom: 0; }

label { font-size: 0.8rem; font-weight: 700; }
input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: var(--ink);
}
select:focus,
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 92, 38, 0.14);
}

button {
  border: 0;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
button:hover { background: var(--accent-dark); }
button:active { transform: translateY(1px); }
button.secondary { background: var(--ink); }
button.secondary:hover { background: #000; }
button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
button.ghost:hover { background: #efe6d8; }
button.danger {
  background: transparent;
  color: var(--rose);
  border: 1px solid #e8c5cb;
  white-space: nowrap;
}
button.danger:hover { background: #f8dfe3; }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

button.info-btn {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: italic 700 0.78rem/1 Figtree, "Segoe UI", sans-serif;
  cursor: help;
  flex-shrink: 0;
  transform: none;
}
button.info-btn:hover,
button.info-btn:focus-visible {
  color: var(--accent-dark);
  border-color: #e0b89a;
  background: var(--accent-soft);
  transform: none;
}
.info-tip {
  position: absolute;
  left: 0;
  top: calc(100% + 0.55rem);
  z-index: 20;
  width: min(22rem, calc(100vw - 3rem));
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffdf9;
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 14px 36px rgba(48, 36, 22, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.info-tip strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.info-tip-gap { display: block; height: 0.65rem; }
/* Invisible bridge over the gap under the button, so moving onto the tip keeps it open. */
.info-tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}
button.info-btn:hover .info-tip,
button.info-btn:focus .info-tip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: auto;
  transform: translateY(0);
}
/* Each card is its own layer (backdrop blur), so lift the card holding an open tip above the next one. */
.card { position: relative; }
.card:has(.info-btn:hover),
.card:has(.info-btn:focus) { z-index: 30; }
@media (max-width: 640px) {
  .info-tip { left: auto; right: 0; }
}

.pill {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #efe6d8;
}
.pill.ok { background: #dceee3; color: var(--forest); }
.pill.bad { background: #f8dfe3; color: var(--rose); }
.pill.warn { background: #f8ecd0; color: #8a5a10; }

.connect-rail {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: stretch;
}
.connect-node {
  background: linear-gradient(180deg, #fff 0%, #faf4eb 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
}
.node-head {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.node-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: #d2c4b4;
  box-shadow: 0 0 0 4px rgba(210, 196, 180, 0.25);
}
.connect-node.is-on {
  border-color: #c9ddcf;
}
.connect-node.is-on .node-dot {
  background: var(--forest);
  box-shadow: 0 0 0 4px rgba(47, 111, 78, 0.16);
}
.connect-node.is-wait {
  border-color: #ead9a8;
}
.connect-node.is-wait .node-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(154, 107, 18, 0.16);
}
.rail-arrow {
  width: 1.4rem;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, #d2c4b4, var(--accent));
  position: relative;
}
.rail-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--accent);
}

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
.stat {
  text-align: left;
  background: #f7f0e6;
  color: var(--ink);
  border: 1px solid transparent;
  box-shadow: none;
}
.stat span {
  display: block;
  font-family: Fraunces, serif;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 0.15rem;
}
.stat.active { border-color: var(--accent); background: var(--accent-soft); }
.stat.posted.active { border-color: var(--forest); background: #e5f3ea; }
.stat.failed.active { border-color: var(--rose); background: #f8dfe3; }
.stat.mapping.active { border-color: var(--gold); background: #f8ecd0; }

.orders { display: grid; gap: 0.55rem; }
.order {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.order:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(48, 36, 22, 0.06);
}
.order-mark {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.78rem;
}
.order h3 { margin: 0; font-size: 1.02rem; font-family: Figtree, sans-serif; }
.order p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.88rem; }
.order-error {
  color: var(--rose) !important;
  font-weight: 600;
}
.order-fix {
  margin-top: 0.45rem !important;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #f8f1e6;
  border: 1px solid #e8dcc8;
  color: var(--ink) !important;
  font-size: 0.84rem !important;
  line-height: 1.45;
}
.order-fix strong {
  display: inline;
  color: var(--accent-dark);
  margin-right: 0.25rem;
}
.order.attention {
  border-color: #e8d4b0;
  background: #fffdf8;
}
.status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status.SYNCED { background: #dceee3; color: var(--forest); }
.status.FAILED { background: #f8dfe3; color: var(--rose); }
.status.MAPPING_REQUIRED { background: #f8ecd0; color: #8a5a10; }
.status.CONFLICT { background: #f8dfe3; color: var(--rose); }
.status.SKIPPED_CANCELLED { background: #efe6d8; color: var(--muted); }
.status.SKIPPED { background: #efe6d8; color: var(--muted); }
.status.PLAN_LIMIT { background: #f8ecd0; color: #8a5a10; }
#plan-card.attention { border-color: #e2b65a; }
.status.NEW { background: #efe6d8; color: var(--muted); }
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
}
.order-actions .ghost {
  white-space: nowrap;
}

.empty {
  padding: 2.4rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, #f8e6d7, transparent 58%),
    #fffaf3;
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}
.pager-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.pager-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.page-btn {
  min-width: 2.2rem;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
}
.page-btn:hover { background: #efe6d8; }
.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-btn.active:hover { background: var(--accent-dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.7rem;
  align-items: end;
}
.list { margin-top: 1rem; display: grid; gap: 0.45rem; }
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  align-items: end;
}
.settings-actions { display: flex; justify-content: flex-end; }
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  background: #f7f0e6;
  border-radius: 12px;
  font-size: 0.9rem;
}
.admin-shop {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
}
.admin-shop .hint { color: var(--muted); font-size: 0.82rem; }
.form-error { color: var(--rose); font-weight: 600; margin: 0.4rem 0 0; }

@media (max-width: 900px) {
  .unlock-shell,
  .grid-2,
  .connect-rail,
  .contact-grid,
  .settings-grid,
  .order,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }
  .topbar {
    display: grid;
  }
  .inline,
  .toolbar,
  .pager { display: grid; }
  .pager-controls { justify-content: flex-start; }
  .rail-arrow {
    width: 2px;
    height: 1.1rem;
    justify-self: center;
  }
  .rail-arrow::after {
    right: -4px;
    top: auto;
    bottom: -6px;
    border-left-color: transparent;
    border-top-color: var(--accent);
  }
  .contact-grid button,
  .settings-actions button { width: 100%; }
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  display: block;
  flex: none;
}
/* Logo with "MO - OrderBridge" and "Shopify → Xero" stacked beside it (dark panels). */
.brand-lockup { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.brand-lockup .brand-logo { width: 3rem; height: 3rem; }
.brand-lockup .brand-name {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #f6efe6;
}
.brand-lockup .eyebrow { margin: 0.3rem 0 0; color: #e8a87c; }
.brand-tagline { margin: 0.3rem 0 0; }

/* First-open welcome screen (no plan yet) */
.welcome {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
  display: grid;
  gap: 1.1rem;
}
.welcome-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(28, 25, 23, 0.96), rgba(52, 34, 22, 0.93));
  color: #f6efe6;
  box-shadow: var(--shadow);
}
.welcome-hero h1 { font-size: 2.3rem; max-width: 20ch; margin-bottom: 0.8rem; }
.welcome-hero .lede { color: #d7cbbd; max-width: 56ch; margin: 0; }
.welcome-cta { display: grid; justify-items: center; gap: 0.45rem; }
.welcome-cta .hint { color: #d7cbbd; margin: 0; font-size: 0.85rem; }
.welcome-choose { padding: 0.8rem 1.4rem; font-size: 1rem; }
.welcome-section h2 { margin-bottom: 1rem; }
.welcome-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.welcome-steps li {
  background: #fffaf3;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}
.welcome-steps h3 { font-size: 1.05rem; margin: 0.65rem 0 0.35rem; }
.welcome-steps p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 0.93rem; }
.welcome-step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}
.welcome-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.1rem; }
.welcome-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.welcome-checks li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.45;
  color: var(--muted);
  font-size: 0.95rem;
}
.welcome-checks li strong { color: var(--ink); font-weight: 600; }
.welcome-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: #dceee3;
  color: var(--forest);
}
.welcome-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.9rem; }
.welcome-plan {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fffaf3;
}
.welcome-plan h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.welcome-plan p { margin: 0; color: var(--muted); }
.welcome-footer { text-align: center; margin: 0.4rem 0 0; font-size: 0.85rem; }
.welcome-footer a { color: var(--muted); }

.orders-updated { margin: -0.6rem 0 0; font-size: 0.82rem; border-radius: 6px; }
.orders-updated:empty { display: none; }
.orders-updated.flash { animation: orders-updated-flash 1.4s ease-out; }
@keyframes orders-updated-flash {
  0% { background: #dceee3; color: var(--forest); }
  100% { background: transparent; }
}

/* Setup checklist shown after a plan is active, until Xero is connected */
.setup-steps { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 0.75rem; }
.setup-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf3;
}
.setup-step.is-done { border-color: #bfdcc9; background: #f3f9f4; }
.setup-step.is-current { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.setup-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px dashed #d5c4ae;
  font-weight: 700;
  font-size: 0.9rem;
}
.setup-step.is-done .setup-icon { border: 0; background: var(--forest); color: #fff; }
.setup-step.is-done .setup-icon::before { content: "✓"; }
.setup-step-body h3 { font-size: 1.02rem; margin: 0 0 0.2rem; }
.setup-step-body p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.setup-step-body .form-error { color: var(--rose); margin-top: 0.4rem; }
.setup-actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.setup-actions .hint { margin: 0; }
#setup-continue { padding: 0.8rem 1.4rem; font-size: 1rem; }
.setup-note { margin: 0; font-size: 0.88rem; }

@media (max-width: 900px) {
  .setup-step { grid-template-columns: auto 1fr; }
  .setup-step > button { grid-column: 1 / -1; justify-self: start; }
  .welcome-hero,
  .welcome-grid,
  .welcome-steps { grid-template-columns: 1fr; }
  .welcome-hero { padding: 1.6rem; }
  .welcome-hero h1 { font-size: 1.8rem; }
  .welcome-cta { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  button, .order, input { transition: none; }
}
