:root {
  --field-a: #f4f2f8;
  --field-b: #faf8f6;
  --card: #ffffff;
  --ink: #1a1820;
  --muted: #8a8694;
  --muted-2: #b0abb8;
  --line: rgba(24, 20, 40, 0.06);
  --sand: #c9a882;
  --sand-soft: #e8d5c0;
  --blue: #7aa3d4;
  --blue-soft: #d6e4f5;
  --grey-disc: #d8d5de;
  --shadow: 0 10px 28px rgba(24, 20, 40, 0.07);
  --shadow-soft: 0 4px 16px rgba(24, 20, 40, 0.05);
  --r: 20px;
  --r-sm: 14px;
  --col: 720px;
  --pill-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--field-a) 0%, var(--field-b) 55%, #fbf9f6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
.hidden { display: none !important; }

.app {
  min-height: 100vh;
  padding: 28px 24px calc(var(--pill-h) + 48px);
}
.column {
  max-width: var(--col);
  margin: 0 auto;
}

/* Top */
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.greeting {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.subcap {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
}
.subcap a, .subcap .link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.subcap .link:hover { color: var(--ink); border-bottom-color: var(--line); }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.icon-btn, .avatar-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-soft);
  display: grid; place-items: center; color: var(--muted);
}
.avatar-btn {
  background: #ebe8ef; color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}

/* Sections */
.section { margin-bottom: 28px; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.section-label {
  margin: 0 0 10px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2);
}
.section-head .section-label { margin: 0; }
.link-all {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue);
}

