/* Shared Comnex presence and conversation feedback; both designer surfaces use these. */
.tds-orb{display:inline-block;position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 36% 28%,#fafafa 0,#d0d0d0 36%,#777 90%);isolation:isolate}
.tds-orb canvas{display:block;width:100%;height:100%;border-radius:50%;transform:scale(.97)}
.tds-conversation>.tds-section-heading{align-items:center;gap:14px}
.tds-section-orb{width:42px;height:42px;flex:0 0 42px;padding:5px;border:1px solid #e0e7ee;border-radius:50%;background:#f2f5f8}
.tds-conversation .tds-section-heading>div{flex:1;min-width:0}
.tds-conversation .tds-section-heading h2{margin-top:5px}
.tds-chat-welcome{flex:0 0 auto;text-align:center;padding:22px 14px 10px;color:#173b70}
.tds-chat-welcome-art{position:relative;width:88px;height:88px;padding:10px;margin:0 auto 22px;border:1px solid #e0e6ed;border-radius:50%;background:#fff;box-shadow:0 10px 30px #173b7010}
.tds-chat-welcome-spark{position:absolute;right:-7px;top:2px;color:#f27520;font-size:23px}
.tds-chat-welcome h3{font-size:25px;line-height:1.25;font-weight:750;letter-spacing:-.045em;margin:12px 0}
.tds-chat-welcome>p{font-size:13px;line-height:1.75;color:#586c87;max-width:440px;margin:0 auto 20px}
.tds-chat-capabilities{display:flex;justify-content:center;gap:8px 18px;flex-wrap:wrap;margin:0 0 22px}
.tds-chat-capabilities>span{font-size:10px;display:inline-flex;align-items:center;gap:6px;color:#536985}
.tds-chat-capabilities i{color:#dd641b}
.tds-chat-ideas{display:grid;gap:9px;max-width:430px;margin:auto;text-align:left}
.tds-chat-ideas button{min-height:48px;display:flex;align-items:center;gap:11px;border:1px solid #dce4ed;border-radius:12px;padding:12px 14px;background:#fff;color:#173b70;font-size:12px;text-align:left;transition:border-color .16s ease,background-color .16s ease}
.tds-chat-ideas button>i:first-child{width:18px;flex:0 0 18px;text-align:center;color:#d9691c;font-size:14px}
.tds-chat-ideas button>i:last-child{margin-left:auto;font-size:10px;transform:rotate(45deg);color:#8b9bb0}
.tds-chat-ideas button:hover{border-color:#9cb3cc;background:#f8fafc}
.tds-chat-welcome>small{display:block;font-size:10px;line-height:1.6;color:#63768f;max-width:370px;margin:20px auto 0}
.tds-typing{display:flex;align-items:center;gap:9px;padding:14px 16px;align-self:flex-start;max-width:100%}
.tds-typing>span{display:inline-block;margin:0;font-size:11px}
.tds-typing .tds-typing-mark{color:#e8792b;font-size:19px;animation:tds-spark 2s ease-in-out infinite}
.tds-typing .tds-typing-label{color:#536985;font-weight:500;flex:1}
.tds-typing-dots{display:inline-flex!important;align-items:center;gap:4px;min-height:18px;flex-shrink:0}
.tds-typing-dots>i{display:block;width:4px;height:4px;border-radius:50%;background:#6a809e;animation:tds-dot 1.3s ease-in-out infinite}
.tds-typing-dots>i:nth-child(2){animation-delay:.15s}.tds-typing-dots>i:nth-child(3){animation-delay:.3s}
@keyframes tds-dot{0%,65%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
@keyframes tds-spark{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}
.tds-message--sending{animation:tds-message-in .2s ease-out}
@keyframes tds-message-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.tds-message--failed{box-shadow:inset 0 -3px #eaa66f}
.tds-send-failed{display:inline-block;color:#ffe1bd;margin-top:10px;font-size:10px}
.tds-message--failed>button{margin-left:12px;border:0;border-bottom:1px solid #fff9;background:none;padding:3px 0;color:#fff;font-size:10px}
.tds-drawer-notice{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:28px;border:1px solid #dae3ed;border-radius:12px;background:#fff;font-size:13px;color:#526984;margin-top:32px}
.tds-drawer-notice button{flex-shrink:0;background:#173b70;color:#fff;border:0;border-radius:8px;padding:12px 16px;font-size:12px}

/* A modal drawer: one live designer workspace, an independent message scroll and a pinned composer. */
.td-chat{--td-ink:#173b70;--td-muted:#65758c;--td-line:#e4e9f0;color:var(--td-ink);font-family:Inter,Arial,sans-serif;line-height:1.5;text-align:left}
.td-chat *,.td-chat *::before,.td-chat *::after{box-sizing:border-box}
.td-chat [hidden]{display:none!important}
.td-chat button,.td-chat input,.td-chat textarea,.td-chat select{font:inherit}
.td-chat button{cursor:pointer}
.td-chat button:disabled{cursor:wait;opacity:.6}
.td-chat :is(button,a,input,textarea,select):focus-visible{outline:3px solid #397bbd;outline-offset:3px}
.td-chat a.tds-primary{color:#fff!important}
.td-chat-launcher{position:fixed;z-index:1040;right:25px;bottom:25px;display:flex;align-items:center;gap:13px;border:1px solid #e4e9ef;border-radius:40px;padding:7px 7px 7px 21px;background:#fff;color:#173b70;box-shadow:0 8px 35px #102f6025;transition:box-shadow .2s ease,transform .2s ease}
.td-chat-launcher:hover{transform:translateY(-3px);box-shadow:0 12px 42px #102f6030}
.td-chat-launcher-copy{text-align:left;display:grid;gap:3px}
.td-chat-launcher-copy>strong{font-size:12px;font-weight:700;letter-spacing:-.02em}
.td-chat-launcher-copy>span{font-size:9px;color:#687a90}.td-chat-launcher-copy b{color:#334861;font-weight:600}
.td-chat-launcher-orb{position:relative;display:block;width:54px;height:54px;padding:8px;border-radius:50%;background:#172a46;box-shadow:inset 0 0 0 1px #29415f}
.td-chat-launcher-star{position:absolute;right:0;top:-3px;display:grid;place-items:center;width:20px;height:20px;border:3px solid #fff;border-radius:50%;background:#f58031;color:#fff;font-size:10px}
.td-chat.is-busy .td-chat-launcher-star{animation:tds-spark 1.5s ease-in-out infinite}
.td-chat-shell{position:fixed;inset:var(--td-chat-top,0px) 0 auto;height:var(--td-chat-height,100dvh);z-index:2140}
.td-chat-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:#10203952;backdrop-filter:blur(2px);cursor:default!important}
.td-chat-dialog{position:absolute;inset:12px 12px 12px auto;width:min(560px,calc(100vw - 24px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #dce4ee;border-radius:20px;box-shadow:0 20px 80px #101d3c35;outline:none!important;animation:td-chat-enter .24s cubic-bezier(.2,.7,.2,1)}
@keyframes td-chat-enter{from{transform:translateX(30px);opacity:0}to{transform:translateX(0);opacity:1}}
body.theme-pro.theme-tatilsepeti.travel-agency.td-chat-is-open{position:fixed;left:0;right:0;overflow:hidden!important;width:100%;height:100%}
.td-chat-header{flex:0 0 auto;display:flex;align-items:center;gap:13px;padding:20px 20px 18px;background:linear-gradient(120deg,#fcfdff,#f2f6fb);border-bottom:1px solid var(--td-line)}
.td-chat-avatar{display:block;flex:0 0 48px;width:48px;height:48px;padding:7px;border:1px solid #e0e6ee;border-radius:50%;background:#fff}
.td-chat-identity{min-width:0;flex:1}.td-chat-brand{display:flex;gap:7px;align-items:center;letter-spacing:.13em;font-size:8px;color:#7a8799;font-weight:700}.td-chat-brand>span{font-size:10px;color:#ef7625}
.td-chat-header h2{font-size:18px;font-weight:750;letter-spacing:-.04em;line-height:1.3;color:#173b70;margin:5px 0}
.td-chat-presence{display:block;color:#60738b;font-size:11px;line-height:1.5}
.td-chat-header-actions{display:flex;gap:3px;align-self:flex-start}
.td-chat-icon{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:#667a93!important;font-size:13px;text-decoration:none}
.td-chat-icon:hover{color:#173b70!important;background:#e9eff6}
.td-chat-toolbar{flex:0 0 auto;display:flex;align-items:center;gap:4px;padding:11px 18px;border-bottom:1px solid var(--td-line);background:#fff}
.td-chat-toolbar>button{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 12px;font-size:11px;font-weight:650;color:#6c7c91;background:transparent;border:1px solid transparent;border-radius:8px}
.td-chat-toolbar>button[aria-pressed=true]{color:#173b70;background:#edf2f8;border-color:#e3eaf3}
.td-chat-toolbar>span{font-size:9px;color:#7b899c;margin-left:auto;padding-left:7px}
.td-chat-plan-dot{display:block;width:5px;height:5px;background:#f58031;border-radius:50%}
.td-chat-summary{display:flex;flex-wrap:wrap;gap:5px;padding:10px 20px;border-bottom:1px solid var(--td-line);flex:0 0 auto;background:#fdfefe}
.td-chat-summary>span{max-width:100%;font-size:9px;color:#4e6582;background:#f0f4f8;padding:4px 7px;border-radius:5px;overflow-wrap:anywhere}
.td-chat-host{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;background:#f7f9fc;position:relative}
.td-chat-runtime,.td-chat [data-designer-workspace]{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden}
.td-chat .tds-workspace-grid{display:flex;flex-direction:column;gap:0;margin:0;flex:1 1 0;min-height:0}
.td-chat .tds-conversation{flex:1 1 0;height:auto;min-height:0;border:0;border-radius:0;scroll-margin:0}
.td-chat .tds-conversation>.tds-section-heading,.td-chat .tds-workspace-notes,.td-chat .tds-handoff{display:none}
.td-chat .tds-plan{display:none;height:auto;flex:1 1 0;padding:22px;border:0;border-radius:0;min-height:0}
.td-chat[data-chat-view=plan] .tds-plan{display:flex}
.td-chat[data-chat-view=plan] .tds-conversation{display:none}
.td-chat .tds-plan>header h2{font-size:20px}
.td-chat .tds-messages{padding:20px 18px;background:#f7f9fc;scrollbar-gutter:auto}
.td-chat .tds-message{font-size:12px;padding:15px 16px;line-height:1.65;box-shadow:0 2px 4px #173b7003}
.td-chat .tds-message p{font-size:13px;line-height:1.75;white-space:pre-wrap}
.td-chat .tds-message--assistant{margin-right:14px;background:#fff;border-color:#e1e7ef}
.td-chat .tds-message--user{margin-left:36px;background:#173b70;color:#fff}
.td-chat .tds-message>span{font-size:9px;margin-bottom:7px}
.td-chat .tds-message--offers{margin:0;padding:15px 12px}
.td-chat .tds-chat-results .tds-offer,.td-chat .tds-offer{grid-template-columns:84px minmax(0,1fr);border-radius:11px}
.td-chat .tds-offer-body{padding:13px}.td-chat .tds-offer h3{font-size:14px}.td-chat .tds-offer-actions{gap:7px}.td-chat .tds-offer-actions :is(a,button){padding:10px 9px;font-size:10px;min-height:39px}
.td-chat .tds-chat-welcome{margin:auto 0;padding:12px 12px 16px}.td-chat .tds-chat-welcome h3{font-size:27px;max-width:340px;margin:12px auto 16px}
.td-chat .tds-chat-welcome>p{font-size:13px;max-width:390px}.td-chat .tds-chat-ideas{max-width:400px}
.td-chat .tds-chat-capabilities{gap:8px 14px}.td-chat .tds-chat-capabilities>span{font-size:9px}
.td-chat .tds-reply-form{padding:15px 18px 14px;border-top:1px solid var(--td-line);background:#fff}
.td-chat .tds-reply-form>label{font-size:10px;margin-bottom:8px;color:#60738e}
.td-chat .tds-reply-form textarea{display:block;width:100%;min-height:58px;height:64px;max-height:120px;padding:12px 14px;border-radius:11px;resize:none;font-size:12px;line-height:1.6;background:#f8fafc;color:#173b70;scrollbar-width:thin}
.td-chat .tds-reply-form .tds-prompt-bottom{margin-top:10px;align-items:center;flex-wrap:nowrap;gap:12px}
.td-chat .tds-reply-form .tds-prompt-bottom>span{font-size:9px;line-height:1.5;color:#74829a}
.td-chat .tds-reply-form .tds-primary{min-height:40px;padding:10px 15px;font-size:11px;border-radius:9px;background:#173b70;white-space:nowrap}
.td-chat .tds-chat-status{margin:10px 0 0;font-size:11px;line-height:1.5}
.td-chat .tds-hotel-prompts{padding:8px 18px 12px;gap:6px;background:#fff;max-height:88px;overflow:auto;flex-shrink:0}
.td-chat .tds-hotel-prompts button{font-size:9px}
.td-chat .tds-typing{align-items:center;gap:8px;padding:13px 14px}.td-chat .tds-typing>span{margin:0;white-space:normal}.td-chat .tds-typing .tds-typing-mark{font-size:18px}.td-chat .tds-typing .tds-typing-label{font-size:10px}
.td-chat-loading,.td-chat-load-error{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:36px}
.td-chat-loading-orb{display:block;width:68px;height:68px;padding:7px;margin-bottom:22px;border:1px solid var(--td-line);border-radius:50%;background:#fff}
.td-chat-loading strong{font-size:17px;letter-spacing:-.02em}.td-chat-loading p,.td-chat-load-error p{font-size:12px;color:#64758d;line-height:1.7;margin:10px 0 22px}
.td-chat-load-error h3{font-size:20px;margin:0}.td-chat-load-error>a{font-size:11px;margin-top:17px;text-decoration:underline}
.td-chat-footer{flex:0 0 auto;display:flex;align-items:center;gap:14px;padding:10px 18px;background:#fff;border-top:1px solid var(--td-line)}
.td-chat-footer>span{font-size:9px;color:#5c7088;white-space:nowrap;font-weight:650}.td-chat-footer>small{font-size:9px;line-height:1.6;color:#60738b;max-width:360px}
.td-chat-hotel-context{margin-top:15px}.td-chat-hotel-context button{width:100%;border:1px solid #ccd9e7;border-radius:10px;background:#eef4f9;color:#173b70;padding:12px;font-size:11px;line-height:1.6}
@media(max-width:767px),(max-width:1024px) and (hover:none) and (pointer:coarse){
 .td-chat-dialog{inset:0;width:100%;border:0;border-radius:0;animation:td-chat-enter-mobile .22s ease-out}
 .td-chat-header{padding:calc(16px + env(safe-area-inset-top,0px)) 16px 15px;gap:11px}
 .td-chat-header h2{font-size:17px}.td-chat-avatar{width:44px;height:44px;flex-basis:44px}
 .td-chat-header-actions{gap:1px}.td-chat-icon{width:32px;height:32px}
 .td-chat-launcher{right:16px;bottom:calc(18px + env(safe-area-inset-bottom,0px));padding:6px 6px 6px 17px;gap:10px}
 .td-chat-launcher-copy>strong{font-size:11px}.td-chat-launcher-orb{width:48px;height:48px;padding:7px}
 .td-chat-toolbar{padding:9px 14px}.td-chat-toolbar>span{font-size:8px}
 .td-chat .tds-messages{padding:17px 13px}.td-chat .tds-message--assistant{margin-right:8px}.td-chat .tds-message--user{margin-left:25px}
 .td-chat .tds-chat-welcome{padding:8px 8px 14px}.td-chat .tds-chat-welcome h3{font-size:25px;max-width:280px}
 .td-chat .tds-chat-welcome-art{width:76px;height:76px;margin-bottom:18px}
 .td-chat .tds-chat-capabilities{gap:8px 12px}.td-chat .tds-chat-capabilities>span{font-size:8px}
 .td-chat .tds-reply-form{padding:12px 14px}.td-chat .tds-reply-form textarea{font-size:16px;line-height:1.5;padding:11px 12px}
 .td-chat .tds-reply-form .tds-prompt-bottom>span{font-size:8px}.td-chat .tds-reply-form .tds-primary{min-height:42px}
 .td-chat .tds-plan{padding:20px 18px}.td-chat .tds-plan input,.td-chat .tds-plan select{font-size:16px}
 .td-chat-footer{padding:9px 14px calc(9px + env(safe-area-inset-bottom,0px));gap:11px}.td-chat-footer>small{font-size:8px}
 .tds-drawer-notice{flex-direction:column;align-items:flex-start}
}
@media(max-height:700px){.td-chat .tds-chat-welcome-art{width:62px;height:62px;margin-bottom:12px}.td-chat .tds-chat-welcome h3{font-size:23px}.td-chat .tds-chat-welcome>p{margin-bottom:12px}.td-chat .tds-chat-capabilities{margin-bottom:14px}.td-chat .tds-chat-welcome>small{margin-top:14px}}
@media(max-height:550px){
 .td-chat .tds-chat-welcome-art{display:none}.td-chat .tds-chat-welcome{padding-top:4px}.td-chat .tds-chat-welcome h3{font-size:21px;margin:8px auto}
 .td-chat-header{padding:8px 14px;gap:10px}.td-chat-header h2{font-size:16px;margin:3px 0}.td-chat-avatar{width:34px;height:34px;flex-basis:34px;padding:4px}.td-chat-presence{display:none}
 .td-chat-toolbar{padding:5px 12px}.td-chat-toolbar>button{min-height:28px;padding:5px 10px}.td-chat-toolbar>span,.td-chat-summary{display:none}
 .td-chat .tds-reply-form{padding:8px 14px}.td-chat .tds-reply-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .td-chat .tds-reply-form textarea{min-height:44px;max-height:64px}.td-chat .tds-reply-form .tds-prompt-bottom{margin-top:7px}
 .td-chat-footer{padding-top:5px;padding-bottom:5px}.td-chat .tds-hotel-prompts{max-height:44px;padding-top:4px;padding-bottom:6px}
}
@keyframes td-chat-enter-mobile{from{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.td-chat *,.tds-typing *,.tds-message--sending{animation:none!important;transition:none!important;scroll-behavior:auto!important}.td-chat-dialog{animation:none!important}}
