:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #52525b;
  --faint: #71717a;
  --line: #e4e4e7;
  --line-soft: #f4f4f5;
  --wash: #fafafa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(10, 10, 10, 0.18);
  font-family: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--ink); }
body { font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
html.dark-shell, body.dark-shell { background: #0a0a0a; color: #fafafa; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }

.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.proto {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 16px;
  background: #18181b;
  color: #a1a1aa;
  font-size: 11.5px;
  overflow-x: auto;
}
.proto > * { flex: none; white-space: nowrap; }
.proto-kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.1em;
  color: #fafafa;
  font-weight: 500;
}
.proto-jump {
  color: #71717a;
}
.proto button {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #3f3f46;
  background: transparent;
  color: #e4e4e7;
  font-size: 11.5px;
  font-weight: 600;
}
.proto button.on {
  background: #fafafa;
  border-color: #fafafa;
  color: #18181b;
}

.mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.06em;
  flex: none;
}
.mark.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 750; letter-spacing: -0.03em; min-width: 120px; }

.signin {
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: 48px 16px;
  text-align: center;
}
.signin h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.045em; }
.signin .lede { color: var(--muted); font-size: 16px; max-width: 340px; }
.stack { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; }

.btn {
  height: 50px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  padding: 0 18px;
}
.btn.secondary { background: #fff; color: var(--ink); border-color: #d4d4d8; }
.btn.ghost {
  height: 40px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  font-size: 13.5px;
  font-weight: 600;
}
.btn.slim { height: 36px; font-size: 13px; padding: 0 14px; }
.btn:disabled, .btn.disabled {
  background: var(--line-soft);
  border-color: var(--line);
  color: var(--faint);
  cursor: not-allowed;
}
.btn.full { width: 100%; }
.btn.danger { background: #e11d48; border-color: #e11d48; color: #fff; }

.ob-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.steps { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; font-weight: 600; }
.steps li.on, .steps li.done { color: var(--ink); }
.dot {
  width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700;
  border: 1px solid #d4d4d8; color: var(--faint); background: #fff;
}
.steps li.on .dot, .steps li.done .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-rule { width: 28px; height: 1px; background: #d4d4d8; }
.step-label { font-size: 13px; color: var(--faint); font-weight: 600; }
.ob-head-spacer { min-width: 120px; }

.narrow, .form-card { width: min(480px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.auth-form { display: flex; flex-direction: column; gap: 22px; }
form.narrow.auth-form { width: min(480px, 100%); }
.auth-form > .btn.full, .auth-form > .btn.send-code { width: 100%; height: 56px; font-size: 16px; }
.page { padding: 24px 20px 80px; }
/* Availability fits under the app header with no page scroll */
div:has(> .page.avail-page) {
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; overflow: hidden;
}
div:has(> .page.avail-page) > :not(.avail-page) { flex: none; }
.page.avail-page {
  padding: 12px 24px 16px;
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.page.avail-page .avail-wrap {
  flex: 1 1 auto;
  min-height: 0;
  gap: 10px;
  display: flex;
  flex-direction: column;
}
.page.avail-page .avail-layout {
  flex: 1 1 auto;
  min-height: 0;
  /* Calendar stretches to the page bottom; side stays content-height */
  align-items: flex-start;
}
.page h1 { font-size: 30px; font-weight: 750; letter-spacing: -0.035em; }
.sub { color: var(--muted); font-size: 15px; }
.new-design { min-height: calc(100vh - 48px); display: flex; align-items: flex-start; }
.new-design .narrow { padding-top: 48px; gap: 12px; }
.new-design .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.new-design .lede { margin: 0; color: var(--muted); font-size: 16px; max-width: 420px; }
.new-design .muted { margin: 8px 0 0; color: var(--faint); font-size: 13px; }
.new-design-frame {
  margin: 0;
  padding: 0;
  width: 100%;
  height: calc(100vh - 42px);
  min-height: 640px;
  background: #f5f4ef;
}
.new-design-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.share-link-page .narrow { padding-top: 48px; gap: 14px; }
.share-link-page .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.share-link-page .lede { margin: 0; color: var(--muted); font-size: 16px; max-width: 440px; }
.share-link-page .muted { margin: 0; color: var(--faint); font-size: 13px; }
.share-link-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.share-link-kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.share-link-code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.share-link-path {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: var(--faint);
  margin-left: auto;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 650; }
input[type="text"], input[type="email"], input[type="search"], input[type="password"], select, textarea {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  outline: none;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: #a1a1aa; box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06); }
.alert { color: #be123c; font-size: 13px; font-weight: 600; }
.hint { color: var(--faint); font-size: 12.5px; }
.count { align-self: flex-end; color: var(--faint); font-size: 12px; }
.code {
  height: 64px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 28px;
  letter-spacing: 0.5em;
  text-align: center;
  padding-left: 0.5em;
}
.row-actions { display: flex; gap: 10px; }
.row-actions .btn { flex: 1; }
.linkish {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; color: var(--muted); font-weight: 600; font-size: 13.5px;
}
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.pw-field { position: relative; }
.pw-field input { padding-right: 42px; }
.pw-mark {
  position: absolute; right: 14px; top: 0; bottom: 0;
  width: 18px; display: none; align-items: center; justify-content: center;
}
.pw-mark.spin, .pw-mark.ok, .pw-mark.bad { display: flex; }
.pw-mark i {
  width: 14px; height: 14px; box-sizing: border-box; border-radius: 999px;
  border: 2px solid #d4d4d8; border-top-color: transparent;
}
.pw-mark.spin i { border-top-color: var(--ink); animation: pw-spin 0.7s linear infinite; }
.pw-mark.ok i {
  width: 6px; height: 10px; border-radius: 0; border: 0;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(40deg) translate(-1px, -1px); animation: none;
}
.pw-mark.bad i {
  width: 12px; height: 12px; border: 0; border-radius: 0; animation: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transform: rotate(45deg);
}
@keyframes pw-spin { to { transform: rotate(360deg); } }

.photo-row { display: flex; align-items: center; gap: 16px; }
.avatar, .avatar-lg, .ph {
  border-radius: 999px; object-fit: cover; object-position: center 18%; background: #111; border: 1px solid var(--line-soft); flex: none;
}
.avatar { width: 44px; height: 44px; }
.avatar-lg { width: 72px; height: 72px; }
.ph {
  width: 44px; height: 44px; border-radius: 999px; flex: none;
  display: grid; place-items: center; font-weight: 750; color: var(--ink); background: var(--line-soft);
}
.ph.lg { width: 72px; height: 72px; border-radius: 999px; font-size: 22px; }
.ph.xl {
  width: 84px; height: 84px; border-radius: 24px; background: var(--line-soft); color: var(--faint);
}
.file-btn, .tile {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: 13.5px;
}
.tile {
  width: 100%; min-height: 64px; height: auto; border-radius: 14px; padding: 12px 16px; text-align: left; gap: 12px;
}
.tile.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile small, .file-btn small, .switch small { display: block; font-weight: 500; font-size: 12px; color: var(--faint); }
.tile.on small { color: rgba(255,255,255,0.72); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.link-block { display: flex; flex-direction: column; gap: 16px; }
.resume-row { display: flex; flex-direction: column; gap: 8px; }
.resume-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.resume-name { font-weight: 650; }
.btn.pick-file { height: 48px; padding: 0 18px; }
.file-off { position: fixed; left: -120px; top: 0; width: 1px; height: 1px; opacity: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: #27272a;
  font-size: 13.5px; font-weight: 500;
}
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 650; }
input.chip-input {
  height: 38px; width: 148px; padding: 0 16px; border-radius: 999px;
  border: 1px dashed var(--line); background: #fff; color: inherit;
  font-size: 13.5px; font-weight: 500;
}
input.chip-input::placeholder { color: var(--faint); }
input.chip-input:focus { outline: none; border-style: solid; border-color: var(--ink); box-shadow: none; }
.level {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
}
.seg { display: flex; gap: 6px; }
.seg button {
  height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.seg button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.setup { width: min(760px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }

/* Onboarding profile setup (Onboarding - Profile design) */
.ob-setup-page { padding-bottom: 48px; }
.ob-setup {
  width: min(1100px, 100%); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
}
.ob-setup-form {
  flex: 999 1 480px; min-width: 0; max-width: 540px;
  display: flex; flex-direction: column; gap: 22px;
}
.ob-setup-intro h1 {
  margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em;
}
.ob-setup-intro .sub { margin: 8px 0 0; color: #52525b; font-size: 15.5px; }
.ob-setup-photo { display: flex; align-items: center; gap: 16px; }
.ob-setup-av {
  width: 72px; height: 72px; border-radius: 999px; object-fit: cover; flex: none;
  display: grid; place-items: center; font-size: 22px; font-weight: 800;
  background: #f4f4f5; color: #a1a1aa;
}
.ob-setup-av.ph { background: #f4f4f5; color: #a1a1aa; }
img.ob-setup-av { background: #d4d4d8; }
.ob-setup-photo-acts { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.ob-name-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.ob-setup-form .field input,
.ob-setup-form .field select {
  height: 46px; box-sizing: border-box; border: 1px solid #e4e4e7; border-radius: 12px;
  padding: 0 14px; font: inherit; font-size: 15px; outline: none; background: #fff; width: 100%;
}
.ob-setup-form .field label { font-size: 13px; font-weight: 650; }
.ob-hl-label {
  display: flex; justify-content: space-between; gap: 8px; align-items: baseline;
}
.ob-hl-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ob-hl-chip {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px dashed #d4d4d8;
  background: #fff; font: inherit; font-size: 12px; color: #3f3f46; cursor: pointer;
}
.ob-hl-chip:hover { border-color: #a1a1aa; color: #0a0a0a; }
.ob-life-status {
  padding-top: 18px; border-top: 1px solid #f4f4f5;
}
.ob-status-fields { display: flex; flex-direction: column; gap: 12px; }
.ob-prog-year {
  display: grid; grid-template-columns: 2fr 1fr; gap: 12px;
}
.ob-job-fields {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.ob-setup-continue {
  display: flex; flex-direction: column; gap: 10px; margin-top: 6px;
}
.ob-setup-continue .hint { text-align: center; color: #52525b; font-size: 13px; }
.ob-setup-preview {
  flex: 1 1 360px; min-width: 0; max-width: 460px;
  display: flex; flex-direction: column; gap: 10px;
}
.ob-preview-kicker {
  font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em;
  text-transform: uppercase; color: #71717a;
}
.ob-preview-card {
  border: 1px solid #e4e4e7; border-radius: 24px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(10,10,10,0.08); background: #fff;
}
.ob-preview-banner {
  height: 120px; margin: 12px 12px 0; border-radius: 18px;
  background-color: #fafafa;
  background-image: radial-gradient(#0a0a0a 1.3px, transparent 1.6px);
  background-size: 16px 16px; border: 1px solid #f4f4f5;
}
.ob-preview-body {
  padding: 0 22px 24px; display: flex; flex-direction: column; gap: 12px;
}
.ob-preview-av {
  width: 96px; height: 96px; margin-top: -48px; border-radius: 999px; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 1px #e4e4e7;
  display: grid; place-items: center; font-size: 28px; font-weight: 800;
  background: #f4f4f5; color: #a1a1aa;
}
img.ob-preview-av { background: #d4d4d8; color: #0a0a0a; }
.ob-preview-text { display: flex; flex-direction: column; gap: 6px; }
.ob-preview-text b {
  font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em;
}
.ob-preview-hl {
  font-size: 16px; line-height: 1.4; color: #27272a; font-weight: 500;
}
.ob-preview-hl.is-ph { color: #a1a1aa; }
.ob-preview-meta { color: #71717a; font-size: 13.5px; }
@media (max-width: 860px) {
  .ob-setup { gap: 28px; }
  .ob-setup-preview { max-width: none; }
  .ob-job-fields, .ob-prog-year { grid-template-columns: 1fr; }
}
.avail-wrap {
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.avail-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.setup-bh-tools {
  position: relative; flex-wrap: nowrap; align-items: center;
  padding: 0; min-height: 36px;
}
.setup-bh-tools .bh-cal-hours,
.setup-bh-tools .bh-tool-btn,
.setup-bh-tools select {
  height: 32px; box-sizing: border-box;
}
.setup-bh-tools select {
  width: auto; min-width: 0; padding: 0 8px; font-size: 12.5px; border-radius: 8px;
}
.setup-bh-cal {
  flex: 1 1 560px; min-width: 0; max-width: 760px;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #fff; padding: 0;
  display: flex; flex-direction: column;
}
/* Fit remaining viewport so the whole grid (incl. end hour) stays on-screen — no page scroll */
.setup-bh-cal .cal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: hidden;
}
.avail-page .setup-bh-cal {
  /* Content-sized: row height is computed from .avail-layout so the whole grid fits */
  align-self: flex-start;
  height: auto;
  max-height: 100%;
}
.avail-page .setup-bh-cal .cal-scroll {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}
.avail-page .setup-bh-side {
  /* Side stays shorter; Continue does not define the calendar card height */
  align-self: flex-start;
  max-height: none;
  overflow: visible;
  justify-content: flex-start;
}
/* Match profile setup Continue (default .btn: 50px / 15px) */
.avail-page .setup-bh-side > .btn.full {
  height: 50px;
  font-size: 15px;
  font-weight: 650;
  flex: none;
}
.avail-page .avail-intro h1 {
  margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em;
}
.avail-page .avail-intro .sub { margin: 8px 0 0; color: #52525b; font-size: 15.5px; }
.setup-bh-side {
  flex: 0 1 320px; max-width: 340px; min-width: 280px;
  display: flex; flex-direction: column; gap: 6px;
}
.setup-disc-card { cursor: default; }
.setup-disc-card .bh-open-block { border-top: 0; padding-top: 8px; }
.setup-more-later {
  margin: -2px 0 2px; text-align: center; font-size: 12.5px; color: #71717a;
}
.grid-card {
  flex: 1 1 520px; min-width: 0; max-width: 720px;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; user-select: none;
}
.grid-head, .grid-row { display: flex; }
.grid-head { border-bottom: 1px solid var(--line); background: var(--wash); }
.gutter { width: 64px; flex: none; }
.dayhead {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center;
  padding: 8px 0 10px; gap: 2px;
}
.dayhead b { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.dayhead .date {
  width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.dayhead.today b { color: var(--ink); }
.dayhead.today .date { background: var(--ink); color: #fff; }
.grid-scroll {
  height: calc(var(--row-h, 12px) * var(--rows, 44));
  overflow: auto;
}
.grid-row { align-items: stretch; }
.tick {
  width: 64px; flex: none; font-size: 11px; color: var(--faint); text-align: right;
  padding: 2px 8px 0 0; line-height: 1;
}
.lp-cell, .cal-editing .cal-cell { touch-action: none; }
.lp-cell {
  flex: 1; height: var(--row-h, 12px); padding: 0; border: 0;
  border-top: 1px solid #f7f7f8; border-left: 1px solid #f4f4f5;
  background: #fff; cursor: cell;
}
.lp-cell.hour, .cal-cell.hour { border-top: 1px solid #bdbdbd; }
.lp-cell.half, .cal-cell.half { border-top: 1px dashed #d4d4d8; }
.lp-cell.is-on { background: #d4d4d8; }
.lp-cell.is-on.is-once, .cal-cell.is-on.is-once {
  background: repeating-linear-gradient(-45deg, #d4d4d8, #d4d4d8 4px, #f4f4f5 4px, #f4f4f5 8px);
}
.lp-cell:hover { background: #f4f4f5; }
.lp-cell.is-on:hover { background: #a1a1aa; }

.side {
  flex: 0 1 300px; max-width: 320px; min-width: 260px;
  border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  display: flex; flex-direction: column; gap: 14px; background: #fff;
}
@media (max-width: 900px) {
  .side { flex: 1 1 100%; max-width: none; min-width: 0; }
  .grid-card { max-width: none; }
  .setup-bh-cal, .setup-bh-side { flex: 1 1 100%; max-width: none; min-width: 0; }
}
.side-top { display: flex; justify-content: space-between; align-items: baseline; }
.side-top b { font-size: 15px; }
.switch {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 0; border: 0; background: transparent; text-align: left;
}
.switch b { display: block; font-size: 14px; }
.track {
  width: 40px; height: 24px; border-radius: 999px; background: #d4d4d8; position: relative; flex: none;
}
.track.on { background: var(--ink); }
.knob {
  position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); transition: left 150ms;
}
.track.on .knob { left: 19px; }
.range {
  display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft);
}
.range .day { width: 40px; flex: none; font-size: 12px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.range .time { flex: 1; min-width: 88px; font-size: 13.5px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px;
  flex: none; white-space: nowrap;
  font-size: 11.5px; font-weight: 650; border: 1px solid var(--line); background: #fff; color: var(--muted);
}
.pill.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn {
  width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 999px;
  background: transparent; color: var(--faint);
}
.icon-btn:hover { background: var(--line-soft); color: var(--ink); }

.app-head {
  position: sticky; top: 46px; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding: 8px 24px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs button {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 0; background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 500;
}
.tabs button.on { background: var(--line-soft); color: var(--ink); font-weight: 700; }
.badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
  display: inline-grid; place-items: center;
}
.me-btn {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; display: grid; place-items: center; cursor: pointer;
}
.me-btn .avatar, .me-btn .ph { width: 32px; height: 32px; }
.me-btn.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.signout-row { display: flex; flex-direction: column; gap: 10px; }
.signout-row h2 { font-size: 16px; }

.main { padding: 20px 24px 48px; width: min(1120px, 100%); margin: 0 auto; }
.main h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.section { margin-top: 28px; }
.section-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-h h2 { font-size: 16px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.count-pill {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--line-soft);
  font-size: 12px; font-weight: 700; display: inline-grid; place-items: center;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: #3f3f46; font-size: 13px; font-weight: 650;
}
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.segbar { display: flex; gap: 2px; padding: 3px; background: var(--line-soft); border-radius: 999px; }
.segbar button {
  flex: 1; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent;
  color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap;
}
.segbar button.on { background: #fff; color: var(--ink); font-weight: 650; box-shadow: 0 1px 3px rgba(10,10,10,0.12); }

.incoming { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.in-card, .person-card, .contact, .panel {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.in-card { display: flex; gap: 14px; padding: 14px; }
.in-card img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; object-position: center 18%; background: #111; flex: none; }
.in-card h3 { font-size: 15px; font-weight: 750; }
.meta { color: var(--muted); font-size: 13px; }
.snippet {
  color: #3f3f46; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 8px;
}
.caught { padding: 22px; text-align: center; color: var(--faint); border: 1px dashed var(--line); border-radius: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.person-card {
  display: flex; flex-direction: column; padding: 0; text-align: left; overflow: hidden; color: var(--ink); width: 100%;
}
.person-card .shot { position: relative; aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.person-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.flag {
  position: absolute; top: 10px; height: 24px; padding: 0 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center;
}
.flag.alum { left: 10px; background: #fff; color: var(--ink); }
.flag.req { right: 10px; background: var(--ink); color: #fff; }
.person-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.person-card h3 { font-size: 15.5px; font-weight: 750; }
.mini { display: flex; flex-wrap: wrap; gap: 6px; }
.mini span {
  height: 24px; padding: 0 8px; border-radius: 999px; background: var(--line-soft);
  font-size: 11.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px;
}
.mini span em { font-style: normal; color: var(--faint); font-weight: 600; }
.match { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }

.sheet-back {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.46);
  display: flex; justify-content: center; align-items: center;
  padding: 24px 16px; overflow: auto;
}
.sheet-back.sheet-back-cal { align-items: center; padding: 16px; }
.sheet {
  width: min(440px, 100%); background: #fff; border-radius: 22px;
  box-shadow: var(--shadow); padding: 14px 16px 16px;
}
.sheet.sheet-compact { width: min(420px, 100%); }
.req-msg-form .block.tight { margin-top: 10px; gap: 6px; }
.req-msg-form .field { margin-top: 12px; gap: 6px; }
.req-msg-form .field label { margin-bottom: 4px; display: block; }
.req-msg-form .who-compact {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.req-msg-form .who-compact .grow { flex: 1; min-width: 0; }
.req-msg-form .who-compact img.avatar { width: 40px; height: 40px; border-radius: 12px; }
.req-msg-form .who-actions { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.invite-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.invite-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 28px; padding: 0 4px 0 10px; border-radius: 999px;
  background: var(--wash); border: 1px solid var(--line); font-size: 12.5px; font-weight: 650;
}
.invite-chip-x {
  width: 22px; height: 22px; border: 0; border-radius: 999px; background: transparent;
  display: grid; place-items: center; color: var(--muted); cursor: pointer; padding: 0;
}
.invite-chip-x:hover { background: #fff; color: var(--ink); }
.req-msg-form #req-purpose {
  height: 40px; border-radius: 12px; border: 1px solid var(--line);
  padding: 0 12px; font-size: 14px; width: 100%; box-sizing: border-box;
}
.req-msg-form #req-msg {
  border-radius: 12px; border: 1px solid var(--line);
  padding: 10px 12px; font-size: 14px; width: 100%; box-sizing: border-box;
  min-height: 84px; line-height: 1.45;
}
.req-msg-form .count { display: block; text-align: right; margin: 4px 0 10px; color: var(--faint); font-size: 12px; }
.suggest-chips { margin-top: 2px; }
.suggest-chips .chip { font-size: 12px; height: 28px; padding: 0 10px; }
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sheet-bar strong { font-size: 13px; color: var(--faint); font-weight: 650; flex: 1; text-align: center; min-width: 0; }
.sheet.sheet-wide .sheet-bar strong { font-size: 14px; color: var(--ink); font-weight: 750; }
.round {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center;
}
.who { display: flex; gap: 14px; align-items: center; }
.who img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; object-position: center 18%; background: #111; }
.who h3 { font-size: 20px; font-weight: 780; letter-spacing: -0.03em; }
.block { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.block .k { font-size: 12px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times span {
  height: 32px; padding: 0 10px; border-radius: 999px; background: var(--line-soft);
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650;
}
.empty-box {
  border: 1px dashed var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
  background: var(--wash);
}
.slot-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.slot-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.slot-col header { text-align: center; }
.slot-col header b { display: block; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.slot-btn {
  height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 12px; font-weight: 500; padding: 0 2px;
}
.slot-btn.both { border-color: var(--ink); font-weight: 750; }
.slot-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 750; }
.dash { text-align: center; color: #d4d4d8; }

.pick { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow: auto; }
.pick button, .contact {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
}
.free { margin-left: auto; color: var(--faint); font-size: 12px; font-weight: 700; }

html.inbox-lock, body.inbox-lock { overflow: hidden !important; height: 100%; }
.inbox {
  padding: 12px 24px 12px;
  display: flex; flex-direction: column;
  height: calc(100vh - 98px);
  max-height: calc(100vh - 98px);
  overflow: hidden;
  box-sizing: border-box;
}
.inbox-frame {
  display: flex; flex-wrap: nowrap; gap: 16px; align-items: stretch;
  flex: 1; min-height: 0; height: 100%; background: transparent; border: 0;
  overflow: hidden;
}
.inbox-frame > .col-list,
.inbox-frame > .col-chat,
.inbox-frame > .col-cal,
.inbox-frame > .col-stack,
.inbox-frame > .col-booking {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
}
.inbox-frame > .col-booking.has-menu,
.booking-hours-mode .col-booking.has-menu,
.inbox-frame > .col-cal.nl-composing {
  overflow: visible;
}
.inbox-frame:has(.col-cal.nl-composing) {
  overflow: visible;
}
.col-cal.nl-composing {
  position: relative;
  overflow: visible;
  z-index: 5;
}
.col-list { flex: 1 1 280px; max-width: 320px; display: flex; flex-direction: column; min-width: 0; }
.col-chat { flex: 1.3 1 380px; min-width: 0; display: flex; flex-direction: column; }
.col-cal { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; background: #fff; }
.inbox-split .col-stack {
  flex: 0 0 calc(34% - 6px); max-width: calc(34% - 6px); min-width: 300px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.inbox-split .col-cal { flex: 1 1 calc(66% - 10px); max-width: none; }
.booking-hours-mode .col-booking {
  flex: 0 0 calc(34% - 6px); max-width: calc(34% - 6px); min-width: 300px;
  display: flex; flex-direction: column; overflow: auto; padding: 18px 16px 20px; gap: 12px;
}
.booking-hours-mode .col-cal { flex: 1 1 calc(66% - 10px); max-width: none; }
.cal-bar-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.booking-hours-cta {
  background: #0a0a0a !important; color: #fff !important; border-color: #0a0a0a !important;
  border-radius: 999px; font-weight: 650;
}
.bh-get-in {
  background: #0a0a0a !important; color: #fff !important; border-color: #0a0a0a !important;
  border-radius: 999px !important; font-weight: 750 !important; height: 40px; padding: 0 20px;
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.18), 0 0 0 4px #e4e4e7;
}
.bh-head h1 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.bh-circle {
  border: 1px solid #e4e4e7; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; position: relative;
}
.bh-circle-head { display: flex; align-items: flex-start; gap: 10px; }
.bh-circle-icon {
  width: 36px; height: 36px; border-radius: 12px; background: #f4f4f5;
  display: grid; place-items: center; flex: none;
}
.bh-circle-icon svg { width: 18px; height: 18px; }
.bh-circle-title { min-width: 0; flex: 1; }
.bh-circle-head b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.bh-circle-sub { margin: 2px 0 0; color: #71717a; font-size: 12.5px; line-height: 1.35; }
.bh-circle-color-wrap { margin-left: auto; flex: none; align-self: flex-start; }
.bh-circle-color-pop {
  position: absolute; top: calc(100% + 6px); left: 0; right: auto; z-index: 50;
  display: flex; flex-wrap: wrap; gap: 8px; width: max-content; max-width: 160px;
  padding: 8px; background: #fff; border: 1px solid #e4e4e7; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.bh-circle-k {
  font-size: 11px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: #a1a1aa;
  margin-top: 2px;
}
.bh-circle-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-circle-pill {
  height: 32px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid #e4e4e7;
  background: #fff; color: #3f3f46; font: inherit; font-size: 12.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.bh-circle-pill.on { border-color: #0a0a0a; color: #0a0a0a; background: #fafafa; }
.bh-circle-check { display: inline-grid; place-items: center; color: #0a0a0a; }
.bh-circle-check svg { width: 12px; height: 12px; stroke-width: 2.5; }
.bh-circle-dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.bh-circle-swatch {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid transparent; padding: 0; cursor: pointer;
}
.bh-circle-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a0a0a; }
.bh-card {
  border: 1px solid #e4e4e7; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; cursor: pointer; position: relative; overflow: visible;
}
.bh-card.has-menu { z-index: 20; }
.bh-card.on { border: 2px solid #0a0a0a; padding: 13px; }
.bh-card.is-paused { opacity: 0.78; }
.bh-card-top { display: flex; align-items: center; gap: 8px; }
.bh-explore {
  width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid #0a0a0a; background: #fff;
  display: grid; place-items: center; color: #0a0a0a; flex: none; padding: 0;
}
.bh-explore svg { width: 14px; height: 14px; }
.bh-explore.on { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.bh-title-wrap { min-width: 0; flex: 1; }
.bh-link-name {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  border: 0; background: transparent; padding: 0; text-align: left; font: inherit;
}
.bh-link-name b { font-size: 15px; }
.bh-pill {
  height: 20px; padding: 0 8px; border-radius: 999px; background: #f4f4f5; color: #3f3f46;
  font-size: 11px; font-weight: 650; display: inline-flex; align-items: center;
}
.bh-pill.muted { color: #71717a; }
.bh-rename {
  flex: 1; min-width: 0; height: 36px; border: 1px solid #d4d4d8; border-radius: 10px; padding: 0 10px; font: inherit;
}
.bh-url-row, .bh-meta-row, .bh-link-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.bh-url {
  flex: 1; min-width: 0; font-size: 12.5px; color: #52525b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bh-preview-txt {
  border: 0; background: transparent; padding: 0 4px; font: inherit; font-size: 12.5px; font-weight: 650;
  color: #0a0a0a; cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.bh-copy { color: #52525b; }
.bh-chip {
  height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fafafa;
  font: inherit; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 4px;
}
.bh-drop-end { left: auto !important; right: 0; }
.bh-drop-under {
  left: 0 !important; right: auto !important;
  min-width: max-content !important; width: max-content; max-width: 220px;
  z-index: 60;
}
.bh-color-wrap { position: relative; flex: none; }
.bh-color-dot {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid #fff;
  box-shadow: 0 0 0 1px #d4d4d8; padding: 0; cursor: pointer;
}
.bh-color-pop {
  position: absolute; top: calc(100% + 6px); left: 0; right: auto; z-index: 40;
  width: 128px; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  background: #fff; border: 1px solid #e4e4e7; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.bh-color-pop.bh-color-pop-end { left: auto; right: 0; }
.bh-open-block { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; border-top: 1px solid #f4f4f5; }
.bh-manual-row {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  padding-top: 0; margin-top: 2px; margin-left: 0; border-top: 0; min-height: 28px;
  padding-left: 0;
}
.bh-manual-row.bh-time-row { font-size: 13px; }
.bh-manual-row select.bh-manual-day,
.bh-open-block select.bh-manual-day {
  width: 54px !important; max-width: 54px !important; min-width: 54px !important;
  height: 28px !important; border-radius: 8px; border: 1px solid #e4e4e7; background: #fff;
  padding: 0 2px 0 4px !important; font: inherit; font-size: 12.5px; font-weight: 650;
  flex: none !important; box-sizing: border-box; margin: 0;
  text-align: left;
}
.bh-manual-times {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
}
.bh-manual-row input.bh-manual-time,
.bh-open-block input.bh-manual-time,
input.bh-manual-time[type="text"] {
  width: 8.25ch !important; max-width: 8.25ch !important; min-width: 0 !important;
  flex: none !important;
  height: 28px !important; border-radius: 8px; border: 1px solid #e4e4e7;
  padding: 0 4px !important; font: inherit; font-size: 12.5px; box-sizing: border-box;
}
.bh-manual-row .bh-manual-to,
.bh-time-row .bh-manual-to {
  color: #a1a1aa; font-size: 12px; flex: none !important; width: auto;
  padding: 0 1px; margin: 0;
}
.bh-manual-row .icon-btn { width: 28px; height: 28px; flex: none; margin-left: auto; }
.bh-k { font-size: 11px; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; color: #a1a1aa; }
.bh-time-row {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.bh-time-row b { min-width: 54px; width: 54px; flex: none; }
.bh-time-row > span:not(.bh-manual-to) { flex: 1; color: #3f3f46; }
.bh-dot { width: 8px; height: 8px; border-radius: 999px; flex: none; }
.bh-stats { color: #71717a; font-size: 12.5px; padding-top: 2px; }
.bh-swatch {
  width: 22px; height: 22px; border-radius: 999px; border: 2px solid transparent; padding: 0; cursor: pointer;
}
.bh-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a0a0a; }
.bh-link-actions { justify-content: flex-start; }
.bh-delete {
  margin-left: auto; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #fecdd3; background: #fff; color: #be123c;
  font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer;
}
.bh-add {
  margin-top: 4px; height: 68px; border-radius: 18px !important;
  border: 1.5px dashed #a1a1aa !important; background: #fff !important;
  font-weight: 700 !important;
}
.bh-cal .daycol .cells { z-index: 1; }
.bh-open-box {
  position: absolute; left: 3px; right: 3px; border-radius: 8px;
  box-sizing: border-box; overflow: hidden; pointer-events: none; z-index: 3;
}
.bh-cal .block-ev, .bh-cal .block-busy {
  z-index: 2; pointer-events: none !important; opacity: 0.38 !important;
}
.bh-quiet { opacity: 0.38 !important; pointer-events: none !important; }
.bh-cals-wrap { position: relative; z-index: 55; }
.bh-cals-pop {
  position: absolute; top: calc(100% + 6px); bottom: auto; left: 0; right: auto; z-index: 60;
  min-width: 240px; padding: 6px; background: #fff; border: 1px solid #e4e4e7; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.bh-cals-row {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px;
}
.bh-cals-email { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.bh-cals-sep { height: 1px; background: #f4f4f5; margin: 2px 6px; }
.bh-cals-apple {
  display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 10px;
}
.bh-cals-apple input {
  height: 32px; border-radius: 8px; border: 1px solid #e4e4e7; padding: 0 10px;
  font: inherit; font-size: 13px;
}
.bh-cals-apple .btn { width: 100%; }
.bh-cal .cal-cell[data-paint="booking"] {
  background: transparent !important;
  cursor: cell;
}
.bh-cal.bh-cal-readonly .cal-cell[data-paint="booking"] { cursor: default; }
.cal-cell.is-booking-open,
.cal-cell.is-booking-open.is-on {
  background: transparent !important;
}
.bh-custom-max {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; border-top: 1px solid #f4f4f5;
}
.bh-custom-max input { width: 88px; height: 32px; border-radius: 8px; border: 1px solid #d4d4d8; padding: 0 8px; }
.bh-cal-tools {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 0 14px 6px; position: relative;
  min-height: 36px; overflow: visible; z-index: 50;
}
.col-cal.bh-cal { overflow: visible; }
.inbox-frame > .col-cal.bh-cal { overflow: visible; }
.bh-cal-hours {
  display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 6px;
  color: #52525b; font-size: 12.5px; white-space: nowrap;
}
.bh-cal-hours select {
  height: 28px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; padding: 0 8px;
  font: inherit; font-size: 12.5px; font-weight: 650;
}
.bh-tool-btn {
  height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff;
  font: inherit; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap; color: #0a0a0a; cursor: pointer;
}
.bh-tool-btn.on { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.bh-tool-btn svg { width: 13px; height: 13px; }
.cal-scroll-fit { overflow: hidden !important; }
.cal-scroll-fit .cal-grid { padding-bottom: 2px; box-sizing: content-box; }
.cal-scroll-more { overflow: auto; }
.bh-rules-wrap { position: relative; z-index: 55; }
.bh-rules-pop {
  position: absolute; top: calc(100% + 6px); bottom: auto; right: 0; z-index: 60; width: 360px; max-width: min(360px, 92vw);
  background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  padding: 14px; display: flex; flex-direction: column; gap: 12px;
}
.bh-rules-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bh-rules-head b { display: block; font-size: 14px; }
.bh-rule-row { display: flex; flex-direction: column; gap: 6px; }
.bh-rule-label { font-size: 13px; font-weight: 650; }
.bh-rule-opts { display: flex; flex-wrap: wrap; gap: 4px; }
.bh-rule-opt {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fafafa;
  font: inherit; font-size: 12px; font-weight: 600;
}
.bh-rule-opt.on { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.inbox-list-pane, .inbox-chat-pane {
  display: flex; flex-direction: column; min-height: 0; height: 100%;
  background: #fff;
}
.inbox-list-pane { flex: 1; min-width: 0; }
.col-stack.is-list .inbox-list-pane { flex: 1; }
.col-stack.is-thread {
  display: flex; flex-direction: row; align-items: stretch;
}
.col-stack .inbox-chat-pane {
  position: absolute; inset: 0; z-index: 2;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  border-right: 0;
}
.col-stack.show-detail:not(.is-thread) .inbox-chat-pane { transform: translateX(0); }
.col-stack.is-thread .inbox-chat-pane {
  position: relative; inset: auto; transform: none; flex: 1; min-width: 0;
  border-right: 0;
}
.loops-search {
  margin: 0 14px 10px; height: 40px; border: 1px solid #e4e4e7; border-radius: 12px;
  display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fafafa; color: #a1a1aa;
}
.loops-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: #0a0a0a; outline: none;
}
.loops-sec { padding-bottom: 8px; }
.loops-sec-h {
  width: 100%; display: flex; align-items: center; gap: 8px;
  border: 0; background: transparent; padding: 8px 14px 6px;
  font: inherit; font-size: 11px; font-weight: 750; letter-spacing: 0.05em;
  text-transform: uppercase; color: #a1a1aa; text-align: left; cursor: pointer;
}
.loops-sec-h.static { cursor: default; }
.loops-sec-h svg { margin-left: auto; width: 14px; height: 14px; }
.loops-sec-count {
  min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: #f4f4f5; color: #52525b; font-size: 11px; display: inline-grid; place-items: center;
}
.loops-row {
  width: 100%; display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent; padding: 10px 14px; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}
.loops-row:hover, .loops-row.on { background: #fafafa; }
.loops-row.is-new .name b { font-weight: 800; }
.loops-row-av { position: relative; flex: none; width: 40px; height: 40px; }
.loops-row-av .avatar, .loops-row-av .ph, .loops-row-av img {
  width: 40px; height: 40px; border-radius: 999px; object-fit: cover;
  display: grid; place-items: center; background: #e4e4e7; font-size: 12px; font-weight: 750;
}
.loops-dot {
  position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px;
  border-radius: 999px; border: 2px solid #fff;
}
.loops-row-body { flex: 1; min-width: 0; }
.loops-row .top { display: flex; align-items: baseline; gap: 8px; }
.loops-row .name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; flex: 1; }
.loops-row .name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.loops-pin-mark { display: inline-grid; place-items: center; color: #a1a1aa; }
.loops-pin-mark svg { width: 12px; height: 12px; }
.loops-row .time { color: #a1a1aa; font-size: 12px; flex: none; }
.loops-row .snip {
  display: block; margin-top: 2px; color: #71717a; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.loops-rail {
  width: 64px; flex: none; border-right: 1px solid #f4f4f5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 12px 0; overflow-x: hidden; overflow-y: auto; background: #fafafa;
}
.loops-rail-l {
  width: 40px; height: 40px; border-radius: 12px; border: 0; background: #0a0a0a; color: #fff; flex: none;
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: -0.06em; cursor: pointer;
}
.loops-rail-newloop {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid #e4e4e7; background: #fff; color: #0a0a0a;
  display: grid; place-items: center; flex: none; cursor: pointer; padding: 0;
}
.loops-rail-newloop:hover { border-color: #0a0a0a; }
.loops-rail-gap { height: 4px; flex: none; }
.loops-rail-sep { width: 28px; height: 1px; background: #d4d4d8; margin: 2px 0; flex: none; }
.loops-rail-av {
  position: relative; width: 40px; height: 40px; border-radius: 999px; border: 0; flex: none;
  padding: 0; background: #e4e4e7; color: #0a0a0a; font: inherit; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; overflow: visible; cursor: pointer;
}
.loops-rail-face { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; display: grid; place-items: center; }
.loops-rail-face img { width: 100%; height: 100%; object-fit: cover; }
.loops-rail-av.on { box-shadow: 0 0 0 2px #fafafa, 0 0 0 4px #0a0a0a; }
.loops-rail-av i {
  position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px;
  border-radius: 999px; border: 2px solid #fafafa; z-index: 2;
}
.loops-rail-new {
  position: relative; width: 64px; flex: none; display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding-bottom: 2px;
}
.loops-rail-curve {
  position: absolute; left: 0; top: 9px; height: 21px; width: 12px; box-sizing: border-box;
  border-top: 2px solid; border-left: 2px solid; border-top-left-radius: 10px; display: block;
}
.loops-rail-new-btn {
  position: relative; width: 40px; height: 20px; padding: 0; border-radius: 999px; border: 0;
  background: #0a0a0a; color: #fff; font: inherit; font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.loops-rail-count {
  position: absolute; top: -15px; right: -11px; min-width: 20px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; background: #fff; border: 1.5px solid #0a0a0a; color: #0a0a0a;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0; display: grid; place-items: center; z-index: 2;
}
.loops-rail-count i {
  position: absolute; bottom: -4px; left: 4px; width: 6px; height: 6px; background: #fff;
  border-right: 1.5px solid #0a0a0a; border-bottom: 1.5px solid #0a0a0a; transform: rotate(45deg); display: block;
}
.loops-rail-new-item { position: relative; width: 64px; display: flex; justify-content: center; flex: none; }
.loops-rail-edge { position: absolute; left: 0; top: -8px; bottom: 0; width: 2px; display: block; }
.col-chat .inbox-chat-pane { flex: 1; min-height: 0; }
.inbox-title-row, .inbox-manage-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 14px 10px; min-height: 52px;
}
.inbox-title-wrap { position: relative; }
.inbox-title {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: transparent; padding: 0;
  font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
}
.inbox-chev {
  display: inline-grid; place-items: center; opacity: 0; transition: opacity 0.15s ease;
  color: var(--faint);
}
.inbox-title-wrap:hover .inbox-chev, .inbox-title:focus-visible .inbox-chev { opacity: 1; }
.inbox-title-actions, .inbox-bulk { display: inline-flex; align-items: center; gap: 2px; }
.col-pad-seg { margin: 0 14px 8px; }
.menu-wrap { position: relative; display: inline-flex; }
.drop-menu {
  position: absolute; z-index: 50; top: calc(100% + 4px); right: 0;
  min-width: 180px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.inbox-title-wrap .drop-menu { left: 0; right: auto; }
.drop-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  border-radius: 8px; padding: 8px 10px; font-size: 13.5px; color: var(--ink);
}
.drop-item:hover, .drop-item.on { background: var(--wash); }
.split-btn {
  position: relative; display: inline-flex; align-items: stretch;
  border-radius: 999px; overflow: visible; background: var(--ink);
}
.split-btn > .btn.slim {
  border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important;
  margin: 0; box-shadow: none;
}
.split-chev {
  width: 34px; min-width: 34px; padding: 0 !important;
  border-radius: 0 999px 999px 0 !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,0.22) !important;
  margin: 0 !important;
  background: var(--ink) !important; color: #fff !important;
}
.split-chev:hover { filter: brightness(1.08); }
.split-btn .drop-menu {
  left: 0; right: auto;
  top: auto; bottom: calc(100% + 6px);
}
.cal-cell.is-book {
  background: #52525b !important;
  outline: 0;
  z-index: 4; position: relative;
}
.cal-cell.is-book.is-on,
.cal-cell.is-book.is-mine,
.cal-cell.is-book.is-theirs,
.cal-cell.is-book.is-match {
  background: #3f3f46 !important;
}
.meeting-bar {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--wash);
  position: sticky; top: 0; z-index: 3;
}
.meeting-bar .mb-main { min-width: 0; }
.meeting-bar .mb-when { font-weight: 750; font-size: 14px; }
.meeting-bar .mb-meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.loop-pin { flex-wrap: wrap; }
.loop-pin-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  flex: none; padding: 0; margin: 0;
}
.chat-pin {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid #e4e4e7; background: #fff;
  border-left: 0; border-right: 0;
}
.chat-pin.is-request { box-shadow: inset 0 0 0 2px #0a0a0a; }
.chat-pin-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-pin-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 750; color: #52525b;
}
.chat-pin-kicker svg { width: 14px; height: 14px; }
.chat-via {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 650; color: #52525b;
}
.chat-via i {
  width: 8px; height: 8px; border-radius: 999px; background: var(--via, #0a0a0a); flex: none;
}
.chat-pin-when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.chat-pin-when b { font-size: 14px; letter-spacing: -0.02em; }
.chat-pin-when span { color: #71717a; font-size: 13px; }
.chat-pin-note {
  margin: 0; color: #3f3f46; font-size: 13px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chat-pin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-pin-btn.on { background: #0a0a0a; color: #fff; border-radius: 999px; }
.chat-sys {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; color: #71717a; font-size: 12.5px; text-align: center;
}
.chat-sys i { width: 6px; height: 6px; border-radius: 999px; background: var(--via, #a1a1aa); flex: none; }
.msg-day {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px 6px;
  color: #a1a1aa; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.msg-day span { flex: 1; height: 1px; background: #f4f4f5; }
.chat-msg.cont .msg-av { visibility: hidden; }
.chat-msg .msg-av { width: 32px; flex: none; }
.chat-msg .msg-av .avatar, .chat-msg .msg-av .ph, .chat-msg .msg-av img {
  width: 32px; height: 32px; border-radius: 999px; object-fit: cover;
  display: grid; place-items: center; background: #e4e4e7; font-size: 10px; font-weight: 750;
}
.msg-link-card {
  display: block; margin-top: 8px; padding: 10px 12px; border: 1px solid #e4e4e7; border-radius: 12px;
  text-decoration: none; color: inherit; background: #fafafa;
}
.msg-link-domain { display: block; color: #a1a1aa; font-size: 11px; margin-bottom: 2px; }
.msg-link-card b { font-size: 13px; font-weight: 700; }
.chat-composer { flex-direction: column; align-items: stretch; gap: 8px; }
.chat-composer textarea { width: 100%; min-height: 56px; resize: none; }
.composer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.composer-tools .send { margin-left: auto; }
.loop-people {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 8px;
}
.loop-person {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 650; color: var(--ink);
}
.loop-person .avatar,
.loop-person .ph {
  width: 22px; height: 22px; border-radius: 999px;
}
.loop-people-sep { color: var(--faint); font-weight: 600; }
.loop-call-link {
  margin-top: 8px; min-width: 0;
  display: flex; align-items: center; gap: 4px;
}
.loop-call-path {
  display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 0; background: transparent; padding: 0;
  font: inherit; font-size: 12.5px; color: var(--ink);
  text-align: left; cursor: pointer; flex: 1; min-width: 0;
}
.loop-call-path:hover { text-decoration: underline; }
.loop-call-copy { flex: none; width: 28px; height: 28px; }
.loop-pin-actions .menu-wrap { position: relative; }
.loop-pin .mb-when { font-size: 14px; font-weight: 750; }
.loop-pin .mb-meta { font-size: 13px; }
.pending-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 650; color: var(--muted);
}
.cal-popover {
  position: fixed;
  z-index: 60;
  width: min(320px, calc(100vw - 24px));
  transform: translate(-50%, calc(-100% - 10px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  padding: 14px 16px 16px;
}
.cal-popover-close {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
}
.cal-popover-close:hover { background: var(--wash); color: var(--ink); }
.cal-popover-title {
  font-weight: 750; font-size: 15px; padding-right: 28px; line-height: 1.3;
}
.cal-popover-when {
  color: var(--muted); font-size: 13px; margin-top: 4px;
}
.cal-popover .loop-people { margin-top: 12px; }
.cal-popover .act-row { flex-wrap: wrap; gap: 8px; padding: 10px 0 0; }
.req-card {
  margin: 8px 16px 12px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 14px; background: #fff;
}
.req-card .req-title { font-weight: 750; font-size: 14px; }
.req-card .req-when { font-size: 13.5px; margin-top: 2px; }
.req-card .req-meta { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.sys-msg {
  text-align: center; color: var(--faint); font-size: 12.5px;
  padding: 8px 16px; margin: 4px 0;
}
.sys-msg b { color: var(--muted); font-weight: 650; }
.thread-check {
  width: 36px; height: 36px; border-radius: 999px; flex: none;
  border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center;
}
.thread-check.on {
  background: var(--ink); border-color: var(--ink);
  box-shadow: inset 0 0 0 2px #fff;
}
.thread-check.on::after {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: #fff;
}
.thread-hover {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: none; align-items: center; gap: 2px; flex: none;
  background: inherit; padding-left: 6px;
}
.thread:hover .time, .thread:focus-within .time { visibility: hidden; }
.thread:hover .thread-hover, .thread:focus-within .thread-hover { display: inline-flex; }
.thread:hover .unread, .thread:focus-within .unread { visibility: hidden; }
.col-pad { padding: 18px 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.col-list h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.thread-scroll, .msg-scroll { flex: 1; overflow: auto; min-height: 0; }
.msg-scroll { display: flex; flex-direction: column; }
.msg-stack { margin-top: auto; display: flex; flex-direction: column; }
.thread {
  width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left;
  padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line-soft); background: #fff; position: relative;
  overflow: hidden; cursor: pointer;
}
.thread.on { background: var(--line-soft); }
.thread .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; min-height: 18px; }
.thread .name { font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 4px; }
.thread .time, .thread .status { color: var(--faint); font-size: 12px; }
.thread .time { flex: none; min-width: 52px; text-align: right; }
.thread .status, .thread .snip { display: block; }
.thread .snip { color: #3f3f46; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.unread {
  width: 8px; height: 8px; border-radius: 999px; background: var(--ink); position: absolute; right: 12px; top: 50%;
}
.ignored-note {
  display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; color: var(--faint); font-size: 12.5px;
}
.empty-pane { flex: 1; display: grid; place-items: center; color: var(--faint); padding: 24px; text-align: center; }
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.discover-card {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; min-height: 168px; height: 100%;
  padding: 14px; text-align: left; color: var(--ink); cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-sizing: border-box;
}
.discover-card:hover { border-color: #a1a1aa; }
.disc-card-main {
  display: flex; gap: 12px; align-items: stretch;
  min-height: 84px;
}
.discover-card img.disc-photo,
.discover-card .disc-photo {
  width: 84px; height: 84px; border-radius: 16px; object-fit: cover; flex: none;
}
.disc-card-info {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start;
  gap: 3px; min-height: 0;
}
.disc-card-info h3 {
  margin: 0; font-size: 16px; font-weight: 750; letter-spacing: -0.02em;
  line-height: 1.2;
}
.disc-headline {
  color: var(--muted); font-size: 13px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-time {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650; color: var(--ink); margin-top: 1px;
}
.disc-time svg { width: 14px; height: 14px; flex: none; }
.disc-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  max-height: 52px; overflow: hidden;
  margin: 0 -2px;
}
.disc-tag {
  display: inline-flex; align-items: center;
  height: 22px; padding: 0 9px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--wash);
  color: var(--muted); font-size: 11.5px; font-weight: 550; white-space: nowrap;
}
.disc-tag.is-match {
  background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700;
}

.chat-head, .appt { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.chat-head { display: flex; align-items: center; gap: 12px; }
.chat-head .grow { flex: 1; min-width: 0; }
.chat-head strong { display: block; font-size: 15px; }
.appt { display: flex; gap: 12px; align-items: center; background: var(--wash); }
.appt-date { width: 48px; text-align: center; }
.appt-date b { display: block; font-size: 18px; letter-spacing: -0.03em; }
.appt-date span { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.note-pill { margin-left: auto; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
.act-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.wait { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; color: var(--muted); }
.declined-note { padding: 12px 16px; color: var(--muted); font-size: 13.5px; }
.msg { display: flex; gap: 10px; padding: 10px 16px; }
.msg .body { flex: 1; min-width: 0; }
.msg .meta { display: flex; gap: 8px; align-items: baseline; }
.msg .meta b { font-size: 13px; }
.msg .meta span { color: var(--faint); font-size: 12px; }
.msg p { margin: 2px 0 0; font-size: 14px; color: #18181b; }
.composer { border-top: 1px solid var(--line-soft); padding: 12px; display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { flex: 1; }
.send {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}

.cal-bar, .legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; }
.bh-cal .legend, .col-cal .legend { padding: 0 14px 8px; min-height: 28px; align-items: center; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav strong { font-size: 15px; font-weight: 750; margin-left: 6px; }
.legend { padding-top: 0; color: var(--faint); font-size: 12px; gap: 14px; justify-content: flex-start; }
.zone-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.col-cal .zone-line, .block .zone-line { margin: 0; padding: 0 14px 10px; }
.work-hours { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.work-hours select {
  width: auto; height: 32px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 650;
}
.zone-pick { position: relative; }
.zone-btn {
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: 13px;
}
.zone-menu {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0;
  width: min(280px, 70vw); max-height: 280px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12); padding: 6px;
}
.zone-opt {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  border-radius: 10px; padding: 8px 10px; font-size: 13.5px;
}
.zone-opt.on, .zone-opt:hover { background: var(--wash); }
.legend .cal-switch { width: auto; margin-left: auto; padding: 0; }
.legend .cal-switch b { font-size: 12px; font-weight: 650; }
.swatch { display: inline-flex; align-items: center; gap: 6px; }
.dotc { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dotc.conf { background: var(--ink); }
.dotc.pend { background: #fff; border: 1.5px dashed var(--ink); }
.dotc.open { background: #d4d4d8; }
.sheet-cal-legend .dotc.open { background: rgba(24, 24, 27, 0.04); border: 1px solid #e4e4e7; }
.sheet-cal-legend .dotc.conf { background: #e4e4e7; }
.dotc.once { background: repeating-linear-gradient(-45deg, #d4d4d8, #d4d4d8 2px, #fff 2px, #fff 4px); }
.dotc.busy { background: repeating-linear-gradient(-45deg, #e4e4e7, #e4e4e7 2px, #fafafa 2px, #fafafa 4px); }
.cal-scroll { overflow: auto; flex: 1; min-height: 0; }
.cal-grid { display: flex; min-width: 720px; position: relative; }
.hours { width: 56px; flex: none; }
.hours div { height: var(--row-h, 12px); font-size: 11px; color: var(--faint); text-align: right; padding-right: 8px; transform: translateY(-6px); }
.daycol { flex: 1; position: relative; border-left: 1px solid #eee; }
.daycol .cells { position: relative; z-index: 3; }
.cal-cell {
  display: block; width: 100%; height: var(--row-h, 12px); padding: 0; margin: 0; border: 0;
  border-top: 1px solid #f7f7f8; background: #fff; cursor: pointer;
}
/* All booking-link open hours on Loops — extremely light gray */
.cal-cell.is-on { background: rgba(24, 24, 27, 0.04); }
/* Peer overlay: your open = whisper wash; overlap only = one step darker (no peer-only fill) */
.cal-cell.is-mine { background: rgba(24, 24, 27, 0.04); }
.cal-cell.is-theirs { background: transparent; }
/* Overlap cells go see-through (no grid lines) so the solid .cal-match-box beneath shows */
.cal-cell.is-match {
  background: transparent;
  border-top-color: transparent !important;
  box-shadow: none;
}
/* Overlap with the person you're viewing: one solid block, a step darker than open hours */
.cal-match-box {
  position: absolute; left: 0; right: 0; z-index: 2;
  background: #e4e4e7;
  border-radius: 4px;
  pointer-events: none;
}
.cal-cell.is-mine.is-once {
  background: repeating-linear-gradient(-45deg, rgba(24,24,27,0.05), rgba(24,24,27,0.05) 4px, #fff 4px, #fff 8px);
}
.cal-cell[disabled] { cursor: default; opacity: 0.95; }
.cal-editing .cal-cell.is-on.is-once { background: repeating-linear-gradient(-45deg, #d4d4d8, #d4d4d8 4px, #ececee 4px, #ececee 8px); }
.cal-editing .cal-cell { cursor: cell; }
.cal-editing .cal-cell.is-on { background: #d4d4d8; }
.sheet.sheet-wide,
.sheet.sheet-cal {
  width: min(1100px, calc(100vw - 24px));
  max-width: 1100px;
  padding: 12px 14px 14px;
}
.sheet.sheet-cal {
  display: flex; flex-direction: column;
  max-height: calc(100vh - 24px);
  height: min(920px, calc(100vh - 24px));
}
.sheet-bar-right { display: inline-flex; align-items: center; gap: 8px; }
.sheet-bar-spacer { width: 36px; height: 36px; flex: none; }
.sheet-cal-wrap { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; }
.sheet-cal-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 4px; flex-wrap: wrap;
}
.sheet-cal-nav-left,
.sheet-cal-nav-right { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sheet-cal-nav strong { font-size: 15px; font-weight: 750; margin-left: 2px; }
.dur-pick {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff;
}
.dur-opt {
  border: 0; background: transparent; border-radius: 999px;
  height: 28px; padding: 0 10px; font-size: 12.5px; font-weight: 650; color: var(--muted);
  cursor: pointer;
}
.dur-opt.on { background: var(--ink); color: #fff; }
.sheet-cal-legend { padding: 0 4px; }
.sheet-cal-scroll {
  flex: 1 1 auto;
  max-height: none;
  min-height: 0;
  height: auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.avail-edit-wrap { gap: 10px; }
.avail-edit-side {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 180px; overflow: auto;
}
.avail-edit-wrap .grid-card { max-height: min(58vh, 520px); overflow: auto; }
/* Kept for request sheets only; loops peer overlay uses cell fills (no boxed double-gray) */
.match-range {
  position: absolute; left: 2px; right: 2px; z-index: 1;
  border: 1.5px solid rgba(10, 10, 10, 0.18); border-radius: 6px;
  background: transparent;
  pointer-events: none;
  box-sizing: border-box;
}
.block-ev.conf.past {
  background: #a1a1aa;
  color: #fff;
  border: 1px solid #71717a;
  background-image: none;
}
.block-ev, .block-busy {
  position: absolute; left: 3px; right: 3px; z-index: 4;
  border-radius: 8px; padding: 4px 7px; text-align: left; overflow: hidden;
  display: flex; flex-direction: column; font-size: 11px; line-height: 1.3;
}
.block-ev { background: #fff; color: var(--ink); border: 1.5px dashed var(--ink); box-shadow: 0 1px 2px rgba(10,10,10,0.08); }
.block-ev.pend {
  background: repeating-linear-gradient(-45deg, #f4f4f5, #f4f4f5 3px, #e4e4e7 3px, #e4e4e7 6px);
  border: 1.5px dashed #71717a;
}
.block-ev.conf { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.block-ev.conf.via-circle,
.block-ev.conf.via-tint { background: var(--ev-via, var(--ink)); border-color: var(--ev-via, var(--ink)); }
.block-ev.pend.via-circle,
.block-ev.pend.via-tint {
  border-color: var(--ev-via, #71717a);
  background: #fff;
}
.block-ev.hi { z-index: 6; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a0a0a, 0 8px 18px rgba(10,10,10,0.2); }
.block-ev.hi.via-circle,
.block-ev.hi.via-tint { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ev-via, #0a0a0a), 0 8px 18px rgba(10,10,10,0.2); }
.cal-editing .block-ev, .cal-editing .block-busy { pointer-events: none; opacity: 0.45; }
/* Linked-calendar events look like any other event, in that calendar's chosen color */
.block-busy {
  z-index: 2; background: var(--ev-via, #64748b); color: #fff;
  border: 1px solid var(--ev-via, #64748b); font-weight: 650;
}
.block-busy span { color: #fff; opacity: 1; }
.now {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); z-index: 5; pointer-events: none;
}
.now i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 999px; background: var(--ink); display: block; }

.contacts { width: min(880px, 100%); }
.search {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; height: 42px;
}
.search input { border: 0; height: 40px; padding: 0; box-shadow: none; }
.search input:focus { box-shadow: none; }
.contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.contact { padding: 12px 14px; }
.contact .grow { flex: 1; min-width: 0; }
.loops { color: var(--faint); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.contact .actions { display: flex; gap: 8px; }

.profile { width: min(760px, 100%); display: flex; flex-direction: column; gap: 16px; }
.panel { padding: 18px 18px 8px; }
.panel h2 { font-size: 16px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.idline { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.idline strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.about-text { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; }
.about-text .head { font-weight: 700; }
.about-text .bio { color: #3f3f46; }

.toast {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 90; max-width: min(520px, calc(100% - 24px));
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow);
}

.room { min-height: calc(100vh - 46px); background: #0a0a0a; color: #fafafa; display: flex; flex-direction: column; }
.room-top, .room-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 20px; }
.room-title { font-weight: 750; letter-spacing: -0.02em; }
.room-brand { gap: 12px; min-width: 0; }
.room-top-actions { display: flex; align-items: center; gap: 8px; }
.room-top .sub2 { color: #a1a1aa; font-size: 12.5px; }
.elapsed, .people-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: #18181b; border: 1px solid #27272a; color: #fafafa; font-size: 12.5px;
}
.elapsed b { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 500; }
.live { width: 7px; height: 7px; border-radius: 999px; background: #fafafa; flex: none; }
.live.live-on { background: #f43f5e; }
.room-mid { flex: 1; min-height: 0; display: flex; flex-wrap: wrap; gap: 12px; padding: 0 16px 8px; }
.room-stage { flex: 999 1 640px; min-width: 0; min-height: 360px; position: relative; border-radius: 22px; overflow: hidden; background: #09090b; border: 1px solid #27272a; }
.view-toggle {
  width: 32px; height: 32px; padding: 0; border-radius: 999px;
  display: grid; place-items: center;
  background: #18181b; border: 1px solid #27272a; color: #fafafa;
}
.view-toggle.on { background: #27272a; }
.view-seg {
  display: flex; gap: 2px; padding: 3px; background: #18181b; border: 1px solid #27272a; border-radius: 999px;
}
.view-seg button {
  height: 28px; padding: 0 12px; border-radius: 999px; border: 0;
  background: transparent; color: #a1a1aa; font: inherit; font-size: 12px; font-weight: 650;
}
.view-seg button.on { background: #fafafa; color: #0a0a0a; }
.call-tile {
  position: relative; overflow: hidden; min-width: 0; min-height: 0;
  background: #18181b; color: #fafafa;
}
button.call-tile {
  display: block; width: auto; padding: 0; border: 0; font: inherit; text-align: left; cursor: pointer;
}
.call-tile > img, .call-tile > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #09090b;
}
.call-tile > video.mirror { transform: scaleX(-1); }
.call-tile > video.blurred { filter: blur(8px); transform: scale(1.08); }
.call-tile > video.mirror.blurred { transform: scaleX(-1) scale(1.08); }
.layout-speaker > .is-main { position: absolute; inset: 0; }
.layout-speaker > .pip {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  aspect-ratio: 16 / 10; border-radius: 14px;
  border: 1px solid #3f3f46; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.pip-small > .pip, .pip-flipped > .pip { width: min(200px, 28%); }
.pip-medium > .pip { width: min(340px, 42%); }
.layout-split, .layout-grid {
  display: grid; gap: 8px; padding: 8px; height: 100%; min-height: 460px;
}
.layout-grid.callers-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.layout-split, .layout-grid.callers-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.layout-grid.callers-3, .layout-grid.callers-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.layout-grid.callers-3 > .call-tile:last-child { grid-column: 1 / -1; width: 50%; justify-self: center; }
.layout-grid.callers-many { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); grid-auto-rows: minmax(160px, 1fr); }
.layout-split > .call-tile, .layout-grid > .call-tile { border-radius: 16px; min-height: 160px; }
.layout-share { display: flex; gap: 8px; padding: 8px; height: 100%; min-height: 460px; }
.share-main { position: relative; flex: 1; min-width: 0; border-radius: 16px; overflow: hidden; background: #000; }
.share-main video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.share-rail { width: 180px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.share-rail .call-tile { flex: 1 1 0; border-radius: 12px; min-height: 0; }
.cam-off-face {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; background: #18181b;
}
.room-avatar {
  width: 96px; height: 96px; border-radius: 999px; object-fit: cover; object-position: center 18%; background: #111;
  display: grid; place-items: center; font-size: 28px; font-weight: 750;
  background: #3f3f46; color: #fafafa; border: 0;
}
.media-hint { color: #a1a1aa; font-size: 12px; }
.media-note {
  position: absolute; left: 10px; right: 10px; bottom: 40px; margin: 0;
  color: #e4e4e7; font-size: 12px; text-align: center; line-height: 1.35;
}
.share-stop {
  position: absolute; left: 16px; bottom: 16px; height: 36px; padding: 0 14px;
  border-radius: 999px; border: 0; background: #fafafa; color: #0a0a0a; font-weight: 650;
}
.tile figcaption, .name-tag {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(10,10,10,0.72); font-size: 12.5px; font-weight: 650;
}
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars[hidden] { display: none; }
.bars i { width: 3px; background: #fafafa; display: block; border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.bars i:nth-child(1) { height: 5px; animation-delay: 0s; }
.bars i:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 7px; animation-delay: 0.3s; }
@keyframes eq { 50% { transform: scaleY(0.45); } }
.mirror { transform: scaleX(-1); }
.blurred { filter: blur(10px); transform: scale(1.08); }
.ended {
  position: absolute; inset: 0; background: rgba(10,10,10,0.78); display: grid; place-items: center; z-index: 4; border-radius: 18px;
}
.ended .card { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ended h2 { font-size: 26px; letter-spacing: -0.03em; }
.panel-side {
  flex: 1 1 340px; max-width: 380px; min-width: 0; background: #18181b; border: 1px solid #27272a; border-radius: 22px;
  display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}
.panel-side header { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px; font-weight: 700; }
.panel-side header button { background: transparent; border: 0; color: #fafafa; }
.room-panel-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.room-msgs { flex: 1; overflow: auto; padding: 8px 16px; display: flex; flex-direction: column; gap: 12px; }
.room-msgs .note { color: #a1a1aa; font-size: 12px; }
.room-msgs b { font-size: 12.5px; }
.room-msgs span { color: #71717a; font-size: 11px; margin-left: 6px; }
.room-msgs p { margin: 2px 0 0; font-size: 13.5px; }
.room-compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #27272a; }
.room-compose input { flex: 1; min-width: 0; background: #09090b; border: 1px solid #27272a; color: #fafafa; border-radius: 999px; height: 40px; padding: 0 14px; font: inherit; font-size: 13.5px; outline: none; }
.room-compose button, .ctrl {
  width: 40px; height: 40px; border-radius: 999px; border: 0; display: grid; place-items: center; background: #27272a; color: #fafafa; flex: none;
}
.people-list, .settings { padding: 4px 16px 16px; overflow: auto; }
.people-count { display: block; color: #a1a1aa; font-size: 12px; margin-bottom: 10px; }
.person-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 0; border: 0; background: transparent; color: #fafafa; text-align: left; cursor: pointer; }
.person-row .grow { flex: 1; min-width: 0; }
.person-row .meta { color: #a1a1aa; font-size: 12px; }
.person-row small { color: #a1a1aa; }
.room-people-back { margin: 0 0 12px; color: #a1a1aa; }
.room-people-profile { padding: 12px 16px; gap: 12px; }
.room-storefront {
  flex: 1; min-height: 0; overflow: auto; padding: 14px 16px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.room-store-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 8px 0 4px;
}
.room-store-hero .avatar-lg, .room-store-hero .ph.lg {
  width: 76px; height: 76px; border-radius: 999px; font-size: 22px;
}
.room-store-hero b { font-size: 18px; letter-spacing: -0.02em; color: #fafafa; }
.room-store-hero .meta { color: #a1a1aa; font-size: 13px; line-height: 1.4; }
.room-store-block { display: flex; flex-direction: column; gap: 6px; }
.room-store-block .k {
  font-size: 11px; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: #71717a;
}
.room-store-block p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #e4e4e7; }
.room-store-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.room-store-tags .pill {
  height: 24px; padding: 0 9px; border-radius: 999px; background: #27272a; color: #e4e4e7;
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center;
}
.room-store-times { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #d4d4d8; }
.room-store-times b { color: #fafafa; margin-right: 6px; }
.room-panel-body:has(.room-storefront) { overflow: hidden; }
.settings label { display: block; font-size: 12px; color: #a1a1aa; margin: 10px 0 4px; }
.settings select { background: #09090b; color: #fafafa; border-color: #27272a; }
.set-row {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border: 0; border-bottom: 1px solid #27272a; background: transparent; color: #fafafa; text-align: left;
}
.set-row small { color: #a1a1aa; font-weight: 500; }
.room-bar { padding: 10px 20px 20px; gap: 12px; }
.room-bar-left, .room-bar-right { flex: 1 1 160px; min-width: 0; }
.room-bar-right { display: flex; justify-content: flex-end; }
.room-bar-spacer { display: block; min-height: 1px; }
.room-controls { display: flex; align-items: center; justify-content: center; gap: 8px; flex: none; }
.ctrl.lg { width: 52px; height: 52px; }
.ctrl.off { background: #fafafa; color: #0a0a0a; }
.ctrl.hot { background: #3f3f46; }
.vdiv { width: 1px; height: 28px; background: #27272a; margin: 0 4px; }
.leave {
  height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: #e11d48; color: #fff;
  font-size: 14.5px; font-weight: 750; display: inline-flex; align-items: center; gap: 8px;
}
.clock-side { color: #71717a; font-size: 12.5px; min-width: 120px; }

/* Pre-Loop lobby — New Claude Designs */
.preloop {
  min-height: calc(100vh - 46px); display: flex; flex-direction: column;
  background: #0a0a0a; color: #fafafa; font-size: 14px; line-height: 1.5;
}
.preloop-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
}
.preloop .brand { color: #fafafa; }
.preloop .mark.sm {
  width: 28px; height: 28px; border-radius: 8px; background: #fafafa; color: #0a0a0a;
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.preloop .me-btn { border: 0; background: transparent; padding: 0; border-radius: 999px; }
.preloop .me-btn .avatar, .preloop .me-btn .ph { width: 32px; height: 32px; border-radius: 999px; }
.preloop-auth { display: inline-flex; align-items: center; gap: 8px; color: #a1a1aa; font-size: 13px; flex-wrap: wrap; justify-content: flex-end; }
.preloop-auth .btn.slim { height: 32px; padding: 0 12px; border-radius: 999px; background: #fafafa; color: #0a0a0a; border: 0; font-weight: 650; }
.preloop-auth .btn.ghost.slim { background: transparent; color: #fafafa; border: 1px solid #3f3f46; }
.preloop-grid {
  flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; box-sizing: border-box;
  padding: 24px 20px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
}
.preloop-preview { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.preloop-video-wrap {
  position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  background: #18181b; border: 1px solid #27272a;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.preloop-video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.preloop-video-wrap .cam-off-face { position: static; inset: auto; width: 100%; height: 100%; }
.preloop-speak-badge {
  position: absolute; left: 12px; bottom: 12px; height: 28px; padding: 0 10px; border-radius: 999px;
  background: rgba(10,10,10,0.72); display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650;
}
.preloop-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.preloop-device-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: #18181b; border: 1px solid #27272a; color: #d4d4d8; font-size: 12.5px; position: relative;
}
.preloop-device-pill select {
  border: 0; background: transparent; color: inherit; font: inherit; outline: none; max-width: 180px;
}
.preloop-side {
  flex: 1 1 340px; min-width: 0; max-width: 420px;
  display: flex; flex-direction: column; gap: 18px;
}
.preloop-presence {
  display: inline-flex; align-items: center; gap: 8px;
  color: #a1a1aa; font-size: 12.5px; font-weight: 650; margin: 0;
}
.presence-dot {
  width: 7px; height: 7px; border-radius: 999px; background: #22c55e; flex: none;
}
.presence-dot.empty { background: transparent; border: 1.5px solid #fafafa; box-sizing: border-box; }
.preloop-title { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; }
.preloop-when { color: #a1a1aa; margin: 0; font-size: 14px; }
.preloop-people {
  display: flex; align-items: center; gap: 12px; width: 100%;
  border: 1px solid #27272a; background: #18181b; border-radius: 18px;
  padding: 14px; text-align: left; cursor: pointer; color: #fafafa;
}
.preloop-people-names { font-size: 15px; font-weight: 650; min-width: 0; }
.face-stack { display: inline-flex; align-items: center; flex: none; }
.stack-face {
  width: 40px; height: 40px; border-radius: 999px; object-fit: cover;
  border: 2px solid #18181b; margin-left: -10px; background: #3f3f46; color: #fafafa;
  display: inline-grid; place-items: center; font-size: 13px; font-weight: 750;
}
.stack-face:first-child { margin-left: 0; }
.stack-face.more { font-size: 11px; background: #27272a; color: #fff; }
.preloop-guest-field { display: flex; flex-direction: column; gap: 6px; }
.preloop-guest-field label { font-size: 13px; font-weight: 650; }
.preloop-guest-field input {
  height: 50px; box-sizing: border-box; border: 1px solid #3f3f46; border-radius: 14px;
  padding: 0 16px; background: #09090b; color: #fafafa; font: inherit; font-size: 15px; outline: none;
}
.preloop-join {
  height: 54px; border-radius: 999px; border: 0; background: #fafafa; color: #0a0a0a;
  font: inherit; font-size: 16px; font-weight: 750;
}
.preloop-guest-notes {
  margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px;
  color: #a1a1aa; font-size: 12.5px;
}
.preloop-guest-notes li { display: flex; gap: 8px; align-items: flex-start; }
.preloop-guest-notes svg { flex: none; margin-top: 2px; }
.preloop-media-err { color: #fb7185; font-size: 12.5px; margin: 0; }
.preloop-people-list { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 8px; }
.preloop-person-card {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px;
  border: 1px solid #27272a; border-radius: 14px; background: #09090b; color: #fafafa; text-align: left; cursor: pointer;
}
.preloop-person-card .meta { display: block; color: #a1a1aa; font-size: 13px; }

/* Call room chrome */
.call-room .room-purpose {
  display: block; font-weight: 750; font-size: 15px; letter-spacing: -0.02em; margin-left: 0; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.call-room .mark.sm {
  width: 30px; height: 30px; border-radius: 9px; background: #fafafa; color: #0a0a0a;
  display: grid; place-items: center; font-size: 16px; font-weight: 800; letter-spacing: -0.06em; flex: none;
}
.room-error {
  margin: 0 16px 8px; padding: 10px 12px; border-radius: 10px;
  background: #2a1215; color: #ff8a80; font-size: 12.5px; white-space: pre-wrap;
}
.room-side { max-width: 380px; }
.room-tabs {
  display: flex; gap: 2px; margin: 12px; padding: 3px; background: #09090b; border-radius: 999px;
}
.room-tab {
  flex: 1; height: 32px; border: 0; border-radius: 999px; background: transparent;
  color: #a1a1aa; font-weight: 650; font-size: 12.5px;
}
.room-tab.on { background: #3f3f46; color: #fafafa; }
.notes-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 16px 8px;
}
.notes-toolbar button {
  height: 28px; min-width: 28px; padding: 0 8px; border-radius: 8px;
  border: 1px solid #3f3f46; background: #09090b; color: #fafafa; font-size: 12px;
}
.room-notes {
  flex: 1; min-height: 180px; margin: 0 16px 16px; padding: 12px 14px;
  border-radius: 14px; background: #09090b; border: 1px solid #3f3f46;
  color: #fafafa; outline: none; overflow: auto; line-height: 1.55; font-size: 14px;
}
.room-notes ul.note-disc { list-style: disc; padding-left: 1.25em; }
.room-notes ul.note-dash { list-style: none; padding-left: 1.1em; }
.room-notes ul.note-dash li::before { content: "\2013  "; }
.room-notes ol.note-decimal { list-style: decimal; padding-left: 1.25em; }
.room-notes ol.note-alpha { list-style: lower-alpha; padding-left: 1.25em; }
.room-chat-head {
  display: flex; align-items: center; gap: 10px; padding: 4px 16px 12px;
  border-bottom: 1px solid #27272a;
}
.room-chat-head .avatar { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.room-chat-head .meta { color: #a1a1aa; font-size: 12.5px; }
.room-msg { padding: 0; }
.room-msg.sys { color: #a1a1aa; font-size: 12.5px; text-align: center; }
.guest-badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 1px 6px; border-radius: 999px;
  background: #3f3f46; color: #e4e4e7; margin-left: 4px;
}
.avatar-wrap { display: inline-flex; border-radius: 999px; padding: 2px; }
.avatar-wrap.contact-ring { box-shadow: 0 0 0 2px #fff; }
.avatar-wrap.guest-ring { box-shadow: 0 0 0 2px rgba(161,161,170,0.35); }
.room-side-foot { margin-top: auto; padding: 10px; border-top: 1px solid #27272a; }
.next-loop {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  border: 1px solid #27272a; background: #18181b; color: #e4e4e7; border-radius: 999px;
  padding: 6px 12px 6px 8px; text-align: left; cursor: pointer; font-size: 12.5px;
}
.next-loop .avatar, .next-loop .ph { width: 28px; height: 28px; border-radius: 999px; flex: none; }
.next-loop .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next-k { font-size: 11px; font-weight: 750; color: #a1a1aa; text-transform: uppercase; flex: none; }
/* Post-call Blind Handshake (dark, from loop-flow design) */
.hs-dark {
  background: #0a0a0a; color: #fafafa; min-height: 100vh;
  display: flex; flex-direction: column; font-size: 14px; line-height: 1.5;
}
.hs-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; flex: none;
}
.hs-top-meta { display: flex; flex-direction: column; line-height: 1.3; }
.hs-top-meta b { font-weight: 750; letter-spacing: -0.02em; }
.hs-top-meta span { color: #a1a1aa; font-size: 12.5px; }
.hs-ended {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px;
  border-radius: 999px; background: #18181b; border: 1px solid #27272a; font-size: 12.5px;
}
.hs-stage {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 20px 48px;
}
.hs-stage-multi { align-items: flex-start; }
.hs-panel {
  width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center;
  gap: 22px; text-align: center;
}
.hs-panel-multi { max-width: 560px; align-items: stretch; text-align: left; }
.hs-faces { display: flex; align-items: center; justify-content: center; height: 112px; }
.hs-face {
  width: 44px; height: 44px; border-radius: 999px; object-fit: cover; flex: none;
  border: 3px solid #0a0a0a;
}
.hs-face.lg { width: 96px; height: 96px; border-width: 4px; font-size: 26px; }
.hs-face-ph {
  background: #3f3f46; display: grid; place-items: center; font-weight: 800; color: #fafafa;
}
.hs-gap {
  width: 28px; height: 2px; border-top: 2px dashed #52525b; flex: none; margin: 0 -4px;
}
.hs-copy { display: flex; flex-direction: column; gap: 8px; }
.hs-kicker {
  font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #a1a1aa;
}
.hs-copy h1 {
  margin: 0; font-size: 32px; line-height: 1.12; font-weight: 800; letter-spacing: -0.04em; color: #fafafa;
}
.hs-copy p { margin: 0; color: #d4d4d8; font-size: 15px; line-height: 1.6; }
.hs-decide { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.hs-shake, .hs-done {
  height: 56px; border-radius: 999px; border: 0; background: #fafafa; color: #0a0a0a;
  font: inherit; font-size: 16px; font-weight: 750; cursor: pointer; width: 100%;
}
.hs-shake.on { outline: 2px solid #fff; }
.hs-pass {
  height: 50px; border-radius: 999px; border: 1px solid #3f3f46; background: transparent; color: #fafafa;
  font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; width: 100%;
}
.hs-pass.on { border-color: #a1a1aa; }
.hs-note {
  width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; padding-top: 6px;
}
.hs-note label { font-size: 13px; font-weight: 650; color: #fafafa; }
.hs-note label span { color: #a1a1aa; font-weight: 500; }
.hs-note textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #3f3f46; border-radius: 14px;
  padding: 12px 14px; background: #09090b; color: #fafafa; font: inherit; font-size: 14px;
  line-height: 1.5; resize: none; outline: none; min-height: 84px;
}
.hs-rejoin-link {
  border: 0; background: transparent; color: #a1a1aa; font: inherit; font-size: 13px;
  font-weight: 600; text-decoration: underline; cursor: pointer; padding: 4px 8px;
}
.hs-rows { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.hs-row {
  border: 1px solid #27272a; border-radius: 16px; padding: 14px; background: #111113;
  display: flex; flex-direction: column; gap: 8px;
}
.hs-row-who { display: flex; align-items: center; gap: 10px; }
.hs-row-who b { display: block; font-size: 14.5px; }
.hs-row-who span { color: #a1a1aa; font-size: 12px; }
.hs-row-tag {
  margin-left: auto; font-size: 11.5px; font-weight: 650; color: #a1a1aa;
  padding: 4px 8px; border-radius: 999px; background: #18181b;
}
.hs-row-acts { margin-left: auto; display: flex; gap: 6px; }
.hs-mini-shake, .hs-mini-pass {
  height: 30px; padding: 0 12px; border-radius: 999px; font: inherit; font-size: 12.5px;
  font-weight: 650; cursor: pointer;
}
.hs-mini-shake { border: 0; background: #fafafa; color: #0a0a0a; }
.hs-mini-shake.on { outline: 2px solid #fff; }
.hs-mini-pass { border: 1px solid #3f3f46; background: transparent; color: #fafafa; }
.hs-mini-pass.on { border-color: #a1a1aa; }
.hs-row-label { font-size: 12.5px; font-weight: 650; color: #d4d4d8; }
.hs-row-shout { display: flex; gap: 8px; align-items: flex-end; }
.hs-row-shout textarea {
  flex: 1; min-width: 0; border: 1px solid #3f3f46; border-radius: 12px; padding: 10px 12px;
  background: #09090b; color: #fafafa; font: inherit; font-size: 13.5px; resize: none; min-height: 56px;
}
.hs-send {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: #fafafa; color: #0a0a0a;
  font: inherit; font-size: 13px; font-weight: 700; flex: none; cursor: pointer;
}
.hs-send:disabled { background: #3f3f46; color: #a1a1aa; cursor: default; }

/* Post-loop guest sign-up (light, from loop-flow design) */
.guest-su {
  background: #fafafa; color: #0a0a0a; min-height: 100vh; padding: 32px 20px 48px;
}
.guest-su-shell {
  width: min(1100px, 100%); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start;
}
.guest-su-pitch {
  flex: 999 1 520px; min-width: 0; max-width: 600px;
  display: flex; flex-direction: column; gap: 22px;
}
.guest-su-pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  height: 30px; padding: 0 12px; border-radius: 999px; background: #f4f4f5;
  font-size: 12.5px; font-weight: 650;
}
.guest-su-pill svg { width: 14px; height: 14px; }
.guest-su-pitch h1 {
  margin: 0; font-size: clamp(32px, 5vw, 46px); line-height: 1.04; font-weight: 800; letter-spacing: -0.05em;
}
.guest-su-lede { margin: 0; color: #3f3f46; font-size: 17px; line-height: 1.6; }
.guest-su-benefits {
  border: 1px solid #e4e4e7; border-radius: 22px; padding: 6px 18px;
  display: flex; flex-direction: column;
}
.guest-su-benefits > div {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0;
  border-bottom: 1px solid #f4f4f5;
}
.guest-su-benefits > div:last-child { border-bottom: 0; }
.guest-su-benefits b {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px;
}
.guest-su-benefits b span {
  height: 22px; padding: 0 8px; border-radius: 999px; background: #f4f4f5; color: #52525b;
  font-size: 11.5px; font-weight: 650; display: inline-flex; align-items: center;
}
.guest-su-benefits > div > span { color: #52525b; font-size: 13.5px; line-height: 1.45; }
.guest-su-card {
  flex: 1 1 340px; min-width: 0; max-width: 400px;
  background: #fff; border: 1px solid #e4e4e7; border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 18px 50px rgba(10,10,10,0.08);
}
.guest-su-card h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }
.guest-su-foot {
  margin: 4px 0 0; padding-top: 12px; border-top: 1px solid #f4f4f5;
  color: #52525b; font-size: 12.5px; line-height: 1.5;
}

.postcall-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.postcall-with { color: var(--muted); font-weight: 650; }

/* Request / booking preview link — Booking&Hours visitor layout */
.req-link-page {
  min-height: calc(100vh - 48px); display: flex; flex-direction: column;
  background: #fff; padding: 0; box-sizing: border-box;
}
.req-link-top {
  display: flex; align-items: center; gap: 12px; padding: 10px 20px; flex: none;
  border-bottom: 1px solid #f4f4f5; background: #fff;
}
.req-booker {
  max-width: 1360px; width: 100%; margin: 0 auto; padding: 22px 20px 48px;
  display: flex; flex-direction: column; gap: 16px; box-sizing: border-box;
}
.req-title-block { display: flex; flex-direction: column; gap: 2px; }
.req-url { color: #71717a; font-size: 13px; font-weight: 600; }
.req-title-block h1 {
  margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.035em;
}
.req-overlay-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px 12px 16px; border-radius: 16px; background: #0a0a0a; color: #fafafa;
}
.req-overlay-copy { line-height: 1.35; }
.req-overlay-copy b { display: block; font-size: 14px; }
.req-overlay-copy span { color: #a1a1aa; font-size: 12.5px; }
.req-overlay-cta {
  height: 38px !important; padding: 0 16px !important; border-radius: 999px !important;
  border: 0 !important; background: #fafafa !important; color: #0a0a0a !important;
  font-weight: 700 !important; flex: none;
}
.req-link-body {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch;
}
.req-avail {
  position: relative; flex: 999 1 640px; min-width: 0; height: 720px;
  display: flex; flex-direction: column;
  border: 1px solid #e4e4e7; border-radius: 20px; overflow: hidden; background: #fafafa;
}
.req-avail-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; padding: 12px 14px; flex: none; background: #fafafa;
}
.req-avail-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.req-avail-nav strong { font-size: 15px; font-weight: 750; margin-left: 6px; }
.req-avail-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.req-dur-tz {
  display: inline-flex; align-items: center; gap: 6px; color: #3f3f46; font-size: 13px;
}
.req-dur-tz b { color: #0a0a0a; font-weight: 650; }
.req-tz-btn {
  border: 0; background: transparent; padding: 0; margin: 0; font: inherit; font-size: 13px;
  color: #3f3f46; text-decoration: underline; text-decoration-style: dotted;
  text-underline-offset: 3px; cursor: pointer;
}
.req-view-pill {
  display: inline-flex; gap: 2px; padding: 3px; background: #fff;
  border: 1px solid #d4d4d8; border-radius: 999px;
}
.req-view-pill button {
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: 13px; font-weight: 700; color: #3f3f46; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.req-view-pill button svg { width: 14px; height: 14px; }
.req-view-pill button.on { background: #0a0a0a; color: #fff; }
.req-list {
  flex: 1; min-height: 0; overflow: auto; background: #fff;
  border-top: 1px solid #e4e4e7; padding: 8px 20px 24px;
  display: flex; flex-direction: column;
}
.req-list-day {
  padding: 16px 0; border-bottom: 1px solid #f4f4f5;
  display: flex; flex-direction: column; gap: 10px;
}
.req-list-day-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.req-list-day-h h3 { margin: 0; font-size: 15px; font-weight: 750; }
.req-list-day-h span { color: #71717a; font-size: 12.5px; }
.req-slot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.req-slot-chip {
  min-width: 88px; height: 40px; padding: 0 14px; border-radius: 12px;
  border: 1px solid #d4d4d8; background: #fff;
  font: inherit; font-size: 14px; font-weight: 650; cursor: pointer;
}
.req-slot-chip.on { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
.req-cal-wrap {
  flex: 1; min-height: 0; overflow: auto; background: #fff; border-top: 1px solid #e4e4e7;
  display: flex; flex-direction: column;
}
.req-cal-wrap .cal-scroll { flex: 1; }
.cal-cell.is-req-open { background: transparent; }
.req-sel-box {
  position: absolute; left: 5px; right: 5px; border-radius: 7px; z-index: 5; pointer-events: none;
  background: #0a0a0a; color: #fff; padding: 4px 8px; box-sizing: border-box;
  font-size: 11.5px; line-height: 1.25; box-shadow: 0 8px 18px rgba(10,10,10,0.2);
}
.req-sel-box b { display: block; font-weight: 750; }
.req-modal-scrim {
  position: absolute; inset: 0; z-index: 30; background: rgba(10,10,10,0.46);
  display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
}
.req-modal {
  width: 100%; max-width: 500px; max-height: 100%; overflow: auto; box-sizing: border-box;
  background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(10,10,10,0.25);
  padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px;
}
.req-modal-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.req-modal-h h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.req-modal-when {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 14px; background: #fafafa;
}
.req-modal-when b { display: block; font-size: 14px; }
.req-modal-when span { color: #52525b; font-size: 12.5px; }
.req-modal-av {
  width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex: none;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #e4e4e7;
}
.req-free-check {
  display: inline-flex; align-items: center; gap: 6px; color: #3f3f46; font-size: 12.5px; margin-top: -4px;
}
.req-free-check svg { width: 14px; height: 14px; }
.req-sug-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.req-sug-chip {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px dashed #d4d4d8;
  background: #fff; font: inherit; font-size: 12px; color: #3f3f46; cursor: pointer;
}
.req-modal-actions { display: flex; gap: 8px; }
.req-modal-actions .btn { flex: 1; height: 48px; }
.req-modal-signin {
  border-top: 1px solid #f4f4f5; padding-top: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.req-modal-signin b { font-size: 14px; }
.req-modal-signin > span { color: #52525b; font-size: 12.5px; margin-top: -4px; }
.req-profile {
  flex: 1 1 380px; min-width: 0; max-width: 460px; height: 720px; overflow: auto;
  border: 1px solid #e4e4e7; border-radius: 20px; background: #fff;
}
.req-profile-banner {
  height: 96px; background-color: #fafafa;
  background-image: radial-gradient(#0a0a0a 1.3px, transparent 1.6px);
  background-size: 16px 16px; border-bottom: 1px solid #f4f4f5;
}
.req-profile-body {
  padding: 0 20px 24px; display: flex; flex-direction: column; gap: 16px;
}
.req-profile-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: -40px;
}
.req-profile-av {
  width: 84px; height: 84px; border-radius: 999px; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 1px #e4e4e7;
  display: grid; place-items: center; font-size: 26px; font-weight: 800;
  background: #f4f4f5; color: #3f3f46; flex: none;
}
.req-profile-id { display: flex; flex-direction: column; gap: 4px; }
.req-profile-id h2 {
  margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -0.035em;
}
.req-profile-hl { margin: 0; font-size: 15px; line-height: 1.4; color: #27272a; font-weight: 500; }
.req-profile-meta { margin: 0; color: #71717a; font-size: 13px; }
.req-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.req-chip {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e7;
  color: #0a0a0a; font-size: 12.5px; font-weight: 650;
  display: inline-flex; align-items: center; background: #fff;
}
.req-open-prof { margin-bottom: 4px; }
.req-interest-pill {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid #e4e4e7;
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center;
}
.req-profile-block {
  display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid #f4f4f5;
}
.req-k {
  font-size: 11.5px; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; color: #71717a;
}
.req-profile-block p { margin: 0; color: #27272a; font-size: 14px; line-height: 1.65; }

/* Via / source legend chips (color pickers + Waiting on you on the right) */
.legend.legend-via {
  width: 100%; gap: 6px 14px; color: #3f3f46;
  justify-content: flex-start;
}
.legend-chip-wrap { position: relative; display: inline-flex; }
.legend-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 2px; border: 0; background: transparent;
  font: inherit; font-size: 12px; color: #3f3f46; cursor: pointer; border-radius: 6px;
}
.legend-chip:hover { color: #0a0a0a; }
.legend-chip i {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none;
}
.legend-chip.waiting { margin-left: auto; cursor: default; color: #52525b; }
.legend-wait {
  width: 12px !important; height: 10px !important; border-radius: 3px;
  border: 1.5px dashed #52525b; background: transparent !important; box-sizing: border-box;
}
.legend-color-pop { z-index: 50; }

.nl-plus {
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid #0a0a0a;
  background: #fff; color: #0a0a0a; display: grid; place-items: center; padding: 0; cursor: pointer;
}
.nl-plus:hover { background: #f4f4f5; }
.nl-plus svg { width: 18px; height: 18px; }

.block-ev.nl-draft {
  background: #f4f4f5; color: #0a0a0a; border: 1.5px dashed #0a0a0a;
  box-shadow: 0 8px 18px rgba(10,10,10,0.14); z-index: 7; pointer-events: none;
}

.nl-wrap {
  position: absolute; z-index: 20; width: 340px; max-width: calc(100% - 24px);
}
.nl-card {
  position: relative; width: 340px; max-width: 100%; max-height: min(720px, calc(100vh - 140px));
  overflow: auto; box-sizing: border-box; padding: 12px;
  background: #fff; border: 1px solid #e4e4e7; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(10,10,10,0.16);
  display: flex; flex-direction: column; gap: 8px;
}
.nl-subject {
  height: 38px; box-sizing: border-box; border: 1.5px solid #e4e4e7; border-radius: 10px;
  outline: none; padding: 0 10px; font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: -0.015em; background: #fff;
}
.nl-people {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  min-height: 34px; padding: 2px 2px 2px 6px; border: 1px solid #e4e4e7; border-radius: 10px;
}
.nl-circle-btn {
  width: 26px; height: 26px; border-radius: 8px; border: 0; background: #f4f4f5; color: #0a0a0a;
  display: grid; place-items: center; flex: none; padding: 0; cursor: pointer; margin-left: auto;
}
.nl-circle-btn.on { background: #0a0a0a; color: #fff; }
.nl-circle-btn svg { width: 17px; height: 17px; }
.nl-chip {
  height: 24px; padding: 0 2px 0 8px; border-radius: 999px; background: #f4f4f5;
  font-size: 12px; font-weight: 650; display: inline-flex; align-items: center; gap: 2px;
}
.nl-chip-x {
  width: 18px; height: 18px; border-radius: 999px; border: 0; background: transparent;
  display: grid; place-items: center; padding: 0; color: #52525b; cursor: pointer;
}
.nl-chip-x svg { width: 10px; height: 10px; }
.nl-q {
  flex: 1 1 90px; min-width: 0; height: 28px; border: 0; outline: none;
  font: inherit; font-size: 13px; background: transparent;
}
.nl-sugg {
  margin-top: -4px; border: 1px solid #e4e4e7; border-radius: 10px; padding: 3px;
}
.nl-sugg-item {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 5px 6px;
  border: 0; border-radius: 8px; background: transparent; font: inherit; text-align: left; cursor: pointer;
}
.nl-sugg-item:hover, .nl-sugg-item:first-child { background: #f4f4f5; }
.nl-circle-list {
  margin-top: -4px; border: 1px solid #e4e4e7; border-radius: 12px;
  max-height: 228px; overflow: auto; padding: 3px;
}
.nl-circle-row {
  display: flex; align-items: center; gap: 2px; border-radius: 8px;
}
.nl-circle-row.on { background: #f4f4f5; }
.nl-circle-sel {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 4px 0 8px; border: 0; background: transparent;
  font: inherit; text-align: left; cursor: pointer;
}
.nl-check {
  width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid #a1a1aa;
  background: #fff; display: grid; place-items: center; box-sizing: border-box; flex: none; color: #fff;
}
.nl-check.on { border-color: #0a0a0a; background: #0a0a0a; }
.nl-check svg { width: 9px; height: 9px; }
.nl-face, .nl-av {
  width: 26px; height: 26px; border-radius: 999px; object-fit: cover; flex: none;
}
.nl-av {
  background: #e4e4e7; display: grid; place-items: center;
  font-size: 9.5px; font-weight: 800;
}
.nl-circle-meta { flex: 1; min-width: 0; line-height: 1.2; }
.nl-circle-meta b { display: block; font-size: 13px; font-weight: 650; }
.nl-circle-meta span {
  display: block; color: #71717a; font-size: 11.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nl-prof-btn {
  width: 30px; height: 30px; margin-right: 3px; border-radius: 8px; border: 0;
  background: transparent; color: #52525b; display: grid; place-items: center; flex: none; cursor: pointer;
}
.nl-prof-btn.on { background: #0a0a0a; color: #fff; }
.nl-prof-btn svg { width: 15px; height: 15px; }
.nl-msg {
  border: 1px solid #e4e4e7; border-radius: 10px; padding: 6px 10px; outline: none;
  resize: none; overflow: hidden; font: inherit; font-size: 13px; line-height: 1.45;
  min-height: 34px; max-height: 72px; height: 34px; box-sizing: border-box; background: transparent;
}
.nl-details {
  display: flex; flex-direction: column; gap: 6px; padding: 8px 10px;
  border-radius: 10px; background: #fafafa;
}
.nl-when {
  display: flex; align-items: center; gap: 7px; padding: 0; border: 0;
  background: transparent; font: inherit; font-size: 12.5px; color: #3f3f46; text-align: left; cursor: pointer;
}
.nl-when > span:first-child { flex: 1; min-width: 0; line-height: 1.3; }
.nl-when b { font-weight: 650; color: #0a0a0a; }
.nl-when > span:first-child > span { display: block; color: #71717a; font-size: 11.5px; }
.nl-edit {
  color: #52525b; font-size: 11.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 2px; flex: none;
}
.nl-edit svg { width: 11px; height: 11px; }
.nl-more-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-left: 4px;
}
.nl-more-grid label {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 11px; font-weight: 650; color: #71717a;
}
.nl-more-grid label.full { grid-column: 1 / -1; }
.nl-more-grid select {
  height: 30px; border: 1px solid #e4e4e7; border-radius: 8px; padding: 0 6px;
  background: #fff; font: inherit; font-size: 12.5px; color: #0a0a0a;
}
.nl-loc {
  display: flex; align-items: center; gap: 7px; min-height: 24px; height: 24px;
}
.nl-loc-custom { height: 24px; min-height: 24px; }
.nl-pin {
  width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nl-loopd-chip {
  height: 24px; padding: 0 2px 0 3px; border-radius: 999px; background: #0a0a0a; color: #fff;
  font-size: 12px; font-weight: 650; display: inline-flex; align-items: center; gap: 5px;
}
.nl-loopd-chip button {
  width: 20px; height: 20px; border-radius: 999px; border: 0; background: transparent;
  color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer;
}
.nl-loopd-chip button svg { width: 10px; height: 10px; }
.nl-l {
  width: 18px; height: 18px; border-radius: 999px; background: #fff; color: #0a0a0a;
  display: grid; place-items: center; font-size: 9.5px; font-weight: 800;
}
.nl-to-loopd .nl-l { background: #0a0a0a; color: #fff; }
.nl-loc-input {
  flex: 1; min-width: 0; height: 24px; border: 1px solid #d4d4d8; border-radius: 8px;
  padding: 0 8px; outline: none; background: #fff; font: inherit; font-size: 12.5px;
  box-sizing: border-box;
}
.nl-to-loopd {
  height: 24px; padding: 0 8px 0 4px; border-radius: 999px; border: 1px solid #e4e4e7;
  background: #fff; font: inherit; font-size: 12px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 4px; flex: none; cursor: pointer;
  box-sizing: border-box;
}
.nl-actions { display: flex; justify-content: flex-end; gap: 4px; }
.nl-cancel {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent;
  font: inherit; font-size: 13px; font-weight: 650; color: #52525b; cursor: pointer;
}
.nl-send {
  height: 32px; padding: 0 16px; border-radius: 999px; border: 0; background: #0a0a0a;
  color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.nl-send.disabled, .nl-send[aria-disabled="true"] {
  background: #d4d4d8; cursor: default; pointer-events: none;
}
.nl-profile {
  position: absolute; z-index: 21; width: 360px; max-width: min(360px, 90vw);
  max-height: min(720px, calc(100vh - 140px)); overflow: auto; box-sizing: border-box;
  background: #fff; border: 1px solid #e4e4e7; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(10,10,10,0.16);
}
.nl-prof-bar {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; padding: 10px 12px;
  background: rgba(255,255,255,0.94); border-bottom: 1px solid #f4f4f5;
}
.nl-prof-body {
  padding: 18px 18px 22px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
}
.nl-prof-body .avatar-lg, .nl-prof-body .ph.lg {
  width: 76px; height: 76px; border-radius: 999px; font-size: 24px;
}
.nl-prof-body b { font-size: 19px; letter-spacing: -0.02em; }
.nl-prof-about { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: #3f3f46; }
.nl-prof-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 6px; }

@media (max-width: 900px) {
  .preloop-grid { flex-direction: column; align-items: stretch; }
  .preloop-side { max-width: none; }
  .req-link-body { flex-direction: column; }
  .req-profile { max-width: none; }
}

@media (max-width: 980px) {
  .inbox-frame { flex-wrap: wrap; }
  .col-list, .col-chat, .col-cal, .col-booking, .inbox-split .col-stack, .inbox-split .col-cal {
    max-width: none; flex-basis: 100%;
  }
  .inbox-split .col-stack, .booking-hours-mode .col-booking { min-width: 0; min-height: 360px; max-width: none; flex: 1 1 100%; }
  .inbox { height: calc(100vh - 98px); }
  .panel-side { max-width: none; width: 100%; flex: 1 1 100%; }
  .room-mid { flex-direction: column; }
  .layout-share { flex-direction: column; }
  .share-rail { width: auto; flex-direction: row; height: 120px; }
  .pip-small > .pip, .pip-medium > .pip, .pip-flipped > .pip { width: min(160px, 42%); }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .room-bar-left, .room-bar-right { flex: 1 1 100%; }
  .room-bar-right { justify-content: stretch; }
  .room-bar-right .leave { width: 100%; justify-content: center; }
}

/* Onboarding preferences */
.page.ob-prefs-page { padding: 24px 20px 80px; }
.ob-prefs {
  max-width: 680px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 28px;
}
.ob-prefs-intro { display: flex; flex-direction: column; gap: 8px; }
.ob-prefs-intro h1 {
  margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em;
}
.ob-prefs-note {
  display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: #fafafa;
}
.ob-prefs-note-ico {
  width: 36px; height: 36px; border-radius: 10px; background: #0a0a0a; color: #fff;
  display: grid; place-items: center; flex: none;
}
.ob-prefs-note-ico svg { width: 18px; height: 18px; }
.ob-prefs-note b { display: block; font-size: 14.5px; }
.ob-prefs-note-sub { display: block; color: #3f3f46; font-size: 13.5px; line-height: 1.5; margin-top: 2px; }
.ob-pref-cat { display: flex; flex-direction: column; gap: 12px; padding-top: 0; }
.ob-pref-cat.has-rule { padding-top: 22px; border-top: 1px solid #e4e4e7; }
.ob-pref-cat h2 {
  margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
}
.ob-pref-desc { color: #52525b; font-size: 13px; }
.ob-pref-picked { display: flex; flex-wrap: wrap; gap: 8px; min-height: 36px; align-items: center; }
.ob-pref-chip {
  height: 36px; padding: 0 6px 0 14px; border-radius: 999px;
  background: #0a0a0a; color: #fff; font-size: 13.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 6px;
}
.ob-pref-x {
  width: 26px; height: 26px; border-radius: 999px; border: 0;
  background: #27272a; color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer;
}
.ob-pref-x svg { width: 12px; height: 12px; }
.ob-pref-empty { color: #a1a1aa; font-size: 13.5px; }
.ob-pref-sugs {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px;
  overflow: hidden; max-width: 100%;
}
.ob-pref-sugs-label { color: #52525b; font-size: 12.5px; font-weight: 600; flex: none; }
.ob-pref-sug {
  flex: none; white-space: nowrap;
  height: 30px; padding: 0 12px; border-radius: 999px; border: 1px dashed #d4d4d8;
  background: #fff; font: inherit; font-size: 12.5px; color: #3f3f46; cursor: pointer;
}
@media (max-width: 520px) {
  .ob-pref-sugs .ob-pref-sug:nth-child(n+4) { display: none; }
}
.ob-pref-add { display: flex; gap: 8px; }
.ob-pref-add input {
  flex: 1; min-width: 0; height: 44px; box-sizing: border-box;
  border: 1px solid #e4e4e7; border-radius: 12px; padding: 0 14px;
  font: inherit; font-size: 14.5px; outline: none;
}
.ob-pref-add-btn {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #0a0a0a;
  background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.ob-prefs-foot {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px;
}
.ob-prefs-foot .btn.full { height: 54px; font-size: 16px; }
.ob-prefs-skip {
  border: 0; background: transparent; color: #52525b; font: inherit;
  font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 4px 8px;
}

/* Discover MVP / people-filter cards */
.disc-mvp { display: flex; flex-direction: column; gap: 22px; padding-bottom: 48px; }
.disc-mvp-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 20px;
}
.disc-mvp-head h1 { margin: 0; }
.disc-mvp-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.disc-mvp-passes {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid #e4e4e7; background: #fff;
  font-size: 13px; font-weight: 650; color: #3f3f46;
}
.disc-mvp-passes svg { width: 13px; height: 13px; }
.disc-mvp-reroll {
  display: inline-flex; align-items: center; gap: 6px; height: 34px;
}
.disc-mvp-reroll svg { width: 14px; height: 14px; }
.disc-mvp-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.disc-radar-section .section-h,
.disc-people-section .section-h { margin-bottom: 12px; }
.disc-radar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
}
.disc-mvp-card {
  position: relative;
  border: 1px solid #e4e4e7; border-radius: 22px; background: #fff;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  cursor: pointer; text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.disc-mvp-card:hover {
  border-color: #d4d4d8;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.06);
}
.disc-mvp-pass {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 999px;
  border: 1px solid #e4e4e7; background: #fff; color: #52525b;
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.disc-mvp-pass svg { width: 14px; height: 14px; }
.disc-mvp-main { display: flex; align-items: flex-start; gap: 14px; padding-right: 36px; }
.disc-mvp-photo {
  width: 96px; height: 96px; border-radius: 18px; object-fit: cover;
  display: grid; place-items: center; background: #f4f4f5; color: #71717a;
  font-weight: 800; font-size: 32px; flex: none;
}
.disc-mvp-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.disc-mvp-text h3 {
  margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.03em;
}
.disc-mvp-headline {
  font-size: 14.5px; color: #3f3f46; line-height: 1.35; font-weight: 550;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-mvp-meta {
  font-size: 12.5px; color: #71717a; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.disc-mvp-when-row {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 10px 14px;
  overflow: hidden; min-height: 20px;
}
.disc-mvp-when {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  font-size: 12.5px; color: #52525b; font-weight: 550;
  white-space: nowrap; max-width: 100%;
}
.disc-mvp-when span {
  overflow: hidden; text-overflow: ellipsis;
}
.disc-mvp-when svg { width: 13px; height: 13px; flex: none; }
.disc-mvp-tags {
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px;
  min-height: 62px; max-height: 62px; overflow: hidden;
}
.disc-mvp-tag {
  height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid #e4e4e7; background: #fff; color: #3f3f46;
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center;
}
.disc-mvp-tag.is-match {
  background: #0a0a0a; color: #fff; border-color: #0a0a0a;
}
.disc-mvp-foot { display: flex; justify-content: center; padding-top: 2px; }
.disc-mvp-prefs {
  border: 0; background: transparent; color: #71717a; font: inherit;
  font-size: 13.5px; font-weight: 650; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px;
}

/* Discover floating profile card */
.disc-profile-back {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10, 10, 10, 0.42);
  display: grid; place-items: center; padding: 28px 16px;
}
.disc-profile-card {
  position: relative; width: min(420px, 100%);
  margin: 0; box-shadow: 0 24px 60px rgba(10, 10, 10, 0.22);
}
.disc-profile-actions {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
.sheet-pin-btn {
  position: relative; top: auto; right: auto;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.92); color: #0a0a0a;
  display: grid; place-items: center; cursor: pointer; padding: 0;
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.12);
}
.sheet-pin-btn svg { width: 18px; height: 18px; }
.sheet-pin-btn.is-on {
  background: #0a0a0a; color: #fff; border-color: #0a0a0a;
}
.sheet-req-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 10px;
  height: 48px; font-size: 15px;
}
.sheet-req-cta svg { width: 16px; height: 16px; }

/* Booker popup (preview / discover) */
.booker-popup-back {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10, 10, 10, 0.45);
  display: grid; place-items: center; padding: 16px;
}
.booker-popup {
  position: relative;
  width: min(1360px, 100%);
  max-height: min(920px, 94vh);
  background: #fff; border-radius: 20px; border: 1px solid #e4e4e7;
  box-shadow: 0 28px 70px rgba(10, 10, 10, 0.22);
  overflow: auto;
}
.booker-popup .req-booker { padding-top: 28px; }
.booker-popup-x {
  position: absolute; top: 12px; right: 12px; z-index: 4;
}

@media (max-width: 900px) {
  .req-link-body { flex-direction: column; }
  .req-avail, .req-profile { height: auto; max-height: none; max-width: none; }
  .req-avail { min-height: 520px; }
  .req-profile { min-height: 420px; }
}
@media (max-width: 720px) {
  .disc-mvp-grid,
  .disc-radar-grid { grid-template-columns: 1fr; }
}

/* Preferences modal */
.prefs-modal-back {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,10,10,0.42);
  display: grid; place-items: center; padding: 24px 16px;
}
.prefs-modal {
  width: min(640px, 100%); max-height: min(860px, 92vh); overflow: auto;
  background: #fff; border-radius: 24px; border: 1px solid #e4e4e7;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 20px;
}
.prefs-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.prefs-modal-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.prefs-autosave { display: block; margin-top: 4px; font-size: 12.5px; color: #71717a; font-weight: 600; }
.prefs-modal-note { margin: 0; }
.prefs-modal-body { display: flex; flex-direction: column; gap: 8px; }
.prefs-modal-foot { padding-top: 4px; }
.prefs-modal-foot .btn.full { height: 48px; }

/* ---------------------------------------------------------------------------
   Account menu (header avatar)
   --------------------------------------------------------------------------- */
.me-wrap { position: relative; display: inline-flex; }
.me-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  width: 280px; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.me-snap {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0;
  background: transparent; border-radius: 10px; text-align: left;
}
.me-snap:hover { background: var(--wash); }
.me-snap .avatar, .me-snap .ph { width: 44px; height: 44px; border-radius: 999px; flex: none; object-fit: cover; }
.me-snap-txt { display: flex; flex-direction: column; min-width: 0; }
.me-snap-txt b { font-size: 14.5px; }
.me-snap-txt span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.me-menu .drop-item { display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------------------
   Profile — owner view
   --------------------------------------------------------------------------- */
.main.pe-page { width: min(1180px, 100%); padding-top: 24px; background: transparent; }
.pe-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pe-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pe-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
@media (max-width: 960px) {
  .pe-grid { grid-template-columns: 1fr; }
  .pe-side { position: static; }
}
.pe-card {
  border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.pe-card h2 { font-size: 15px; font-weight: 750; }
.pe-card-h { display: flex; align-items: center; gap: 6px; }
.pe-card-h .icon-btn { width: 30px; height: 30px; }
.pe-kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 750;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint);
}
.pe-kicker svg { width: 14px; height: 14px; }
.pe-block.is-editing { border-color: #0a0a0a; }
.pe-b-title { margin: 0 0 4px; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }

/* Header: same look as the real profile header */
.pe-head { box-shadow: none; }
.pe-head-body { padding-bottom: 20px; }
.pe-head-top { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; }
.pe-about { margin: 0; color: #3f3f46; font-size: 14.5px; line-height: 1.55; }
.pe-head-edit {
  border-top: 1px solid var(--line-soft); padding: 18px 22px 22px;
  display: flex; flex-direction: column; gap: 14px;
}

/* Form bits */
.pe-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.pe-row > * { flex: 1 1 160px; min-width: 0; }
.pe-row > .pe-field.sm { flex: 0 1 130px; }
.pe-row > .icon-btn { flex: none; }
.pe-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 650; color: #3f3f46; }
.pe-in, .pe-url-in, .pe-tag-in, .pe-domain-in {
  font: inherit; font-size: 14px; font-weight: 400; color: var(--ink);
  border: 1px solid #d4d4d8; border-radius: 10px; padding: 9px 11px; background: #fff; width: 100%;
}
textarea.pe-in { resize: vertical; min-height: 70px; line-height: 1.45; }
.pe-in:focus, .pe-url-in:focus, .pe-tag-in:focus, .pe-domain-in:focus, .rt-body:focus {
  outline: 2px solid #0a0a0a; outline-offset: 1px;
}
.pe-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding-bottom: 10px; flex: 0 1 auto !important; }
.pe-chip-btn {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px dashed #a1a1aa; background: #fff;
  font-size: 12.5px; font-weight: 650; color: #18181b;
}
.pe-chip-btn:hover, .pe-chip-btn.on { border-style: solid; border-color: #0a0a0a; background: var(--wash); }
.pe-chip-btn svg { width: 14px; height: 14px; }
.pe-upload-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pe-sub-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px;
  background: #fcfcfc;
}
.pe-sub-h { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.pe-sub-h b { margin-right: auto; }
.pe-sub-h .grow { display: none; }
.pe-sub-h .icon-btn { width: 28px; height: 28px; }

/* Rich text */
.rt-wrap { border: 1px solid #d4d4d8; border-radius: 12px; background: #fff; }
.rt-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px;
  border-bottom: 1px solid var(--line-soft); position: relative;
}
.rt-btn {
  min-width: 30px; height: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  font-size: 13px; font-weight: 650; color: #27272a; display: inline-flex; align-items: center; gap: 4px; justify-content: center;
}
.rt-btn:hover { background: #f4f4f5; }
.rt-btn svg { width: 13px; height: 13px; }
.rt-sep { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
.rt-more { position: relative; }
.rt-more > summary { list-style: none; cursor: pointer; }
.rt-more > summary::-webkit-details-marker { display: none; }
.rt-more-menu {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 30; min-width: 170px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
}
.rt-more-menu .rt-btn { justify-content: flex-start; width: 100%; font-weight: 500; }
.rt-body { min-height: 120px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; border-radius: 0 0 12px 12px; }
.rt-body:empty::before { content: attr(data-ph); color: #a1a1aa; }
.rt-view { font-size: 14.5px; line-height: 1.6; color: #27272a; }
.rt-view.sm, .pe-exp-edit .rt-body { font-size: 13.5px; }
.pe-exp-edit .rt-body { min-height: 80px; }
.rt-view h1, .rt-body h1 { font-size: 24px; line-height: 1.2; margin: 10px 0 6px; letter-spacing: -0.02em; }
.rt-view h2, .rt-body h2 { font-size: 19px; line-height: 1.25; margin: 10px 0 6px; }
.rt-view h3, .rt-body h3 { font-size: 16px; margin: 8px 0 4px; }
.rt-view p, .rt-body p { margin: 0 0 8px; }
.rt-view ul, .rt-view ol, .rt-body ul, .rt-body ol { margin: 4px 0 8px; padding-left: 22px; }
.rt-view blockquote, .rt-body blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid #0a0a0a; color: #3f3f46; }
.rt-view hr, .rt-body hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.rt-view a, .rt-body a { color: inherit; text-decoration: underline; }

/* Links */
.pe-links { display: flex; flex-direction: column; }
.pe-link {
  display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft);
  color: inherit; text-decoration: none;
}
.pe-link:first-child { border-top: 0; }
a.pe-link:hover b { text-decoration: underline; }
.pe-link-ico {
  width: 34px; height: 34px; border-radius: 10px; background: #f4f4f5; display: grid; place-items: center; flex: none;
}
.pe-link-txt { display: flex; flex-direction: column; min-width: 0; }
.pe-link-txt b { font-size: 14px; }
.pe-link-txt span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-links-edit { display: flex; flex-direction: column; gap: 8px; }
.pe-link-row { display: flex; align-items: center; gap: 8px; }
.pe-link-row > .pe-in { flex: 0 0 150px; }
.pe-url-box {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px;
  border: 1px solid #d4d4d8; border-radius: 10px; padding: 3px 4px; background: #fff;
}
.pe-url-box:focus-within { outline: 2px solid #0a0a0a; outline-offset: 1px; }
.pe-url-box .pe-url-in { border: 0; padding: 6px 6px; outline: none !important; }
.pe-plus {
  width: 30px; height: 30px; border-radius: 8px; border: 0; background: #f4f4f5; display: grid; place-items: center; flex: none;
}
.pe-plus:hover { background: #e4e4e7; }
.pe-plus svg { width: 15px; height: 15px; }
.pe-plus-menu { left: 0; right: auto; min-width: 240px; }
.pe-plus-menu .drop-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pe-file-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 8px;
  background: #f4f4f5; font-size: 13px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.pe-file-pill button { border: 0; background: transparent; padding: 2px; display: grid; place-items: center; }
.pe-file-pill svg { width: 13px; height: 13px; }
.pe-link-hint { margin: 0; font-size: 12.5px; }

/* Add a block */
.pe-add { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pe-add-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px dashed #71717a; background: #fff; font-size: 13px; font-weight: 700;
}
.pe-add-btn:hover { border-style: solid; background: var(--wash); }
.pe-add-btn svg { width: 14px; height: 14px; }
.pe-add-row { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pe-add-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pe-add-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pe-add-row.nested { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) { .pe-add-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pe-add-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 12px;
}
.pe-add-opt:hover { border-color: #0a0a0a; }
.pe-add-opt b { font-size: 13.5px; }
.pe-add-opt span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.pe-add-opt.sm { flex-direction: row; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; }
.pe-add-ico svg { width: 16px; height: 16px; }

/* Timeline */
.pe-timeline { display: flex; flex-direction: column; gap: 14px; padding-left: 4px; }
.pe-exp { display: flex; gap: 12px; }
.pe-exp-dot { width: 10px; height: 10px; border-radius: 999px; background: #0a0a0a; margin-top: 6px; flex: none; box-shadow: 0 0 0 4px #f4f4f5; }
.pe-exp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pe-exp-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pe-exp-top b { font-size: 15px; }
.pe-exp-dates { font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.pe-exp-co { font-size: 13.5px; color: #3f3f46; }
.pe-exp-edit { display: flex; flex-direction: column; gap: 12px; }
.pe-insert { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-nested { padding: 12px; border-radius: 12px; background: var(--wash); margin-left: 22px; }
.pe-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pe-tags.edit {
  border: 1px solid #d4d4d8; border-radius: 10px; padding: 6px; background: #fff; align-items: center;
}
.pe-tags.edit .pe-tag-in { border: 0; padding: 4px 6px; flex: 1; min-width: 140px; outline: none !important; }
.pe-tag {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: #f4f4f5; font-size: 12px; font-weight: 650; color: #27272a;
}
.pe-tag button { border: 0; background: transparent; padding: 0; display: grid; place-items: center; color: #71717a; }
.pe-tag svg { width: 11px; height: 11px; }

/* Education */
.pe-edu { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.pe-edu:first-of-type { border-top: 0; }
.pe-edu-notes { margin: 4px 0 0; font-size: 13px; color: #52525b; }

/* Featured work */
.pe-feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pe-feat-grid.gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pe-feat-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.pe-feat-ico { height: 64px; display: grid; place-items: center; background: #f4f4f5; color: #52525b; }
.pe-feat-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f4f4f5; }
.pe-feat-img.edit { width: 160px; border-radius: 10px; }
.pe-feat-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pe-feat-txt b { font-size: 13.5px; }
.pe-feat-txt span { font-size: 12.5px; color: var(--muted); }
.pe-feat-cat { font-size: 10.5px !important; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint) !important; }
.pe-feat-link { font-size: 12px; color: #3f3f46; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Callout */
.pe-quote { margin: 0; padding: 6px 0 6px 16px; border-left: 3px solid #0a0a0a; }
.pe-quote p { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
.pe-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.pe-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.pe-stat { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--wash); }
.pe-stat b { font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.pe-stat span { font-size: 13px; color: #3f3f46; }
.pe-stat-row { align-items: flex-end; }

/* Right rail */
.pe-domain {
  display: flex; align-items: center; border: 1px solid #d4d4d8; border-radius: 10px; overflow: hidden; background: #fafafa;
}
.pe-domain-pre { padding: 0 2px 0 10px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pe-domain .pe-domain-in { border: 0; border-radius: 0; padding: 9px 8px 9px 0; background: transparent; font-size: 12.5px; font-weight: 650; min-width: 0; }
.pe-domain:focus-within { outline: 2px solid #0a0a0a; outline-offset: 1px; }
.pe-domain .pe-domain-in:focus { outline: none; }
.pe-side-acts { display: flex; gap: 8px; }
.pe-side .hint { margin: -4px 0 0; font-size: 12.5px; }

/* Modals */
.pe-modal-back {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,10,10,0.35);
  display: grid; place-items: center; padding: 16px;
}
.pe-modal {
  width: min(640px, 100%); max-height: min(86vh, 820px); background: #fff; border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.pe-modal-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.pe-modal-h h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.pe-modal-body { padding: 4px 20px 16px; overflow: auto; display: flex; flex-direction: column; gap: 16px; }
.pe-modal-f { padding: 12px 20px 18px; border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; }
.pe-demo-row { display: flex; align-items: flex-end; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.pe-demo-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pe-demo-l { font-size: 13px; font-weight: 700; }
.pe-toggle {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0 0 6px;
  font-size: 12px; font-weight: 650; color: #52525b; flex: none;
}
.pe-toggle.on { color: #0a0a0a; }
@media (max-width: 560px) {
  .pe-link-row { flex-wrap: wrap; }
  .pe-link-row > .pe-in { flex: 1 1 100%; }
  .pe-demo-row { flex-direction: column; align-items: stretch; }
}
.pe-card-h .grow { flex: 1; }
/* Profile owner top bar (replaces the app header on /profile) */
.pe-top {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line);
}
.pe-top h1 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.pe-top .grow { flex: 1; }
.pe-top .btn svg { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.main.pe-page.pe-preview-page { width: min(860px, 100%); }
.pe-pins { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-pin {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; font-size: 13px; font-weight: 650;
}
.pe-pin svg { width: 14px; height: 14px; }
a.pe-pin:hover { border-color: #0a0a0a; }
label.pe-plus { cursor: pointer; }
.pe-url-in.is-file { color: #3f3f46; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.pe-clear { border: 0; background: transparent; width: 26px; height: 26px; display: grid; place-items: center; flex: none; border-radius: 6px; }
.pe-clear:hover { background: #f4f4f5; }
.pe-clear svg { width: 13px; height: 13px; }
.pe-my { display: flex; gap: 6px; }
.pe-my select:first-child { flex: 1.4; }
.pe-my select:last-child { flex: 1; }
.pe-row > .pe-field.my { flex: 1 1 220px; }

/* ---------------------------------------------------------------------------
   Circle — People + Notes & Docs
   --------------------------------------------------------------------------- */
.main.cv-page { width: min(1280px, 100%); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.cv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cv-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; }
.cv-head .sub { margin-top: 6px; color: #52525b; font-size: 15px; }
.cv-head-acts { display: flex; gap: 8px; }
.cv-head-acts .btn svg { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.cv-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cv-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #f4f4f5; gap: 2px; }
.cv-tabs button {
  height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 700; color: #52525b; display: inline-flex; align-items: center; gap: 8px;
}
.cv-tabs button.on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.cv-tabs em { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: #e4e4e7; color: #3f3f46; }
.cv-search {
  flex: 1; min-width: 240px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #71717a;
}
.cv-search:focus-within { border-color: #0a0a0a; }
.cv-search input { flex: 1; border: 0; outline: 0; font-size: 14.5px; background: transparent; color: var(--ink); }
.cv-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cv-filter-wrap { display: inline-flex; align-items: center; gap: 2px; }
.cv-filter {
  height: 32px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #e4e4e7; background: #fff;
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: #18181b;
}
.cv-filter.on:not(.tag) { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.cv-filter.tag { border-color: var(--tag); color: var(--tag); }
.cv-filter.tag.on { background: var(--tag); color: #fff; }
.cv-filter em { font-style: normal; font-weight: 600; opacity: 0.75; }
.cv-filter.new { border-style: dashed; color: #3f3f46; }
.cv-dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; display: inline-block; }
.cv-tag-del { width: 24px; height: 24px; border-radius: 999px; border: 0; background: #f4f4f5; display: grid; place-items: center; }
.cv-tag-del svg { width: 12px; height: 12px; }
.cv-newtag { display: inline-flex; align-items: center; gap: 6px; }
.cv-newtag input { height: 32px; border: 1.5px solid #0a0a0a; border-radius: 999px; padding: 0 12px; font-size: 13px; width: 150px; }
.cv-newtag .btn.slim { height: 32px; }

.cv-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px;
  font-size: 12px; font-weight: 750; color: var(--tag);
  background: color-mix(in srgb, var(--tag) 12%, #fff);
}
.cv-tag.toggle { border: 1.5px solid #e4e4e7; background: #fff; color: #3f3f46; height: 30px; padding: 0 10px; border-radius: 999px; }
.cv-tag.toggle.on { border-color: var(--tag); color: var(--tag); background: color-mix(in srgb, var(--tag) 10%, #fff); }
.cv-tag.new { border: 1.5px dashed #a1a1aa; background: #fff; color: #3f3f46; height: 30px; padding: 0 10px; border-radius: 999px; }

.cv-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.cv-people.has-pan { grid-template-columns: minmax(0, 1fr) 420px; }
@media (max-width: 1040px) { .cv-people.has-pan { grid-template-columns: 1fr; } }
.cv-list { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.cv-row {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-top: 1px solid var(--line-soft);
  background: #fff; text-align: left;
}
.cv-row:first-child { border-top: 0; }
.cv-row:hover { background: #fcfcfc; }
.cv-row.on { background: #f7f7f8; }
.cv-av, .cv-pan-av, .cv-prof-av, .cv-mini-av { border-radius: 999px; object-fit: cover; flex: none; display: grid; place-items: center; background: #f4f4f5; color: #27272a; font-weight: 800; }
.cv-av { width: 42px; height: 42px; font-size: 13px; }
.cv-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cv-row-main b { font-size: 15px; }
.cv-row-main span { font-size: 13.5px; color: #52525b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-row-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 240px; }
.cv-row-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 12.5px; color: #52525b; white-space: nowrap; min-width: 130px; }
.cv-row-chev { color: #a1a1aa; display: grid; place-items: center; }
@media (max-width: 720px) { .cv-row-tags { display: none; } .cv-row-meta { min-width: 0; } }

.cv-pan {
  border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 18px;
  display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px;
  max-height: calc(100vh - 32px); overflow: auto;
}
.cv-pan-h { display: flex; align-items: center; gap: 12px; }
.cv-pan-av { width: 56px; height: 56px; font-size: 17px; }
.cv-pan-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cv-pan-name b { font-size: 19px; letter-spacing: -0.02em; }
.cv-pan-name span { font-size: 13.5px; color: #52525b; }
.cv-viewprof { flex: none; }
.cv-viewprof svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.cv-pan-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-pan-acts .btn { height: 42px; }
.cv-pan-acts .btn svg { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.cv-sec { display: flex; flex-direction: column; gap: 8px; }
.cv-sec p { margin: 0; font-size: 13.5px; color: #3f3f46; line-height: 1.5; }
.cv-k { font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #71717a; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px;
  background: #f4f4f5; font-size: 12.5px; font-weight: 650; color: #18181b;
}
.cv-chip svg { width: 13px; height: 13px; }
.cv-loop { display: grid; grid-template-columns: 62px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.cv-loop b { font-size: 13px; }
.cv-loop em { font-style: normal; color: #71717a; font-size: 12.5px; }
.cv-note-mini {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; text-align: left;
}
.cv-note-mini:hover { border-color: #0a0a0a; }
.cv-note-mini > svg { width: 15px; height: 15px; margin-top: 2px; flex: none; }
.cv-note-mini > span { display: flex; flex-direction: column; min-width: 0; }
.cv-note-mini b { font-size: 13.5px; display: inline-flex; align-items: center; gap: 4px; }
.cv-note-mini b svg { width: 12px; height: 12px; }
.cv-note-mini span span { font-size: 12px; color: #71717a; }

/* View profile (replaces the panel content) */
.cv-prof { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cv-prof-banner { height: 84px; margin: 8px 8px 0; }
.cv-prof-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.cv-prof-av { width: 72px; height: 72px; margin-top: -36px; border: 4px solid #fff; box-shadow: 0 0 0 1px #e4e4e7; font-size: 22px; }
.cv-prof-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.cv-prof-hl { font-size: 14.5px; font-weight: 500; }
.cv-prof-meta { font-size: 13px; color: #71717a; }
.cv-prof-links { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.cv-prof .cv-sec { margin-top: 8px; }

/* Notes & Docs */
.cv-pin-h { margin-top: 4px; }
.cv-pins { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.cv-pin-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; text-align: left;
}
.cv-pin-card:hover { border-color: #0a0a0a; }
.cv-pin-card b { font-size: 16px; }
.cv-pin-card > span:last-child { font-size: 13.5px; color: #52525b; }
.cv-pin-k { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; color: #52525b; }
.cv-pin-k svg { width: 12px; height: 12px; }
.cv-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.cv-table-h { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 12.5px; font-weight: 700; color: #52525b; background: #fafafa; border-bottom: 1px solid var(--line); }
.cv-note-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-top: 1px solid var(--line-soft); background: #fff; text-align: left; }
.cv-note-row:first-of-type { border-top: 0; }
.cv-note-row:hover { background: #fcfcfc; }
.cv-note-ico { color: #52525b; display: grid; place-items: center; }
.cv-note-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cv-note-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cv-note-top b { font-size: 15px; }
.cv-note-sub { font-size: 13.5px; color: #52525b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-note-date { font-size: 13px; color: #52525b; white-space: nowrap; }
.cv-empty { padding: 20px 16px; margin: 0; }
.cv-mini-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px 0 3px; border-radius: 999px;
  background: #f4f4f5; font-size: 12px; font-weight: 650; color: #18181b; border: 0; white-space: nowrap;
}
.cv-mini-chip.dark .mark.xs { margin-left: 1px; }
.cv-mini-chip.add { padding: 0 10px; border: 1px dashed #a1a1aa; background: #fff; cursor: pointer; }
.cv-mini-chip button { border: 0; background: transparent; padding: 0; display: grid; place-items: center; color: #71717a; }
.cv-mini-chip svg { width: 11px; height: 11px; }
.cv-mini-av { width: 18px; height: 18px; font-size: 8px; }
.mark.xs { width: 18px; height: 18px; font-size: 10px; border-radius: 5px; display: inline-grid; place-items: center; background: #0a0a0a; color: #fff; font-weight: 800; }

/* Note editor */
.cv-ed {
  width: min(760px, 100%); height: min(760px, 88vh); background: #fff; border-radius: 22px; border: 0;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.25); position: relative;
}
.cv-ed-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.cv-ed-h .btn svg { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.cv-ed-h .grow { flex: 1; }
.cv-ed-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.cv-drop { left: 0; right: auto; max-height: 260px; overflow: auto; min-width: 240px; }
.cv-ed-bar { padding: 8px 18px; }
.cv-ed-body { flex: 1; overflow: auto; padding: 24px 46px; display: flex; flex-direction: column; gap: 8px; }
.cv-ed-title { border: 0; outline: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; padding: 0; width: 100%; }
.cv-ed-title.sm { font-size: 15px; padding: 8px 12px 0; }
.cv-ed-meta { font-size: 13px; color: #71717a; }
.cv-ed-text { flex: 1; padding: 8px 0; font-size: 15.5px; min-height: 240px; }
.cv-ed-text:focus { outline: none; }
.cv-ed-f { display: flex; align-items: center; gap: 6px; padding: 10px 18px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: #71717a; }
.cv-ed-f svg { width: 13px; height: 13px; }
.rt-btn.danger { color: #b91c1c; justify-content: flex-start; width: 100%; font-weight: 600; }
.cv-hist-pop {
  margin: 10px 18px 0; max-height: 240px; overflow: auto; flex: none;
  background: #fafafa; border: 1px solid var(--line); border-radius: 14px; padding: 12px;
}
.cv-hist-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cv-hist-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 13px; flex-wrap: wrap; }
.cv-hist-row > b { width: 62px; flex: none; }
.cv-hist-who { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12.5px; }
.cv-hist-row.big { align-items: flex-start; }
.cv-hist-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cv-hist-title { font-weight: 650; }
.cv-hist-modal { width: min(720px, 100%); }

/* In-call notes */
.room-notes-list { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.room-notes-list .cv-note-mini { background: transparent; color: inherit; border-color: rgba(255,255,255,0.18); }
.room-notes-list .cv-note-mini span span, .room-notes-list .hint { color: #a1a1aa; }
.room-notes-list .cv-k { margin-top: 6px; color: #a1a1aa; }
.room-note-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 0; }
.room-note-ed { margin: 10px 12px; background: #fff; color: #0a0a0a; }
.room-note-ed .room-notes { min-height: 240px; }
.cv-ed-h { border-bottom: 0; padding-bottom: 6px; }
.cv-ed-h2 { padding: 0 18px 12px; border-bottom: 1px solid var(--line-soft); }
.cv-ed-title, .cv-ed-title:focus { border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent; }
.room-note-ed .room-notes { background: #fff !important; color: #0a0a0a !important; border: 0 !important; outline: none !important; padding: 10px 12px; }
.room-note-ed .cv-ed-title.sm { color: #0a0a0a; }
.room-note-h .linkish { color: #e4e4e7; }
.cv-ed-body .cv-ed-title { padding: 0 !important; height: auto; }
.cv-tag-color { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d4d4d8; padding: 0; cursor: pointer; }
.cv-color-pop { left: 0; width: 170px; grid-template-columns: repeat(6, 1fr); z-index: 60; }
.cv-color-pop .bh-swatch { width: 20px; height: 20px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; }
.cv-color-pop .bh-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a0a0a; }
.cv-loop-r { display: inline-flex; align-items: center; gap: 8px; }
.cv-loop-note {
  display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 6px; border-radius: 7px;
  border: 1px solid var(--line); background: #fff; color: #18181b; font-size: 11px; font-weight: 750;
}
.cv-loop-note:hover { border-color: #0a0a0a; }
.cv-loop-note svg { width: 13px; height: 13px; }
.cv-drop-r { right: 0; left: auto; min-width: 200px; }
.req-tz-pick .zone-menu { left: auto; right: 0; z-index: 70; }
.req-tz-pick .zone-btn { height: 30px; }
.cv-hist-btn {
  width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; color: #0a0a0a; cursor: pointer; flex: none;
}
.cv-hist-btn:hover { border-color: #0a0a0a; }
.cv-hist-btn svg { width: 22px; height: 22px; }
.cv-head-acts { align-items: center; }
.cv-head-acts .btn { height: 52px; }
.cv-ed-bar { flex-wrap: wrap; }
.cv-ed-bar .grow { flex: 1; }
.rt-btn.danger.icon { width: 32px; padding: 0; color: #b91c1c; }
.rt-btn.danger.icon svg { width: 15px; height: 15px; }
.composer-tools [data-act="attach-chat"] { margin-right: auto; }
/* Tag pill: selected expands with edit + delete; editing = color dot + textbox + check/cancel */
.cv-tagpill {
  display: inline-flex; align-items: center; height: 32px; border-radius: 999px; border: 1.5px solid var(--tag);
  color: var(--tag); background: #fff; padding: 0 4px 0 0;
}
.cv-tagpill.on { background: var(--tag); color: #fff; }
.cv-tagpill-main {
  height: 100%; padding: 0 10px 0 13px; border: 0; background: transparent; color: inherit;
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.cv-tagpill-main em { font-style: normal; font-weight: 600; opacity: 0.75; }
.cv-tagpill-ic {
  width: 24px; height: 24px; border-radius: 999px; border: 0; background: transparent; color: inherit;
  display: grid; place-items: center; padding: 0; cursor: pointer;
}
.cv-tagpill-ic:hover { background: rgba(255,255,255,0.22); }
.cv-tagpill:not(.on) .cv-tagpill-ic:hover { background: #f4f4f5; }
.cv-tagpill-ic svg { width: 13px; height: 13px; }
.cv-tagpill.editing { padding: 0 4px 0 6px; gap: 4px; color: #0a0a0a; border-color: var(--tag); }
.cv-tagpill-dot { width: 18px; height: 18px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #d4d4d8; padding: 0; cursor: pointer; display: block; }
.cv-tagpill-in { width: 120px; height: 24px; border: 0; outline: 0; font: inherit; font-size: 13px; font-weight: 700; padding: 0 4px; background: transparent; }
.cv-tagpill.editing .cv-color-pop { top: calc(100% + 8px); left: -6px; }
.cv-ed-hist {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; padding: 0; cursor: pointer; flex: none;
}
.cv-ed-hist.on, .cv-ed-hist:hover { border-color: #0a0a0a; }
.cv-ed-hist svg { width: 16px; height: 16px; }
.cv-ed-h { flex-wrap: nowrap; }
.cv-ed-h .cv-mini-chip.add { height: 32px; padding: 0 12px; font-size: 12.5px; }
.cv-ed-h2 { padding-top: 0; }
.cv-tagpill input.cv-tagpill-in { height: 24px !important; border: 0 !important; box-shadow: none !important; border-radius: 6px; padding: 0 4px !important; background: transparent !important; width: 120px; min-width: 0; }

/* ===========================================================================
   Profile MVP: owner (Customize) + visitor (Preview)
   =========================================================================== */
.main.pe-page.pv-owner { width: min(1060px, 100%); padding: 0 20px 96px; }
.main.pv-page { width: min(720px, 100%); padding: 0 20px 96px; background: transparent; }
.pv-owner .pe-grid { grid-template-columns: minmax(0, 680px) 300px; gap: 32px; justify-content: center; }
.pv-col { min-width: 0; display: flex; flex-direction: column; }
.pv-head { display: flex; flex-direction: column; }
.pv-banner { position: relative; height: 148px; margin-top: 16px; border-radius: 24px; border: 1px solid #f4f4f5; overflow: hidden; }
.pv-banner-btn {
  position: absolute; top: 12px; right: 12px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e7;
  background: #fff; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.pv-banner-btn svg { width: 13px; height: 13px; }
.pv-cover-pick { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid #e4e4e7; }
.pv-av-row { display: flex; align-items: flex-end; justify-content: space-between; margin: -52px 0 12px 8px; padding-right: 8px; }
.pv-av-wrap { position: relative; display: inline-block; }
.pv-av { width: 104px; height: 104px; border-radius: 999px; border: 4px solid #fff; box-shadow: 0 0 0 1px #e4e4e7; object-fit: cover; display: grid; place-items: center; background: #f4f4f5; font-size: 30px; font-weight: 800; color: #52525b; box-sizing: border-box; }
.pv-av-cam {
  position: absolute; right: 2px; bottom: 4px; width: 30px; height: 30px; border-radius: 999px; border: 2px solid #fff;
  background: #0a0a0a; color: #fff; display: grid; place-items: center; padding: 0; cursor: pointer;
}
.pv-av-cam svg { width: 14px; height: 14px; }
.pv-id { display: flex; flex-direction: column; gap: 6px; padding: 0 8px; }
.pv-id h1 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.04em; }
.pv-hl { margin: 0; font-size: 17px; line-height: 1.4; color: #27272a; font-weight: 500; }
.pv-hl.ph { color: #a1a1aa; }
.pv-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #71717a; font-size: 13.5px; }
.pv-place { display: inline-flex; align-items: center; gap: 4px; }
.pv-place svg { width: 13px; height: 13px; }
.pv-stat { margin: 4px 0 0; color: #3f3f46; font-size: 13.5px; }
.pv-stat b { font-weight: 750; }
.pv-bio { margin: 14px 0 0; padding: 0 8px; color: #27272a; font-size: 15.5px; line-height: 1.7; }
.pv-shared { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 8px 0; }
.pv-chip { height: 28px; padding: 0 11px; border-radius: 999px; background: #f4f4f5; color: #18181b; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; }
.pv-links { padding: 14px 8px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pv-link {
  height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; color: #0a0a0a;
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; text-decoration: none;
}
a.pv-link:hover { border-color: #0a0a0a; }
.pv-link svg { width: 16px; height: 16px; }
.pv-rule { height: 1px; background: #f4f4f5; margin: 28px 0 8px; }
.pe-mini-btn {
  height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; color: #0a0a0a;
  font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; flex: none;
}
.pe-mini-btn:hover { border-color: #0a0a0a; }
.pe-mini-btn svg { width: 12px; height: 12px; }
.pe-panel { margin: 12px 0 0; background: #fafafa; border: 1px solid #f0f0f1; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pe-panel-h { display: flex; justify-content: space-between; align-items: baseline; }
.pe-panel-h span { color: #71717a; font-size: 12.5px; }
.pe-count { font-style: normal; color: #a1a1aa; font-weight: 500; margin-left: 6px; }
.pe-hint { font-style: normal; color: #71717a; font-size: 12px; font-weight: 500; }
.pe-editor-f { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 2px; }
.pe-editor-f .grow { flex: 1; }

/* Blocks */
.pv-block { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.pe-owner-block { margin-top: 28px; }
.pe-owner-block.is-hidden .pv-block-body { opacity: 0.5; }
.pv-block-body { display: flex; flex-direction: column; gap: 12px; padding: 0 4px; }
.pe-bar { display: flex; align-items: center; gap: 2px; padding: 4px 6px 4px 8px; border-radius: 12px; background: #f7f7f8; }
.pe-bar-k {
  flex: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em;
  text-transform: uppercase; color: #71717a;
}
.pe-bar-k svg { width: 14px; height: 14px; color: #a1a1aa; }
.pe-hidden-pill { height: 20px; padding: 0 8px; border-radius: 999px; background: #e4e4e7; color: #3f3f46; font-size: 10.5px; letter-spacing: 0.04em; display: inline-flex; align-items: center; }
.pe-bar-ic { width: 30px; height: 30px; border-radius: 999px; border: 0; background: transparent; color: #52525b; display: grid; place-items: center; padding: 0; cursor: pointer; }
.pe-bar-ic:hover:not([disabled]) { background: #ececee; }
.pe-bar-ic[disabled] { opacity: 0.3; cursor: default; }
.pe-bar-ic svg { width: 15px; height: 15px; }
.pe-bar .pe-mini-btn { margin-left: 6px; height: 30px; }
.pv-kicker { font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #71717a; }
.pv-title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; }
.pv-sub-title { margin: 0; font-size: 16px; font-weight: 750; }
.pv-story { font-size: 15.5px; line-height: 1.65; color: #27272a; }
.pv-story blockquote, .pv-kid .rt-view blockquote { border-left: 0; padding: 10px 0 10px 32px; position: relative; font-size: 18px; font-weight: 700; color: #0a0a0a; letter-spacing: -0.01em; }
.pv-story blockquote::before, .pv-kid .rt-view blockquote::before { content: '\201D'; position: absolute; left: 4px; top: 0; font-size: 34px; font-weight: 900; line-height: 1; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pv-tag { height: 24px; padding: 0 9px; border-radius: 999px; background: #f4f4f5; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.pv-tag.sm { height: 22px; border: 1px solid #e4e4e7; background: #fff; font-size: 11.5px; }
.pv-kids { display: flex; flex-direction: column; gap: 10px; }
.pv-kid { border-radius: 18px; background: #fafafa; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.pv-kid.bare { background: transparent; padding: 0; }
.pv-kid.editing { background: transparent; padding: 0; }
.pv-kid-bar { display: flex; align-items: center; gap: 4px; margin: -6px -8px -4px 0; }
.pv-kid-bar > span { flex: 1; font-size: 10.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #71717a; }
.pv-kid-bar .pe-mini-btn { height: 28px; }
.pe-mini-x { width: 28px; height: 28px; border-radius: 999px; border: 0; background: transparent; color: #71717a; display: grid; place-items: center; cursor: pointer; }
.pe-mini-x svg { width: 13px; height: 13px; }

/* Timeline */
.pv-timeline { display: flex; flex-direction: column; }
.pv-role { position: relative; padding-left: 24px; }
.pv-role-dot { position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 999px; border: 2px solid; box-sizing: border-box; z-index: 1; }
.pv-role-line { position: absolute; left: 5px; top: 16px; bottom: -4px; width: 1px; background: #e4e4e7; }
.pv-role.last .pv-role-line { display: none; }
.pv-role-body { padding-bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.pv-role.last .pv-role-body { padding-bottom: 0; }
.pv-role-dates { color: #71717a; font-size: 12.5px; font-weight: 600; }
.pv-role-title { font-size: 15.5px; font-weight: 750; }
.pv-role-desc { color: #3f3f46; font-size: 14px; line-height: 1.55; }

/* Featured work */
.pv-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .pv-works { grid-template-columns: 1fr; } }
.pv-work { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 16px; border-radius: 18px; border: 1px solid #e4e4e7; background: #fff; color: inherit; text-decoration: none; }
a.pv-work:hover { border-color: #0a0a0a; }
.pv-work-cover { height: 132px; border-radius: 12px; background: #f4f4f5 center / cover no-repeat; display: grid; place-items: center; color: #a1a1aa; }
.pv-work-cover svg { width: 22px; height: 22px; }
.pv-work-file { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: #fafafa; }
.pv-work-file > svg { width: 18px; height: 18px; padding: 8px; border-radius: 10px; border: 1px solid #e4e4e7; background: #fff; box-sizing: content-box; }
.pv-work-file b { display: block; font-size: 13px; }
.pv-work-file span span { font-size: 11.5px; color: #71717a; }
.pv-work-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.pv-work-h b { font-size: 14.5px; }
.pv-arrow svg { width: 14px; height: 14px; }
.pv-work-desc { padding: 0 4px; font-size: 13px; color: #52525b; line-height: 1.5; }
.pv-work .pv-tags { padding: 0 4px; }

/* Education */
.pv-edu { display: flex; gap: 14px; }
.pv-edu-ico { width: 40px; height: 40px; border-radius: 12px; background: #f4f4f5; display: grid; place-items: center; flex: none; }
.pv-edu-ico svg { width: 18px; height: 18px; }
.pv-edu b { display: block; font-size: 15px; }
.pv-edu-line { display: block; color: #52525b; font-size: 13.5px; margin-top: 2px; }
.pv-edu-hi { margin: 8px 0 0; padding-left: 18px; color: #27272a; font-size: 13.5px; line-height: 1.6; }
.pv-edu-act { display: block; margin-top: 6px; color: #71717a; font-size: 12.5px; }

/* Callouts */
.pv-co { border-radius: 18px; }
.pv-co.hl { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.pv-co.hl svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.pv-co.hl p { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; }
.pv-co.num { padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.pv-co.num > b { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -0.05em; }
.pv-co.num span b { display: block; font-size: 15px; }
.pv-co.num span span { font-size: 13px; opacity: 0.75; }
.pv-co.quote { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.pv-co.quote svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.pv-co.quote p { margin: 0; font-size: 19px; line-height: 1.4; font-weight: 750; letter-spacing: -0.02em; }
.pv-co-by { font-size: 13px; opacity: 0.7; }

/* Gallery */
.pv-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pv-gal-it { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pv-gal-img { aspect-ratio: 4 / 3; border-radius: 12px; background: #e4e4e7 center / cover no-repeat; display: grid; place-items: center; color: #a1a1aa; }
.pv-gal-img svg { width: 18px; height: 18px; }
.pv-gal-img.sm { width: 64px; height: 48px; aspect-ratio: auto; flex: none; font-size: 12px; font-weight: 700; color: #52525b; }
.pv-gal-it figcaption { font-size: 12px; color: #52525b; }
.pe-gal-row { display: flex; align-items: center; gap: 8px; }
.pe-gal-row .pe-in { flex: 1; }

/* Editors */
.pe-editor { display: flex; flex-direction: column; gap: 12px; background: #fafafa; border: 1px solid #f0f0f1; border-radius: 20px; padding: 18px; }
.pe-editor-h { display: flex; flex-direction: column; gap: 2px; }
.pe-editor-h b { font-size: 14px; }
.pe-editor-h span { font-size: 12.5px; color: #71717a; }
.pe-editor .pe-sub-card { background: #fff; }
.pe-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: #f0f0f1; gap: 2px; align-self: flex-start; }
.pe-seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: #3f3f46; }
.pe-seg button.on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 3px rgba(10,10,10,0.14); }
.pe-seg svg { width: 13px; height: 13px; }
.pe-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1.5px dashed #a1a1aa; border-radius: 14px; background: #fff; cursor: pointer; text-align: center; }
.pe-drop.has { border-color: #0a0a0a; }
.pe-drop svg { width: 18px; height: 18px; }
.pe-drop b { font-size: 13px; }
.pe-drop span { font-size: 12px; color: #71717a; }
.pe-nudges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pe-nudges > span { color: #71717a; font-size: 12.5px; font-weight: 600; margin-right: 2px; }
.pe-nudge { height: 28px; padding: 0 11px; border-radius: 999px; border: 1px dashed #d4d4d8; background: #fff; font-size: 12px; color: #3f3f46; cursor: pointer; }
.pe-addin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pe-addin-btn, .pe-addin-opt {
  height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 650;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: #0a0a0a;
}
.pe-addin-btn { border: 1px dashed #a1a1aa; }
.pe-addin-btn.on, .pe-addin-opt { border: 1px solid #0a0a0a; }
.pe-addin-btn svg, .pe-addin-opt svg { width: 12px; height: 12px; }
.pe-addblock { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.pe-addblock-btn {
  height: 56px; border-radius: 18px; border: 1.5px dashed #a1a1aa; background: #fff; color: #0a0a0a; font-size: 15px; font-weight: 750;
  display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
}
.pe-addblock-btn.on, .pe-addblock-btn:hover { border-color: #0a0a0a; }
.pe-lib { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .pe-lib { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pe-lib-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; min-height: 100px; border-radius: 14px; border: 1px solid #e4e4e7; background: #fff; text-align: left; color: #0a0a0a; cursor: pointer; }
.pe-lib-opt:hover { border-color: #0a0a0a; }
.pe-lib-opt svg { width: 18px; height: 18px; }
.pe-lib-opt b { font-size: 13.5px; }
.pe-lib-opt span { color: #71717a; font-size: 12px; line-height: 1.4; }

/* Right rail */
.pv-owner .pe-side { padding-top: 16px; top: 80px; gap: 12px; }
.pv-owner .pe-side .pe-card { border-radius: 20px; padding: 16px; gap: 10px; }
.pv-owner .pe-side h2 { font-size: 14.5px; }
.pe-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-swatch { width: 34px; height: 34px; border-radius: 999px; border: 0; cursor: pointer; padding: 0; }
.pe-covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pe-cover-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 650; color: #3f3f46; cursor: pointer; }
.pe-cover-sw { width: 100%; max-width: 96px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px #e4e4e7; display: grid; place-items: center; color: #52525b; font-size: 11px; }
.pv-cover-pick .pe-cover-sw { width: 96px; }
.pe-cover-sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0a0a0a; }
.pe-save { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: #f4f4f5; color: #71717a; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.pe-save.dirty { background: #0a0a0a; color: #fff; }

/* Photo editor */
.ph-modal { width: min(760px, 100%); }
.ph-sub { color: #71717a; font-size: 13px; }
.ph-body { display: flex; flex-wrap: wrap; gap: 24px; padding: 6px 22px 22px; }
.ph-left { display: flex; flex-direction: column; gap: 14px; flex: none; }
.ph-stage { position: relative; width: 320px; height: 320px; border-radius: 18px; overflow: hidden; background: #18181b; cursor: grab; user-select: none; touch-action: none; }
.ph-stage.dragging { cursor: grabbing; }
.ph-stage-img, .ph-prev-img { position: absolute; left: 50%; top: 50%; object-fit: cover; pointer-events: none; max-width: none; }
.ph-none { position: absolute; inset: 0; display: grid; place-items: center; color: #a1a1aa; font-size: 13px; font-weight: 600; }
.ph-mask { position: absolute; left: 30px; top: 30px; width: 260px; height: 260px; border-radius: 999px; box-shadow: 0 0 0 999px rgba(10,10,10,0.55); border: 2px solid rgba(255,255,255,0.9); box-sizing: border-box; pointer-events: none; }
.ph-grid { position: absolute; left: 30px; top: 30px; width: 260px; height: 260px; border-radius: 999px; pointer-events: none; opacity: 0;
  background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px); background-size: 86.67px 86.67px; }
.ph-stage.dragging .ph-grid { opacity: 1; }
.ph-zoom { display: flex; align-items: center; gap: 10px; }
.ph-range { flex: 1; display: flex; }
.ph-range input { width: 100%; accent-color: #0a0a0a; }
.ph-round { width: 32px; height: 32px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; font-size: 18px; font-weight: 600; display: grid; place-items: center; padding: 0; cursor: pointer; }
.ph-round.sm { width: 30px; height: 30px; }
.ph-round svg { width: 14px; height: 14px; }
.ph-pct { width: 44px; text-align: right; color: #52525b; font-size: 12.5px; font-weight: 650; }
.ph-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 320px; }
.ph-tools .grow { flex: 1; }
.ph-right { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 10px; }
.ph-prev { display: flex; align-items: flex-end; gap: 12px; }
.ph-prev-lg, .ph-prev-sm { position: relative; border-radius: 999px; overflow: hidden; background: #e4e4e7; box-shadow: 0 0 0 1px #e4e4e7; flex: none; }
.ph-prev-lg { width: 112px; height: 112px; }
.ph-prev-sm { width: 40px; height: 40px; }
.ph-note { margin: 0; color: #71717a; font-size: 12.5px; }
.ph-upload { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1.5px dashed #a1a1aa; border-radius: 14px; cursor: pointer; text-align: center; margin-top: 6px; }
.ph-upload svg { width: 16px; height: 16px; }
.ph-upload b { font-size: 13px; }
.ph-upload span { font-size: 12px; color: #71717a; }
.ph-remove { align-self: flex-start; border: 0; background: transparent; color: #b91c1c; font-weight: 700; font-size: 13px; padding: 4px 0; cursor: pointer; }
.ph-tip { margin: 6px 0 0; color: #71717a; font-size: 12.5px; }
@media (max-width: 960px) { .pv-owner .pe-grid { grid-template-columns: 1fr; } }

/* ===========================================================================
   Loops: New Loop / New chat panes (take over the chat box), Introduce someone
   =========================================================================== */
.nlp-pane { padding: 12px; background: #fafafa; }
.nlp-card { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #e4e4e7; border-radius: 18px; box-shadow: 0 10px 30px rgba(10,10,10,0.06); overflow: hidden; }
.nlp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 18px 18px 8px; }
.nlp-h h2 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.nlp-h span { color: #71717a; font-size: 13px; }
.nlp-cancel { border: 0; background: transparent; font-size: 13px; font-weight: 650; color: #3f3f46; cursor: pointer; padding: 4px 2px; }
.nlp-scroll { flex: 1; min-height: 0; overflow: auto; padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.nlp-subject { height: 44px; border: 1px solid #e4e4e7; border-radius: 12px; padding: 0 12px; font-size: 16px; font-weight: 700; }
.nlp-with { border: 1px solid #e4e4e7; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.nc-to { border-color: #0a0a0a; }
.nlp-with-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 26px; }
.nlp-k { font-size: 12.5px; color: #71717a; font-weight: 650; margin-right: 2px; }
.nlp-k.green, span.nlp-k:not(.green) { text-transform: none; }
.nlp-scroll > .nlp-k { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 750; }
.nlp-k.green { color: #047857; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 750; }
.nlp-q { border: 0 !important; box-shadow: none !important; outline: 0; height: 28px !important; padding: 0 2px !important; font-size: 14px; background: transparent !important; }
.nlp-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 6px 0 8px; border-radius: 999px; background: #f4f4f5; font-size: 12.5px; font-weight: 700; }
.nlp-chip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.nlp-chip button, .nc-chip button { border: 0; background: transparent; padding: 0; display: grid; place-items: center; color: inherit; cursor: pointer; }
.nlp-chip svg, .nc-chip svg { width: 11px; height: 11px; }
.nc-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px 0 10px; border-radius: 999px; background: #0a0a0a; color: #fff; font-size: 12.5px; font-weight: 700; }
.nlp-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; }
.nlp-row { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; border-radius: 12px; flex-wrap: wrap; }
.nlp-row.on, .nlp-row.peek { background: #f4f4f5; }
.nlp-sel { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 4px; text-align: left; cursor: pointer; }
.nlp-av { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex: none; display: grid; place-items: center; background: #e4e4e7; font-size: 12px; font-weight: 800; }
.nlp-meta { display: flex; flex-direction: column; min-width: 0; }
.nlp-meta b { font-size: 14px; }
.nlp-meta span { font-size: 12.5px; color: #52525b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlp-peek-btn { width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; display: grid; place-items: center; color: #52525b; cursor: pointer; flex: none; }
.nlp-peek-btn.on { background: #0a0a0a; color: #fff; }
.nlp-peek-btn svg { width: 15px; height: 15px; }
.nc-open { height: 22px; padding: 0 8px; border-radius: 999px; background: #f4f4f5; border: 1px solid #e4e4e7; font-size: 11.5px; font-weight: 650; display: inline-flex; align-items: center; color: #3f3f46; }
.nl-peek { flex: 1 1 100%; margin: 2px 4px 6px 38px; padding: 12px; border-radius: 12px; border: 1px solid #e4e4e7; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.nl-peek-hl { font-size: 13.5px; }
.nl-peek-last { font-size: 12.5px; color: #71717a; }
.nl-peek-full { align-self: flex-start; border: 0; background: transparent; padding: 0; font-weight: 700; font-size: 13px; text-decoration: underline; cursor: pointer; }
.nlp-free-wrap { display: flex; flex-direction: column; gap: 8px; }
.nlp-free-row { display: flex; flex-wrap: wrap; gap: 8px; }
.nlp-free { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid #6ee7b7; background: #fff; color: #047857; font-size: 13px; font-weight: 700; cursor: pointer; }
.nlp-free.on, .nlp-free:hover { background: #ecfdf5; border-color: #047857; }
.nlp-msg { border: 1px solid #e4e4e7; border-radius: 12px; padding: 10px 12px; font-size: 14px; resize: vertical; min-height: 56px; }
.nlp-when, .nlp-loc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fafafa; }
.nlp-loc { margin-top: -6px; padding-top: 4px; border-top-left-radius: 0; border-top-right-radius: 0; }
.nlp-when { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.nlp-when-ico { color: #71717a; display: grid; place-items: center; }
.nlp-when-ico svg { width: 15px; height: 15px; }
.nlp-when-main { flex: 1; display: flex; flex-direction: column; }
.nlp-when-main b { font-size: 14px; }
.nlp-when-main span { font-size: 12px; color: #71717a; }
.nlp-edit { border: 0; background: transparent; font-weight: 700; font-size: 13px; cursor: pointer; }
.nlp-loc .nl-loc-input { flex: 1; height: 30px; }
.nlp-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid #f4f4f5; }
.nlp-alt { border: 0; background: transparent; font-size: 13px; font-weight: 600; color: #3f3f46; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 0; }
.nlp-alt svg { width: 14px; height: 14px; }
.nlp-f .btn.slim { height: 40px; padding: 0 22px; }
.nlp-f .btn.disabled { opacity: 0.45; pointer-events: none; }
.nc-count { font-size: 12px; color: #71717a; margin-top: -4px; }
/* Calendar overlay while composing */
.nlo-row { display: flex; align-items: center; gap: 12px; margin: 0 14px 6px; padding: 8px 12px; border: 1px solid #e4e4e7; border-radius: 12px; font-size: 13px; }
.nlo-row b { font-weight: 700; }
.nlo-row .grow { flex: 1; }
.nlo-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.nlo-chip i { width: 14px; height: 10px; border-radius: 3px; border: 1.5px solid; display: inline-block; }
.nlo-free { display: inline-flex; align-items: center; gap: 6px; color: #047857; font-weight: 700; }
.nlo-free i { width: 14px; height: 10px; border-radius: 3px; border: 1.5px dashed #10b981; display: inline-block; }
.nl-free-box { position: absolute; left: 3px; right: 3px; border: 1.5px dashed #10b981; background: rgba(16,185,129,0.06); border-radius: 6px; z-index: 2; pointer-events: none; }
/* Introduce someone */
.intro-card { margin: 8px 12px 12px; border: 1.5px solid #0a0a0a; border-radius: 18px; background: #fff; overflow: hidden; }
.ic-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #f4f4f5; }
.ic-h .grow { flex: 1; display: flex; flex-direction: column; }
.ic-h b { font-size: 14.5px; }
.ic-h .grow span { font-size: 12.5px; color: #71717a; }
.ic-ico { width: 30px; height: 30px; border-radius: 9px; background: #ecfeff; color: #0e7490; display: grid; place-items: center; }
.ic-ico svg { width: 15px; height: 15px; }
.ic-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.ic-list { display: flex; flex-direction: column; gap: 2px; max-height: 220px; overflow: auto; }
.ic-pick { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border-radius: 12px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.ic-pick:hover { background: #f4f4f5; }
.ic-pick .nlp-meta { flex: 1; }
.ic-pick > svg { width: 14px; height: 14px; color: #a1a1aa; }
.ic-pair { display: flex; align-items: center; gap: 8px; }
.ic-pair .cv-mini-chip { height: 30px; padding: 0 12px 0 4px; font-size: 13px; }
.ic-pair .cv-mini-chip.dark { background: #0a0a0a; color: #fff; }
.ic-arrow { color: #a1a1aa; }
.ic-private { display: inline-flex; align-items: center; gap: 6px; color: #0e7490; font-size: 12.5px; font-weight: 650; }
.ic-private svg { width: 13px; height: 13px; }
.ic-gets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ic-gets > div { background: #fafafa; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ic-who { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.ic-desc { font-size: 12.5px; color: #52525b; line-height: 1.45; }
.ic-desc b { color: #0a0a0a; }
.ic-f { display: flex; justify-content: flex-end; }
.ic-f .btn.slim { height: 40px; padding: 0 18px; }
.intro-msg { margin: 4px 0 8px 46px; max-width: 470px; border: 1px solid #e4e4e7; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.intro-msg-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; color: #0e7490; }
.intro-msg-k svg { width: 14px; height: 14px; }
.intro-msg-who { display: flex; align-items: center; gap: 12px; }
.intro-msg-who b { display: block; font-size: 15px; }
.intro-msg-who span span { font-size: 13px; color: #52525b; }
.intro-msg-av { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; display: grid; place-items: center; background: #e4e4e7; font-weight: 800; }
.intro-msg p { margin: 0; font-size: 13.5px; color: #3f3f46; }
.intro-msg-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.nlp-alt { white-space: nowrap; font-size: 12.5px; }
.nlp-f .btn.slim { white-space: nowrap; flex: none; }
/* Circle → History */
.chs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.chs-stats { display: flex; gap: 28px; }
.chs-stats b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.chs-stats span { font-size: 12.5px; color: #52525b; }
.chs-filters { display: inline-flex; padding: 4px; border-radius: 999px; background: #f4f4f5; gap: 2px; flex-wrap: wrap; }
.chs-filters button { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 700; color: #3f3f46; cursor: pointer; }
.chs-filters button.on { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.chs-filters em { font-style: normal; font-weight: 600; color: #a1a1aa; margin-left: 2px; }
.chs-group { margin-top: 18px; }
.chs-group-h { display: flex; align-items: baseline; gap: 8px; padding: 0 2px 10px; border-bottom: 1px solid #e4e4e7; }
.chs-group-h b { font-size: 14px; }
.chs-group-h span { font-size: 12.5px; color: #a1a1aa; }
.chs-row { border-bottom: 1px solid #f4f4f5; }
.chs-main { display: flex; align-items: center; gap: 14px; padding: 14px 2px; }
.chs-date { width: 44px; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.chs-date em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #52525b; }
.chs-date b { font-size: 21px; font-weight: 800; }
.chs-date span { font-size: 11px; color: #71717a; }
.chs-faces { display: flex; flex: none; }
.chs-faces .chs-av + .chs-av { margin-left: -8px; }
.chs-av { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; flex: none; display: grid; place-items: center; background: #e4e4e7; font-size: 11px; font-weight: 800; border: 2px solid #fff; box-sizing: content-box; }
.chs-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chs-txt b { font-size: 15px; }
.chs-txt b.nosub { color: #a1a1aa; font-weight: 650; }
.chs-txt > span { font-size: 13px; color: #52525b; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.chs-txt i { width: 7px; height: 7px; border-radius: 999px; display: inline-block; }
.chs-right { display: flex; align-items: center; gap: 8px; flex: none; }
.chs-pill { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.chs-pill:hover { border-color: #0a0a0a; }
.chs-add { border: 0; background: transparent; font-size: 12.5px; font-weight: 650; color: #52525b; cursor: pointer; }
.chs-notes { height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: #f4f4f5; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.chs-notes svg { width: 13px; height: 13px; }
.chs-chev { width: 30px; height: 30px; border: 0; background: transparent; border-radius: 999px; display: grid; place-items: center; color: #71717a; cursor: pointer; }
.chs-chev:hover, .chs-chev.on { background: #f4f4f5; }
.chs-detail { margin: 0 0 14px 58px; padding: 16px; border-radius: 16px; background: #fafafa; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .chs-detail { grid-template-columns: 1fr; margin-left: 0; } .chs-right .chs-add { display: none; } }
.chs-detail > div { display: flex; flex-direction: column; gap: 8px; }
.chs-who { display: flex; align-items: center; gap: 10px; }
.chs-who > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.chs-who b { font-size: 13.5px; }
.chs-who span span { font-size: 12px; color: #71717a; }
.chs-in { font-size: 11.5px; font-weight: 700; color: #047857; }
.chs-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.intro-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: #ecfeff; color: #0e7490; font-size: 12px; font-weight: 700; }
.intro-badge svg { width: 13px; height: 13px; }
.intro-note { display: flex; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px dashed #67e8f9; background: #ecfeff; }
.intro-note-k { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 750; color: #0e7490; }
.intro-note-k svg { width: 12px; height: 12px; }
.intro-note p { margin: 4px 0 0; font-size: 13.5px; color: #27272a; }
.disc-why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.disc-why-chip { height: 24px; padding: 0 9px; border-radius: 999px; background: #f4f4f5; color: #27272a; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; }
.disc-why-chip.free { background: #ecfdf5; color: #047857; }
.disc-why-chip.intro { background: #ecfeff; color: #0e7490; }
.disc-why-chip.new { background: #fef3c7; color: #92400e; }
.disc-why { justify-content: flex-start; }

/* Public link / profile states */
.req-link-empty { max-width: 560px; margin: 80px auto; padding: 0 16px; text-align: center; }
.req-link-empty h1 { font-size: 28px; margin: 0 0 8px; }
.pub-profile .req-link-top { max-width: 1100px; margin: 0 auto; }
.pub-cta { display: flex; justify-content: center; padding: 8px 16px 0; }
.req-link-top .brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------------------------------------------------------------------------
   Phones (<= 760px). Everything here is scoped to small screens so desktop is unchanged.
   --------------------------------------------------------------------------- */
.m-pane-switch { display: none; }
@media (max-width: 760px) {
  .proto { display: none; }
  .app-head { top: 0; padding: 8px 12px; gap: 6px 8px; }
  .app-head .brand { order: 1; }
  .app-head .me-wrap { order: 2; }
  .app-head .tabs { order: 3; width: 100%; flex-wrap: nowrap; gap: 2px; }
  .app-head .tabs button { flex: 1 1 0; justify-content: center; padding: 0 8px; height: 38px; }
  .main { padding: 16px 14px 40px; }

  /* Loops: page scrolls normally; one pane at a time */
  html.inbox-lock, body.inbox-lock { overflow: visible !important; height: auto; }
  .inbox { height: auto; max-height: none; overflow: visible; padding: 8px 10px 12px; }
  .m-pane-switch { display: flex; margin: 0 0 8px; }
  .m-pane-switch button { height: 34px; font-size: 13.5px; }
  .inbox-frame { flex-direction: column; flex-wrap: nowrap; overflow: visible; height: auto; gap: 10px; }
  .inbox.m-pane-chat .inbox-frame > .col-cal { display: none; }
  .inbox.m-pane-cal .inbox-frame > .col-stack,
  .inbox.m-pane-cal .inbox-frame > .col-booking { display: none; }
  .inbox-split .col-stack, .inbox-split .col-cal, .booking-hours-mode .col-booking, .booking-hours-mode .col-cal {
    flex: none; width: 100%; max-width: none; min-width: 0;
    height: calc(100vh - 160px); height: calc(100dvh - 160px); min-height: 420px;
  }
  .booking-hours-mode .col-booking { height: auto; min-height: 0; overflow: visible; }

  /* Chat grows with its content; the page scrolls and the composer stays on screen */
  .inbox-split .col-stack { height: auto; min-height: calc(100vh - 160px); min-height: calc(100dvh - 160px); overflow: visible; }
  .inbox-split .col-stack .msg-scroll,
  .inbox-split .col-stack .thread-scroll { overflow: visible !important; flex: none !important; max-height: none !important; min-height: 0; }
  .inbox-split .col-stack .composer { position: sticky; bottom: 0; z-index: 3; background: #fff; border-radius: 0 0 16px 16px; }
  .chat-head { flex-wrap: wrap; }
  /* Whole week fits the screen width */
  .cal-grid, .grid-head { min-width: 0 !important; }
  .legend-via { font-size: 12px; gap: 4px 10px; }
  .cal-bar { gap: 8px; }
  .dayhead b { font-size: 10px; }
  .dayhead .date { font-size: 15px; }

  /* Discover cards stay inside the screen */
  .disc-mvp-grid, .disc-radar-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .disc-mvp-card { min-width: 0; padding: 14px; }
  .disc-mvp-photo { width: 72px; height: 72px; }

  /* Profile editor top bar on one row */
  .pe-top { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .pe-top h1, .pe-top strong, .pe-top .grow { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .pe-top .btn { padding: 0 12px; white-space: nowrap; font-size: 13px; }

  .bh-cal-tools, .bh-cal-hours { flex-wrap: wrap; gap: 8px; }

  /* Circle tabs fit on one line */
  .cv-tabs button, .cv-tab { white-space: nowrap; font-size: 13px; padding-left: 10px; padding-right: 10px; }
}

/* ---------------------------------------------------------------------------
   Loops chat (rebuilt): Slack-style messages, reactions, emoji picker, composer
   --------------------------------------------------------------------------- */
.sk-msg { position: relative; padding: 6px 16px; border-radius: 0; }
.sk-msg:not(.cont) { padding-top: 10px; }
.sk-msg:hover, .sk-msg.picking { background: #fafafa; }
.sk-msg.cont .msg-av { visibility: visible; }
.msg-hover-time { display: none; color: #a1a1aa; font-size: 10.5px; line-height: 22px; text-align: right; width: 32px; white-space: nowrap; }
.sk-msg.cont:hover .msg-hover-time { display: block; }
.sk-msg.pending .msg-text { opacity: 0.55; }
.msg-failed { color: #be123c; font-size: 12px; font-weight: 650; }
.msg-deleted { margin: 2px 0 0; color: #a1a1aa; font-style: italic; font-size: 13.5px; }
.msg-text { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: #18181b; overflow-wrap: anywhere; }
.msg-text code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; background: #f4f4f5; border: 1px solid #e4e4e7; border-radius: 5px; padding: 1px 4px; color: #be123c; }
.msg-text pre { margin: 6px 0 2px; padding: 10px 12px; background: #fafafa; border: 1px solid #e4e4e7; border-radius: 10px; overflow-x: auto; }
.msg-text pre code { background: none; border: 0; padding: 0; color: #18181b; white-space: pre; }
.msg-text ul { margin: 4px 0; padding-left: 20px; }
.msg-text a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.msg-text.big-emoji { font-size: 34px; line-height: 1.2; }
.msg-older { align-self: center; margin: 8px auto; border: 1px solid #e4e4e7; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 650; color: #52525b; cursor: pointer; }
.msg-loading { text-align: center; padding: 24px 16px; }

.msg-acts {
  position: absolute; top: -14px; right: 16px; z-index: 4; display: none; gap: 2px; padding: 3px;
  background: #fff; border: 1px solid #e4e4e7; border-radius: 10px; box-shadow: 0 4px 14px rgba(10,10,10,0.08);
}
.sk-msg:hover .msg-acts, .sk-msg.picking .msg-acts { display: flex; }
.msg-acts button {
  width: 30px; height: 28px; border: 0; background: transparent; border-radius: 7px; display: grid; place-items: center;
  font-size: 15px; cursor: pointer; color: #52525b;
}
.msg-acts button:hover { background: #f4f4f5; }
.msg-acts svg { width: 16px; height: 16px; }

.rx-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.rx {
  height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid #e4e4e7; background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: #3f3f46;
}
.rx b { font-size: 11.5px; font-weight: 700; }
.rx:hover { border-color: #a1a1aa; }
.rx.mine { background: #eef2ff; border-color: #a5b4fc; color: #3730a3; }
.rx-add { padding: 0 6px; color: #71717a; opacity: 0; transition: opacity 0.12s; }
.rx-add svg { width: 14px; height: 14px; }
.sk-msg:hover .rx-add { opacity: 1; }

.emoji-pop {
  position: absolute; z-index: 30; width: 296px; background: #fff; border: 1px solid #e4e4e7; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10,10,10,0.16); padding: 8px;
}
.emoji-pop.for-msg { top: 18px; right: 16px; }
.emoji-pop.for-composer { bottom: calc(100% - 4px); left: 12px; }
.emoji-tabs { display: flex; gap: 2px; padding-bottom: 6px; border-bottom: 1px solid #f4f4f5; margin-bottom: 6px; }
.emoji-tabs button { width: 34px; height: 30px; border: 0; background: transparent; border-radius: 8px; font-size: 17px; cursor: pointer; }
.emoji-tabs button.on { background: #f4f4f5; }
.emoji-tabs .emoji-x { margin-left: auto; color: #71717a; display: grid; place-items: center; }
.emoji-tabs .emoji-x svg { width: 14px; height: 14px; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 200px; overflow-y: auto; }
.emoji-grid .emo { height: 32px; border: 0; background: transparent; border-radius: 8px; font-size: 20px; cursor: pointer; padding: 0; }
.emoji-grid .emo:hover { background: #f4f4f5; }

.sk-composer { position: relative; border-top: 1px solid var(--line-soft); padding: 10px 12px 12px; display: block; }
.sk-box {
  border: 1px solid #d4d4d8; border-radius: 12px; background: #fff; display: flex; flex-direction: column;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.sk-box:focus-within { border-color: #71717a; box-shadow: 0 0 0 3px rgba(10,10,10,0.05); }
.sk-tools { display: flex; align-items: center; gap: 2px; padding: 4px 6px; background: #fafafa; border-bottom: 1px solid #f4f4f5; border-radius: 12px 12px 0 0; }
.sk-tools button {
  width: 28px; height: 26px; border: 0; background: transparent; border-radius: 6px; color: #52525b; cursor: pointer;
  display: grid; place-items: center; font-size: 13px; padding: 0;
}
.sk-tools button:hover { background: #ececee; color: #0a0a0a; }
.sk-tools svg { width: 15px; height: 15px; }
.sk-tools code { font-size: 11px; font-family: ui-monospace, Menlo, monospace; }
.sk-sep { width: 1px; height: 16px; background: #e4e4e7; margin: 0 4px; }
.sk-composer textarea {
  width: 100%; border: 0; outline: 0; resize: none; padding: 10px 12px 4px; min-height: 40px; max-height: 220px;
  font: inherit; font-size: 14px; line-height: 1.45; background: transparent; box-shadow: none;
}
.sk-bottom { display: flex; align-items: center; gap: 4px; padding: 4px 6px 6px; }
.sk-bottom .grow { flex: 1; }
.sk-ico { width: 30px; height: 30px; border: 0; background: transparent; border-radius: 8px; display: grid; place-items: center; color: #52525b; cursor: pointer; }
.sk-ico:hover { background: #f4f4f5; }
.sk-ico svg { width: 17px; height: 17px; }
.sk-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid #e4e4e7; background: #fff; font-size: 12.5px; font-weight: 650; color: #3f3f46; cursor: pointer;
}
.sk-chip svg { width: 14px; height: 14px; }
.sk-hint { color: #a1a1aa; font-size: 11px; margin-right: 6px; }
.sk-send {
  width: 34px; height: 30px; border: 0; border-radius: 8px; background: #e4e4e7; color: #a1a1aa; display: grid; place-items: center; cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.sk-send svg { width: 16px; height: 16px; }
.sk-send.ready { background: #0a0a0a; color: #fff; }

/* Group faces (two overlapping avatars) */
.grp-face { position: relative; display: inline-block; width: 40px; height: 40px; flex: none; }
.grp-face > img, .grp-face > span {
  position: absolute; width: 28px; height: 28px; border-radius: 999px; object-fit: cover; border: 2px solid #fff;
  background: #e4e4e7; display: grid; place-items: center; font-size: 10px; font-weight: 750; color: #3f3f46;
}
.grp-face > :first-child { top: 0; left: 0; }
.grp-face > :nth-child(2) { bottom: 0; right: 0; }
.grp-face.one > :first-child { width: 100%; height: 100%; }
.grp-face svg { width: 16px; height: 16px; }
.loops-rail-face .grp-face { width: 100%; height: 100%; }
.loops-unread {
  float: right; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #0a0a0a; color: #fff;
  font-style: normal; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; margin-left: 6px;
}
.loops-row.is-unread b { font-weight: 800; }
.loops-row.is-unread .snip { color: #18181b; }
.loops-rail-av i.unread { background: #0a0a0a; }
.grp-add { margin: 8px 12px; padding: 12px; border: 1px solid #e4e4e7; border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow: auto; }
.grp-add-h { display: flex; justify-content: space-between; align-items: center; }
.drop-item.danger { color: #be123c; }
.chat-head .menu-wrap { position: relative; }
.chat-head .drop-menu { right: 0; left: auto; }
@media (max-width: 760px) {
  .sk-hint { display: none; }
  /* Touch: long-press a message to react */
  .sk-msg:hover .msg-acts { display: none; }
  .sk-msg.picking .msg-acts { display: flex; top: -18px; right: 8px; }
  .emoji-pop { width: min(296px, calc(100vw - 40px)); }
  .emoji-pop.for-msg { right: 8px; }
}
.sk-chip { white-space: nowrap; flex: none; }
.sk-hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.sk-bottom .grow { flex: 1 1 0; min-width: 0; }
@container (max-width: 380px) { .sk-hint { display: none; } }
.inbox-chat-pane { container-type: inline-size; }
.chat-head .grow { min-width: 0; }
.chat-head .grow strong, .chat-head .grow .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .chat-head { flex-wrap: nowrap; gap: 8px; padding: 10px 12px; }
  .chat-head .btn.ghost.slim { padding: 0 10px; font-size: 12.5px; flex: none; }
  .chat-head .avatar, .chat-head .grp-face { width: 34px; height: 34px; flex: none; }
}
