@font-face {
  font-family: "Open Sans";
  src: url("branding/fonts/OpenSans-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans";
  src: url("branding/fonts/OpenSans-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Open Sans";
  src: url("branding/fonts/OpenSans-Italic.ttf");
  font-weight: 400;
  font-style: italic;
}

:root {
  --ubc-blue: #002145;
  --ubc-mid: #0055b7;
  --ubc-sky: #6ec4e8;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #d8e0ea;
  --ink: #1a2430;
  --muted: #5a6672;
  --ok: #0d7a5f;
  --ok-bg: #e7f6f1;
  --edit: #0055b7;
  --edit-bg: #eaf2fc;
  --warn: #a65b00;
  --warn-bg: #fff5e5;
  --cut: #b3261e;
  --cut-bg: #fdeceb;
  --radius: 8px;
  --topbar-h: 56px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

/* Top Bar */
.topbar {
  height: var(--topbar-h);
  flex-shrink: 0;
  background: var(--ubc-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 2px solid #00346d;
  z-index: 30;
}

.topbar-left, .topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo { height: 34px; width: auto; flex-shrink: 0; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.22); flex-shrink: 0; }

.deliverable-select {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13.5px;
  font-weight: 600;
  max-width: 280px;
  cursor: pointer;
}
.deliverable-select option, .deliverable-select optgroup {
  background: #fff;
  color: var(--ink);
}

.progress-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}
.progress-track { width: 64px; height: 6px; background: rgba(255,255,255,0.22); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--ubc-sky); transition: width 0.2s ease; }

.filter-pills { display: flex; gap: 4px; background: rgba(0,0,0,0.22); padding: 3px; border-radius: 7px; }
.filter-pill {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.78);
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.filter-pill.active { background: #fff; color: var(--ubc-blue); }

.secondary-link {
  color: #d6e7ff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px;
  white-space: nowrap;
}
.secondary-link:hover { background: rgba(255,255,255,0.12); color: #fff; }

.conn-badge {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #dce7f5;
  white-space: nowrap;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ubc-mid);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.submit-btn:disabled { opacity: 0.45; cursor: default; }
.submit-btn:not(:disabled):hover { background: #0c67cf; }
.count-badge {
  background: #fff;
  color: var(--ubc-blue);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 11.5px;
  font-weight: 700;
}

.icon-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: inherit;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Cockpit Layout */
.cockpit {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 290px minmax(0, 1.15fr) minmax(380px, 0.95fr);
  position: relative;
}
.cockpit.rail-collapsed {
  grid-template-columns: 0px minmax(0, 1.15fr) minmax(380px, 0.95fr);
}
.cockpit.no-visual {
  grid-template-columns: 290px 0px minmax(0, 1fr);
}
.cockpit.rail-collapsed.no-visual {
  grid-template-columns: 0px 0px minmax(0, 1fr);
}
.cockpit.no-visual .visual-pane { display: none; }

/* Ultrawide 49" optimization (>= 2000px) */
@media (min-width: 2000px) {
  .cockpit {
    grid-template-columns: 310px minmax(0, 1.55fr) 680px;
  }
  .cockpit.rail-collapsed {
    grid-template-columns: 0px minmax(0, 1.55fr) 680px;
  }
}

/* Queue Rail */
.queue-rail {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.cockpit.rail-collapsed .queue-rail { border-right: 0; }
.rail-backdrop { display: none; }

.rail-header { padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.rail-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.rail-deliv-title { font-size: 12.5px; font-weight: 700; color: var(--ubc-blue); text-transform: uppercase; letter-spacing: 0.04em; }
.rail-controls { display: flex; flex-direction: column; gap: 6px; }
.search-input {
  width: 100%;
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}
.toggle-chunks { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; cursor: pointer; }

.queue-list { flex: 1; overflow-y: auto; padding: 6px; }
.queue-section-hdr {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 8px 4px;
}
.queue-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  padding: 8px 9px;
  margin-bottom: 3px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.queue-item:hover { background: var(--surface-alt); }
.queue-item.active { background: var(--edit-bg); border-color: #aac7ec; }
.queue-item.is-chunk { opacity: 0.65; }
.qi-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11.5px; color: var(--muted); }
.qi-title { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qi-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: #cbd5e1; }
.qi-dot.approved { background: var(--ok); }
.qi-dot.edited { background: var(--edit); }
.qi-dot.flagged, .qi-dot.decided { background: var(--warn); }
.qi-dot.cut { background: var(--cut); }

/* Visual Pane */
.visual-pane {
  background: #171d24;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--border);
}
.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #1f2730;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.visual-meta { display: flex; align-items: center; gap: 10px; min-width: 0; }
.visual-label { font-size: 12.5px; font-weight: 600; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-pager { display: flex; align-items: center; gap: 6px; }
.page-indicator { font-size: 12px; color: #cbd5e1; white-space: nowrap; }
.zoom-controls { display: flex; align-items: center; gap: 4px; }

.mini-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.visual-toolbar .mini-btn, .lightbox-bar .mini-btn {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.visual-toolbar .mini-btn:hover, .lightbox-bar .mini-btn:hover { background: rgba(255,255,255,0.18); }

.visual-stage {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  cursor: grab;
  touch-action: none;
}
.visual-stage:active { cursor: grabbing; }
.pan-zoom-surface {
  transform-origin: center center;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pan-zoom-surface img {
  max-width: 100%;
  max-height: calc(100dvh - 125px);
  width: auto;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  background: #fff;
  user-select: none;
  -webkit-user-drag: none;
}
.pan-zoom-surface video {
  max-width: 100%;
  max-height: calc(100dvh - 125px);
  border-radius: 4px;
  background: #000;
}
.visual-empty { color: #94a3b8; font-size: 13.5px; text-align: center; padding: 24px; }

/* Right Review Pane */
.review-pane {
  overflow-y: auto;
  padding: 20px 24px 64px;
  background: var(--bg);
}

.item-card {
  max-width: 68ch;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.item-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.item-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nav-arrows { display: flex; align-items: center; gap: 6px; }
.item-pos { font-size: 12px; color: var(--muted); min-width: 44px; text-align: center; }
.item-lines { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, monospace; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.chip-neutral { background: #edf1f6; color: var(--ink); }
.chip-blue { background: var(--edit-bg); color: var(--ubc-blue); }
.chip-approved { background: var(--ok-bg); color: var(--ok); }
.chip-edited { background: var(--edit-bg); color: var(--edit); }
.chip-flagged, .chip-decided { background: var(--warn-bg); color: var(--warn); }
.chip-cut { background: var(--cut-bg); color: var(--cut); }

.item-title {
  margin: 4px 0 8px;
  font-size: 1.28rem;
  line-height: 1.3;
  color: var(--ubc-blue);
}
.item-context {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.prose-viewer {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.prose-subhead {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 10px 0 4px;
}
.prose-subhead:first-child { margin-top: 0; }
.prose-viewer pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.94rem;
}
.prose-viewer pre.code-readonly {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--muted);
  max-height: 220px;
  overflow: auto;
}
.prose-viewer table { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 6px 0; }
.prose-viewer th, .prose-viewer td { border: 1px solid var(--border); padding: 4px 7px; text-align: left; }
.prose-viewer th { background: #edf2f7; }

/* Decisions */
.decision-panel { margin: 10px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.decision-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.decision-option:hover { border-color: var(--ubc-mid); }
.decision-option.selected { background: var(--edit-bg); border-color: var(--ubc-mid); color: var(--ubc-blue); }
.rec-badge { font-size: 11px; color: var(--ok); background: var(--ok-bg); padding: 2px 7px; border-radius: 999px; }

/* Action Buttons */
.desktop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.btn {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.btn-primary { background: var(--ubc-mid); border-color: var(--ubc-mid); color: #fff; }
.btn-primary:hover { background: #004494; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-approve { background: var(--ok-bg); border-color: #9dd8c7; color: var(--ok); }
.btn-approve:hover { background: #d5efe7; }
.btn-edit { background: var(--edit-bg); border-color: #b4d0f3; color: var(--edit); }
.btn-note { background: var(--warn-bg); border-color: #f0cf99; color: var(--warn); }
.btn-cut { background: var(--cut-bg); border-color: #efb8b5; color: var(--cut); }
.btn-cut-solid { background: var(--cut); border-color: var(--cut); color: #fff; }
.text-btn { background: none; border: 0; color: var(--ubc-mid); font-size: 12.5px; font-weight: 600; cursor: pointer; }

/* Drawers */
.action-drawer {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.drawer-head-right { display: flex; align-items: center; gap: 10px; }
.small-check { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.slide-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.field-label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.text-input, .text-area {
  width: 100%;
  border: 1px solid #c6d2e0;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.text-area { resize: vertical; }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 10px; }
.drawer-foot .text-input { flex: 1; min-width: 180px; }

.warn-banner {
  background: var(--warn-bg);
  border: 1px solid #ecc688;
  color: var(--warn);
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  margin-bottom: 10px;
}

.diff-box { margin-top: 10px; }
.diff-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.live-diff {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 13.5px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow-y: auto;
}
.live-diff del { background: #fde8e8; color: #9b1c1c; text-decoration: line-through; padding: 0 2px; border-radius: 2px; }
.live-diff ins { background: #def7ec; color: #03543f; text-decoration: none; font-weight: 700; padding: 0 2px; border-radius: 2px; }

.priority-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.prio-btn { border: 0; background: #fff; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--muted); }
.prio-btn.active { background: var(--ubc-blue); color: #fff; }

.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag-chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.tag-chip.selected { background: var(--ubc-mid); border-color: var(--ubc-mid); color: #fff; }

.item-staged-preview {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px dashed var(--ubc-mid);
  background: #f3f8ff;
  font-size: 13px;
}

.empty-state {
  max-width: 48ch;
  margin: 48px auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.empty-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }

/* Mobile Media Slot + Bottom Bar */
.mobile-media-slot { display: none; margin-bottom: 12px; }
.mobile-bar { display: none; }
.mobile-only { display: none; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 18, 28, 0.6); }
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 88dvh;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.modal-head, .modal-foot {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.modal-foot { border-bottom: 0; border-top: 1px solid var(--border); }
.modal-head h2 { margin: 0; font-size: 1.1rem; color: var(--ubc-blue); }
.modal-head .icon-btn { border-color: var(--border); color: var(--ink); }
.submit-list { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.submit-row { border: 1px solid var(--border); border-radius: 7px; padding: 10px 12px; background: var(--surface-alt); }
.submit-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.submit-status { margin: 0 16px 12px; padding: 10px 12px; border-radius: 6px; font-size: 13px; background: var(--ok-bg); color: var(--ok); }
.submit-status.error { background: var(--cut-bg); color: var(--cut); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #0d1218; color: #fff; display: flex; flex-direction: column; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #161d26; }
.lightbox-actions { display: flex; gap: 6px; }
.lightbox-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: 12px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; transform-origin: center center; transition: transform 0.1s ease; }

/* Toast */
.toast {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ubc-blue);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Tablet / Narrow Laptop (768px - 1180px) */
@media (max-width: 1180px) and (min-width: 768px) {
  .cockpit {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: minmax(260px, 44dvh) 1fr;
  }
  .cockpit.rail-collapsed {
    grid-template-columns: 0px minmax(0, 1fr);
  }
  .queue-rail { grid-row: 1 / 3; }
  .visual-pane { border-right: 0; border-bottom: 1px solid var(--border); }
  .pan-zoom-surface img, .pan-zoom-surface video { max-height: 38dvh; }
}

/* Mobile Phone on Transit (< 768px) */
@media (max-width: 767px) {
  .brand-logo, .brand-divider, .progress-pill, .conn-badge, .secondary-link { display: none; }
  .topbar { padding: 0 8px; gap: 6px; height: 52px; }
  .deliverable-select { max-width: 155px; font-size: 12.5px; padding: 5px 7px; }
  .filter-pill { padding: 4px 6px; font-size: 11px; }
  .submit-btn { padding: 5px 9px; font-size: 12px; }
  .mobile-only { display: inline-flex; }

  .cockpit, .cockpit.rail-collapsed {
    display: block;
    overflow-y: auto;
    padding-bottom: 72px;
  }
  .visual-pane { display: none; }
  .mobile-media-slot { display: block; }
  .mobile-media-slot img, .mobile-media-slot video {
    width: 100%;
    max-height: 46dvh;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #171d24;
  }
  .mobile-media-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }

  .queue-rail {
    position: fixed;
    top: 52px;
    bottom: 0;
    left: 0;
    width: min(84vw, 320px);
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  .queue-rail.mobile-open { transform: translateX(0); }
  .rail-backdrop.mobile-open {
    display: block;
    position: fixed;
    inset: 52px 0 0 0;
    background: rgba(0,0,0,0.45);
    z-index: 45;
  }

  .review-pane { padding: 10px 10px 84px; }
  .item-card { padding: 12px 13px; }
  .item-title { font-size: 1.12rem; }
  .desktop-actions { display: none; }

  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    z-index: 35;
  }
  .mob-btn {
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--ink);
    border-radius: 8px;
    padding: 9px 4px;
    font-size: 12.5px;
    font-weight: 700;
  }
  .mob-approve { background: var(--ok); border-color: var(--ok); color: #fff; }
}
