/* Sample site kit: booking, assistant chat, new guest form, salon alerts, reviews band.
   Each page sets the --k-* variables after this file to give the kit its own look. */
:root {
  --k-bg: #fff; --k-ink: #1d1a1b; --k-muted: #6b6266; --k-line: #e7dfe2; --k-accent: #b8456b; --k-on: #fff;
  --k-soft: #f6eef0; --k-bar: #1d1a1b; --k-font: system-ui, sans-serif; --k-display: var(--k-font); --k-r: 16px;
  --k-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* preview ribbon */
.k-ribbon { background: #161214; color: #e9dfe2; font: 400 12px/16px var(--k-font); text-align: center; padding: 8px 16px; }
.k-ribbon b { color: #fff; font-weight: 600; }
.k-ribbon a { color: #fff; font-weight: 600; margin-left: 4px; }

/* shared buttons */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/20px var(--k-font); padding: 12px 20px; border-radius: 999px; border: 1px solid var(--k-accent); background: var(--k-accent); color: var(--k-on); cursor: pointer; text-decoration: none; transition: transform 200ms var(--k-ease), opacity 200ms var(--k-ease); }
.k-btn:active { transform: scale(0.97); }
.k-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.k-btn[hidden] { display: none; }
.k-ghost { background: transparent; color: var(--k-ink); border-color: var(--k-line); }
.k-x { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--k-line); background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }

/* booking dialog */
.k-dlg { width: min(640px, calc(100vw - 24px)); max-height: min(780px, calc(100dvh - 24px)); padding: 0; border: 0; border-radius: calc(var(--k-r) + 8px); background: var(--k-bg); color: var(--k-ink); font-family: var(--k-font); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.5); overflow: hidden; }
.k-dlg[open] { display: flex; flex-direction: column; animation: k-pop 260ms var(--k-ease); }
.k-dlg::backdrop { background: rgba(20, 14, 16, 0.55); backdrop-filter: blur(4px); }
.k-dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 24px 12px; }
.k-dlg-head h2 { font: 500 26px/32px var(--k-display); margin: 4px 0 0; }
.k-step-n { margin: 0; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-muted); }
.k-prog { display: flex; gap: 4px; padding: 0 24px 16px; }
.k-prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--k-line); transition: background-color 300ms var(--k-ease); }
.k-prog i.on { background: var(--k-accent); }
.k-dlg-body { flex: 1; overflow-y: auto; padding: 4px 24px 24px; }
.k-dlg-foot { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--k-line); }
.k-sum { flex: 1; min-width: 0; font-size: 13px; line-height: 18px; color: var(--k-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-dlg fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.k-dlg legend { padding: 0; margin-bottom: 4px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--k-muted); }
.k-opt { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 14px 16px; border: 1px solid var(--k-line); border-radius: var(--k-r); cursor: pointer; transition: border-color 200ms var(--k-ease), background-color 200ms var(--k-ease); }
.k-opt:hover { border-color: var(--k-accent); }
.k-opt:has(input:checked) { border-color: var(--k-accent); background: var(--k-soft); box-shadow: inset 0 0 0 1px var(--k-accent); }
.k-opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--k-accent); }
.k-txt { flex: 1; min-width: 0; }
.k-txt b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.k-txt small { display: block; font-size: 13px; line-height: 18px; color: var(--k-muted); }
.k-opt em { font-style: normal; font-weight: 600; white-space: nowrap; }
.k-mono { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--k-soft); color: var(--k-accent); font: 500 18px/1 var(--k-display); overflow: hidden; }
.k-mono img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* tag on placeholder photos until the salon sends its own */
.k-sample { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); color: #fff; font: 500 11px/16px var(--k-font); letter-spacing: 0.02em; }
.k-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.k-day { flex: none; width: 64px; padding: 8px 0; border-radius: 14px; border: 1px solid var(--k-line); background: transparent; color: inherit; font: inherit; text-align: center; cursor: pointer; scroll-snap-align: start; transition: background-color 200ms var(--k-ease); }
.k-day small { display: block; font-size: 11px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--k-muted); }
.k-day b { display: block; font-size: 20px; line-height: 28px; }
.k-day[aria-pressed="true"] { background: var(--k-accent); border-color: var(--k-accent); color: var(--k-on); }
.k-day[aria-pressed="true"] small { color: inherit; opacity: 0.8; }
.k-day:disabled { opacity: 0.35; cursor: not-allowed; }
.k-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 16px; }
.k-time { padding: 10px 0; border-radius: 12px; border: 1px solid var(--k-line); background: transparent; color: inherit; font: 500 14px/20px var(--k-font); cursor: pointer; }
.k-time:hover:not(:disabled) { border-color: var(--k-accent); }
.k-time[aria-pressed="true"] { background: var(--k-accent); border-color: var(--k-accent); color: var(--k-on); }
.k-time:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.k-note { margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--k-muted); }
.k-done { text-align: center; padding: 16px 0 8px; }
.k-done h3 { font: 500 26px/32px var(--k-display); margin: 0 0 8px; }
.k-done p { margin: 0 auto; max-width: 420px; color: var(--k-muted); font-size: 15px; line-height: 22px; }
.k-ok { display: block; width: 64px; height: 64px; margin: 0 auto 16px; }
.k-ok circle { fill: var(--k-accent); }
.k-ok path { fill: none; stroke: var(--k-on); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: k-draw 500ms 200ms var(--k-ease) forwards; }

