/* NovaConnect Self-Booking — styles.
   Uses OfficeTrack design tokens via colors_and_type.css. */

* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--ot-font-sans);
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(159,149,227,.18), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(26,79,232,.10), transparent 60%),
    var(--ot-gray-25);
  color: var(--ot-fg-1);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ───── stage layout ───── */
.nc-stage {
  display: grid;
  grid-template-columns: minmax(440px, 560px) minmax(0, 1fr);
  gap: 56px;
  padding: 48px 56px 64px;
  max-width: 1480px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 1100px) {
  .nc-stage { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px; }
}
.nc-stage-left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.nc-stage-right { padding-top: 16px; min-width: 0; }

.nc-eyebrow-stage {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nc-stage-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ot-navy-900);
  line-height: 1.05;
}
.nc-stage-h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 6px 0 8px;
  color: var(--ot-navy-900);
}
.nc-stage-sub, .nc-stage-blurb {
  color: var(--ot-fg-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 520px;
  margin: 0;
}
.nc-stage-blurb code {
  font-family: var(--ot-font-mono);
  font-size: 13px;
  background: rgba(15,15,20,.06);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ot-navy-700);
}

/* ───── phone frame ───── */
.nc-phone {
  margin-top: 8px;
  align-self: center;
  animation: ncPhoneIn .55s var(--ot-ease-emphasized, cubic-bezier(.2,.8,.2,1));
}
@keyframes ncPhoneIn {
  from { transform: translateY(8px) scale(.985); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.nc-phone-bezel {
  width: 392px;
  height: 800px;
  background: #0F0F14;
  border-radius: 50px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 30px 70px rgba(15,30,80,.22),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 0 2px #2A2A36;
}
.nc-phone-screen {
  position: absolute; inset: 12px;
  background: var(--ot-white);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nc-phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  width: 110px; height: 28px;
  background: #0F0F14;
  border-radius: 16px;
  transform: translateX(-50%);
  z-index: 50;
}
.nc-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 130px;
  height: 5px;
  background: rgba(0,0,0,.35);
  border-radius: 4px;
  transform: translateX(-50%);
  z-index: 50;
}

/* ───── status bar ───── */
.nc-statusbar {
  height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px 0 26px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  z-index: 1;
  letter-spacing: -.01em;
}
.nc-sb-time { justify-self: start; }
.nc-sb-icons { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nc-sb-notch { width: 100px; height: 28px; }

/* ───── header ───── */
.nc-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; background: #fff; }
.nc-header {
  padding: 10px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 2;
  transition: background .25s ease;
}
.nc-header-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nc-logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15,31,85,.12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-header-titles { display: flex; flex-direction: column; min-width: 0; }
/* Mobile-app surface: navy chrome on the lavender header (per design system). */
.nc-header-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--ot-navy-700);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.nc-header-status {
  font-size: 11px;
  color: rgba(14,31,85,.78);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.nc-online-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #5DB85D;
  box-shadow: 0 0 0 2px rgba(93,184,93,.25);
}

/* ───── language switcher ───── */
.nc-lang-wrap { position: relative; flex: none; }
.nc-lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255,255,255,.85);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--ot-navy-900);
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.nc-lang-trigger:hover { background: #fff; }
.nc-lang-scrim { position: absolute; inset: -200vh; z-index: 50; }
.nc-lang-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 51;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--ot-shadow-3);
  padding: 6px;
  min-width: 180px;
  animation: ncPop .18s var(--ot-ease-standard);
}
[dir="rtl"] .nc-lang-pop { right: auto; left: 0; }
@keyframes ncPop {
  from { opacity: 0; transform: translateY(-4px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.nc-lang-opt {
  display: grid;
  grid-template-columns: 36px 1fr 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 8px 8px;
  border-radius: 8px;
  font: inherit;
  text-align: start;
  cursor: pointer;
  color: var(--ot-fg-1);
}
.nc-lang-opt:hover { background: var(--ot-gray-50); }
.nc-lang-opt.active { background: rgba(26,79,232,.06); }
.nc-lang-code { font-weight: 800; font-size: 12px; letter-spacing: .04em; color: var(--ot-cobalt-500); }
.nc-lang-name { font-size: 13px; }

/* ───── chat scroll ───── */
.nc-chat-scroll {
  flex: 1;
  overflow-y: auto;
  background: var(--ot-bg-canvas);
  position: relative;
}
.nc-chat-scroll::-webkit-scrollbar { width: 0; }
.nc-chat-inner {
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ───── greeting card ───── */
.nc-greeting {
  background: #fff;
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: var(--ot-shadow-2);
  border: 1px solid var(--ot-border-subtle);
  animation: ncIn .35s var(--ot-ease-emphasized);
}
@keyframes ncIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.nc-greeting-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.nc-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nc-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.nc-pill-progress { background: rgba(2,117,216,.10); color: #0275D8; }

.nc-greeting-line {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ot-fg-1);
  text-wrap: pretty;
}
.nc-greeting-strong { font-weight: 700; color: var(--ot-navy-900); }
.nc-greeting-text { color: var(--ot-fg-2); }
.nc-greeting-hi {
  font-weight: 800;
  color: var(--ot-navy-900);
}

.nc-tech-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ot-border-subtle);
}
.nc-tech-avatar {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #CFC8F0, #9F95E3);
  color: var(--ot-navy-700);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex: none;
  position: relative;
}
.nc-tech-online {
  position: absolute;
  bottom: -1px; right: -1px;
  width: 11px; height: 11px;
  border-radius: 999px;
  border: 2px solid #fff;
}
[dir="rtl"] .nc-tech-online { right: auto; left: -1px; }
.nc-tech-info { flex: 1; min-width: 0; }
.nc-tech-name { font-weight: 700; color: var(--ot-navy-900); font-size: 14px; }
.nc-tech-role { color: var(--ot-fg-3); font-size: 12px; }
.nc-tech-actions { display: flex; gap: 6px; flex: none; }
.nc-icon-btn {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--ot-border-soft);
  background: #fff;
  color: var(--ot-navy-700);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.nc-icon-btn:hover { background: var(--ot-gray-50); }

/* ETA inside greeting */
.nc-eta {
  margin-top: 12px;
  background: var(--ot-gray-50);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 110px 1fr;
}
.nc-eta-map { height: 60px; background: #EAEEF6; }
.nc-eta-info { padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; }
.nc-eta-title { font-weight: 700; font-size: 13px; color: var(--ot-navy-900); }
.nc-eta-sub { font-size: 11px; color: var(--ot-fg-3); margin-top: 2px; }
.nc-card-wrap { animation: ncIn .35s var(--ot-ease-emphasized); }

/* ───── chat messages ───── */
.nc-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
  animation: ncMsgIn .32s var(--ot-ease-emphasized);
}
@keyframes ncMsgIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
.nc-msg-me { justify-content: flex-end; }
.nc-msg-avatar {
  width: 26px; height: 26px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  margin-bottom: 2px;
}
.nc-bubble {
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.4;
  max-width: 78%;
  word-wrap: break-word;
  box-shadow: var(--ot-shadow-1);
}
.nc-bubble-ai {
  background: #fff;
  color: var(--ot-fg-1);
  border-bottom-left-radius: 6px;
  border: 1px solid var(--ot-border-subtle);
}
[dir="rtl"] .nc-bubble-ai { border-bottom-left-radius: 16px; border-bottom-right-radius: 6px; }
.nc-bubble-me {
  color: #fff;
  border-bottom-right-radius: 6px;
}
[dir="rtl"] .nc-bubble-me { border-bottom-right-radius: 16px; border-bottom-left-radius: 6px; }

/* minimal style */
.nc-msg-min { padding: 4px 0; }
.nc-msg-min-author {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ot-fg-3);
  margin-bottom: 2px;
}
.nc-msg-min-body { font-size: 14.5px; color: var(--ot-fg-1); line-height: 1.45; }

/* typing dots */
.nc-typing { padding: 12px 14px; display: flex; gap: 4px; align-items: center; }
.nc-typing span {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--ot-gray-400);
  animation: ncDot 1.1s infinite ease-in-out;
}
.nc-typing span:nth-child(2) { animation-delay: .15s; }
.nc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ncDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* ───── slot cards ───── */
.nc-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 34px;
}
[dir="rtl"] .nc-cards-stack { margin-left: 0; margin-right: 34px; }
.nc-slot-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--ot-border-subtle);
  box-shadow: var(--ot-shadow-1);
  padding: 11px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font: inherit;
  text-align: start;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.nc-slot-card:hover {
  border-color: var(--brand);
  box-shadow: 0 2px 12px rgba(15,30,80,.10);
  transform: translateY(-1px);
}
.nc-slot-card:active { transform: scale(.98); }
.nc-slot-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(159,149,227,.16);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-slot-body { min-width: 0; }
.nc-slot-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ot-fg-3);
}
.nc-slot-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--ot-navy-900);
  margin-top: 1px;
  letter-spacing: -.005em;
}
.nc-slot-meta { display: flex; align-items: center; gap: 8px; flex: none; }
.nc-slot-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ot-lavender-50);
  color: var(--ot-navy-700);
  letter-spacing: .04em;
}
.nc-slot-chev { color: var(--ot-gray-400); }
[dir="rtl"] .nc-chev-poly { transform: scaleX(-1); transform-origin: center; }

