/* Sunny Host Stand v16 — design system: Inter, stroke icons, refined dark */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:root {
  --bg: #101216; --bg2: #14171c; --panel: #191d23; --panel2: #22262e; --panel3: #2a2f39;
  --ink: #eceae4; --muted: #8d93a3; --faint: #5d6373;
  --line: #2b3039; --line2: #363c47;
  --accent: #f5a623; --accent2: #ffbe4d; --accent-ink: #1a1205;
  --good: #4cc38a; --bad: #ff8a7a;
  --open: #262b34; --open-line: #3a4150;
  --dirty: #b3541e; --blocked: #43464e; --reserved: #b08c1f;
  --r-sm: 8px; --r-md: 11px;
  --c1: #4f7cff; --c2: #e0559d; --c3: #2fb380; --c4: #e07b39; --c5: #9b6ef3; --c6: #d6b520;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 14px; line-height: 1.35; color: var(--ink); background: var(--bg);
  overflow: hidden; touch-action: manipulation; overscroll-behavior: none;
  position: fixed; inset: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
button:active { transform: scale(.97); }
svg.ic { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }
svg.ic.fill { fill: currentColor; stroke: none; }
.hidden { display: none !important; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--panel3); border-radius: 4px; }
#app, .view { height: 100%; display: flex; flex-direction: column; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px; background: var(--panel); border-bottom: 1px solid var(--line); flex: 0 0 auto;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 15px; letter-spacing: .02em; }
.tools { display: flex; gap: 7px; }
.tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-sm); background: var(--panel2);
  border: 1px solid var(--line); font-weight: 650; font-size: 13.5px; color: #cfd3dd;
}
.tool.on { background: #f5a623; color: var(--accent-ink); border-color: transparent; font-weight: 750; }
.tool { max-width: 100%; white-space: nowrap; }
.maptab {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  min-width: 44px; min-height: 44px;
  padding: 6px 14px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line);
  font-weight: 650; font-size: 15px; color: #cfd3dd;
}
.maptab .mtname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.svcard .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svcard .top .skipadd { flex: 0 0 auto; }
.tool.danger { background: #3a201a; border-color: #5c2f26; color: #ffb4a2; }
.backbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--panel2); border: 1px solid var(--line); border-radius: var(--r-sm); margin-right: 8px; }

