/* Design tokens. Spacing is an 8pt scale. Type: 12 kicker, 13 hint, 14 body, 16 label, 22 section, 28 title.
   Colour roles: --navy brand, --surface page, --ink text, --danger errors, --success positive, --muted secondary.
   Touch target is 44px. Buttons, tabs, inputs, and empty states use these variables. */
:root {
  --navy: #0b2c6b;
  --navy-2: #16357a;
  --green: #6aa84f;
  --success: #1f8a4c;
  --pos: var(--success);
  --danger: #c0392b;
  --zero: var(--danger);
  --ink: #1d2a44;
  --muted: #5d6b82;
  --line: #d7dee8;
  --surface: #f4f7fb;
  --paper: var(--surface);
  --card: #ffffff;
  --focus: #3d6fd8;
  --shadow: 0 16px 40px rgba(11, 44, 107, 0.16);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --text-kicker: 12px;
  --text-hint: 13px;
  --text-body: 14px;
  --text-label: 16px;
  --text-section: 22px;
  --text-title: 28px;
  --touch: 44px;
  --header-height: 64px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input:not([type="checkbox"]), select { min-height: var(--touch); }
button:active { transform: translateY(1px); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
#gate, #picker, #desk { display: none; }
html[data-view="gate"] #gate { display: grid; }
html[data-view="picker"] #picker,
html[data-view="desk"] #desk { display: flex; }
.brand-lockup {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.brand-lockup img { display: block; width: auto; max-width: 100%; height: auto; }
.brand-lockup .logo-lacoste { height: 34px; max-height: 34px; max-width: 140px; }
.brand-lockup .logo-9connect { height: 32px; max-height: 32px; max-width: 120px; }
.brand-rule { width: 1px; align-self: stretch; background: #d7dee8; margin: 4px 0; }
.tag, .kicker, .hint, .meta { color: var(--muted); }
.tag, .kicker { font-size: 12px; }
.hint, .status { font-size: 13px; }
.status { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; }
.status:empty { display: none; }
.status.info { color: var(--muted); }
.status.busy { color: var(--navy); }
.status.ok { color: var(--pos); font-weight: 700; }
.status.error { color: var(--zero); font-weight: 700; }
.note-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}
.status.info .note-icon { background: var(--muted); }
.status.busy .note-icon { background: var(--navy); }
.status.ok .note-icon { background: var(--pos); }
.status.error .note-icon { background: var(--zero); }
h1 { color: var(--navy); font-size: 28px; margin: 0 0 8px; }
h2 { margin: 0; color: var(--navy); font-size: 22px; }
h3 { margin: 0 0 8px; color: var(--navy); font-size: 14px; }

.gate {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.gate-brand, .gate-card, .brand-block { min-width: 0; max-width: 100%; }
.gate-brand {
  background: var(--navy);
  color: #fff;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gate-brand .brand-lockup { align-self: flex-start; padding: 10px 14px; }
.gate-brand .logo-lacoste { height: 42px; }
.gate-brand .logo-9connect { height: 40px; }
.gate-lead { font-size: 32px; line-height: 1.25; margin: 28px 0 12px; max-width: min(460px, 100%); }
.gate-note { max-width: min(420px, 100%); color: #d5deee; font-size: 16px; line-height: 1.45; }
.gate-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
  background: var(--card);
}
.gate-card form, .guest-form, .find-form { display: grid; gap: 12px; }
.gate-card label, .guest-form label, .find-form label, .dims label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  border: 1px solid #c5d0e0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
button, .gate-card button {
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
}
.ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.gate-hint { margin-top: 18px; color: var(--muted); font-size: 13px; }

.picker { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.top {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.top-store, .top-user { min-width: 140px; }
.top-store strong, .top-user strong, #guest-label { display: block; color: var(--navy); font-size: 16px; }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.quiet { background: transparent; color: var(--muted); border: 0; padding: 8px 4px; }
.menu { position: relative; }
.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  display: grid;
  gap: 4px;
  z-index: 41;
  box-shadow: 0 10px 28px rgba(11, 44, 107, 0.12);
}
.menu-panel button { background: transparent; color: var(--navy); border: 0; text-align: left; padding: 10px 12px; border-radius: 8px; }
.menu-panel button:hover, .menu-panel button.on { background: #e7eef8; }
.picker-body { padding: 28px 32px 40px; max-width: 1100px; }
.store-search { display: grid; gap: 6px; max-width: 360px; margin-top: 16px; }
.store-groups { margin-top: 18px; display: grid; gap: 18px; }
.store-groups h2 { font-size: 16px; }
.store-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.store-list button {
  text-align: left;
  min-height: var(--touch);
  height: auto;
  white-space: normal;
}
.store-list button.current { outline: 2px solid var(--navy); }
.current-mark { display: block; margin-top: 4px; font-size: var(--text-kicker); font-weight: 700; }
.pin-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1); align-items: center; min-width: 0; }
.pin-field button { min-width: 72px; }
.lang-field { display: grid; gap: 2px; min-width: 112px; }
.facing { display: flex; gap: 4px; }
.facing button { background: var(--card); color: var(--navy); border: 1px solid var(--navy); white-space: nowrap; }
.facing button[aria-pressed="true"] { background: var(--navy); color: var(--card); }

.desk { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
}
.tool-zone {
  width: 104px;
  flex: 0 0 104px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-right: 1px solid var(--line);
}
.tool-zone[data-tool]:not([data-tool=""]) {
  flex-direction: row;
  width: min(480px, 46vw);
  flex-basis: min(480px, 46vw);
}
.tool-zone[data-tool]:not([data-tool=""]) .tool-bar {
  width: 104px;
  flex: 0 0 104px;
}
.tool-bar { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-1); }
.tool-bar button { white-space: normal; line-height: 1.2; padding: 8px 6px; font-size: var(--text-kicker); background: var(--card); color: var(--navy); border: 1px solid var(--line); }
.tool-bar button[aria-pressed="true"] { background: var(--navy); color: var(--card); border-color: var(--navy); }
.tool-panels { flex: 1; min-height: 0; overflow: auto; }
.tool-zone[data-tool=""] .tool-panels,
.tool-zone:not([data-tool]) .tool-panels { display: none; }
.tool-panel { padding: 18px 20px 24px; }
.stock, .client { min-height: 0; overflow: auto; }
.client { flex: 1; min-width: 0; background: var(--card); padding: 18px 20px 24px; }
.stock { background: var(--paper); }
.desk.guest-facing .workspace { flex-direction: row-reverse; }
.desk.guest-facing .tool-zone { border-right: 0; border-left: 1px solid var(--line); }
.desk.sheet-open .workspace { visibility: hidden; }
.desk.sheet-open .panel.sheet { visibility: visible; }
.icon-btn { min-width: var(--touch); min-height: var(--touch); padding: 0 10px; font-size: 22px; line-height: 1; }
.panel.sheet {
  position: fixed;
  z-index: 8;
  top: calc(var(--header-height) + 12px);
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: auto;
  padding: var(--space-2) 20px 28px;
}
.sheet-close { margin-bottom: var(--space-2); }
#office-lock { display: grid; gap: var(--space-1); max-width: 440px; margin: var(--space-2) 0; }
#office-lock label { display: grid; gap: 6px; font-size: var(--text-hint); font-weight: 700; color: var(--navy); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  background: rgba(11, 44, 107, 0.45);
}
.modal-card {
  width: min(480px, 100%);
  background: var(--card);
  border-radius: 16px;
  padding: var(--space-3);
  box-shadow: var(--shadow);
}
.modal-card p { line-height: 1.45; }
.scan-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.item-head { margin-top: 8px; display: flex; gap: 14px; align-items: flex-start; }
.item-photo, .item-photo-empty {
  width: 168px;
  height: 168px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.item-photo { object-fit: contain; cursor: zoom-in; }
.line-photo { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.line-photo img { width: 100%; height: 100%; object-fit: contain; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(12, 24, 41, 0.72);
  padding: 24px;
}
.lightbox img { max-width: min(920px, 92vw); max-height: 86vh; background: #fff; border-radius: 8px; }
.item-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}
.dims { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.own {
  margin: 14px 0;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 18px;
}
.own-label { font-size: 14px; opacity: 0.85; }
.own-qty { font-size: 42px; font-weight: 800; line-height: 1; }
.own-unit { font-size: 13px; opacity: 0.85; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.locs { list-style: none; margin: 0; padding: 0; }
.locs li, .results li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.qty.pos { color: var(--pos); font-weight: 700; }
.qty.zero { color: var(--zero); }
.results { list-style: none; margin: 8px 0 0; padding: 0; }
.results li { display: block; padding: 0; }
.results button.result {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  background: transparent;
  color: var(--navy);
  border: 0;
  border-radius: 8px;
  text-align: left;
  font: inherit;
  font-weight: 700;
}
.results button.result.on { background: #e7eef8; }
.results button.linkish, .doc-table button {
  background: transparent;
  color: var(--navy);
  border: 0;
  padding: 0;
  text-align: left;
  font-weight: 700;
}
.guest-card {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.guest-card-copy { min-width: 180px; flex: 1; }
.guest-card.is-empty { background: var(--paper); border-style: dashed; }
.guest-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.req { display: none; color: var(--zero); font-weight: 800; }
.guest-form.creating .req { display: inline; }
.empty-state {
  margin: 8px 0 16px;
  padding: 16px;
  border: 1px solid #c5d4ea;
  border-radius: 12px;
  background: var(--paper);
}
.empty-state strong { display: block; color: var(--navy); margin-bottom: 4px; }
.empty-state p { margin: 0 0 12px; color: var(--ink); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tabs button { background: #eef2f8; color: var(--navy); padding: 8px 12px; min-height: var(--touch); }
.tabs button.on { background: var(--navy); color: #fff; }
.find-form { grid-template-columns: 1fr auto auto auto; align-items: end; }
.guest-form { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 360px));
  gap: 12px 16px;
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f4f7fb;
}
.form-section legend { padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); }
.form-section .wide, .form-section .status, .form-section > .hint, .form-section > button { grid-column: 1 / -1; max-width: 740px; }
#new-guest-main { margin-top: 10px; }
#find-form > #new-guest { display: none; }
.doc-scroll { max-width: 100%; overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc-table th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 700; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.doc-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-detail td { background: #f4f7fb; padding: 0 8px 12px; }
.doc-detail .lines { margin-top: 0; }
.lines { margin-top: 12px; background: var(--paper); border-radius: 8px; padding: 4px 12px; }
.line-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line-row:last-child { border-bottom: 0; }
.item-code {
  flex: 0 0 auto;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ask-panel { display: flex; flex-direction: column; min-height: 0; max-height: min(520px, 68vh); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chat-head h2 { font-size: var(--text-section); }
.ask-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.ask-suggestions button { background: #eef2f8; color: var(--navy); min-height: var(--touch); padding: 8px 10px; border: 0; border-radius: 999px; text-align: left; }
.ask-suggestions button:disabled { opacity: 0.45; }
.guest-form .check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.guest-form .check input { width: auto; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.guest-form .row-actions { grid-column: 1 / -1; }
.member-card { margin: 0; padding: 0; border: 0; background: transparent; }
.member-codes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 100%; }
.member-card strong { display: block; margin-top: 4px; color: var(--navy); letter-spacing: 0.04em; text-align: right; font-size: 12px; }
.member-card svg { width: min(180px, 100%); height: auto; max-width: 100%; }
#member-qr svg { width: min(96px, 100%); height: auto; max-width: 100%; background: #fff; }
.ask-llm { display: grid; gap: 8px; max-width: 440px; margin: 8px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.chart { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.chart h3 { margin: 0 0 8px; font-size: 13px; color: var(--navy); }
.bar-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 6px; align-items: center; margin: 4px 0; font-size: 12px; }
.bar { display: block; height: 8px; background: #e3eaf4; border-radius: 99px; }
.bar i { display: block; height: 8px; background: var(--navy); border-radius: 99px; }
.chat-log { flex: 0 1 auto; max-height: 160px; overflow: auto; padding: 8px 2px; }
.ask-history { display: flex; flex-wrap: wrap; gap: 6px; max-height: 92px; overflow: auto; margin: 8px 0; }
.ask-history .kicker { width: 100%; }
.ask-history button { min-height: var(--touch); min-width: var(--touch); max-width: 100%; font-size: 12px; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.bubble { max-width: 680px; margin: 8px 0; padding: 10px 12px; border-radius: 12px; white-space: pre-wrap; }
.bubble.user { margin-left: auto; background: var(--navy); color: #fff; }
.bubble.desk { background: var(--paper); }
#settings-list li { padding: 10px 0; }
.camera { position: fixed; inset: 0; background: #000; display: flex; flex-direction: column; z-index: 5; }
#video { width: 100%; flex: 1; object-fit: cover; }
#close-cam { margin: 12px; }

@media (max-width: 1100px) {
  :root { --header-height: 64px; }
  #desk .top {
    flex-wrap: nowrap;
    height: var(--header-height);
    max-height: var(--header-height);
    gap: 8px;
    padding: 8px 12px;
    overflow: visible;
  }
  #desk .top > .lang-field,
  #desk .top > .facing,
  #desk .top-user { display: none; }
  #desk .top-store { min-width: 0; }
  #desk .top-store strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 28vw; }
  #desk-menu {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 12px;
    z-index: 50;
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow: auto;
    min-width: min(280px, calc(100vw - 24px));
  }
  #desk-menu .lang-field { display: grid; padding: 8px 8px 4px; }
  #desk-menu .facing { display: flex; padding: 4px 8px 8px; }
}

@media (max-width: 699px) {
  :root { --header-height: 56px; }
  .gate {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  .gate-brand, .gate-card { justify-content: flex-start; padding: 20px 16px; }
  .gate-brand .logo-lacoste { height: 28px; max-height: 28px; }
  .gate-brand .logo-9connect { height: 26px; max-height: 26px; max-width: min(168px, 46vw); }
  .gate-lead { font-size: 22px; margin: 16px 0 8px; }
  .gate-card h1 { font-size: 24px; }
  #desk .top { height: var(--header-height); max-height: var(--header-height); padding: 6px 10px; }
  #desk .logo-lacoste { height: 22px; max-height: 22px; max-width: 72px; }
  #desk .logo-9connect { height: 20px; max-height: 20px; max-width: 88px; }
  #desk .brand-lockup { gap: 6px; padding: 2px 6px; }
  #desk .top-store .kicker { display: none; }
  #desk .top-store strong { font-size: 13px; max-width: 72px; }
  .workspace, .desk.guest-facing .workspace { flex-direction: column; }
  .client { order: 0; border-bottom: 0; }
  .tool-zone, .desk.guest-facing .tool-zone {
    order: 2;
    width: auto;
    flex: 0 0 auto;
    border: 0;
    border-top: 1px solid var(--line);
    background: var(--card);
  }
  .tool-bar { flex-direction: row; flex-wrap: nowrap; }
  .tool-bar button { min-width: var(--touch); min-height: var(--touch); flex: 1 1 0; }
  .tool-zone[data-tool]:not([data-tool=""]) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    width: 100%;
    max-height: 72dvh;
    flex-direction: column;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow);
  }
  .tool-zone[data-tool]:not([data-tool=""]) .tool-bar { width: auto; flex-basis: auto; }
  .ask-panel { max-height: none; }
  .ask-suggestions button:nth-child(n+4) { display: none; }
  .chat-form { position: sticky; bottom: 0; background: var(--card); }
  .scan-row, .guest-form, .form-section, .dims, .loc-grid, .charts, .chat-form { grid-template-columns: 1fr; }
  .find-form { grid-template-columns: 1fr 1fr; }
  .find-form label { grid-column: 1 / -1; }
  .tabs { flex-wrap: nowrap; gap: 4px; overflow-x: auto; }
  .tabs button {
    flex: 0 0 auto;
    padding: 4px 8px;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .doc-scroll { overflow-x: visible; }
  .doc-table { display: block; width: 100%; min-width: 0; }
  .doc-table thead { display: none; }
  .doc-table tbody { display: block; }
  .doc-table tr {
    display: block;
    margin: 0 0 8px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }
  .doc-table td {
    display: block;
    width: auto;
    padding: 2px 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .doc-table td:last-child { padding-top: 8px; }
  .doc-table tr.doc-detail { padding: 0 8px 8px; }
  .member-codes { flex-wrap: wrap; }
  .member-card svg,
  .desk.guest-facing .member-card svg { width: min(220px, 100%); max-width: 100%; height: auto; }
  #member-qr svg,
  .desk.guest-facing #member-qr svg { width: min(140px, 42vw); max-width: 100%; height: auto; }
}

.email-label { position: relative; }
.domains { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.domains button { min-height: var(--touch); min-width: var(--touch); }
.address-block { display: contents; }
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 8px; font-size: 13px; }
.journey strong { color: var(--navy); }
.promise, .attach, .follow, .look-board { margin-top: 12px; }
.timeline { list-style: none; margin: 8px 0 16px; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.timeline li { margin: 0 0 8px; }
.timeline li.on { color: var(--navy); font-weight: 700; }
.desk.guest-facing .staff-only,
.desk.guest-facing .find-form,
.desk.guest-facing #find-results,
.desk.guest-facing #find-status,
.desk.guest-facing #purchase-charts,
.desk.guest-facing .tool-bar [data-tool="ask"],
.desk.guest-facing .tool-bar [data-tool="register"] { display: none !important; }
.date-parts { display: grid; grid-template-columns: 0.8fr 0.8fr 1.1fr; gap: 8px; }
.date-parts select { min-height: var(--touch); }
.desk.guest-facing #member-qr svg { width: min(168px, 100%); height: auto; max-width: 100%; }
.desk.guest-facing .member-card svg { width: min(240px, 100%); height: auto; max-width: 100%; }
@media (max-width: 699px) {
  .desk.guest-facing .member-card svg { width: min(220px, 100%); height: auto; }
  .desk.guest-facing #member-qr svg { width: min(140px, 42vw); height: auto; }
}