/* ───── option cards ───── */
.nc-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 34px;
}
[dir="rtl"] .nc-options { margin-left: 0; margin-right: 34px; }
.nc-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--ot-border-subtle);
  border-radius: 12px;
  cursor: pointer;
  text-align: start;
  font: inherit;
  transition: transform .12s ease, border-color .15s ease;
}
.nc-option:hover { border-color: var(--ot-lavender-400); transform: translateY(-1px); }
.nc-option:active { transform: scale(.98); }
.nc-option-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-option-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nc-option-label { font-weight: 700; color: var(--ot-navy-900); font-size: 14px; }
.nc-option-meta { font-size: 12px; color: var(--ot-fg-3); }

/* ───── confirm card ───── */
.nc-confirm {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--ot-border-subtle);
  box-shadow: var(--ot-shadow-2);
  margin-left: 34px;
  padding: 12px 14px;
  animation: ncIn .35s var(--ot-ease-emphasized);
}
[dir="rtl"] .nc-confirm { margin-left: 0; margin-right: 34px; }
.nc-confirm-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ot-fg-3);
  margin-bottom: 8px;
}
.nc-confirm-rows {
  display: flex; flex-direction: column;
  border-radius: 10px;
  background: var(--ot-gray-50);
  overflow: hidden;
  margin-bottom: 12px;
}
.nc-confirm-row {
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--ot-border-subtle);
  align-items: baseline;
}
.nc-confirm-row:last-child { border-bottom: 0; }
.nc-confirm-label { color: var(--ot-fg-3); font-weight: 600; flex: none; }
.nc-confirm-value { color: var(--ot-navy-900); font-weight: 700; text-align: end; }
.nc-confirm-actions { display: flex; gap: 8px; }

