#tcf-chat-widget{font-family:Inter,Arial,sans-serif;color:#101828}
#tcf-chat-toggle{position:fixed;right:24px;bottom:24px;z-index:99990;border:0;border-radius:50px;padding:15px 22px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-size:15px;font-weight:700;box-shadow:0 8px 30px #1d4ed844;cursor:pointer}
#tcf-chat-panel{display:none;position:fixed;right:24px;bottom:88px;z-index:99991;width:min(390px,calc(100vw - 24px));height:min(570px,calc(100dvh - 115px));background:#fff;border:1px solid #e1e7f0;border-radius:20px;box-shadow:0 18px 65px #0f224733;overflow:hidden;flex-direction:column}
#tcf-chat-panel.tcf-open{display:flex}
#tcf-chat-widget *{box-sizing:border-box}
#tcf-chat-widget .tcf-head{display:flex;align-items:center;justify-content:space-between;padding:17px;background:linear-gradient(120deg,#0f2247,#254eb8);color:white}
#tcf-chat-widget .tcf-head strong{font-size:16px}
#tcf-chat-widget .tcf-head small{display:block;margin-top:4px;color:#dce8ff;font-size:12px}
#tcf-chat-widget .tcf-close{background:transparent;border:0;color:#fff;font-size:25px;cursor:pointer;padding:0 5px}
#tcf-chat-widget .tcf-body{padding:17px;overflow-y:auto;flex:1;background:#f7f9fd}
#tcf-chat-widget .tcf-intro{font-size:13px;line-height:1.6;color:#596579;margin:0 0 15px}
#tcf-chat-widget label{display:block;font-size:12px;font-weight:700;margin:12px 0 5px}
#tcf-chat-widget input,#tcf-chat-widget textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dce3ef;border-radius:10px;background:white;color:#101828;font:14px Inter,Arial,sans-serif}
#tcf-chat-widget textarea{min-height:90px;resize:vertical}
#tcf-chat-widget input:focus,#tcf-chat-widget textarea:focus{outline:2px solid #93b4ff;outline-offset:1px}
#tcf-chat-widget .tcf-primary{width:100%;border:0;border-radius:10px;padding:12px;margin-top:13px;background:#2563eb;color:white;font-weight:700;cursor:pointer}
#tcf-chat-widget button:disabled{opacity:.55;cursor:wait}
#tcf-chat-widget .tcf-error{font-size:12px;color:#b42318;margin-top:10px;white-space:pre-wrap}
#tcf-chat-widget .tcf-status{font-size:12px;color:#64748b;margin-bottom:13px}
#tcf-chat-widget .tcf-message{max-width:92%;padding:12px;margin:10px 0;border-radius:13px;background:white;border:1px solid #e5eaf2;overflow-wrap:anywhere}
#tcf-chat-widget .tcf-message.tcf-mine{margin-left:auto;background:#e4ebfa;border-color:#d8e3fb}
#tcf-chat-widget .tcf-message strong{font-size:12px;display:block;margin-bottom:7px}
#tcf-chat-widget .tcf-message p{font-size:13px;line-height:1.6;white-space:pre-wrap;margin:0}
#tcf-chat-widget .tcf-message time{display:block;font-size:10px;color:#64748b;margin-top:8px}
#tcf-chat-widget .tcf-compose{display:flex;gap:8px;padding:12px;border-top:1px solid #e5eaf2;background:#fff}
#tcf-chat-widget .tcf-compose textarea{min-height:44px;max-height:100px;flex:1}
#tcf-chat-widget .tcf-send{border:0;border-radius:10px;padding:0 15px;background:#2563eb;color:white;font-weight:700;cursor:pointer}
#tcf-chat-widget .tcf-compose[hidden]{display:none}
@media(max-width:480px){
 #tcf-chat-toggle{right:14px;bottom:14px;padding:13px 17px}
 #tcf-chat-panel{right:8px;bottom:72px;width:calc(100vw - 16px);height:min(590px,calc(100dvh - 90px));border-radius:16px}
}

/* TCF_CHAT_POSITION_FIX_20261013 */
#tcf-chat-widget #tcf-chat-toggle {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 2147483000 !important;
}

#tcf-chat-widget #tcf-chat-panel {
  position: fixed !important;
  right: 24px !important;
  bottom: 88px !important;
  z-index: 2147483001 !important;
  width: min(390px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100dvh - 115px) !important;
}

#tcf-chat-widget #tcf-chat-panel.tcf-open {
  display: flex !important;
  visibility: visible !important;
}

/* TCF_CHAT_HEADER_FIX_20261013 */
#tcf-chat-widget #tcf-chat-panel {
  padding: 0 !important;
  box-sizing: border-box !important;
}

#tcf-chat-widget #tcf-chat-panel .tcf-head {
  display: flex !important;
  position: relative !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 17px !important;
  background: linear-gradient(120deg, #0f2247, #254eb8) !important;
  color: #fff !important;
}

#tcf-chat-widget #tcf-chat-panel .tcf-head strong,
#tcf-chat-widget #tcf-chat-panel .tcf-head small,
#tcf-chat-widget #tcf-chat-panel .tcf-head button {
  color: #fff !important;
}

#tcf-chat-widget #tcf-chat-panel .tcf-head small {
  display: block !important;
}

#tcf-chat-widget #tcf-chat-panel .tcf-close {
  background: transparent !important;
  border: 0 !important;
}
