/* Assistant panel styles: Task 7 */
/* Booking widget (Plugix look: Manrope, #1A1A1A, white cards) */
.bk { display: grid; gap: 12px; padding: 16px; border: 1px solid #E6E6E6; border-radius: 20px; background: #fff; color: #1A1A1A; font-family: 'Manrope', system-ui, sans-serif; }
.bk-h { margin: 0; font: 800 15px/1.3 'Manrope', sans-serif; }
.bk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-opt { padding: 10px 14px; border: 1px solid #E6E6E6; border-radius: 14px; background: #fff; font: 700 14px/1.2 'Manrope', sans-serif; text-align: left; cursor: pointer; }
.bk-opt small { display: block; margin-top: 3px; font-weight: 600; font-size: 12px; color: #6B6B6B; }
.bk-opt:hover { border-color: #1A1A1A; }
.bk-opt[aria-pressed="true"] { background: #1A1A1A; border-color: #1A1A1A; color: #fff; }
.bk-doc { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; }
.bk-doc img { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.bk-doc small { margin: 0; }
.bk-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bk-days .bk-opt { flex: none; white-space: nowrap; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.bk-time { padding: 11px 0; border: 1px solid #DCE6E6; border-radius: 12px; background: #F4F8F8; font: 600 14px/1 'JetBrains Mono', monospace; color: #0B1F22; cursor: pointer; }
.bk-time:hover, .bk-time:focus-visible { border-color: #1F7A70; background: #E3F4F2; }
.bk-form { display: grid; gap: 10px; }
.bk-field { display: grid; gap: 4px; font: 700 13px/1.2 'Manrope', sans-serif; }
.bk-field input { height: 46px; padding: 0 14px; border: 1px solid #E6E6E6; border-radius: 14px; font: 500 16px/1 'Manrope', sans-serif; color: #1A1A1A; }
.bk-field input:focus { outline: 2px solid #50BEB4; outline-offset: 0; }
.bk-err { min-height: 1em; margin: 0; color: #B42318; font-size: 13px; }
.bk-submit { height: 48px; border: 0; border-radius: 999px; background: #1A1A1A; color: #fff; font: 800 15px/1 'Manrope', sans-serif; cursor: pointer; }
.bk-sum { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #F7F7F7; font-size: 14px; }
.bk-note { margin: 0; font-size: 12.5px; color: #5B6E71; }
.bk-back { justify-self: start; padding: 0; border: 0; background: none; font: 700 13px/1 'Manrope', sans-serif; color: #46595C; cursor: pointer; }
.bk-done { display: flex; align-items: center; gap: 10px; color: #14703A; }
.bk-done svg { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #E5F3E9; }
.mono-id { font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }
.bk-row { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #F7F7F7; font-size: 14px; }
.bk-row span { color: #5C5C5C; }
/* Assistant panel (Plugix look) */
.ai { position: fixed; z-index: 40; top: 16px; right: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; color: #1A1A1A; font-family: 'Manrope', system-ui, sans-serif; box-shadow: 0 30px 90px -20px rgba(6, 20, 22, .45), 0 0 0 1px rgba(26, 26, 26, .06); opacity: 0; transform: translateX(24px); transition: opacity .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1); }
.ai.is-in { opacity: 1; transform: none; }
.ai:focus { outline: none; }
.ai-hdr { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid #EFEFEF; }
.ai-hdr > .orb { width: 34px; height: 34px; }
.ai-id { flex: 1; min-width: 0; }
.ai-id h2 { margin: 0; font: 800 16px/1.2 'Manrope', sans-serif; }
.ai-id p { margin: 3px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: #6B6B6B; }
.ai-mode { padding: 3px 8px; border-radius: 999px; background: #E5F3E9; color: #14703A; font: 700 11px/1 'JetBrains Mono', monospace; }
.ai-mode[data-mode="demo"] { background: #F1F1F1; color: #46595C; }
.ai-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #F7F7F7; color: #1A1A1A; cursor: pointer; }
.ai-icon svg { width: 18px; height: 18px; }
.ai-log { flex: 1; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
.ai-empty { margin: auto 0; display: grid; justify-items: center; gap: 12px; padding: 12px; text-align: center; }
.ai-empty .orb { width: 56px; height: 56px; }
.ai-empty h3 { margin: 0; font: 800 20px/1.25 'Manrope', sans-serif; }
.ai-empty p { margin: 0; color: #5C5C5C; }
.ai-empty .c-chips { justify-content: center; }
.m-user { align-self: flex-end; max-width: 85%; }
.m-user .bub { padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #F1F1F1; white-space: pre-wrap; overflow-wrap: anywhere; }
.m-ai { display: grid; gap: 10px; }
.m-ai .txt { font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.m-ai .txt p { margin: 0 0 8px; } .m-ai .txt p:last-child { margin: 0; }
.m-ai .txt ul { margin: 0; padding-left: 20px; }
.m-ai .ui { display: grid; gap: 10px; min-width: 0; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #B9C7C7; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .5; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.c-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
.c-card { flex: 0 0 240px; scroll-snap-align: start; display: grid; align-content: start; gap: 6px; padding: 14px; border: 1px solid #E6E6E6; border-radius: 18px; background: #fff; }
.c-card b { font: 800 15px/1.25 'Manrope', sans-serif; }
.c-card span { font-size: 13.5px; color: #5C5C5C; }
.c-card .c-price { font-weight: 800; color: #1F7A70; }
.c-doc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.c-btn { justify-self: start; height: 36px; margin-top: 6px; padding: 0 14px; border: 0; border-radius: 999px; background: #1A1A1A; color: #fff; font: 700 13px/1 'Manrope', sans-serif; cursor: pointer; }
.c-prices { overflow: hidden; border: 1px solid #E6E6E6; border-radius: 18px; }
.c-prices div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; }
.c-prices div + div { border-top: 1px solid #F1F1F1; }
.c-prices small { color: #6B6B6B; } .c-prices b { white-space: nowrap; }
.c-contacts { display: grid; gap: 6px; padding: 14px; border-radius: 18px; background: #F7F7F7; font-size: 14px; }
.c-contacts a { font-weight: 700; color: #1A1A1A; }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips button { padding: 9px 14px; border: 1px solid #E6E6E6; border-radius: 999px; background: #fff; font: 700 13.5px/1.2 'Manrope', sans-serif; color: #1A1A1A; cursor: pointer; }
.c-chips button:hover { border-color: #1A1A1A; }
.ai-note { margin: 0; padding: 8px 12px; border-radius: 12px; background: #FFF6E5; color: #7A4A00; font-size: 13px; }
.ai-composer { display: flex; align-items: flex-end; gap: 8px; margin: 0 14px; padding: 6px 6px 6px 16px; border: 1px solid #E6E6E6; border-radius: 28px; background: #fff; }
.ai-composer:focus-within { border-color: #50BEB4; }
.ai-composer textarea { flex: 1; min-width: 0; max-height: 120px; resize: none; padding: 11px 0; border: 0; outline: 0; background: transparent; font: 500 16px/1.4 'Manrope', sans-serif; color: #1A1A1A; }
.ai-composer .send:disabled { opacity: .4; cursor: default; }
.ai-foot { margin: 8px 18px 14px; font-size: 11.5px; color: #767676; text-align: center; }
@media (max-width: 640px) {
  .ai { inset: 0; width: 100%; border-radius: 0; transform: translateY(24px); }
  html.ai-open body { overflow: hidden; }
  .ai-foot { margin-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

.bk-early { justify-self: start; margin-top: 4px; padding: 8px 14px; border: 1px dashed var(--teal-ink); border-radius: 999px; background: transparent; color: var(--teal-ink); font: 600 14px/1.3 var(--f-text); cursor: pointer; }
.bk-early:hover, .bk-early:focus-visible { background: var(--teal-soft); }
.bk-early-on { margin: 4px 0 0; color: var(--teal-ink); font-weight: 600; font-size: 14px; }
