#kk-root,#kk-chat{font-family:Arial,sans-serif;line-height:1.6;color:#173a34}#kk-root h2,#kk-root h3,#kk-chat h3{font-family:inherit;letter-spacing:normal}#kk-root h2{font-size:28px;margin:12px 0}#kk-root h3{font-size:20px;margin:12px 0}.kk-card{background:#fff;border:1px solid #d9ddd4;border-radius:6px;padding:25px;margin:20px 0}.kk-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.kk-tabs button,.kk-btn{border:1px solid #a9b9ac;border-radius:4px;color:#173a34;background:#f7f5ef;padding:12px 17px;cursor:pointer;min-height:46px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.3;font:inherit}.kk-btn.primary,.kk-tabs button[aria-selected=true]{background:#143c36;border-color:#143c36;color:#fff;font-weight:700}.kk-btn.secondary{background:#e9eee5}.kk-btn:disabled{opacity:.5;cursor:wait}.kk-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.kk-field{display:flex;flex-direction:column;gap:6px;color:#28483d;font-size:14px;min-width:0}.kk-field input,.kk-field select,.kk-field textarea{padding:12px;border:1px solid #b2bfb2;border-radius:4px;background:#fff;color:#173a34;width:100%;min-width:0;min-height:46px}.kk-field textarea{resize:vertical;min-height:100px}.kk-span{grid-column:1/-1}.kk-check{display:flex;align-items:flex-start;gap:10px;font-size:14px}.kk-check input{width:20px;height:20px;flex:0 0 auto}.kk-muted{color:#64716b;font-size:14px}.kk-notice{background:#f4ebd4;color:#665018;border:1px solid #d9c58d;border-radius:5px;padding:14px;margin:12px 0;font-size:13px}.kk-message{padding:14px;border-radius:5px;border:1px solid #719b7e;background:#ebf5e9;margin:10px 0;white-space:pre-wrap}.kk-message.error{background:#fff0ee;border-color:#cf9a8d;color:#7f2929}.kk-message:empty{display:none}.kk-status{display:inline-block;border-radius:20px;padding:5px 12px;background:#edece4;font-size:12px}.kk-status.confirmed,.kk-status.completed{background:#d5ead8;color:#204b2a}.kk-status.cancelled,.kk-status.rejected{background:#f4dcd5}.kk-details{white-space:pre-wrap;overflow-wrap:anywhere}.kk-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px}.kk-card pre{white-space:pre-wrap;font-family:inherit;overflow-wrap:anywhere;background:#f7f5ef;padding:15px;border-radius:4px}.kk-honey{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden}.kk-chat-toggle{position:fixed;right:24px;bottom:24px;z-index:100;border:1px solid #d3a749;border-radius:28px;background:#e2b75d;color:#173a34;padding:16px 22px;font-weight:700;box-shadow:0 5px 20px #122e2733;cursor:pointer;max-width:80vw}#kk-chat{position:fixed;right:24px;bottom:90px;width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 115px);background:#fff;border:1px solid #9fb29f;border-radius:10px;box-shadow:0 12px 65px #122e2755;z-index:101;padding:20px;overflow:auto}#kk-chat[hidden]{display:none}.kk-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.kk-chat-log{max-height:270px;overflow-y:auto;margin:12px 0}.kk-bubble{padding:12px;border-radius:5px;background:#edf1e9;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.kk-bubble.user{background:#f4ebd4;margin-left:30px}.kk-bubble small{display:block;color:#53644f;font-size:11px;margin-top:6px}.kk-topics{display:flex;flex-wrap:wrap;gap:7px}.kk-topics button{font-size:12px;padding:8px 10px;min-height:40px}#kk-chat form{display:flex;gap:8px;align-items:end}#kk-chat textarea{width:100%;padding:10px;min-height:60px;border-radius:4px;background:#fff;color:#173a34;border:1px solid #9fb29f;resize:vertical}.kk-calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.kk-calendar .kk-card{margin:0;padding:16px}.kk-quote{border-top:1px solid #d9ddd4;margin-top:18px;padding-top:14px}.kk-btn:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b98020;outline-offset:3px}@media(max-width:600px){.kk-grid{grid-template-columns:1fr}.kk-card{padding:17px}.kk-tabs button{flex:1;font-size:12px;padding:10px}.kk-chat-toggle{right:14px;bottom:16px;font-size:13px}#kk-chat{right:14px;bottom:76px;padding:14px;max-height:calc(100dvh - 98px)}.kk-row>.kk-btn{flex:1}}
/* v0.4 dark surface tokens */
#kk-root,#kk-chat{color:#f3eddf}.kk-card{background:#211a2b;border-color:#51405d}.kk-tabs button,.kk-btn{background:#30223c;border-color:#72567f;color:#f3eddf}.kk-btn.primary,.kk-tabs button[aria-selected=true]{background:#e6bd62;border-color:#e6bd62;color:#21162c}.kk-btn.secondary{background:#372740}.kk-field{color:#e1d5e9}.kk-field input,.kk-field select,.kk-field textarea{background:#15101d;border-color:#71557e;color:#fff}.kk-muted{color:#c4b8cf}.kk-notice{background:#332619;color:#f2d8a4;border-color:#805f2f}.kk-message{background:#19372c;border-color:#4a8968;color:#e6f7ec}.kk-message.error{background:#48252d;border-color:#b97c8c;color:#ffe8ed}.kk-status{background:#46314f;color:#e8d9f2}.kk-status.confirmed,.kk-status.completed{background:#224b35;color:#d7f4e0}.kk-status.cancelled,.kk-status.rejected{background:#5a293a;color:#ffe5ed}.kk-card pre{background:#15101d}.kk-chat-toggle{background:#e6bd62;color:#24162f}#kk-chat{background:#211a2b;border-color:#8d6a94}.kk-bubble{background:#382645}.kk-bubble.user{background:#3e3221}.kk-bubble small{color:#d6c4e0}#kk-chat textarea{background:#15101d;color:#fff;border-color:#8d6a94}.kk-quote{border-color:#5c4367}.kk-btn[aria-pressed=true]{outline:2px solid #edc671;outline-offset:2px}