/* fields (booking details + new guest form) */
.k-form label, .k-form .k-yn { display: block; margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--k-ink); }
.k-in { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--k-line); border-radius: 12px; background: var(--k-bg); color: var(--k-ink); font: 400 16px/22px var(--k-font); transition: border-color 200ms var(--k-ease), box-shadow 200ms var(--k-ease); }
.k-in:focus { outline: none; border-color: var(--k-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--k-accent) 22%, transparent); }
.k-in[aria-invalid="true"] { border-color: #c0392b; }
textarea.k-in { resize: vertical; }
.k-optional { font-weight: 400; color: var(--k-muted); }
.k-err { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; font-weight: 400; color: #c0392b; }
.k-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.k-form .k-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.k-check input, .k-yn input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--k-accent); }
.k-yn { border: 0; padding: 0; min-width: 0; }
.k-yn legend { padding: 0; }
.k-yn label { display: inline-flex; gap: 8px; align-items: center; margin: 8px 24px 0 0; font-weight: 400; }
.k-form .k-btn { margin-top: 24px; width: 100%; }
.k-fine { margin: 12px 0 0; font-size: 12px; line-height: 16px; color: var(--k-muted); text-align: center; }
.k-sent { text-align: center; padding: 24px 0; }
.k-sent h3 { font: 500 26px/32px var(--k-display); margin: 0 0 8px; color: var(--k-ink); }
.k-sent p { margin: 0 0 16px; color: var(--k-muted); }

