/* VISTA — glossy Aero / DreamOS. No external font, image or JS dependencies. */
:root{font-family:"Segoe UI",Tahoma,Verdana,sans-serif;color:#fff;font-synthesis:none;--white:#fff;--line:rgba(255,255,255,.71);--blue:#079fd4;--blue-dark:#00669c;--glow:0 0 18px rgba(255,255,255,.42),0 7px 28px rgba(0,91,151,.25);--panel:linear-gradient(145deg,rgba(19,184,222,.72) 0%,rgba(2,140,196,.72) 36%,rgba(31,183,207,.48) 100%)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #fff8a2;outline-offset:3px}a{color:inherit;text-decoration:none}
.aero-body{min-height:100vh;position:relative;isolation:isolate;background:#44c8f0;overflow-x:hidden}
.scene{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background-image:linear-gradient(180deg,rgba(0,184,250,.24),rgba(10,128,190,.1) 49%,rgba(8,201,228,.08)),url('/assets/aero-landscape.jpg');background-size:cover;background-position:center center}
.scene:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 12% 9%,rgba(255,255,255,.6),transparent 16%),radial-gradient(ellipse at 88% 15%,rgba(138,244,255,.38),transparent 25%),linear-gradient(110deg,rgba(0,133,246,.12),transparent 45%,rgba(61,255,195,.11));mix-blend-mode:screen}
.scene-filter{position:absolute;inset:0;backdrop-filter:saturate(1.25) brightness(1.08)}
.glowburst{position:absolute;display:block;width:4px;height:4px;border-radius:50%;background:#fff;box-shadow:0 0 14px 8px #fff7,0 0 38px 18px #aafffa66;animation:twinkle 5s infinite alternate}.glowburst:before,.glowburst:after{content:"";position:absolute;background:linear-gradient(90deg,transparent,white,transparent);top:50%;left:50%;transform:translate(-50%,-50%);width:70px;height:2px}.glowburst:after{transform:translate(-50%,-50%) rotate(90deg)}.gb1{top:7%;left:6%}.gb2{top:18%;right:10%;animation-delay:2s}
.bubble{position:absolute;border-radius:50%;width:110px;height:110px;opacity:.86;border:2px solid rgba(255,255,255,.72);background:radial-gradient(circle at 28% 22%,rgba(255,255,255,.94),transparent 11%),radial-gradient(circle at 70% 80%,rgba(103,255,201,.54),transparent 40%),radial-gradient(circle at 70% 24%,rgba(172,67,255,.23),transparent 44%),linear-gradient(135deg,rgba(252,255,255,.22),rgba(61,210,255,.1) 35%,rgba(7,112,220,.12) 70%,rgba(255,255,255,.4));box-shadow:inset 6px 8px 10px rgba(255,255,255,.28),inset -6px -8px 12px rgba(26,147,207,.33),0 0 13px rgba(216,255,255,.65);animation:float 9s ease-in-out infinite}.b1{width:105px;height:105px;left:7%;top:2%}.b2{width:76px;height:76px;right:25%;top:2%;animation-delay:3s}.b3{width:46px;height:46px;left:1%;top:24%;animation-delay:1.7s}.b4{width:125px;height:125px;right:3%;top:47%;animation-delay:4s}.b5{width:105px;height:105px;left:9%;bottom:10%;animation-delay:2s}.b6{width:85px;height:85px;right:26%;bottom:5%;animation-delay:5s}
@keyframes float{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-17px) rotate(10deg)}}@keyframes twinkle{from{opacity:.52;transform:scale(.6)}to{opacity:1;transform:scale(1.5)}}@keyframes shimmer{0%{background-position:-200% center}100%{background-position:200% center}}
.aero-panel{background:var(--panel);border:1.7px solid var(--line);border-radius:25px;box-shadow:inset 0 2px 1px rgba(255,255,255,.7),inset 0 -9px 18px rgba(15,138,179,.14),var(--glow);backdrop-filter:blur(14px) saturate(1.5);-webkit-backdrop-filter:blur(14px) saturate(1.5);position:relative;overflow:hidden}
.aero-panel:before{content:"";position:absolute;inset:0 0 auto;height:34%;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.045),transparent);border-radius:inherit;pointer-events:none}
.aero-panel:after{content:"";pointer-events:none;position:absolute;top:-2px;left:18%;width:40%;height:3px;background:linear-gradient(90deg,transparent,#fff,transparent);filter:blur(.6px)}
.vista-app{width:min(95vw,1640px);margin:clamp(14px,3.5vh,42px) auto 16px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;overflow:visible;border-radius:25px}.brand{display:flex;align-items:center;gap:19px;min-width:0;white-space:nowrap}.brand-orb{position:relative;display:inline-block;flex:none;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 33% 24%,#fff 0%,#a8faff 8%,transparent 25%),linear-gradient(135deg,#08e8fc 15%,#0188d8 52%,#063dbe 70%,#6bffba);box-shadow:inset 0 3px 4px #fffc,inset -7px -8px 12px #0550b2aa,0 0 13px #cbffff}.brand-orb span{position:absolute;width:90%;height:40%;left:3%;top:36%;border-radius:60% 0 70% 0;transform:rotate(-20deg);background:linear-gradient(180deg,#fff8,#5cffe7 38%,#27d99b 70%);box-shadow:0 -2px 2px #fff9}.brand-name{font-size:clamp(27px,3vw,45px);font-weight:600;letter-spacing:.8px;text-shadow:0 2px 4px #005aa6aa}.brand-divider{height:41px;width:1px;background:#e5ffffad;box-shadow:0 0 6px white}.brand-subtitle{font-size:clamp(16px,1.6vw,23px);text-shadow:0 1px 3px #087bb8}
.top-actions{display:flex;align-items:center;gap:24px}.online-pill{display:inline-flex;align-items:center;gap:10px;padding:9px 18px;border:1px solid #e5ffffa1;border-radius:30px;box-shadow:inset 0 1px 6px #fff5,0 2px 10px #0075bd6e;background:linear-gradient(#9efaff3b,#008ab1a8);font-size:15px;white-space:nowrap}.green-light{width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 25% 20%,#fff,#d2ff28 30%,#44cf00 70%);box-shadow:0 0 10px #84ff49}.green-light.off{background:radial-gradient(circle at 20% 20%,#fff,#ffd975 25%,#fa7a3a 70%);box-shadow:0 0 9px #ff9159}.top-time{font-size:14px;text-shadow:0 2px 3px #0071b2}.icon-button{border:none;color:#fff;background:transparent;font-size:26px;text-shadow:0 0 5px #fff8}.icon-button:hover{transform:rotate(20deg)}
.app-layout{display:grid;grid-template-columns:174px minmax(0,1fr);gap:15px;margin-top:15px}.sidebar{padding:32px 11px;min-height:600px;align-self:stretch;display:flex;flex-direction:column;gap:7px;border-radius:24px}.nav-item{display:flex;align-items:center;gap:13px;padding:12px 10px;border-radius:15px;font-size:14px;font-weight:600;text-shadow:0 1px 2px #02649c;transition:background .2s,transform .2s}.nav-item:hover{background:#e7ffff4b;transform:translateX(2px)}.nav-item.selected{background:linear-gradient(180deg,#21cbd7,#00a09b 70%,#66e98e);box-shadow:inset 0 1px 2px white,0 0 15px #a8ff8c,0 4px 10px #00788e;border:1px solid #d1ffff}.nav-icon{font-size:25px;font-weight:400;width:28px;text-align:center;line-height:1}.sidebar-footer{margin:auto auto 0;font-size:12px;text-align:center;line-height:1.6;opacity:.9}.sidebar-footer small{font-size:11px}.tiny-orb{width:9px;height:9px;border-radius:50%;background:#b8ff5b;display:inline-block;box-shadow:0 0 9px #b8ff5b}
.dashboard{min-width:0}.upper-grid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(310px,.98fr);gap:15px}.bottom-grid{display:grid;grid-template-columns:1fr 1.05fr 1.08fr;gap:15px;margin-top:15px}.performance-panel,.logs-panel{min-height:360px;padding:14px 17px 18px}.bottom-grid>.aero-panel{min-height:265px;padding:14px 16px 16px}.aero-panel h2{margin:0 0 12px;display:flex;align-items:center;gap:12px;font-size:21px;font-weight:600;text-shadow:0 2px 3px #087aa7}.heading-icon{font-size:31px;font-weight:300;color:#e5fffe;line-height:1;text-shadow:0 0 12px #fff}.subtle-action{margin-left:auto;background:transparent;border:0;color:#fff;font-size:20px;opacity:.88}.subtle-action:hover{transform:rotate(45deg)}
.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.metric{display:flex;align-items:center;gap:9px;min-width:0;min-height:68px;padding:10px 11px;background:linear-gradient(140deg,rgba(150,238,255,.29),rgba(9,184,220,.32) 60%,rgba(194,255,241,.21));border:1px solid #d5ffff75;border-radius:14px;box-shadow:inset 0 1px 2px #fffc,inset 0 -3px 10px #1379ad55,0 3px 10px #006aa338}.metric-icon{width:31px;flex:none;font-size:30px;line-height:1;text-align:center;text-shadow:0 0 7px #fff8}.metric-content{min-width:0;width:100%;display:flex;flex-direction:column;gap:3px}.metric-content>span{font-size:12px;opacity:.95;white-space:nowrap}.metric-content>b{font-size:18px;font-weight:600;white-space:nowrap}.meter{height:7px;width:100%;overflow:hidden;border-radius:12px;background:linear-gradient(180deg,#aaedfc6c,#86dfff99);border:1px solid #d9fff9a9;box-shadow:inset 0 1px 2px #004e8a66}.meter i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(180deg,#ecff95,#70ee27 60%,#23cfa2);box-shadow:0 0 8px #b0ff73;transition:width .65s ease}
.chart-holder{margin-top:12px;height:116px;border-radius:14px;border:1px solid #d5ffff77;background:linear-gradient(180deg,#087ea8a3,#008ab381);position:relative;overflow:hidden}.chart-title{position:absolute;left:51px;top:6px;font-size:12px;z-index:1}.graph-background{display:flex;position:absolute;inset:28px 10px 10px 9px}.chart-yaxis{display:flex;flex-direction:column;justify-content:space-between;font-size:10px;padding-right:8px}.gpu-chart{flex:1;min-width:0;overflow:visible;background:repeating-linear-gradient(90deg,rgba(225,252,255,.14) 0 1px,transparent 1px 35px),repeating-linear-gradient(0deg,rgba(225,252,255,.15) 0 1px,transparent 1px 29px);border-left:1px solid #cafff7aa;border-bottom:1px solid #cafff7aa}
.log-list{border-top:1px solid #ddffff75;max-height:286px;overflow:auto;scrollbar-color:#b7f4ff99 transparent;scrollbar-width:thin}.log-row{display:grid;grid-template-columns:14px 70px 1fr;gap:9px;align-items:center;padding:10px 5px;border-bottom:1px solid #e6ffff3e;font-size:12.5px;line-height:1.3}.log-row span:nth-child(2){opacity:.85}.log-dot{width:11px;height:11px;border-radius:50%;background:radial-gradient(circle at 25% 25%,#fff,#adff4e 30%,#2fd22c 70%);box-shadow:0 0 8px #a1ff87}.log-dot.blue{background:radial-gradient(circle at 25% 25%,#fff,#84eafd 35%,#008feb 75%);box-shadow:0 0 8px #8feaff}.log-dot.warn{background:radial-gradient(circle at 25% 25%,#fff,#ffe678 35%,#f59b1e 75%)}.log-dot.error{background:radial-gradient(circle at 25% 25%,#fff,#ff8678 35%,#e52d4c 75%)}
.bottom-grid h2{border-bottom:1px solid #dcffff66;padding-bottom:8px}.section-content{margin-top:15px}.field-label{display:block;font-size:13px;margin-bottom:7px;text-shadow:0 1px 1px #086a8e}.select-shell{position:relative;display:flex;align-items:center;border-radius:13px;background:linear-gradient(180deg,#d6fcffec,#7bdbf9de 55%,#79bddde3);border:1.5px solid #fff;box-shadow:inset 0 1px 4px #fff,0 4px 12px #005ba07f;color:#10476c}.select-icon{position:absolute;left:14px;color:#655bfe;font-size:25px;pointer-events:none}.select-shell select{appearance:none;-webkit-appearance:none;border:0;outline:0;background:transparent;cursor:pointer;width:100%;padding:12px 35px 12px 49px;color:#10476c;font-size:14px;font-weight:600}.select-shell:after{content:"⌄";position:absolute;right:13px;top:4px;font-size:25px;pointer-events:none}.select-shell option{background:#d9f4fc;color:#06476f}.model-actions{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:18px}.model-actions>span{font-size:12px;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aero-btn{border:1px solid #f0ffff;border-radius:13px;color:white;padding:9px 13px;font-size:13px;font-weight:600;background:linear-gradient(180deg,#a9efffc2 0%,#19badd 27%,#057ebb 83%,#058cc4);box-shadow:inset 0 2px 3px #fff9,0 4px 9px #005f9488,0 0 9px #a1ffff6b;text-shadow:0 1px 2px #025388;transition:transform .17s,filter .17s,box-shadow .17s;white-space:nowrap}.aero-btn:hover:not(:disabled){filter:brightness(1.14);box-shadow:inset 0 2px 4px #fffd,0 0 16px #b5ffff,0 4px 9px #00669988;transform:translateY(-1px)}.aero-btn:active:not(:disabled){transform:translateY(1px)}.aero-btn.green{background:linear-gradient(180deg,#ceff9a 0%,#65e85d 27%,#07b64a 78%,#15bb68);text-shadow:0 1px 3px #097b2e}
.key-wrapper{position:relative}.key-wrapper input,.auth-row input{width:100%;border-radius:12px;border:1.5px solid #f4ffff;box-shadow:inset 0 2px 6px #137aa24d,0 2px 8px #00689f44;background:linear-gradient(180deg,#d5f9ffcb,#83d0e8bd);height:43px;padding:0 48px 0 13px;color:#164d69;font-size:13px;letter-spacing:1px}.key-wrapper input[type=password]{letter-spacing:3px}.key-wrapper input::placeholder,.chat-form input::placeholder{color:#467a9b}.eye-btn{position:absolute;right:5px;top:6px;border:1px solid #fff9;border-radius:10px;height:31px;padding:0 10px;background:linear-gradient(#63eaff,#0c9fcc);color:white;font-size:21px;box-shadow:inset 0 1px 3px #fff9}.key-actions{display:flex;justify-content:space-between;gap:9px;margin-top:12px}.key-actions button{flex:1;padding:8px 4px}.remote-control{margin-top:14px;display:flex;align-items:center;gap:10px}.switch-title{display:flex;gap:12px;align-items:center;justify-content:space-between;flex:1;padding:6px 9px;border:1px solid #fff6;border-radius:10px;background:#d4faff34;font-size:12px;cursor:pointer}.switch-title input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{height:22px;width:40px;border-radius:20px;background:#5e849a;box-shadow:inset 0 1px 4px #0b4b70;position:relative;transition:background .2s}.switch-track:after{content:"";position:absolute;top:2px;left:3px;width:18px;height:18px;border-radius:50%;background:linear-gradient(#fff,#d1f2ff);box-shadow:0 1px 5px #025c79;transition:transform .2s}.switch-title input:checked+.switch-track{background:linear-gradient(#78ff56,#19c36d)}.switch-title input:checked+.switch-track:after{transform:translateX(17px)}.client-pill{border:1px solid #fff7;border-radius:10px;padding:8px 9px;background:#9cecff55;white-space:nowrap;font-size:12px}
.chat-panel{display:flex;flex-direction:column}.chat-messages{flex:1;min-height:129px;max-height:174px;overflow-y:auto;display:flex;flex-direction:column;gap:11px;padding:12px 9px 9px;border-radius:12px;border:1px solid #f0ffff68;background:linear-gradient(135deg,#5ccce565,#8ae3eb3d);box-shadow:inset 0 2px 6px #0a79ae33;scrollbar-color:#b7f4ff99 transparent;scrollbar-width:thin}.chat-message{display:flex;align-items:end;gap:8px;max-width:95%}.chat-message.user{align-self:end;flex-direction:row-reverse}.bubble-text{border-radius:14px 14px 14px 3px;background:linear-gradient(#daffffed,#87d2f6ef);padding:9px 11px;color:#124e70;font-size:12px;line-height:1.45;word-break:break-word;white-space:pre-wrap;box-shadow:0 2px 7px #0077a566;border:1px solid #fff9}.chat-message.user .bubble-text{border-radius:14px 14px 3px 14px;background:linear-gradient(#d3ffdf,#8ceec4)}.bot-orb{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff,#779cff 40%,#786cf4 75%);box-shadow:0 0 10px #c4d7ff;border:1px solid #fff;color:white;font-size:18px}.chat-form{display:flex;align-items:center;gap:9px;margin-top:10px}.chat-form input{height:40px;min-width:0;flex:1;border-radius:13px;border:1.5px solid #f4ffff;box-shadow:inset 0 2px 6px #137aa24d,0 2px 8px #00689f44;background:linear-gradient(180deg,#d5f9ffda,#83d0e8e6);padding:0 12px;color:#164d69;font-size:12px}.chat-form .send-btn{height:40px}.dashboard-footer{display:flex;justify-content:space-between;align-items:center;padding:8px 9px;font-size:10px;color:#fff;text-shadow:0 1px 4px #006e99;min-height:26px}#toast{font-size:12px;font-weight:600}
/* Remote chat */
.remote-wrap{width:min(94vw,1050px);margin:clamp(18px,5vh,56px) auto}.remote-header{height:84px;display:flex;align-items:center;justify-content:space-between;padding:10px 30px}.remote-chat{margin-top:18px;padding:25px;min-height:min(75vh,740px);display:flex;flex-direction:column;gap:17px}.remote-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #fff8;padding-bottom:15px}.remote-head h1{font-size:clamp(26px,4vw,40px);margin:4px 0;text-shadow:0 2px 5px #005d96}.remote-head p{margin:0;font-size:14px}.remote-kicker{font-weight:700;letter-spacing:3px;font-size:11px}.remote-logo{font-size:48px;color:#efffa8;text-shadow:0 0 30px #fff}.auth-box{border:1px solid #fff8;border-radius:15px;padding:15px;background:linear-gradient(135deg,#8cddf453,#edfffa24)}.auth-row{display:flex;gap:12px}.auth-row input{flex:1;min-width:0}.auth-box small{display:block;margin-top:8px;opacity:.9}.remote-messages{min-height:280px;max-height:54vh;flex:1;overflow:auto;border:1px solid #e4ffff9c;background:#7ed9e75e;box-shadow:inset 0 2px 12px #036b9a66;border-radius:17px;display:flex;flex-direction:column;gap:12px;padding:18px}.remote-messages .chat-message{max-width:80%}.remote-messages .bubble-text{font-size:15px;padding:12px 16px}.remote-form input{height:52px;font-size:14px}.remote-form .send-btn{height:52px}.remote-foot{display:flex;justify-content:space-between;font-size:12px;opacity:.9}.text-button{color:white;background:transparent;border:0;text-decoration:underline;font-size:12px}
@media(max-width:1220px){.vista-app{width:97vw}.app-layout{grid-template-columns:145px minmax(0,1fr)}.sidebar{padding:22px 8px}.nav-item{font-size:12px;gap:8px}.metric{padding:8px 6px;gap:5px}.metric-icon{width:25px;font-size:24px}.metric-content>b{font-size:15px}.upper-grid{grid-template-columns:1.35fr 1fr}.topbar{padding:0 20px}.bottom-grid>.aero-panel{padding:12px}.aero-panel h2{font-size:19px}}
@media(max-width:950px){.app-layout{grid-template-columns:1fr}.sidebar{min-height:0;flex-direction:row;flex-wrap:wrap;justify-content:center;padding:9px;gap:7px}.sidebar-footer{display:none}.nav-item{padding:8px 15px}.upper-grid{grid-template-columns:1fr}.bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-panel{grid-column:1/-1}.chat-messages{max-height:220px}.performance-panel,.logs-panel{min-height:0}.top-time{display:none}}
@media(max-width:580px){.vista-app{width:96vw;margin-top:10px}.topbar{height:70px;padding:0 12px}.brand{gap:9px}.brand-orb{width:40px;height:40px}.brand-name{font-size:25px}.brand-divider{height:31px}.brand-subtitle{font-size:13px}.top-actions{gap:8px}.online-pill{padding:7px;font-size:11px}.icon-button{display:none}.nav-item{font-size:11px;padding:6px 9px}.nav-icon{font-size:19px;width:22px}.bottom-grid{grid-template-columns:1fr}.chat-panel{grid-column:auto}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-panel,.logs-panel{padding:13px}.bottom-grid>.aero-panel{min-height:0}.remote-header{padding:8px 13px}.remote-chat{padding:14px}.remote-messages .chat-message{max-width:96%}.auth-row{flex-direction:column}.auth-row input{min-height:43px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