.nc-btn {
  flex: 1;
  padding: 11px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  letter-spacing: -.005em;
  transition: transform .12s ease, opacity .15s ease;
}
.nc-btn:active { transform: scale(.97); }
.nc-btn-primary { color: #fff; }
.nc-btn-primary:hover { filter: brightness(1.05); }
.nc-btn-secondary {
  background: var(--ot-gray-100);
  color: var(--ot-navy-900);
}
.nc-btn-secondary:hover { background: var(--ot-gray-200); }
.nc-btn-ghost {
  flex: 0;
  background: #fff;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
}

/* ───── success card ───── */
.nc-success {
  background: #fff;
  border-radius: 14px;
  margin-left: 34px;
  border: 1px solid var(--ot-border-subtle);
  box-shadow: var(--ot-shadow-2);
  padding: 14px;
  animation: ncIn .35s var(--ot-ease-emphasized);
}
[dir="rtl"] .nc-success { margin-left: 0; margin-right: 34px; }
.nc-success-head { display: flex; gap: 12px; align-items: flex-start; }
.nc-success-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-success-titles { flex: 1; min-width: 0; }
.nc-success-title { font-size: 14px; font-weight: 800; color: var(--ot-navy-900); }
.nc-success-body { font-size: 14px; color: var(--ot-fg-2); margin-top: 2px; line-height: 1.4; }
.nc-success-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--ot-border-subtle);
  font-size: 12px;
  color: var(--ot-fg-3);
  line-height: 1.4;
}
.nc-success-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
}