/* assistant chat */
.k-chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--k-accent); color: var(--k-on); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); cursor: pointer; transition: transform 300ms var(--k-ease); }
.k-chat-btn:hover { transform: translateY(-2px); }
.k-chat-btn .k-bot { width: 30px; height: 30px; }
.k-eyes { transform-box: fill-box; transform-origin: center; animation: k-blink-eyes 4.5s infinite; }
.k-chat-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--k-accent); opacity: 0; pointer-events: none; }
.k-chat-btn.k-ping::after { animation: k-ring 1.8s var(--k-ease) 4; }
.k-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #e0245e; color: #fff; font: 700 12px/20px var(--k-font); border: 2px solid #fff; }
.k-badge[hidden] { display: none; }
.k-greet { position: fixed; right: 20px; bottom: 92px; z-index: 61; width: min(330px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--k-line); border-radius: 18px 18px 4px 18px; background: var(--k-bg); color: var(--k-ink); font-family: var(--k-font); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45); cursor: pointer; transform-origin: bottom right; animation: k-pop 360ms var(--k-ease); }
.k-greet[hidden] { display: none; }
.k-greet-top { display: flex; align-items: center; gap: 10px; padding-right: 24px; }
.k-greet-av { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--k-accent); color: var(--k-on); }
.k-greet-av svg { width: 20px; height: 20px; }
.k-greet-top b { font-size: 14px; line-height: 20px; }
.k-greet-top small { margin-left: auto; font-size: 12px; color: var(--k-muted); }
.k-greet p { margin: 10px 0 12px; font-size: 14px; line-height: 20px; }
.k-greet-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.k-greet-chips button { padding: 6px 12px; border: 1px solid var(--k-line); border-radius: 999px; background: var(--k-bg); color: var(--k-ink); font: 500 13px/18px var(--k-font); cursor: pointer; transition: border-color 200ms var(--k-ease), color 200ms var(--k-ease); }
.k-greet-chips button:hover { border-color: var(--k-accent); color: var(--k-accent); }
.k-greet-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--k-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.k-greet-x:hover { background: var(--k-soft); }
.k-chat-btn[hidden] { display: none; }
.k-chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 40px)); display: flex; flex-direction: column; border: 1px solid var(--k-line); border-radius: 24px; background: var(--k-bg); color: var(--k-ink); font-family: var(--k-font); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.55); overflow: hidden; transform-origin: bottom right; animation: k-pop 260ms var(--k-ease); }
.k-chat[hidden] { display: none; }
.k-chat header { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--k-accent); color: var(--k-on); }
.k-chat header img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.k-chat header b { display: block; font-size: 15px; line-height: 20px; }
.k-chat header small { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; opacity: 0.9; }
.k-chat header .k-x { margin-left: auto; border-color: rgba(255, 255, 255, 0.45); }
.k-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.k-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--k-soft); }
.k-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 20px; animation: k-in 260ms var(--k-ease); overflow-wrap: anywhere; }
.k-msg.bot { align-self: flex-start; background: var(--k-bg); border: 1px solid var(--k-line); border-bottom-left-radius: 6px; }
.k-msg.me { align-self: flex-end; background: var(--k-accent); color: var(--k-on); border-bottom-right-radius: 6px; }
.k-msg a { color: inherit; font-weight: 600; }
.k-typing span { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--k-muted); animation: k-blink 1s infinite; }
.k-typing span:nth-child(2) { animation-delay: 150ms; }
.k-typing span:nth-child(3) { animation-delay: 300ms; }
.k-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--k-line); background: var(--k-bg); }
.k-chips:empty { display: none; }
.k-chip { padding: 6px 12px; border: 1px solid var(--k-line); border-radius: 999px; background: var(--k-bg); color: var(--k-ink); font: 500 13px/18px var(--k-font); cursor: pointer; transition: border-color 200ms var(--k-ease), color 200ms var(--k-ease); }
.k-chip:hover { border-color: var(--k-accent); color: var(--k-accent); }
.k-say { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--k-line); background: var(--k-bg); }
.k-say .k-in { margin: 0; border-radius: 999px; padding: 10px 16px; }
.k-say button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--k-accent); color: var(--k-on); cursor: pointer; display: grid; place-items: center; }
.k-say button svg { width: 18px; height: 18px; }

