.office-toolbar{display:flex;gap:7px;align-items:center}.office-toolbar>button{font-size:15px;color:#8a729f;background:#fff;border:1px solid #e3daec;padding:9px 12px;border-radius:9px}.office-toolbar>button>span{font-size:10px;margin-left:5px}.office-toolbar>button[aria-expanded=true]{background:#e9def3;border-color:#bba5d0;color:#6b4e83}.office-zoom{display:flex;align-items:center;gap:4px;margin-left:auto}.office-zoom output{font-size:9px;width:38px;text-align:center;color:#c7b9dc}.world-topbar .office-zoom button{padding:3px 7px;font-size:12px}.world-stage{background:#85a27b}.office-panel{position:absolute;right:18px;top:18px;bottom:18px;width:292px;z-index:4;background:#fffdf9;border:2px solid #d8cbe4;border-radius:14px;padding:18px;box-shadow:0 6px 0 #33274022,0 10px 25px #33274022;overflow:auto;scrollbar-width:thin;scrollbar-color:#d7c7df transparent}.office-panel>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee5f2;padding-bottom:13px;margin-bottom:15px}.office-panel .eyebrow{font-size:8px;color:#ac94b9}.office-panel h2{font-size:16px;color:#756186;margin:5px 0 0}.office-panel h3{font-size:16px;color:#80658f}.office-panel label,.office-panel legend{display:block;font-size:10px;color:#97829f;margin:12px 0 7px}.office-panel fieldset{margin:0;border:0;padding:0}.office-panel select,.office-panel input{width:100%;border:1px solid #e4d9eb;background:#fcf9fe;border-radius:7px;font-size:11px;padding:9px;color:#796587}.office-panel .quiet{font-size:10px}.office-small{font-size:10px;line-height:1.9;color:#aa97b1}.wardrobe-preview{border:1px solid #ece3f2;border-radius:10px;background:repeating-linear-gradient(45deg,#f7f1fa,#f7f1fa 8px,#f3ecf7 8px,#f3ecf7 16px);text-align:center;padding:0 0 12px}.world-stage .wardrobe-preview canvas{width:140px;height:140px;margin:auto;object-fit:contain;cursor:default}.wardrobe-preview>span{font-size:10px;display:block;color:#9c82a9}.wardrobe-swatches{display:flex;gap:10px}.wardrobe-swatch{width:30px;height:30px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #e3d9e9;padding:0}.wardrobe-swatch[aria-pressed=true]{box-shadow:0 0 0 2px #9f83b5}.swatch-skin-0{background:#f5d7be}.swatch-skin-1{background:#f1c5a4}.swatch-skin-2{background:#d8a277}.swatch-skin-3{background:#ac7756}.swatch-skin-4{background:#744d3c}.swatch-hair-0{background:#514456}.swatch-hair-1{background:#79513b}.swatch-hair-2{background:#c8a36b}.swatch-hair-3{background:#ab738e}.swatch-hair-4{background:#afb6c4}.swatch-outfit-0{background:#8992c2}.swatch-outfit-1{background:#71a99a}.swatch-outfit-2{background:#c8878e}.swatch-outfit-3{background:#536b8f}.swatch-outfit-4{background:#c4a15d}.office-panel-actions{display:flex;gap:8px;margin-top:18px}.office-panel-actions button{flex:1;font-size:10px;padding:11px 5px}.office-panel-actions .primary{background:#9078a5}.world-stage #office-minimap{width:100%;height:auto;aspect-ratio:240/156;border:1px solid #ddd1e4;border-radius:9px;cursor:default;object-fit:contain}.office-destination{display:block;width:100%;text-align:left;border:1px solid #e6deed;border-radius:9px;background:#fcfafd;padding:11px;margin:8px 0}.office-destination strong{display:block;font-size:11px;color:#887096}.office-destination span{display:block;font-size:9px;color:#ae9db7;margin-top:5px;line-height:1.7}.office-document{padding:13px 0;border-bottom:1px solid #eee4f1}.office-document>strong{display:block;font-size:12px;color:#7e628f;overflow-wrap:anywhere}.office-document>span{display:block;font-size:9px;color:#b09db8;margin:6px 0}.office-document>div{display:flex;align-items:center;gap:12px}.office-document a{font-size:10px;color:#967ca5;text-decoration:none}.office-document button{font-size:9px;padding:6px 8px;border-color:#e4d7ed;color:#967ca5;background:#faf5fd}#library-status{font-size:10px;color:#ad96ba;margin-top:15px;line-height:1.7}.office-reactions{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.office-reactions button{width:42px;height:43px;padding:5px;font-size:23px;border-color:#e9dfee;background:#fcf8fe}.office-notice-icon{display:grid;place-items:center;width:42px;height:42px;background:#f6ecd5;color:#b99458;border-radius:12px;font-size:24px;margin-top:8px}.office-full-button{display:block;width:100%;text-align:left;margin:10px 0;font-size:11px;padding:12px;color:#937ba2;border-color:#e3d7eb}.world-context{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:2;display:flex;gap:8px;align-items:center;padding:9px 12px;background:#f6f0fc;border:1px solid #c9b3db;color:#8b6b9e;border-radius:9px;font-size:10px;box-shadow:0 3px 0 #49355d22}.world-context kbd{font:10px system-ui;background:white;border:1px solid #d5c4e1;border-radius:4px;padding:3px 6px}.office-panel:focus-within{border-color:#bca5d0}@media(max-width:1000px){.office-toolbar{gap:5px}.office-toolbar>button{padding:8px 10px}.world-topbar{gap:8px}.world-context{bottom:76px}}@media(max-width:650px){.world-heading{display:block}.office-toolbar{margin-top:15px;justify-content:space-between}.office-toolbar>button{flex:1;padding:8px 5px;font-size:14px}.office-toolbar>button>span{font-size:9px;margin-left:4px}.world-topbar{padding:0 8px;gap:6px}.world-topbar>span:first-child{font-size:8px;gap:5px}.office-zoom{gap:2px}.office-zoom output{font-size:8px;width:31px}.world-topbar .office-zoom button{font-size:10px;padding:3px 5px}.world-topbar #world-motion,.world-topbar #world-home{font-size:8px;padding:4px 5px}.office-panel{left:9px;right:9px;top:9px;bottom:9px;width:auto;padding:15px}.wardrobe-preview{display:flex;align-items:center;justify-content:center;padding:0}.world-stage .wardrobe-preview canvas{width:90px;height:90px;margin:0}.wardrobe-preview>span{padding:0 12px}.office-panel legend,.office-panel label{margin-top:8px}.wardrobe-swatch{width:27px;height:27px}.office-panel-actions{margin-top:12px}.world-context{bottom:157px;font-size:9px;padding:7px 10px}.world-stage #office-minimap{max-height:145px}.office-destination{padding:9px;margin:6px 0}}
.office-panel{display:flex;flex-direction:column;overflow:hidden}.office-panel>header{flex-shrink:0}.office-panel>section{flex:1;min-height:0;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#d7c7df transparent}

.office-panel.wide{width:min(580px,calc(100% - 36px))}.office-panel textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #e4d9eb;background:#fcf9fe;border-radius:7px;font-size:11px;line-height:1.6;font-family:inherit;padding:9px;color:#5f4f6b;resize:vertical}.office-panel h3#agent-name{margin:12px 0 4px}.agent-facts{margin:8px 0 4px;font-size:10px;line-height:1.6;color:#8d7a97;display:grid;grid-template-columns:auto 1fr;gap:4px 10px}.agent-facts dt{color:#b09db8;white-space:nowrap}.agent-facts dd{margin:0}.agent-text{white-space:pre-wrap;font-size:12px;line-height:1.75;color:#4f4259;background:#faf6fd;border:1px solid #e9dff0;border-radius:9px;padding:12px;overflow-wrap:anywhere}.agent-result-head{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.agent-result-head strong{font-size:12px;color:#7e628f}.agent-result-head button{font-size:9px;padding:6px 10px}#agent-sources a{display:block;font-size:10px;color:#967ca5;margin-top:8px;text-decoration:none}#agent-items .office-destination{display:block;width:100%;text-align:left}@media(max-width:650px){.office-panel.wide{width:auto}}
.agent-hint{margin:2px 0 8px;font-size:10px;color:#8d7a97}
#agents-panel input[type=file]{font:inherit;font-size:12px;max-width:100%}
