/* QA400: screenshot-matched responsive dashboard copilot. No legacy tools removed. */
#homePage.ux9-home-page .ux9-home-hero{min-height:189px;padding-top:31px;padding-bottom:18px;background-image:linear-gradient(90deg,#f8fbff 0%,#eef6ff 49%,rgba(228,243,255,.5) 76%),url('/static/qa400_header_building.jpg');background-position:center,right center;background-size:cover,auto 100%;background-repeat:no-repeat}
#homePage .ux9-attention-strip{margin-bottom:20px}
#homePage .ux9-attention-card{min-height:92px}
#homePage .ux9-attention-card strong{font-size:23px}
#homePage .ux9-home-hero h2{font-size:35px}
#homePage .ux9-module-card{min-height:115px;padding:15px;grid-template-columns:52px 1fr 20px}
#homePage .ux9-module-icon{width:52px;height:52px}
#homePage .ux9-module-grid{gap:10px}
#homePage .ux9-home-footer-row .ux9-copilot-card{display:none}
#homePage .ux9-home-footer-row{grid-template-columns:1fr}
.qa400-copilot{position:relative;min-height:295px;margin:0 0 24px;border-radius:20px;border:1.5px solid #cdaeff;background:linear-gradient(120deg,rgba(255,255,255,.97),rgba(250,246,255,.94) 39%,rgba(247,247,255,.99) 66%,rgba(251,247,255,.98));box-shadow:0 16px 38px rgba(62,77,139,.08),inset 0 0 40px rgba(165,112,251,.04);overflow:hidden;color:#101c3d}
.qa400-copilot:before{content:'';position:absolute;width:230px;height:230px;left:-36px;bottom:-65px;background:radial-gradient(ellipse,rgba(224,120,255,.32),rgba(185,157,255,.10) 48%,transparent 69%);pointer-events:none}
.qa400-robot{position:absolute;top:48px;left:20px;width:195px;height:195px;display:flex;align-items:center;justify-content:center;pointer-events:none}
.qa400-robot img{width:100%;height:auto;filter:drop-shadow(0 12px 19px rgba(132,100,220,.12))}
.qa400-copilot-body{position:relative;margin-left:218px;padding:22px 22px 20px 8px;min-width:0}
.qa400-heading-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.qa400-head-brand,.qa400-head-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.qa400-head-brand strong{font-size:14px;color:#172fd0;letter-spacing:-.01em}
.qa400-star{font-size:22px;color:#a324f2;line-height:1}
.qa400-connection{font-size:10px;background:#edf3ff;border:1px solid #d8e5ff;padding:8px 12px;border-radius:20px;color:#43618d;white-space:nowrap}
.qa400-connection.connected{color:#116a46;background:#eaf9f2;border-color:#c9eadc}
.qa400-connection.offline{color:#8a6381;background:#f8f1f8;border-color:#eaddeb}
.qa400-head-actions button{border:1px solid #e3e9f8;background:rgba(255,255,255,.9);border-radius:12px;padding:10px 14px;cursor:pointer;font-size:11px;font-weight:700;color:#263857;box-shadow:0 4px 9px rgba(48,72,124,.04)}
.qa400-head-actions button:hover{border-color:#bea3ff}
.qa400-head-actions .qa400-new-chat{border:0;color:#fff;background:linear-gradient(115deg,#0d68ee,#852ce1);box-shadow:0 8px 17px rgba(96,62,222,.20)}
.qa400-prompt-head{font-size:clamp(22px,2.4vw,34px);font-weight:850;letter-spacing:-.055em;line-height:1.13;margin:0 0 9px!important;color:#101a39}
.qa400-prompt-head span{background:linear-gradient(90deg,#1666ec,#a72be3);color:transparent;-webkit-background-clip:text;background-clip:text}
.qa400-description{font-size:12px!important;color:#4e6082!important;line-height:1.5;margin:0 0 17px!important}
.qa400-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:20px}
.qa400-actions button{min-height:49px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e4e9f4;border-radius:12px;background:linear-gradient(180deg,#fff,#fafbff);font-size:10px;color:#172345;font-weight:700;cursor:pointer;white-space:nowrap;padding:7px 9px;box-shadow:0 5px 10px rgba(51,72,112,.04);transition:border .16s,transform .16s,background .16s}
.qa400-actions button:hover{transform:translateY(-2px);border-color:#bba2ff}
.qa400-actions button.featured{border:1.5px solid #a83df0;background:linear-gradient(140deg,rgba(255,255,255,.95),#f6ecff);box-shadow:0 4px 18px rgba(146,65,242,.10)}
.qa400-actions b{font-size:18px;line-height:1;color:#146ff4}
.qa400-actions button.featured b{color:#922cef}
.qa400-form{margin:0}
.qa400-composer{display:flex;align-items:center;gap:10px;min-height:56px;padding:7px 9px 7px 17px;background:#fff;border:1px solid #e0e7f5;box-shadow:0 6px 18px rgba(41,70,133,.09);border-radius:12px}
.qa400-composer:focus-within{border-color:#987eff;box-shadow:0 0 0 3px rgba(130,86,243,.11)}
.qa400-composer input{background:transparent;outline:none;border:0;flex:1;min-width:40px;font-size:12px;color:#17243f}
.qa400-composer input::placeholder{color:#8996ac}
.qa400-logo{font-size:24px;color:#111d44}
.qa400-icon-action{border:0;background:transparent;color:#2e477f;cursor:pointer;padding:9px;font-size:18px}
.qa400-icon-action:hover{color:#7934d5}
.qa400-send{height:39px;min-width:45px;border:0;border-radius:10px;background:linear-gradient(135deg,#4367ff,#a049ed);color:white;font-size:21px;cursor:pointer;box-shadow:0 7px 15px rgba(74,79,225,.2)}
.qa400-send:disabled{opacity:.6;cursor:wait}
.qa400-reply{font-size:12px;margin-top:12px;border:1px solid #dbe5ff;background:rgba(255,255,255,.89);padding:13px 15px;border-radius:12px;line-height:1.65;color:#25365a;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.qa400-reply.hidden{display:none}
.qa400-reply button{border:0;border-radius:8px;background:#2659e5;color:#fff;padding:8px 12px;font-weight:750;cursor:pointer}
.qa400-reply.error{border-color:#facaca;background:#fff6f6;color:#a62c33}
.rtl-ui .qa400-copilot-body{margin-left:0;margin-right:218px;padding:22px 8px 20px 22px}
.rtl-ui .qa400-robot{left:auto;right:20px}
.rtl-ui .qa400-heading-row,.rtl-ui .qa400-actions,.rtl-ui .qa400-composer{direction:rtl}
.rtl-ui .qa400-copilot:before{left:auto;right:-36px}
.rtl-ui .qa400-composer{padding:7px 17px 7px 9px}
@media(max-width:1500px){.qa400-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.qa400-copilot{min-height:315px}.qa400-actions button{min-height:41px}.qa400-robot{top:70px}}
@media(max-width:950px){.qa400-robot{position:relative;top:auto;left:auto;margin:0 auto -15px;width:130px;height:110px}.qa400-copilot-body,.rtl-ui .qa400-copilot-body{margin:0;padding:18px}.qa400-copilot{min-height:0}.qa400-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.qa400-heading-row{margin-bottom:12px}.qa400-prompt-head{font-size:24px}}
@media(max-width:520px){.qa400-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.qa400-actions button{font-size:9px;white-space:normal}.qa400-head-actions{gap:5px}.qa400-head-actions button{font-size:10px;padding:8px}.qa400-connection{white-space:normal}.qa400-icon-action{padding:4px}.qa400-prompt-head{font-size:22px}#homePage .ux9-module-grid{grid-template-columns:1fr}}
/* Desktop persistent left navigation, matched to the approved screenshot. */
.qa400-sidebar{display:none}
@media(min-width:1150px){
 .ux9-shell{grid-template-columns:230px minmax(0,1fr)!important}
 .qa400-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#0d172b,#121f36);padding:14px 13px;color:white;z-index:60;box-sizing:border-box;min-height:0;overflow-y:auto}
 .qa400-side-brand{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border:0;color:#fff;cursor:pointer;margin-bottom:6px;padding:2px 8px}
 .qa400-side-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-size:22px;background:linear-gradient(130deg,#1964e9,#a634ed);box-shadow:0 0 15px rgba(105,69,244,.28)}
 .qa400-side-brand strong{display:block;font-size:17px;letter-spacing:-.05em}.qa400-side-brand small{font-size:7px;white-space:nowrap;color:#cfdbef}
 .qa400-side-nav{display:flex;flex-direction:column;gap:3px}
 .qa400-side-nav button{display:flex;align-items:center;gap:12px;width:100%;min-height:41px;border:0;background:transparent;color:#e4ebf9;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:600;text-align:left;cursor:pointer}
 .qa400-side-nav button:hover{background:#26385a}.qa400-side-nav button.active{background:linear-gradient(100deg,#473abf,#743cca);color:white;box-shadow:0 5px 17px rgba(129,70,229,.3)}
 .qa400-side-nav button b{width:19px;flex-shrink:0;font-weight:500;font-size:18px;text-align:center;line-height:1}
 .qa400-side-nav button span{flex:1;white-space:nowrap}.qa400-side-nav button i{font-style:normal;color:#a8b6d2}
 .qa400-side-copilot{margin-top:auto;padding:15px;border-radius:14px;border:1px solid #456ad0;background:linear-gradient(133deg,#182746,#382554);box-shadow:0 10px 22px rgba(18,24,56,.5)}
 .qa400-side-orb{display:inline-grid;place-items:center;border-radius:10px;width:34px;height:34px;background:linear-gradient(140deg,#4c71ff,#b74ff3);font-size:20px;margin-bottom:5px}
 .qa400-side-copilot strong{display:block;font-size:14px}.qa400-side-copilot p{font-size:10px;color:#e0dff1;line-height:1.55}
 .qa400-side-copilot button{width:100%;border:0;border-radius:9px;min-height:34px;background:linear-gradient(100deg,#1270f1,#ab4ee6);color:white;font-weight:800;font-size:10px;cursor:pointer}
 .qa400-alltools{border:0;color:#c2d4ff;background:transparent;text-align:left;padding:9px 11px;font-size:10px;cursor:pointer}
 .ux9-topbar-left .ux9-brand-button{display:none}
 .ux9-home-hero{margin-left:-32px;margin-right:-32px}
}
@media(min-width:1150px) and (max-height:760px){.qa400-side-nav button{min-height:31px;padding:5px 8px;font-size:10px}.qa400-side-copilot{padding:9px}.qa400-side-copilot p{margin:4px 0}}
.rtl-ui .qa400-side-brand,.rtl-ui .qa400-side-nav button,.rtl-ui .qa400-alltools{text-align:right}
.qa400-side-nav button[hidden]{display:none!important}