/* v0.7: the conversation scrolls; the composer stays visible above the keyboard. */
#kk-chat{display:flex;flex-direction:column;width:min(500px,calc(100vw - 28px));height:min(720px,calc(var(--chat-viewport,100dvh) - 32px));max-height:calc(var(--chat-viewport,100dvh) - 32px);bottom:calc(var(--chat-bottom,0px) + 16px);padding:16px;overflow:hidden;gap:9px;box-sizing:border-box}
#kk-chat[hidden],#kk-chat-toggle[hidden]{display:none}
#kk-chat .kk-chat-head{flex-shrink:0}#kk-chat h3{margin:0;font-size:19px}
#kk-chat .kk-chat-toolbar{display:flex;gap:8px;flex-shrink:0}
#kk-chat .kk-chat-toolbar .kk-btn{font-size:12px;min-height:36px;padding:7px 10px}
#kk-chat .kk-chat-log{flex:1 1 0;min-height:60px;max-height:none;overflow-y:auto;overscroll-behavior:contain;margin:0;padding-right:4px}
#kk-chat .kk-bubble{font-size:15px;line-height:1.5;margin:8px 0;padding:12px}
#kk-chat .kk-bubble.user{margin-left:30px}#kk-chat .kk-bubble>.kk-btn{display:block;font-size:11px;min-height:32px;padding:5px 9px;margin-top:8px}
#kk-chat .kk-chat-quick{flex-shrink:0;border-bottom:1px solid #66526e;padding-bottom:8px}
#kk-chat summary{cursor:pointer;font-size:14px;min-height:28px;line-height:28px;color:#eed18b}
#kk-chat .kk-topics{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding:8px 0;scrollbar-width:thin;overscroll-behavior-x:contain}
#kk-chat .kk-topics button{flex:0 0 auto;white-space:nowrap;min-height:42px}
#kk-chat .kk-chat-composer{flex-shrink:0;border-top:1px solid #66526e;padding-top:10px}
#kk-chat form{display:flex;align-items:stretch;gap:8px;margin:0}
#kk-chat textarea{flex:1;min-width:0;box-sizing:border-box;min-height:88px;max-height:120px;resize:none;font-size:16px;line-height:1.45;padding:12px}
#kk-chat textarea::placeholder{color:#bbb1c1;opacity:1}
#kk-chat .kk-composer-buttons{display:flex;flex-direction:column;gap:5px;max-width:105px}
#kk-chat .kk-composer-buttons button{min-height:42px;padding:7px 10px;font-size:13px;overflow-wrap:anywhere}
#kk-chat .kk-chat-status{font-size:12px;line-height:1.35;margin:0 0 7px;color:#f2d790;max-height:48px;overflow:auto}
#kk-chat .kk-chat-options{margin-top:6px;max-height:100px;overflow:auto}
#kk-chat .kk-chat-options p{font-size:12px;line-height:1.4;margin:5px 0}
@media(max-width:600px){#kk-chat{right:8px;width:calc(100vw - 16px);height:calc(var(--chat-viewport,100dvh) - 16px);max-height:calc(var(--chat-viewport,100dvh) - 16px);bottom:calc(var(--chat-bottom,0px) + 8px);padding:12px;border-radius:14px}#kk-chat .kk-chat-head .kk-btn{min-height:40px;padding:8px 12px}}
@media(max-height:500px){#kk-chat{gap:4px}#kk-chat textarea{min-height:62px}#kk-chat .kk-chat-options{display:none}#kk-chat .kk-composer-buttons{flex-direction:row}#kk-chat .kk-chat-toolbar .kk-btn{min-height:30px}}

.kk-bot-intro{position:fixed;z-index:100;right:24px;bottom:94px;width:min(345px,calc(100vw - 28px));box-sizing:border-box;padding:18px;background:#241b2f;color:#f5eff8;border:1px solid #b18a45;border-radius:16px;box-shadow:0 12px 35px #0007;font-size:14px;line-height:1.5;max-height:50dvh;overflow:auto}
.kk-bot-intro[hidden]{display:none}.kk-bot-intro p{margin:8px 0 14px;padding-right:16px}.kk-bot-intro .kk-intro-close{position:absolute;top:2px;right:2px;min-width:36px;min-height:36px;padding:4px;background:transparent;border:0;font-size:24px}.kk-intro-actions{display:flex;flex-wrap:wrap;gap:8px}.kk-intro-actions .kk-btn{font-size:12px;padding:9px 11px;min-height:40px;text-decoration:none}
@media(max-width:600px){.kk-bot-intro{right:14px;bottom:82px}}

.kk-tour-link{display:block;color:#f0d28a;text-decoration:underline;margin:.7rem 0;line-height:1.5;overflow-wrap:anywhere}

/* Readable, touch-friendly chat controls, including at enlarged text sizes. */
#kk-chat .kk-bubble{font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
#kk-chat .kk-tour-link{font-size:1rem;min-height:44px;display:flex;align-items:center;padding:.5rem .7rem;border:1px solid #b18a45;border-radius:8px;box-sizing:border-box}
#kk-chat .kk-chat-toolbar{flex-wrap:wrap}
#kk-chat .kk-chat-toolbar .kk-btn,#kk-chat .kk-bubble .kk-btn{font-size:.875rem;min-height:44px;white-space:normal}
#kk-chat a:focus-visible,#kk-chat button:focus-visible{outline:3px solid #fff;outline-offset:3px}

/* Keep real answers visible when the phone keyboard reduces the viewport. */
#kk-chat .kk-chat-log{overflow-anchor:none}
#kk-chat.kk-keyboard-open .kk-chat-options{display:none}
#kk-chat.kk-keyboard-open textarea{min-height:48px;height:48px}
#kk-chat.kk-keyboard-open .kk-chat-toolbar .kk-btn:not(:last-child){display:none}
#kk-chat.kk-keyboard-open .kk-chat-composer{padding-top:6px}
#kk-chat.kk-keyboard-open .kk-composer-buttons{flex-direction:row;max-width:none}
#kk-chat.kk-keyboard-open .kk-chat-head h3{font-size:1rem}
