/* The "change a pin" editor on a plan page (public/plan-edit.js) */
.editor { margin: 18px 0 6px; border: 1px solid var(--line, #2a2f2c); background: var(--card, #161a18); padding: 14px 16px; }
.editor h3 { margin: 0 0 6px; }
.editor p { margin: 6px 0; }
.editor button { font: inherit; cursor: pointer; border: 1px solid var(--accent, #ff7a1a); background: var(--accent, #ff7a1a); color: #111; padding: 9px 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.editor button.ghost, .editor .editor-reset { background: transparent; color: inherit; border-color: var(--line, #3a403c); }
.editor button:disabled { opacity: .45; cursor: default; }
.editor-map { height: min(70vh, 560px); margin: 12px 0; border: 1px solid var(--line, #2a2f2c); background: #0d0f0e; }
.editor-note { font-size: 15px; }
.editor-note.bad { color: #ff8f7a; }
.editor-note.good { color: #7ee0a0; }
.editor-changes { margin: 8px 0; padding-left: 20px; font-size: 15px; }
.editor-changes li { padding: 2px 0; }
.editor-changes li.bad b { color: #ff8f7a; }
.editor-changes li.ok b { color: #7ee0a0; }
.editor-changes .warn { color: #ffb86b; }
.editor-changes .mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.editor-reload { margin-left: 4px; }
/* Pins on the map */
.pin { position: relative; }
.pin i { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #111; box-sizing: border-box; }
.pin span { position: absolute; left: 20px; top: -2px; font: 700 12px/1.2 "JetBrains Mono", ui-monospace, monospace; color: #fff; background: rgba(0, 0, 0, .78); padding: 1px 4px; white-space: nowrap; }
.pin span:empty { display: none; }
.pin.am i { background: #2bff88; }
.pin.pm i { background: #ff6ec7; }
.pin.feed i { background: transparent; border: 3px solid #ffd21f; }
.pin.via i { background: #fff; width: 14px; height: 14px; margin: 2px; }
.pin.park i { background: #ff3df0; border-radius: 0; }
.pin.camp i { background: #ff7a1a; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); border: 0; }
.pin.water i { background: #2aa3ff; width: 12px; height: 12px; margin: 3px; }
.pin.midday i { background: #fff; border-radius: 0; transform: rotate(45deg); width: 12px; height: 12px; margin: 3px; }
.pin.am, .pin.pm, .pin.feed, .pin.via { cursor: grab; }
@media print { .editor { display: none; } }

/* Dark for everyone (owner, 2026-10-25): every plan report shows its dark colors whatever the phone's setting. The
   report's own light tokens sit in an inline style after this file, so this rule is one step more specific. */
html:root{--ground:#101512;--surface:#171e1a;--ink:#e2e7e0;--muted:#9aa69e;--line:#2c3630;--chip:#222b25;--blaze:#ff7a33;--blaze-ink:#1a0d05;--forest:#7fbf93;--water:#6fb3e6;--ok:#7fcf98;--warn:#e2a64a;--ok-bg:#16291d;--warn-bg:#2d2412;color-scheme:dark}
