/*
 * Booked — the support chat widget.
 *
 * Lifted from new-site/files/chat-widget.html, minus the demo harness that page
 * used to flick between the four states.
 *
 * Two things are done to the source rather than copied from it.
 *
 * Every rule is scoped under #bkChat. The widget sits on pages with their own
 * design system and generic class names collide — the site's `.cta` is a
 * full-width blue band with 64px of padding, which matched the widget's
 * `.bk-card cta` and turned a compact row into a tall block with wrapped,
 * unreadable text.
 *
 * The mockup's own html/body/:root rules are dropped. They style the page the
 * widget was demonstrated on; kept, its `body{background:var(--mist)}` would
 * repaint every page the widget appears on.
 */

#bkChat button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
#bkChat svg{display:block}
#bkChat{--ink:#0E1220;--ink-2:#4A5166;--ink-3:#8A90A3;--line:#E4E7EF;--paper:#fff;--mist:#F4F6FB;--blue:#2B4CFF;--blue-deep:#1E36C4;--blue-tint:#EAEEFF;--mint:#18B77A;--mint-tint:#E4F8EF;--mint-text:#0E8F5D;--amber:#F0A020;--amber-tint:#FFF3DC;--amber-text:#9C6400;--red:#E0433C;--red-tint:#FFECEC;--red-text:#B42323;--violet:#6C3BFF;--violet-tint:#EEE8FF;--display:"Inter Tight",system-ui,sans-serif;--body:"Inter",system-ui,sans-serif;--mono:"JetBrains Mono",ui-monospace,Menlo,monospace;--ease:cubic-bezier(.2,.7,.2,1);position:fixed;right:24px;bottom:24px;z-index:1000;font-family:var(--body);color:var(--ink)}
#bkChat .bk-launch{width:56px;height:56px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 32px -8px rgba(14,18,32,.5);position:relative;transition:transform .2s var(--ease),background .2s}
#bkChat .bk-launch:hover{transform:translateY(-2px)}
#bkChat .bk-launch:active{transform:scale(.96)}
#bkChat .bk-launch svg{width:24px;height:24px;stroke:#fff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;position:absolute;transition:opacity .2s,transform .2s}
#bkChat .bk-launch .bk-x{opacity:0;transform:rotate(-45deg) scale(.6)}
#bkChat.bk-open .bk-launch .bk-bubble{opacity:0;transform:rotate(45deg) scale(.6)}
#bkChat.bk-open .bk-launch .bk-x{opacity:1;transform:none}
#bkChat .bk-launch .bk-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--mint);border:2.5px solid var(--mist)}
#bkChat .bk-launch .bk-badge{position:absolute;top:-4px;left:-4px;min-width:20px;height:20px;border-radius:10px;background:#E0433C;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px;border:2px solid var(--mist)}
#bkChat .bk-panel{position:absolute;right:0;bottom:72px;width:390px;height:min(680px,calc(100vh - 110px));background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 40px 80px -30px rgba(14,18,32,.45),0 0 0 1px rgba(14,18,32,.02);display:flex;flex-direction:column;overflow:hidden;transform-origin:bottom right;opacity:0;transform:scale(.92) translateY(12px);pointer-events:none;transition:opacity .25s var(--ease),transform .3s var(--ease)}
#bkChat.bk-open .bk-panel{opacity:1;transform:none;pointer-events:auto}
@media(max-width:480px){
  #bkChat{right:12px;bottom:12px}
  #bkChat .bk-panel{position:fixed;inset:0;width:auto;height:auto;border-radius:0;bottom:0;border:0}
  #bkChat.bk-open .bk-launch{display:none}
}
#bkChat .bk-view{display:none;flex-direction:column;flex:1;min-height:0}
#bkChat .bk-view.bk-on{display:flex}
#bkChat .bk-head{padding:16px 16px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;background:#fff}
#bkChat .bk-head .bk-back{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--ink-2);margin-left:-6px}
#bkChat .bk-head .bk-back:hover{background:var(--mist)}
#bkChat .bk-head .bk-back svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none}
#bkChat .bk-head .bk-who{flex:1;min-width:0}
#bkChat .bk-head .bk-who b{display:block;font-size:15px;font-family:var(--display);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bkChat .bk-head .bk-who span{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-2)}
#bkChat .bk-head .bk-who span i{width:7px;height:7px;border-radius:50%;background:var(--mint)}
#bkChat .bk-head .bk-who span i.away{background:#C9CEE0}
#bkChat .bk-head .bk-acts{display:flex;gap:2px}
#bkChat .bk-head .bk-acts button{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--ink-2)}
#bkChat .bk-head .bk-acts button:hover{background:var(--mist)}
#bkChat .bk-head .bk-acts svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
#bkChat .bk-avs{display:flex}
#bkChat .bk-av{width:34px;height:34px;border-radius:50%;background:var(--blue-tint);color:var(--blue-deep);font-family:var(--display);font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;flex-shrink:0;background-size:cover}
#bkChat .bk-avs .bk-av+.bk-av{margin-left:-10px}
#bkChat .bk-av.bk-a1{background:#DCE3FF;color:#1E36C4}
#bkChat .bk-av.bk-a2{background:#E4F8EF;color:#0E8F5D}
#bkChat .bk-av.bk-a3{background:#FFF3DC;color:#9C6400}
#bkChat .bk-home-top{background:var(--ink);color:#fff;padding:22px 20px 26px;position:relative;overflow:hidden}
#bkChat .bk-home-top::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 80% at 100% 0%,rgba(43,76,255,.6),transparent 60%),radial-gradient(40% 50% at 0% 100%,rgba(124,255,184,.18),transparent 65%);pointer-events:none}
#bkChat .bk-home-top>*{position:relative}
#bkChat .bk-home-top .bk-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
#bkChat .bk-home-top .bk-brand{display:flex;align-items:center;gap:8px;font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:-.02em}
#bkChat .bk-home-top .bk-brand svg{width:20px;height:20px}
#bkChat .bk-home-top .bk-close{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#C9CEE0}
#bkChat .bk-home-top .bk-close:hover{background:rgba(255,255,255,.1)}
#bkChat .bk-home-top .bk-close svg{width:16px;height:16px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
#bkChat .bk-home-top h2{font-family:var(--display);font-size:24px;letter-spacing:-.03em;line-height:1.1;margin-bottom:6px;font-weight:600}
#bkChat .bk-home-top p{font-size:13.5px;color:#B4BACF}
#bkChat .bk-home-body{padding:16px;display:grid;gap:10px;overflow-y:auto;flex:1;background:var(--mist)}
#bkChat .bk-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}
#bkChat .bk-card.bk-cta{display:flex;align-items:center;gap:12px;cursor:pointer;transition:border-color .15s,transform .15s}
#bkChat .bk-card.bk-cta:hover{border-color:var(--ink-3);transform:translateY(-1px)}
#bkChat .bk-card.bk-cta .bk-t{flex:1;min-width:0}
#bkChat .bk-card.bk-cta b{display:block;font-size:14.5px}
#bkChat .bk-card.bk-cta .bk-t span{display:block;font-size:12.5px;color:var(--ink-2)}
#bkChat .bk-card.bk-cta .bk-go{width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#bkChat .bk-card.bk-cta .bk-go svg{width:14px;height:14px;stroke:#fff;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
#bkChat .bk-card h4{font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3);margin-bottom:8px}
#bkChat .bk-recent{display:flex;gap:10px;align-items:center;cursor:pointer}
#bkChat .bk-recent .bk-t{flex:1;min-width:0}
#bkChat .bk-recent .bk-t b,#bkChat .bk-recent .bk-t span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bkChat .bk-recent .bk-t b{font-size:14px}
#bkChat .bk-recent .bk-t span{font-size:12.5px;color:var(--ink-2)}
#bkChat .bk-recent em{flex-shrink:0;white-space:nowrap}
#bkChat .bk-recent b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bkChat .bk-recent span{font-size:12px;color:var(--ink-3)}
#bkChat .bk-recent em{font-style:normal;font-size:10.5px;font-weight:600;padding:3px 7px;border-radius:99px;background:var(--mint-tint);color:var(--mint-text);flex-shrink:0}
#bkChat .bk-search{position:relative}
#bkChat .bk-search input{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px 10px 34px;font:inherit;font-size:13.5px;background:var(--mist)}
#bkChat .bk-search input:focus{outline:2px solid var(--blue);outline-offset:0;border-color:transparent;background:#fff}
#bkChat .bk-search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:15px;height:15px;stroke:var(--ink-3);stroke-width:2;fill:none}
#bkChat .bk-arts{list-style:none;display:grid;gap:2px;margin-top:8px}
#bkChat .bk-arts a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 6px;border-radius:8px;font-size:13.5px;color:var(--ink-2);text-decoration:none}
#bkChat .bk-arts a:hover{background:var(--mist);color:var(--ink)}
#bkChat .bk-arts a::after{content:"→";color:var(--ink-3)}
#bkChat .bk-status{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink-2);padding:4px 2px}
#bkChat .bk-status i{width:8px;height:8px;border-radius:50%;background:var(--mint)}
#bkChat .bk-status a{color:var(--blue-deep);font-weight:500;text-decoration:none;margin-left:auto}
#bkChat .bk-form{padding:20px 18px;display:grid;gap:14px;overflow-y:auto;flex:1}
#bkChat .bk-form p{font-size:14px;color:var(--ink-2)}
#bkChat .bk-field label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
#bkChat .bk-field input, #bkChat .bk-field select, #bkChat .bk-field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;font-size:14px;background:#fff}
#bkChat .bk-field textarea{min-height:90px;resize:vertical}
#bkChat .bk-field input:focus, #bkChat .bk-field select:focus, #bkChat .bk-field textarea:focus{outline:2px solid var(--blue);outline-offset:0;border-color:transparent}
#bkChat .bk-chips{display:flex;gap:6px;flex-wrap:wrap}
#bkChat .bk-chips button{padding:7px 12px;border-radius:99px;border:1px solid var(--line);font-size:13px;font-weight:500;background:#fff}
#bkChat .bk-chips button.bk-on{background:var(--ink);color:#fff;border-color:var(--ink)}
#bkChat .bk-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:999px;font-weight:600;font-size:14.5px;background:var(--blue);color:#fff;box-shadow:0 8px 24px -8px rgba(43,76,255,.6);width:100%}
#bkChat .bk-btn:hover{background:var(--blue-deep)}
#bkChat .bk-btn.bk-ghost{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:none}
#bkChat .bk-form small{font-size:12px;color:var(--ink-3);text-align:center}
#bkChat .bk-msgs{flex:1;overflow-y:auto;padding:16px 16px 8px;display:flex;flex-direction:column;gap:4px;background:#fff}
#bkChat .bk-day{text-align:center;font-size:11.5px;color:var(--ink-3);margin:8px 0 10px}
#bkChat .bk-sys{text-align:center;font-size:12px;color:var(--ink-2);background:var(--mist);border-radius:10px;padding:8px 12px;margin:6px 24px 10px}
#bkChat .bk-sys b{font-weight:600}
#bkChat .bk-m{display:flex;gap:8px;align-items:flex-end;max-width:85%}
#bkChat .bk-m .bk-av{width:26px;height:26px;font-size:10.5px;border:0}
#bkChat .bk-m .bk-bub{background:var(--mist);border-radius:16px 16px 16px 4px;padding:10px 13px;font-size:14px;line-height:1.5;color:var(--ink)}
#bkChat .bk-m .bk-bub a{color:var(--blue-deep);font-weight:500}
#bkChat .bk-m .bk-bub+.bk-bub{margin-top:3px}
#bkChat .bk-m .bk-meta{font-size:11px;color:var(--ink-3);margin:3px 0 8px 2px;text-align:left}
#bkChat .bk-m.bk-me{align-self:flex-end;flex-direction:row-reverse}
#bkChat .bk-m.bk-me .bk-bub{background:var(--blue);color:#fff;border-radius:16px 16px 4px 16px}
#bkChat .bk-m.bk-me .bk-meta{margin:3px 0 8px;text-align:right}
#bkChat .bk-m.bk-me .bk-meta.bk-seen::after{content:" · Seen"}
#bkChat .bk-m.cont{margin-top:-2px}
#bkChat .bk-m.cont .bk-av{visibility:hidden}
#bkChat .bk-m.cont .bk-bub{border-radius:16px 16px 16px 4px}
#bkChat .bk-file{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px;margin-top:6px;font-size:12.5px}
#bkChat .bk-m.bk-me .bk-file{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.25);color:#fff}
#bkChat .bk-file i{width:30px;height:30px;border-radius:8px;background:var(--blue-tint);display:flex;align-items:center;justify-content:center;flex-shrink:0}
#bkChat .bk-m.bk-me .bk-file i{background:rgba(255,255,255,.2)}
#bkChat .bk-file svg{width:14px;height:14px;stroke:var(--blue-deep);stroke-width:2;fill:none}
#bkChat .bk-m.bk-me .bk-file svg{stroke:#fff}
#bkChat .bk-file b{display:block;font-weight:500}
#bkChat .bk-file span{opacity:.7;font-size:11.5px}
/* Lives below the thread rather than inside it, so a long conversation cannot
   scroll the "Emma is typing" indicator out of sight. */
