@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--bg:#060d17;--panel:#0a1423;--panel2:#0d1b2e;--border:#1c3046;--muted:#69829e;--text:#d4e5f6;--cyan:#46d7ff;--blue:#1689ed;--green:#47e7ac;--warn:#f9bd6b;--red:#fa6b80}
*{box-sizing:border-box}html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:'DM Sans',Arial,sans-serif;font-size:12px}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#24445f;border-radius:5px}::-webkit-scrollbar-track{background:transparent}
.shell{height:100dvh;min-height:620px;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 50% 0%,#101e33,transparent 65%),var(--bg)}
.topbar{height:64px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border);padding:0 21px;background:#081321;position:relative;z-index:5}
.brand{display:flex;align-items:center;gap:14px;min-width:300px}.brandmark{font-family:'Barlow Condensed',sans-serif;font-size:32px;font-style:italic;font-weight:800;letter-spacing:-2px;color:#f1f8ff;text-shadow:0 1px 10px #1f87ee77}.brandmark span{font-size:19px;font-style:normal;color:#31bff1;padding-left:4px}.brandcopy{padding-left:13px;border-left:1px solid #315071;display:flex;flex-direction:column;gap:3px}.brandcopy strong{font-family:'Barlow Condensed';font-size:16px;letter-spacing:1.5px}.brandcopy small{font-size:9px;letter-spacing:1.7px;color:#6188a8}.topcenter{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:700;letter-spacing:1px;color:#9cb8d4}.dotsep{color:#32506c}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55eca7;box-shadow:0 0 0 4px #48d8a015,0 0 14px #25d895;animation:pulse 1.8s infinite}@keyframes pulse{50%{opacity:.35}}.topactions{display:flex;align-items:center;gap:12px}.saved{font-size:10px;color:#83a8bf;letter-spacing:.7px}
.btn{border:1px solid #29435c;background:#101e30;color:#c8deed;border-radius:5px;padding:10px 12px;font-family:'Barlow Condensed';font-weight:700;letter-spacing:1px;font-size:12px;white-space:nowrap;transition:background .15s,border .15s}.btn:hover,.act-btn:hover,.float-btn:hover,.iconbtn:hover{background:#1a3652;border-color:#439dcd}.btn.primary{background:linear-gradient(105deg,#0f6ebb,#1296d8);border-color:#29adf7;color:white;box-shadow:0 0 20px #097bcd22}.btn.danger{color:#ffb3ba;border-color:#653341;background:#291926}.btn.subtle{border:0;background:transparent;color:#9dbbd5}
.layout{flex:1;min-height:0;display:grid;grid-template-columns:288px minmax(0,1fr) 300px}.leftpanel,.rightpanel{background:linear-gradient(180deg,#0a1727,#091321);min-height:0;padding:19px 17px;overflow-y:auto}.leftpanel{border-right:1px solid var(--border)}.rightpanel{border-left:1px solid var(--border)}.scroll{scrollbar-width:thin;scrollbar-color:#2a506c transparent}
.eyebrow{display:flex;justify-content:space-between;color:#46b8e0;font-size:10px;font-weight:700;letter-spacing:1.5px;margin:2px 0 12px}.eyebrow span{color:#4c6888}.section-title{font-family:'Barlow Condensed';font-size:22px;font-weight:700;letter-spacing:.5px;color:#edf7ff;margin-bottom:2px}.hint{font-size:11px;color:#819bb0;line-height:1.65;margin:6px 0 13px}.hint.small{font-size:10px;margin-top:10px}.segmented{display:flex;border:1px solid #2b4058;border-radius:6px;padding:3px;gap:4px;margin-bottom:12px;background:#070f1d}.segmented button{flex:1;font:700 11px 'Barlow Condensed';letter-spacing:.65px;color:#7190aa;border:0;border-radius:4px;background:transparent;padding:8px 3px}.segmented button.active{background:#124770;color:#d4f6ff;box-shadow:inset 0 0 0 1px #247fbc}
.room-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.room-btn{display:flex;flex-direction:column;text-align:left;justify-content:center;gap:4px;min-height:59px;border:1px solid #263b50;background:#0f2134;border-radius:5px;color:#c8ddee;padding:9px 10px;transition:all .2s}.room-btn:hover{border-color:#40b7e6;transform:translateY(-1px)}.room-btn.active{border-color:#38ccf2;background:#143951;box-shadow:inset 2px 0 #43d7fb}.room-number{font:700 10px 'Barlow Condensed';color:#4cb7dc;letter-spacing:1px}.room-name{font:700 13px 'Barlow Condensed';letter-spacing:.4px}.rule{height:1px;background:linear-gradient(90deg,#26465f,transparent);margin:20px 0}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}.act-btn{min-height:68px;background:#101f30;border:1px solid #294057;border-radius:6px;color:#5ad8fb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:23px;transition:.15s}.act-btn span{font:600 11px 'Barlow Condensed';color:#b6d1e5}.label{display:flex;justify-content:space-between;align-items:center;font:700 11px 'Barlow Condensed';letter-spacing:1px;color:#80a3bd;margin:15px 0 7px}.label span{color:#5bd4f3}.task-row{display:flex;gap:5px}.task-row input{width:100%;min-width:0;background:#060f1b;border:1px solid #2c4863;color:#cbddec;border-radius:5px;padding:10px}.task-row input::placeholder{color:#57748e}.iconbtn{width:39px;flex:none;border-radius:5px;border:1px solid #3b83b5;color:white;background:#115d92;font-size:18px}.tasks{display:flex;flex-direction:column;gap:6px}.task{padding:8px 9px;border:1px solid #294057;border-radius:5px;background:#0d1c2e}.task strong{display:block;font-size:11px;color:#cde4ef;word-break:break-word;font-weight:600}.task-foot{display:flex;align-items:center;justify-content:space-between;margin-top:7px;gap:6px}.task-foot span{font-size:9px;color:var(--warn);letter-spacing:.7px}.task-foot button{font-size:9px;color:#9edaf4;background:transparent;border:0;text-decoration:underline}.empty{color:#5e7b93;font-size:11px;line-height:1.6;padding:9px;border:1px dashed #25405a;border-radius:4px}.controlbuttons{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.toggle-row{display:flex;justify-content:space-between;gap:6px;align-items:center;color:#bbd0df;margin-top:16px}.switch input{display:none}.switch i{display:block;width:37px;height:20px;border-radius:20px;background:#26394b;position:relative;cursor:pointer;border:1px solid #456077}.switch i:after{content:"";width:13px;height:13px;background:#789ab2;border-radius:50%;position:absolute;left:3px;top:2px;transition:.2s}.switch input:checked+i{background:#13618e}.switch input:checked+i:after{left:20px;background:#6af3f9}
.worldframe{position:relative;min-width:0;overflow:hidden;background:radial-gradient(ellipse at center,#122b44,#071522 70%)}#viewport{position:absolute;inset:0;outline:none;touch-action:none}#viewport canvas{width:100%;height:100%;display:block}.world-hud{position:absolute;left:18px;right:18px;pointer-events:none;display:flex;align-items:center;gap:14px;color:#91b4cc;font:700 10px 'Barlow Condensed';letter-spacing:1.1px}.world-hud.top{top:18px}.world-hud.top>span{border:1px solid #284a62;background:#081824cc;border-radius:4px;padding:9px 11px;backdrop-filter:blur(5px)}.world-hud.top .hud-live{color:#a8f5d6}.world-hud.bottom{bottom:20px;justify-content:space-between;align-items:end}.location-card{display:flex;flex-direction:column;gap:4px;background:#081827dd;padding:13px 16px;border:1px solid #2c5268;border-left:3px solid var(--cyan);border-radius:5px;min-width:245px;backdrop-filter:blur(4px)}.location-card strong{font:700 22px 'Barlow Condensed';letter-spacing:.4px;color:white}.location-card small{color:#7899ac;font-family:'DM Sans';font-weight:400;letter-spacing:0}.tiny{font:700 9px 'DM Sans';letter-spacing:1px;color:#5ab7d6}.floating-tools{display:flex;gap:6px;pointer-events:auto}.float-btn{width:40px;height:40px;border:1px solid #34647d;background:#0c2439e5;color:#b3ecff;border-radius:6px;font-size:20px}.compass{position:absolute;right:21px;top:76px;display:flex;align-items:center;flex-direction:column;color:#94b7c9;gap:2px;font-size:11px;pointer-events:none}.compass div{font-size:24px;color:#55c7e8;text-shadow:0 0 13px #2ec8ed}.compass small{font-size:9px}.toast{position:absolute;left:50%;top:74px;transform:translate(-50%,-10px);opacity:0;pointer-events:none;max-width:70%;background:#0f3048ee;color:#ccf0ff;border:1px solid #2bb6da;padding:10px 15px;border-radius:7px;transition:.23s;font-size:11px;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.world-error{position:absolute;inset:22% 12%;display:grid;place-items:center;text-align:center;white-space:pre-line;color:#ffd3d8;background:#200f22;border:1px solid #e36b81;padding:20px;line-height:2;z-index:3}.hidden{display:none}
.right-head{display:flex;align-items:center;gap:10px}.avatar-symbol{width:42px;height:42px;display:grid;place-items:center;border:1px solid #8c86ef;border-radius:5px;font-size:25px;color:#b9a8ff;background:linear-gradient(150deg,#36426f,#101d3b)}.right-head>div:nth-child(2){display:flex;flex-direction:column;gap:5px}.right-head small{font:700 9px 'DM Sans';color:#7a97b3;letter-spacing:1.2px}.right-head strong{font:800 19px 'Barlow Condensed';letter-spacing:.7px}.chip{padding:5px 6px;border:1px solid #4164b0;font:700 8px 'DM Sans';letter-spacing:.5px;border-radius:2px;margin-left:auto}.chip.cobalt{color:#a9a4fc;background:#27315b}.resident-viz{height:168px;margin:17px 0 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border:1px solid #27465f;background:radial-gradient(ellipse at 50% 50%,#263b64 0,#101f34 48%,#091523 75%);overflow:hidden}.resident-viz:before,.resident-viz:after{content:"";position:absolute;width:250px;height:1px;background:#25425b;transform:rotate(35deg)}.resident-viz:after{transform:rotate(-35deg)}.radar-ring{width:72px;height:72px;border-radius:50%;border:1px solid #6b88be;box-shadow:0 0 0 9px #4b7dc516,0 0 0 20px #4b7dc50b,0 0 25px #6d70ff44;display:grid;place-items:center;z-index:1;color:#9ce7f7;font-size:40px;background:#22305a}.viz-desc{z-index:1;display:flex;flex-direction:column;align-items:center;margin-top:14px;gap:3px;text-shadow:0 1px 4px #061425}.viz-desc small{font-size:9px;letter-spacing:1px;color:#82a5c2}.viz-desc strong{font:700 17px 'Barlow Condensed';letter-spacing:1px}.viz-desc span{font-size:10px;color:#83a9bd}.statline{display:flex;justify-content:space-between;gap:10px;margin:13px 0;font-size:11px;color:#91abc3}.statline b{font:700 10px 'Barlow Condensed';letter-spacing:.8px;color:#cbe5f7}.statline b.unknown{color:#f1bf77}.statline b.local{color:#73d8be}.tabs{display:flex;gap:6px;border-bottom:1px solid #203b55;overflow-x:auto}.tab{flex:1;padding:8px 5px;background:transparent;border:0;border-bottom:2px solid transparent;color:#7594b1;font:700 10px 'Barlow Condensed';letter-spacing:.55px}.tab.selected{border-color:#44c9ef;color:#d1f4ff}.tab-content{min-height:126px;padding-top:11px}.rowdata{display:flex;justify-content:space-between;align-items:flex-start;padding:8px 0;border-bottom:1px solid #192d41;gap:12px}.rowdata span{color:#7999b3}.rowdata strong{font-size:11px;color:#d4e5f3;font-weight:600;text-align:right}.memo{background:#102136;border-left:2px solid #4997d1;padding:8px;margin:7px 0;color:#c2dbef;font-size:11px;line-height:1.5}.memo small{display:block;color:#5f8ca9;margin-top:5px}.goal{padding:8px 0;display:flex;gap:10px;border-bottom:1px solid #24394c;align-items:center;color:#d6e5f2}.goal i{display:grid;place-items:center;width:19px;height:19px;color:#76dbd6;background:#173b50;border-radius:4px}.chat-history{min-height:45px;max-height:112px;overflow-y:auto;display:flex;flex-direction:column;gap:6px}.chat-bubble{background:#12283c;border-radius:5px;padding:8px 9px;line-height:1.5;color:#c3d9e6;word-break:break-word}.chat-bubble.system{border-left:2px solid #d5a85d}.chat-bubble.me{border-left:2px solid #46c4ed}.chat-bubble small{font-size:9px;color:#6e94aa;display:block;margin-bottom:3px}.chat-inputrow{margin-top:8px}
.eventbar{height:120px;flex:none;background:#081422;border-top:1px solid #213c52;overflow:hidden;padding:10px 18px}.event-head{display:flex;align-items:center;gap:12px;height:20px;font:700 11px 'Barlow Condensed';letter-spacing:1px;color:#7c9eb6}.event-head strong{color:#e0f4ff;font-size:13px}.event-head .pulse{width:6px;height:6px}.event-count{margin-left:auto;color:#5696b9}.event-head button{font-size:10px;padding:4px}.event-list{height:70px;overflow:auto;display:flex;align-items:flex-start;gap:8px;padding:9px 0}.event{min-width:190px;max-width:270px;flex:1;padding:8px 10px;background:#102133;border:1px solid #22374e;border-radius:4px;font-size:10px;color:#acc5d8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event .event-time{font:700 10px 'Barlow Condensed';color:#4dbfea;letter-spacing:.9px;margin-right:7px}.event.ver{border-left:2px solid #4bdda7}.event.unv{border-left:2px solid #e6b763}.event.blocked{border-left:2px solid #ff6079}.event.review{border-left:2px solid #a58af8}.statusfooter{height:26px;flex:none;border-top:1px solid #18354e;background:#05101b;display:flex;align-items:center;justify-content:space-between;padding:0 17px;color:#486b82;font:700 9px 'Barlow Condensed';letter-spacing:1px}.statusfooter b{color:#8aaac2}.statusfooter .statusgood{color:#4fcca3}.statusfooter .statuswarn{color:#e9b770}
dialog{background:#0c1b2d;color:#d7eeff;border:1px solid #3984b2;border-radius:9px;max-width:450px;padding:27px;box-shadow:0 20px 110px #010710bb}dialog::backdrop{background:#02070bc9;backdrop-filter:blur(5px)}dialog h2{font:800 28px 'Barlow Condensed';margin:0 0 10px}dialog p{line-height:1.65;color:#94b2c7}.keytable{display:grid;grid-template-columns:1fr 1.2fr;gap:0;margin:20px 0}.keytable span{padding:10px;border-bottom:1px solid #1e3a53}.keytable span:nth-child(odd){color:#75d6f4;font-weight:700}
@media(max-width:1250px){.layout{grid-template-columns:245px minmax(0,1fr) 265px}.leftpanel,.rightpanel{padding:14px 11px}.topcenter{display:none}.brand{min-width:unset}}@media(max-width:930px){.layout{grid-template-columns:215px minmax(0,1fr)}.rightpanel{display:none}.topbar{padding:0 12px}}@media(max-width:620px){.layout{grid-template-columns:minmax(0,1fr)}.leftpanel{display:none}.topbar{height:56px}.brandcopy{display:none}.saved{display:none}.topactions .subtle{display:none}.eventbar{height:99px}.event-list{height:51px}.statusfooter span:first-child{display:none}.world-hud.top{gap:5px}.world-hud.top>span{padding:7px;font-size:8px}.world-hud.top span:nth-child(2){display:none}.location-card{min-width:unset}.location-card small{display:none}}
.statuslegend{padding:11px 0 1px}.legend-grid{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}.lg{padding:4px 5px;font:700 9px 'Barlow Condensed';letter-spacing:.6px;border-radius:3px;border:1px solid #35506b;background:#122137}.lg.verified{border-color:#267d67;color:#6bd5ad}.lg.unverified{border-color:#866a43;color:#dfbe85}.lg.blocked{border-color:#7d3b56;color:#fc899b}.lg.stale{border-color:#526b7d;color:#a0b4c4}.lg.review{border-color:#6c5a90;color:#cbb5ff}.statuslegend small{font-size:9px;color:#7391a7}.event-status{display:inline-block;color:#97cee4;font:700 8px 'Barlow Condensed';letter-spacing:.5px;margin-right:6px}.event{min-width:240px}
.float-btn.selected{background:#155a87;border-color:#5ce0fa;color:#ffffff;box-shadow:0 0 0 2px #46d7ff22}
