
:root {
  --ink: #1d2733; --muted: #64707d; --line: #e2e6ec;
  --bg: #f6f7f9; --card: #ffffff; --accent: #2456d6;
  --accent-soft: #e8eefc; --ok: #177245; --ok-soft: #e5f4ec;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 14px; }

/* header / footer */
.site-head { display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 20px 24px 4px; }
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.wordmark::after { content: ''; display: block; width: 34px; height: 4px;
  border-radius: 2px; background: var(--accent); margin-top: 3px; }
.head-link { font-weight: 600; text-decoration: none; }
.site-foot { max-width: 1120px; margin: 0 auto; padding: 28px 24px 40px;
  display: flex; gap: 18px; color: var(--muted); font-size: 14px; }

/* front page */
.front { max-width: 1120px; margin: 0 auto; padding: 12px 24px 8px; }
.hero { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: 36px;
  align-items: start; padding: 28px 0 12px; }
.hero h1 { font-size: 40px; line-height: 1.12; letter-spacing: -0.02em; margin: 6px 0 14px; }
.lede { font-size: 19px; line-height: 1.5; color: #3c4754; margin: 0 0 22px; }
.signin-card { background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px; }
.signin-card h2 { margin: 0 0 8px; font-size: 19px; }
.signin-card p { margin: 0 0 14px; color: #3c4754; line-height: 1.5; }
.story, .features { max-width: 760px; padding: 26px 0 4px; }
.story h2, .features h2 { font-size: 26px; letter-spacing: -0.01em; margin: 0 0 12px; }
.story p { font-size: 17px; line-height: 1.65; color: #2c3642; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: #3c4754; line-height: 1.5; font-size: 15px; }

/* the Google button — the standard shape (white, official G) */
.google-btn { display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 999px;
  padding: 10px 20px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.google-btn[disabled] { opacity: 0.55; cursor: default; }

/* the animated desk mock */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(29, 39, 51, 0.12); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: #fbfcfd; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d6dce4; }
.mock-title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 30% 1fr 26%; min-height: 340px; }
.mock-queue { border-right: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mq-item { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mq-item strong { display: block; font-size: 13px; }
.mq-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mq-item.active { border-color: var(--accent); background: var(--accent-soft); }
.mq-badge { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 11px;
  font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 7px; }
.mock-thread { display: flex; flex-direction: column; }
.mock-thread-head { display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.mock-chip { font-size: 12px; font-weight: 600; color: var(--muted); background: #eef1f5;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.mock-chip.done { color: var(--ok); background: var(--ok-soft); }
.mock-msgs { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px;
  transition: opacity 0.45s ease; }
.mock-msgs.fading { opacity: 0; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45;
  animation: msg-in 0.35s ease; }
.msg.in { align-self: flex-start; background: #eef1f5; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { align-self: flex-start; background: #eef1f5; border-radius: 14px; padding: 10px 14px;
  display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa7b5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.mock-compose { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line);
  padding: 10px 14px; min-height: 46px; }
.mock-compose-text { flex: 1; font-size: 13.5px; color: var(--ink); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.mock-compose-text:empty::before { content: 'Answer here…'; color: var(--muted); }
.mock-send { font-size: 13px; font-weight: 700; color: #fff; background: var(--accent);
  border-radius: 999px; padding: 6px 14px; }
.mock-ctx { border-left: 1px solid var(--line); padding: 10px; }
.mock-ctx-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mock-ctx-card .ctx-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mock-ctx-card strong { display: block; font-size: 14px; }
.mock-ctx-card span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* legal page */
.legal { max-width: 680px; margin: 0 auto; padding: 32px 20px 64px; line-height: 1.6; }
.legal h1 { font-size: 28px; margin: 0 0 4px; }
.legal h2 { font-size: 19px; margin: 28px 0 6px; }
.legal .when { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* the desk shell */
.loading { max-width: 1120px; margin: 60px auto; padding: 0 24px; color: var(--muted); font-size: 17px; }
.desk-top { display: flex; align-items: center; gap: 16px; padding: 14px 22px;
  background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.desk-top .biz { font-size: 17px; }
.desk-top .biz small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.desk-top .who { margin-left: auto; text-align: right; font-size: 14px; }
.desk-top .who small { display: block; color: var(--muted); font-size: 12.5px; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: none;
  border-radius: 999px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.desk-layout { display: flex; align-items: stretch; max-width: 1400px; margin: 0 auto; }
.desk-grid { display: grid; grid-template-columns: 280px 1fr 300px; gap: 0;
  flex: 1; min-width: 0; min-height: calc(100vh - 66px); }
.pane { padding: 18px; }
.pane.queue { border-right: 1px solid var(--line); }
.pane.ctx { border-left: 1px solid var(--line); }
.pane h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.empty { color: var(--muted); line-height: 1.55; font-size: 15px;
  border: 1px dashed var(--line); border-radius: 12px; padding: 16px; background: #fbfcfd; }
.thread-head { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.compose { display: flex; align-items: center; gap: 8px; margin-top: 16px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 14px; background: #fff; }
.compose .chip { font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.compose .chip.on { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.compose input { flex: 1; border: none; outline: none; font-size: 14.5px; background: transparent; }
.compose .attach { border: none; background: none; font-size: 16px; cursor: pointer; }
.ctx-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 14px; }
.ctx-card h3 { margin: 0 0 8px; font-size: 15px; }
.ctx-card p { margin: 0 0 6px; color: #3c4754; line-height: 1.5; font-size: 14.5px; }
.ctx-card .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); margin: 12px 0 4px; }
.ctx-card .lbl:first-child { margin-top: 0; }
.status-chip { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 2px 10px; color: #8a5a00; background: #fdf0d5; }
.status-chip.live { color: var(--ok); background: var(--ok-soft); }
.big-num { font-size: 19px; font-weight: 700; }

/* sign-in / setup views on /desk */
.center-wrap { max-width: 460px; margin: 56px auto; padding: 0 20px; }
.center-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.center-card h1 { font-size: 24px; margin: 0 0 10px; }
.center-card p { color: #3c4754; line-height: 1.55; }
.field { margin: 14px 0; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 11px 12px; font-size: 15.5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.form-err { color: #b3261e; font-size: 14px; min-height: 18px; }

/* the doors bite: doors rail, queue rows, threads, team desks */
/* the doors line up as rows on the left of the desk (founder, Nov 18) */
.rail { flex: 0 0 210px; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 12px; border-right: 1px solid var(--line); }
.rail-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  border: 1px solid transparent; background: none; color: var(--ink);
  border-radius: 10px; padding: 9px 12px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; }
.rail-row:hover { background: #eef1f5; }
.rail-row.on { background: var(--accent); color: #fff; }
.rail-row .rail-name { flex: 1; line-height: 1.3; }
.rail-row .cnt { flex: none; min-width: 20px; text-align: center;
  font-size: 12px; font-weight: 700; color: #fff; background: #c2410c;
  border-radius: 999px; padding: 1px 6px; }
.rail-row.on .cnt { background: #fff; color: var(--accent); }
.door-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 999px; padding: 2px 8px; color: #fff; background: var(--muted); white-space: nowrap; }
.door-tag.squareone { background: #2456d6; }
.door-tag.helloyellow { background: #b97e00; }
.door-tag.papalearn { background: #6d4fc2; }
.door-tag.foundation { background: #177245; }
.door-tag.onedesk { background: #0e7490; }
.door-tag.demo { background: #64707d; }
.ask-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  margin-top: 14px; background: #fff; }
.ask-card h3 { margin: 0 0 6px; font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.ask-card p { margin: 0 0 10px; font-size: 13.5px; color: #3c4754; line-height: 1.5; }
.ask-card.book-card { background: linear-gradient(135deg, #ffe9c2 0%, #ffd9a1 58%, #ffecca 100%);
  border-color: #e8a33d; color: #43300b; }
.ask-card.book-card p { color: #5b4315; }
.ask-card.book-card .btn.ghost { background: #fffdf8; border-color: #d98f1f; color: #7c4d00; font-weight: 700; }
.bk-band { background: linear-gradient(135deg, #ffe9c2 0%, #ffd9a1 58%, #ffecca 100%);
  border: 1px solid #e8a33d; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; }
.bk-band .pane-title { margin: 0; color: #43300b; }
.bk-band .bk-tabs { margin-top: 10px; }
.bk-thread { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.bk-msg { font-size: 13.5px; line-height: 1.45; margin: 4px 0; }
.bk-msg .who { font-weight: 700; }
.bk-unread { background: #b3261e; color: #fff; border-radius: 999px; font-size: 11px;
  padding: 1px 7px; font-weight: 700; vertical-align: 2px; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bk-slotchip { border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit; color: var(--ink); }
.bk-slotchip.hot { background: #2456d6; border-color: #2456d6; color: #fff; }
.ct-row { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  background: none; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 4px; cursor: pointer; font-family: inherit; color: var(--ink); font-size: 14.5px; }
.ct-check { width: 19px; height: 19px; flex: none; }
.bk-tint-a { background: #ffedcb; }
.bk-tint-b { background: #e2ebfd; }
.bk-line.bk-tint-a, .bk-line.bk-tint-b { padding: 6px 10px; border-radius: 8px; }
.ask-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #c2410c; flex: none; }
.flag-chip { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px;
  padding: 2px 8px; color: #8a2b00; background: #fde8d7; white-space: nowrap; }
.qrow { display: block; width: 100%; text-align: left; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.qrow:hover { border-color: var(--accent); }
.qrow.open { border-color: var(--accent); background: var(--accent-soft); }
.qrow .qr-top { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }
.qrow .qr-who { font-weight: 700; font-size: 14.5px; }
.qrow .qr-time { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.qrow .qr-lane { font-size: 12px; color: var(--muted); }
.qrow .qr-body { font-size: 13.5px; color: #3c4754; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qrow .qr-dot { width: 9px; height: 9px; border-radius: 50%; background: #c2410c; flex: none; }
.door-note { font-size: 13.5px; color: var(--muted); border: 1px dashed var(--line);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: #fbfcfd; line-height: 1.5; }
.claim-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0 2px; }
.claim-actions .send-status { margin: 0; }
.thread-msgs { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 2px;
  max-height: calc(100vh - 330px); min-height: 180px; overflow-y: auto; }
.tmsg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.tmsg.in { align-self: flex-start; background: #eef1f5; border-bottom-left-radius: 4px; }
.tmsg.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.tmsg.note { align-self: center; background: none; color: var(--muted); font-size: 13px; text-align: center; }
.tmsg .tm-meta { display: block; font-size: 11.5px; opacity: 0.75; margin-bottom: 3px; font-weight: 600; }
.tmsg img.photo { display: block; max-width: 100%; border-radius: 10px; margin-top: 6px; }
.compose textarea { flex: 1; border: none; outline: none; font-size: 14.5px; background: transparent;
  resize: none; font-family: inherit; line-height: 1.45; max-height: 110px; }
.compose .tool-btn { border: none; background: none; font-size: 17px; line-height: 1;
  cursor: pointer; padding: 4px 3px; flex: none; }
.emoji-picker { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 8px; max-width: 352px;
  border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.emoji-picker[hidden] { display: none; }
.emoji-picker button { border: none; background: none; font-size: 19px; cursor: pointer;
  padding: 3px 5px; border-radius: 8px; line-height: 1.2; }
.emoji-picker button:hover { background: #eef1f5; }
.attach-slot:empty { display: none; }
.file-pending { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 8px 5px 12px; font-size: 13px; font-weight: 600; }
.file-pending button { border: none; background: #eef1f5; border-radius: 50%; width: 20px;
  height: 20px; cursor: pointer; font-size: 12px; line-height: 1; }
.tmsg .file-chip { display: inline-block; margin-top: 6px; padding: 6px 11px; border-radius: 9px;
  background: rgba(120, 130, 145, 0.18); color: inherit; text-decoration: none;
  font-size: 13px; font-weight: 600; }
.tmsg .file-chip:hover { text-decoration: underline; }
.send-status { font-size: 13.5px; min-height: 18px; margin-top: 8px; }
.send-status.err { color: #b3261e; }
.send-status.ok { color: var(--ok); }
.banner { border: 1px solid #f0d9a8; background: #fdf6e0; color: #6b5410; border-radius: 12px;
  padding: 10px 14px; font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.person-card { display: block; width: 100%; text-align: left; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.person-card:hover { border-color: var(--accent); }
.person-card.open { border-color: var(--accent); background: var(--accent-soft); }
.person-card .pc-name { font-weight: 700; font-size: 15px; }
.person-card .pc-title { font-size: 13px; color: var(--muted); }
.person-card .pc-counts { margin-top: 6px; font-size: 13px; color: #3c4754; }
.person-card .pc-counts strong { color: #c2410c; }
.pane-subtitle { font-size: 14.5px; margin: 16px 0 10px; }

/* the appointment book (Nov 18) */
.bk-tabs { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.bk-tab { border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.bk-tab.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.bk-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--accent-soft); }
.bk-avatar.sm { width: 26px; height: 26px; font-size: 13px; }
span.bk-avatar { display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: var(--accent); vertical-align: middle; }
.bk-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px; cursor: pointer; font-size: 15px; color: var(--ink); }
.bk-row:hover { border-color: var(--accent); }
.bk-row.gone { opacity: 0.62; }
.bk-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-row-top { font-size: 15.5px; }
.bk-row-sub { font-size: 13.5px; color: var(--muted); }
.bk-check { color: var(--ok); font-weight: 700; font-size: 13px; }
.bk-tag { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px;
  color: var(--muted); background: #eef1f5; white-space: nowrap; }
.bk-detail { border: 1px solid var(--line); border-top: none; border-radius: 0 0 12px 12px;
  padding: 4px 14px 14px; margin: -8px 0 10px; background: #fbfcfd; }
.bk-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.bk-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 16px 0; background: #fff; }
.bk-card h3 { font-size: 15px; margin: 0 0 8px; }
.bk-card.danger { border-color: #e5b4ae; }
.bk-line { display: flex; gap: 8px; align-items: center; font-size: 14.5px; margin: 7px 0; flex-wrap: wrap; }
.bk-note { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 6px 0; }
.bk-receipt { font-size: 14.5px; font-weight: 600; color: var(--ok); }
.btn.danger { background: #b3261e; }
.bk-cust { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.bk-staff { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-top: 12px; }
.bk-win { display: flex; gap: 7px; align-items: center; margin: 6px 0; flex-wrap: wrap; font-size: 14px; }
.bk-win > span:first-child { width: 36px; font-weight: 700; }
.bk-win input[type="time"] { padding: 7px 8px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink); }
.bk-closed { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 13.5px; }
.bk-addrow { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.bk-addrow input, .bk-addrow select { flex: 1 1 130px; padding: 10px 12px; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.bk-svc { display: flex; gap: 6px; margin: 7px 0; flex-wrap: wrap; align-items: center; }
.bk-svc input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14.5px; background: #fff; color: var(--ink); }
.bk-svc .bk-svc-name { flex: 1 1 150px; }
.bk-svc .bk-svc-dur { width: 76px; }
.bk-file { cursor: pointer; }
.conv-status { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.conv-status.waiting { color: #8a2b00; background: #fde8d7; }
.conv-status.answered { color: var(--ok); background: var(--ok-soft); }

/* the shop page editor (Nov 18) */
.shop-url { word-break: break-all; font-size: 13.5px; margin: 0 0 10px; }
.editor-block { margin: 20px 0; }
.editor-block h3 { font-size: 15px; margin: 0 0 10px; }
.link-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link-row input { flex: 1 1 220px; padding: 10px 12px; font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; color: var(--ink); }
.shop-pub { display: flex; gap: 9px; align-items: center; font-size: 15px; font-weight: 600;
  margin-top: 14px; cursor: pointer; }
.shop-pub input { width: 18px; height: 18px; }
.shop-day { display: flex; align-items: center; gap: 8px; margin: 7px 0; flex-wrap: wrap; }
.shop-day .dname { width: 36px; font-weight: 700; font-size: 14px; }
.shop-day .closed-lbl { display: flex; gap: 5px; align-items: center; font-size: 14px; color: var(--muted); }
.shop-day input[type="time"] { padding: 7px 8px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; background: #fff; color: var(--ink); }
.svc-row { display: flex; gap: 6px; margin: 7px 0; flex-wrap: wrap; }
.svc-row input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14.5px; background: #fff; color: var(--ink); }
.svc-row .svc-name { flex: 2 1 150px; }
.svc-row .svc-price { flex: 1 1 84px; }
.svc-row .svc-dur { flex: 0 1 78px; }
.shop-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.shop-photos:empty { display: none; }
.shop-photo { position: relative; width: 96px; height: 96px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--line); background: #eef1f5; }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-photo button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: none; border-radius: 50%; background: rgba(29, 39, 51, 0.78); color: #fff;
  font-size: 12px; line-height: 1; cursor: pointer; }
.shop-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-swatch { display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink); font-family: inherit; }
.shop-swatch .sw { width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14); flex: none; }
.shop-swatch.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .desk-layout { flex-direction: column; }
  .rail { flex: none; flex-direction: row; flex-wrap: wrap; border-right: none;
    border-bottom: 1px solid var(--line); padding: 12px; }
  .rail-row { width: auto; }
  .desk-grid { grid-template-columns: 1fr; min-height: 0; }
  .pane.queue { border-right: none; border-bottom: 1px solid var(--line); }
  .pane.ctx { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) { .mock-ctx { display: none; } .mock-body { grid-template-columns: 32% 1fr; } }