/* salon alerts: what the owner's phone shows */
.k-alerts { position: fixed; top: 16px; right: 16px; z-index: 90; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.k-alert { pointer-events: auto; display: grid; grid-template-columns: 38px 1fr; gap: 2px 12px; padding: 12px 14px; border-radius: 20px; background: rgba(248, 248, 248, 0.95); color: #111; backdrop-filter: blur(20px); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.5); font: 400 14px/20px -apple-system, "Segoe UI", system-ui, sans-serif; animation: k-drop 420ms var(--k-ease); transition: opacity 300ms var(--k-ease), transform 300ms var(--k-ease); }
.k-alert.out { opacity: 0; transform: translateY(-8px); }
.k-alert img { grid-row: span 4; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e5e5e5; background: #fff; object-fit: contain; padding: 2px; }
.k-app { display: flex; justify-content: space-between; margin: 0; font-size: 12px; line-height: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: #6b6b6b; }
.k-alert b { font-weight: 600; }
.k-alert p { margin: 0; font-size: 13px; line-height: 18px; color: #333; }
.k-alert .k-via { margin-top: 4px; font-size: 12px; color: #777; }
.k-via button { border: 0; padding: 0; background: none; color: #0a66d8; font: inherit; cursor: pointer; }

/* salon inbox drawer */
.k-inbox-tab { position: fixed; left: 0; top: 50%; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 16px 8px; border: 0; border-radius: 12px 0 0 12px; background: var(--k-bar); color: #fff; font: 600 12px/16px var(--k-font); letter-spacing: 0.08em; text-transform: uppercase; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.k-inbox-tab b { min-width: 20px; padding: 4px 0; border-radius: 999px; background: var(--k-accent); color: var(--k-on); text-align: center; writing-mode: horizontal-tb; transform: rotate(180deg); }
.k-inbox { position: fixed; left: 0; top: 0; bottom: 0; z-index: 80; width: min(400px, 100vw); display: flex; flex-direction: column; background: var(--k-bg); color: var(--k-ink); font-family: var(--k-font); box-shadow: 40px 0 120px -20px rgba(0, 0, 0, 0.45); animation: k-slide 320ms var(--k-ease); }
.k-inbox[hidden] { display: none; }
.k-inbox header { display: flex; gap: 12px; align-items: flex-start; padding: 24px 20px 16px; border-bottom: 1px solid var(--k-line); }
.k-inbox h2 { margin: 0; font: 500 24px/32px var(--k-display); }
.k-inbox header p { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--k-muted); }
.k-inbox ol { flex: 1; list-style: none; margin: 0; padding: 16px; overflow-y: auto; display: grid; gap: 12px; align-content: start; }
.k-item { padding: 14px 16px; border: 1px solid var(--k-line); border-radius: var(--k-r); }
.k-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--k-soft); color: var(--k-accent); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.k-item time { float: right; font-size: 12px; line-height: 20px; color: var(--k-muted); }
.k-item b { display: block; margin-top: 8px; font-size: 15px; line-height: 20px; }
.k-item p { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: var(--k-muted); }
.k-empty { padding: 24px 8px; text-align: center; color: var(--k-muted); font-size: 14px; line-height: 20px; }
.k-empty b { display: block; color: var(--k-ink); font-size: 16px; margin-bottom: 4px; }
.k-inbox footer { display: flex; gap: 8px; padding: 16px; border-top: 1px solid var(--k-line); }
.k-inbox footer .k-btn { flex: 1; }

/* opening hours list */
.k-hours { list-style: none; margin: 0; padding: 0; }
.k-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--k-line); }
.k-hours li.today { color: var(--k-accent); font-weight: 600; }

/* google reviews band: slides sideways on its own, pauses on hover */
.k-rv-band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.k-rv-track { display: flex; width: max-content; padding: 8px 0; animation: k-slide-x 50s linear infinite; }
.k-rv-band:hover .k-rv-track, .k-rv-band:focus-within .k-rv-track { animation-play-state: paused; }
.k-rv { flex: none; width: 340px; margin-right: 24px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--k-rv-line, var(--k-line)); border-radius: var(--k-rv-r, 24px); background: var(--k-rv-bg, var(--k-bg)); color: var(--k-rv-ink, var(--k-ink)); font-family: var(--k-font); }
.k-rv-top { display: flex; align-items: center; gap: 12px; }
.k-rv-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--k-accent); color: var(--k-on); font-weight: 600; }
.k-rv-name { margin: 0; font-weight: 600; }
.k-rv-when { margin: 0; font-size: 12px; line-height: 16px; opacity: 0.7; }
.k-rv-top svg { width: 20px; height: 20px; margin-left: auto; flex: none; }
.k-rv-stars { margin: 0; color: #e0a526; letter-spacing: 2px; }
.k-rv-text { flex: 1; margin: 0; font: 400 20px/28px var(--k-display); }
.k-rv-about { align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--k-soft); color: var(--k-accent); font-size: 12px; line-height: 16px; font-weight: 600; }

/* phone menu: full height panel, links rise in one after another */
.k-burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; place-items: center; }
.k-burger svg { width: 24px; height: 24px; }
.k-menu { position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; padding: 16px 24px 32px; background: color-mix(in srgb, var(--k-bg) 96%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--k-ink); font-family: var(--k-font); }
.k-menu[hidden] { display: none; }
.k-menu > .k-x { align-self: flex-end; }
.k-menu nav { display: grid; margin-top: 24px; }
.k-menu nav a { padding: 12px 0; border-bottom: 1px solid var(--k-line); font: 400 30px/36px var(--k-display); text-decoration: none; color: inherit; opacity: 0; transform: translateY(24px); animation: k-up 400ms var(--k-ease) forwards; }
.k-menu-cta { display: grid; gap: 8px; margin-top: auto; padding-top: 24px; }
@keyframes k-up { to { opacity: 1; transform: none; } }