/* ───── suggestion chips ───── */
.nc-suggestions {
  padding: 8px 14px 0;
  display: flex; flex-wrap: wrap; gap: 6px;
  animation: ncIn .4s var(--ot-ease-emphasized);
}
.nc-chip {
  background: #fff;
  border: 1px solid var(--ot-border-subtle);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ot-navy-900);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s, transform .12s;
}
.nc-chip:hover { border-color: var(--ot-lavender-400); transform: translateY(-1px); }
.nc-chip-icon { display: inline-flex; }

.nc-powered {
  padding: 14px 14px 12px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ot-fg-4);
}

/* ───── composer ───── */
.nc-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 14px;
  background: #fff;
  border-top: 1px solid var(--ot-border-subtle);
}
.nc-comp-icon, .nc-comp-mic, .nc-comp-send {
  width: 38px; height: 38px;
  flex: none;
  border: 0;
  background: var(--ot-gray-50);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.nc-comp-mic { background: var(--ot-lavender-50); }
.nc-comp-send {
  background: var(--ot-lavender-400);
}
.nc-comp-input {
  flex: 1;
  background: var(--ot-gray-50);
  border-radius: 999px;
  padding: 0 14px;
  display: flex;
  align-items: center;
}
.nc-comp-input input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  font: inherit;
  font-size: 14.5px;
  height: 38px;
  color: var(--ot-fg-1);
}
.nc-comp-input input::placeholder { color: var(--ot-fg-4); }

