/* After-hours AI receptionist demo (prefix rc-) */
.rc-bizbar { margin-bottom: 1rem; }
.rc-bizbar .chips { gap: .45rem; }
.rc-phone { background: var(--night); border-radius: 28px; padding: 10px; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; margin: 0 auto; box-sizing: border-box; }
.rc-screen { background: #f2efe9; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; height: 560px; }
.rc-head { background: var(--sea); color: #fff; padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; }
.rc-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font: 700 .9rem var(--display); flex: none; }
.rc-head b { display: block; font: 650 .98rem/1.2 var(--display); }
.rc-head small { display: block; opacity: .85; font-size: .78rem; }
.rc-head .rc-new { margin-left: auto; background: rgba(255,255,255,.18); color: #fff; border: 0; border-radius: 999px; padding: .4rem .7rem; font: 600 .78rem var(--body); cursor: pointer; white-space: nowrap; }
.rc-head .rc-new:hover { background: rgba(255,255,255,.3); }
.rc-msgs { flex: 1; overflow-y: auto; padding: .9rem .8rem; display: flex; flex-direction: column; gap: .5rem; scroll-behavior: smooth; }
.rc-msg { max-width: 84%; padding: .6rem .8rem; border-radius: 16px; font-size: .95rem; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; animation: rc-in .25s ease-out; }
.rc-bot { background: var(--white); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 1px rgba(14,27,42,.08); }
.rc-user { background: var(--sea); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.rc-err { align-self: stretch; max-width: none; font-size: .9rem; display: block; }
.rc-err p { margin: 0 0 .6rem; }
.rc-err .btn { display: inline-flex; }
.rc-typing { display: inline-flex; gap: 4px; padding: .8rem .9rem; }
.rc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa6b2; animation: rc-dot 1s infinite ease-in-out; }
.rc-typing span:nth-child(2) { animation-delay: .15s; }
.rc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes rc-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes rc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rc-sugg-row { display: flex; flex-wrap: wrap; gap: .4rem; padding: .5rem .7rem 0; min-height: 44px; background: #f2efe9; }
.rc-sugg { font-size: .82rem; padding: .45rem .7rem; text-align: left; line-height: 1.2; }
.rc-form { display: flex; gap: .5rem; padding: .6rem .7rem .7rem; background: #f2efe9; }
.rc-form input { flex: 1; min-width: 0; font: 1rem var(--body); padding: .65rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.rc-form input:focus-visible { outline: 2px solid var(--sea); outline-offset: 1px; }
.rc-form .btn { padding: .6rem 1rem; }
.rc-note-small { text-align: center; font-size: .78rem; color: var(--muted); margin: .7rem 0 0; }

.rc-owner h3 { font: 650 1.05rem/1.2 var(--display); margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rc-box { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); padding: .9rem 1rem; margin-bottom: .9rem; }
.rc-box > .demo-label { margin-bottom: .6rem; }
.rc-lead { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: 0; }
.rc-f { min-width: 0; }
.rc-f.rc-wide { grid-column: 1 / -1; }
.rc-f dt { font: 650 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.rc-f dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-size: .95rem; }
.rc-none { color: #5a6878; font-weight: 400; }
.rc-urg { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.rc-urg-low { background: var(--paper-2); color: var(--muted); }
.rc-urg-normal { background: var(--sea-soft); color: #075e58; }
.rc-urg-urgent { background: #fbe6e1; color: #8f2d14; }
.rc-flag { display: flex; gap: .6rem; align-items: flex-start; background: #fbe6e1; color: #8f2d14; border: 1px solid #f0b9a8; border-radius: var(--radius-sm); padding: .75rem 1rem; font-weight: 600; margin-bottom: .9rem; font-size: .93rem; }
.rc-flag[hidden] { display: none; }
.rc-flag svg { flex: none; margin-top: 2px; }
.rc-cal { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-size: .8rem; }
.rc-cal th { font: 650 .72rem/1.2 var(--body); color: var(--muted); text-align: center; padding: .15rem 0; }
.rc-cal abbr { text-decoration: none; }
.rc-cal tbody th { text-align: right; padding-right: .3rem; white-space: nowrap; width: 3.6rem; }
.rc-cal td { text-align: center; border-radius: 6px; padding: .45rem 0; font-weight: 600; }
.rc-slot-free { background: var(--sea-soft); color: #075e58; }
.rc-slot-taken { background: var(--paper-2); color: #5a6878; font-weight: 500 !important; }
.rc-slot-proposed { background: var(--sun-soft); color: var(--sun-ink); outline: 2px dashed var(--sun); outline-offset: -2px; }
.rc-slot-confirmed { background: var(--sea); color: #fff; box-shadow: 0 0 0 2px var(--sea-2); }
.rc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rc-calnote { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; }
.rc-sms { font: .84rem/1.5 var(--mono); background: #07101b; color: #b7f5ea; border-radius: var(--radius-sm); padding: .8rem 1rem; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.rc-know { margin-top: .9rem; }
.rc-know summary { cursor: pointer; font-weight: 650; padding: .3rem 0; }
.rc-know-p { font-size: .88rem; line-height: 1.5; margin: .5rem 0 0; }
@media (max-width: 520px) {
  .rc-phone { padding: 6px; border-radius: 22px; }
  .rc-screen { height: 620px; border-radius: 17px; }
  .rc-head { padding: .65rem .8rem; }
  .rc-sugg-row { min-height: 0; }
  .rc-lead { grid-template-columns: 1fr; }
  .rc-msg { max-width: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-msg, .rc-typing span { animation: none; }
  .rc-msgs { scroll-behavior: auto; }
}
@media (max-width: 520px) {
  .rc-cal { font-size: .7rem; border-spacing: 2px; }
  .rc-cal tbody th { width: 3rem; font-size: .68rem; }
  .rc-cal td { padding: .4rem 0; letter-spacing: -.01em; }
}
.rc-bizbar .demo-label { line-height: 1.4; }
.rc-badge-wait { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.rc-badge-ai::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rc-mode { font-size: .85rem; line-height: 1.45; color: var(--muted); background: var(--paper-2); border-radius: var(--radius-sm); padding: .6rem .8rem; margin: 0 0 .9rem; }
.rc-mode[hidden] { display: none; }
.rc-checks { background: #fff6dc; color: #5c4400; border: 1px solid #ecd27f; border-left-width: 4px; border-radius: var(--radius-sm); padding: .7rem 1rem .75rem; margin-bottom: .9rem; font-size: .9rem; line-height: 1.45; }
.rc-checks[hidden] { display: none; }
.rc-checks-safety { background: #fbe6e1; color: #7a2410; border-color: #f0b9a8; border-left-color: #c2410c; }
.rc-checks-h { font-weight: 700; margin: 0 0 .35rem; }
.rc-checks ul { margin: 0; padding-left: 1.1rem; }
.rc-checks li { margin: .2rem 0; overflow-wrap: anywhere; }
.rc-check-safety { font-weight: 600; }
.demo[data-demo="receptionist"] .demo-bar .pill { white-space: nowrap; }