@keyframes k-pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
@keyframes k-drop { from { opacity: 0; transform: translateY(-16px) scale(0.97); } }
@keyframes k-slide { from { transform: translateX(-100%); } }
@keyframes k-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes k-blink { 50% { opacity: 0.2; } }
@keyframes k-draw { to { stroke-dashoffset: 0; } }
@keyframes k-blink-eyes { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(0.1); } }
@keyframes k-ring { from { opacity: 0.6; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
@keyframes k-slide-x { to { transform: translateX(-50%); } }

@media (max-width: 1000px) { .k-burger { display: grid; } }
@media (max-width: 900px) {
  .k-chat-btn { right: 12px; bottom: 12px; width: 58px; height: 58px; }
  .k-greet { right: 12px; bottom: 80px; }
  /* phones: the inbox tab would cover text on the left edge, so it becomes a small pill above the action bar */
  .k-inbox-tab { top: auto; bottom: 16px; left: 12px; padding: 6px 6px 6px 12px; border-radius: 999px; writing-mode: horizontal-tb; transform: none; font-size: 11px; }
  .k-inbox-tab b { transform: none; padding: 2px 6px; }
}
@media (max-width: 600px) {
  .k-row { grid-template-columns: 1fr; }
  .k-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .k-dlg-head, .k-dlg-body, .k-dlg-foot { padding-left: 16px; padding-right: 16px; }
  .k-prog { padding: 0 16px 16px; }
  .k-chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .k-rv { width: 280px; margin-right: 16px; }
  .k-alerts { top: 8px; right: 8px; width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .k-dlg[open], .k-chat, .k-alert, .k-inbox, .k-msg, .k-greet, .k-eyes, .k-chat-btn.k-ping::after { animation: none; }
  .k-ok path { animation: none; stroke-dashoffset: 0; }
  .k-menu nav a { animation: none; opacity: 1; transform: none; }
  .k-rv-track { animation: none; padding-inline: 16px; }
  .k-rv-band { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .k-rv { scroll-snap-align: start; }
}

/* ---- site kit additions for the sample websites ---- */
.k-av-ini { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; background: var(--k-accent); color: var(--k-on); font: 700 14px/1 var(--k-font); letter-spacing: 0.02em; }
.k-alert-av { grid-row: span 4; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; }
.k-chat-av { width: 40px; height: 40px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, 0.6); }
/* the sample bar sits at the bottom of the screen: keep the chat, greeting and inbox above it */
.k-chat-btn { bottom: calc(20px + var(--nexlate-bar, 0px)); }
.k-greet { bottom: calc(92px + var(--nexlate-bar, 0px)); }
.k-chat { bottom: calc(20px + var(--nexlate-bar, 0px)); max-height: calc(100dvh - 40px - var(--nexlate-bar, 0px)); }
/* no big Call / Book bars: the chat button and the page's own links do that job */
.mbar, .callbar, .stickybar, .sticky-cta, .mobile-cta, .m-cta { display: none !important; }
/* the kit's own section on the home page */
.k-sec { padding: 96px 0; background: var(--k-page, transparent); color: var(--k-pageink, inherit); font-family: var(--k-font); }
.k-sec-in { width: min(1160px, 100% - 32px); margin-inline: auto; }
.k-sec h2 { font: 400 clamp(32px, 5vw, 48px)/1.08 var(--k-display); margin: 12px 0 12px; color: inherit; }
.k-sec .k-kick { font: 600 12px/16px var(--k-font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--k-accent); margin: 0; }
.k-sec p.k-lead { max-width: 560px; opacity: 0.8; font-size: 17px; line-height: 26px; margin: 0; }
.k-rv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.k-score { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid color-mix(in srgb, var(--k-pageink, #000) 18%, transparent); border-radius: 14px; }
.k-score b, .k-score strong { font: 500 36px/1 var(--k-display); }
.k-score small { display: block; font-size: 12px; opacity: 0.75; }
.k-form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; margin-top: 96px; }
.k-form-card { background: var(--k-bg); color: var(--k-ink); border-radius: 22px; padding: 32px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45); }
.k-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 24px; font-size: 15px; }
.k-links a, .k-link { color: inherit; }
.k-link { display: inline-flex; gap: 6px; padding: 0 0 4px; border: 0; border-bottom: 2px solid var(--k-accent); background: none; font: 600 14px/20px var(--k-font); cursor: pointer; text-decoration: none; }
@media (max-width: 900px) { .k-form-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; } .k-sec { padding: 64px 0; } .k-form-card { padding: 24px 16px; } }
@media (max-width: 600px) { .k-chat { bottom: 0; max-height: none; } }

/* the kit's own forms ignore a site's generic form { } / label { } styling */
.k-form-card form.k-form, .k-dlg form.k-form { background: none; border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; max-width: none; }
.k-form-card .k-form label, .k-dlg .k-form label { color: var(--k-ink); opacity: 1; text-transform: none; letter-spacing: normal; }
.k-form-card .k-in, .k-dlg .k-in { background: var(--k-bg); color: var(--k-ink); border: 1px solid var(--k-line); height: auto; }
/* about page: initials when a team photo is not in yet */
.ka-ini { display: grid; place-items: center; height: 100%; background: color-mix(in srgb, var(--k-accent) 14%, var(--k-page)); color: var(--k-accent); font: 400 64px/1 var(--k-display); }
.k-sent-site { padding: 24px; border-radius: 16px; background: var(--k-bg); color: var(--k-ink); text-align: center; }
.k-sent-site h3 { margin: 0 0 8px; font: 500 24px/30px var(--k-display); color: var(--k-ink); }
.k-sent-site p { margin: 0; color: var(--k-muted); }
/* a site's own heading styles (uppercase, wide tracking) stay out of the kit's messages */
.k-dlg h2, .k-dlg h3, .k-sent h3, .k-sent-site h3, .k-sec h2, .k-greet, .k-chat, .k-alert, .ka h1, .ka h2, .ka h3, .k-rv, .k-rv p, .k-rv-head h2 { text-transform: none; letter-spacing: normal; }