/* ---------- server cards: full color, big ---------- */
.serverbar { display: flex; gap: 8px; padding: 8px 12px; flex: 0 0 auto; background: var(--panel); border-bottom: 1px solid var(--line); }
.svcard {
  flex: 1 1 0; min-width: 0; min-height: 78px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 10px 12px; border-radius: var(--r-md);
  background: var(--sc, var(--panel3)); border: 1.5px solid rgba(16,18,22,.28);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  text-align: left; color: #101216; text-shadow: none;
}
.svcard .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.svcard .nm { font-weight: 800; font-size: 17px; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svcard .skipadd {
  flex: 0 0 auto; min-width: 44px; min-height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  background: rgba(255,255,255,.30); color: #101216; border: 0;
  font-size: 14px; font-weight: 800;
}
.svcard .skipadd svg { width: 17px; height: 17px; }
.svcard .skipadd:active { background: rgba(255,255,255,.48); }
.svcard .bottom { display: flex; align-items: flex-end; justify-content: space-between; min-height: 48px; }
.svcard .skipcount {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 48px; padding: 0 14px; border-radius: 13px;
  background: rgba(255,255,255,.30); border: 0; color: #101216;
  font-size: 32px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.svcard .skipcount:active { background: rgba(255,255,255,.48); }
.svcard .prio { width: 26px; height: 26px; color: #101216; filter: none; }
.svcard.priority { border-color: rgba(16,18,22,.28); box-shadow: 0 5px 12px rgba(0,0,0,.50); }
.svcard .roleflag {
  padding: 4px 8px; border-radius: 999px; background: #101216; color: #fff;
  font-size: 12px; font-weight: 850; letter-spacing: .08em; flex: 0 0 auto; align-self: center;
}
.banner {
  flex: 0 0 auto; padding: 8px 14px; font-weight: 650; font-size: 13px;
  background: #17202f; color: #b9cdf5; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.banner button { font-weight: 700; color: #b9cdf5; flex: 0 0 auto; }

/* ---------- main row ---------- */
.mainrow { flex: 1 1 auto; display: flex; min-height: 0; }
.waitpanel { flex: 0 0 248px; display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); min-height: 0; }
.panelhead { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.panelhead h2 { font-size: 12px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.addbtn {
  width: 44px; height: 44px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: #f5a623; color: var(--accent-ink);
}
.addbtn svg { width: 16px; height: 16px; }
.waitlist { flex: 1 1 auto; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.empty { color: var(--faint); font-size: 12.5px; text-align: center; padding: 18px 8px; border: 1px dashed var(--line2); border-radius: var(--r-md); margin: 4px; }
.wcard { position: relative; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 10px 8px 14px; background: var(--panel2); user-select: none; -webkit-user-select: none; touch-action: none; }
.wcard::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line2); }
.wcard.assigned::before { background: var(--good); }
.wcard .l1 { font-weight: 700; font-size: 14.5px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.wcard .l1 .chip { font-size: 12px; font-weight: 750; padding: 2px 9px; border-radius: 999px; background: var(--panel3); font-variant-numeric: tabular-nums; }
.wcard .l2 { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.wcard .acts { display: flex; gap: 6px; margin-top: 8px; }
.wcard .acts button {
  display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700;
  min-height: 44px; padding: 8px 14px; border-radius: 8px; background: var(--panel3); color: #cfd3dd;
}
.wcard .acts .primary { background: #f5a623; color: var(--accent-ink); font-weight: 800; min-width: 88px; }
.wcard .acts .danger { background: transparent; border: 1px solid #4a2a24; color: var(--bad); margin-left: auto; }
.wcard .acts button:disabled { opacity: .35; }

/* ---------- floor ---------- */
.floorwrap { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.floor { flex: 1 1 auto; position: relative; overflow: auto; background: radial-gradient(1200px 700px at 30% 0%, #15181e 0%, var(--bg) 60%); }
.canvas { position: relative; transform-origin: 0 0; }
.zone { position: absolute; color: #747c8f; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; pointer-events: none; white-space: nowrap; }
.tablebox {
  position: absolute; border-radius: 9px; border: 1.5px solid var(--open-line); background: var(--open);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-weight: 700; font-size: 13px; color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 1px 2px rgba(0,0,0,.35);
  transition: opacity .25s, box-shadow .15s; user-select: none; -webkit-user-select: none;
  font-variant-numeric: tabular-nums;
}
.tablebox .seats { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.tablebox .party { font-size: 13px; font-weight: 700; color: var(--ink); }
.tablebox.status-seated { background: #333b4a; border-color: #4d5872; }
.tablebox.status-dirty { background: #3f2413; border-color: var(--dirty); }
.tablebox.status-blocked { background: #202227; border-color: #33363d; color: #6b7080; }
.tablebox.status-reserved { background: #37300f; border-color: var(--reserved); }
.tablebox.sv-1 { background: color-mix(in srgb, var(--c1) 78%, #0e1013); border-color: var(--c1); }
.tablebox.sv-2 { background: color-mix(in srgb, var(--c2) 78%, #0e1013); border-color: var(--c2); }
.tablebox.sv-3 { background: color-mix(in srgb, var(--c3) 78%, #0e1013); border-color: var(--c3); }
.tablebox.sv-4 { background: color-mix(in srgb, var(--c4) 78%, #0e1013); border-color: var(--c4); }
.tablebox.sv-5 { background: color-mix(in srgb, var(--c5) 78%, #0e1013); border-color: var(--c5); }
.tablebox.sv-6 { background: color-mix(in srgb, var(--c6) 78%, #0e1013); border-color: var(--c6); }
.tablebox.status-seated.sv-1, .tablebox.status-seated.sv-2, .tablebox.status-seated.sv-3,
.tablebox.status-seated.sv-4, .tablebox.status-seated.sv-5, .tablebox.status-seated.sv-6 {
  background: color-mix(in srgb, var(--sc) 42%, #0d0f13); border-color: var(--sc);
}
.tablebox .party { text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tablebox.dim { opacity: .16; }
.tablebox.focus { box-shadow: 0 0 0 2px rgba(245,166,35,.85), 0 0 14px rgba(245,166,35,.25); }
.tablebox.drop-ok { box-shadow: 0 0 0 2px rgba(76,195,138,.9), 0 0 14px rgba(76,195,138,.3); }
.tablebox.editing { cursor: grab; }
.tablebox .delbtn {
  position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  background: #d9534f; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}

/* ---------- charts / maps ---------- */
.maptabs { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; flex: 0 0 auto; background: var(--panel); border-bottom: 1px solid var(--line); }
.mapname {
  flex: 1 1 auto; text-align: center; font-weight: 750; font-size: 14px;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.secassign { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.secassign > span { flex: 0 0 90px; font-weight: 750; font-size: 16px; }
.secassign select { flex: 1 1 auto; min-height: 48px; }
.maptab.on { background: #f5a623; color: var(--accent-ink); border-color: transparent; font-weight: 750; }
/* solid dark badge, light text — readable on the orange selected tab and on grey tabs */
.maptab .mk {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
  background: #14171c; border: 1px solid rgba(255,255,255,.32); color: #e9edf4; align-self: center;
}
.maptab .mk.on { background: #0f1115; border-color: rgba(255,255,255,.45); color: #ffffff; }
.editor { margin: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.hint { padding: 8px 14px; color: #9aa1b0; font-size: 14px; flex: 0 0 auto; }

/* ---------- admin ---------- */
.admin-ui { flex: 1 1 auto; overflow-y: auto; padding: 4px 14px 30px; }
.admin-ui h3 { margin: 18px 0 8px; font-size: 11px; font-weight: 750; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 6px; }
.admrow { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 9px 12px; margin-bottom: 7px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admrow .nm { font-weight: 700; font-size: 13.5px; min-width: 80px; }
.admrow .stat { color: var(--muted); font-size: 12px; flex: 1 1 auto; font-variant-numeric: tabular-nums; }
.admrow .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.admrow .acts button { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 650; padding: 11px 14px; border-radius: 9px; background: var(--panel3); color: #cfd3dd; min-height: 44px; }
.admrow .acts .danger { background: transparent; border: 1px solid #4a2a24; color: var(--bad); }
.addrow { margin: 6px 0; display: flex; gap: 8px; }
.addrow .tool { font-size: 12.5px; }
.chip.off { background: var(--panel3); color: var(--muted); font-size: 10.5px; padding: 1px 7px; border-radius: 999px; font-weight: 650; }
.chip.on { background: #16301f; color: var(--good); font-size: 10.5px; padding: 1px 7px; border-radius: 999px; font-weight: 650; }
.smslog { max-height: 40vh; overflow-y: auto; margin-bottom: 10px; }
.smsrow { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.smsrow .stat { display: inline-block; min-width: 104px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(5,6,8,.6); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { position: relative; background: var(--panel); width: 100%; max-width: 500px; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow); }
.sheet::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 36px; height: 4px; border-radius: 2px; background: var(--panel3); }
.sheet .row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sheet .big {
  border-radius: 12px; background: var(--panel2); border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 750; font-size: 18px; font-variant-numeric: tabular-nums;
}
.sheet .big.on { background: #241d10; border-color: var(--accent); color: var(--accent2); }
.sheet .row .big { flex: 1 1 140px; padding: 16px 0; font-size: 18px; }
.sheet .stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sheet .stepper > span { font-size: 17px; font-weight: 700; color: var(--muted); min-width: 52px; }
.sheet .stepbtn {
  flex: 1 1 0; height: 56px; border-radius: 12px; background: var(--panel3);
  color: #fff; font-size: 30px; font-weight: 700; line-height: 1;
}
.sheet .stepbtn:active { background: var(--panel2); }
.sheet .stepval {
  flex: 0 0 84px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: #241d10; border: 1.5px solid var(--accent); border-radius: 12px;
  color: var(--accent2); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.sheet .shapebtn.on { border-color: var(--accent); background: #241d10; color: var(--accent2); }
.sheet h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.sheet input[type=text], .sheet input[type=tel], .sheet input[type=number], .sheet input[type=password], .sheet select {
  width: 100%; padding: 14px; font-size: 17px; border: 1px solid var(--line2); border-radius: 11px; margin-bottom: 10px;
  background: var(--panel2); color: var(--ink); min-height: 50px;
}
.sheet input::placeholder { color: var(--faint); }
.sheet .primary { width: 100%; padding: 16px; min-height: 48px; border-radius: 12px; background: #f5a623; color: var(--accent-ink); font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.sheet .secondary { width: 100%; padding: 14px; min-height: 48px; border-radius: 11px; background: var(--panel2); border: 1px solid var(--line); font-weight: 700; margin-top: 8px; color: #cfd3dd; font-size: 17px; }
.sheet .note { font-size: 17px; line-height: 1.4; color: #b7bdc9; margin: 6px 0 10px; }
.svrowpick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.svrowpick .big { flex: 1 1 100px; min-height: 54px; padding: 12px 16px; font-size: 17px; }
.svrowpick .big.on { border-color: var(--accent); background: #241d10; color: var(--accent2); }
.secchips { display: flex; gap: 6px; overflow-x: auto; flex: 0 1 auto; align-items: center; }
.secchip {
  flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center;
  padding: 10px 15px; border-radius: 999px; color: #fff;
  background: color-mix(in srgb, var(--secc, #3d6bd8) 32%, #1d2026);
  border: 1.5px solid var(--secc, #3d6bd8);
  font-weight: 750; font-size: 13.5px; white-space: nowrap;
}
.secchip.on { background: var(--secc, #3d6bd8); color: #101216; font-weight: 800; transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.45); }
.roster-prompt {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: var(--accent2); font-weight: 650; font-size: 13.5px;
}

.tablebox.sec { background: color-mix(in srgb, var(--secc, #3d6bd8) 68%, #101216); border-color: var(--secc, #3d6bd8); color: #101216; }
.tablebox.sec.status-seated { background: color-mix(in srgb, var(--secc, #3d6bd8) 40%, #0d0f13); color: var(--ink); }
.tablebox.sec .seats { color: rgba(16,18,22,.78); }
.tablebox.sec-selected { border: 3px solid #101216; box-shadow: 0 5px 12px rgba(0,0,0,.50); }
/* charts tool row: chips scroll INSIDE their strip; mode buttons stay pinned on-screen.
   The strip gets real block space (min-height + padding) so the selected chip's lift
   and shadow are never clipped vertically. */
#toolrow { overflow: hidden; align-items: center; }
#toolrow .secchips {
  display: flex; gap: 6px; align-items: center; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: visible; padding: 12px 2px 14px; min-height: 68px;
}
#toolrow .secrow2 { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
#toolrow .tool { flex: 0 0 auto; }
.maptab.new { border-style: dashed; color: #8d93a3; background: transparent; }
.modespring { flex: 0 0 8px; }
/* while picking a section, every non-selected chip goes fully grey */
.secchip.dim { background: #333a46; border-color: #454c5a; color: #aab1bd; }
.tool.done {
  flex: 0 0 auto; background: #4cc38a;
  color: #06180f; border-color: transparent; font-weight: 800; font-size: 15px;
}
.editor.building { outline: 2px solid rgba(245,166,35,.55); outline-offset: -2px; border-radius: var(--r-md); }
.tablebox.build-dim { opacity: .62; }
.tablebox.sec-selected {
  border: 3px solid #101216;
  box-shadow: 0 5px 12px rgba(0,0,0,.50);
}
/* mode cue: tables become visibly actionable while a floor mode is active */
.floor.mode-seat .tablebox.status-open,
.floor.mode-server .tablebox.status-open,
.floor.mode-assign .tablebox.sec {
  cursor: pointer; transform: translateY(-1px); box-shadow: 0 4px 9px rgba(0,0,0,.48);
}
.maptabs .tool[disabled] { opacity: .45; }

/* ---------- v23 draft save/cancel box ----------
   Small floating box by the lower edge of the charts view. No backdrop, and the
   container passes pointer events through so it never blocks the map; only the
   buttons themselves are interactive. Visible only while dirty / saving / error. */
#view-charts { position: relative; }
.draftbox {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px;
  padding: 10px 12px; box-shadow: var(--shadow); pointer-events: none;
}
.draftbox .dbrow { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.draftbox .dbtitle { font-weight: 750; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.draftbox .tool { padding: 10px 14px; min-height: 44px; }   /* staff-sized taps */
.draftbox .tool:disabled { opacity: .5; }
.draftbox .dberr { max-width: 340px; text-align: center; font-size: 12.5px; color: var(--bad); font-weight: 650; pointer-events: auto; }

.anno { position: absolute; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.anno .rz {
  position: absolute; right: -9px; bottom: -9px; width: 22px; height: 22px;
  border-radius: 6px; background: #e8ebf2; border: 2px solid #23262e;
  box-shadow: 0 1px 4px rgba(0,0,0,.5); cursor: nwse-resize; touch-action: none;
}
.anno .anno-x {
  position: absolute; left: -9px; top: -9px; width: 22px; height: 22px;
  border-radius: 50%; background: #b3442f; color: #fff; border: 2px solid #23262e;
  font-size: 14px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.anno.shape { background: #23262e; border: 1.5px solid #2f3440; opacity: .5; }
.anno.shape.round { border-radius: 50%; }
.anno.text { color: #9aa1b2; font-weight: 750; display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: .09em; white-space: nowrap; overflow: visible; background: none; border: none; }
.assignbar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #241d10; border-bottom: 1px solid var(--accent);
  color: var(--accent2); font-weight: 700; font-size: 14px; flex: 0 0 auto;
}
.assignbar.hidden { display: none; }
.svcard.picking { box-shadow: 0 0 0 3px #ffffff, 0 6px 14px rgba(0,0,0,.55); transform: translateY(-2px); }
.svcard.picking .nm { color: #101216; }
.assignbar .tool { margin-left: auto; }
.assignbar .tool + .tool { margin-left: 0; }
.tool { min-height: 44px; }

/* ---------- drag ghost ---------- */
.dragghost {
  position: fixed; z-index: 99; pointer-events: none; padding: 8px 14px; border-radius: 10px;
  background: var(--good); color: #0c2015; font-weight: 800; font-size: 13px; box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}
