[hidden] { display: none !important; }
:root { --ink: #0B0B0C; --paper: #FAFAF7; --gold: #C9A24A; --soft: #6B6B6B; --line: #E4E2DC; --good: #1F7A4D; --bad: #9B2C2C; --warn: #B7791F;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--paper); }
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(10px) 12px;
  padding-top: max(10px, env(safe-area-inset-top)); background: var(--ink); color: #fff; }
.brand { font-weight: 700; letter-spacing: .08em; white-space: nowrap; } .brand span { color: var(--gold); font-weight: 300; }
.filters { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid #444; border-radius: 999px; padding: 4px 10px; font-size: 14px; white-space: nowrap; }
select, input, textarea, button { font: inherit; }
.bar select { background: #1b1b1d; color: #fff; border: 1px solid #444; border-radius: 999px; padding: 4px 10px; font-size: 14px; }
button { border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; }
button.primary { background: var(--ink); color: #fff; } button:disabled { opacity: .4; cursor: not-allowed; }
button.ghost { background: transparent; color: #fff; border-color: var(--gold); min-height: 36px; padding: 4px 12px; }
#map { position: fixed; inset: 0; top: 56px; }
.fab { position: fixed; right: 14px; bottom: 24px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.notice { position: fixed; top: 64px; left: 12px; right: 12px; z-index: 950; background: #FFF6E0; border: 1px solid var(--warn); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; max-height: 78vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2); padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.sheet h2 { margin: 2px 0 2px; font-size: 20px; } .sheet h3 { margin: 16px 0 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.sheet .close { position: absolute; right: 10px; top: 8px; border: 0; font-size: 22px; min-height: 36px; padding: 4px 10px; }
.soft { color: var(--soft); font-size: 14px; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; background: #eee; }
.pill.good { background: #E3F2EA; color: var(--good); } .pill.bad { background: #F7E4E4; color: var(--bad); } .pill.warn { background: #FCEFD6; color: var(--warn); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.grid button { width: 100%; }
label.f { display: block; font-size: 13px; color: var(--soft); margin-top: 8px; } label.f select, label.f input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
ul.plain { list-style: none; padding: 0; margin: 0; } ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; opacity: 0; transition: opacity .2s; z-index: 1300; pointer-events: none; max-width: 90vw; }
.toast.on { opacity: 1; }
.signin { position: fixed; inset: 0; z-index: 1400; background: var(--paper); display: grid; place-items: center; padding: 20px; }
.pin { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
a { color: var(--ink); }

/* Shown inside Akates OS: no second brand bar title, and the filters take the room. */
.embed .brand { display: none; }

/* Lists: the trades to fill the map with. */
.trades { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; } .trades .chip { cursor: pointer; }
.small { font-size: .78rem; }
.sheet h2 + .soft { margin-top: 4px; }
