.ats-nav{margin-top:12px!important;gap:10px!important}.ats-nav[hidden],.ats-dialog [hidden]{display:none!important}.ats-orb{display:grid;place-items:center;width:32px;height:32px;flex:none;color:#fff;border-radius:50%;background:radial-gradient(circle at 30% 20%,#cfb7ff,#8b4fff 45%,#5c2bc7);box-shadow:inset 0 1px 3px #ffffff90,0 3px 9px #7c3aed25}.ats-dot{width:8px;height:8px;flex:none;border-radius:50%;background:linear-gradient(135deg,#c084fc,#7c3aed);box-shadow:0 0 0 4px #8b5cf612;animation:ats-pulse 2.5s ease-in-out infinite}.ats-dot[hidden]{display:none}.ats-dialog{padding:0;border:1px solid #eee9f5;border-radius:24px;width:min(1020px,94vw);height:min(740px,90dvh);max-height:90dvh;color:#30273e;background:#fff;box-shadow:0 30px 100px #30204035;font:14px/1.5 system-ui,sans-serif}.ats-dialog::backdrop{background:#18122565;backdrop-filter:blur(4px)}.ats-dialog button,.ats-dialog input,.ats-dialog textarea{font:inherit}.ats-header{padding:26px 30px;display:flex;justify-content:space-between;background:linear-gradient(115deg,#faf7ff,#f1eaff);border-bottom:1px solid #ece5f5}.ats-header small{font-size:10px;letter-spacing:2px;color:#885dc0;font-weight:700}.ats-header h2{margin:5px 0;font-size:26px;letter-spacing:-.8px;color:#38264d}.ats-header p{margin:0;color:#80708d;font-size:13px}.ats-dialog button{cursor:pointer;border:1px solid #e8e1ee;border-radius:10px;padding:8px 12px;background:#fff;color:#624381}.ats-dialog button:hover{background:#f5efff}.ats-dialog button:focus-visible,.ats-dialog input:focus-visible,.ats-dialog textarea:focus-visible{outline:3px solid #c4b5fd;outline-offset:2px}.ats-dialog button:disabled{opacity:.5;cursor:wait}.ats-header>button{align-self:flex-start;font-size:23px;border:0;background:transparent}.ats-layout{display:grid;grid-template-columns:270px 1fr;height:calc(100% - 132px);min-height:0}.ats-list{padding:20px;background:#fcfaff;overflow-y:auto;border-right:1px solid #eee8f4}.ats-list>button{width:100%;margin-bottom:12px}.ats-dialog .ats-primary{background:linear-gradient(110deg,#8e4ee9,#6833d3);color:white;border:0;font-weight:600;padding:11px 17px}.ats-main{padding:22px 26px;min-height:0;display:flex;flex-direction:column;overflow:hidden}.ats-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center}.ats-toolbar strong{font-size:17px;overflow-wrap:anywhere}.ats-toolbar button{font-size:11px}.ats-muted,[data-ats-status]{font-size:12px;color:#8b8096;margin:8px 0 12px}.ats-dialog .ats-thread{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;margin:10px 0;padding:14px;background:#fff;overflow-wrap:anywhere}.ats-thread strong{font-size:13px;color:#42354f}.ats-thread small{font-size:11px;color:#8d7d9d}.ats-dialog .ats-thread.is-selected{border-color:#b69ae6;background:#f5efff}.ats-tag{font-size:10px;color:#7c3aed}.ats-messages{flex:1;min-height:80px;overflow:auto;padding:12px 6px 16px;display:flex;flex-direction:column;gap:16px;overscroll-behavior:contain}.ats-bubble{padding:12px 16px;border-radius:16px;max-width:85%;overflow-wrap:anywhere;flex:none}.ats-answer{background:#f3f1f6;align-self:flex-start}.ats-question{background:#ede4ff;align-self:flex-end}.ats-bubble small{color:#806897;font-size:10px;font-weight:600}.ats-bubble p{white-space:pre-wrap;margin:5px 0 8px}.ats-bubble time{font-size:9px;color:#8b7d96;display:block}.ats-bubble button{margin-top:8px;font-size:11px}.ats-dialog textarea,.ats-dialog input:not([type=file]){width:100%;box-sizing:border-box;padding:12px;border:1px solid #e8e1ef;border-radius:12px;background:#fff;color:#352941}.ats-dialog textarea{resize:vertical;max-height:150px;min-height:70px}.ats-compose{display:flex;align-items:center;gap:10px;margin-top:8px}.ats-attach{position:relative;overflow:hidden;cursor:pointer;font-size:12px;color:#8255b5;flex:none}.ats-attach input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.ats-compose small{font-size:10px;color:#9585a0;flex:1;overflow-wrap:anywhere}.ats-error{color:#a32b51;font-size:12px;margin:5px 0;min-height:18px}.ats-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ats-user{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #eee;overflow-wrap:anywhere}.ats-user span{min-width:0;font-size:12px}.ats-user small{color:#6d4d95}.ats-messages form{display:grid;gap:12px}@keyframes ats-pulse{50%{box-shadow:0 0 0 5px #8b5cf62a}}@media(prefers-reduced-motion:reduce){.ats-dot{animation:none}}@media(max-width:650px){.ats-dialog{border-radius:16px;width:96vw;height:94dvh;max-height:94dvh}.ats-header{padding:16px 20px}.ats-header h2{font-size:21px}.ats-layout{grid-template-columns:1fr;grid-template-rows:130px minmax(0,1fr);height:calc(100% - 112px)}.ats-list{padding:10px 14px;border-right:0;border-bottom:1px solid #eee}.ats-list>button{width:auto;margin:0 5px 5px 0}.ats-list [data-ats-threads]{display:flex;gap:8px}.ats-dialog .ats-thread{min-width:170px;margin:0;padding:8px}.ats-main{padding:12px 16px}.ats-bubble{max-width:92%}.ats-toolbar strong{font-size:14px}.ats-compose{gap:6px}}
/* Isolate layout from global header/main/aside styles in the robot panel. */
html body dialog.ats-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;overflow:hidden;padding:0;max-width:96vw;border:1px solid #dfd1f4;background:#fff}
html body dialog.ats-dialog[open]{display:flex;flex-direction:column}
html body dialog.ats-dialog:not([open]){display:none}
html body .ats-dialog *,html body .ats-dialog *::before,html body .ats-dialog *::after{box-sizing:border-box}
html body .ats-dialog .ats-header{position:relative!important;inset:auto!important;transform:none!important;float:none!important;width:100%!important;height:auto!important;min-height:120px;flex:0 0 auto;display:flex!important;margin:0!important;padding:22px 26px!important;z-index:auto!important;overflow:visible;background:linear-gradient(110deg,#fff,#f6f0ff)!important;border-bottom:1px solid #e5d9f7!important}
html body .ats-dialog .ats-header h2{font:700 24px/1.25 system-ui,sans-serif!important;color:#3d2c53!important;letter-spacing:-.5px;margin:10px 0 6px!important}
html body .ats-dialog .ats-header p{font:400 12px/1.5 system-ui,sans-serif!important;color:#8a7899!important;margin:0!important}
html body .ats-dialog .ats-brand{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;border:1px solid #dfcff2;border-radius:9px;background:#fff;color:#634082;font:600 11px/1.3 system-ui,sans-serif;letter-spacing:.2px}
html body .ats-dialog .ats-brand b{color:#9461c8;font-weight:700}
html body .ats-dialog .ats-layout{position:relative!important;inset:auto!important;margin:0!important;flex:1 1 auto;min-height:0;height:auto!important;width:100%;overflow:hidden}
html body .ats-dialog .ats-list{position:relative!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;margin:0!important;min-width:0;overflow:auto;display:block!important}
html body .ats-dialog .ats-main{position:relative!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;min-width:0;margin:0!important;padding:20px 24px!important;display:flex!important;flex-direction:column;align-items:stretch!important;text-align:left!important}
html body .ats-dialog .ats-main p{max-width:none;text-align:left}
.ats-mobile{display:none}.ats-mobile-dot{height:8px;width:8px;border-radius:50%;background:#8c4bd8}.ats-mobile-dot[hidden]{display:none!important}
@media(max-width:650px){html body dialog.ats-dialog{width:96vw;height:92dvh;max-height:92dvh;border-radius:18px}html body .ats-dialog .ats-header{min-height:112px;padding:16px 18px!important}html body .ats-dialog .ats-header h2{font-size:20px!important}html body .ats-dialog .ats-main{padding:12px 14px!important}.ats-compose{flex-wrap:wrap}.ats-compose small{min-width:90px}.ats-mobile:not([hidden]){display:flex;position:fixed;right:16px;bottom:max(18px,env(safe-area-inset-bottom));z-index:9999;align-items:center;gap:8px;padding:11px 15px;border-radius:24px;border:1px solid #dbc6f7;background:linear-gradient(120deg,#fff,#f1e7ff);box-shadow:0 5px 20px #7032b522;color:#7441a6;font:600 13px/1.3 system-ui,sans-serif}.ats-mobile[hidden]{display:none!important}}
