.boom-ai-page .premium-app-main{padding:0 0 34px}
.boom-ai-shell{width:min(1120px,100%);margin:0 auto;padding:40px 26px 60px;color:#12233d}
.boom-ai-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 auto 22px;max-width:930px}
.boom-ai-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#2d69d7;font-size:11px;font-weight:800;letter-spacing:.15em}
.boom-ai-eyebrow i{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#eaf1ff;font-size:15px;font-style:normal}
.boom-ai-heading h1{margin:12px 0 8px;font-size:clamp(30px,4vw,43px);line-height:1.08;letter-spacing:-.045em;color:#10223d}
.boom-ai-heading p{max-width:650px;margin:0;color:#67758a;font-size:15px;line-height:1.65}
.boom-ai-clear{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 13px;border:1px solid #e0e7f1;border-radius:12px;background:#fff;color:#52627a;font:inherit;font-size:12px;font-weight:600;line-height:1.2;cursor:pointer;transition:.18s ease}
.boom-ai-clear:hover{border-color:#b7caec;color:#225dc2;background:#f8faff}
.boom-ai-clear span{font-size:17px;line-height:10px}
.boom-ai-panel{display:flex;flex-direction:column;width:min(930px,100%);height:min(700px,calc(100vh - 285px));min-height:550px;margin:0 auto;overflow:hidden;border:1px solid #e3eaf3;border-radius:25px;background:#fff;box-shadow:0 22px 70px rgba(32,62,105,.10)}
.boom-ai-panel-head{display:flex;align-items:center;gap:12px;min-height:72px;padding:14px 22px;border-bottom:1px solid #edf1f6;background:linear-gradient(120deg,#fff 0%,#f9fbff 100%)}
.boom-ai-avatar,.boom-ai-welcome-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,#1d6ce2,#0e3683);color:#fff;font-size:20px;font-weight:850;box-shadow:0 8px 20px rgba(32,100,207,.22)}
.boom-ai-agent-copy{display:grid;gap:4px}
.boom-ai-agent-copy strong{color:#132743;font-size:14px}
.boom-ai-agent-copy small{display:flex;align-items:center;gap:6px;color:#77859a;font-size:11px}
.boom-ai-agent-copy small i{width:7px;height:7px;border-radius:50%;background:#31b67a;box-shadow:0 0 0 3px #e5f8ef}
.boom-ai-head-mark{display:grid;place-items:center;width:32px;height:32px;margin-left:auto;border:1px solid #e4ebf7;border-radius:11px;background:#fff;color:#5c83d2;font-size:18px}
.boom-ai-messages{display:flex;flex:1;flex-direction:column;gap:17px;min-height:0;padding:24px clamp(16px,4vw,36px);overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.boom-ai-welcome{display:flex;flex-direction:column;align-items:center;max-width:590px;margin:auto;text-align:center}
.boom-ai-welcome-icon{width:54px;height:54px;margin-bottom:15px;border-radius:18px;font-size:23px}
.boom-ai-welcome h2{margin:0 0 8px;color:#162a49;font-size:20px;letter-spacing:-.02em}
.boom-ai-welcome p{margin:0;color:#5d6d83;font-size:14px;line-height:1.7}
.boom-ai-welcome small{margin-top:7px;color:#8a96a8;font-size:12px}
.boom-ai-prompts{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:21px}
.boom-ai-prompt{padding:9px 12px;border:1px solid #e0e8f4;border-radius:999px;background:#fff;color:#335b94;font:inherit;font-size:12px;font-weight:600;line-height:1.35;cursor:pointer;transition:.18s ease}
.boom-ai-prompt:hover{border-color:#abc4ee;background:#f4f8ff;color:#1c58ba;transform:translateY(-1px)}
.boom-ai-message{display:flex;align-items:flex-start;gap:10px;max-width:min(82%,680px);animation:boom-ai-in .2s ease-out}
.boom-ai-message.is-user{align-self:flex-end;flex-direction:row-reverse}
.boom-ai-message.is-assistant{align-self:flex-start}
.boom-ai-message-avatar{display:grid;place-items:center;flex:0 0 auto;width:30px;height:30px;border-radius:11px;background:#eaf1ff;color:#285fbe;font-size:13px;font-weight:800}
.boom-ai-message.is-user .boom-ai-message-avatar{background:#132a4b;color:#fff}
.boom-ai-bubble{min-width:0;padding:12px 15px;border:1px solid #e8edf4;border-radius:5px 17px 17px 17px;background:#f6f8fb;color:#233750;font-size:14px;line-height:1.68;white-space:pre-wrap;overflow-wrap:anywhere}
.boom-ai-message.is-user .boom-ai-bubble{border-color:#1b5fc6;border-radius:17px 5px 17px 17px;background:linear-gradient(145deg,#2675e7,#1455b5);color:#fff}
.boom-ai-message.is-error .boom-ai-bubble{border-color:#f2d8d4;background:#fff8f7;color:#9a372e}
.boom-ai-message.is-thinking .boom-ai-bubble{color:#718097}
.boom-ai-sources{display:grid;gap:8px;margin-top:10px}
.boom-ai-source-heading{color:#738198;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.boom-ai-source-card{display:grid;gap:4px;padding:11px 13px;border:1px solid #e1e9f4;border-radius:13px;background:#fff;color:#1a355c;text-decoration:none;transition:.16s ease}
.boom-ai-source-card:hover{border-color:#9fbbea;background:#f8fbff;transform:translateY(-1px)}
.boom-ai-source-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.boom-ai-source-name{font-size:13px;font-weight:750;line-height:1.35}
.boom-ai-source-module{flex:0 0 auto;padding:4px 7px;border-radius:7px;background:#edf3ff;color:#3565b2;font-size:9px;font-weight:800}
.boom-ai-source-detail,.boom-ai-source-location{color:#6e7c90;font-size:11px;line-height:1.45}
.boom-ai-source-open{margin-top:2px;color:#2863c5;font-size:11px;font-weight:700}
.boom-ai-composer{display:flex;align-items:flex-end;gap:12px;margin:0 20px;padding:12px 12px 12px 17px;border:1px solid #dfe7f1;border-radius:18px;background:#fff;box-shadow:0 5px 22px rgba(24,52,93,.055);transition:border-color .16s ease,box-shadow .16s ease}
.boom-ai-composer:focus-within{border-color:#91b5ef;box-shadow:0 0 0 4px rgba(69,125,215,.09)}
.boom-ai-composer textarea{display:block;flex:1;min-height:28px;max-height:140px;resize:none;border:0;outline:0;background:transparent;color:#20344e;font:inherit;font-size:14px;font-weight:400;line-height:1.5}
.boom-ai-composer textarea::placeholder{color:#9aa5b4}
.boom-ai-send{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-width:99px;height:42px;padding:0 13px;border:0;border-radius:12px;background:#145fc7;color:#fff;font:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 6px 15px rgba(28,97,197,.2);transition:.16s ease}
.boom-ai-send:hover{background:#0c4fae;transform:translateY(-1px)}
.boom-ai-send:disabled{opacity:.55;cursor:wait;transform:none}
.boom-ai-send i{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:rgba(255,255,255,.17);font-size:16px;font-style:normal}
.boom-ai-privacy{margin:10px 24px 16px;color:#909bad;font-size:10px;line-height:1.5;text-align:center}
.boom-ai-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.boom-ai-page [hidden]{display:none!important}
@keyframes boom-ai-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){
  .boom-ai-page .premium-app-main{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .boom-ai-shell{padding:23px 14px 28px}
  .boom-ai-heading{align-items:flex-start;margin-bottom:16px}
  .boom-ai-heading h1{margin-top:10px;font-size:31px}
  .boom-ai-heading p{font-size:13px;line-height:1.55}
  .boom-ai-clear{width:38px;height:38px;justify-content:center;padding:0;border-radius:12px;font-size:0}
  .boom-ai-clear span{font-size:19px}
  .boom-ai-panel{height:clamp(430px,calc(100dvh - 255px),760px);min-height:min(510px,calc(100dvh - 255px));border-radius:20px}
  .boom-ai-panel-head{min-height:62px;padding:11px 15px}
  .boom-ai-avatar{width:38px;height:38px;border-radius:13px}
  .boom-ai-messages{gap:14px;padding:18px 13px}
  .boom-ai-welcome{max-width:100%}
  .boom-ai-welcome p{font-size:13px}
  .boom-ai-prompts{gap:7px;margin-top:17px}
  .boom-ai-prompt{padding:8px 10px;font-size:11px}
  .boom-ai-message{max-width:94%;gap:7px}
  .boom-ai-message-avatar{width:27px;height:27px;border-radius:9px}
  .boom-ai-bubble{padding:10px 12px;font-size:13px}
  .boom-ai-composer{gap:8px;margin:0 10px;padding:9px 9px 9px 12px;border-radius:15px}
  .boom-ai-composer textarea{font-size:14px}
  .boom-ai-send{min-width:43px;width:43px;height:41px;padding:0}
  .boom-ai-send span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .boom-ai-send i{width:25px;height:25px}
  .boom-ai-privacy{margin:8px 14px 11px;font-size:9px}
}

@media(max-width:380px){
  .boom-ai-heading{gap:8px}
  .boom-ai-eyebrow{font-size:9px;letter-spacing:.1em}
  .boom-ai-heading h1{font-size:27px}
  .boom-ai-panel{height:calc(100dvh - 250px);min-height:min(480px,calc(100dvh - 250px))}
}

@media(prefers-reduced-motion:reduce){
  .boom-ai-page *, .boom-ai-page *::before, .boom-ai-page *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
