
/* grx-ui-refresh */
:root{
 --navy:#010807;--panel:#102320;--line:#49615c;
 --gold:#d4aa49;--text:#edf4f1;--muted:#b2c9c3;
 font-family:Inter,"Segoe UI",Arial,sans-serif;
}
body{
 background:#050709;background-attachment:fixed;
}
.top{
 position:sticky;top:0;z-index:60;
 background:#071310f5;border-bottom:1px solid #597269;
 box-shadow:0 8px 25px #0008;
}
.brand img{width:102px;height:57px;object-fit:contain;display:block}
.brand>span{display:none}
.top-actions{flex-wrap:wrap;justify-content:flex-end}
#connect-ai{
 min-width:310px;font-size:16px;font-weight:900;
 padding:13px 26px;letter-spacing:.04em;
 border:2px solid #ffe5a0;
 box-shadow:inset 0 2px 2px #fff7,inset 0 -4px 5px #70490077,0 7px 16px #0009;
}
.card,section.panel,details{
 background:linear-gradient(140deg,#29453f 0%,#142a25 35%,#071612 100%);
 border:2px solid #526d63;
 box-shadow:inset 0 2px 2px #d6fff025,inset 0 -5px 9px #0009,
 0 10px 0 #020907,0 18px 28px #0009;
}
.card{padding:27px}
button{box-shadow:inset 0 2px 2px #ffffff24,inset 0 -3px 4px #0005,0 4px 8px #0008}
.orbital.afr-art{
 border:0;border-radius:0;background:none;box-shadow:none;
 display:flex;flex-direction:column;gap:8px;min-height:0;
}
.afr-art img{
 display:block;width:min(400px,100%);height:auto;
 filter:drop-shadow(0 8px 25px #0fb6a52b);
}
.afr-art strong{font-size:24px;color:#f0cf6c;text-align:center}
.afr-art p{margin:0;text-align:center;font-size:14px}
#ai-top-controls{
 display:flex;align-items:center;gap:0;border:3px solid #7c9490;
 border-radius:13px;background:#243832;overflow:hidden;
 box-shadow:inset 0 2px #ffffff35,0 5px 15px #0009;
}
#ai-top-controls button{
 background:linear-gradient(#415650,#22352f);
 border:0;border-radius:0;box-shadow:none;min-height:49px;
 padding:10px 14px;color:#f0f5f3;font-weight:750;
}
#ai-top-controls button+button{border-left:1px solid #82948f}
#ai-top-controls button:hover{background:#456359}
#ai-top-controls button:focus-visible{outline-offset:-4px}
#ai-dock{background:#11251eee;border:2px solid #6e8d80}
#refresh-dialog{
 width:min(640px,94vw);max-height:88dvh;overflow:auto;
 background:linear-gradient(140deg,#263e36,#091b14);
 border:2px solid #9bb5a9;padding:25px;box-shadow:0 25px 90px #000c;
}
#refresh-dialog::backdrop{background:#000b}
#refresh-dialog h2{margin-top:0}
#refresh-dialog .refresh-close{float:right}
#refresh-dialog .refresh-actions{display:flex;gap:10px;flex-wrap:wrap}
#refresh-dialog [role=status]{white-space:pre-wrap}
#refresh-dialog input[type=checkbox]{vertical-align:middle}
#refresh-dialog label{display:block}
#refresh-dialog label input[type=checkbox]{margin-right:10px}
#refresh-dialog a{display:inline-block;padding:8px 0}
#refresh-dialog .robot-input{width:100%}
@media(max-width:760px){
 .top{gap:8px;padding:10px;flex-wrap:wrap}
 .brand img{width:92px;height:52px}
 .top-actions{flex:1;max-width:none}
 #connect-ai{min-width:0;width:100%;font-size:14px;padding:12px 18px}
 #ai-top-controls{width:100%;justify-content:stretch}
 #ai-top-controls button{flex:1;padding:9px 7px;font-size:12px}
 .afr-art img{width:min(320px,100%)}
 .orbital.afr-art{margin:18px 8px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important}
}
