/* The tools have their own app shell, independent of the marketing pages. */
body.chat-app{margin:0;background:#fff;color:#182a3a;overflow:hidden;font-size:15px}
.chat-app #main{height:100dvh}
.ai-chat-app{display:grid;grid-template-columns:224px minmax(0,1fr);height:100dvh}
.chat-sidebar{background:#f6f8fa;padding:28px 14px 18px;display:flex;flex-direction:column;gap:22px;min-width:0}
.chat-brand{display:flex;gap:9px;align-items:center;padding:0 9px;font-size:13px;font-weight:600;white-space:nowrap;letter-spacing:-.3px}
.chat-brand svg{width:27px;height:auto;aspect-ratio:585/485;overflow:hidden;flex-shrink:0}
.chat-new{border:0;background:transparent;text-align:left;font:inherit;font-size:13px;padding:10px 12px;border-radius:8px;cursor:pointer;color:#263c4e}
.chat-new:hover,.chat-sidebar a:hover{background:#eaf0f5}
.chat-sidebar nav{display:grid;gap:4px}
.chat-sidebar nav a,.chat-sidebar-bottom a{font-size:12px;padding:10px 12px;border-radius:8px;color:#536778}
.chat-sidebar nav a[aria-current=page]{background:#e6edf3;color:#14324b;font-weight:500}
.chat-sidebar-bottom{margin-top:auto;display:grid;gap:1px}
.chat-sidebar-bottom a{font-size:11px;color:#73818e;padding:7px 12px}
.chat-app .ai-chat-shell{display:flex;flex-direction:column;height:100dvh;min-height:0;max-width:none;width:100%;padding:0;margin:0;min-width:0;position:relative}
.chat-app .chat-topbar{padding:16px 26px;border:0;min-height:62px;display:flex;align-items:center;gap:16px;flex-shrink:0;color:#455a6c;font-size:14px}
.chat-topbar>span{flex:1;font-weight:500}
.chat-app .chat-usage{position:relative;flex-shrink:0}
.chat-app .chat-usage>summary{display:block;font-size:11px;font-weight:400;background:#f5f7f9;color:#657887;border-radius:20px;padding:6px 12px;cursor:pointer}
.chat-app .chat-usage>summary:after{content:none}
.chat-usage>div{position:absolute;right:0;top:calc(100% + 10px);width:235px;background:#fff;box-shadow:0 8px 35px #182d4820;border:1px solid #e7edf1;border-radius:12px;padding:16px;z-index:6}
.chat-usage p{font-size:12px;line-height:1.65;margin:0 0 12px;color:#6c7d8a}
.chat-usage button{font:inherit;font-size:12px;border:0;border-radius:7px;background:#0c2944;color:white;padding:8px 12px;cursor:pointer}
.chat-app .chat-thread{flex:1;min-height:0;overflow:auto;height:auto;max-height:none;position:relative;padding:25px max(30px,calc((100% - 760px)/2)) 30px;scrollbar-width:thin;scrollbar-color:#dde4e9 transparent;overscroll-behavior:contain}
.chat-app .chat-thread:has(.chat-welcome:not([hidden])){display:flex;align-items:center;justify-content:center;padding-bottom:45px}
.chat-app .chat-welcome{margin:0;text-align:center;width:100%;max-width:760px}
.chat-app .chat-welcome h1{font-size:32px;letter-spacing:-1px;line-height:1.25;font-weight:500;margin:0 0 28px;color:#152e43}
.chat-app .chat-starters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0;max-width:none}
.chat-app .chat-starters button{flex:0 1 auto;width:auto;display:block;text-align:center;border:1px solid #e7ebef;background:#fff;color:#657787;border-radius:22px;padding:10px 15px;font-size:11px;line-height:1.4;cursor:pointer}
.chat-app .chat-starters button:hover{background:#f7f9fb;border-color:#cfdae3}
.chat-app .chat-bottom{width:100%;max-width:816px;padding:12px 28px 16px;flex-shrink:0;position:relative;background:white;align-self:center}
.chat-app .chat-composer{background:#f3f5f7;border:1px solid transparent;border-radius:25px;box-shadow:none;padding:14px 13px 13px 20px}
.chat-app .chat-composer:focus-within{outline:none;border-color:#d7e0e7}
.chat-composer form{display:flex;align-items:flex-end;gap:14px}
.chat-app .chat-composer textarea{font:inherit;font-size:14px;line-height:1.6;color:#243d51;min-height:34px;height:34px;max-height:180px;resize:none;padding:5px 0;width:100%;border:0;outline:0;background:none}
.chat-composer textarea::placeholder{color:#8996a1}
.chat-composer [data-ai-submit]{font:inherit;font-size:12px;font-weight:500;color:#fff;background:#0c2944;border:0;border-radius:18px;min-height:34px;padding:7px 17px;cursor:pointer;flex-shrink:0}
.chat-composer [data-ai-submit]:disabled{opacity:.45;cursor:default}
.chat-app .chat-disclaimer{font-size:10px;line-height:1.5;color:#94a0aa;text-align:center;max-width:none;margin:11px 0 0}
.chat-app .ai-status{font-size:11px;color:#7c8d9c;text-align:center;margin:8px 0}
.chat-app .chat-message{margin:0 0 32px;font-size:15px;line-height:1.8;max-width:100%;color:#243d51}
.chat-app .chat-user{width:max-content;max-width:82%;margin-left:auto;padding:11px 17px;background:#f1f4f7;border-radius:20px;line-height:1.65;font-size:14px}
.chat-app .chat-assistant{padding:4px 0 0;background:none}
.chat-app .chat-message p{font-size:inherit;line-height:inherit;margin:0 0 15px}
.chat-app .chat-message p:last-child{margin-bottom:0}
.chat-app .chat-message h3{font-size:16px;line-height:1.4;margin:24px 0 12px;letter-spacing:-.1px}
.chat-app .chat-message h3:first-child{margin-top:0}
.chat-app .chat-message-body{color:inherit}
.chat-app .chat-copy{font-size:10px;color:#8a99a5;padding:10px 0 0;border:0;background:none}
.chat-app .chat-sources,.chat-app .chat-review{display:block;border:0;padding:0;background:none;margin:16px 0 0;color:#8194a3;font-size:11px}
.chat-app .chat-sources summary,.chat-app .chat-review summary{font:inherit;display:block;font-size:11px;font-weight:400;color:#8194a3;cursor:pointer}
.chat-app .chat-sources summary:after,.chat-app .chat-review summary:after{content:none}
.chat-app .chat-sources[open] summary,.chat-app .chat-review[open] summary{margin-bottom:10px;color:#415e73}
.chat-app .chat-sources a{display:block;margin:6px 0;padding:0;background:none;border:0;font-size:11px;color:#6087a5}
.chat-app .chat-review p{font-size:11px;line-height:1.7;margin-top:8px;color:#8194a3}
.chat-app .ai-email-panel{width:min(440px,calc(100vw - 32px));padding:30px;border:1px solid #e2e9ee;border-radius:18px}
.chat-app .ai-email-panel h2{font-size:26px;letter-spacing:-.7px;font-weight:500;margin:18px 0 12px}
.chat-app .ai-email-panel .button{font-size:13px;padding:11px 20px}
.chat-menu,.chat-mobile-new,.chat-sidebar-scrim{display:none}
@media(max-width:760px){
 .ai-chat-app{display:block}.chat-sidebar{position:fixed;inset:0 auto 0 0;width:250px;z-index:15;transform:translateX(-100%);visibility:hidden;transition:transform .2s,visibility .2s}
 .chat-navigation-open .chat-sidebar{transform:translateX(0);visibility:visible}
 .chat-sidebar-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:14;background:#182d4850;border:0}
 .chat-app .chat-topbar{padding:12px 17px;min-height:56px;gap:12px;font-size:13px}
 .chat-app .chat-menu{display:grid;place-items:center;border:0;background:none;width:26px;height:30px;padding:3px;cursor:pointer}
 .chat-menu svg{width:22px;height:22px;fill:none;stroke:#536c7f;stroke-width:1.5;stroke-linecap:round}
 .chat-app .chat-mobile-new{display:block;font-size:10px;border:0;padding:5px;background:none;color:#6d8293;cursor:pointer}
 .chat-app .chat-usage>summary{font-size:10px;padding:6px 9px}.chat-usage>div{width:210px}
 .chat-app .chat-thread{padding:20px 20px 22px}.chat-app .chat-thread:has(.chat-welcome:not([hidden])){padding-bottom:30px}
 .chat-app .chat-welcome h1{font-size:27px;letter-spacing:-.8px;margin-bottom:23px}
 .chat-app .chat-starters{gap:8px;flex-direction:row}.chat-app .chat-starters button,.chat-app .chat-starters button:last-child{display:block;font-size:10px;padding:9px 12px}
 .chat-app .chat-bottom{padding:10px 14px 14px}.chat-app .chat-composer{padding:11px 10px 11px 17px;border-radius:24px}
 .chat-app .chat-composer textarea{font-size:16px;min-height:34px;padding-top:4px}.chat-composer form{gap:8px}
 .chat-composer [data-ai-submit]{font-size:11px;padding:7px 14px}.chat-app .chat-message{font-size:14px}.chat-app .chat-user{font-size:13px;max-width:88%}
 .chat-app .chat-disclaimer{font-size:9px}.chat-app .chat-thread .chat-message-label.sr-only{position:absolute}
}
@media(prefers-reduced-motion:reduce){.chat-sidebar{transition:none}}
