/* Vista's styling (moved out of index.html 2026-10-27, plans/modular-split.md). */
/* `hidden` always wins. Classes like .btn, .w-icon and the save cloud set their
   own display, which beat the attribute — the page had hit that five times,
   most recently the top bar's Download, Undo, Redo and save cloud staying on
   Home while marked hidden (2026-09-24). One rule instead of a fifth patch. */
[hidden]{display:none !important}
/* Custom properties lifted from Aerial Preview so the two tools read as one
   system.
   
   This was dark-only, on the reasoning that light chrome around a photo skews
   how the photo itself reads. That reasoning holds for the area IMMEDIATELY
   around the image and nowhere else — so --stage stays a mid neutral in both
   themes while the chrome follows the theme, which is what Lightroom and Capture
   One do and for the same reason. Judging label contrast against a photo is
   exactly the task here, and a white surround would bias it.

   Light is the default. --stage and --stage-2 are deliberately NOT flipped. */
:root{
  /* Vista brand colours (owner, 2026-11-04, ADL-103). Vista Orange is too light
     for small text on Warm White, so it is two tokens: --orange for fills
     (buttons, markers, compass arrows) and --amber, a darker shade, for text. */
  --bg:#F7F8F6;
  --panel:#ffffff;
  --panel-raised:#FBFBFA;
  --line:#DCE3E8;
  --orange:#F28C28;
  --on-orange:#142B45;
  --amber:#A85A0C;
  --cyan:#142B45;
  --on-cyan:#FFFFFF;
  --green:#26795A;
  --red:#B83F3F;
  --text:#20252B;
  --text-dim:#5A6878;
  /* The photo surround. Mid neutral, never white, never black. */
  --stage:#4a4f55;
  --stage-2:#3f4449;
  --shadow:rgba(16,24,34,.14);
  --overlay:rgba(20,26,34,.55);
  --tint:rgba(242,140,40,.12);
  --hover:#EEF2F5;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --ui:'Inter',system-ui,-apple-system,sans-serif;
  /* Google's text attribution allows only white, #1F1F1F or #5E5E5E. */
  --gmaps-attr:#5E5E5E;
}
:root[data-theme="dark"]{
  --gmaps-attr:#FFFFFF;
  /* Navy, darkened to the depth of the old near-black theme (owner, 2026-11-04). */
  --bg:#070E16;
  --panel:#0C1623;
  --panel-raised:#0F1D2E;
  --line:#182E48;
  --amber:#F28C28;
  --cyan:#8DB8E2;
  --on-cyan:#062b30;
  --green:#6FC8A2;
  --red:#F08A8A;
  --text:#F7F8F6;
  --text-dim:#9FB2C6;
  --stage:#060a0f;
  --stage-2:#0a0e13;
  --shadow:rgba(0,0,0,.5);
  --overlay:rgba(4,7,11,.82);
  --tint:rgba(242,140,40,.08);
  --hover:#1A324E;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--ui);font-size:14px;line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
button,input,textarea,select{font-family:inherit;color:inherit}

/* ── Sign-in gate ────────────────────────────────────────── */
.signin{
  position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:16px;background:var(--bg);padding:24px;
}
.signin .si-logo{margin:0 0 4px;line-height:0}
.signin .si-logo img{width:220px;height:auto}
/* The logo comes in a version for each theme; only the one that suits shows. */
:root[data-theme="dark"] .for-light,:root:not([data-theme="dark"]) .for-dark{display:none}
.signin .card{
  background:var(--panel-raised);border:1px solid var(--line);border-radius:12px;
  padding:26px 28px;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:420px;text-align:center;
}
.signin .card p{margin:0;font-size:12.5px;color:var(--text-dim);line-height:1.55}
.signin .err{color:var(--red);font-size:12.5px;font-family:var(--mono);display:none;max-width:420px;text-align:center}
/* Email sign-in (ADL-085) */
.ms-btn{display:inline-flex;align-items:center;gap:12px;height:40px;padding:0 14px;background:#fff;color:#5e5e5e;border:1px solid #8c8c8c;
  border-radius:4px;font:600 14px "Segoe UI",system-ui,sans-serif;cursor:pointer}
.ms-btn:hover{background:#f3f3f3}
.ms-btn:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.si-or{display:flex;align-items:center;gap:10px;width:100%;color:var(--text-dim);font-size:11.5px}
.si-or::before,.si-or::after{content:"";flex:1;border-top:1px solid var(--line)}
.si-form{display:flex;flex-direction:column;gap:8px;width:100%;min-width:260px}
.si-form input{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:7px;
  padding:9px 10px;font-size:13px;color:var(--text);outline:none;box-sizing:border-box}
.si-form input:focus{border-color:var(--cyan)}
.si-form p{text-align:left}
.si-link{background:none;border:0;color:var(--text-dim);font-size:12px;cursor:pointer;padding:2px;text-decoration:underline;text-underline-offset:2px}
.si-link:hover,.si-link:focus-visible{color:var(--text)}
.si-note{font-size:12.5px;color:var(--text-dim);line-height:1.5;display:none}
.who select{width:auto;padding:2px 6px;font-size:11.5px;margin-left:4px}

/* ── Layout ─────────────────────────────────────────────── */
.app{display:none;grid-template-columns:340px 1fr;height:100vh;overflow:hidden}
.app.on{display:grid}
.right{padding:16px;overflow:hidden;display:flex;flex-direction:column;gap:12px;min-width:0}
@media (max-width:980px){
  .app.on{grid-template-columns:1fr;height:auto;overflow:visible}
  body{overflow:auto}
  .right{height:auto;overflow:visible}
}

/* ── Workspace layout (ADL-045) ─────────────────────────────────────────────────
   Top bar / rail / one panel / stage, after the owner-approved mockup (D1–D15,
   19 Sept 2026). The existing sections are MOVED into the panel, never copied,
   so every control keeps its id, its listeners and its tests. Only the chrome
   is new. The only layout since 2026-09-24 (ADL-058): the classic single column
   it replaced was retired, and its markup survives only as the sections the
   workspace moves into its panels. */
.app.ui2.on{grid-template-columns:72px auto minmax(0,1fr);grid-template-rows:48px minmax(0,1fr)}
.app.ui2 > .left{display:none}
.app.ui2 > .right{grid-column:3;grid-row:2;padding:0;gap:0}
.app.ui2 .stage{border:0;border-radius:0}
.app.ui2 .stage-bar{min-height:44px;padding:4px 10px;background:var(--panel);border-bottom:1px solid var(--line);gap:4px}
.app.ui2 .stage-bar #stageInfo{display:none}
.app.ui2 .photo-warn,.app.ui2 .align-bar{border-radius:0;margin:0}
/* One stack for every message (D5). Each bar keeps its own element and its own
   code; the stack only orders them, hides the overflow and counts it. */
.w-ctx{gap:8px;flex-wrap:nowrap;overflow-x:auto}
.w-ctx[hidden]{display:none}
.w-ctx-name{font-weight:600;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis;flex:none}
.w-ctx-name em{font-style:normal;font-weight:400;color:var(--text-dim);margin-left:6px}
.w-ctx-idle{color:var(--text-dim);font-size:12px;white-space:nowrap}
.w-ctx-sep{width:1px;height:22px;background:var(--line);flex:none}
.w-ctx-lab{display:flex;align-items:center;gap:6px;color:var(--text-dim);white-space:nowrap;font-size:12px;flex:none}
.w-ctx-lab input{border:1px solid var(--line);border-radius:6px;padding:4px 8px;background:var(--panel);color:var(--text);font:inherit;font-size:12.5px}
.w-seg{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.w-seg button{border:0;border-right:1px solid var(--line);background:var(--panel);color:var(--text-dim);font:inherit;font-size:12px;padding:4px 9px;cursor:pointer}
.w-seg button:last-child{border-right:0}
.w-seg button[aria-pressed="true"]{background:var(--tint);color:var(--amber);font-weight:600}
/* Home (H1–H7). Its own column span so the panel and the stage step aside. */
.w-home{grid-column:2/4;grid-row:2;overflow-y:auto;background:var(--bg)}
.w-home[hidden]{display:none}
.app.ui2 > .right[hidden]{display:none}
.w-railsep{height:1px;background:var(--line);margin:6px 12px}
.w-home-in{max-width:1080px;margin:0 auto;padding:26px 30px 60px;display:flex;flex-direction:column;gap:22px}
.w-start h1{font-size:21px;margin:0 0 12px}
.w-bigsearch input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--panel);
  color:var(--text);font:inherit;font-size:15px;padding:0 14px}
.w-bigsearch input:focus{outline:none;border-color:var(--amber)}
.w-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.w-tile{text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;cursor:pointer;
  display:flex;flex-direction:column;gap:4px;color:var(--text);font:inherit}
.w-tile:hover{border-color:var(--amber)}
.w-tile strong{font-size:18px;display:block}
.w-tile.big{padding:22px 20px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.w-tile em{font-style:normal;font-weight:400;font-size:11.5px;color:var(--text-dim);margin-left:6px}
.w-tile span{color:var(--text-dim);font-size:12.5px}
.w-sec{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.w-sec-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;gap:10px}
.w-sec-h h2{margin:0;font-size:15px;display:flex;align-items:center;gap:8px}
.w-count{background:var(--orange);color:var(--on-orange);border-radius:999px;font-size:11.5px;padding:1px 8px;font-weight:700}
.pl-stage{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px}
.pl-stage[hidden]{display:none}
.pl-stage-head{display:flex;align-items:baseline;gap:9px}
.pl-diagram{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
.pl-diagram svg{max-height:100%;max-width:100%;height:auto}
/* Controls go ABOVE the picture, where they are seen; the compass cards stay
   below it, where a gallery belongs (owner, 2026-09-22: the bar at the bottom
   "is easily missed"). */
.pl-bar{flex:none}
.pl-bar:empty{display:none}
.pl-strip{flex:none;display:flex;gap:10px;overflow-x:auto;padding:2px 0 4px}
.pl-strip:empty{display:none}
/* ── The Plan view: find on top, the plan forming below (ADL-052) ──────────────
   The owner's shape, chosen from five mocked layouts: the stage is where
   locations are found and changed, and the plan draws itself underneath as they
   are ticked — "the goal is to easily find, add and change which locations are
   listed". The divider between the two is the handle. */
/* Shrinks when the window is too short for its height, because the plan below it
   may not: `.pl-lower` keeps a floor, so the browser does the clamping and no
   arithmetic here can get it wrong (the first attempt did — owner, 2026-09-24). */
.pl-work{flex:0 1 auto;display:flex;min-height:0;border:1px solid var(--line);border-radius:11px;
  overflow:hidden;background:var(--panel)}
.pl-work[hidden]{display:none}
.pl-find{flex:1;min-width:0;min-height:0;overflow-y:auto;padding:10px 12px}
/* The same block the Call-outs step uses, on loan — so there is one nearby
   search in the tool, not two. In here its results read as a grid. */
.pl-find .addcall{border:0;padding:0;margin:0}
/* "Back to call-outs" belongs to the column this block came from; in the Plan
   view the block is not over anything to go back from. */
.pl-find #wAddBack{display:none}
/* A label with no location has no place in a plan, and there is no photo here to
   point it at — the owner: "these would not need to be part of the plan tab". */
.pl-find [data-addtab="label"]{display:none}
/* On the stage the tiles stay tile-sized rather than three bars stretched a
   metre wide, and line up on the left with everything under them (they were
   centred over left-aligned results — owner, 2026-10-30). */
.pl-find .w-add-head{align-items:flex-start}
/* And slim: icon beside its word, one row, so the results get the height the
   square tiles took (owner, 2026-10-30: "wasted space"). The Call-outs panel
   keeps its square tiles. */
.pl-find .w-add-tabs{display:flex;gap:6px}
.pl-find .w-add-tabs button{flex-direction:row;aspect-ratio:auto;gap:6px;padding:6px 12px;font-size:12px}
.pl-find .w-add-tabs svg{width:16px;height:16px}
.pl-find #addResults{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:6px;align-items:start}
.pl-find .nb-group{grid-column:1/-1}
.pl-find .nb-more{grid-column:1/-1}
/* The results use the whole width; a search box and two buttons may not — a
   full-width button across a 1000 px stage reads as a mistake. The cap was on
   the nearby block as a whole, so it held the results to 620 px too, in two
   columns beside an empty stage (owner, 2026-10-30): it is on the controls now. */
.pl-find .w-add-group:not([data-addgroup="nearby"]),.pl-find .nb-bar,.pl-find .status,
.pl-find #addNearby,.pl-find .nb-note{max-width:620px}
/* The location preview, beside Find nearby (owner, 2026-10-09): Google's own
   embedded map, so it is Google's content in Google's frame. */
.pl-preview{width:340px;flex:none;min-height:0;border-left:1px solid var(--line);background:var(--panel);
  display:flex;flex-direction:column}
.pl-preview[hidden]{display:none}
.pl-preview-h{flex:none;display:flex;align-items:flex-start;gap:6px;padding:10px 10px 7px 12px}
.pl-preview-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:12.5px}
.pl-preview-t span{font-size:11.5px;color:var(--text-dim)}
.pl-preview-map{flex:1;min-height:220px;margin:0 10px;border-radius:8px;overflow:hidden;background:var(--hover)}
.pl-preview-map iframe{width:100%;height:100%;border:0;display:block}
.pl-preview-f{flex:none;padding:7px 12px 10px;font-size:11.5px;color:var(--text-dim)}
.nb-prev{display:none;flex:none;border:0;background:none;color:var(--text-dim);font-size:12px;line-height:1;
  padding:2px 6px;border-radius:5px;cursor:pointer;font-family:inherit}
.pl-find .nb-prev{display:inline-block}
.nb-prev:hover,.nb-prev:focus-visible{color:var(--amber);background:var(--hover)}
.res.nb.previewing{outline:2px solid var(--amber);outline-offset:-1px}
.pl-chosen{width:292px;flex:none;min-height:0;border-left:1px solid var(--line);
  background:var(--panel-raised);display:flex;flex-direction:column}
.pl-chosen-h{flex:none;padding:10px 12px 7px;font-size:12px;font-weight:700;
  display:flex;align-items:baseline;gap:6px}
.pl-chosen > div:last-child{flex:1;min-height:0;overflow-y:auto;padding:0 10px 10px}
/* Drag it, or tab to it and use the arrow keys. */
.pl-split{flex:none;height:12px;padding:0;border:0;background:none;cursor:ns-resize;
  display:flex;align-items:center;justify-content:center}
.pl-split[hidden]{display:none}
.pl-split span{width:46px;height:3px;border-radius:2px;background:var(--line)}
.pl-split:hover span,.pl-split:focus-visible span{background:var(--orange)}
/* Basis 0 so it takes what is LEFT rather than what its drawing wants, grows
   into the room there is, and stops shrinking at its floor — which is what makes
   the finding half give way on a short window instead of the plan. */
.pl-lower{flex:1 1 0;min-height:120px;display:flex;gap:10px}
/* A compass per shot, beside the diagram rather than under it: the shots are
   already listed in the panel, so the stage shows the thing a pilot is handed
   (owner, 2026-09-23). */
.pl-stage[data-view="plan"] .pl-strip{width:292px;flex:none;display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start;
  overflow-x:hidden;overflow-y:auto;padding:0 2px 2px}
/* wCompass sizes itself in attributes; two to a row, so the drawing follows the
   card rather than the card following the drawing. */
.pl-stage[data-view="plan"] .pl-card svg{width:100%;height:auto}
/* The footprint map takes the width the radial leaves (ADL-099). The radial
   keeps its own shape; the message shown before anything is ticked keeps only
   the room its words need. */
.pl-stage[data-view="plan"] .pl-diagram:has(> svg){flex:0 1 auto;height:100%;aspect-ratio:1120/1000;min-width:0}
.pl-stage[data-view="plan"] .pl-diagram:not(:has(> svg)){flex:0 1 220px}
/* Its shape made it wider as the section grew taller, until the map was 240 px
   wide on every common screen (a tester's shared screen, 2026-11-18). So it grows
   only until it is as wide as the map: half of what the compasses leave (292 px
   and two 10 px gaps), and stays centred past that. Only while the map shows. */
.pl-stage[data-view="plan"] .pl-lower:has(> .pl-map:not([hidden])) .pl-diagram:has(> svg){max-width:calc((100% - 312px) / 2)}
.pl-map{flex:1 1 0;min-width:240px;position:relative;border-radius:10px;overflow:hidden;
  border:1px solid var(--line);background:var(--panel)}
.pl-map[hidden]{display:none}
.pl-map-canvas{position:absolute;inset:0}
.pl-map-msg{position:absolute;inset:0;margin:0;padding:16px;display:flex;align-items:center;
  justify-content:center;text-align:center;color:var(--text-dim);background:var(--panel)}
.pl-map-msg[hidden]{display:none}
.pl-map-fit{margin:10px;padding:0 12px;height:40px;border:0;border-radius:2px;background:#fff;
  color:#333;font:500 14px var(--ui);box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:pointer}
.pl-map-fit:hover{background:#ebebeb}
/* Dots a fixed size whatever the zoom, white-rimmed to stand off the imagery. */
.pl-mdot,.pl-mprop{position:absolute;border-radius:50%;transform:translate(-50%,-50%);box-sizing:border-box}
.pl-mdot{width:16px;height:16px;background:var(--c);border:2px solid #fff;
  box-shadow:0 1px 3px rgba(0,0,0,.55);cursor:pointer}
.pl-mdot.out{background:rgba(0,0,0,.25);border:2px dashed #fff}
.pl-mprop{width:14px;height:14px;background:#111;border:3px solid #fff;box-shadow:0 0 0 2px rgba(0,0,0,.45)}
.pl-mnum{position:absolute;transform:translate(-50%,-50%);font:700 18px var(--ui);color:var(--c);
  text-shadow:0 0 3px #000,0 0 3px #000,0 0 2px #000;cursor:pointer}
.pl-mnum.on{font-size:22px}
/* The Compasses view is the radial AND the compasses: one view's worth of the
   same fact, after the two pills were folded together (owner, 2026-09-23). */
.pl-stage[data-view="compasses"] .pl-lower{flex-direction:column;gap:8px}
.pl-stage[data-view="compasses"] .pl-diagram{flex:0 1 44%}
.pl-stage[data-view="compasses"] .pl-strip{flex:1 1 auto;overflow:auto;padding:0}
.pl-views{margin-right:auto}
/* display:inline-flex on .w-seg beats the browser's [hidden] rule, so the
   switch stayed in the bar after leaving the Plan step (reported 2026-09-22) —
   the same trap as the planner button. */
.w-seg[hidden]{display:none}
.pl-grid{display:flex;flex-wrap:wrap;gap:14px;align-content:flex-start;overflow:auto;max-height:100%;padding:2px}
.pl-big{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-left:3px solid var(--shot);
  border-radius:11px;padding:11px 14px;background:var(--panel);min-width:280px;flex:1 1 300px}
.pl-big-t ul{margin:6px 0 0;padding-left:15px}
.pl-big-t li{font-size:13px;line-height:1.55}
/* A drone frame is 4:3, and the point of this view is judging composition — so
   the box is 4:3 whatever the window does. The element is absolutely positioned
   inside it: a custom element has no intrinsic size, so in a flex column with no
   definite height it collapsed to nothing and rendered blank (2026-09-22). */
.pv-wrap{position:relative;aspect-ratio:4/3;height:100%;max-width:100%;margin:auto;
  border-radius:10px;overflow:hidden;background:#0d1117}
.pv-map{position:absolute;inset:0}
.pv-el,.pv-map gmp-map-3d{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.pv-tag{position:absolute;top:10px;left:10px;background:rgba(13,17,23,.78);color:#fff;border-radius:8px;
  padding:5px 10px;font-size:12.5px;font-family:var(--mono)}
.pv-err{position:absolute;inset:auto 12px 12px 12px;background:var(--panel);border:1px solid var(--line);
  border-radius:9px;padding:10px 12px;font-size:12.5px}
.pv-err[hidden]{display:none}
/* The 3D view on the stage: a layer over exactly the part of the photo on screen. */
.s3d{position:fixed;z-index:12;overflow:hidden;background:#0d1117;display:none}
.s3d.on{display:block}
.s3d-map{position:absolute;inset:0}
.s3d-map gmp-map-3d,.s3d-map .pv-el{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.canvas-wrap.s3d-hide .overlay,.canvas-wrap.s3d-hide svg.leaders,.canvas-wrap.s3d-hide canvas.scene{visibility:hidden}
.pv-f{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--text-dim)}
.pv-f input{width:64px}
.pl-bnd-acts{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.pl-zoom{display:inline-flex;align-items:center;gap:4px}
.pl-zoom .btn{min-width:30px;justify-content:center}
.pl-zoom .w-note{margin:0 2px;font-variant-numeric:tabular-nums}
.pl-stage[data-view="boundary"] .pl-diagram{cursor:grab;touch-action:none;user-select:none}
.pl-stage[data-view="boundary"] .pl-diagram.dragging{cursor:grabbing}
/* Copy sits under its compass, always shown: in the corner it covered a long
   place name on a narrow card, and touch screens have no hover (owner, 2026-11-16). */
.pl-big-c{display:flex;flex-direction:column;align-items:center;gap:6px;flex:none}
.pl-card{flex:none;border:1px solid var(--line);border-radius:11px;padding:8px 10px 6px;background:var(--panel);
  display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer}
.pl-card:hover{border-color:var(--shot)}
.pl-card.on{border-color:var(--shot);box-shadow:0 0 0 1px var(--shot)}
.pl-card-t{display:flex;flex-direction:column;align-items:center;font-size:12px}
/* A dot is for looking at and hovering; its two decisions are on the right-click
   menu, because a click that removed a location surprised the owner (2026-09-24). */
.pl-dot{cursor:pointer}
.pl-dot .pl-dot-o{transition:r .08s}
.pl-dot:hover .pl-dot-o{r:16}
.pl-dot.out:hover .pl-dot-o{r:13}
.stage-bar.pl-thin .toggle,.stage-bar.pl-thin .zoomctl,.stage-bar.pl-thin #stageInfo{display:none}
.pl-set{display:flex;gap:10px;flex-wrap:wrap}
.pl-set label{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--text-dim)}
.pl-set input{width:62px}
.pl-once{display:flex;align-items:center;gap:7px;font-size:12.5px;margin-top:9px}
.pl-shot{display:flex;gap:11px;padding:11px 0;border-top:1px solid var(--line)}
.pl-shot:first-child{border-top:0}
.pl-cmp{flex:none}
.pl-who{flex:1;min-width:0}
.pl-who ul{margin:6px 0 0;padding-left:15px}
.pl-who li{font-size:12.5px;line-height:1.5}
.pl-who .num{color:var(--amber);font-family:var(--mono);font-size:11.5px;margin-left:4px}
.pl-held{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.pl-chip{font:inherit;font-size:11px;padding:2px 7px;border-radius:999px;cursor:pointer;
  border:1px dashed var(--line);background:transparent;color:var(--text-dim)}
.pl-chip:hover{border-color:var(--amber);color:var(--text)}
.pl-chip.no{border-style:dotted;opacity:.55;cursor:not-allowed}
.pl-loc{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:12.5px;cursor:pointer}
.pl-loc .pl-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-loc .num{color:var(--amber);font-family:var(--mono);font-size:11.5px}
/* The tick leaves a location out of the SHOTS; the × takes it off the job. */
.pl-unforce{border:0;background:none;color:var(--text-dim);font-size:14px;line-height:1;cursor:pointer;padding:0 3px}
.pl-unforce:hover{color:var(--red)}
.pl-drop{flex:none;border:0;background:none;color:var(--text-dim);font-size:16px;line-height:1;
  padding:1px 5px;border-radius:5px;cursor:pointer}
.pl-drop:hover,.pl-drop:focus-visible{color:var(--red);background:var(--hover)}
#plText{width:100%;font-family:var(--mono);font-size:11.5px;line-height:1.5;resize:vertical}
.w-next{margin:6px 0 0;font-size:12.5px;line-height:1.45;color:var(--text)}
.w-job.w-waiting{border-color:var(--amber)}
.w-job.w-waiting .w-job-acts{align-items:center}
.w-addr{font-weight:600}
.w-note{color:var(--text-dim);font-size:12.5px}
.w-empty{color:var(--text-dim);margin:10px 0 2px}
/* Guided setup: the checklist on Home and the welcome card (ADL-106) */
.w-guide{background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:12px;padding:14px 16px}
.w-guide-h{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.w-guide-title{flex:1 1 260px;min-width:0}
.w-guide-title h2{margin:0;font-size:15px}
.w-guide-bar{flex:0 1 160px;height:6px;border-radius:3px;background:var(--line);overflow:hidden}
.w-guide-bar i{display:block;height:100%;background:var(--orange);border-radius:3px}
.w-guide-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:8px 28px;margin-top:12px}
.w-guide-stage h3{margin:0 0 6px;font-size:12px;font-weight:700;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em}
.w-guide-stage ol{list-style:none;margin:0;padding:0}
.w-guide-stage li{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-top:1px solid var(--line)}
.w-guide-stage li:first-child{border-top:0}
.w-guide-mark{flex:none;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--line);display:flex;align-items:center;justify-content:center;
  font-size:11.5px;font-weight:700;color:var(--text-dim)}
.w-guide-stage li.done .w-guide-mark{background:var(--green);border-color:var(--green);color:#fff}
.w-guide-stage li.done strong{color:var(--text-dim);font-weight:500}
.w-guide-stage li.next .w-guide-mark{border-color:var(--orange);color:var(--amber)}
.w-guide-txt{flex:1;min-width:0;padding-top:2px}
.w-guide-txt p{margin:3px 0 0;font-size:12.5px;color:var(--text-dim)}
.w-guide-stage li .btn{flex:none;margin-top:-1px}
@media (max-width:640px){
  .w-guide-stage li{flex-wrap:wrap}
  .w-guide-txt{flex-basis:calc(100% - 32px)}
  .w-guide-stage li .btn{margin:6px 0 0 32px}
}
.w-guide{position:relative}
.w-guide-h{padding-right:30px}
.w-guide-x{position:absolute;top:6px;right:6px;font-size:18px;line-height:1;color:var(--text-dim)}
.w-guide-x:hover{color:var(--text);background:var(--hover)}
.w-guide-done .w-guide-h{flex-wrap:nowrap}
.w-guide-done .w-guide-title{flex:1 1 auto}
.w-guide-done .w-guide-mark{background:var(--green);border-color:var(--green);color:#fff}
/* The guided setup's pointer (ADL-110): a ring round the control, a line beside it. */
.w-coach-ring{position:fixed;z-index:75;pointer-events:none;border:2px solid var(--orange);border-radius:10px;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 25%,transparent);animation:coachPulse 1.6s ease-in-out infinite}
.w-coach-tip{position:fixed;z-index:76;display:flex;gap:8px;align-items:flex-start;max-width:min(280px,calc(100vw - 16px));
  padding:9px 8px 9px 12px;border-radius:9px;background:var(--panel);color:var(--text);border:1px solid var(--orange);
  box-shadow:0 6px 22px rgba(0,0,0,.22);font-size:13px;line-height:1.4}
.w-coach-txt{flex:1}
.w-coach-x{flex:none;border:0;background:none;color:var(--text-dim);font-size:16px;line-height:1;padding:0 4px;cursor:pointer;border-radius:5px}
.w-coach-x:hover{color:var(--text);background:var(--hover)}
@keyframes coachPulse{0%,100%{box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 30%,transparent)}
  50%{box-shadow:0 0 0 9px color-mix(in srgb,var(--orange) 0%,transparent)}}
@media (prefers-reduced-motion:reduce){.w-coach-ring{animation:none}}
@media (max-width:640px){
  .w-guide-done .w-guide-h{flex-wrap:wrap;gap:10px}
  .w-guide-done .w-guide-title{flex:1 1 calc(100% - 34px)}
}
.w-guide-wait{margin:0 0 6px;padding:8px 10px;border-radius:8px;background:var(--tint);font-size:12.5px;line-height:1.45}
.picker-box.w-welcome-box{width:min(520px,100%)}
.w-welcome-box .picker-body{padding:24px 24px 18px}
.w-welcome-box h2{margin:0 0 6px;font-size:19px}
.w-welcome-box p{margin:0 0 16px;color:var(--text-dim);font-size:13.5px}
.w-welcome-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:10px}
.w-welcome-acts .w-tile strong{font-size:15px;margin-bottom:3px}
.w-welcome-box .w-welcome-skip{display:flex;margin:14px auto 0}
.w-proj-sec + .w-proj-sec{margin-top:22px}
.w-sub-h{margin:4px 0 10px;font-size:13px;font-weight:700;color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;
  display:flex;align-items:center;gap:8px}
.w-sub-h .n{font-weight:500;letter-spacing:0;text-transform:none}
.w-sub-h button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;border-radius:6px;padding:2px 4px;margin-left:-4px}
.w-sub-h button:hover{color:var(--text)}
.w-sub-h button:focus-visible{outline:2px solid var(--cyan);outline-offset:1px}
.w-sub-h .chev{display:inline-block;width:10px;transition:transform .12s}
.w-proj-sec.shut .chev{transform:rotate(-90deg)}
.w-proj-sec.shut .w-sub-h{margin-bottom:0}
.w-more{margin-top:10px}
.w-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:12px}
.w-job{display:flex;flex-direction:column;gap:5px;text-align:left;background:var(--panel);border:1px solid var(--line);
  border-radius:12px;padding:13px 14px;cursor:pointer;color:var(--text);font:inherit}
.w-job:hover{border-color:var(--amber)}
.w-job{padding:0}
.w-job-open{display:flex;flex-direction:column;gap:5px;padding:13px 14px 8px;cursor:pointer}
.w-job-acts{display:flex;justify-content:flex-end;gap:6px;padding:0 10px 10px}
.w-prog{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin:4px 0 1px}
.w-prog i{height:4px;border-radius:2px;background:var(--line)}
.w-prog i.on{background:var(--orange)}
.w-stl{font-size:12px;color:var(--amber);font-weight:600}
.w-stl.del{color:var(--text-dim)}
.w-rawfinal{flex:none;margin-right:4px}
.w-rawfinal[hidden]{display:none}
.app.ui2.adding{grid-template-columns:72px auto auto minmax(0,1fr)}
.app.ui2.adding > .right{grid-column:4}
.w-panel.w-add-panel{grid-column:3;grid-row:2;width:300px}   /* both classes: .w-panel's
   grid-column:2 is declared later in this sheet and would otherwise win, putting the
   Add panel on top of the Call-outs panel (reported 2026-09-21) */
.w-add-panel[hidden]{display:none}
.w-add-head{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}
/* The routes as square tiles, each with its icon, so they read as a choice apart
   from the search box beneath them (owner, 2026-09-23). */
.w-add-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;border:0;overflow:visible}
.w-add-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  aspect-ratio:1;min-height:0;padding:6px 4px;font-size:11px;line-height:1.2;text-align:center;
  border:1px solid var(--line);border-radius:9px}
.w-add-tabs button:last-child{border-right:1px solid var(--line)}
.w-add-tabs button[aria-pressed="true"]{border-color:var(--amber)}
.w-add-tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.addcall:not(.w-add-on) .w-add-head{display:none}
.w-add-group[hidden]{display:none}
.mk.w-fresh{outline:2px solid var(--green);outline-offset:1px;transition:outline-color 1.2s}
#wAddOpen{margin-bottom:4px}
.w-bars{flex:none;display:flex;flex-direction:column;background:var(--line);gap:1px}
.w-bars:empty{display:none}
.w-slot[hidden]{display:none}
.app.ui2 .w-bars .jobbar,.app.ui2 .w-bars .rst{border:0;border-radius:0;margin:0;padding:8px 12px;background:var(--panel-raised)}
.app.ui2 .w-bars .jobbar.warn{background:var(--tint)}
.app.ui2 .w-bars .jobbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.app.ui2 .w-bars .jobbar .acts{margin-top:0;margin-left:auto}
.app.ui2 .w-bars .status{margin:0;padding:7px 12px;background:var(--panel-raised)}
.w-more{border:0;width:100%;background:var(--panel);color:var(--text-dim);font:inherit;font-size:12px;
  padding:4px;cursor:pointer;text-align:center}
.w-more:hover{background:var(--hover);color:var(--text)}
.w-more[hidden]{display:none}
.w-top{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:10px;padding:0 12px 0 0;
  background:var(--panel);border-bottom:1px solid var(--line);min-width:0}
.w-brand{width:72px;height:100%;display:grid;place-items:center;border:0;border-right:1px solid var(--line);background:none;cursor:pointer;color:var(--cyan);flex:none}
.w-title{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.w-title.none{color:var(--text-dim);font-weight:500}
.w-chip{font-size:12px;color:var(--text-dim);border:1px solid var(--line);border-radius:999px;padding:2px 9px;white-space:nowrap}
.w-chip:empty{display:none}
.w-top .w-spacer{flex:1}
.w-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;border:0;background:none;color:var(--text)}
.w-icon:hover:not(:disabled){background:var(--hover)}
.w-icon:disabled{opacity:.35;cursor:not-allowed}
.w-brand img{width:56px;height:auto}
.w-icon svg,.w-step svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.w-dl{min-height:32px;white-space:nowrap}
.w-avatar{width:32px;height:32px;border-radius:50%;border:0;background:var(--tint);color:var(--amber);font-weight:700;cursor:pointer;flex:none}
.w-menu{position:fixed;top:44px;right:10px;width:270px;background:var(--panel);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 8px 28px var(--shadow);padding:6px;z-index:80;display:none}
.w-menu.on{display:block}
.w-menu .w-who{padding:8px 10px;color:var(--text-dim);font-size:12px;border-bottom:1px solid var(--line);margin-bottom:4px;overflow-wrap:anywhere}
.st-page{position:fixed;inset:0;z-index:45;background:var(--bg);display:none;flex-direction:column;color:var(--text)}
.st-page.on{display:flex}
.st-head{display:flex;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--panel);flex:none}
.st-head h1{font-size:16px;font-weight:600;margin:0;margin-right:auto}
.st-body{flex:1;min-height:0;display:flex;overflow:hidden}
.st-nav{flex:none;width:200px;padding:16px 10px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:2px;background:var(--panel)}
.st-nav button{border:0;background:none;text-align:left;padding:8px 12px;border-radius:7px;font:inherit;font-size:13px;color:var(--text);cursor:pointer}
.st-nav button:hover{background:var(--hover)}
.st-nav button[aria-selected="true"]{background:var(--tint);color:var(--amber);font-weight:600}
.st-main{flex:1;min-width:0;overflow-y:auto;padding:24px 28px 48px}
.st-panel{max-width:620px}
.st-panel h2{font-size:18px;margin:0 0 16px}
.st-panel h3{font-size:13px;margin:22px 0 6px}
.st-form{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.st-field{display:flex;flex-direction:column;flex:1;min-width:0}
.st-field.st-short{flex:0 0 110px}
.st-row{display:flex;gap:12px;flex-wrap:wrap}
.st-row .st-field{min-width:140px}
.st-page input[type=text],.st-page input[type=email],.st-page input[type=password],.st-page select{width:100%;background:var(--panel);color:var(--text);
  border:1px solid var(--line);border-radius:7px;padding:8px 10px;font:inherit;font-size:13px;outline:none}
.st-page input:focus,.st-page select:focus{border-color:var(--cyan)}
.st-page input:disabled,.st-page select:disabled{opacity:.7;cursor:default}
.st-value{font-size:13px;padding:2px 0;color:var(--text)}
.st-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.st-note{font-size:12px;color:var(--text-dim);line-height:1.45}
.st-logo{display:flex;gap:14px;align-items:center;margin-bottom:8px;flex-wrap:wrap}
.st-logo-box{width:120px;height:120px;border:1px dashed var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;
  background:var(--panel);color:var(--text-dim);font-size:12px;overflow:hidden;flex:none}
.st-logo-box img{max-width:100%;max-height:100%;object-fit:contain}
.st-view{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.st-view .st-logo-box{border-style:solid}
.st-logo-btns{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.st-logo-btns label.btn{margin:0;color:var(--text);font-size:11.5px}
.w-agency-logo{display:block;max-width:140px;max-height:44px;object-fit:contain;margin:6px 10px 2px}
@media (max-width:700px){
  .st-body{flex-direction:column}
  .st-nav{width:auto;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px 16px}
  .st-nav button{white-space:nowrap}
  .st-main{padding:16px 16px 40px}
}
.mb-table{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.mb-row{display:grid;grid-template-columns:22px minmax(0,1.1fr) minmax(0,1.6fr) 110px 120px;gap:10px;align-items:center;
  padding:9px 14px;border-top:1px solid var(--line);font-size:13px}
.mb-row:first-child{border-top:0}
.mb-head{background:var(--panel-raised);font-size:11px;font-weight:600;color:var(--text-dim);text-transform:uppercase;letter-spacing:.05em}
.mb-name,.mb-email{min-width:0;overflow-wrap:anywhere}
.mb-row small,.mb-dim{color:var(--text-dim)}
.mb-act{text-align:right}
.mb-check{display:flex;align-items:center}
.mb-check input,.mb-head input{width:16px;height:16px;margin:0;accent-color:var(--orange)}
.mb-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;margin-bottom:10px;border:1px solid var(--line);
  border-radius:10px;background:var(--tint);font-size:13px}
.mb-bulk[hidden]{display:none}
.mb-bulk select{width:auto;padding:4px 6px;font-size:12.5px}
.btn.st-danger{color:var(--red);border-color:var(--red);background:transparent}
.btn.st-danger:hover:not(:disabled){background:var(--red);color:#fff}
.st-danger-box{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-top:6px;border-radius:10px;
  border:1px solid color-mix(in srgb,var(--red) 45%,transparent);background:color-mix(in srgb,var(--red) 7%,var(--panel))}
.st-danger-box h4{margin:0 0 6px;font-size:13.5px;color:var(--text)}
.st-danger-box .st-note{margin:0 0 10px}
.st-danger-icon{flex:none;color:var(--red);margin-top:1px}
.st-confirm-body ul{margin:4px 0 8px;padding-left:18px;max-height:180px;overflow:auto}
.st-confirm-body p{margin:0 0 6px}
.mb-access select{width:auto;padding:4px 6px;font-size:12.5px}
.st-leave{margin-top:28px;padding-top:14px;border-top:1px solid var(--line)}
.st-levels{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:3px}
.mb-pending .mb-email{color:var(--text-dim)}
.mb-empty{padding:14px;color:var(--text-dim);font-size:13px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.st-panel.st-wide{max-width:860px}
.st-titlebar{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.st-titlebar h2{margin:0 auto 0 0}
.st-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.st-id{font-family:var(--mono);font-size:12px;background:var(--panel-raised);border:1px solid var(--line);border-radius:6px;padding:4px 8px;user-select:all;overflow-wrap:anywhere}
.st-modal{position:fixed;inset:0;z-index:50;background:var(--overlay);display:flex;align-items:center;justify-content:center;padding:16px}
.st-modal[hidden]{display:none}
.st-modal-box{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px;width:min(440px,100%);
  display:flex;flex-direction:column;gap:12px;box-shadow:0 18px 50px var(--shadow)}
.st-modal-box h2{font-size:16px;margin:0}
.si-hint{font-size:11.5px;color:var(--text-dim);line-height:1.45;text-align:left;margin:0}
@media (max-width:640px){
  .mb-head{display:none}
  .mb-row{grid-template-columns:22px 1fr auto;grid-template-areas:"check name act" "check email act" "check access act";gap:2px 10px}
  .mb-check{grid-area:check}
  .mb-name{grid-area:name;font-weight:600}
  .mb-email{grid-area:email}
  .mb-access{grid-area:access;color:var(--text-dim);font-size:12px}
  .mb-act{grid-area:act}
}
.w-menu .w-sub{padding:6px 10px 2px;color:var(--text-dim);font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.w-menu button{display:flex;width:100%;justify-content:space-between;gap:8px;border:0;background:none;padding:8px 10px;border-radius:6px;
  text-align:left;font:inherit;font-size:13px;color:var(--text);cursor:pointer}
.w-menu button:hover{background:var(--hover)}
.w-menu a.w-link{display:flex;padding:8px 10px;border-radius:6px;font-size:13px;color:var(--text);text-decoration:none}
.w-menu a.w-link:hover{background:var(--hover)}
.si-legal{font-size:11.5px !important}
.si-legal a{color:var(--text-dim)}
.w-menu small{color:var(--text-dim)}
.w-menu .w-sep{height:1px;background:var(--line);margin:4px 0}
.w-rail{grid-column:1;grid-row:2;background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:8px 0;gap:2px;overflow-y:auto}
.w-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;cursor:pointer;
  padding:9px 2px;margin:0 6px;border-radius:10px;color:var(--text-dim);font:inherit;font-size:11.5px;min-height:52px}
.w-step:hover{background:var(--hover);color:var(--text)}
.w-step[aria-current="true"]{background:var(--tint);color:var(--amber);font-weight:600}
.w-step.w-help{margin-top:auto;text-decoration:none}
.w-step .w-dot{position:absolute;top:6px;right:14px;width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 2px var(--panel)}
.w-panel{grid-column:2;grid-row:2;width:320px;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;display:flex;flex-direction:column;min-height:0}
.w-panel[hidden]{display:none}
/* Call-outs: the list takes the panel's height and scrolls on its own, with
   Reset and Remove pinned at the foot. It was capped at 340 px, so on a normal
   screen five locations showed, the list scrolled, and the panel below it sat
   empty (owner, 2026-09-24). A short window still scrolls the panel. */
.w-panel.w-fill > .w-panel-body{flex:1 1 auto;min-height:0;padding-bottom:12px}
.w-panel.w-fill .w-group:not([hidden]){flex:1 1 auto;min-height:0}
.w-panel.w-fill .section[data-step="callouts"]{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.w-panel.w-fill #mkList{max-height:none;flex:0 1 auto;min-height:120px;margin-bottom:auto}
.w-panel-head{position:sticky;top:0;z-index:5;background:var(--panel);padding:12px 12px 10px 16px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between}
.w-panel-head h2{margin:0;font-size:15px}
.w-panel-body{padding:12px 16px 28px;display:flex;flex-direction:column;gap:14px}
.w-panel-body .section{background:none;border:0;border-radius:0;padding:0}
.w-panel-body .section > .title{display:none}
.w-panel-body .section[data-sub]{border-top:1px solid var(--line);padding-top:12px}
.w-panel-body .section[data-sub]::before{content:attr(data-sub);display:block;font-size:12.5px;font-weight:600;color:var(--text-dim);margin-bottom:9px}
.w-panel-body .w-group{display:flex;flex-direction:column;gap:14px}
.w-panel-body .w-group[hidden]{display:none}
.w-info{position:relative}
.w-pop{position:absolute;right:0;top:calc(100% + 6px);width:260px;background:var(--panel);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 8px 28px var(--shadow);padding:10px 12px;z-index:30;font-family:var(--mono);font-size:11.5px;color:var(--text-dim);display:none;white-space:normal}
.w-pop.on{display:block}
.w-dialog .picker-body .section{background:none;border:0;padding:0}
.w-dialog .picker-body .section > .title{display:none}

/* ── Header ──────────────────────────────────────────────── */
.brand{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.brand h1{margin:0;font-size:15px;font-weight:700;letter-spacing:.2px;white-space:nowrap}
.brand .sub{font-size:11px;color:var(--text-dim);font-family:var(--mono);white-space:nowrap}
/* Own line: an @rephotos.com.au address is too long to sit beside the wordmark
   in a 340px rail without wrapping the wordmark itself. */
.signout{
  border:1px solid var(--line);background:transparent;color:var(--text-dim);
  border-radius:6px;padding:2px 9px;font:inherit;font-size:10.5px;cursor:pointer;
}
#themeBtn{margin-left:auto}
#themeBtn:hover{border-color:var(--amber);color:var(--amber)}
.signout:hover{border-color:var(--red);color:var(--red)}
.who{flex-basis:100%;font-size:10.5px;color:var(--text-dim);font-family:var(--mono);overflow:hidden;text-overflow:ellipsis}

/* ── Sections ───────────────────────────────────────────── */
.section{background:var(--panel-raised);border:1px solid var(--line);border-radius:10px;padding:14px}
.jobbar{margin-top:9px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;
  background:var(--panel);font-size:12.5px;line-height:1.45;color:var(--text)}
.jobbar.warn{border-color:var(--amber)}
.jobbar .sub{color:var(--text-dim);font-size:11.5px}
.jobbar .matched{cursor:help}
.jobbar .acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
.jobphotos{margin-top:11px;border-top:1px solid var(--line);padding-top:9px}
/* ── Map picker (ADL-047) ─────────────────────────────────────── */
.mp-wrap{position:relative;width:100%;max-width:640px;aspect-ratio:1;margin:0 auto;border-radius:9px;overflow:hidden;
  background:var(--hover);cursor:grab;touch-action:none;user-select:none}
.mp-wrap[hidden]{display:none}
.mp-wrap.failed .mp-credit{background:rgba(120,20,20,.75)}
.mp-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.mp-wrap.dragging{cursor:grabbing}
.mp-wrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
/* The lot lines, in the picture's own pixels, sliding with it (owner chose
   option A, 2026-10-06): every lot faint, the one under the pin in the pin's
   colour, so the right block is easy to find and confirm. */
.mp-lots{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.mp-lots path{fill:none;stroke:#fff;stroke-opacity:.55;stroke-width:1.4;vector-effect:non-scaling-stroke}
.mp-lots path.here{fill:#F28C28;fill-opacity:.18;stroke:#F28C28;stroke-opacity:1;stroke-width:3;stroke-linejoin:round}
.mp-alt{position:absolute;left:8px;bottom:30px;z-index:2}
.mp-alt[hidden]{display:none}
/* Fixed at the centre, tip on the exact middle: the point is whatever the map
   has been moved to put under it. It lets presses through to the map, so a drag
   that starts on the pin moves the map like any other (owner, 2026-09-23). It
   stays focusable for the arrow keys. */
.mp-pin{position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-26px 0 0 -13px;
  pointer-events:none;z-index:2}
.mp-pin:focus-visible{outline:2px solid #F28C28;outline-offset:3px;border-radius:50%}
.mp-wrap{cursor:grab;touch-action:none}
.mp-pin svg{width:26px;height:26px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.6))}
.mp-pin.dragging{cursor:grabbing}
.mp-zoom{position:absolute;top:8px;right:8px;display:flex;flex-direction:column;gap:4px}
.mp-zoom button{width:30px;height:30px;font-size:16px;line-height:1;padding:0}
.mp-credit{position:absolute;left:0;right:0;bottom:0;padding:3px 7px;font-size:10px;line-height:1.35;
  background:rgba(0,0,0,.55);color:#fff}
/* Before the first picture arrives the image has nothing to show, and an empty
   image draws as a broken one (owner, 2026-11-06): hidden until it has a picture.
   The loading label sits on its own chip, readable on any background. */
.mp-img:not([src]){visibility:hidden}
.mp-busy{position:absolute;inset:0;display:none;align-items:center;justify-content:center;pointer-events:none}
.mp-busy span{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:20px;
  background:var(--panel);color:var(--text);border:1px solid var(--line);box-shadow:0 2px 10px rgba(0,0,0,.18);font-size:12.5px;
  transform:translateY(42px)}  /* under the pin, which sits in the middle */
/* The Vista loading mark (docs/app/core/spinner.js): the logo's V, whose pin turns
   on the spot like a coin (owner's idea, 2026-11-06). Squashing the pin's width
   to nothing, then out mirrored, reads as a turn; the eases at each quarter make
   it slow at full width and quick edge-on, as a real turn looks. With reduced
   motion it stands still and the words beside it carry the message. */
.v-spin{width:auto;height:18px;flex:none;fill:var(--orange);overflow:visible}
.v-spin-pin{transform-box:fill-box;transform-origin:50% 50%;animation:vSpinPin 1.6s infinite}
@keyframes vSpinPin{
  0%{transform:scaleX(1);animation-timing-function:cubic-bezier(.4,0,1,1)}
  25%{transform:scaleX(0);animation-timing-function:cubic-bezier(0,0,.6,1)}
  50%{transform:scaleX(-1);animation-timing-function:cubic-bezier(.4,0,1,1)}
  75%{transform:scaleX(0);animation-timing-function:cubic-bezier(0,0,.6,1)}
  100%{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.v-spin-pin{animation:none}}
.mp-wrap.busy .mp-busy{display:flex}
.projcard{border:1px solid var(--line);border-radius:9px;padding:10px 11px;margin-bottom:11px;background:var(--panel-2,transparent)}
.projcard .pc-name{font-weight:600;font-size:13.5px}
.projcard .pc-addr{font-size:12px;color:var(--text-dim);margin-top:2px}
.projcard .pc-addr.none{color:var(--amber)}
.projcard .pc-meta{font-size:11.5px;color:var(--text-dim);margin-top:5px;font-family:var(--mono)}
.projcard .pc-acts{display:flex;gap:6px;margin-top:8px}
.jp-row{display:flex;align-items:center;gap:7px;padding:3px 0;font-size:12px}
.jp-row.now{font-weight:600}
.jp-now{flex:none;font-size:10.5px;color:var(--cyan);font-weight:600}
.jp-file{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--mono);font-size:11px}
.jp-st{flex:none;font-size:11px;border-radius:4px;padding:1px 6px;border:1px solid var(--line);color:var(--text-dim)}
.jp-st.jp-finals{border-color:transparent;background:var(--tint);color:var(--amber)}
.jp-final{flex:none;font-size:10.5px;color:var(--text-dim);font-family:var(--mono);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Folded by default: the filename above it is the part worth seeing every time. */
.exif-head.shut + .exif-out{display:none!important}
/* The metadata read-out: useful once, in the way thereafter. */
.exif-head{
  display:flex;align-items:center;gap:7px;cursor:pointer;user-select:none;
  font-size:11.5px;color:var(--text-dim);margin-top:9px;
}
.exif-head::after{content:'▾';font-size:9px;transition:transform .15s;margin-left:auto}
.exif-head.shut::after{transform:rotate(-90deg)}
.section > .title{
  display:flex;align-items:center;gap:8px;
  font-size:11px;font-weight:600;letter-spacing:.9px;text-transform:uppercase;
  color:var(--text-dim);margin:0 0 10px;
}
.section > .title .n{
  width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:var(--panel);border:1px solid var(--line);color:var(--amber);font-size:10px;font-family:var(--mono);
}
label{display:block;font-size:11px;color:var(--text-dim);margin:0 0 4px;font-weight:500}
.field{margin-bottom:10px}
.field:last-child{margin-bottom:0}
select,input[type=text]{
  width:100%;background:var(--panel);border:1px solid var(--line);border-radius:7px;
  padding:8px 10px;font-size:13px;font-family:var(--mono);outline:none;transition:border-color .15s;
}
select:focus,input:focus{border-color:var(--cyan)}
select{cursor:pointer}

/* ── Property search ────────────────────────────────────── */
.combo{position:relative}
/* An address box with its Search button beside it (2026-10-07). */
.combo-row{display:flex;gap:6px;align-items:flex-start}
.combo-row .combo{flex:1;min-width:0}
.combo-row > .btn{flex:none;height:34px}
.combo input{padding-right:26px}
.combo-clear{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);
  border:none;background:transparent;color:var(--text-dim);
  font-size:15px;line-height:1;cursor:pointer;padding:2px 4px;
}
.combo-clear:hover{color:var(--text)}
.combo-list{
  position:absolute;left:0;right:0;top:calc(100% + 3px);z-index:30;
  max-height:290px;overflow-y:auto;background:var(--panel);
  border:1px solid var(--line);border-radius:6px;padding:3px;
  box-shadow:0 10px 26px var(--shadow);
}
.combo-opt{padding:6px 8px;border-radius:5px;cursor:pointer}
.combo-opt b{display:block;font-size:12.5px;font-weight:600;color:var(--text)}
.combo-opt span{font-size:10.5px;color:var(--text-dim)}
.combo-opt.on,.combo-opt:hover{background:rgba(242,140,40,.12)}
.combo-opt.on b,.combo-opt:hover b{color:var(--amber)}
.combo-none{padding:7px 8px;font-size:11.5px;color:var(--text-dim)}
/* The job list scrolls; this must not scroll away with it. */
.combo-foot{
  position:sticky;bottom:-3px;z-index:1;
  background:var(--panel);border-top:1px solid var(--line);
  margin:3px -3px -3px;padding:7px 11px;border-radius:0 0 6px 6px;
}
select:disabled{opacity:.6;cursor:default}

/* ── Buttons ─────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:1px solid var(--line);background:var(--panel);color:var(--text);
  border-radius:7px;padding:8px 12px;font-size:13px;font-weight:600;cursor:pointer;
  transition:background .15s,border-color .15s,transform .05s;
}
.btn:hover{border-color:var(--text-dim)}
.btn:active{transform:translateY(1px)}
.btn:disabled{opacity:.4;cursor:not-allowed}
.btn.full{width:100%}
.btn.primary{background:var(--orange);border-color:var(--orange);color:var(--on-orange)}
.btn.primary:hover{background:#F5A04D;border-color:#F5A04D}
.btn.small{padding:5px 8px;font-size:11.5px}
.btn.ghost{background:transparent}

/* ── Status / notes ─────────────────────────────────────── */
.note{font-size:11.5px;color:var(--text-dim);line-height:1.5;margin-top:8px}
.status{font-size:12px;font-family:var(--mono);display:flex;align-items:center;gap:6px;min-height:16px}
.status .dot{width:7px;height:7px;border-radius:50%;background:var(--text-dim);flex:none;margin-top:5px}
.status.ok{color:var(--green)} .status.ok .dot{background:var(--green)}
.status.warn{color:var(--amber)} .status.warn .dot{background:var(--orange)}
.status.err{color:var(--red)} .status.err .dot{background:var(--red)}
.status.busy{color:var(--cyan)} .status.busy .dot{background:var(--cyan);animation:pulse 1s infinite}
@keyframes pulse{0%,100%{opacity:.3}50%{opacity:1}}
.loader-line{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-dim);font-family:var(--mono)}
/* Where index.html's loading lines take the Vista mark; main.js swaps it in at
   start-up (fillSpinners). Until then, only its space. */
.spin{display:inline-block;width:14px;height:15px;flex:none}
.loader-line .v-spin{height:15px}
.w-empty.v-loading{display:flex;align-items:center;gap:8px}

/* ── Drop zone ──────────────────────────────────────────── */
.drop.small{padding:12px 10px;font-size:12.5px}
.drop.off{opacity:.45;cursor:not-allowed}
.drop{
  border:1.5px dashed var(--line);border-radius:9px;padding:22px 14px;text-align:center;
  cursor:pointer;transition:border-color .15s,background .15s;color:var(--text-dim);font-size:12.5px;
}
.drop:hover,.drop.over{border-color:var(--cyan);background:rgba(79,216,232,.06);color:var(--text)}
.exif-out{margin-top:10px;display:none;flex-direction:column;gap:3px}
.exif-out.on{display:flex}
.exif-row{display:flex;justify-content:space-between;gap:10px;font-family:var(--mono);font-size:11.5px}
.exif-row .k{color:var(--text-dim);flex:none}
.exif-row .v{color:var(--green);text-align:right;word-break:break-all}

/* ── Dropbox picker ─────────────────────────────────────── */
.picker{
  position:fixed;inset:0;z-index:40;background:var(--overlay);backdrop-filter:blur(4px);
  display:none;align-items:center;justify-content:center;padding:28px;
}
.picker.on{display:flex}
/* Agreeing to the Terms (ADL-094): above the sign-in screen it can open over. */
.picker.terms-gate{z-index:60}
.picker-box.terms-box{width:min(520px,100%)}
.terms-box p{margin:0 0 12px;font-size:13.5px;line-height:1.55}
.terms-box a{color:var(--cyan)}
.terms-list{margin:0 0 14px;padding-left:20px;font-size:13.5px;line-height:1.8}
.terms-list span{color:var(--text-dim);font-size:12px;margin-left:6px}
.terms-agree{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;line-height:1.5;margin:0 0 14px;cursor:pointer}
.terms-agree input{margin-top:3px;flex:none;width:16px;height:16px}
.terms-box .terms-small{font-size:12px;color:var(--text-dim);margin:0}
.terms-note{font-size:12.5px;color:var(--text-dim)}
/* A scheduled change to the Terms or Privacy Policy (ADL-095) */
.terms-soon{position:fixed;right:16px;bottom:16px;z-index:55;width:min(360px,calc(100vw - 32px));background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px var(--shadow);padding:14px 16px;font-size:13px;line-height:1.5;color:var(--text)}
.terms-soon p{margin:0 0 8px}
.terms-soon .soon-changes{color:var(--text-dim)}
.terms-soon a{color:var(--cyan)}
.terms-soon .soon-acts{display:flex;justify-content:flex-end;margin-top:4px}
.picker-box{
  background:var(--panel);border:1px solid var(--line);border-radius:14px;
  width:min(1100px,100%);max-height:100%;display:flex;flex-direction:column;overflow:hidden;
}
.picker-head{
  display:flex;align-items:center;gap:10px;padding:13px 16px;border-bottom:1px solid var(--line);flex:none;
}
.picker-head .t{font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:var(--text-dim);flex:none}
.crumbs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-family:var(--mono);font-size:11.5px;min-width:0}
.crumbs button{
  background:none;border:none;color:var(--cyan);cursor:pointer;padding:2px 4px;
  font-family:var(--mono);font-size:11.5px;border-radius:4px;
}
.crumbs button:hover{background:var(--panel-raised)}
.crumbs .sep{color:var(--text-dim)}
.crumbs .here{color:var(--text);padding:2px 4px}
.picker-body{padding:14px 16px;overflow-y:auto;flex:1;min-height:0}
.picker-foot{padding:10px 16px;border-top:1px solid var(--line);flex:none;display:flex;align-items:center;gap:10px}

/* ── Job feedback ───────────────────────────────────────── */
.fb-box{width:min(520px,100%)}
.fb-body{padding:16px;overflow-y:auto;flex:1;min-height:0}
.fb-q{font-size:13px;color:var(--text);margin:0 0 8px;line-height:1.45}
.fb-q .num{color:var(--amber);font-family:var(--mono);font-size:11.5px;margin-right:6px}
.fb-group{margin-bottom:17px}
.fb-opts{display:flex;flex-wrap:wrap;gap:6px}
.fb-opt{
  border:1px solid var(--line);background:transparent;color:var(--text-dim);
  border-radius:7px;padding:6px 11px;font:inherit;font-size:12.5px;cursor:pointer;
  transition:border-color .12s,color .12s,background .12s;
}
.fb-opt:hover{border-color:var(--amber);color:var(--text)}
.fb-opt.on{border-color:var(--amber);color:var(--amber);background:rgba(242,140,40,.1)}
.fb-note-in{
  width:100%;box-sizing:border-box;resize:vertical;font:inherit;font-size:13px;
  background:var(--panel-raised);color:var(--text);border:1px solid var(--line);
  border-radius:8px;padding:8px;
}
.fb-note-in:focus{outline:none;border-color:var(--cyan)}
.fb-auto{
  font-size:11px;color:var(--text-dim);line-height:1.6;margin-top:4px;
  border-top:1px solid var(--line);padding-top:10px;
}
.fb-auto b{color:var(--text);font-weight:600}
.picker-foot .note{margin:0;flex:1}

.dirs{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}
.dir{
  display:flex;align-items:center;gap:9px;padding:9px 11px;cursor:pointer;
  border:1px solid var(--line);border-radius:7px;background:var(--panel-raised);font-size:13px;
}
.dir:hover{border-color:var(--cyan)}
.dir .ic{color:var(--amber)}
.dir .n{font-size:10.5px;color:var(--text-dim);margin-left:auto;font-family:var(--mono)}

.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.tile{
  border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--panel-raised);
  cursor:pointer;transition:border-color .12s,transform .05s;
}
.tile:hover{border-color:var(--cyan)}
.tile:active{transform:translateY(1px)}
.tile .thumb{
  width:100%;aspect-ratio:4/3;background:var(--stage-2);display:flex;align-items:center;justify-content:center;
  color:var(--text-dim);font-size:10.5px;font-family:var(--mono);
}
.tile .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tile .cap{padding:6px 8px;font-family:var(--mono);font-size:10.5px;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tile .sub{padding:0 8px 7px;font-family:var(--mono);font-size:9.5px;color:var(--text-dim)}
.picker-empty{color:var(--text-dim);font-size:12.5px;padding:22px 4px;line-height:1.6}

/* ── Reason tagging ─────────────────────────────────────── */
.rsn{display:flex;flex-direction:column;gap:9px}
.rsn-row{border:1px solid var(--line);border-radius:8px;background:var(--panel-raised);padding:10px 12px}
.rsn-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}
.rsn-name{font-size:13px;font-weight:600}
.rsn-h{color:var(--amber)}
.rsn-meta{font-family:var(--mono);font-size:10.5px;color:var(--text-dim);flex:none}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{
  border:1px solid var(--line);background:var(--panel);color:var(--text-dim);
  border-radius:20px;padding:5px 11px;font-size:12px;font-weight:600;cursor:pointer;
  transition:border-color .12s,color .12s,background .12s;
}
.chip:hover{border-color:var(--text-dim);color:var(--text)}
.chip.on{border-color:var(--amber);color:var(--amber);background:rgba(242,140,40,.09)}
.rsn-note{margin-top:8px;display:none}
.rsn-note.on{display:block}


/* ── Styling panel ──────────────────────────────────────── */
.sty{display:flex;flex-direction:column;gap:9px}
.sty-row{display:flex;align-items:center;gap:8px}
.sty-note{font-size:10.5px;color:var(--text-dim);line-height:1.45;margin:-2px 0 4px}
.sty-row label{margin:0;flex:1;font-size:11.5px}
.sty-row input[type=color]{
  width:38px;height:26px;padding:0;border:1px solid var(--line);border-radius:6px;
  background:var(--panel);cursor:pointer;flex:none;
}
.sty-row input[type=range]{flex:1.4;accent-color:var(--orange)}
.sty-row .val{font-family:var(--mono);font-size:10.5px;color:var(--text-dim);width:40px;text-align:right;flex:none}
.sty-row select,.sty-row input[type=text]{flex:1.4;padding:5px 7px;font-size:12px}
.sty-row .off-btn{
  border:1px solid var(--line);background:var(--panel);color:var(--text-dim);
  border-radius:6px;font-size:10px;padding:4px 7px;cursor:pointer;flex:none;
}
.sty-row .off-btn.on{border-color:var(--amber);color:var(--amber)}
.sty-sep{border-top:1px dashed var(--line);margin:3px 0 1px}
.kit-row{display:flex;gap:6px}
.kit-row select{flex:1}
.fontwarn{display:none;font-size:11px;color:var(--red);font-family:var(--mono);margin-top:2px}
.fontwarn.on{display:block}

/* ── Alignment bar ──────────────────────────────────────── */
.align-bar{
  flex:none;display:none;gap:12px;align-items:center;
  border:1px solid var(--line);background:var(--panel-raised);
  border-radius:9px;padding:9px 12px;font-size:12.5px;line-height:1.45;
}
.align-bar.on{display:flex}
.align-bar.offer{border-color:var(--cyan);background:rgba(79,216,232,.08)}
.align-bar.applied{border-color:var(--green);background:rgba(94,232,143,.07)}
.align-bar.failed{border-color:var(--red);background:rgba(255,107,94,.09)}
.align-bar.failed .ic{color:var(--red)}
.align-bar .txt{flex:1;min-width:0}
.align-bar .num{font-family:var(--mono);color:var(--text)}
.align-bar .ic{flex:none;font-size:14px}
.align-bar.offer .ic{color:var(--cyan)}
.align-bar.applied .ic{color:var(--green)}
.align-bar .acts{display:flex;gap:7px;flex:none}

/* ── Marker list ────────────────────────────────────────── */
.mk-list{display:flex;flex-direction:column;gap:5px;max-height:340px;overflow-y:auto}
.mk{
  border:1px solid var(--line);border-radius:7px;background:var(--panel);padding:7px 9px;
  cursor:pointer;transition:border-color .12s,background .12s;
}
.mk:hover{border-color:var(--text-dim)}
.mk.sel{border-color:var(--amber);background:rgba(242,140,40,.08)}
.mk.off{opacity:.85}
/* The place on top — its name given the width it needs, distance on the right.
   The controls below describe the LABEL, which is a different thing from the
   place, and putting them on one line was truncating names to "Boost J...". */
.mk-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mk-top .mk-sub{flex:none}
.mk-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px}
.mk-name{font-size:12.5px;font-weight:500;overflow-wrap:anywhere}
.mk-where{font-size:11px;color:var(--text-dim);margin-top:1px;overflow-wrap:anywhere}
.mk-del{color:var(--red)}
/* The "picked up where you left off" note sits with the labels, which it put back. */
.rst{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:9px;
  padding:9px 11px;border:1px solid var(--amber);border-radius:8px;
  background:rgba(242,140,40,.07)}
.rst-txt{flex:1 1 190px;font-size:12.5px;line-height:1.45}
.rst-what{color:var(--text-dim)}
/* Folded away by default: a list of what you have already done is worth
   reaching for, not worth looking at on every job. */
.rw-toggle{width:100%;text-align:left;background:none;border:0;padding:8px 0 0;
  color:var(--text-dim);font:inherit;font-size:12px;cursor:pointer}
.rw-toggle:hover{color:var(--text)}
.rw-block{margin-top:6px;border-top:1px solid var(--line);padding-top:4px;
  max-height:280px;overflow-y:auto}
.rw{padding:8px 9px;border-radius:7px;cursor:pointer;border:1px solid transparent}
.rw:hover{background:var(--hover);border-color:var(--line)}
.rw-job{font-size:12.5px;font-weight:500}
.rw-meta{font-size:11px;color:var(--text-dim);margin-top:1px}
.rw-files{font-family:var(--mono);font-size:10.5px;color:var(--text-dim);margin-top:4px;line-height:1.6}
.rw-file{cursor:pointer;padding:1px 0}
.rw-file:hover{color:var(--amber)}
.mk-tag{font-family:var(--mono);font-size:9.5px;letter-spacing:.5px;text-transform:uppercase;padding:1px 6px;border-radius:4px;flex:none;white-space:nowrap}
.mk-tag.on{color:var(--green);border:1px solid rgba(94,232,143,.4)}
.mk-tag.off{color:var(--amber);border:1px solid rgba(242,140,40,.45)}
.mk-tag.behind{color:var(--red);border:1px solid rgba(255,107,94,.45)}
.mk-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:3px}
.mk-sub{font-family:var(--mono);font-size:10.5px;color:var(--text-dim)}
.mk-moved{font-family:var(--mono);font-size:10px;color:var(--cyan)}
.mk-group{
  font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--text-dim);
  margin:10px 0 4px;display:flex;gap:6px;align-items:center;
}
.mk-group:first-child{margin-top:2px}
.mk-group span{font-family:var(--mono);opacity:.7}

/* ── Stage ──────────────────────────────────────────────── */
.stage-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex:none}
.addcall{margin-top:10px;border-top:1px solid var(--line);padding-top:10px}
.addcall input{
  flex:1;min-width:0;background:var(--panel);border:1px solid var(--line);color:var(--text);
  border-radius:6px;padding:6px 9px;font:inherit;font-size:12px;
}
.addcall input:focus{outline:none;border-color:var(--amber)}
.res{
  border:1px solid var(--line);border-radius:6px;padding:6px 9px;margin-top:6px;cursor:pointer;
}
.res:hover{border-color:var(--amber)}
.res b{display:block;font-size:12.5px;font-weight:600;color:var(--text)}
.res span{font-size:11px;color:var(--text-dim)}

/* ── Nearby locations ───────────────────────────────────── */
.nb-filters{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.nb-chip{
  border:1px solid var(--line);background:transparent;color:var(--text-dim);
  border-radius:11px;padding:2px 9px;font:inherit;font-size:10.5px;cursor:pointer;
}
.nb-chip:hover{border-color:var(--amber)}
.nb-chip.on{border-color:var(--amber);color:var(--amber)}
.nb-group{
  font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);
  margin:10px 0 2px;display:flex;align-items:center;gap:8px;
}
/* A section at a time (owner, 2026-09-23). Quiet, because they act on a lot. */
.nb-all{margin-left:auto;display:flex;gap:2px;text-transform:none;letter-spacing:0}
.nb-all button{border:0;background:none;color:var(--cyan);font:inherit;font-size:11px;padding:2px 6px;
  border-radius:5px;cursor:pointer}
.nb-all button:hover{background:var(--hover)}
/* On the job already, and not by this list: shown so the list tells the whole
   story, fixed so a stray click cannot take off what the job came with. */
.res.nb.fixed{opacity:.62;cursor:default}
/* Set aside by the tidying rules (ADL-098): offered, a little quieter. */
.res.nb.setaside{opacity:.72}
/* The chosen group's own kinds, on a line of their own under the groups. */
.nb-filters .nb-break{flex-basis:100%;height:0}
.nb-chip.sub{font-size:11px;padding:2px 8px;opacity:.9}
.nb-more{display:block;width:100%;margin:8px 0 2px;padding:7px 9px;border:1px dashed var(--line);border-radius:8px;
  background:none;color:var(--text-dim);font:inherit;font-size:12px;cursor:pointer;text-align:center}
.nb-more:hover{color:var(--text);border-color:var(--text-dim)}
.res.nb{display:flex;gap:8px;align-items:flex-start}
.res.nb.sel{border-color:var(--amber);background:rgba(242,140,40,.07)}
.res.nb .nb-tick{
  flex:none;width:13px;height:13px;margin-top:2px;border:1px solid var(--line);
  border-radius:3px;font-size:9px;line-height:11px;text-align:center;color:var(--bg);
}
.res.nb.sel .nb-tick{background:var(--orange);border-color:var(--orange)}
.res.nb .nb-body{min-width:0;flex:1}
/* Open in Google Maps: a quiet link at the row's end (2026-10-08). */
.gmaps{flex:none;color:var(--text-dim);text-decoration:none;font-size:13px;line-height:1;padding:2px 5px;border-radius:5px}
.gmaps:hover,.gmaps:focus-visible{color:var(--amber);background:var(--hover)}
.nb-why{font-size:11px;color:var(--text-dim)}
.nb-why.strong{color:var(--amber)}
.nb-bar{display:flex;gap:6px;margin-top:9px}
.nb-note{font-size:10.5px;color:var(--text-dim);margin-top:7px;line-height:1.45}
.mk.hid .mk-name{text-decoration:line-through;opacity:.45}
.mk-eye,.mk-why,.mk-edit{
  border:1px solid var(--line);background:transparent;color:var(--text-dim);
  border-radius:5px;padding:1px 7px;font:inherit;font-size:11px;cursor:pointer;
}
.mk-eye{margin-left:6px}
.mk-edit{margin-left:auto}
.mk-eye[aria-pressed="true"]{border-color:var(--text-dim);color:var(--text)}
.mk-eye:hover,.mk-why:hover,.mk-edit:hover{border-color:var(--amber);color:var(--amber)}
.mk-why{border-color:var(--amber);color:var(--amber)}
.bapex{
  position:absolute;width:15px;height:15px;margin:-7.5px 0 0 -7.5px;z-index:4;
  border:2px solid #ffd166;border-radius:50%;background:rgba(10,14,19,.55);
  cursor:grab;box-sizing:border-box;
}
.bapex:hover{transform:scale(1.25)}
.bapex:active{cursor:grabbing}
/* On the photo, so fixed for the same reason as .tag. */
.bapex.pinned{background:#ffd166;border-color:#0a0e13}
/* Still draggable and still reachable — just not part of the outline. */
.bapex.omitted{opacity:.4;border-style:dashed;background:transparent}
.bapex.added{border-style:dashed;border-width:3px}
/* The middle of an edge: drag to curve it. Smaller than a corner and white, so
   the two cannot be mistaken; yellow once the edge has been bent, like a corner
   placed by hand. */
.bbend{position:absolute;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;z-index:4;
  border:2px solid #0a0e13;border-radius:50%;background:#fff;opacity:.9;
  cursor:grab;box-sizing:border-box}
.bbend:hover{transform:scale(1.3);opacity:1}
.bbend:active{cursor:grabbing}
.bbend.bent{background:#ffd166}
.bnd-meta{font-size:11.5px;color:var(--text-dim);line-height:1.55;margin-top:7px}
.bnd-meta b{color:var(--text);font-weight:600}
.proppin{
  position:absolute;z-index:1;cursor:grab;user-select:none;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.proppin:active{cursor:grabbing}
.tag{z-index:3}
.anchor{z-index:2}
.pin-row{display:flex;gap:6px;align-items:center}
/* The style panel's property mark: its choices on one line, the buttons under it. */
.sty-row .pin-pick{flex:1.4;min-width:0;flex-wrap:wrap}
.sty-row .pin-pick select{flex:1 1 100%;min-width:0}
.pin-row select{flex:1;min-width:0}
.toggle{
  display:inline-flex;align-items:center;gap:6px;cursor:pointer;
  border:1px solid var(--line);background:var(--panel);color:var(--text-dim);
  border-radius:20px;padding:6px 12px;font-size:12px;font-weight:600;
  transition:border-color .15s,color .15s,background .15s;
}
.toggle:hover{border-color:var(--text-dim);color:var(--text)}
.toggle.on{border-color:var(--amber);color:var(--amber);background:rgba(242,140,40,.08)}
.stage-info{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--text-dim)}
/* The save cloud — a tick when saved, dots while saving, ! when not. The words
   are on hover, as Canva shows them; the icon alone is the at-a-glance state. */
.save-ind{position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:30px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--text-dim);cursor:default;padding:0}
.save-ind:hover{background:var(--hover)}
.save-ind[data-state="saved"]{color:var(--green)}
.save-ind[data-state="dirty"],.save-ind[data-state="saving"],.save-ind[data-state="loading"]{color:var(--cyan)}
.save-ind[data-state="error"],.save-ind[data-state="held"]{color:var(--red);cursor:pointer}
.save-ind[data-state="saving"] svg circle,.save-ind[data-state="loading"] svg circle{animation:pulse 1s infinite}
.save-ind::after{content:attr(data-tip);position:absolute;top:calc(100% + 8px);right:0;z-index:30;
  width:max-content;max-width:280px;padding:7px 10px;border-radius:8px;background:#1f2937;color:#fff;
  font:500 12px/1.35 var(--ui);text-align:left;white-space:normal;
  opacity:0;pointer-events:none;transition:opacity .12s}
.save-ind:hover::after,.save-ind:focus-visible::after{opacity:1}

.stage{
  flex:1;min-height:0;position:relative;background:var(--stage);
  border:1px solid var(--line);border-radius:12px;overflow:auto;
  /* "safe center" matters once zoom is in play. A plainly centred flex child that
     overflows its scroll container overflows in BOTH directions, and the part
     above/left of centre cannot be scrolled to — so zooming in put the anchored
     point 208 px off and made the top of a zoomed frame unreachable. "safe" falls
     back to start-alignment exactly when the content overflows. The unprefixed
     value is kept first as a fallback for anything that does not parse "safe". */
  display:flex;
  align-items:center;      align-items:safe center;
  justify-content:center;  justify-content:safe center;
  padding:14px;
}
/* Shown whenever the pixels on screen aren't the real frame — it has to be on
   the picture, not tucked in the sidebar, or it reads as a sharpness problem
   with the photo itself. */
.photo-warn{
  flex:none;display:flex;gap:8px;align-items:flex-start;
  border:1px solid rgba(242,140,40,.45);background:rgba(242,140,40,.08);
  border-radius:9px;padding:9px 12px;font-size:12px;color:var(--amber);line-height:1.5;
}
.photo-warn .ic{flex:none;font-size:13px;line-height:1.3}
.empty{color:#8593a4;font-size:13.5px;text-align:center;padding:24px;max-width:460px;line-height:1.6}

/* The photo and every overlay share this box exactly, so a label's percentage
   position is the same fraction of the image at any zoom or window size.
   The wrap shrink-wraps the <img>. The <img>'s max dimensions are set in pixels
   by fitImage() rather than in CSS percentages: a percentage max-height against
   a shrink-wrapping (auto-height) parent is indeterminate, which collapses the
   image to zero in one direction and leaves it at native size in the other. */
.canvas-wrap{position:relative;flex:none;line-height:0;box-shadow:0 6px 30px rgba(0,0,0,.5)}
.canvas-wrap img{display:block;width:auto;height:auto;user-select:none;-webkit-user-drag:none}
/* The overlay covers the whole stage, so with default pointer-events it
   swallowed every click before anything beneath it could be reached — which is
   why the boundary outline, drawn in the SVG below, could not be clicked at
   all. It passes clicks through; the things that ARE interactive opt back in. */
.overlay{position:absolute;inset:0;overflow:visible;pointer-events:none}
/* A corner selected for the arrow keys (2026-10-09). */
.bapex.sel{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px rgba(255,176,32,.55)}
/* Every handle on the overlay has to opt back in here. The curve handle did not at
   first, so a press went straight through it to the outline beneath — and
   clicking the outline ADDS A CORNER (caught by a real-mouse test, 2026-09-23). */
.tag,.anchor,.bapex,.bbend,.proppin{pointer-events:auto}
.leaders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
/* The call-outs as painted, by the export's own drawing (ADL-097). Placed over
   the part of the photo in view by stage.js; it takes no clicks. */
.canvas-wrap canvas.scene{position:absolute;pointer-events:none;z-index:4}
/* A call-out's handle: invisible, exactly over the call-out as painted. Only the
   selection outline shows. The handles sit above the painting, so their
   selection and hover marks show on top; being transparent, they hide nothing. */
.tag.hit,.anchor.styled,.bapex,.bbend{z-index:5}
/* Free text, measurement labels and the pin are painted on the same canvas
   (ADL-097); these are their invisible handles. */
.mlabel.hit{color:transparent;font-size:0;line-height:0;text-shadow:none;overflow:hidden;box-sizing:border-box}
.proppin.hit{opacity:0}
.tag.hit{background:none;border:0;padding:0;color:transparent;font-size:0;line-height:0;
  backdrop-filter:none;text-shadow:none;overflow:hidden;box-sizing:border-box}
.zoomctl{display:inline-flex;gap:3px;margin-left:4px}
.zoomctl .toggle{min-width:30px;padding:4px 7px;text-align:center}
/* Theme tokens, not fixed colours. The peach text this used to hard-code was
   chosen against the dark theme and was close to unreadable once light became
   the default — pale peach on near-white. */
.align-warn{
  display:block;margin-top:7px;padding:7px 10px;border-radius:7px;
  background:var(--tint);border:1px solid var(--amber);
  color:var(--text);font-size:12.5px;line-height:1.45
}
.align-warn strong{color:var(--amber)}
/* Right-click menu for a call-out. Fixed-positioned and appended to <body> so it
   is never clipped by the stage's overflow or scaled by the image transform. */
.ctxmenu{position:fixed;z-index:9999;min-width:186px;padding:5px;
  background:var(--panel);border:1px solid var(--line);border-radius:9px;
  box-shadow:0 10px 30px var(--shadow);font-size:13px;color:var(--text)}
.ctxmenu .hdr{padding:6px 9px 7px;color:var(--text-dim);font-size:11.5px;
  border-bottom:1px solid var(--line);margin-bottom:4px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}
.ctxmenu button{display:block;width:100%;text-align:left;padding:7px 9px;
  background:none;border:0;border-radius:6px;color:inherit;font:inherit;cursor:pointer}
.ctxmenu button:hover{background:var(--hover)}
.ctxmenu button[disabled]{opacity:.38;cursor:default}
.ctxmenu button[disabled]:hover{background:none}

/* Anchor: the calculated position. Draggable in its own right, because a label
   that is in the wrong PLACE is a different problem from a label that is merely
   in the wrong place aesthetically. */
.anchor{
  position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;
  border:2px solid #ffb020;background:rgba(255,176,32,.22);cursor:grab;
  box-shadow:0 0 0 1px rgba(0,0,0,.5);
}
.anchor:active{cursor:grabbing}
.anchor::after{content:'';position:absolute;inset:5px;border-radius:50%;background:#ffb020}
/* A styled anchor draws its own mark as a child; the built-in dot would
   otherwise sit under it in the diagnostic amber whatever the brand says. */
.anchor.styled::after{display:none}
/* The handle, drawn as UI: on the selected call-out or under the pointer, and
   only on screen — the export draws the end mark from the style alone. */
.anchor.styled::before{content:'';position:absolute;inset:-5px;border-radius:50%;
  border:2px dashed var(--cyan);box-shadow:0 0 0 2px rgba(255,255,255,.75);opacity:0;transition:opacity .1s}
.anchor.styled:hover::before,.anchor.styled.hot::before{opacity:1}

.tag{
  position:absolute;transform:translate(-50%,-50%);cursor:grab;user-select:none;
  /* Fixed, NOT themed. This previews a call-out on the photo, and a deliverable
     does not change because the operator prefers light chrome. The brand kit
     overrides it for styled labels; an off-frame marker keeps this default. */
  background:rgba(6,10,15,.86);border:1px solid #ffb020;border-radius:6px;
  color:#fff;white-space:nowrap;backdrop-filter:blur(3px);
  padding:.38em .7em;font-weight:600;line-height:1.25;
  font-size:calc(var(--label-px, 60) * var(--img-scale, 1) * 1px);
}
.mlabel{
  position:absolute;transform:translate(-50%,-50%);cursor:grab;user-select:none;
  white-space:nowrap;line-height:1.1;pointer-events:auto;z-index:2;
}
.mlabel:active{cursor:grabbing}
/* Free text: the measurement look, over several lines (2026-10-18). */
.mlabel.ftext{white-space:pre;text-align:center;line-height:1.2}
.ft-item{border:1px solid var(--line);border-radius:8px;padding:7px;margin-top:7px;background:var(--panel-raised)}
.ft-item textarea{width:100%;box-sizing:border-box;resize:vertical;font:inherit;font-size:12.5px;border:1px solid var(--line);
  border-radius:6px;padding:5px 7px;background:var(--panel);color:var(--text)}
.ft-row{display:flex;align-items:center;gap:6px;margin-top:6px;flex-wrap:wrap;font-size:12px;color:var(--text-dim)}
.ft-row input[type=range]{width:90px}
.ft-row .ft-tog{min-width:28px;padding:2px 6px}
.ft-row .ft-tog.on{background:var(--tint);color:var(--amber);border-color:var(--amber)}
.ft-row input[type=color]{width:30px;height:24px;padding:0;border:1px solid var(--line);border-radius:5px;background:none}

/* ── Measurements panel ─────────────────────────────────── */
.ms-block{margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}
.ms-block:first-child{border-top:none;padding-top:0}
.ms-head{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim);margin-bottom:6px}
.ms-lab{display:block;font-size:12px;color:var(--text-dim);margin-bottom:3px}
.ms-lab b{color:var(--amber);font-family:var(--mono)}
.ms-note{font-size:11px;color:var(--text-dim);line-height:1.5;margin-top:5px}
.ms-warn{color:var(--amber);border-left:2px solid var(--amber);padding-left:9px;margin:8px 0}
.ms-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 9px;margin-top:6px}
.ms-grid label{font-size:11px;color:var(--text-dim);display:flex;flex-direction:column;gap:3px}
.ms-grid input[type=range]{width:100%}
.ms-grid input[type=color]{width:100%;height:24px;padding:0;border:1px solid var(--line);border-radius:5px;background:none}
.ms-grid select{padding:3px 6px;font-size:11.5px}
.ms-check{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:12px;color:var(--text-dim);cursor:pointer}
.ms-check input{accent-color:var(--orange);cursor:pointer}
.ms-dialrow{display:flex;align-items:center;gap:11px;margin:9px 0 4px}
.ms-diallab{font-size:11px;color:var(--text-dim);flex:none}
.ms-dial{cursor:grab;touch-action:none;flex:none}
.ms-dial:active{cursor:grabbing}
.ms-angnum{
  width:52px;background:var(--panel);border:1px solid var(--line);color:var(--text);
  border-radius:6px;padding:5px 7px;font:inherit;font-size:12px;font-family:var(--mono);
  text-align:center;outline:none;
}
.ms-angnum:focus{border-color:var(--cyan)}
.ms-deg{font-size:11px;color:var(--text-dim);margin-left:-6px}
.ms-item{display:flex;align-items:center;gap:7px;padding:4px 0;border-bottom:1px solid var(--line)}
.ms-item:last-child{border-bottom:none}
.ms-item.off .ms-val,.ms-item.off .ms-sub{opacity:.42;text-decoration:line-through}
.ms-val{font-family:var(--mono);font-size:12px;color:var(--text);min-width:62px;flex:none}
.ms-sub{font-size:10.5px;color:var(--text-dim);flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tag:active{cursor:grabbing}
/* Selection is UI, never brand: a dashed line over a white halo, so it reads on
   any photo and cannot be mistaken for part of the deliverable (D4). */
.tag.sel{outline:2px dashed var(--cyan);outline-offset:3px;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
/* "Google Maps" beside Places results shown without a Google map, styled as
   the Places policy requires: unmodified, unwrapped, untranslated, 400 weight,
   12px, Roboto or the body sans-serif, in one of its three colours. */
.gm-attr{display:flex;justify-content:flex-end;padding:4px 10px 6px}
/* Specific enough to beat list styles such as `.res span` (11px, muted). */
.gm-attr span.gm-attr-t,.res span.gm-attr-t{font:normal 400 12px/1.3 Roboto,var(--ui);letter-spacing:normal;
  text-transform:none;white-space:nowrap;color:var(--gmaps-attr)}
.w-strip{flex:none;border-top:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;min-width:0}
.w-strip[hidden]{display:none}
.w-strip-head{display:flex;align-items:center;gap:10px;padding:3px 10px;min-height:28px;font-size:12px;color:var(--text-dim)}
.w-strip-toggle{border:0;background:none;color:var(--text);font:600 12px var(--ui);cursor:pointer;padding:3px 4px;border-radius:4px}
.w-strip-toggle:hover{background:var(--hover)}
.w-strip-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.w-strip-row{display:flex;gap:6px;overflow-x:auto;padding:0 10px 8px}
.w-strip.shut .w-strip-row{display:none}
.jp-tile{position:relative;flex:none;width:112px;display:flex;flex-direction:column;gap:3px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--panel);cursor:pointer;text-align:left}
.jp-tile:hover{border-color:var(--amber)}
.jp-tile.now{border-color:var(--amber);box-shadow:0 0 0 1px var(--amber)}
.jp-tile.off{opacity:.55;cursor:default}
.jp-tile.off:hover{border-color:var(--line)}
.jp-tile img,.jp-noimg{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block}
.jp-noimg{display:grid;place-items:center;background:var(--panel-raised);font:600 11px var(--mono);color:var(--text-dim)}
.jp-tname{font:11px/1.2 var(--mono);color:var(--text-dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jp-saved{position:absolute;top:6px;right:6px;width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;font-size:11px;display:grid;place-items:center}
.jp-fin{position:absolute;top:6px;right:28px;height:18px;padding:0 5px;border-radius:9px;background:var(--cyan);color:var(--on-cyan);font:700 10px/18px var(--ui)}
.jp-del{position:absolute;top:6px;left:6px;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:13px;line-height:18px;text-align:center;cursor:pointer;opacity:0;transition:opacity .12s}
.jp-tile:hover .jp-del,.jp-tile:focus-within .jp-del,.jp-del:focus-visible{opacity:1}
.jp-del-row{position:static;opacity:.55;margin-left:auto;border:0;flex:none}
.jp-del-row:hover{opacity:1}
.jp-row.held{cursor:pointer;border-radius:4px}
.jp-row.held:hover{background:var(--hover)}
