#technova-chatbot {
  --nova-ink: #122443;
  --nova-teal: #087c79;
  font-family: "Poppins", "Noto Sans Tamil", system-ui, sans-serif;
}
.nova-launcher {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(112px + env(safe-area-inset-bottom));
  z-index: 31;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 88px;
  padding: 3px 4px 7px;
  border: 1px solid #79dcd3;
  border-radius: 25px 25px 25px 8px;
  color: #fff;
  background: linear-gradient(145deg, #173b60, #11213f 68%);
  box-shadow: 0 8px 26px #10244240, inset 0 0 16px #75f4e012;
  cursor: pointer;
  font: inherit;
}
.nova-launcher > span:not(.nova-launcher__label) { font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.nova-launcher__label {
  position: absolute;
  right: 88px;
  padding: 7px 12px;
  border: 1px solid #d5e5e9;
  border-radius: 12px 12px 3px 12px;
  background: #fff;
  color: var(--nova-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px #10244212;
}
.nova-launcher:hover .nova-robot { transform: rotate(-6deg); }
.nova-robot { transition: transform 180ms ease; flex-shrink: 0; }
.nova-chat {
  position: fixed;
  inset: auto max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto;
  box-sizing: border-box;
  width: 410px;
  max-width: calc(100vw - 32px);
  height: min(690px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  margin: 0;
  padding: 0;
  border: 1px solid #c9e6e5;
  border-radius: 24px;
  background: #f3f8fa;
  color: var(--nova-ink);
  box-shadow: 0 24px 80px #10244240;
  overflow: hidden;
  font: inherit;
}
.nova-chat[open] { display: flex; flex-direction: column; }
.nova-chat::backdrop { background: #10244238; }
.nova-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: radial-gradient(ellipse at top right, #126e74, transparent 75%), #122443;
  color: #fff;
}
.nova-header p { margin: 0 0 5px; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; color: #9af4e5; }
.nova-header h2 { margin: 0; font-size: 27px; line-height: 1.3; color: #fff; }
.nova-header h2 span { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; color: #d3ecef; }
.nova-close { min-width: 44px; min-height: 44px; border: 1px solid #ffffff50; border-radius: 50%; color: #fff; background: #ffffff10; font-size: 25px; cursor: pointer; }
.nova-tools { display: flex; gap: 7px; align-items: center; padding: 10px 14px 0; font-size: 11px; flex-wrap: wrap; }
.nova-tools select { width: auto; max-width: 125px; min-height: 44px; border: 1px solid #bbcdd7; border-radius: 9px; background: #fff; color: var(--nova-ink); padding: 6px; font: inherit; }
.nova-tools button { margin-left: auto; border: 0; background: none; color: var(--nova-teal); min-height: 44px; font: inherit; font-weight: 700; cursor: pointer; }
.nova-note { margin: 6px 16px 10px; color: #4a5b70; font-size: 10px; line-height: 1.6; }
.nova-log { flex: 1; min-height: 70px; padding: 4px 16px 12px; overflow-y: auto; overscroll-behavior: contain; }
.nova-message { margin: 0 20px 12px 0; border: 1px solid #dbe8ed; border-radius: 3px 16px 16px; padding: 13px; background: #fff; box-shadow: 0 3px 8px #12244304; overflow-wrap: anywhere; }
.nova-message strong { display: block; color: var(--nova-teal); font-size: 10px; margin-bottom: 6px; }
.nova-message p { margin: 0; white-space: pre-line; font-size: 12px; line-height: 1.75; }
.nova-message--user { margin: 0 0 12px 38px; background: #122443; color: #fff; border-color: #122443; border-radius: 16px 3px 16px 16px; }
.nova-message--user strong { color: #91f1df; }
.nova-message ul { margin: 10px 0 0; padding: 0; list-style: none; }
.nova-message a { display: block; padding: 10px 0; color: #075d77; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.nova-suggestions { display: flex; flex-wrap: wrap; gap: 6px; max-height: 110px; overflow-y: auto; padding: 10px 14px; border-top: 1px solid #e0eaef; }
.nova-suggestions button { min-height: 44px; padding: 6px 11px; background: #fff; border: 1px solid #bed7dc; color: #20576a; border-radius: 20px; font: inherit; font-size: 11px; cursor: pointer; }
.nova-form { padding: 0 14px 8px; margin: 0; }
.nova-input-label { display: block; font-size: 10px; margin-bottom: 4px; font-weight: 600; }
.nova-form > div { display: flex; gap: 6px; }
.nova-form input { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #b5cdd7; border-radius: 10px; background: #fff; color: #122443; font: inherit; font-size: 16px; box-sizing: border-box; }
.nova-form button { min-width: 52px; border: 0; border-radius: 10px; background: #08756f; color: #fff; padding: 8px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.nova-form button:disabled { opacity: .6; cursor: wait; }
.nova-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 8px; }
.nova-footer button, .nova-footer a { min-height: 44px; display: inline-flex; align-items: center; border: 0; background: none; color: #075c72; font: inherit; font-size: 11px; cursor: pointer; text-decoration: underline; }
#technova-chatbot :focus-visible { outline: 3px solid #d38b00; outline-offset: 2px; }
#technova-chatbot [hidden] { display: none; }
body:has(.consent-banner:not([hidden])) .nova-launcher__label { display: none; }
body:has(.nova-chat[open]) { overflow: hidden; }
@media (max-width: 700px) {
  .nova-launcher { right: 16px; width: 64px; height: 76px; bottom: calc(104px + env(safe-area-inset-bottom)); border-radius: 22px 22px 22px 6px; }
  .nova-robot { width: 48px; height: 48px; }
  .nova-launcher__label { right: 74px; }
  .nova-chat { inset: auto 8px max(8px, env(safe-area-inset-bottom)) auto; width: calc(100vw - 16px); max-width: calc(100vw - 16px); height: min(720px, calc(100dvh - 16px)); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .nova-header { padding: 16px; }
  .nova-header h2 { font-size: 24px; }
}
@media (max-height: 560px) {
  .nova-header { padding: 10px 14px; }
  .nova-header p, .nova-header h2 span, .nova-note, .nova-suggestions { display: none; }
  .nova-header h2 { font-size: 21px; }
  .nova-tools { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nova-robot { transition: none; }
}
