/* axi0 Side-services, Store locator (/side-services/locator/): the demo, the builder and the plain facts of the
   service. The family look of /side-services/ (true black, Instrument Sans, the orange core; light paper through
   /axi0/theme.js). No inline styles (the page runs under style-src 'self'). The locator itself draws inside its own
   shadow root (v1/locator.css); this file only gives its box a fixed height, so nothing below it moves while it loads.
   Fits 390 px. Nothing here moves. */
@font-face {
  font-family: "Instrument Sans";
  src: url(/axi0/fonts/instrument-sans-latin-var.woff2) format("woff2");
  font-weight: 400 700;
  font-display: optional;
}
:root {
  --bg: #000; --panel: #0a0a0c; --hover: #141418;
  --line: #1c1c21; --line2: #2a2a31;
  --head: #fff; --ink: #f5f5f7; --text: #d6d6dc; --lede: #a3a3ad; --mute: #8e8e98;
  --core: #f6a04d; --core-ink: #f6a04d; --on-core: #000;
  color-scheme: dark;
}
html[data-axi0-theme="light"] {
  --bg: #f6f2ea; --panel: #fffdf9; --hover: #efe8dc;
  --line: #e6dfd3; --line2: #d3cabb;
  --head: #17140f; --ink: #17140f; --text: #2c2823; --lede: #4f4940; --mute: #675f54;
  --core-ink: #9a4a0a;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html:not([data-axi0-theme="dark"]) {
    --bg: #f6f2ea; --panel: #fffdf9; --hover: #efe8dc;
    --line: #e6dfd3; --line2: #d3cabb;
    --head: #17140f; --ink: #17140f; --text: #2c2823; --lede: #4f4940; --mute: #675f54;
    --core-ink: #9a4a0a;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 15px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--core-ink); text-underline-offset: 3px; }
::selection { background: rgba(246, 160, 77, .35); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 999px; background: var(--core); color: var(--on-core); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--core-ink); outline-offset: 2px; }
code { font: 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); }

/* ---- header (the same block as Side-services; launcher.css sets the shared geometry) ---------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 22px 20px 8px; }
.mark { display: inline-flex; align-items: baseline; gap: .12em; color: var(--head); text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.mark-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--core); box-shadow: 0 0 9px var(--core); transform: translateY(-2px); }
.mark-s { color: var(--mute); font-weight: 500; }
@media (max-width: 600px) { .mark { font-size: 22px; } }   /* the phone mark, as on every suite page */
@media (max-width: 400px) { .mark-side { display: none; } }
.top-right { display: flex; align-items: center; gap: 14px; }

/* ---- page ------------------------------------------------------------------------------------------------------ */
main { max-width: 1080px; margin: 0 auto; padding: 8px 20px 40px; }
.intro { padding: 18px 0 8px; }
.crumb { margin: 0 0 6px; color: var(--mute); font-size: 14px; }
h1 { margin: 0 0 10px; color: var(--head); font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.lede { max-width: 760px; margin: 0 0 18px; color: var(--lede); font-size: 18px; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: 14px; }
.facts strong { display: block; color: var(--ink); }
.block { padding: 30px 0 6px; border-top: 1px solid var(--line); margin-top: 26px; }
.block h2 { margin: 0 0 6px; color: var(--head); font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.block-lede { max-width: 760px; margin: 0 0 16px; color: var(--lede); }
.block-lede strong { color: var(--ink); font-weight: 600; }
.note, .small { color: var(--mute); font-size: 14px; }
.note { max-width: 760px; margin: 12px 0 0; }
.locator-host { --axi0-locator-height: 600px; height: 600px; --axi0-locator-font: "Instrument Sans", system-ui, sans-serif; }
@media (max-width: 680px) { .locator-host { --axi0-locator-height: 760px; height: 760px; } }

/* ---- builder ---- */
.build { display: grid; grid-template-columns: 1fr; gap: 18px; }
.build-step { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); min-width: 0; }
.build-step h3 { margin: 0 0 10px; color: var(--ink); font-size: 17px; font-weight: 600; }
.drop {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 18px; border: 2px dashed var(--line2); border-radius: 12px;
  cursor: pointer; text-align: center;
}
.drop.is-over { border-color: var(--core); background: var(--hover); }
.drop:focus-within { outline: 2px solid var(--core-ink); outline-offset: 2px; }
.drop-t { color: var(--ink); font-weight: 600; }
.drop-pick { color: var(--core-ink); text-decoration: underline; text-underline-offset: 3px; }
.drop-s { color: var(--mute); font-size: 14px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.report { margin-top: 10px; font-size: 14px; }
.report:empty { display: none; }
.report p { margin: 0 0 6px; }
.report ul { margin: 0; padding-left: 20px; }
.report .bad { color: var(--ink); }
.opts { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 12px; }
.opts label { display: flex; flex-direction: column; gap: 4px; color: var(--mute); font-size: 13px; }
select, .opts input, textarea {
  min-height: 40px; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 15px;
}
.preview { margin-top: 4px; }
.code-l { display: block; margin-bottom: 6px; color: var(--mute); font-size: 13px; }
textarea { width: 100%; resize: vertical; font: 13px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.btn {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line2); border-radius: 999px; background: var(--bg); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--hover); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-core { background: var(--core); border-color: var(--core); color: var(--on-core); }
.btn-core:hover { background: var(--core); filter: brightness(1.06); }

/* ---- columns, steps, privacy ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--mute); font-weight: 600; font-size: 13px; }
tbody th { color: var(--ink); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; font-weight: 500; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.steps { margin: 0; padding-left: 22px; max-width: 760px; }
.steps li { margin: 0 0 8px; }
.steps strong, .plain strong { color: var(--ink); }
.price { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); max-width: 760px; }
.price-v { margin: 0 0 4px; color: var(--head); font-size: 18px; font-weight: 600; }
.price .small { margin: 0; }
.ask { font-weight: 600; }
.plain { max-width: 760px; margin: 0; padding-left: 20px; }
.plain li { margin: 0 0 8px; }
.foot { max-width: 1080px; margin: 0 auto; padding: 18px 20px 34px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.foot p { margin: 0 0 6px; }

@media (min-width: 900px) {
  .build { grid-template-columns: 1fr 1fr; }
  .build-step:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  h1 { font-size: 32px; }
  .lede { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top { padding: 14px 16px 6px; }
  main { padding: 6px 16px 30px; }
  .block h2 { font-size: 22px; }
}