.card {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

/* Coming up */
.coming-card {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 14px; text-align: left;
}
.date-badge {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sand-soft); color: #7a5a3a;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.date-mo { font-size: 9px; font-weight: 600; letter-spacing: 0.06em; line-height: 1; }
.date-dy { font-size: 18px; font-weight: 700; line-height: 1.1; margin-top: 2px; }
.coming-body { flex: 1; min-width: 0; }
.coming-title { margin: 0; font-size: 16px; font-weight: 600; }
.coming-meta { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.chev { color: var(--muted-2); font-size: 22px; line-height: 1; padding-right: 2px; }

/* Projects grid */
.ws-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ws-card {
  padding: 16px;
  text-align: left;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 112px;
}
.ws-top { display: flex; align-items: center; gap: 10px; }
.ws-disc {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: #5a4a3a; flex-shrink: 0;
}
.ws-disc.sand { background: var(--sand-soft); }
.ws-disc.blue { background: var(--blue-soft); color: #3a5570; }
.ws-disc.grey { background: var(--grey-disc); color: #555; }
.ws-disc.lav { background: #e4dff0; color: #5a4e70; }
.ws-name { font-size: 16px; font-weight: 600; flex: 1; }
.ws-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--muted);
}
.ws-foot .tag { font-weight: 500; color: var(--ink); opacity: 0.55; }

/* Lists */
.list-card { padding: 4px 0; overflow: hidden; }
.list-row {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; text-align: left;
  border-top: 1px solid var(--line);
}
.list-row:first-child { border-top: none; }
.thumb {
  width: 40px; height: 40px; border-radius: 10px;
  background: #eceaf0; flex-shrink: 0;
  display: grid; place-items: center; color: var(--muted);
  font-size: 11px; font-weight: 600;
}
.thumb.photo { background: linear-gradient(135deg, #d9cfc4, #c4b8a8); color: transparent; }
.list-body { flex: 1; min-width: 0; }
.list-title { margin: 0; font-size: 15px; font-weight: 600; }
.list-meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.list-meta .warn { color: var(--sand); }

/* Brain */
.search-card {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; margin-bottom: 12px; color: var(--muted);
}
.search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink);
}
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.7); color: var(--muted);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-soft);
}
.chip.is-on { background: var(--ink); color: #fff; }

/* Graph card */
.surface-graph { margin-bottom: 8px; }
.graph-card {
  position: relative;
  height: min(62vh, 560px);
  min-height: 420px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.graph-viewport {
  flex: 1; position: relative; overflow: hidden; cursor: grab;
  background-image: radial-gradient(circle, rgba(24,20,40,0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  border-radius: var(--r) var(--r) 0 0;
}
.graph-viewport.is-panning { cursor: grabbing; }
.graph-world {
  position: absolute; left: 0; top: 0;
  width: 2400px; height: 1600px;
  transform-origin: 0 0;
}
.graph-wires {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
.g-node {
  position: absolute;
  width: 168px;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  cursor: grab;
  user-select: none;
  border: 1.5px solid transparent;
}
.g-node.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(26,24,32,0.08), var(--shadow); }
.g-node.is-ghost {
  border: 1.5px dashed rgba(24,20,40,0.28);
  background: rgba(255,255,255,0.92);
}
.g-node.is-ai .g-kicker { color: var(--blue); }
.g-kicker {
  margin: 0; font-size: 10px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted);
}
.g-title { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.g-sub { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.port {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink); border: 2px solid #fff;
  top: 50%; transform: translateY(-50%);
  cursor: crosshair; z-index: 2;
}
.port.in { left: -6px; }
.port.out { right: -6px; }

.propose-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 14px 14px; padding: 10px 12px 10px 16px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: var(--shadow);
  position: relative; z-index: 3;
}
.propose-bar.is-gone, .propose-bar[hidden] { display: none !important; pointer-events: none !important; }
.propose-label { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.propose-label b { color: var(--ink); font-weight: 600; }
.propose-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

.btn {
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 600;
}
.btn-approve { background: var(--ink); color: #fff; }
.btn-hold { background: #eceaf0; color: var(--ink); }
.btn-dismiss { background: transparent; color: var(--muted); font-weight: 500; padding: 8px 10px; }
.btn.soft { background: #eceaf0; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--muted); }

/* Panels */
.panel { padding: 20px; }
.lede { margin: 0 0 14px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field textarea {
  border: none; background: #f6f4f8; border-radius: 12px;
  padding: 12px 14px; outline: none; resize: vertical;
}
.owner-row { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.avatar-lg {
  width: 52px; height: 52px; border-radius: 50%;
  background: #ebe8ef; display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
}
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Bottom pill — FAB inside */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; pointer-events: none; z-index: 40;
}
.pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 2px;
  padding: 8px 10px 8px 8px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(24, 20, 40, 0.12);
}
.pill-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 14px; border-radius: 16px; color: var(--muted);
  min-width: 72px;
}
.pill-item .pill-ico {
  width: 36px; height: 28px; border-radius: 10px;
  display: grid; place-items: center;
}
.pill-lab { font-size: 10px; font-weight: 500; letter-spacing: 0.01em; }
.pill-item.is-active { color: var(--ink); }
.pill-item.is-active .pill-ico { background: #eceaf0; color: var(--ink); }
.pill-div {
  width: 1px; height: 28px; background: var(--line); margin: 0 6px 0 4px;
}
.fab {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(24,20,40,0.2);
}

/* Sheets */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(24,20,40,0.18);
  z-index: 50;
}
.add-sheet {
  position: fixed; left: 50%; bottom: calc(var(--pill-h) + 36px);
  transform: translateX(-50%);
  width: min(340px, calc(100vw - 32px));
  background: var(--card); border-radius: var(--r);
  box-shadow: 0 16px 40px rgba(24,20,40,0.16);
  padding: 18px; z-index: 60;
}
.add-title { margin: 0 0 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.add-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.add-tile {
  text-align: left; padding: 14px;
  background: #f7f5f9; border-radius: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.add-disc {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #5a4a3a;
}
.add-disc.sand { background: var(--sand-soft); }
.add-disc.blue { background: var(--blue-soft); color: #3a5570; }
.add-disc.grey { background: var(--grey-disc); color: #555; }
.add-name { font-size: 15px; font-weight: 600; }
.add-meta { font-size: 12px; color: var(--muted); }
.sheet-row {
  width: 100%; text-align: left; padding: 14px 4px;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.sheet-row:last-child { border-bottom: none; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--pill-h) + 90px);
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow); z-index: 70; white-space: nowrap;
}

@media (max-width: 560px) {
  .app { padding: 20px 16px calc(var(--pill-h) + 40px); }
  .greeting { font-size: 28px; }
  .ws-grid { gap: 10px; }
  .pill-item { min-width: 60px; padding: 6px 10px; }
  .pill-lab { font-size: 9px; }
  .graph-card { min-height: 360px; height: 55vh; }
}

/* ——— V7-C full-bleed Graph ——— */
.app.mode-graph {
  padding: 0;
  min-height: 100vh;
  max-width: none;
}
.app.mode-graph .column {
  max-width: none;
  margin: 0;
  height: 100vh;
  pointer-events: none;
}
.app.mode-graph .topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  margin: 0;
  padding: 22px 28px 12px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244,242,248,0.92) 0%, rgba(244,242,248,0) 100%);
}
.app.mode-graph .topbar-text,
.app.mode-graph .topbar-actions {
  pointer-events: auto;
}
.app.mode-graph .main {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.app.mode-graph .surface-graph {
  position: absolute;
  inset: 0;
  display: block !important;
  pointer-events: none;
}
.app.mode-graph .desk-frame {
  pointer-events: auto;
}
.desk-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  display: block;
}
.propose-float {
  position: fixed !important;
  left: 50%;
  bottom: calc(var(--pill-h) + 40px);
  transform: translateX(-50%);
  margin: 0 !important;
  z-index: 35;
  width: min(420px, calc(100vw - 32px));
  pointer-events: auto;
}
.app.mode-graph .bottom-nav {
  z-index: 40;
}
.app.mode-graph .bottom-nav .pill {
  pointer-events: auto;
}
/* Look / Brief / Owner stay narrow; Home is full-bleed like Graph */
.app:not(.mode-graph):not(.mode-brain):not(.mode-home) .column {
  max-width: var(--col);
}

/* Home — full window width */
.app.mode-home {
  max-width: none;
  width: 100%;
  padding-left: 28px;
  padding-right: 28px;
}
.app.mode-home .column {
  max-width: none !important;
  width: 100%;
  margin: 0;
}
.app.mode-home .main {
  width: 100%;
}
.app.mode-home .surface[data-mode="home"] {
  width: 100%;
}
.app.mode-home .ws-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.app.mode-home .section {
  width: 100%;
}
@media (min-width: 1100px) {
  .app.mode-home {
    padding-left: 36px;
    padding-right: 36px;
  }
  .app.mode-home .ws-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
@media (min-width: 1600px) {
  .app.mode-home .ws-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

/* ——— V7-D full-bleed Second Brain (iframe) ——— */
.app.mode-brain {
  padding: 0;
  min-height: 100vh;
  max-width: none;
}
.app.mode-brain .column {
  max-width: none;
  margin: 0;
  height: 100vh;
  pointer-events: none;
}
.app.mode-brain .topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  margin: 0;
  padding: 22px 28px 12px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244,242,248,0.92) 0%, rgba(244,242,248,0) 100%);
}
.app.mode-brain .topbar-text {
  visibility: visible;
  pointer-events: none;
}
.app.mode-brain .topbar-actions { pointer-events: auto; }
/* iframe owns Second Brain title — hide parent duplicate greeting/subcap */
.app.mode-brain .greeting {
  display: none !important;
}
.app.mode-brain .subcap {
  display: none !important;
}
.app.mode-brain .topbar-text {
  /* keep slot for topbar-actions alignment; text chrome off */
  min-height: 0;
}
.app.mode-brain .main {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.app.mode-brain .surface-brain {
  width: 100%;
  max-width: none;
  position: absolute;
  inset: 0;
  display: block !important;
  pointer-events: none;
  padding-top: 52px; /* minimal topbar — no greeting stack */
  padding-bottom: 108px;
  box-sizing: border-box;
}
.brain-frame {
  pointer-events: auto !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0 !important;
  background: linear-gradient(180deg, #f4f2f8 0%, #faf8f6 55%, #fbf9f6 100%) !important;
  display: block !important;
  z-index: 5 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.app.mode-brain .surface-brain:not(.hidden) {
  pointer-events: auto !important;
  z-index: 5 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.app.mode-brain .main {
  pointer-events: auto !important;
  z-index: 4 !important;
}
.app.mode-brain .bottom-nav { z-index: 40; }
.app.mode-brain .bottom-nav .pill { pointer-events: auto; }

/* ——— V7-E soft Chat sheet (not CAD rail) ——— */
body.v007-soft-chat .os-chat-root {
  z-index: 55 !important;
}
body.v007-soft-chat .os-chat-fab {
  right: 22px !important;
  bottom: calc(var(--pill-h, 64px) + 36px) !important;
  left: auto !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #fff !important;
  color: #1a1820 !important;
  box-shadow: 0 10px 28px rgba(24,20,40,.12) !important;
  font-family: Inter, system-ui, sans-serif !important;
}
body.v007-soft-chat .os-chat-fab-label { display: none !important; }
body.v007-soft-chat .os-chat-panel,
body.v007-soft-chat .os-chat-panel.pd-float {
  /* layout owned by v007-chat-elevate.css — only keep paint tokens here */
  border-radius: 22px !important;
  border: none !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(24,20,40,.18) !important;
  font-family: Inter, system-ui, sans-serif !important;
}
body.v007-soft-chat .os-chat-head,
body.v007-soft-chat .pd-float-head {
  border: none !important;
  background: #fff !important;
  padding: 16px 16px 8px !important;
}
body.v007-soft-chat .os-chat-title,
body.v007-soft-chat .pd-panel-h {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #1a1820 !important;
}
body.v007-soft-chat .os-chat-ctx {
  display: none !important;
  color: #8a8694 !important;
  font-size: 13px !important;
}
body.v007-soft-chat .os-chat-ctx::after {
  content: none;
}
body.v007-soft-chat .os-chat-bubble.is-user {
  background: #ffffff !important;
  color: #1a1820 !important;
  border-radius: 16px 16px 4px 16px !important;
  border: none !important;
}
body.v007-soft-chat .os-chat-bubble.is-ai {
  background: #ebe4f7 !important;
  color: #1a1820 !important;
  border-radius: 16px 16px 16px 4px !important;
  border: none !important;
}
body.v007-soft-chat .os-chat-input {
  border: none !important;
  background: #f1eff5 !important;
  border-radius: 12px !important; /* rect — not pill; matches taller compose */
  padding: 12px 14px !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 13px !important; /* match Proposal */
  min-height: 96px !important;
}
body.v007-soft-chat .os-chat-send,
body.v007-soft-chat .os-chat-close,
body.v007-soft-chat .desk-btn.os-chat-close {
  border-radius: 999px !important;
  border: none !important;
  font-family: Inter, system-ui, sans-serif !important;
  background: #1a1820 !important;
  color: #fff !important;
}
body.v007-soft-chat .os-chat-backdrop {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.v007-soft-chat .pd-chat-rail,
body.v007-soft-chat #pd-chat-rail {
  display: none !important;
}

/* v007 fix — chat fab/panel always hittable */
body.v007-soft-chat #os-chat-root,
body.v007-soft-chat .os-chat-root {
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 80 !important;
}
body.v007-soft-chat .os-chat-fab,
body.v007-soft-chat .os-chat-panel {
  pointer-events: auto !important;
}
body.v007-soft-chat .os-chat-backdrop {
  pointer-events: none !important;
  display: none !important;
}
body.v007-soft-chat .os-chat-panel[hidden],
body.v007-soft-chat .os-chat-backdrop[hidden] {
  display: none !important;
}
.app.mode-brain .surface-brain {
  pointer-events: auto !important;
}


/* btn-inbox hidden for v007 chat — soft FAB is opener */
body.v007-soft-chat #btn-inbox { display: none !important; }




/* Selection bar — pill expands upward into settings (same radii) */
.propose-float.selection-bar {
  /* Fixed radii — same collapsed + expanded (999px grows into a circle when tall) */
  --sel-radius: 22px;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--sel-radius) !important;
  width: min(420px, calc(100vw - 32px));
  transition: box-shadow 0.28s ease;
}
.propose-float.selection-bar.is-gone,
.propose-float.selection-bar[hidden] {
  display: none !important;
}
.selection-bar-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.selection-bar.is-editing .selection-bar-panel {
  grid-template-rows: 1fr;
}
.selection-bar-fields {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 16px;
  transition: opacity 0.28s ease 0.05s, padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.selection-bar.is-editing .selection-bar-fields {
  opacity: 1;
  padding: 18px 16px 8px;
  overflow: auto;
  max-height: min(42vh, 340px);
}
.selection-bar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  flex-shrink: 0;
}
.selection-bar .sel-field {
  margin-bottom: 10px;
}
.selection-bar .sel-field:last-child {
  margin-bottom: 0;
}
.selection-bar .sel-field span {
  font-size: 11px;
}
.selection-bar .sel-field input,
.selection-bar .sel-field textarea,
.selection-bar .sel-field select {
  width: 100%;
  box-sizing: border-box;
  border: none;
  background: #f6f4f8;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.selection-bar .sel-field input[readonly] {
  color: var(--muted);
}
.selection-bar.is-editing {
  box-shadow: 0 18px 48px rgba(20, 16, 30, 0.18);
}
