/* Demo-only presentation, inspired by the HECTIA dashboard reference. */
body{min-height:100vh;padding:28px 32px 48px;background:radial-gradient(ellipse at 50% 45%,#18343c80,transparent 65%),#06111f;isolation:isolate}
body:before,body:after{content:"";position:fixed;pointer-events:none;z-index:-1;inset:12% 12%;border:1px solid #4a8dff55;border-radius:100px;transform:rotate(-13deg)}
body:after{inset:14% 16%;border-color:#d9ff6b40;transform:rotate(12deg)}
.demo-shell{display:grid;grid-template-columns:218px minmax(0,1fr);max-width:1180px;margin:0 auto;padding:18px 18px 18px 0;background:linear-gradient(135deg,#0b1b32,#071422);border:1px solid #2d6c88;border-radius:28px;box-shadow:0 0 0 1px #50d5ff14,0 20px 70px #0005,0 0 42px #50d5ff0c;overflow:hidden}
#sidebar{position:static;width:auto;padding:24px 15px 12px;background:transparent;border:0;overflow:visible;z-index:10}
#sidebar img{width:158px;margin:0 12px 12px}#sidebar>p{font-size:11px;letter-spacing:.04em;margin:8px 12px;color:#8298b1}
#sidebar nav{margin-top:12px;gap:6px}#sidebar nav button{font-size:12px;padding:10px;gap:10px;min-height:42px;border-radius:7px;color:#b8c4d6;line-height:1.4}
#sidebar nav button .demo-icon{width:18px;height:18px;flex-basis:18px}
#sidebar nav button.active{background:#193255;color:#f8fafc;border-color:transparent}#sidebar nav button.active:before{display:none}
#sidebar .profile{position:relative;margin-top:auto;padding:30px 4px 0 40px;border:0;font-size:12px}.profile-avatar{position:absolute;left:2px;top:30px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#254d70;color:#b9d9f4;font-size:11px}
#sidebar .profile small{font-size:10px;margin:3px 0 14px}#sidebar .profile a{font-size:11px;color:#b8c4d6;text-decoration:none}
.demo-shell main{margin:0;padding:28px;background:linear-gradient(135deg,#112c48,#0c1a30);border-radius:20px;min-width:0}
.topline{max-width:1180px;margin:0 auto 16px;display:flex;justify-content:flex-end;gap:10px;align-items:center}.topline .badge{margin-right:auto;font-size:11px;color:#b8c4d6}.topline button{font-size:11px;padding:9px 12px;min-height:40px;background:#0b1830a6}.topline .demo-icon{width:16px;height:16px}
header h1{font-size:29px;letter-spacing:-.8px;margin:0 0 8px}header>p{font-size:12px;margin:0 0 24px}
.demo-overview #content>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
.demo-overview .kpis{gap:16px}.demo-overview .kpi{min-height:125px;padding:22px 16px 22px 84px;border-radius:13px;border-color:#234a73a6;background:linear-gradient(120deg,#173853,#12263f);box-shadow:none}
.demo-overview .kpi .icon{left:20px;top:calc(50% - 24px);width:48px;height:48px;margin:0;background:#244e7d66;border-radius:14px}.demo-overview .kpi .icon .demo-icon{width:27px;height:27px}.demo-overview .kpi:nth-child(3) .icon{background:#1b61734d}.demo-overview .kpi:nth-child(4) .icon{background:#1e634d4d;color:#56e37c}
.demo-overview .kpi strong{font-size:30px;margin-bottom:4px}.demo-overview .kpi>span:not(.icon){font-size:12px;line-height:1.4}.demo-overview .kpi small{display:none}
#chat,#chat.expanded,.demo-overview #chat{padding:20px;margin:20px 0 0;border:1px solid #234a7388;border-radius:15px;background:#071729;box-shadow:none}
.chat-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0}.assistant-greeting{display:flex;align-items:center;gap:12px;min-width:0}.assistant-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;background:#183659;color:#a7c7ff}.assistant-greeting strong{font-size:13px;color:#f8fafc}.assistant-greeting p{font-size:13px;color:#f8fafc;margin:0;line-height:1.5}
.chat-heading #toggle{padding:7px 10px;font-size:10px;background:transparent;border-color:#234a7380;min-height:34px}
.phrase-hint,.demo-overview .phrase-hint{font-size:10px;margin:14px 0 10px;padding:0;color:#8da3bd}
#chat .chips.quick,.demo-overview #chat .chips.quick{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0;border:0;background:transparent}
#chat .chips button{font-size:11px;font-weight:400;line-height:1.4;min-height:34px;padding:7px 11px;border:1px solid #315777;border-radius:20px;background:transparent;color:#cbd9ea;box-shadow:none}
#chat .chips button:hover{background:#183653;border-color:#50d5ff}#chat .chips .primary{color:#d9ff6b;border-color:#658344;background:transparent}
#chat #composer{padding:6px;margin-top:16px;border-radius:10px;background:#0d2038;border-color:#315777;gap:4px}#composer input{border:0;background:transparent;padding:10px 6px;font-size:13px}#composer button{padding:8px;background:transparent;border:0;color:#a7c7ff;min-width:36px;min-height:44px}#composer button:hover{background:#1b3651}#composer .demo-icon{width:22px;height:22px}
#messages:empty,#workspace:empty{display:none}#messages .message{font-size:14px}#workspace .card{padding:20px}
.disclaimer,.demo-overview .disclaimer{font-size:10px;line-height:1.5;padding:0;margin:12px 0 0;color:#8da3bd}#notice:empty{display:none}
.card,.kpi{box-shadow:none}.mobile-menu{display:none}
@media(min-width:761px) and (max-width:1000px){body{padding:20px}.demo-shell{grid-template-columns:190px minmax(0,1fr)}.demo-shell main{padding:20px}.demo-overview .kpi{padding-left:68px}.demo-overview .kpi .icon{left:14px;width:40px;height:40px;top:calc(50% - 20px)}.demo-overview .kpi strong{font-size:25px}}
@media(max-width:760px){body{padding:12px 12px 24px}body:before,body:after{display:none}.mobile-menu{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding:8px 12px;font-size:13px;min-height:44px}.topline{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;margin-bottom:12px;gap:8px}.topline .badge{width:100%;font-size:10px}.topline button{min-height:44px}.demo-shell{display:block;padding:8px;border-radius:20px}.demo-shell main{padding:18px 12px;border-radius:14px}#sidebar{display:none;position:fixed;inset:64px auto 0 0;width:min(300px,88vw);overflow-y:auto;padding:20px;background:#08172b;border-right:1px solid #234a73;box-shadow:20px 0 70px #0008;z-index:40}#sidebar.open{display:flex}#sidebar nav button{font-size:14px;min-height:44px}#sidebar .profile{margin-top:24px}header h1{font-size:25px}header>p{font-size:12px;margin-bottom:18px}.demo-overview .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.demo-overview .kpi{padding:14px 12px;min-height:142px}.demo-overview .kpi .icon{position:static;width:34px;height:34px;margin-bottom:8px;border-radius:10px}.demo-overview .kpi .icon .demo-icon{width:22px;height:22px}.demo-overview .kpi strong{font-size:22px;white-space:nowrap}.demo-overview .kpi>span:not(.icon){font-size:11px}#chat,#chat.expanded,.demo-overview #chat{padding:14px 12px;margin-top:16px}.assistant-avatar{width:34px;height:34px;flex-basis:34px}.assistant-greeting{gap:8px}.assistant-greeting p,.assistant-greeting strong{font-size:12px}.chat-heading{flex-wrap:nowrap}.chat-heading #toggle{padding:5px;min-height:44px;font-size:10px}#chat .chips.quick{gap:7px}#chat .chips button{font-size:11px;min-height:44px;padding:8px 10px}#composer input{font-size:16px;padding:10px 2px}#composer button{min-width:30px;padding:4px}#workspace .card{padding:14px}.disclaimer,.demo-overview .disclaimer{font-size:9px}}