#bkChat .bk-typing{display:flex;gap:8px;align-items:flex-end;padding:0 14px 8px}
#bkChat .bk-typing .bk-av{width:26px;height:26px;font-size:10.5px;border:0}
#bkChat .bk-typing .bk-bub{background:var(--mist);border-radius:14px}
#bkChat .bk-typing .bk-bub{display:flex;gap:4px;padding:12px 14px}
#bkChat .bk-typing .bk-bub i{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:tp 1.2s infinite}
#bkChat .bk-typing .bk-bub i:nth-child(2){animation-delay:.2s}
#bkChat .bk-typing .bk-bub i:nth-child(3){animation-delay:.4s}
@keyframes tp{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
#bkChat .bk-comp{border-top:1px solid var(--line);padding:10px 12px 12px;background:#fff}
#bkChat .bk-comp .bk-box{border:1px solid var(--line);border-radius:16px;background:var(--mist);display:flex;flex-direction:column;transition:border-color .15s,background .15s}
#bkChat .bk-comp .bk-box:focus-within{border-color:var(--blue);background:#fff}
#bkChat .bk-comp textarea{border:0;background:none;resize:none;font:inherit;font-size:14px;padding:11px 14px 4px;max-height:120px;outline:none;line-height:1.45}
#bkChat .bk-comp .bk-tools{display:flex;align-items:center;gap:2px;padding:4px 6px 6px}
#bkChat .bk-comp .bk-tools button{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:var(--ink-3)}
#bkChat .bk-comp .bk-tools button:hover{background:rgba(14,18,32,.06);color:var(--ink)}
#bkChat .bk-comp .bk-tools svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
#bkChat .bk-comp .bk-send{margin-left:auto;background:var(--ink);color:#fff!important;width:34px!important;height:34px!important;border-radius:11px!important}
#bkChat .bk-comp .bk-send:hover{background:var(--blue)!important}
#bkChat .bk-comp .bk-send:disabled{opacity:.35;cursor:default}
#bkChat .bk-comp .bk-send svg{stroke:#fff}
#bkChat .bk-comp .bk-foot{font-size:11px;color:var(--ink-3);text-align:center;margin-top:8px}
#bkChat .bk-done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:10px}
#bkChat .bk-done .bk-tick{width:56px;height:56px;border-radius:50%;background:var(--mint-tint);display:flex;align-items:center;justify-content:center;margin-bottom:6px}
#bkChat .bk-done .bk-tick svg{width:26px;height:26px;stroke:var(--mint-text);stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
#bkChat .bk-done h3{font-family:var(--display);font-size:20px;letter-spacing:-.02em}
#bkChat .bk-done p{font-size:14px;color:var(--ink-2);max-width:30ch}
#bkChat .bk-done .bk-btn{width:auto;margin-top:8px}
#bkChat .bk-done .bk-lnk{font-size:13px;color:var(--blue-deep);font-weight:500}
#bkChat .bk-brandline{text-align:center;font-size:11px;color:var(--ink-3);padding:8px;border-top:1px solid var(--line);background:#fff}
#bkChat .bk-brandline b{color:var(--ink-2);font-weight:600}


/* ---------------------------------------------------------------- Real desk */

/* A person, as opposed to one of the three on the assistant desk. Deliberately
   a different shape as well as a different colour — someone who has been
   waiting for a human should be able to see at a glance that one arrived. */
#bkChat .bk-av.bk-human{background:var(--ink);color:#fff;letter-spacing:1px}

/* Waiting for a person: the header dot stops being "online" green. */
#bkChat .bk-who span i{width:7px;height:7px;border-radius:50%;background:var(--mint);display:inline-block;margin-right:6px;flex:none}
#bkChat.bk-waiting .bk-who span i{background:var(--amber)}

/* The articles an answer was actually drawn from. Shown under the bubble
   because "where did that come from" is the first thing anyone sensible asks
   of a machine-written answer. */
#bkChat .bk-src{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
#bkChat .bk-src a{font-size:11.5px;color:var(--blue-deep);background:var(--blue-tint);border-radius:99px;padding:4px 9px;text-decoration:none}
#bkChat .bk-src a:hover{background:#DCE3FF}

/* A field the desk will reject. Marked on blur rather than as you type. */
#bkChat .bk-field input.bk-bad{outline:2px solid #D9455F;border-color:transparent}
#bkChat .bk-field small{display:block;font-size:11.5px;color:var(--ink-3);margin-top:5px}

/* Status line when the platform is not healthy. */
#bkChat .bk-status.bk-down i{background:var(--amber)}

/* Every one of these sets its own display, which beats the browser's default
   [hidden]{display:none} on specificity — so the typing dots stayed on screen
   for ever and the unread badge sat there reading "0". One rule, rather than
   remembering it per component. */
#bkChat [hidden]{display:none!important}

/* The closed screen offers two ways on, so they need separating. */
#bkChat .bk-done .bk-btn+.bk-btn{margin-top:8px}

/* Signed in: no need to ask who they are. */
#bkChat.bk-known .bk-identity{display:none}
#bkChat.bk-known [data-view="form"] .bk-who span{display:none}
#bkChat .bk-asme{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--ink-2);background:var(--mist);border-radius:10px;padding:9px 12px;margin-bottom:12px}
#bkChat .bk-asme b{color:var(--ink);font-weight:600}
#bkChat .bk-asme em{font-style:normal;color:var(--ink-3)}
#bkChat .bk-asme button{font:inherit;font-size:12px;font-weight:600;color:var(--blue-deep);background:none;border:0;padding:0;cursor:pointer;white-space:nowrap}
#bkChat .bk-asme[hidden]{display:none}

/* The start button is a button, not a flex child that grows into whatever
   room the form has left. */
#bkChat .bk-form .bk-field,#bkChat .bk-form .bk-asme{flex:0 0 auto}
#bkChat .bk-form .bk-btn{flex:0 0 auto;height:46px;padding:0 18px;line-height:1;align-self:stretch}
#bkChat .bk-form .bk-btn:disabled{opacity:.6;cursor:default}

/* Ending a chat, and rating it. */
#bkChat .bk-head .bk-acts .bk-end{width:auto;height:30px;padding:0 11px;border-radius:999px;border:1px solid var(--line);font-size:12px;font-weight:600;color:var(--ink-2);white-space:nowrap;margin-right:4px}
#bkChat .bk-head .bk-acts .bk-end:hover{background:var(--mist);color:var(--ink)}
#bkChat .bk-head .bk-acts .bk-end.bk-armed{background:var(--red-tint);border-color:var(--red-tint);color:var(--red-text)}

#bkChat .bk-head .bk-who{text-align:left}
#bkChat .bk-head .bk-who span{justify-content:flex-start;text-align:left}

/* A nowrap title must never widen the card it sits in; the card, and the
   column that holds it, are capped at the panel. */
#bkChat .bk-home-body{grid-template-columns:minmax(0,1fr)}
#bkChat .bk-card{min-width:0;max-width:100%;overflow:hidden}
#bkChat .bk-recent{min-width:0}

/* Rating, on the closed screen. Buttons to the site guide: a face is a
   tile with a line border, the picked one goes blue-tint; the note is an
   input on mist; Send is the ink primary pill. */
#bkChat .bk-rate{display:grid;gap:10px;justify-items:center;width:100%;max-width:320px}
#bkChat .bk-rate>b{font-family:var(--display);font-size:15px;letter-spacing:-.02em}
#bkChat .bk-stars{display:flex;gap:6px}
#bkChat .bk-stars button{width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;filter:grayscale(1);opacity:.55;transition:border-color .15s,background .15s,opacity .15s,filter .15s,transform .15s}
#bkChat .bk-stars button:hover{border-color:var(--ink-3);filter:none;opacity:1}
#bkChat .bk-stars button:active{transform:scale(.96)}
#bkChat .bk-stars button.bk-on{border-color:var(--blue);background:var(--blue-tint);filter:none;opacity:1}
#bkChat .bk-stars button:focus:not(:focus-visible){outline:none}
#bkChat .bk-stars button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
#bkChat .bk-stars button:disabled{cursor:default;transform:none}
#bkChat .bk-stars button:disabled:not(.bk-on){opacity:.3}
#bkChat .bk-rate-more{display:grid;gap:8px;width:100%}
#bkChat .bk-rate-more textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;font-size:14px;background:var(--mist);color:var(--ink);resize:vertical;min-height:64px}
#bkChat .bk-rate-more textarea:focus{outline:none;border-color:var(--ink);background:#fff}
#bkChat .bk-rate-more .bk-btn{width:100%;margin:0;padding:12px 20px;border-radius:999px;font-size:14.5px;font-weight:600;background:var(--ink);color:#fff;box-shadow:none}
#bkChat .bk-rate-more .bk-btn:hover{background:#232842}
#bkChat .bk-rate-more .bk-btn:active{transform:scale(.98)}
#bkChat .bk-rate-more .bk-btn:disabled{opacity:.6;cursor:default}
#bkChat .bk-rate-thanks{font-size:13px;color:var(--mint-text);font-weight:600}
#bkChat .bk-rate[hidden],#bkChat .bk-rate-more[hidden],#bkChat .bk-rate-thanks[hidden]{display:none}
