:root{color-scheme:dark;--bg:#101216;--panel:#202328;--panel2:#292d33;--muted:#a8afb8;--white:#f9fbff;--border:rgba(255,255,255,.09);--radius:25px;font-family:Inter,-apple-system,BlinkMacSystemFont,'SF Pro Display',system-ui,sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white)}body{overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}.hidden{display:none!important}.glow{position:fixed;pointer-events:none;filter:blur(90px);border-radius:50%;z-index:0;opacity:.14}.glow-one{width:490px;height:490px;background:#6271a5;right:-200px;top:-100px}.glow-two{width:310px;height:310px;background:#a8abae;bottom:15%;left:-260px;opacity:.07}.app-shell{max-width:1320px;margin:auto;padding:0 56px;position:relative;z-index:1}.header{height:104px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:13px;font-size:18px;font-weight:800;letter-spacing:.08em}.brand-mark{width:36px;height:36px;background:linear-gradient(145deg,#f7faff,#8b949e);color:#181a1f;display:grid;place-items:center;border-radius:12px;font-size:29px;line-height:1}.brand-mark.big{height:52px;width:52px;font-size:38px}.brand-tag{font-size:9px;font-weight:600;color:#adb5c0;letter-spacing:.2em;margin-left:14px}.header-right{display:flex;align-items:center;gap:12px}.small-muted{font-size:13px;color:var(--muted);line-height:1.6}.header-version{font-size:11px;color:#68707b;margin:0 12px}.server-dot,.model-pill .dot{width:7px;height:7px;background:#7c878c;border-radius:50%;display:inline-block}.server-dot.good,.model-pill .dot.good{background:#9fd2ad;box-shadow:0 0 12px #5d9e7b}.round-btn{background:#282b31;color:white;border:1px solid var(--border);border-radius:50%;width:38px;height:38px;display:inline-grid;place-items:center;font-size:21px}.intro{display:grid;grid-template-columns:1.5fr 1fr;gap:50px;padding-top:88px;align-items:center}.eyebrow{letter-spacing:.24em;font-size:10px;font-weight:800;color:#9ca6b1}.intro h1{font-size:clamp(64px,7vw,105px);font-weight:650;letter-spacing:-.075em;line-height:1.02;margin:18px 0 24px}.intro h1 em{font-style:normal;color:#9098a3}.lead{max-width:570px;font-size:17px;line-height:1.8;color:#b5bbc4}.hero-stat{display:flex;justify-content:center;align-items:center}.orbit-outer{border:1px solid #30363f;width:270px;height:270px;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 0 0 20px #16191d,0 0 0 21px #22262d}.orbit-outer:before,.orbit-outer:after{content:"";position:absolute;width:8px;height:8px;background:#a1acb9;border-radius:50%;top:34px;right:38px;box-shadow:0 0 22px #e4e9ef}.orbit-outer:after{top:auto;right:auto;left:22px;bottom:55px;opacity:.4}.orbit-inner{background:radial-gradient(circle at 20% 20%,#353b44,#1e2128);width:185px;height:185px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:inset 0 1px 20px #4c535b20}.orbit-inner span{font-size:67px;font-weight:550;letter-spacing:-.07em}.orbit-inner small{font-size:10px;letter-spacing:.2em;color:#acb2bb}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:55px 0 60px;border-bottom:1px solid var(--border)}.control-row{display:flex;gap:11px;flex-wrap:wrap}.primary-btn,.secondary-btn{border-radius:15px;border:1px solid #555c65;padding:16px 23px;display:inline-flex;gap:12px;align-items:center;justify-content:center;text-decoration:none;font-weight:650;font-size:13px;white-space:nowrap;min-height:51px}.primary-btn{color:#14171d;background:linear-gradient(165deg,#fff,#d0d5dd);border-color:#f6f7fa}.secondary-btn{color:#e4e8ee;background:#282d34;border-color:#373c45}.primary-btn:hover{background:#fff}.secondary-btn:hover{background:#343941}.btn-symbol{font-size:19px}.arrow{font-size:19px;line-height:.5;margin-left:8px}.model-pill{border:1px solid var(--border);border-radius:24px;padding:12px 16px;font-size:11px;color:#a9b0ba;white-space:nowrap;background:#1c2026}.model-pill .dot{margin-right:8px}.workspace{padding:48px 0 0;min-height:380px}.workspace-head{display:flex;justify-content:space-between;align-items:flex-end;gap:25px}.workspace h2{font-size:29px;letter-spacing:-.04em;margin:13px 0}.muted-count{font-size:14px;color:#767f8a;margin-left:10px}.tabs{background:#20242a;border:1px solid var(--border);display:flex;padding:4px;border-radius:16px;gap:2px}.tab{padding:11px 17px;background:none;border:0;color:#a4aeba;border-radius:12px;font-size:12px}.tab.active{background:#3b4049;color:#fff}.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:32px}.empty-state{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #383d46;background:#191c21;border-radius:24px;min-height:255px;text-align:center;padding:30px}.empty-state span{font-size:42px;color:#7a8490}.empty-state strong{font-size:20px;margin:10px}.empty-state p{color:#909aa6;line-height:1.6}.object-card{border-radius:23px;background:#202329;border:1px solid var(--border);overflow:hidden;min-height:210px;display:flex;flex-direction:column}.object-photo{height:155px;width:100%;object-fit:cover;background:linear-gradient(140deg,#333942,#20242a)}.object-placeholder{height:155px;display:grid;place-items:center;background:radial-gradient(circle,#343a43,#22262d);color:#89939d;font-size:39px}.object-body{padding:18px}.object-body h3{font-size:17px;letter-spacing:-.02em;margin:0}.object-body p{font-size:11px;color:#a9b1bb;line-height:1.6;min-height:23px}.object-meta{display:flex;justify-content:space-between;color:#7e8793;font-size:10px;margin-bottom:12px}.object-actions{display:flex;gap:6px;flex-wrap:wrap}.tiny-btn{border:1px solid #424750;border-radius:9px;background:#30353c;color:#e4e9f1;padding:8px;font-size:11px}.secondary-area{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:65px 0}.note-card{padding:30px;border-radius:24px;background:#1b1f24;border:1px solid var(--border)}.note-card h3{font-size:22px;letter-spacing:-.03em}.note-card p:last-child{color:#aab3bc;font-size:13px;line-height:1.8}.footer{border-top:1px solid var(--border);padding:30px 0 36px;color:#7f8994;font-size:10px;letter-spacing:.1em;display:flex;justify-content:space-between;gap:15px;align-items:center}.link-btn{border:0;background:transparent;color:#d0d5dd;text-decoration:underline}.auth-wrap{position:fixed;inset:0;display:grid;place-items:center;z-index:10;background:rgba(12,13,16,.93);padding:20px}.auth-card{width:min(440px,100%);padding:38px;background:#202329;border:1px solid #40454e;border-radius:30px;box-shadow:0 40px 130px #0008}.auth-card h2{font-size:38px;letter-spacing:-.05em;margin:12px 0}.auth-card form{display:grid;gap:16px;margin-top:24px}.auth-card label{color:#abb4bd;font-size:10px;letter-spacing:.13em;display:grid;gap:8px}.auth-card input,.manual-entry input,.modal-card input{background:#15181e;border:1px solid #424750;border-radius:12px;color:#fff;padding:13px 15px;outline:0;width:100%}.auth-card input:focus,.manual-entry input:focus{border-color:#b7c0c8}.error{color:#ffb4b4;font-size:12px;min-height:14px}.camera-panel{position:fixed;z-index:5;right:24px;bottom:24px;width:min(465px,calc(100vw - 30px));border-radius:25px;background:#23272d;border:1px solid #505762;box-shadow:0 20px 100px #000a;overflow:hidden}.panel-top,.camera-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 20px}.panel-top .eyebrow{margin:0 0 4px}.camera-content{height:248px;background:#0e1014;display:grid;place-items:center;position:relative}.camera-content video,.camera-content img{width:100%;height:100%;object-fit:contain;max-height:248px}.capture-empty{position:absolute;color:#9aa3ae;font-size:13px;text-align:center;padding:20px;pointer-events:none}.camera-actions button{flex:1}.manual-entry{display:flex;gap:8px;padding:0 20px 12px}.manual-entry input{min-width:0}.manual-entry button{padding:11px}.hint{font-size:11px;line-height:1.7;color:#a8b1bc;padding:0 20px 14px}.modal{position:fixed;inset:0;z-index:12;background:#000b;display:grid;place-items:center;padding:20px;backdrop-filter:blur(12px)}.modal-card{width:min(520px,100%);max-height:85vh;overflow:auto;background:#272b32;border:1px solid #525861;border-radius:28px;padding:29px;box-shadow:0 30px 90px #0008}.modal-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal-title h2{font-size:27px;letter-spacing:-.04em;margin:6px 0}.modal-card ul{margin:28px 0 25px;padding-left:22px;color:#dae0e7;font-size:14px;line-height:1.85}.modal-card li{padding-left:6px;margin:11px 0}.modal-card form{display:grid;gap:10px;margin:20px 0}.modal-card hr{border:0;border-top:1px solid #454b54;margin:23px 0}.toast{position:fixed;z-index:20;bottom:20px;left:50%;transform:translateX(-50%);background:#eef2f7;color:#171b20;padding:14px 21px;border-radius:15px;font-size:13px;box-shadow:0 10px 70px #0008;max-width:90%;text-align:center}@media(max-width:900px){.app-shell{padding:0 26px}.intro{gap:25px}.orbit-outer{width:205px;height:205px}.orbit-inner{width:138px;height:138px}.toolbar{align-items:flex-start;flex-direction:column}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.header{height:80px}.brand-tag,.header-version{display:none}.intro{grid-template-columns:1fr;padding-top:55px}.intro h1{font-size:65px}.hero-stat{display:none}.toolbar{padding:30px 0}.workspace-head{align-items:flex-start;flex-direction:column}.item-grid{grid-template-columns:1fr}.secondary-area{grid-template-columns:1fr}.footer{flex-wrap:wrap}.camera-panel{right:15px;bottom:15px}.camera-actions{flex-wrap:wrap}.control-row{width:100%}.control-row .primary-btn{width:100%}}

.model-select{padding:12px 20px 2px;display:flex;align-items:center;justify-content:space-between;gap:8px}.model-select label{font-size:10px;letter-spacing:.13em;color:#adb6c0}.model-select select{background:#313740;color:#f2f5f9;border:1px solid #59616b;border-radius:10px;padding:10px;max-width:65%;font-size:12px}
/* FREELAB 0.2.0 — spatial open canvas design */
:root{--bg:#080b0c;--white:#eef1ee;--border:#ffffff22;--muted:#a4adaa;--green:#b5f6bb}html,body{background:#070a09;color:#eef1ee;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display',Inter,system-ui,sans-serif}body{min-height:100%;background:radial-gradient(ellipse at 57% 60%,#202522 0%,#0c100f 53%,#080b0b 100%)}.app-shell{max-width:none;margin:auto;padding:0;min-height:100vh}.header{position:fixed;top:0;left:0;width:100%;height:90px;z-index:4;border-bottom:0;display:flex;justify-content:space-between;padding:0 clamp(20px,3.7vw,72px);pointer-events:none}.header>*{pointer-events:auto}.brand{font-weight:750;letter-spacing:-.06em;font-size:22px;gap:11px}.brand-logo{height:31px;width:31px;border:2px solid #d6ffdd;box-shadow:0 0 20px #80ff9b52,inset 0 0 12px #7cff9c4b;display:grid;place-items:center;border-radius:12px}.brand-logo-inner{height:10px;width:10px;background:#caffd0;border-radius:50%}.brand-tag{margin-left:19px;font-size:9px;font-weight:600;letter-spacing:.18em;color:#b2bcb5}.header-right{gap:11px}.live-pill,.nav-pill,.nav-avatar{border:1px solid #ffffff21;background:#ffffff0c;backdrop-filter:blur(25px);border-radius:60px;color:#f0f2ef;padding:11px 16px;font-size:11px;font-weight:650;letter-spacing:.02em;white-space:nowrap}.live-pill{display:flex;align-items:center;gap:9px;color:#c1c9c5}.nav-pill{display:flex;gap:12px;align-items:center}.nav-pill span{background:#ffffff20;border-radius:20px;padding:3px 8px}.nav-avatar{width:42px;height:42px;padding:0;font-size:22px}.server-dot.good,.pulse-dot,.model-pill .dot.good{background:#afffc2;box-shadow:0 0 12px #a7ffb866}.main{width:100%}.scene-stage{position:relative;isolation:isolate;min-height:min(810px,100svh);height:100svh;min-height:670px;overflow:hidden;background:radial-gradient(ellipse at 52% 76%,#313732 0%,#1b211f 25%,#0b1010 57%,#080b0c 93%)}.scene-stage:before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 50% 90%,transparent 22%,#090c0b8a 89%);pointer-events:none}.scene-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block}.scene-vignette{position:absolute;inset:0;pointer-events:none;z-index:2;background:linear-gradient(90deg,#070b0cc9 0%,transparent 29%,transparent 75%,#070b0c80 100%),linear-gradient(0deg,#070a0bd8,transparent 19%,transparent 80%,#070a0ba9)}.stage-copy{position:absolute;left:clamp(27px,5.5vw,110px);top:29%;z-index:3;pointer-events:none}.stage-copy .eyebrow{font-size:9px;letter-spacing:.26em;color:#d2f9d3}.pulse-dot{height:6px;width:6px;display:inline-block;border-radius:100%;margin:0 10px 1px 0}.stage-copy h1{font-size:clamp(40px,5.5vw,87px);font-weight:550;letter-spacing:-.079em;line-height:1.055;margin:21px 0 24px;max-width:600px}.stage-copy h1 em{font-style:normal;font-weight:350;color:#a6b1aa}.period{color:#a5f9b3}.stage-copy>p:last-child{font-size:15px;color:#abb6b0;line-height:1.75;max-width:350px}.mascot-tag{position:absolute;left:57.5%;top:18%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:9px;padding:12px 17px;border-radius:100px;background:#e8efeabf;backdrop-filter:blur(15px);border:1px solid #ffffffd1;box-shadow:0 15px 70px #0008;color:#10231a;font-size:12px;font-weight:800;letter-spacing:.04em;white-space:nowrap;animation:tagbob 3s ease-in-out infinite}.mascot-tag-dot{width:7px;height:7px;background:#47bd77;border-radius:50%}.mascot-tag-sub{font-size:8px;font-weight:650;color:#63746a;letter-spacing:.14em;margin-left:6px}.stage-portal{position:absolute;z-index:4;left:58%;bottom:10%;display:flex;flex-direction:column;align-items:center;gap:17px;transform:translateX(-50%)}.xr-portal{width:clamp(125px,11vw,175px);height:clamp(125px,11vw,175px);position:relative;border-radius:50%;display:grid;align-items:center;justify-items:center;line-height:1;border:1px solid #ffffffba;background:radial-gradient(circle at 23% 17%,#fff,#dfe5e0 65%,#b8c5be);box-shadow:0 0 0 10px #ffffff13,0 0 0 11px #ffffff32,0 22px 65px #030706bb,inset 0 3px 4px #fff;color:#202c24;transition:transform .35s,box-shadow .35s}.xr-portal:hover,.xr-portal:focus-visible{transform:translateY(-8px) scale(1.05);box-shadow:0 0 0 12px #bbffc820,0 0 0 13px #baffc84c,0 22px 85px #8bffa033}.xr-letter{font-size:clamp(43px,4.2vw,64px);font-weight:650;letter-spacing:-.095em;margin-top:9px}.xr-icon{position:absolute;right:31px;top:27px;font-size:21px}.stage-portal>div{display:flex;flex-direction:column;align-items:center;gap:8px;text-shadow:0 2px 10px #000}.stage-portal strong{font-size:11px;letter-spacing:.18em;white-space:nowrap}.stage-portal>div>span{font-size:9px;letter-spacing:.11em;color:#b5c0b8}.scene-caption{position:absolute;right:clamp(25px,4vw,75px);top:41%;z-index:3;text-align:right}.caption-index,.caption-muted{font-size:9px;letter-spacing:.15em;color:#a2b7a9}.scene-caption p{font-size:clamp(19px,2.2vw,29px);line-height:1.28;letter-spacing:-.045em;font-weight:450;margin:16px 0}.stage-bottom{position:absolute;bottom:20px;left:clamp(20px,3.7vw,72px);right:clamp(20px,3.7vw,72px);z-index:4;display:flex;align-items:center;gap:15px;letter-spacing:.15em;font-size:8px;font-weight:700;color:#99a7a0}.stage-line{height:1px;flex:1;background:#ffffff38}.scene-fallback{position:absolute;inset:0;z-index:0;pointer-events:none}.fallback-shadow{position:absolute;width:350px;height:110px;top:71%;left:56.5%;transform:translate(-50%,-50%);background:#070a08;filter:blur(34px);border-radius:50%}.fallback-creature{position:absolute;top:51%;left:57%;width:clamp(170px,19vw,300px);height:clamp(180px,20vw,320px);transform:translate(-50%,-50%);border-radius:47% 50% 46% 48%;background:radial-gradient(circle at 37% 26%,#646d65,#303932 49%,#18241e 85%);box-shadow:inset 14px 2px 34px #a9cab02e,inset -27px -20px 44px #001f1170,0 0 0 4px #aaffb712,0 0 35px #a8ffb350;animation:fallbackbob 4s ease-in-out infinite}.fallback-horn{position:absolute;top:-18%;width:30%;height:35%;border-radius:60% 70% 30% 30%;background:#48584d;border:3px solid #baffb839}.fallback-horn.left{left:4%;transform:rotate(-25deg)}.fallback-horn.right{right:4%;transform:rotate(25deg)}.fallback-face{position:absolute;top:43%;left:24%;width:55%;display:flex;justify-content:space-between}.fallback-face i{width:19px;height:29px;background:#070a09;border-radius:50%;box-shadow:inset 3px 4px 0 #ffffff70}.fallback-foot{width:35%;height:17%;background:#252e28;border-radius:60%;bottom:-3%;position:absolute}.fallback-foot.left{left:7%;transform:rotate(-18deg)}.fallback-foot.right{right:5%;transform:rotate(18deg)}@keyframes fallbackbob{0%,100%{transform:translate(-50%,-50%) rotate(-2deg) scale(1,.985)}50%{transform:translate(-50%,-53%) rotate(2deg) scale(.98,1.025)}}@keyframes tagbob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-7px)}}.action-bar{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:24px clamp(24px,5.5vw,110px);border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff13;position:relative;background:#131816}.action-bar-title{display:flex;gap:13px;align-items:center;white-space:nowrap}.action-bar-title strong{font-size:13px;letter-spacing:-.01em;display:block}.action-bar-title small{font-size:10px;color:#9faa9f;display:block;margin-top:5px}.action-orb{display:block;width:25px;height:25px;background:radial-gradient(circle at 30% 28%,#d1ffd1,#5daf7b 28%,#183222 85%);border-radius:50%;box-shadow:0 0 18px #7dffa459}.control-row{gap:7px;justify-content:center}.secondary-btn,.primary-btn{min-height:42px;border-radius:13px;font-size:12px;font-weight:650;padding:12px 15px;backdrop-filter:blur(12px)}.secondary-btn{background:#ffffff0d;border-color:#ffffff28}.secondary-btn:hover{background:#ffffff20}.primary-btn{background:#e4f0e7;border-color:#e4f0e7;color:#102016}.model-pill{background:#ffffff09;border-color:#ffffff23;border-radius:100px;font-size:10px;padding:11px 13px;white-space:nowrap}.workspace-drawer{position:fixed;top:85px;right:22px;bottom:20px;z-index:6;width:min(710px,calc(100vw - 44px));padding:31px;overflow:auto;background:#1d2321ed;border:1px solid #ffffff2b;border-radius:28px;box-shadow:0 30px 130px #000a;backdrop-filter:blur(30px);min-height:0}.workspace-head{align-items:center}.workspace-head h2{font-size:24px}.workspace-actions{display:flex;align-items:center;gap:12px}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:23px}.object-card{background:#ffffff0c;border:1px solid #ffffff21}.object-body h3{font-size:15px}.empty-state{background:#ffffff08;border-color:#ffffff21}.footer{margin:0;padding:20px clamp(24px,5.5vw,110px);border-top:1px solid #ffffff1b;background:#101413;font-size:9px}.auth-wrap{background:#0307056b;backdrop-filter:blur(9px);z-index:8;place-items:center end;padding:90px min(7vw,115px) 40px 20px}.auth-card{background:#19211ef0;border:1px solid #ffffff30;box-shadow:0 26px 120px #000b;border-radius:30px;padding:34px;width:min(400px,100%)}.auth-sigil{color:#baffbf;font-size:30px}.auth-card h2{font-size:43px;letter-spacing:-.07em}.auth-card input,.modal-card input,.manual-entry input,.sam-row input,.modal-card select{background:#101714;color:#fff;border:1px solid #ffffff2a;border-radius:13px;padding:13px;width:100%;min-width:0;font:inherit;outline:none}.auth-card input:focus,.modal-card input:focus,.sam-row input:focus{border-color:#b6f9c3}.modal{z-index:12;background:#060b08ba;backdrop-filter:blur(18px)}.modal-card{background:#222b27;border:1px solid #ffffff35;box-shadow:0 25px 125px #000b}.profile-card{width:min(580px,100%)}.profile-card h3{font-size:20px}.provider-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.provider-chip{display:flex;align-items:center;gap:8px;border-radius:12px;border:1px solid #ffffff24;background:#ffffff0c;color:#e1e9e3;padding:8px 10px;font-size:11px}.provider-chip .status{height:7px;width:7px;border-radius:50%;background:#65766b}.provider-chip.enabled .status{background:#9cffa8;box-shadow:0 0 8px #9cffa866}.provider-chip button{border:0;background:none;color:#a7b7a9;cursor:pointer}.tiny-label{color:#b9c7bd;font-size:10px;letter-spacing:.14em}.camera-panel{z-index:9;background:#222a25f7;border-color:#ffffff35;max-height:90vh;overflow-y:auto}.camera-content{height:240px}.sam-overlay{position:absolute;width:100%;height:100%;inset:0;pointer-events:none;object-fit:contain}.sam-row,.scan-row{display:flex;gap:8px;align-items:center;padding:0 20px 12px}.sam-row input{flex:1}.scan-row{justify-content:space-between;flex-wrap:wrap}.scan-row small{color:#aab9b0;font-size:10px}.model-select select{background:#141c18;border-color:#ffffff30}.toast{background:#e7f6e9}.hidden{display:none!important}@media(max-width:1120px){.action-bar{flex-wrap:wrap}.model-pill{display:none}.stage-copy{top:27%}.stage-copy h1{font-size:clamp(43px,5.4vw,70px)}.scene-caption{display:none}}@media(max-width:740px){.header{height:75px;padding:0 18px}.brand-tag,.live-pill{display:none}.scene-stage{height:89svh;min-height:650px}.stage-copy{top:18%;left:24px}.stage-copy h1{font-size:46px}.stage-copy>p:last-child{max-width:300px;font-size:13px}.mascot-tag{top:53%;left:59%;padding:9px 11px}.mascot-tag-sub{display:none}.fallback-creature{top:62%;left:58%;width:185px;height:185px}.fallback-shadow{top:78%;left:58%}.stage-portal{left:50%;bottom:7%}.xr-portal{width:109px;height:109px}.xr-letter{font-size:44px}.xr-icon{right:21px;top:17px}.stage-portal strong{font-size:9px}.stage-bottom{bottom:12px}.action-bar{padding:22px}.action-bar-title{display:none}.control-row{justify-content:stretch}.control-row .secondary-btn{flex:1;padding:12px 8px;font-size:10px}.workspace-drawer{right:9px;top:76px;bottom:9px;width:calc(100vw - 18px);padding:18px}.item-grid{grid-template-columns:1fr}.workspace-head{flex-direction:column;align-items:stretch}.auth-wrap{place-items:center;padding:80px 18px 25px}.footer{padding:20px 18px;font-size:8px}.footer span:nth-child(2){display:none}}@media(prefers-reduced-motion:reduce){.fallback-creature,.mascot-tag{animation:none}.xr-portal{transition:none}}
/* Arrival sequence: darkness gradually reveals the floor and playful character. */
.scene-stage{animation:floorReveal 3.8s ease-out both}
@keyframes floorReveal{from{background-color:#010202;filter:brightness(.68)}to{background-color:transparent;filter:brightness(1)}}
.fallback-creature{animation:fallbackArrival 2.1s cubic-bezier(.19,1.25,.44,1) both,fallbackbob 4s ease-in-out 2.1s infinite}
@keyframes fallbackArrival{0%{opacity:0;transform:translate(-225%,30%) rotate(-35deg) scale(.46,.8)}68%{opacity:1;transform:translate(-46%,-54%) rotate(9deg) scale(1.11,.88)}100%{opacity:1;transform:translate(-50%,-50%) rotate(-2deg) scale(1,.985)}}
@media(max-width:740px){.mascot-tag{top:55%}.fallback-creature{top:68%}}
@media(prefers-reduced-motion:reduce){.scene-stage,.fallback-creature{animation:none}}

/* v0.4.0: spatial studio connection lab, no browser-native select popups styled as white dropdowns */
.profile-card{width:min(700px,calc(100vw - 24px))}.profile-card .provider-actions{display:flex;gap:9px;flex-wrap:wrap}.profile-card .provider-actions button{flex:1;min-width:150px}.profile-card select{color-scheme:dark;appearance:none;-webkit-appearance:none;padding:15px 44px 15px 16px;background:#101714; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d4e9d5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:calc(100% - 14px) center;border:1px solid #65776d;border-radius:14px;font-weight:550}.profile-card select option{background:#17231d;color:#ecf7f0;padding:12px}.profile-card select:focus{border-color:#bdffd0;outline:2px solid #93fcb833}.storage-pick{display:grid;grid-template-columns:1fr 1fr;gap:9px}.storage-pick label{display:flex;align-items:center;gap:9px;background:#14211a;border:1px solid #425e4e;border-radius:13px;padding:15px 11px;cursor:pointer;font-size:12px;color:#e6f0e8}.storage-pick input{width:auto;min-width:initial;accent-color:#b7fbc1}.provider-result,.usage-meter,.xr-diagnostics{border:1px solid #54675a;border-radius:15px;padding:16px;background:#121c17;color:#c6dac9;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.usage-meter{margin:16px 0;border-color:#40544a}.provider-result{min-height:45px}.xr-diagnostics{font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;max-height:42vh;overflow:auto}.provider-chip{font-size:12px;padding:9px 12px}.profile-card form{gap:14px}.model-select select{color-scheme:dark}.camera-panel{border-radius:23px}.header-right{gap:9px}@media(max-width:650px){.storage-pick{grid-template-columns:1fr}.profile-card .provider-actions{flex-direction:column}.profile-card .provider-actions button{width:100%}}

/* Spatial button pickers replace Quest Browser's unstyled native dropdown menus. */
.provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.provider-option{border:1px solid #5b6a61;border-radius:14px;min-height:47px;padding:11px 8px;color:#d6e4da;background:#1b2821;font-size:12px;font-weight:630;line-height:1.25;transition:background .15s,border-color .15s}.provider-option:hover,.provider-option:focus-visible{background:#2e4937;border-color:#b5fccc}.provider-option.selected{background:#d6f3d9;border-color:#e0ffe3;color:#1a3221}.model-options{display:flex;gap:8px}.model-option{background:#18251d;color:#c6dbc9;border-radius:10px;padding:9px 17px;border:1px solid #57715f;font-size:13px;font-weight:600}.model-option small{display:block;font-size:10px;font-weight:450;color:inherit;opacity:.8}.model-option.selected{color:#173523;background:#e1f6e2}.profile-card .provider-grid button{font-family:inherit}@media(max-width:650px){.provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.5.0: keyboard editor for immersive DOM overlay or post-XR fallback. */
.xr-prompt-editor{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(5,8,8,.74);backdrop-filter:blur(6px);padding:18px}
.xr-prompt-editor.hidden{display:none!important}
.xr-prompt-content{width:min(580px,100%);border:0;border-radius:27px;background:#343c38;color:white;padding:24px;display:grid;gap:17px;box-shadow:none}
.xr-prompt-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}
.xr-prompt-heading h2{font-size:27px;margin:7px 0 0;font-weight:580;letter-spacing:-.7px}
.xr-prompt-heading button{border:0;border-radius:100px;width:37px;height:37px;background:#4d5751;color:#fff;font-size:27px;cursor:pointer}
.xr-prompt-content textarea{width:100%;resize:vertical;min-height:110px;border:0;border-radius:18px;background:#252d29;color:#fff;padding:16px;font:500 17px/1.4 system-ui;outline:none}
.xr-prompt-content textarea:focus{outline:2px solid #88d89a}
.xr-prompt-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}
.xr-prompt-actions button{border:0;border-radius:30px;background:#4e5953;color:#fff;padding:12px 20px;font-size:15px;cursor:pointer}
.xr-prompt-actions #xrPromptApply{background:#d3f8da;color:#102319;font-weight:720}
#xrPromptResult,.xr-prompt-note{font-size:13px;line-height:1.5;color:#c5d6ca;margin:0}
.xr-prompt-content .tiny-label{color:#a8f0b4}

/* v0.6: dandelion action seeds anchored to the mascot, not a footer dashboard. */
.action-bar{display:none!important}
.feature-bloom{position:absolute;left:58%;top:50%;width:0;height:0;z-index:5;pointer-events:none;perspective:1100px}
.feature-seed{--dx:0px;--dy:0px;--delay:0s;position:absolute;left:0;top:0;width:104px;min-height:88px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;transform-origin:center;border:0;outline:0;background:rgba(51,61,55,.90);color:#f8fff9;border-radius:28px;font:600 12px/1.2 system-ui;letter-spacing:.015em;cursor:pointer;backdrop-filter:blur(18px);pointer-events:auto;opacity:0;transform:translate(-50%,-50%) translate3d(0,0,-100px) scale(.05) rotateY(75deg);animation:seedBloom .95s cubic-bezier(.18,1.23,.33,1) calc(3s + var(--delay)) forwards;box-shadow:none}
.feature-seed .seed-icon{font-size:32px;font-weight:350;line-height:1}.feature-seed:hover,.feature-seed:focus-visible{background:#526459;color:#c9ffd4;outline:2px solid #b0ffba77;outline-offset:3px}
@keyframes seedBloom{0%{opacity:0;transform:translate(-50%,-50%) translate3d(0,0,-110px) scale(.12) rotateY(75deg)}55%{opacity:1;transform:translate(-50%,-50%) translate3d(calc(var(--dx) * 1.11),calc(var(--dy) * 1.13),60px) scale(1.13) rotateY(-12deg)}100%{opacity:1;transform:translate(-50%,-50%) translate3d(var(--dx),var(--dy),0) scale(1) rotateY(0deg)}}
.bloom-thread{position:absolute;width:1px;height:185px;left:0;top:0;background:linear-gradient(#adffc664,transparent);opacity:0;transform-origin:top center;pointer-events:none;animation:threadBloom 1s ease 3.2s forwards}.bloom-thread-a{transform:rotate(60deg)}.bloom-thread-b{transform:rotate(-60deg)}.bloom-thread-c{transform:rotate(115deg)}.bloom-thread-d{transform:rotate(-115deg)}@keyframes threadBloom{to{opacity:.5}}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1050px){.feature-bloom{left:56%;top:54%}.feature-seed{width:91px;min-height:76px;font-size:11px}.feature-seed:nth-child(1){--dx:-195px!important;--dy:-123px!important}.feature-seed:nth-child(2){--dx:190px!important;--dy:-111px!important}.feature-seed:nth-child(3){--dx:-190px!important;--dy:95px!important}.feature-seed:nth-child(4){--dx:190px!important;--dy:97px!important}}
@media(max-width:680px){.feature-bloom{left:50%;top:65%}.feature-seed{width:76px;min-height:66px;border-radius:22px;font-size:10px;gap:4px}.feature-seed .seed-icon{font-size:26px}.feature-seed:nth-child(1){--dx:-127px!important;--dy:-82px!important}.feature-seed:nth-child(2){--dx:130px!important;--dy:-82px!important}.feature-seed:nth-child(3){--dx:-125px!important;--dy:85px!important}.feature-seed:nth-child(4){--dx:125px!important;--dy:85px!important}.stage-copy{pointer-events:none}.stage-portal{bottom:5%}}
@media(prefers-reduced-motion:reduce){.feature-seed{animation:none;opacity:1;transform:translate(-50%,-50%) translate3d(var(--dx),var(--dy),0) scale(1)}.bloom-thread{display:none}}
/* Final landing layout adjustments: keep feature seeds clear of the hero headline. */
@media(min-width:1051px){.feature-seed:nth-child(3){--dx:-205px!important;--dy:90px!important}}
@media(max-width:680px){.stage-copy>p:last-child{display:none!important}}

/* v0.7.0 — visually self-explanatory portal and preferences. */
.xr-portal .xr-letter{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;margin-top:0;letter-spacing:0}
.xr-portal .xr-letter small{font-size:clamp(15px,1.5vw,19px);font-weight:750;letter-spacing:.13em;line-height:1.12}
.xr-portal .xr-letter strong{font-size:clamp(46px,4.1vw,64px);line-height:1;letter-spacing:-.08em;font-weight:740}
.experience-preferences{display:flex;flex-direction:column;gap:12px;margin:18px 0;padding:16px;border-radius:16px;background:#ffffff09}
.experience-preferences label{display:flex;align-items:center;gap:12px;font-size:13px;color:#e1ece5;cursor:pointer}
.experience-preferences input{accent-color:#a3eab6;width:17px;height:17px;flex-shrink:0}
.experience-preferences button{align-self:flex-start}
@media(max-width:740px){.xr-portal .xr-letter small{font-size:13px}.xr-portal .xr-letter strong{font-size:43px}}

/* v0.8 — luminous entry portal; no extra footer navigation. */
.xr-portal{
 background:radial-gradient(circle at 37% 27%,#effff0 0%,#baffc8 18%,#62ed86 49%,#136a43 82%,#103624 100%);
 color:#071e12;border:2px solid #caffd6;
 box-shadow:0 0 20px #7aff9f,0 0 53px #59ed87,0 0 120px #3eff754f,inset 0 0 32px #d6ffe4;
 animation:portal-call 2.8s ease-in-out infinite;
}
.xr-portal:focus-visible,.xr-portal:hover{
 transform:translateY(-7px) scale(1.08);
 box-shadow:0 0 27px #d5ffe3,0 0 82px #54ff8c,0 0 155px #39ff7b9c,inset 0 0 36px #fff;
}
.xr-portal .xr-letter small,.xr-portal .xr-letter strong{color:#0b2819;text-shadow:0 1px 3px #e4ffe3}
@keyframes portal-call{0%,100%{filter:brightness(1);box-shadow:0 0 17px #77ffa4,0 0 42px #6dff9380,0 0 97px #5cff7d55,inset 0 0 24px #ccffdb}50%{filter:brightness(1.13);box-shadow:0 0 35px #baffce,0 0 80px #6dffa9,0 0 155px #4bff81a0,inset 0 0 32px #effff3}}
.model-jobs{padding:18px 0 22px;border-bottom:1px solid #ffffff19;margin-bottom:24px}.model-jobs-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;font-size:11px;letter-spacing:.08em}.model-job{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #ffffff12}.model-job strong{font-size:12px}.model-job a{text-decoration:none;color:#d9f8dd;background:#294538}.model-job-body{display:grid;gap:8px;flex:1;min-width:0}.model-job-actions{display:flex;gap:8px;flex-wrap:wrap}.model-job-thumb{width:92px;height:92px;flex:none;border:1px solid #4f6c61;border-radius:16px;background:linear-gradient(180deg,#182927,#101918);padding:0;overflow:hidden;display:grid;place-items:center;box-shadow:0 10px 20px #00000029;cursor:pointer}.model-job-thumb img{width:100%;height:100%;object-fit:cover;display:block}.model-job-thumb.empty{color:#cfe9d7;font-weight:700;font-size:24px}.model-job-thumb:disabled{opacity:.72;cursor:default}.model-job-thumb:focus-visible,.model-job-thumb:hover{border-color:#87b69e;transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){.xr-portal{animation:none}}

/* v0.9: native Quest input without an additional modal panel obscuring XR. */
.xr-prompt-editor.xr-native-open{inset:0!important;display:block!important;pointer-events:none!important;background:transparent!important;backdrop-filter:none!important;padding:0!important;}
.xr-prompt-editor.xr-native-open>.xr-prompt-content{display:none!important;}
.xr-prompt-editor.xr-native-open #freelab-xr-native-input{pointer-events:auto!important;opacity:1!important;box-shadow:none!important;}
.experience-preferences select{background:#33433c;color:#f5fff7;border:0;border-radius:18px;padding:12px 18px;font:inherit;min-width:180px;}

/* v0.10.11 -- full-browser archive, pinned modal headers and shared spatial rooms */
.workspace-drawer{position:fixed!important;inset:20px!important;width:auto!important;max-width:none!important;height:auto!important;padding:28px clamp(20px,4vw,72px)!important;z-index:11!important;overflow-y:auto!important}
.workspace-drawer .workspace-head{position:sticky;top:-28px;z-index:3;background:#1d2321f7;backdrop-filter:blur(16px);padding:17px 0;margin:-13px 0 10px}
.workspace-drawer .item-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:18px}
.gallery-launch{cursor:zoom-in}.gallery-launch:hover{filter:brightness(1.13)}
.modal-card{max-height:min(88vh,920px);overflow-y:auto;overscroll-behavior:contain}
.modal-card>.modal-title{position:sticky;top:0;z-index:6;background:#222b27f8;backdrop-filter:blur(20px);padding:18px 3px;margin:-13px -3px 14px;border-bottom:1px solid #ffffff26}
.api-scope-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;font-size:13px}.api-scope-row input{appearance:none;position:relative;flex:none;width:51px;height:29px;border-radius:30px;background:#424b46;border:1px solid #687b6c;cursor:pointer}.api-scope-row input:checked{background:#a1ebbb}.api-scope-row input:before{content:'';display:block;position:absolute;left:4px;top:3px;width:21px;height:21px;border-radius:50%;background:#e7e9e5;transition:transform .17s}.api-scope-row input:checked:before{transform:translateX(22px);background:#112b1a}
#desktopGallery,#roomsPanel{position:fixed;inset:0;z-index:30;background:#0d1213f9;color:#e7f3ec;padding:20px clamp(15px,4vw,65px);display:flex;flex-direction:column;gap:14px;backdrop-filter:blur(25px)}
#desktopGallery header,#roomsPanel header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none}#desktopGallery button,#roomsPanel button{background:#24362f;color:#ebf4ee;border:1px solid #ffffff40;border-radius:14px;padding:10px 16px;cursor:pointer}#desktopGallery header button,#roomsPanel header button{font-size:25px}
.gallery-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:22px}.gallery-stage img{display:block;object-fit:contain;max-width:min(77vw,1300px);max-height:calc(100vh - 250px);min-width:0;border-radius:10px;touch-action:pan-y}.gallery-stage button{font-size:48px;flex:none}#galleryDetail{color:#b5c8bb;text-align:center;margin:0}
#galleryFilmstrip{display:flex;overflow-x:auto;gap:8px;align-items:center;min-height:87px;scrollbar-width:thin}#galleryFilmstrip button{padding:3px;flex:none}#galleryFilmstrip button.selected{outline:2px solid #ffa8cb}#galleryFilmstrip img{width:75px;height:62px;object-fit:cover;display:block}
.rooms-modal{background:#0b1111fb!important;overflow:auto}.rooms-modal #roomList,.rooms-modal #roomInviteList{display:flex;flex-wrap:wrap;gap:10px}.room-entry{padding:20px;border-radius:18px;background:#23322e;display:flex;flex-direction:column;gap:10px;min-width:220px}.room-entry button{align-self:flex-start}.room-viewer-head{display:flex;justify-content:space-between;align-items:center;padding:6px 0}#roomViewer{display:flex;flex-direction:column;flex:1;min-height:0}#roomCanvas{display:block;object-fit:contain;width:min(100%,1150px);height:auto;max-height:calc(100vh - 180px);aspect-ratio:1000/630;cursor:grab;touch-action:none;align-self:center}.room-choice{display:flex;gap:10px;flex-wrap:wrap}.room-chooser{width:min(520px,94vw)}.room-chooser .room-choice button:focus{outline:2px solid #ffc2df}
@media(max-width:740px){.workspace-drawer{inset:4px!important;padding:12px!important}.workspace-drawer .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-stage{gap:4px}.gallery-stage button{padding:5px!important;font-size:30px!important}}

.room-choice .chosen{outline:2px solid #fbc1dc;background:#435c4d!important}

/* 0.10.12 — fixed compact settings header, separately scrolling content and inline API management. */
#profilePanel .profile-card{
 width:min(740px,calc(100vw - 22px));max-height:min(86dvh,810px);
 display:flex;flex-direction:column;overflow:hidden;padding:0;
 border-radius:24px;background:#202925;border:1px solid #63786a65;
}
#profilePanel .profile-fixed-header{
 position:relative;top:auto;z-index:8;flex:none;display:flex;
 align-items:center;justify-content:space-between;
 background:#202925;backdrop-filter:none;min-height:78px;
 margin:0;padding:13px 22px 9px;border-bottom:0;
}
#profilePanel .profile-fixed-header .eyebrow{font-size:9px;margin:0 0 3px;letter-spacing:.18em}
#profilePanel .profile-fixed-header h2{font-size:25px;line-height:1.05;letter-spacing:-.035em;margin:0}
#profilePanel .profile-fixed-header .round-btn{width:34px;height:34px;min-height:34px;font-size:23px}
#profilePanel .profile-tabs{display:flex;gap:5px;align-items:center;flex:none;position:relative;z-index:7;
 background:#202925;border-bottom:1px solid #50625885;padding:0 20px 10px}
#profilePanel .profile-tab{appearance:none;border:1px solid transparent;border-radius:8px;
 color:#b9c8bc;background:transparent;padding:8px 18px;font-size:12px;font-weight:650;cursor:pointer}
#profilePanel .profile-tab:hover{background:#ffffff0b;color:#e9fff0}
#profilePanel .profile-tab.active{border-color:#7f9d85;background:#34453b;color:#effff4}
#profilePanel .profile-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;
 overscroll-behavior:contain;scrollbar-color:#637b6b #202925;scrollbar-width:thin;
 padding:17px 22px 24px;position:relative;background:#202925}
#profilePanel .profile-account{font-size:12px;color:#bfcec3;margin:0 0 11px}
#profilePanel .experience-preferences{margin:0;padding:13px 15px;gap:12px;border-radius:12px}
#profilePanel .experience-preferences label{gap:15px}
#profilePanel .experience-preferences select{max-width:min(100%,340px)}
#profilePanel .profile-section-heading{margin:0 0 17px}
#profilePanel .profile-section-heading h3{font-size:17px;line-height:1.2;margin:0 0 5px;font-weight:690;letter-spacing:-.015em}
#profilePanel .profile-section-heading p{font-size:12px;line-height:1.5;color:#aebdb2;margin:0;max-width:62ch}
#profilePanel .api-table-labels{display:flex;justify-content:space-between;gap:8px;padding:0 9px 8px;
 font-size:9px;letter-spacing:.1em;color:#98ab9e;font-weight:680}
#profilePanel .api-provider-list{display:flex;flex-direction:column;gap:0}
#profilePanel .api-provider-row{padding:12px 9px 13px;border-top:1px solid #ffffff1c;display:flex;flex-direction:column;gap:9px}
#profilePanel .api-provider-heading{display:flex;align-items:center;gap:14px;justify-content:space-between}
#profilePanel .api-provider-identity{display:flex;align-items:center;gap:6px;flex-direction:column;align-items:flex-start;min-width:0}
#profilePanel .api-provider-name{font-size:13px;font-weight:650;color:#f0f7f0;overflow-wrap:anywhere}
#profilePanel .api-provider-state{font-size:10px;color:#94a59a}
#profilePanel .api-provider-state.configured{color:#a2e8bb}
#profilePanel .api-provider-access{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;
 font-size:11px;font-weight:650;color:#d1ddd5;cursor:pointer}
#profilePanel .api-provider-access input{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:45px;height:25px;
 border-radius:22px;background:#505e55;border:1px solid #7b8a7f;padding:0;min-width:0;cursor:pointer;transition:background .15s}
#profilePanel .api-provider-access input:before{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;
 background:#f5f8f3;border-radius:50%;transition:transform .15s}
#profilePanel .api-provider-access input:checked{background:#76b991}
#profilePanel .api-provider-access input:checked:before{transform:translateX(20px)}
#profilePanel .api-provider-access input:disabled{opacity:.38;cursor:not-allowed}
#profilePanel .api-provider-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#profilePanel .api-provider-key{flex:1 1 180px;min-height:36px;font-size:12px;padding:8px 11px;border-radius:9px;
 background:#121b16;min-width:140px}
#profilePanel .api-provider-controls button{flex:none;padding:7px 11px;min-height:36px;border-radius:8px;font-size:11px;font-weight:680}
#profilePanel .api-provider-controls .primary-btn{background:#d4f3dc;color:#183323}
#profilePanel .api-remove-key{border:0;color:#b5c4b9;background:transparent;text-decoration:underline;cursor:pointer}
#profilePanel .api-result{min-height:0;margin:0;font-size:11px;line-height:1.4;color:#abd7b8;overflow-wrap:anywhere}
#profilePanel .api-result:empty{display:none}
#profilePanel .api-result.error{color:#ffbbba}
#profilePanel .profile-inline-status{font-size:11px;color:#c0d6c7}
#profilePanel .profile-user-form{display:grid;gap:12px}
#profilePanel .profile-user-form label{display:grid;gap:6px;color:#c7d6cb;font-size:11px}
#profilePanel .profile-user-form input{font-size:13px}
#profilePanel .profile-footer{border-top:1px solid #ffffff24;padding-top:15px;margin-top:25px}
#profilePanel .profile-footer button{padding:9px 14px;min-height:36px}
@media(max-width:550px){#profilePanel .profile-fixed-header{padding:12px 15px 10px;min-height:70px}
 #profilePanel .profile-tabs{padding:0 13px 8px}#profilePanel .profile-scroll{padding:14px 14px 21px}
 #profilePanel .api-provider-row{padding:12px 0}#profilePanel .api-table-labels{font-size:8px}
 #profilePanel .api-provider-name{font-size:12px}#profilePanel .api-provider-controls{flex-wrap:wrap}
 #profilePanel .api-provider-controls .api-provider-key{flex-basis:100%}}
#profilePanel .api-extra{border-top:1px solid #ffffff29;margin-top:11px;padding-top:12px}
#profilePanel .api-extra summary{font-size:11px;color:#acbcb0;font-weight:590;cursor:pointer;padding:4px 9px 12px}
#profilePanel .api-extra summary:hover{color:#f0ffed}
#profilePanel .api-extra-list{padding-left:8px;border-left:1px solid #ffffff20}

/* 0.10.13 · fully immersive desktop spatial room, 3D canvas independent of polling. */
#roomsPanel.room-in-session{padding:0!important;overflow:hidden}
#roomsPanel.room-in-session>header{display:none}
#roomViewer{position:fixed;inset:0;display:block!important;background:#0b141a;z-index:1;min-height:0!important}
#roomViewer.hidden{display:none!important}
#roomCanvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:fill!important;display:block;touch-action:none;cursor:grab;outline:none}
.room-hud{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px clamp(17px,3vw,46px);background:linear-gradient(#091319e8,#091319aa 72%,transparent);pointer-events:none}
.room-identity{display:flex;flex-direction:column;gap:9px;min-width:0}.room-eyebrow{font-size:10px;font-weight:750;letter-spacing:.22em;color:#a8cabb}.room-state-line{display:flex;gap:12px;align-items:center;font-size:13px;color:#bfcfc9}.room-state-line strong{color:#f1fbf5;font-size:13px;font-weight:600;max-width:30vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-live-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#98eac0;box-shadow:0 0 12px #8df9b485}.room-hud-separator{opacity:.6}
.room-hud-actions{display:flex;align-items:center;gap:8px;pointer-events:auto;flex-wrap:wrap;justify-content:flex-end}.room-hud-actions button,.room-inspector button{background:#1a302cde!important;color:#e3f4ec!important;border:1px solid #7fa89560!important;border-radius:11px!important;padding:10px 14px!important;min-height:38px;font-size:12px!important;font-weight:600;transition:background .15s,border-color .15s}.room-hud-actions button:hover,.room-inspector button:hover{background:#314841!important;border-color:#bde5d0a8!important}
.room-guide{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);background:#11211ed0;color:#b5c9c2;border:1px solid #91b59c30;padding:12px 17px;font:600 10px/1.5 system-ui,sans-serif;letter-spacing:.105em;border-radius:15px;white-space:nowrap;pointer-events:none;z-index:2}.room-guide span{padding:0 11px;color:#9aafaa}
.room-inspector{position:absolute;right:20px;top:93px;bottom:20px;width:min(370px,calc(100vw - 38px));display:flex;flex-direction:column;gap:15px;padding:22px;background:#12211feF;border:1px solid #accbba62;border-radius:20px;z-index:5;backdrop-filter:blur(22px);overflow-y:auto;box-shadow:0 24px 70px #0009}
.room-inspector.hidden,.room-image-lightbox.hidden{display:none!important}.room-inspect-top{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#a9d8c1;font:650 10px system-ui;letter-spacing:.19em}.room-inspect-top button{font-size:24px!important;padding:2px 10px!important;min-height:30px}
.room-inspector h3{font-size:23px;font-weight:680;letter-spacing:-.025em;color:#ebf6ef;line-height:1.25;margin:0;overflow-wrap:anywhere}.room-inspect-picture{border:0!important;padding:0!important;background:#091512!important;display:grid;place-items:center;flex:0 0 auto;min-height:180px;max-height:42vh;overflow:hidden;border-radius:12px!important}.room-inspect-picture img{max-width:100%;max-height:40vh;object-fit:contain;display:block}.room-inspect-desc{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.62;font-size:13px;color:#d6e6dd;margin:0}.room-inspect-meta{font-size:11px;color:#8ca799;margin:0}.room-inspect-relatives{display:flex;gap:7px;flex-wrap:wrap;border-top:1px solid #96ab9d32;padding-top:14px}.room-inspect-relatives button{font-size:11px!important;padding:8px 11px!important}.room-inspect-focus{margin-top:auto;align-self:flex-start}.room-image-lightbox{position:absolute;inset:0;background:#030908f7;z-index:12;display:grid;place-items:center;padding:55px}.room-image-lightbox img{max-width:100%;max-height:100%;object-fit:contain}.room-image-lightbox>button{position:absolute;top:18px;right:20px;background:#213a32!important;color:#fff!important;border-radius:30px!important;font-size:32px!important;z-index:2}
@media(max-width:760px){.room-hud{padding:12px;align-items:flex-start}.room-eyebrow{font-size:8px}.room-state-line{font-size:11px;gap:5px}.room-hud-actions button{padding:7px 9px!important;font-size:10px!important}.room-hud-actions{max-width:53vw}.room-guide{left:10px;right:10px;transform:none;white-space:normal;bottom:9px;text-align:center;font-size:8px;padding:8px}.room-inspector{right:9px;top:115px;bottom:42px;width:min(350px,calc(100vw - 18px));padding:13px;gap:9px}}

/* 0.10.17 — cohesive UMI-like masthead, large accessible controls, subtle accents. */
.brand-word{font-size:clamp(25px,2.8vw,35px);font-weight:850;letter-spacing:-.067em;background:linear-gradient(110deg,#c5b7f3 4%,#ebbdc2 28%,#b7f5d6 52%,#f6c1ba 77%,#c5b7f3 96%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:freelabPastel 12s ease-in-out infinite}
@keyframes freelabPastel{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.brand-version{font-size:clamp(13px,1vw,16px);font-weight:500;letter-spacing:.05em;color:#aeb6ba;margin-left:18px}
@media(min-width:850px){.brand-logo{display:none!important}.brand{gap:8px!important}}
@media(prefers-reduced-motion:reduce){.brand-word{animation:none!important}}
.nav-avatar{overflow:hidden;display:grid!important;place-items:center!important;min-width:43px!important;width:43px!important;height:43px!important;border-radius:50%!important;font-size:14px!important;font-weight:750!important;background:#293b34!important;color:#fff!important;border:1px solid #a6c3b580!important}
.nav-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile-avatar-picker{display:flex!important;flex-direction:column;align-items:flex-start;gap:7px;font-size:13px!important;color:#eef6f3;padding:15px;border:1px solid #ffffff32;border-radius:14px;margin:12px 0}
.profile-avatar-picker input{font-size:13px!important;width:100%;padding:8px!important}.profile-avatar-picker span{color:#bccbc3;font-size:12px}
.footer{font-size:clamp(12px,.9vw,14px)!important;letter-spacing:.02em!important;flex-wrap:wrap}
.footer a{color:#f0f6f1;text-decoration:none;font-weight:650}.footer a:hover,.footer a:focus-visible{color:#ff99c5}
.footer-github{display:inline-flex;align-items:center;gap:7px}.footer .link-btn{color:#f7f7f7;font-size:13px}
@media(max-width:650px){.brand-version{display:none}.brand-word{font-size:22px}.header{gap:8px}.footer{gap:15px}}
/* Larger type, including headset browser surfaces with low effective resolution. */
.feature-seed{font-size:clamp(13px,1.04vw,16px)!important;min-height:88px}.feature-seed .seed-icon{font-size:clamp(29px,3vw,37px)}
.header-right .nav-pill{font-size:clamp(13px,1vw,16px)!important;min-height:42px}
@media(max-width:680px){.feature-seed{font-size:13px!important;min-height:71px!important}}
/* True viewport 3D canvas and fixed-size screen-space textual card captions.
 * DOM transforms track projection; label font sizes never change with distance. */
#roomViewer{isolation:isolate}
#roomLabels{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
.room-world-label{position:absolute;left:0;top:0;display:flex;flex-direction:column;gap:5px;min-width:128px;max-width:min(280px,31vw);padding:9px 13px 10px;border-radius:10px;background:rgba(12,20,24,.72);border-left:3px solid #a6dcce;box-shadow:0 3px 16px #0008;backdrop-filter:blur(9px);color:#fff;will-change:transform;font-family:system-ui,sans-serif;line-height:1.3;text-align:left}
.room-world-label strong{font-size:clamp(14px,1.28vw,18px);font-weight:740;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.room-world-label span{font-size:clamp(12px,.98vw,14px);line-height:1.42;color:#d6e4df;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.room-world-label.selected{border-color:#ff95c2;background:rgba(25,20,33,.85)}
.room-world-label.selected strong{color:#ff95c2}
.room-inspect-picture{position:relative!important;padding:0!important;border:0!important;background:transparent!important;overflow:hidden;display:grid;place-items:center;min-height:180px;max-height:42vh}
.room-inspect-picture img{max-width:100%;max-height:40vh;object-fit:contain}
.room-inspector .room-theater-button{position:absolute!important;right:4px;top:4px;border:0!important;background:transparent!important;box-shadow:none!important;color:white!important;font-size:31px!important;padding:2px 9px!important;text-shadow:0 1px 8px #000!important}
.room-inspector .room-theater-button:hover{background:transparent!important;color:#ff99c5!important}
.room-hud-actions button{font-size:clamp(13px,1vw,16px)!important;min-height:45px}
.room-eyebrow,.room-state-line strong,#roomFPS{font-size:clamp(13px,1vw,16px)!important}
#roomFPS{font-variant-numeric:tabular-nums;color:#b8d2c6}
.room-inspector h3{font-size:clamp(21px,2vw,27px)}
.room-inspect-desc{font-size:clamp(14px,1.1vw,17px);line-height:1.55}
.room-inspector .room-inspect-focus{font-size:14px!important}
@media(max-width:760px){.room-world-label{max-width:170px;padding:5px 7px}.room-world-label strong{font-size:12px}.room-world-label span{font-size:11px}.room-hud{gap:10px}.room-hud-actions button{font-size:12px!important;min-height:35px!important}}
/* 0.10.17 mobile-first camera studio: full camera surface, bottom shutter,
 * recursive source dandelions and XR-parity actions. Legacy controls stay in details. */
#cameraPanel.camera-panel{position:fixed!important;inset:0!important;z-index:100!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;background:#0d1116!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:0!important}
.capture-shell{min-height:100dvh;max-width:980px;margin:auto;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
.capture-topbar{position:relative;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px 20px;z-index:2}
.capture-topbar .eyebrow{margin:0 0 5px;font-size:clamp(11px,1vw,13px);color:#b9c4ca}.capture-topbar strong{font-size:15px;color:white;line-height:1.4}
.capture-top-actions{display:flex;gap:9px;align-items:center}.capture-top-actions>button{border:1px solid #ffffff46;background:#1c262b;color:white;padding:10px 14px;border-radius:15px;font-size:14px;min-height:43px}
.capture-top-actions .round-btn{width:43px;height:43px;font-size:28px}
#cameraPanel .capture-viewport{position:relative!important;flex:0 0 auto!important;margin:0 auto!important;width:calc(100% - 30px)!important;height:auto!important;aspect-ratio:4/5!important;max-height:min(63dvh,720px)!important;border-radius:22px!important;overflow:hidden!important;background:radial-gradient(circle at 50% 50%,#2c383c,#13191e)!important;display:grid;place-items:center}
.capture-viewport video,.capture-viewport>img,.capture-viewport>.sam-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%;max-height:100%}
.capture-viewport video{object-fit:cover!important}.capture-viewport-hint{position:absolute;left:15px;right:15px;top:15px;z-index:2;font-size:12px;letter-spacing:.11em;color:#fff;text-shadow:0 2px 9px #000;text-align:center;pointer-events:none}
.capture-rail{display:flex;align-items:center;justify-content:space-around;padding:17px 18px 18px;gap:20px}
.capture-rail button{font-size:28px;color:white;background:none;border:0;min-width:70px;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.capture-rail button span:not(.capture-shutter span){font-size:12px;letter-spacing:.035em;color:#d8e3e3}
.capture-rail .capture-shutter{border-radius:50%;width:82px;height:82px;min-width:82px;min-height:82px;border:4px solid white;box-shadow:0 0 0 4px #ffffff2a;transition:transform .13s,box-shadow .15s}
.capture-rail .capture-shutter:active{transform:scale(.90)}
.capture-rail .capture-shutter span{width:62px;height:62px;border-radius:50%;background:#fff;display:block}
.capture-workbench{display:flex;flex-direction:column;gap:15px;padding:22px 18px 26px;border-top:1px solid #ffffff22;background:linear-gradient(160deg,#171e23,#0e1216)}
.capture-workbench.minimized .capture-tree,.capture-workbench.minimized .capture-selection{display:none!important}
.capture-workbench-head,.capture-selection-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.capture-workbench h2{margin:5px 0 0;font-size:24px;letter-spacing:-.035em;color:#fff}
.capture-workbench-head>.capture-workbench-head,.capture-workbench-head>button{background:transparent;color:#fff;border:1px solid #ffffff38;border-radius:12px;padding:10px 14px;font-size:14px}
.capture-tree{display:flex;flex-direction:column;gap:18px}.capture-tree-empty{padding:28px;color:#cbd7d3;border:1px dashed #ffffff45;border-radius:15px;font-size:14px}
.capture-cloud{padding:15px;background:#1c282e;border:1px solid #ffffff1a;border-radius:20px}.capture-cloud-head{font-size:11px;font-weight:760;letter-spacing:.15em;color:#afc8c8;margin-bottom:10px}
.capture-branches{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px;padding-top:10px;margin-left:18px;border-left:2px solid #bad4cb3d;padding-left:12px}
.capture-node{position:relative;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;text-align:left;background:#111a1e!important;color:#fff!important;border:1px solid #ffffff25!important;border-radius:13px!important;overflow:hidden;padding:5px!important;min-height:0!important}
.capture-node.selected{border-color:#ff9dc5!important;box-shadow:0 0 0 1px #ff9dc577!important}
.capture-node:hover,.capture-node:focus-visible{color:#ff9dc5!important;border-color:#ff9dc5!important}
.capture-node>img{width:100%;height:120px;object-fit:contain;background:#0a1116;border-radius:8px}
.capture-node-copy{display:flex;flex-direction:column;gap:5px;padding:7px 8px 9px;max-width:100%}
.capture-node-copy strong{font-size:clamp(13px,1.1vw,16px);line-height:1.2;overflow-wrap:anywhere}
.capture-node-copy small{font-size:12px;line-height:1.5;color:#b4c6c2;max-height:3.1em;overflow:hidden}
.capture-cloud>.capture-node{flex-direction:row!important;align-items:center!important;max-width:420px}
.capture-cloud>.capture-node>img{width:110px;height:95px}
.capture-selection{padding:17px;background:#202b31;border:1px solid #ffffff29;border-radius:16px;display:flex;flex-direction:column;gap:13px}
.capture-selection-heading strong{font-size:20px;color:white}.capture-selection-heading span{font-size:11px;letter-spacing:.12em;color:#f1b9ce}
.capture-selection>p{font-size:14px;color:#e0e9e6;line-height:1.55;margin:0}
.capture-selected-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.capture-selected-actions button,.capture-refine-row button{background:#141d23;border:1px solid #ffffff3b;color:#f7f9fa;padding:14px 5px;min-height:50px;border-radius:12px;font-size:clamp(12px,1vw,15px);font-weight:700;letter-spacing:.01em}
.capture-selected-actions button:hover,.capture-selected-actions button:focus-visible,.capture-refine-row button:hover{color:#ff99c5;border-color:#ff99c5;background:#24212a}
.capture-refine-row{display:flex;gap:8px}.capture-refine-row input{flex:1;min-width:0;border:1px solid #ffffff44;background:#0c1519;color:#fff;border-radius:12px;padding:12px;font-size:16px}.capture-refine-row button{padding:9px 12px}
.capture-description-result{white-space:pre-wrap;color:#edf7f3;padding:16px;border-radius:10px;border-left:2px solid #ff99c5;font-size:15px;line-height:1.65;background:#0c1418}
.capture-advanced{margin:0 18px 20px;border:1px solid #ffffff30;border-radius:14px;padding:13px 15px;color:#fff}.capture-advanced summary{cursor:pointer;font-size:14px;font-weight:650}
.capture-advanced .camera-actions,.capture-advanced .manual-entry,.capture-advanced .sam-row,.capture-advanced .scan-row{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.capture-diagnostics,.capture-policy{margin:0 18px 15px;font-size:13px;line-height:1.65;color:#bfcbd1}
.capture-policy{font-size:12px;color:#9cabb0}
@media(min-width:850px){#cameraPanel .capture-viewport{aspect-ratio:16/9!important;max-height:52dvh!important}.capture-shell{max-width:1000px}.capture-rail{max-width:600px;width:100%;margin:0 auto}}
@media(max-width:620px){.capture-rail{padding:12px 12px 17px}.capture-rail .capture-shutter{width:74px;height:74px;min-width:74px;min-height:74px}.capture-rail .capture-shutter span{width:55px;height:55px}.capture-selected-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.capture-branches{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.capture-node>img{height:105px}.capture-refine-row{flex-direction:column}.capture-topbar{padding:12px}.capture-topbar strong{font-size:13px}}

/* 0.10.17: accessible account management and scrollable release history */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}
.profile-photo-setting{display:flex;flex-direction:column;align-items:flex-start;gap:13px;margin:18px 0 24px;color:#f6faf7;font-size:16px}
.profile-avatar-round{width:112px;height:112px;display:flex;align-items:center;justify-content:center;border:2px solid #c6e9d7;border-radius:50%;background:#14201b;overflow:hidden;cursor:pointer;position:relative;font-size:44px;color:#fff;box-shadow:0 0 0 5px #a7cbbb20;transition:border-color .2s,transform .2s}
.profile-avatar-round:hover,.profile-avatar-round:focus-within{border-color:#ff9ac5;transform:scale(1.03)}
.profile-avatar-round img{width:100%;height:100%;object-fit:cover}
.admin-users{display:grid;gap:11px;margin:19px 0 35px}.admin-user{border:1px solid #ffffff36;border-radius:15px;padding:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.admin-user>div{display:flex;flex-direction:column;gap:4px}.admin-user strong{font-size:17px}.admin-user small{color:#b4c9bf}.admin-user-actions{display:flex;flex-wrap:wrap;gap:8px}.admin-user-actions button{background:#334139;color:white;border:1px solid #ffffff4c;border-radius:10px;padding:10px 12px;min-height:44px;font-size:14px;cursor:pointer}.admin-user-actions button:hover{color:#ff98c2;border-color:#ff98c2}
.changelog-card{max-height:min(86dvh,900px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.log-tabs{display:flex;gap:8px;padding:8px 0 12px}.log-tabs button{border:1px solid #687e73;background:none;color:#fff;border-radius:9px;padding:10px 18px;cursor:pointer}.log-tabs button.active{background:#42594e}.log-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:4px 8px 10px 0}.log-scroll ul{margin:0;padding-left:24px}.log-history-item{border-bottom:1px solid #ffffff25;padding:12px 3px}.log-history-item summary{font-weight:700;cursor:pointer}.log-history-item p{color:#b8cbbf;margin:6px 0}

/* Opt-in depth request: never advertise unsupported depth as enabled. */
.depth-portal{display:block;margin-top:11px;border:1px solid rgba(172,228,199,.4);border-radius:999px;padding:9px 15px;background:rgba(21,43,33,.76);color:#f2faf3;font-size:12px;font-weight:750;letter-spacing:.08em;cursor:pointer;transition:color .16s,border-color .16s}
.depth-portal:hover,.depth-portal:focus-visible{color:#ff98c8;border-color:#ff98c8}

/* v0.10.18 — compact development log, consistent navigation and accessible circular close */
#changelog .changelog-card{width:min(630px,calc(100vw - 24px));max-height:min(72dvh,620px)!important;padding:17px 23px 15px;border-radius:23px}
#changelog .modal-title{padding:4px 1px 10px;margin:0 0 7px;gap:17px;border-bottom:1px solid #ffffff24;position:static;background:transparent}
#changelog .modal-title h2{font-size:clamp(21px,2.6vw,28px);line-height:1.08;margin:7px 0}
#changelog .modal-title .eyebrow{font-size:10px;margin:0}
#changelog .modal-title .small-muted{font-size:11px;margin:5px 0}
#changelog #dismissChangelog{flex:none;width:36px;height:36px;min-width:36px;min-height:36px;border:0;border-radius:50%;font-size:22px;line-height:1;aspect-ratio:1;display:grid;place-items:center;padding:0;background:transparent;color:#e8f1ed}
#changelog #dismissChangelog:hover{color:#ff9ac6;background:#ffffff16}
#changelog .log-tabs{padding:3px 0 7px}
#changelog .log-tabs button{padding:7px 13px;font-size:12px}
#changelog .log-scroll{font-size:12.5px;line-height:1.48;padding:0 8px 0 0;scrollbar-width:thin}
#changelog .log-scroll ul{margin:0 0 3px;padding-left:18px;font-size:12.5px;line-height:1.48}
#changelog .log-scroll li{margin:6px 0;padding-left:1px}
#changelog #continueChangelog{min-height:38px;padding:9px;font-size:12px;margin-top:9px;border-radius:12px}
.header-right .live-pill,.header-right .nav-pill{min-height:42px;height:42px;padding:7px 15px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:clamp(12px,.95vw,15px);font-weight:650;border-radius:22px}
.header-right .nav-avatar{width:43px;height:43px;min-width:43px;min-height:43px;aspect-ratio:1;border-radius:50%;padding:2px}
.header-right #objectCount{min-width:30px;padding:3px 7px;text-align:center}

/* Collection: immersive thumbnails with on-demand actions instead of rows of buttons. */
.archive-filter{display:flex;gap:12px;align-items:center;position:sticky;top:74px;z-index:3;background:#151d1ae8;padding:10px 0 6px;backdrop-filter:blur(14px)}
.archive-filter input{flex:1;width:100%;min-height:42px;border:1px solid #ffffff36;border-radius:14px;background:#10191a;color:#f4f9f7;padding:11px 17px;font-size:14px;outline:none}
.archive-filter input:focus{border-color:#c4f2db;box-shadow:0 0 0 2px #a0f5cd20}
.archive-filter span{flex:none;font-size:12px;color:#a9b6af;white-space:nowrap}
.workspace-drawer .item-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-top:16px}
.workspace-drawer .object-card{position:relative;aspect-ratio:4/5;min-height:170px;background:#1e2726;border:1px solid #ffffff24;border-radius:15px;overflow:visible;isolation:isolate}
.object-preview{position:absolute;inset:0;border:0;background:#0f191a;display:block;width:100%;height:100%;border-radius:14px;overflow:hidden;text-align:left;color:#fff;padding:0}
.object-preview .object-photo,.object-preview .object-placeholder{width:100%;height:100%;object-fit:cover;display:block;max-height:none}
.object-preview:hover .object-photo{filter:brightness(1.09);transform:scale(1.025)}
.object-preview .object-photo{transition:transform .2s,filter .2s}
.object-overlay{position:absolute;left:0;right:0;bottom:0;padding:38px 11px 12px;display:flex;flex-direction:column;gap:3px;background:linear-gradient(transparent,#070b0deb 77%);pointer-events:none}
.object-overlay strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere;max-height:2.5em;overflow:hidden}
.object-overlay small{font-size:10px;font-weight:550;color:#bfcdc8}
.object-menu{position:absolute;top:8px;right:8px;z-index:5}
.object-menu[open]{z-index:22}
.object-menu summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:32px;height:32px;border-radius:50%;border:1px solid #ffffff54;background:#111b1bc9;color:white;font-size:23px;line-height:1}
.object-menu summary::-webkit-details-marker,.capture-node-menu summary::-webkit-details-marker,.capture-more summary::-webkit-details-marker,#galleryToolMenu summary::-webkit-details-marker{display:none}
.object-menu-popover{position:absolute;top:38px;right:0;width:160px;padding:6px;background:#182722;border:1px solid #91aca04f;border-radius:12px;display:flex;flex-direction:column;box-shadow:0 12px 35px #000c}
.object-menu-popover button{font-size:12px;text-align:left;border:0;border-radius:8px;background:transparent;color:white;padding:9px 10px;white-space:normal}
.object-menu-popover button:hover{background:#32453d;color:#ff9dc5}

/* Full-height theatrical gallery, images fill available space and controls stay at the edges. */
#desktopGallery{padding:8px clamp(8px,1.5vw,24px) 9px;gap:5px;background:#080d0efb}
#desktopGallery header{min-height:44px;gap:15px;font-size:13px}
#galleryTitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:65vw}
.gallery-tools{display:flex;align-items:center;gap:7px}
#desktopGallery .gallery-tools>button,#galleryToolMenu>summary{background:#f1f6f2;color:#102019;border:0;width:39px;height:39px;min-width:39px;border-radius:50%;font-size:24px;display:grid;place-items:center;padding:0;cursor:pointer;list-style:none;line-height:1}
#galleryToolMenu{position:relative}
#galleryToolMenu .gallery-tool-list{position:absolute;z-index:100;right:0;top:44px;width:178px;padding:6px;border-radius:12px;background:#15221e;border:1px solid #63836f;box-shadow:0 8px 40px #000b;display:grid;gap:2px}
#desktopGallery #galleryToolMenu button{font-size:13px;text-align:left;border:0;border-radius:7px;background:transparent;color:#fff;padding:9px 11px}
#desktopGallery #galleryToolMenu button:hover{background:#31473a;color:#fca4c9}
#desktopGallery .gallery-stage{position:relative;flex:1;min-height:0;gap:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
#desktopGallery .gallery-stage img{width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;border-radius:3px;touch-action:pan-y;user-select:none}
#desktopGallery .gallery-stage>button{position:absolute;z-index:7;top:50%;transform:translateY(-50%);width:47px;height:47px;min-width:47px;min-height:47px;padding:0!important;display:grid;place-items:center;background:#f5f8f6;border:0;color:#101b18;font-size:32px;line-height:1;border-radius:50%;box-shadow:0 3px 18px #0009}
#desktopGallery #galleryPrev{left:clamp(4px,2vw,22px)}#desktopGallery #galleryNext{right:clamp(4px,2vw,22px)}
#desktopGallery .gallery-stage>button:hover{background:#ffabc9}
#desktopGallery #galleryDetail,#desktopGallery #galleryAIStatus{margin:1px 0;font-size:12px;line-height:1.4;text-align:center;color:#d9e6de}
#desktopGallery #galleryAIStatus{max-height:80px;overflow-y:auto;color:#c8f2d8}
#desktopGallery #galleryFilmstrip{flex:none;min-height:0;height:69px;justify-content:center;gap:5px;padding:3px 0}
#desktopGallery #galleryFilmstrip button{padding:2px;border-radius:7px;overflow:hidden;max-height:62px}
#desktopGallery #galleryFilmstrip img{width:62px;height:54px;object-fit:cover}

/* Capture: one view at a time, actions overlaying the inspected source. */
#cameraPanel.camera-panel{overflow-y:auto!important}
.capture-shell{max-width:1080px;padding:0 12px 20px;gap:0}
.capture-topbar{padding:9px 6px 8px}
.capture-topbar .eyebrow{font-size:10px}.capture-topbar strong{font-size:12px}
.capture-top-actions>button{min-height:38px;padding:7px 10px;border-radius:12px;font-size:12px}
.capture-top-actions .round-btn{height:38px;width:38px;min-height:38px;font-size:25px}
#cameraPanel .capture-viewport{width:100%!important;max-height:min(62dvh,670px)!important;aspect-ratio:16/9!important;border-radius:17px!important;background:#080d10!important;isolation:isolate}
.capture-viewport video,.capture-viewport>img{inset:0;object-fit:cover!important;width:100%;height:100%}
.capture-viewport #previewImage{object-fit:contain!important;background:#090f12}
.capture-viewport-hint{top:9px;left:55px;right:55px;font-size:10px;letter-spacing:.075em;line-height:1.3;text-shadow:0 1px 8px #000}
.capture-quick-actions{position:absolute;z-index:9;left:50%;transform:translateX(-50%);bottom:13px;display:flex;gap:11px;align-items:center;justify-content:center;padding:7px 12px;border:1px solid #ffffff3e;background:#0b1517b8;backdrop-filter:blur(10px);border-radius:45px;max-width:calc(100% - 30px)}
.capture-quick-actions button{width:60px;min-height:56px;display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;border:0;background:transparent;color:#fff;border-radius:15px}
.capture-quick-actions button span{font-size:27px;line-height:1.1;font-weight:700}
.capture-quick-actions button small{font-size:10px;letter-spacing:.025em}
.capture-quick-actions button:hover{color:#ff9dc5;background:#ffffff18}
.capture-more{position:absolute;z-index:15;top:8px;right:8px}
.capture-more summary{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#162423d9;color:white;border:1px solid #ffffff72;list-style:none;cursor:pointer;font-size:25px}
.capture-more[open]>summary{background:#f4f8f5;color:#0b1c14}
.capture-more-panel{position:absolute;top:43px;right:0;min-width:min(335px,calc(100vw - 27px));max-height:calc(100dvh - 115px);overflow-y:auto;z-index:40;background:#182123f7;border:1px solid #97ada663;border-radius:15px;padding:10px;box-shadow:0 12px 45px #000c}
.capture-more-panel .capture-advanced{display:block!important;margin:0;border:0;padding:0}
.capture-more-panel .model-options,.capture-more-panel .camera-actions,.capture-more-panel .manual-entry,.capture-more-panel .sam-row,.capture-more-panel .scan-row{display:flex;gap:7px;flex-wrap:wrap;padding:7px 0;margin:0}
.capture-more-panel .model-options button,.capture-more-panel .camera-actions button,.capture-more-panel .manual-entry button,.capture-more-panel .sam-row button,.capture-more-panel .scan-row button{flex:1;min-height:38px;padding:8px;font-size:11px;white-space:normal}
.capture-more-panel input{width:100%;min-height:38px;font-size:13px}
.capture-chat{position:sticky;bottom:0;z-index:11;background:#0d1116fa;backdrop-filter:blur(18px);padding:10px 0 7px;order:2}
.capture-chat form{display:flex;align-items:center;gap:7px;padding:6px 7px;border:1px solid #5a6b65;border-radius:19px;background:#17211e;box-shadow:0 9px 23px #0005;min-width:0}
.capture-chat input{flex:1;min-width:0;background:transparent;color:#fff;font-size:14px;border:0;outline:0;padding:10px 4px}
.capture-chat input::placeholder{color:#c0c9c5}
.capture-chat select{min-width:120px;max-width:132px;background:#283b30;color:#e3f1e7;border:0;border-radius:11px;padding:8px 3px;font-size:12px;cursor:pointer}
.capture-chat button{flex:none;border:0;color:#fff;background:#26362f;border-radius:50%;width:34px;height:34px;min-width:34px;min-height:34px;font-size:22px;display:grid;place-items:center}
.capture-chat #captureChatSend{background:#e1f5e9;color:#112015;font-weight:750}
.capture-chat #captureModeButton{display:none}
.capture-rail{order:1;padding:7px 12px 8px;gap:10px;justify-content:center}
.capture-rail button{min-width:55px;min-height:54px;font-size:22px}
.capture-rail button span:not(.capture-shutter span){font-size:11px}
.capture-rail .capture-shutter{width:62px;height:62px;min-width:62px;min-height:62px;border-width:3px;box-shadow:0 0 0 3px #ffffff25}
.capture-rail .capture-shutter span{width:44px;height:44px}
.capture-workbench{order:3;padding:10px 0 20px;border-top:0;background:transparent;gap:8px}
.capture-workbench.minimized{display:none!important}
.capture-workbench h2{font-size:19px}
.capture-workbench-head{padding:5px}
.capture-tree{gap:11px;display:flex;flex-direction:column}
.capture-cloud{padding:10px;background:#162327;border:1px solid #ffffff2b;border-radius:16px}
.capture-cloud-head{margin:0 0 8px;font-size:10px}
.capture-cloud-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:9px}
.capture-tile{position:relative;min-width:0;aspect-ratio:4/5;border-radius:12px;overflow:visible}
.capture-tile.selected{outline:2px solid #ffaccf;outline-offset:1px}
.capture-node{position:absolute;inset:0;display:block!important;background:#0a1316!important;padding:0!important;border:0!important;border-radius:12px!important;overflow:hidden}
.capture-node>img,.capture-cloud>.capture-node>img{width:100%!important;height:100%!important;object-fit:cover!important;background:#091016;border-radius:12px}
.capture-node-copy{position:absolute;bottom:0;left:0;right:0;display:flex;gap:3px;padding:26px 9px 10px;background:linear-gradient(transparent,#060c10e9);pointer-events:none}
.capture-node-copy strong{font-size:13px;line-height:1.1}.capture-node-copy small{font-size:10px;line-height:1.15}
.capture-node-menu{position:absolute;z-index:6;top:6px;right:6px}
.capture-node-menu summary{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffff55;background:#101a1ade;color:#fff;list-style:none;cursor:pointer;font-size:21px}
.capture-node-menu[open]{z-index:18}.capture-node-popover{position:absolute;top:35px;right:0;background:#172724;border:1px solid #79978c;border-radius:11px;display:flex;flex-direction:column;min-width:138px;padding:5px;box-shadow:0 8px 30px #0009;max-height:260px;overflow-y:auto}
.capture-node-popover button{font-size:12px;border:0;background:transparent;color:white;padding:8px;text-align:left;border-radius:7px;white-space:nowrap}
.capture-node-popover button:hover{background:#385449;color:#ff9dc5}
.capture-selection{padding:10px 12px;border-radius:12px;gap:8px}.capture-selected-actions{display:none}
.capture-selection-heading strong{font-size:15px}.capture-selection>p{font-size:12px}
.capture-refine-row{flex-wrap:wrap}
.capture-diagnostics,.capture-policy{order:4;padding:0 5px;margin:5px 0;font-size:11px}
@media(max-width:760px){
 .app-shell{padding:0 12px}.header{height:64px}.header-right{gap:5px}.header-right .live-pill{display:none}
 .header-right .nav-pill{font-size:11px;height:37px;min-height:37px;padding:5px 9px;border-radius:18px}
 .header-right .nav-avatar{width:38px;height:38px;min-height:38px;min-width:38px}
 .brand-word{font-size:15px}.brand-version{font-size:10px}
 .scene-stage{min-height:calc(100dvh - 90px)}.stage-copy h1{font-size:clamp(43px,10vw,65px)}.stage-copy{top:6%;left:5%}
 .stage-portal{bottom:9%;right:4%}.xr-portal{width:92px;height:92px}.xr-portal .xr-letter strong{font-size:38px}
 .archive-filter{top:60px}.workspace-drawer .item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .object-overlay{padding:24px 7px 8px}.object-overlay strong{font-size:11px}.object-overlay small{font-size:9px}
 #cameraPanel .capture-viewport{aspect-ratio:4/5!important;max-height:min(57dvh,650px)!important}
 .capture-chat input{font-size:13px}.capture-chat select{min-width:86px;max-width:94px;font-size:11px}
 .capture-quick-actions{bottom:8px;gap:6px;padding:5px 9px}.capture-quick-actions button{width:54px;min-height:49px}.capture-quick-actions button span{font-size:23px}
 .capture-cloud-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #desktopGallery #galleryFilmstrip{height:60px}#desktopGallery #galleryFilmstrip img{width:51px;height:48px}
 #desktopGallery .gallery-stage>button{width:42px;height:42px;min-height:42px;min-width:42px;font-size:29px}
 #changelog .changelog-card{max-height:min(76dvh,620px)!important;padding:14px 16px}
}
@media(max-width:430px){.workspace-drawer .item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-right #objectCount{min-width:25px;padding:3px}.brand-logo{width:25px!important;height:25px!important}.stage-copy{top:10%}.stage-portal{bottom:9%;left:18px;right:auto;gap:9px}.stage-portal>div{font-size:10px}.feature-bloom{opacity:.8;transform:scale(.77)}}

/* v0.10.19 unified dialog and working-state feedback */
.fl-dialog-overlay{position:fixed;inset:0;background:#020706bf;backdrop-filter:blur(8px);z-index:30000;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 15px}
.fl-dialog{width:min(480px,100%);max-height:88dvh;overflow:auto;padding:24px;background:#1c2825;border:1px solid #a9c6b54f;border-radius:23px;color:#f6faf7;box-shadow:0 18px 100px #000b}
.fl-dialog-top{display:flex;align-items:center;justify-content:space-between}.fl-dialog-eyebrow{font-size:11px;letter-spacing:.2em;color:#b3c5c0}.fl-dialog-x{width:36px;height:36px;padding:0;border:0!important;border-radius:50%;background:#2a3735;color:#fff;font-size:25px;line-height:1}
.fl-dialog h2{font-size:clamp(19px,4vw,26px);margin:12px 0 9px}.fl-dialog p{font-size:15px;line-height:1.5;white-space:pre-wrap;color:#d5e1dd;margin:0 0 20px}.fl-dialog-input{width:100%;box-sizing:border-box;min-height:85px;border:1px solid #7b9791;border-radius:13px;background:#0e1716;color:white;font:inherit;font-size:16px;padding:13px;resize:vertical;margin-bottom:18px}
.fl-dialog-actions{display:flex;gap:10px}.fl-dialog-actions button{min-height:47px;flex:1;border-radius:12px;font-size:14px;font-weight:700;padding:10px}.fl-dialog-cancel{background:#26332f;color:#f0f6f3;border:1px solid #64766e}.fl-dialog-ok{background:#e4f3e9;color:#0a2015;border:0}.fl-dialog-ok.danger{background:#f0b7c6;color:#291018}
.fl-dialog-actions button:hover,.fl-dialog-x:hover{filter:brightness(1.13)}
.capture-viewport.processing{outline:2px solid #f2a6cb;box-shadow:0 0 0 2px #ffbbdd46,0 0 32px #ff91bd30;animation:fl-processing-glow 1.6s ease-in-out infinite}
@keyframes fl-processing-glow{50%{box-shadow:0 0 0 3px #ff92b666,0 0 39px #ff83bf79;outline-color:#a4e9d3}}
.capture-processing-chip{position:absolute;top:8px;left:50%;transform:translateX(-50%);max-width:78%;padding:7px 13px;background:#0b1819e5;color:#f2f9f5;border-radius:28px;border:1px solid #aee7d87f;z-index:15;font-size:12px;text-align:center;pointer-events:none;display:flex;align-items:center;gap:7px}
.capture-processing-chip::before{content:'';height:8px;width:8px;background:#a2efc5;border-radius:50%;box-shadow:0 0 12px #8adcb9;animation:fl-pulse 1.1s infinite alternate}
@keyframes fl-pulse{to{opacity:.3;transform:scale(.72)}}
@keyframes fl-rainbow-text{0%{background-position:0% 50%}100%{background-position:200% 50%}}
.ai-live-text{background-image:linear-gradient(90deg,#c9ffe7 0%,#8ce4ff 18%,#f5a8cf 37%,#ffe78d 56%,#9bf2c6 74%,#d1c2ff 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:fl-rainbow-text 2.8s linear infinite}
.capture-result.working{border-color:#f4add38a;box-shadow:0 0 0 1px #ffbbe338,0 0 26px #7bf0c225;animation:fl-processing-glow 1.6s ease-in-out infinite}
.capture-result.working strong,.capture-result.working p,#galleryAIStatus.working,#xrPromptResult.working{background-image:linear-gradient(90deg,#c9ffe7 0%,#8ce4ff 18%,#f5a8cf 37%,#ffe78d 56%,#9bf2c6 74%,#d1c2ff 100%);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:fl-rainbow-text 2.8s linear infinite}
#captureViewport .capture-quick-actions{bottom:13px}
.capture-viewport.inspecting ~ .capture-rail{display:none}
#cameraPanel:has(.capture-viewport.inspecting) .capture-rail{display:none!important}
.capture-chat textarea{flex:1;min-width:0;max-height:184px;min-height:56px;height:64px;resize:vertical;background:transparent;color:#fff;font:inherit;font-size:15px;border:0;outline:0;padding:10px 4px;line-height:1.5;box-sizing:border-box}
.capture-chat textarea::placeholder{color:#b8cac5}
.capture-chat form{align-items:end}
.capture-chat #captureChatVoice{font-size:0}
.capture-chat #captureChatVoice svg,.capture-quick-actions svg,.bloom-mic svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.capture-result{padding:12px 16px;background:#162621;border:1px solid #a3c2b250;border-radius:14px;color:#e3f5ec;margin:7px 4px 9px;line-height:1.55}
.capture-result:empty{display:none}.capture-result strong{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#b9dfd0}.capture-result p{margin:7px 0 0;font-size:14px;white-space:pre-wrap}
.capture-result a{color:#d8ffe8;text-decoration:underline}.capture-result button{font-size:12px;padding:5px 9px;margin-top:8px;margin-right:8px;background:#1d4036;color:white;border:1px solid #b3e7cb77;border-radius:8px}
.capture-more-actions{display:flex;flex-direction:column;gap:5px;padding-bottom:9px;margin-bottom:9px;border-bottom:1px solid #8cad9c55}.capture-more-actions button{width:100%;padding:11px 13px;background:#263c33;color:#f7faf8;border:0;border-radius:11px;text-align:left;font-size:14px;min-height:42px}.capture-more-actions button:hover{color:#ff9dc5;background:#2d4b3c}
@media(max-width:650px){.capture-chat textarea{min-height:42px;font-size:14px}.fl-dialog{padding:19px}.capture-more-panel{max-width:calc(100vw - 35px)}}

#desktopGallery #galleryAIStatus.working{border:1px solid #f4add38a;background:#182a24;border-radius:12px;padding:9px;animation:fl-processing-glow 1.6s ease-in-out infinite}

.room-image-lightbox{position:fixed;inset:0;z-index:41;background:rgba(3,6,9,.94);display:grid;place-items:center;padding:32px}.room-image-lightbox img{max-width:min(92vw,1400px);max-height:84vh;object-fit:contain;box-shadow:0 20px 80px #000b;border-radius:14px}.room-image-toolbar{position:absolute;top:18px;right:18px;display:flex;gap:12px}.room-image-toolbar button{width:52px;height:52px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:#fff;color:#0d1317;font-size:26px;font-weight:700;box-shadow:0 8px 30px rgba(0,0,0,.28)}.room-image-toolbar button:hover{filter:brightness(1.06)}
/* v0.10.29: prompt stays in the composer; distinct progressive statuses */
.capture-result[data-state="running"]{border-color:#7caeff;background:linear-gradient(130deg,#182d33,#16241f);box-shadow:0 0 22px #8cceff24;animation:fl-processing-glow 2.5s ease-in-out infinite}
.capture-result[data-state="running"] strong,.capture-result[data-state="running"] p,.model-stage #modelStageStatus.working{background:linear-gradient(90deg,#c5ffe4,#8be0ff,#ffb4d2,#ffe09a,#9debd7,#c5ffe4);background-size:250% 100%;color:transparent;background-clip:text;-webkit-background-clip:text;animation:fl-rainbow-text 3.4s linear infinite}
.capture-result[data-state="success"]{border-color:#8cdbb9;background:#122e24}.capture-result[data-state="success"] strong{color:#b9ffe5}
.capture-result[data-state="error"]{border-color:#f4a9b5;background:#321f26}.capture-result[data-state="error"] strong{color:#ffc2cb}
.capture-result[data-state="info"]{border-color:#6e8c84;background:#1d2b26}
.gallery-composer{flex:none;display:flex;align-items:stretch;gap:8px;width:min(100%,1080px);align-self:center;padding:7px;border:1px solid #5e8472;background:#162620;border-radius:16px}
.gallery-composer select{max-width:136px;flex:none;border:0;background:#244136;color:#f1f7f4;padding:8px;border-radius:10px;font-size:13px}
.gallery-composer textarea{flex:1;min-width:0;max-height:110px;resize:vertical;color:#f8fff9;font:15px/1.5 system-ui;background:transparent;border:0;outline:0;padding:7px}
.gallery-composer button{width:44px;min-width:44px;height:44px;border:0;border-radius:50%;background:#e1f8e8;color:#112019;font-size:25px;align-self:end;padding:0}
.avatar3d-section{margin:23px 0;padding:19px;border:1px solid #5e8273;background:#1b2c26;border-radius:17px;display:grid;gap:10px}.avatar3d-section strong{font-size:14px;letter-spacing:.1em}.avatar3d-section p{font-size:12px;line-height:1.5;color:#bfd1c7;margin:0}.avatar3d-section input{font-size:13px;color:#e7f2ec;max-width:100%}.avatar3d-actions{display:flex;gap:10px;flex-wrap:wrap}.avatar3d-actions button{border:1px solid #748e80;background:#253b30;color:#e8f8ee;border-radius:11px;padding:10px 13px;min-height:40px}
.model-stage{position:fixed;inset:0;z-index:12000;display:flex;flex-direction:column;background:#0f1a19;color:#f5fdf6;padding:clamp(11px,2vw,27px);gap:10px}.model-stage header{display:flex;justify-content:space-between;align-items:center;gap:18px;flex:none}.model-stage header h2{font-size:clamp(19px,3vw,31px);margin:6px 0}.model-stage-tools{display:flex;gap:10px;align-items:center}.model-stage-tools #modelStageClose{width:47px;height:47px;display:grid;place-items:center;border:0;border-radius:50%;background:#f5f7f4;color:#14231b;font-size:31px}.model-stage .secondary-btn{background:#294037;color:#effcf3;border-color:#7f9b88;padding:9px 12px;min-height:46px}.model-stage-viewport{position:relative;flex:1 1 0%;min-width:0;min-height:0;overflow:hidden}.model-stage .model-stage-viewport canvas,.model-stage .model-stage-viewport img{position:absolute;inset:0;width:100%;height:100%;border-radius:18px;display:block}.model-stage canvas{min-height:0;background:radial-gradient(circle at center,#2e4641,#101b1b);touch-action:none}.model-stage-viewport img{z-index:1;object-fit:contain;background:radial-gradient(circle at center,#263936,#101818);padding:18px}.model-stage-viewport img.hidden{display:none}.model-stage #modelStageStatus{margin:0;text-align:center;font-size:14px}.model-stage .model-stage-hint{margin:0;text-align:center;color:#a6bdaf;font-size:11px}
@media(max-width:680px){.gallery-composer{flex-wrap:wrap}.gallery-composer select{max-width:unset;min-width:40%}.gallery-composer textarea{min-height:68px}.model-stage{padding:9px}.model-stage-tools .secondary-btn{font-size:10px;padding:6px 9px}.avatar3d-actions button{flex:1}}

/* v0.10.29: shared 3D provider selection */
.model-provider-settings{margin:24px 0;padding:17px 20px;border:1px solid rgba(166,220,192,.3);border-radius:18px;background:rgba(15,30,24,.55);display:grid;gap:10px}
.model-provider-settings strong{font-size:15px;letter-spacing:.09em}
.model-provider-settings p{margin:0;color:#b5cfc2;font-size:13px;line-height:1.5}
.model-provider-settings label{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:14px}
.model-provider-settings select,.capture-chat #capture3DProvider{background:#263e34;color:#e7fff0;border:1px solid #8bba9d55;border-radius:12px;padding:10px;font:inherit;max-width:100%}
.capture-chat #capture3DProvider{font-size:12px;align-self:center;padding:7px;max-width:116px}
@media(max-width:650px){.capture-chat #capture3DProvider{max-width:95px;padding:6px 4px}}

.model-diagnostic{font:12px/1.6 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid #6aa89655;border-radius:12px;background:#10221e;color:#d7f5e9;margin:9px 0;max-height:300px;overflow:auto}

.capture-chat #capture3DQuality{background:#263e34;color:#e7fff0;border:1px solid #8bba9d55;border-radius:11px;padding:7px;font:inherit;font-size:12px;max-width:130px;align-self:center}
.model-provider-settings #profile3DQuality,.model-provider-settings #profile3DTexture,.model-provider-settings #profile3DXRTexture{width:min(100%,480px)}
@media(max-width:650px){.capture-chat #capture3DQuality{max-width:100px;padding:6px 4px;font-size:11px}}

/* v0.10.47 — unified media archive: source image and generated 3D branches */
.archive-media-nav{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:17px 0 12px;border-bottom:1px solid #42554b68;position:sticky;top:92px;z-index:2;background:#1c2320f5;backdrop-filter:blur(12px)}
.archive-media-nav .media-filter{border:1px solid #526b5f;background:transparent;color:#c5dad0;font-size:12px;font-weight:700;letter-spacing:.055em;border-radius:14px;padding:11px 17px;min-height:42px}
.archive-media-nav .media-filter.active{background:#c6f3d7;color:#153020;border-color:#c6f3d7}
.archive-media-nav .media-filter:focus-visible{outline:2px solid #dbffdb}
.archive-media-nav #archiveMediaContext{margin-left:9px;flex:1;min-width:150px;font-size:11px}
.archive-media-nav #refresh3DJobs{min-height:39px}
.item-grid .object-card{position:relative;min-height:220px;background:#17231d;border-color:#45635375}
.item-grid .media-relationship-badge{position:absolute;top:12px;left:12px;background:#153e2edb;border:1px solid #99d4b2;color:#e3ffeb;border-radius:14px;font-size:10px;font-weight:750;padding:7px 9px;pointer-events:none}
.item-grid .model-asset-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}
.item-grid .model-asset-card .model-job-thumb{display:block;width:100%;height:158px;flex:none;border:none;border-radius:0;box-shadow:none;background:#101a17}
.item-grid .model-asset-card .model-job-thumb img{width:100%;height:100%;object-fit:contain;background:#13241d}
.item-grid .model-asset-card .model-job-thumb:hover{transform:none;filter:brightness(1.08)}
.model-asset-body{padding:14px 16px;display:flex;flex-direction:column;gap:7px;min-height:150px}
.model-asset-body .media-kind-label{font-weight:850;letter-spacing:.10em;font-size:10px;color:#b6f3cb}
.model-asset-body strong{font-size:14px;letter-spacing:-.01em;color:#effcf3}
.model-source-link{background:none;border:0;padding:0;text-align:left;cursor:pointer;font-size:12px;color:#b9d3c6;text-decoration:underline;text-decoration-color:#629579;line-height:1.4}
.model-source-link:hover{color:#e0ffed}
.model-asset-body .tiny-btn{width:max-content;max-width:100%;border-radius:12px;background:#335642;border:1px solid #5b9371;padding:9px 13px;color:#e3ffe9}
@media(max-width:740px){.archive-media-nav{top:60px}.archive-media-nav #archiveMediaContext{order:3;flex-basis:100%}.archive-media-nav .media-filter{padding:9px 11px;font-size:10px}.item-grid .model-asset-card .model-job-thumb{height:125px}}

/* v0.10.47 — image-backed spatial room discovery and honest visit statistics. */
#roomsPanel:not(.room-in-session){overflow:hidden;gap:20px}
#roomsPanel:not(.room-in-session)>header{padding:10px 0 3px;border-bottom:1px solid #d3e3d21b}
#roomLobby{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 4px 45px;scrollbar-width:thin}
.room-lobby-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:4px 0 14px}
.room-lobby-intro .small-muted{margin:0;color:#aebfb7;font-size:14px}
#roomSummary{font-size:12px;color:#c3d4c9;letter-spacing:.04em;background:#20342e;border:1px solid #b9d0c523;border-radius:60px;padding:7px 13px;white-space:nowrap}
.room-lobby-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:4px 0 20px}
.room-filter-tabs{display:flex;align-items:center;gap:5px;border-radius:14px;background:#17221f;border:1px solid #c5d8cb24;padding:4px}
#roomsPanel .room-filter-tabs button{padding:9px 14px;border:0;background:transparent;color:#a6bbb0;font-size:13px;font-weight:650;border-radius:10px}
#roomsPanel .room-filter-tabs button[aria-pressed="true"]{background:#365248;color:#effcf4;box-shadow:0 1px 7px #0005}
.room-lobby-sort{display:flex;align-items:center;gap:9px;color:#afc0b4;font-size:12px}
.room-lobby-sort label{color:#c1d0c7}
.room-lobby-sort select{color:#edf5ee;background:#1d2b26;border:1px solid #66877767;border-radius:11px;padding:9px 12px;font:inherit;max-width:165px}
#roomsPanel .room-lobby-sort button{padding:9px 13px;font-size:12px;border-radius:11px}
.rooms-modal #roomList{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,285px),1fr));gap:18px;align-items:stretch;max-width:1680px}
#roomsPanel .room-entry{min-width:0;padding:0;gap:0;display:flex;flex-direction:column;overflow:hidden;position:relative;border-radius:21px;background:#1b2824;border:1px solid #d8f4df28;box-shadow:0 16px 35px #0004;transition:transform .18s,border-color .18s}
#roomsPanel .room-entry:hover{transform:translateY(-3px);border-color:#c8f7de70}
.room-cover{height:187px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(123deg,hsl(var(--room-hue) 23% 25%),#172523 54%,#122323)}
.room-cover-ambient{position:absolute;inset:0;background:radial-gradient(circle at 75% 35%,hsl(var(--room-hue) 48% 62% / .43),transparent 42%),radial-gradient(ellipse at 20% 110%,#9ec6b74f,transparent 64%)}
.room-cover-ambient:before{content:"";position:absolute;inset:-25%;background:repeating-radial-gradient(circle at 55% 52%,#d5fcdf16 0 1px,transparent 1px 31px);transform:rotate(-18deg) scale(1.12)}
.room-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.76) brightness(.85)}
.room-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,#020a0b7b,transparent 32%,#06151120 48%,#061411df)}
.room-cover-top{position:absolute;top:15px;left:15px;right:15px;display:flex;align-items:center;justify-content:space-between;gap:7px;z-index:1}
.room-status,.room-visibility{display:inline-flex;align-items:center;gap:6px;border:1px solid #ecfff23b;border-radius:999px;padding:6px 10px;background:#061612bc;font-size:10px;letter-spacing:.09em;font-weight:800}
.room-status:before{content:"";display:inline-block;width:7px;height:7px;background:#abbcb4;border-radius:50%}
.room-status.is-live{color:#c4ffe3;border-color:#7bebb173}.room-status.is-live:before{background:#60f2a6;box-shadow:0 0 9px #60f2a6}
.room-status.is-offline{color:#d0d9d1}
.room-cover-title{position:absolute;left:18px;right:18px;bottom:15px;z-index:1;display:flex;flex-direction:column;gap:4px;text-shadow:0 2px 15px #000a}
.room-cover-eyebrow{color:#b7d3c6;font-weight:750;font-size:10px;letter-spacing:.20em}
.room-cover-title h3{font-weight:750;font-size:clamp(20px,1.5vw,24px);margin:0;line-height:1.2;overflow-wrap:anywhere;color:#f7fff8}
.room-cover-caption{font-size:11px;color:#bcd0c2}
.room-card-body{padding:16px 18px 17px;display:flex;flex-direction:column;gap:15px;flex:1}
.room-card-metadata{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#b8cabe;font-size:11px}
.room-owner-line{font-size:10px;letter-spacing:.1em;font-weight:800;color:#87cda9}
.room-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px}
.room-stat{display:flex;flex-direction:column;gap:4px;min-width:0}
.room-stat-value{color:#eaf6ec;font-size:16px;font-weight:680;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-stat-label{color:#a5baae;font-size:11px}
.room-card-actions{border-top:1px solid #d5f1d21e;padding-top:13px;margin-top:auto;display:flex;gap:8px}
#roomsPanel .room-card-actions .room-primary-action{background:#b7e5c8;color:#143127;border:1px solid #d4f2dd;font-size:13px;font-weight:800;padding:11px 16px;border-radius:11px;flex:1;cursor:pointer}
#roomsPanel .room-card-actions .room-primary-action:hover{background:#ddffe8}
#roomsPanel .room-card-actions .room-primary-action:disabled{opacity:.65;cursor:progress}
.room-empty{grid-column:1/-1;border:1px dashed #a9c0b251;border-radius:18px;padding:35px;color:#c5d6cb;text-align:center;background:#1c2b252f}
.room-invite-section{margin-top:32px;padding:24px 0 8px;border-top:1px solid #d4e3d029}
.room-invite-section h3{font-size:17px;margin:0 0 17px}
#roomInviteList{gap:8px}
#roomInviteList button{font-size:12px}
#roomsPanel button:focus-visible,#roomsPanel select:focus-visible{outline:2px solid #caffde;outline-offset:3px}
@media(max-width:690px){#roomsPanel:not(.room-in-session){padding:14px!important;gap:10px}#roomLobby{padding:0 0 30px}.room-lobby-controls{align-items:flex-start}.room-lobby-sort{width:100%;justify-content:space-between}.rooms-modal #roomList{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px}.room-cover{height:163px}}
@media(prefers-reduced-motion:reduce){#roomsPanel .room-entry{transition:none}}

/* Cognitive Agency: calm entrance and browser equivalents of the XR activities. */
.experience-gate{position:absolute;inset:0;z-index:9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(18px,3vh,38px);padding:90px 24px 35px;background:radial-gradient(ellipse at 30% 40%,rgba(45,115,120,.23),transparent 55%),radial-gradient(ellipse at 80% 70%,rgba(125,75,165,.20),transparent 48%),rgba(6,13,17,.92);color:#f4faf9;text-align:center;overflow-y:auto}
.experience-gate.hidden,.agency-studio.hidden{display:none!important}
.experience-intro h1{font-size:clamp(36px,5vw,73px);line-height:1.06;margin:12px 0 18px;letter-spacing:-.055em}.experience-intro h1 em{color:#beabf9;font-style:normal}.experience-intro p{max-width:510px;margin:auto;color:#c7d6d8;font-size:clamp(15px,1.5vw,19px)}
.experience-choices{width:min(870px,100%);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.experience-choice{border:1px solid rgba(255,255,255,.22);background:linear-gradient(150deg,#123c42,#0c1a22);color:#f7fbfa;border-radius:28px;min-height:280px;text-align:left;padding:30px;display:flex;flex-direction:column;gap:12px;cursor:pointer;box-shadow:0 15px 50px rgba(0,0,0,.24),inset 0 0 55px rgba(30,220,218,.05);transition:transform .2s,border-color .2s}
.experience-choice:hover,.experience-choice:focus-visible{transform:translateY(-4px);border-color:#71e9e8;outline-offset:3px}.experience-agency{background:linear-gradient(145deg,#382b5c,#171b33);box-shadow:0 15px 50px rgba(0,0,0,.24),inset 0 0 50px rgba(202,142,251,.10)}.experience-agency:hover,.experience-agency:focus-visible{border-color:#d3abff}
.experience-choice .choice-symbol{font-size:55px;color:#82f0e8;line-height:1}.experience-agency .choice-symbol{color:#d9afff}.experience-choice strong{font-size:clamp(27px,3vw,38px);letter-spacing:-.04em}.experience-choice>span:not(.choice-symbol){font-size:16px;line-height:1.55;color:#d2dcde}.experience-choice b{margin-top:auto;color:#a7f7ec;font-size:12px;letter-spacing:.1em}.experience-agency b{color:#e2c5fa}.experience-notice{color:#a6b6ba;font-size:13px;letter-spacing:.04em}
.agency-studio{position:relative;z-index:4;min-height:min(850px,95vh);padding:clamp(20px,5vw,70px);background:radial-gradient(ellipse at top left,rgba(62,110,139,.23),transparent 55%),radial-gradient(ellipse at bottom right,rgba(103,59,163,.15),transparent 55%),#10171b;color:#edf6f5}
.agency-top{display:flex;justify-content:space-between;gap:25px;align-items:center}.agency-top h2{font-size:clamp(29px,4vw,48px);margin:12px 0}.agency-top p{color:#b6c8cd}.agency-top-actions{display:flex;gap:10px;flex-wrap:wrap}.agency-content{max-width:1040px;margin:40px auto;min-height:340px}.agency-intro{text-align:center;margin:0 0 27px}.agency-intro span{font-size:11px;letter-spacing:.18em;color:#b2a2e8}.agency-intro h3{font-size:clamp(23px,3vw,33px);margin:9px 0}.agency-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.agency-game-card{display:flex;flex-direction:column;gap:14px;text-align:left;background:#1a282c;border:1px solid #375051;color:#edf6f5;padding:22px;min-height:290px;border-radius:22px;cursor:pointer;transition:border-color .2s,transform .2s}.agency-game-card:hover,.agency-game-card:focus-visible{border-color:#9fe2f0;transform:translateY(-3px)}.agency-game-card strong{font-size:25px}.agency-game-card>span:not(.agency-game-art){color:#bfced1;line-height:1.5}.agency-game-card small{color:#a5b4e3}.agency-game-card b{margin-top:auto;color:#95e4df;font-size:13px}.agency-game-art{display:flex;align-items:center;justify-content:center;border-radius:17px;height:110px;letter-spacing:.13em;font-size:31px;color:#97ffff;background:radial-gradient(circle,#265e68,#152f3c)}.agency-art-math{background:radial-gradient(circle,#45436f,#212638);color:#e6caff}.agency-art-hands{background:radial-gradient(circle,#4b3258,#232237);color:#f6badd}
.agency-secondary-note,.agency-disclaimer,.agency-pacing{color:#aebdc0;font-size:13px;line-height:1.6;margin-top:24px}.agency-setup,.agency-play,.agency-summary{max-width:780px;margin:auto;padding:clamp(20px,4vw,35px);background:rgba(22,39,45,.76);border:1px solid #385155;border-radius:25px;text-align:center}.agency-setup h3,.agency-summary h3{font-size:34px;margin:15px}.agency-setup p,.agency-summary p{color:#bfced0}.agency-back{color:#aff1eb;background:transparent;border:0;cursor:pointer;display:inline-block;margin:4px 12px 20px;font-size:14px;text-decoration:underline;text-underline-offset:5px}.agency-options,.agency-answers{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:16px 0 26px}.agency-options button,.agency-answers button{border:1px solid #5f8589;border-radius:17px;padding:16px 19px;min-height:65px;background:#24383e;color:#f4fbfa;font-size:17px;cursor:pointer}.agency-options button[aria-pressed="true"]{border-color:#a5faff;background:#285c62}.agency-options button:hover,.agency-answers button:hover,.agency-options button:focus-visible,.agency-answers button:focus-visible{outline:2px solid #b9edfc;outline-offset:3px}
.agency-play-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.agency-play-top>div{display:flex;flex-direction:column;gap:5px}.agency-play-top>div span{font-size:13px;color:#afbdca}.agency-play-top #agencyTimer{font-variant-numeric:tabular-nums;color:#96edeb;font-weight:700}.agency-score{color:#c4b8fc;margin:15px 0 28px;font-size:16px}.agency-prompt{font-size:clamp(23px,3vw,35px)}.agency-equation{font-size:clamp(38px,5vw,67px);letter-spacing:.06em;font-weight:700;margin:30px 0}.agency-number{font-size:35px!important;min-width:116px}.agency-shape-held,.agency-hand-target{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:158px;min-width:172px;margin:20px auto;padding:20px;border:1px solid #76cdd2;border-radius:20px;background:#234854;color:#fff;cursor:pointer}.agency-shape-held span,.agency-hand-target span{font-size:74px;line-height:1}.agency-hand-target strong{font-size:40px}.agency-hand-target small{font-size:13px}.agency-bin{display:flex;flex-direction:column;gap:9px;min-width:125px}.agency-bin span{font-size:36px}.agency-feedback{min-height:1.5em;color:#a3e8d9;font-size:15px}.agency-summary-stats{display:flex;justify-content:space-around;gap:12px;margin:30px 0}.agency-summary-stats>div{display:flex;flex-direction:column;gap:8px}.agency-summary-stats strong{font-size:32px;color:#b1f0ed}.agency-summary-stats span{color:#b7c9ce;font-size:13px}.agency-summary>.primary-btn,.agency-summary>.secondary-btn{margin:8px}
@media(max-width:740px){.experience-choices,.agency-game-grid{grid-template-columns:1fr}.experience-gate{justify-content:flex-start}.experience-choice{min-height:210px}.agency-top{align-items:flex-start;flex-direction:column}.agency-top-actions{width:100%}.agency-options{gap:8px}.agency-options button{flex:1 0 40%}.agency-play-top{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.experience-choice,.agency-game-card{transition:none}}

.main.agency-active .scene-stage{display:none}
.agency-personal-progress{padding:14px 19px;background:rgba(70,142,148,.14);border:1px solid #477575;border-radius:15px;text-align:center;color:#b1f5ee;font-size:14px;margin:28px 0 0}

/* XR graphics controls: crisp, spacious, accessible, independent of model-generation quality. */
#profilePanel .xr-graphics-settings{margin:20px 0;padding:20px;border:1px solid rgba(222,250,255,.36);border-radius:22px;background:linear-gradient(132deg,rgba(201,255,251,.075),rgba(180,180,255,.035));box-shadow:inset 0 1px rgba(255,255,255,.13);display:grid;gap:15px}
#profilePanel .xr-graphics-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#profilePanel .xr-graphics-heading h3{font-size:22px;letter-spacing:-.035em;margin:3px 0;color:#fff;font-weight:740}
#profilePanel .xr-graphics-chip{font-size:10px;letter-spacing:.1em;border:1px solid rgba(216,255,251,.5);border-radius:90px;padding:7px 10px;color:#e4fff9;white-space:nowrap}
#profilePanel .xr-graphics-settings p{margin:0;color:#c9e0dc;font-size:13px;line-height:1.55}
#profilePanel .xr-graphics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#profilePanel .xr-graphics-grid label{display:grid;gap:7px;color:#ecfff9;font-size:13px;font-weight:620;min-width:0}
#profilePanel .xr-graphics-grid select{width:100%;min-width:0;padding:13px 12px;background:#1b2c2a;color:#fff;border:1px solid rgba(222,255,252,.3);border-radius:14px;font:inherit;line-height:1.4}
#profilePanel .xr-graphics-grid select:focus-visible{outline:2px solid #a7fff2;outline-offset:2px}
#profilePanel .xr-graphics-actions{display:flex;flex-wrap:wrap;gap:8px}
#profilePanel .xr-graphics-actions button{min-height:42px;border-radius:999px}
#profilePanel #xrGraphicsStatus{border-left:3px solid #9cf6e1;padding:8px 12px;background:rgba(255,255,255,.045);border-radius:0 12px 12px 0;color:#dffcf4;white-space:pre-line}
@media(max-width:650px){#profilePanel .xr-graphics-grid{grid-template-columns:1fr}#profilePanel .xr-graphics-settings{padding:14px}}

/* v0.10.67 — responsive collection facets and research-style progress metrics */
.collection-facets{display:flex;flex-direction:column;gap:10px;padding:9px 0 14px;border-bottom:1px solid #a4cdb12c}
.facet-date-row{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.facet-date-row label{color:#b7d0c1;display:grid;gap:5px;font-size:11px;letter-spacing:.035em}.facet-date-row input{color:#eafbf0;background:#12231d;border:1px solid #809f9065;border-radius:12px;padding:10px;color-scheme:dark;min-height:42px}
.facet-clear{background:transparent;color:#bdedcc;border:1px solid #7b9d8969;border-radius:12px;padding:11px 14px;min-height:42px}
.facet-tags{display:flex;gap:7px;flex-wrap:wrap}.facet-chip{border:1px solid #90a9a06a;border-radius:99px;padding:8px 11px;background:#ffffff0a;color:#d9e8dd;font-size:12px;text-transform:capitalize;transition:background .15s,border-color .15s,color .15s}
.facet-chip:hover,.facet-clear:hover{background:#c6f3d729;color:#fff;border-color:#b6ebc4}.facet-chip.active{background:#c6f3d7;color:#143021;border-color:#c6f3d7}.facet-empty{font-size:12px;color:#9aac9f}
.progress-dashboard{position:fixed;z-index:12;inset:20px;overflow:auto;max-width:1120px;margin:0 auto;padding:clamp(18px,3vw,45px);border:1px solid #b4dab462;border-radius:25px;background:#16221fee;box-shadow:0 20px 100px #000c;backdrop-filter:blur(28px)}
.progress-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.progress-heading h2{font-size:clamp(30px,5vw,54px);letter-spacing:-.055em;margin:4px 0 5px}.progress-heading p{max-width:640px}
.progress-actions{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin:23px 0}.progress-actions label{font-size:13px;color:#c4d5c9;display:grid;gap:7px}.progress-actions select,.progress-export{background:#21352b;color:#d8f9e0;border:1px solid #85bc9880;border-radius:11px;padding:12px 16px;min-height:44px;text-decoration:none;font-size:13px}.progress-export:hover{background:#354f3c}
.progress-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.progress-kpi{display:grid;gap:12px;background:#d4ffe908;border:1px solid #98cbaa35;border-radius:17px;padding:17px 14px}.progress-kpi span{font-size:11px;color:#b8cbbf}.progress-kpi strong{font-size:clamp(18px,2.3vw,29px);white-space:nowrap;color:#e7ffe8}
.progress-charts{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:17px 0}.progress-charts section{border:1px solid #90be9d40;border-radius:18px;background:#101d18;padding:22px;min-width:0}.progress-charts h3{font-size:17px;margin:0 0 16px;color:#e6fae7}
.progress-bars{height:225px;display:flex;align-items:end;gap:4px;overflow-x:auto;padding-bottom:20px;scrollbar-width:thin}.progress-bar-col{height:100%;display:flex;flex:1 0 9px;min-width:9px;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.progress-bar{width:100%;min-height:3px;background:linear-gradient(#c4f3d7,#65bc98);border-radius:4px 4px 2px 2px}.progress-bar-col span{font-size:9px;color:#9ab6a1;position:absolute;bottom:-19px;white-space:nowrap;transform:rotate(-38deg);transform-origin:top center}.progress-activities{display:grid;gap:14px}.progress-activity-top{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:5px}.progress-activity-top span:last-child{color:#9fb5a9}.progress-activity-rail{height:6px;background:#ffffff14;border-radius:20px}.progress-activity-rail span{display:block;background:#b5ebcd;border-radius:20px;height:100%}.progress-insight{color:#dbf7df;border-left:3px solid #b8f3cc;padding:13px 17px;background:#c4e9d10a;font-size:13px;line-height:1.6}.progress-disclosure{font-size:11px;color:#a5b8ae;line-height:1.65;margin:22px 0 0}
@media(max-width:900px){.progress-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-charts{grid-template-columns:1fr}}
@media(max-width:600px){.progress-dashboard{inset:5px;border-radius:17px;padding:17px}.progress-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-heading h2{font-size:32px}.facet-date-row{display:grid;grid-template-columns:1fr 1fr}.facet-date-row input{max-width:100%;width:100%;min-width:0}.facet-clear{grid-column:1/-1}.progress-charts section{padding:14px}.nav-pill#openProgress{font-size:11px;padding:8px}}

.progress-chart-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.progress-chart-head label{display:flex;align-items:center;gap:6px;color:#acbfb4;font-size:11px}.progress-chart-head select{padding:6px 8px;background:#21352b;color:#f5fff5;border:1px solid #92bfa075;border-radius:9px;max-width:145px;font-size:11px}
@media(max-width:600px){.header-right{gap:5px}.header-right .nav-pill{padding:8px;font-size:10px;white-space:nowrap}.header .brand-version{display:none}.header{padding-left:12px;padding-right:12px}.nav-avatar{width:35px;height:35px}}

/* Research observations and explicit external-AI consent */
.progress-observations{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:17px 0}
.progress-observations>section,.progress-ai{background:#101d18;border:1px solid #90be9d40;border-radius:18px;padding:22px;min-width:0}
.progress-observations h3,.progress-ai h3{font-size:19px;color:#e7ffeb;margin:0 0 8px}
.progress-observations .small-muted{font-size:12px;line-height:1.5}
.progress-stat-list{display:grid;gap:8px;margin:18px 0 0}
.progress-stat-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px;background:#d4ffe909;border-radius:11px;font-size:12px}
.progress-stat-row strong{text-transform:capitalize;color:#e4ffeb}.progress-stat-row span{color:#b0d4c1;text-align:right}
.progress-ai{display:grid;gap:16px;margin:18px 0}
.progress-ai .eyebrow{font-size:10px;color:#aeeac4;letter-spacing:.12em}
.progress-ai-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.progress-ai-controls label{display:grid;gap:7px;color:#c3e0cd;font-size:12px}
.progress-ai-controls label.progress-ai-consent{display:flex;align-items:center;gap:8px;max-width:320px;line-height:1.5}
.progress-ai-controls input[type=checkbox]{width:19px;height:19px;accent-color:#b9efd0;flex-shrink:0}
.progress-ai-controls select,.progress-ai-controls button{min-height:43px;padding:10px 13px;border:1px solid #8fc2a67c;border-radius:11px;color:#effff5;background:#223c2f;font-size:13px}
.progress-ai-controls button:disabled{opacity:.48;cursor:not-allowed}.progress-ai-controls button:not(:disabled):hover{background:#367653;color:white}
.progress-ai-result{margin:0;white-space:pre-wrap;line-height:1.7;font-size:14px;color:#e2f8e9;background:#b4fbd009;border-left:3px solid #a0dbba;padding:15px 16px;border-radius:0 11px 11px 0}
@media(max-width:700px){.progress-observations{grid-template-columns:1fr}.progress-ai{padding:14px}.progress-ai-controls{align-items:stretch;flex-direction:column}.progress-ai-controls select,.progress-ai-controls button{width:100%}.progress-stat-row{align-items:start;flex-direction:column;gap:3px}.progress-stat-row span{text-align:left}}

/* Per-input daily aggregates remain legible at desktop, phone and browser widths. */
.progress-input-trend{margin:20px 0;padding:24px;border:1px solid #36574a;border-radius:24px;background:#101e18}
.progress-input-trend h3{margin:0 0 8px}
.progress-trend-table{display:grid;gap:10px;margin-top:15px;max-height:360px;overflow-y:auto}
.progress-trend-row{display:grid;grid-template-columns:minmax(138px,1.4fr) minmax(90px,2fr) minmax(125px,1fr);align-items:center;gap:15px;font-size:14px}
.progress-trend-row small{text-align:right;color:#b8d7c7}
.progress-trend-rail{height:11px;background:#30483c;border-radius:20px;overflow:hidden}
.progress-trend-rail>span{display:block;height:100%;background:#b4efd0;border-radius:20px}
@media(max-width:620px){.progress-input-trend{padding:16px}.progress-trend-row{grid-template-columns:1fr 1fr;gap:6px}.progress-trend-row small{grid-column:2;grid-row:1;font-size:11px}.progress-trend-rail{grid-column:1/-1}}

/* v0.10.67: paired profile photographs and 3D avatar, touch-first upload roundels */
#profilePanel .profile-avatar-overview{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:18px;align-items:stretch;margin:14px 0 22px}
#profilePanel .profile-avatar-overview>section{margin:0;padding:18px;border:1px solid #526d61;border-radius:19px;background:#192a24;min-width:0}
#profilePanel .profile-avatar-overview strong{font-size:13px;letter-spacing:.075em;color:#eefbf1}
#profilePanel .profile-photo-setting{gap:13px}
#profilePanel .avatar3d-section{display:flex;flex-direction:column;gap:13px}
#profilePanel .avatar3d-row{display:flex;align-items:center;gap:18px;min-width:0}
#profilePanel .avatar3d-round{flex:none;background:radial-gradient(circle at 50% 38%,#365546,#14251e);border-color:#b2ddc3}
#profilePanel .avatar3d-round #profile3DAvatarPlaceholder{width:52%;height:52%;object-fit:contain;opacity:.74}
#profilePanel .avatar3d-round #profile3DAvatarThumbnail{width:100%;height:100%;object-fit:cover}
#profilePanel .avatar3d-copy{min-width:0;flex:1;display:grid;gap:11px}
#profilePanel .avatar3d-actions button{min-height:36px;padding:8px 11px;font-size:12px;transition:background .16s,border-color .16s,color .16s}
#profilePanel .avatar3d-actions button:hover,#profilePanel .avatar3d-actions button:focus-visible{background:#385b47;color:#e6fff0;border-color:#b7f7c9}
#profilePanel #profile3DAvatarStatus{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
#profilePanel .avatar3d-spinner{position:absolute;inset:10px;border:3px solid #ecfff22e;border-top-color:#b3ffc9;border-radius:50%;animation:avatar-thumb-spin 1.2s linear infinite;pointer-events:none}
@keyframes avatar-thumb-spin{to{transform:rotate(360deg)}}
@media(max-width:720px){#profilePanel .profile-avatar-overview{grid-template-columns:1fr}#profilePanel .avatar3d-row{gap:14px}}
@media(max-width:430px){#profilePanel .avatar3d-row{align-items:flex-start}#profilePanel .avatar3d-round,#profilePanel .profile-avatar-round{width:95px;height:95px}#profilePanel .avatar3d-actions{gap:6px}#profilePanel .avatar3d-actions button{padding:7px 9px}}
/* Spatial room privacy chooser, same composition as the shared-rooms cards */
.room-chooser{width:min(760px,94vw);background:#14231f;border:1px solid #476a5b;border-radius:25px;padding:clamp(18px,3vw,30px);max-height:92dvh;overflow-y:auto}
.room-chooser .modal-title{align-items:flex-start}.room-chooser .modal-title h2{font-size:clamp(24px,3.4vw,35px);letter-spacing:-.04em;margin:4px 0 0}
.room-chooser-description{font-size:14px;color:#b5cdc0;line-height:1.55;margin:13px 0 22px}
.room-chooser .room-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.room-chooser .room-visibility-card{display:flex;flex-direction:column;text-align:left;min-width:0;padding:0;border:2px solid #365249;border-radius:19px;overflow:hidden;background:#1b3229;color:#e9f8ef;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}
.room-chooser .room-visibility-card:hover,.room-chooser .room-visibility-card:focus-visible{border-color:#aaf5c9;transform:translateY(-2px);background:#234336;outline:none}
.room-chooser .room-visibility-card.chosen{border-color:#bff7d1;box-shadow:0 0 0 2px #a3efbc44;background:#254434}
.room-visibility-art{height:145px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 55% 56%,#3b7563,#192a2b 68%,#15241f)}
.room-visibility-art.public-art{background:radial-gradient(circle at 56% 50%,#476c7e,#1e383c 68%,#152828)}
.room-visibility-orbits{position:absolute;border:1px solid #ddfff61e;width:145px;height:145px;border-radius:50%;box-shadow:0 0 0 26px #ddfff60b,0 0 0 58px #ddfff607;pointer-events:none}
.room-visibility-symbol{font-size:54px;color:#d4ffeb;z-index:1;filter:drop-shadow(0 3px 14px #020a0860)}
.room-visibility-badge{position:absolute;top:13px;left:14px;padding:6px 10px;border:1px solid #b5e9cc65;background:#0a1e1999;border-radius:100px;font-size:10px;font-weight:760;letter-spacing:.1em;color:#e6fff0;z-index:2}
.room-visibility-body{padding:17px;display:grid;gap:7px;min-height:124px}
.room-visibility-body strong{font-size:20px;font-weight:760}.room-visibility-body small{color:#bed0c7;font-size:12px;line-height:1.4;min-height:32px}
.room-visibility-select{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:.095em;color:#96c4ae;margin-top:3px}
.room-visibility-card.chosen .room-visibility-select{color:#baffd0}
.room-chooser-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px}
.room-chooser-footer p{max-width:240px;margin:0}.room-chooser-footer .primary-btn{background:#bfe9ce;color:#14231b;min-width:200px;border-color:#bfe9ce}
.room-chooser-footer .primary-btn:hover{background:#d8ffe4}
@media(max-width:540px){.room-chooser .room-choice{grid-template-columns:1fr}.room-visibility-art{height:100px}.room-visibility-body{min-height:95px}.room-chooser-footer{flex-wrap:wrap}.room-chooser-footer .primary-btn{width:100%}}

/* Admin operations and disabled avatar actions */
#profilePanel .avatar3d-actions button:disabled{opacity:.34;cursor:not-allowed;filter:grayscale(1);background:#13211a;border-color:#506257;color:#86978d}
#profilePanel .avatar3d-actions button:disabled:hover{background:#13211a;border-color:#506257;color:#86978d}
#profilePanel #profile3DAvatarRetry{align-self:flex-start;min-height:33px;padding:8px 14px;font-size:12px}
#profilePanel .admin-runtime-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
#profilePanel .admin-runtime-controls label{display:flex;flex-direction:column;gap:5px;min-width:130px;font-size:12px}
#profilePanel .admin-runtime-controls select{min-height:40px;background:#20372d;border:1px solid #5a7969;color:#e6f9ec;padding:9px;border-radius:10px}
#profilePanel .admin-runtime-output{background:#090e0c;color:#cff7d9;border:1px solid #425d50;border-radius:12px;padding:16px;min-height:160px;max-height:48vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;user-select:text}
