.views { display: flex; gap: 2px; }
.views a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.views a:hover { color: var(--ink); }
.views a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }

.mobile { max-width: 520px; margin-inline: auto; background: var(--panel); }
.mobile .bar { gap: 8px; padding: 8px 12px; }
.mobile .brand strong { font-size: 13px; }
.mobile .badge { font-size: 11px; padding: 2px 6px; }
.m-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.m-map { position: relative !important; inset: auto !important; flex: 1 1 42%; min-height: 200px; }
.m-card { flex: 0 0 auto; max-height: 62%; overflow-y: auto; padding: 16px; background: var(--panel); }
.m-card h1 { font-size: 22px; }
.m-card .eyebrow { margin-top: 12px; }
.m-why { margin-top: 4px; font-weight: 700; }
.m-note { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.m-steps { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 12px; }
.m-primary, .m-ghost {
  min-height: 46px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
}
.m-primary { width: 100%; border: 0; background: var(--accent); color: #fff; }
.m-primary:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.m-ghost { border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.m-link { display: grid; place-items: center; text-decoration: none; font-size: 14px; }
fieldset { margin: 12px 0 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.m-picked { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: var(--bg); color: var(--muted); font-size: 13px; }
.m-picked.is-set { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.m-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.m-choices label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}
.m-choices input { position: absolute; opacity: 0; pointer-events: none; }
.m-choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.m-choices label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-field { display: block; margin: 12px 0 0; font-size: 13px; font-weight: 700; }
.m-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  resize: vertical;
}
.m-note + .m-primary { margin-top: 10px; }
.m-thanks { margin-top: 12px; padding: 12px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.mobile .seg button { min-height: 40px; }

.m-record { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.m-primary--sub { background: var(--panel); border: 1px solid var(--accent); color: var(--accent); }

.m-count { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-weight: 700; }
.m-count[hidden] { display: none; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 46px; height: 46px; border: 1px solid var(--accent); border-radius: 9px; background: var(--panel); color: var(--accent); font-size: 22px; cursor: pointer; }
.stepper button:disabled { border-color: var(--line); color: var(--line); cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font-size: 24px; font-variant-numeric: tabular-nums; }
.m-save { margin-top: 14px; }

.m-progress { margin: 4px 0 10px; font-size: 14px; }
.m-progress b { color: var(--accent); font-size: 18px; }
.m-demo { margin-top: 10px; color: var(--muted); font-size: 12px; }
.m-card .m-demo { margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 400; }