/* ───── voice sheet ───── */
.nc-voice {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 30;
}
.nc-voice.open { pointer-events: auto; }
.nc-voice-scrim {
  position: absolute; inset: 0;
  background: rgba(15,15,20,.45);
  opacity: 0;
  transition: opacity .25s;
}
.nc-voice.open .nc-voice-scrim { opacity: 1; }
.nc-voice-card {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 22px 22px 28px;
  transform: translateY(110%);
  transition: transform .3s var(--ot-ease-emphasized);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.nc-voice.open .nc-voice-card { transform: none; }
.nc-voice-orb {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 999px;
  background: var(--ot-lavender-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.nc-voice-orb span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--brand);
  opacity: .25;
  animation: ncRing 2.4s infinite;
}
.nc-voice-orb span:nth-child(2) { animation-delay: .8s; }
.nc-voice-orb span:nth-child(3) { animation-delay: 1.6s; }
@keyframes ncRing {
  0% { transform: scale(.8); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}
.nc-voice-title { font-weight: 800; font-size: 16px; color: var(--ot-navy-900); }
.nc-voice-mock { font-size: 14px; color: var(--ot-fg-1); }
.nc-voice-hint { font-size: 12px; color: var(--ot-fg-3); }
.nc-voice-actions { display: flex; gap: 8px; align-self: stretch; margin-top: 6px; }

/* ───── SMS push preview ───── */
.nc-sms {
  position: absolute;
  top: 50px;
  left: 12px; right: 12px;
  z-index: 60;
  pointer-events: none;
}
.nc-sms.show .nc-sms-card { transform: translateY(0); opacity: 1; }
.nc-sms-card {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 8px 30px rgba(15,30,80,.18);
  border: 1px solid rgba(255,255,255,.7);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform .35s var(--ot-ease-emphasized), opacity .25s;
  pointer-events: auto;
  cursor: pointer;
}
.nc-sms-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-sms-body { flex: 1; min-width: 0; }
.nc-sms-row { display: flex; justify-content: space-between; gap: 8px; }
.nc-sms-from { font-size: 12px; font-weight: 800; color: var(--ot-navy-900); }
.nc-sms-time { font-size: 11px; color: var(--ot-fg-4); }
.nc-sms-text { font-size: 13px; color: var(--ot-fg-1); margin-top: 1px; line-height: 1.35; }
.nc-sms-link {
  font-size: 11px;
  color: var(--ot-cobalt-500);
  margin-top: 2px;
  font-family: var(--ot-font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ───── demo controls ───── */
.nc-demo {
  width: 392px;
  align-self: center;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--ot-border-subtle);
  box-shadow: var(--ot-shadow-2);
}
.nc-demo-head { margin-bottom: 10px; }
.nc-demo-title { font-weight: 800; font-size: 14px; color: var(--ot-navy-900); }
.nc-demo-sub { font-size: 12px; color: var(--ot-fg-3); margin-top: 2px; }
.nc-demo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nc-demo-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 10px;
  background: var(--ot-gray-50);
  border: 1px solid var(--ot-border-subtle);
  border-radius: 10px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ot-navy-900);
  cursor: pointer;
  text-align: start;
  transition: border-color .15s, background .15s;
}
.nc-demo-btn:hover { border-color: var(--brand); background: #fff; }
.nc-demo-num {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--brand, var(--ot-lavender-400));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-demo-reset {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 0;
  color: var(--ot-fg-3);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.nc-demo-reset:hover { color: var(--ot-navy-700); }
.nc-demo-hint { font-size: 11px; color: var(--ot-fg-4); margin-top: 4px; }

/* ───── mini-phone grid ───── */
.nc-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 720px) { .nc-mini-grid { grid-template-columns: 1fr 1fr; } }
.nc-mini-wrap {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: start;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s;
}
.nc-mini-wrap:hover { transform: translateY(-2px); }
.nc-mini-wrap.active .nc-mini { box-shadow: 0 0 0 2px var(--ot-cobalt-500), 0 12px 32px rgba(15,30,80,.16); }
.nc-mini {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ot-shadow-2);
  border: 1px solid var(--ot-border-subtle);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
  height: 360px;
}
.nc-mini-bar {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ot-navy-900);
}
.nc-mini-logo {
  width: 18px; height: 18px;
  background: rgba(255,255,255,.85);
  border-radius: 5px;
  flex: none;
}
.nc-mini-brand { font-size: 11px; font-weight: 800; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nc-mini-lang {
  font-size: 9px;
  font-weight: 800;
  background: rgba(255,255,255,.8);
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.nc-mini-greet {
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid var(--ot-border-subtle);
}
.nc-mini-eyebrow { font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nc-mini-title { font-size: 11px; line-height: 1.3; color: var(--ot-fg-1); margin-top: 3px; }
.nc-mini-tech { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.nc-mini-avatar {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #CFC8F0, #9F95E3);
  color: var(--ot-navy-700);
  font-size: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.nc-mini-tech-name { font-size: 10px; font-weight: 700; }
.nc-mini-msg { padding: 6px 10px 0; }
.nc-mini-bub { font-size: 10px; color: var(--ot-fg-1); padding: 6px 8px; border-radius: 8px; max-width: 90%; line-height: 1.3; }
.nc-mini-me { display: flex; justify-content: flex-end; }
.nc-mini-bub-me { font-size: 10px; color: #fff; padding: 6px 8px; border-radius: 8px; max-width: 75%; line-height: 1.3; }
.nc-mini-slot {
  margin: 6px 10px 0;
  background: #fff;
  border: 1px solid var(--ot-border-subtle);
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.nc-mini-slot-time { font-size: 10px; font-weight: 700; color: var(--ot-navy-900); }
.nc-mini-slot-label { font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ot-fg-3); }
.nc-mini-slot-badge { font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: var(--ot-lavender-50); color: var(--ot-navy-700); letter-spacing: .04em; white-space: nowrap; }
.nc-mini-composer {
  margin: auto 8px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ot-gray-50);
  border-radius: 999px;
  padding: 4px 10px;
}
.nc-mini-input { font-size: 10px; color: var(--ot-fg-4); flex: 1; }
.nc-mini-mic { font-size: 10px; }
.nc-mini-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 6px;
  font-size: 9px;
  font-weight: 700;
  color: var(--ot-fg-3);
  letter-spacing: .04em;
}
.nc-mini-flag { color: var(--ot-cobalt-500); }
.nc-mini-dir {
  background: var(--ot-gray-100);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
}

.nc-mini-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}
.nc-mini-cap-code { font-weight: 800; font-size: 12px; letter-spacing: .04em; color: var(--ot-navy-700); }
.nc-mini-cap-name { font-size: 12px; color: var(--ot-fg-3); flex: 1; }
.nc-mini-cap-dot { width: 8px; height: 8px; border-radius: 999px; }

.nc-stage-right-head { max-width: 520px; }

/* ───── ot-app: production-style layout (no demo phone frame) ─────
   Mobile-first: chat fills the viewport. On desktop, the chat is
   centered with a comfortable max-width and a subtle scaffolding. */
.ot-app {
  position: fixed; inset: 0;
  display: flex; align-items: stretch; justify-content: center;
}
.ot-app > .nc-screen {
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15,30,80,.06);
}
@media (min-width: 720px) {
  .ot-app {
    background:
      radial-gradient(1200px 600px at 18% -10%, rgba(159,149,227,.18), transparent 60%),
      radial-gradient(900px 500px at 95% 10%, rgba(26,79,232,.10), transparent 60%),
      var(--ot-gray-25);
    padding: 24px 16px;
  }
  .ot-app > .nc-screen {
    max-width: 460px;
    height: min(900px, calc(100vh - 48px));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,30,80,.14), 0 0 0 1px rgba(15,30,80,.06);
  }
}
@media (max-width: 719px) {
  body { background: #fff; }
  .ot-app > .nc-screen { box-shadow: none; }
}

/* ───── minimal markdown rendering inside AI bubbles ───── */
.nc-rt-p { margin: 0 0 6px; }
.nc-rt-p:last-child { margin-bottom: 0; }
.nc-rt-ul { margin: 4px 0 8px; padding-left: 18px; }
.nc-rt-ul:last-child { margin-bottom: 0; }
.nc-rt-ul li { margin: 2px 0; }
.nc-bubble strong { font-weight: 700; color: var(--ot-navy-900); }

/* disabled composer (auth locked) */
.nc-composer-disabled { opacity: .55; }
.nc-composer-disabled input { cursor: not-allowed; }

/* "Start over" button in the chat header */
.nc-header-reset {
  background: rgba(14,31,85,.10);
  color: var(--ot-navy-700);
  border: 0;
  width: 34px; height: 34px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.nc-header-reset:hover { background: rgba(14,31,85,.18); }
.nc-header-reset:active { background: rgba(14,31,85,.26); }

/* header actions: language toggle + reset */
.nc-header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nc-lang-toggle {
  display: flex;
  background: rgba(14,31,85,.10);
  border-radius: 999px;
  overflow: hidden;
}
.nc-lang-btn {
  border: 0; background: transparent;
  color: rgba(14,31,85,.65);
  font-weight: 700; font-size: 12px; letter-spacing: .04em;
  padding: 5px 9px; cursor: pointer;
}
.nc-lang-btn.active { background: #fff; color: var(--ot-navy-700); }

/* composer wrapper + photo upload (vision) */
.nc-composer-wrap { background: #fff; }
.nc-photo-preview {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 0;
}
.nc-photo-preview img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 8px;
}
.nc-photo-preview-label { flex: 1; font-size: 13px; color: var(--ot-fg-3); }
.nc-photo-preview-x {
  border: 0; background: var(--ot-gray-100);
  width: 24px; height: 24px; border-radius: 999px;
  font-size: 16px; line-height: 1; color: var(--ot-fg-2); cursor: pointer;
}
.nc-comp-icon-hot { animation: ncPulse 1.4s ease-in-out infinite; }
@keyframes ncPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.nc-comp-send[disabled] { cursor: default; }
.nc-comp-mic-on { animation: ncPulse 1.2s ease-in-out infinite; }

/* location confirmation sheet (Leaflet) */
.nc-sheet-scrim {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(15,18,40,.45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: ncFade .2s ease;
}
@keyframes ncFade { from { opacity: 0; } to { opacity: 1; } }
.nc-sheet {
  width: 100%; max-width: 560px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0,0,0,.18);
  animation: ncSlideUp .26s var(--ot-ease-emphasized, ease);
}
@keyframes ncSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.nc-sheet-title {
  font-size: 15px; font-weight: 700; color: var(--ot-fg-1);
  margin: 2px 2px 10px;
}
.nc-map {
  width: 100%; height: 46vh; min-height: 240px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--ot-border-subtle);
}
.nc-map-addr {
  font-size: 13px; color: var(--ot-fg-2);
  margin: 10px 2px 14px; min-height: 18px; line-height: 1.35;
}
.nc-map-addr b { color: var(--ot-fg-1); }
.nc-sheet-actions { display: flex; gap: 10px; }
.nc-sheet-actions .nc-btn { flex: 1; padding: 12px 14px; }
.leaflet-container { font: inherit; }

/* Leaflet — OfficeTrack violet chrome */
.nc-map-pin { background: none; border: 0; }
.leaflet-bar a, .leaflet-bar a:link {
  color: var(--ot-navy-700);
  border-bottom-color: var(--ot-lavender-200);
}
.leaflet-bar a:hover { background: var(--ot-lavender-50); color: var(--ot-lavender-700); }
.leaflet-control-zoom-in, .leaflet-control-zoom-out { font-weight: 700; }
.leaflet-bar { border: 1px solid var(--ot-lavender-200); }

/* available-time chips */
.nc-slotchips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 2px 0 4px 34px;
}
[dir="rtl"] .nc-slotchips { margin-left: 0; margin-right: 34px; }
.nc-slotchip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px 9px 10px;
  background: #fff;
  border: 1.5px solid var(--ot-lavender-200);
  border-radius: 13px;
  cursor: pointer; text-align: left;
  box-shadow: 0 1px 3px rgba(92,81,160,.08);
  transition: transform .12s ease, border-color .15s ease, background .15s ease;
}
.nc-slotchip:hover { border-color: var(--ot-lavender-400); background: var(--ot-lavender-50); }
.nc-slotchip:active { transform: scale(.97); }
.nc-slotchip:disabled { opacity: .55; cursor: default; }
.nc-slotchip-ic { flex: none; display: flex; }
.nc-slotchip-txt { display: flex; flex-direction: column; line-height: 1.2; }
.nc-slotchip-date { font-size: 13.5px; font-weight: 700; color: var(--ot-navy-700); }
.nc-slotchip-time { font-size: 12px; color: var(--ot-fg-3); margin-top: 1px; }
