.window:has(.nb-browser){background:var(--ds-surface);border:2px solid var(--ds-header);border-radius:8px}.window:has(.nb-browser) .window-header h2{text-shadow:none;font-size:14px}.window:has(.nb-browser) .window-body{padding:0}.nb-browser{color:var(--ds-text);min-height:380px;font-size:12px}.nb-browser button{background:var(--ds-btn-bg);color:var(--ds-btn-text);border:1px solid var(--ds-border);border-radius:5px;justify-content:center;align-items:center;gap:6px;min-height:32px;font-size:11px;font-weight:700;display:inline-flex}.nb-browser button:hover:not(:disabled){background:var(--ds-btn-hover)}.nb-browser button:focus-visible,.nb-browser input:focus-visible,.nb-browser select:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}.nb-browser input,.nb-browser select{background:var(--ds-surface-raised);border:1px solid var(--ds-border-strong);color:var(--ds-text);font:inherit;border-radius:5px;min-width:0;padding:9px}.nb-icon{vertical-align:middle;flex:none;width:18px;height:18px}.nb-tabs{border-bottom:1px solid var(--ds-divider);background:var(--ds-surface-sunken);gap:5px;padding:12px 16px 0;display:flex}.nb-tabs button{color:var(--ds-text-muted);background:0 0;border:0;border-bottom:3px solid #0000;border-radius:5px 5px 0 0;padding:10px 14px}.nb-tabs button[aria-pressed=true]{background:var(--ds-surface);color:var(--ds-selected-text);border-color:var(--ds-primary)}.nb-heading{justify-content:space-between;align-items:center;gap:8px;padding:18px 18px 14px;display:flex}.nb-browser h3{margin:0 0 6px;font-size:14px}.nb-heading p,.nb-section-title p{color:var(--ds-text-muted);margin:0;font-size:11px;line-height:1.5}.nb-heading>span{background:var(--ds-surface-tint);color:var(--ds-text-muted);white-space:nowrap;border-radius:4px;padding:5px 8px;font-size:10px}.nb-content{align-items:stretch;min-height:285px;display:flex}.nb-results{flex:1;min-width:0;padding:0 12px 12px}.nb-list{margin:0;padding:0;list-style:none}.nb-list li{border:1px solid var(--ds-divider);background:var(--ds-surface-raised);border-radius:6px;align-items:center;margin-bottom:6px;padding:4px;display:flex}.nb-list li.selected{border-color:var(--ds-selected-border);background:var(--ds-selected-bg)}.nb-browser .nb-property{text-align:left;background:0 0;border:none;flex:1;justify-content:flex-start;gap:10px;min-width:0;padding:8px 6px;font-weight:400;display:flex}.nb-browser .nb-property[aria-pressed=true]{color:var(--ds-text);background:0 0}.nb-property>.nb-icon{color:var(--ds-text-muted);width:15px}.nb-type-icon{background:var(--ds-selected-bg);width:40px;height:40px;color:var(--ds-primary);border-radius:8px;flex:none;justify-content:center;align-items:center;display:inline-flex}.nb-type-icon .nb-icon{width:24px;height:24px}.nb-type-icon.business{color:var(--ds-amber-text);background:var(--ds-amber-bg)}.nb-type-icon.office{color:var(--ds-text-muted);background:var(--ds-surface-tint)}.nb-property-copy{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.nb-property-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.nb-property-copy small{color:var(--ds-text-muted);font-size:10px}.nb-tags{color:var(--ds-text-muted);flex-wrap:wrap;gap:4px;font-size:9px;display:flex}.nb-tags>span{background:var(--ds-surface-tint);border-radius:3px;padding:2px 4px}.nb-tags .rent{background:var(--ds-amber-bg);color:var(--ds-amber-text)}.nb-tags .nb-icon{width:10px;height:10px}.nb-browser .nb-enter{color:var(--ds-primary);background:var(--ds-selected-bg);border:0;margin:0 4px;padding:6px 9px}.nb-details{border-left:1px solid var(--ds-divider);background:var(--ds-surface-raised);overflow-wrap:anywhere;flex:none;width:278px;padding:12px 16px 18px}.nb-detail-preview{background:var(--ds-surface-tint);border-radius:6px;justify-content:center;align-items:center;height:92px;margin-bottom:14px;display:flex}.nb-detail-preview img{max-width:100%;max-height:85px;image-rendering:pixelated}.nb-detail-preview>.nb-icon{width:40px;height:40px;color:var(--ds-text-muted)}.nb-eyebrow{color:var(--ds-text-muted);text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px;font-size:9px;display:block}.nb-muted{color:var(--ds-text-muted);font-size:10px;line-height:1.5}.nb-details dl{grid-template-columns:1fr 1fr;gap:8px;margin:16px 0;font-size:10px;display:grid}.nb-details dt{color:var(--ds-text-muted)}.nb-details dd{text-align:right;margin:0}.nb-browser .nb-primary{background:var(--ds-primary);border-color:var(--ds-primary);color:var(--ds-surface-raised)}.nb-browser .nb-primary:hover:not(:disabled){background:var(--ds-primary-hover)}.nb-wide{width:100%;margin-bottom:12px}.nb-browser .nb-action{border:0;border-top:1px solid var(--ds-divider);background:0 0;border-radius:0;justify-content:flex-start;width:100%;padding:11px 0;font-size:11px}.nb-action>span{margin-left:auto}.nb-action-content{background:var(--ds-surface);border-radius:4px;padding:9px;font-size:10px;line-height:1.6}.nb-action-content p{margin:0 0 8px}.nb-browser .nb-danger{background:var(--ds-danger-bg);color:var(--ds-danger-text);border-color:var(--ds-danger-border)}.nb-browser .nb-text-danger{color:var(--ds-danger-text);background:0 0;border:0}.nb-inline-form{flex-wrap:wrap;gap:5px;margin:8px 0;display:flex}.nb-inline-form input{width:100%}.nb-member{border-bottom:1px solid var(--ds-divider);flex-wrap:wrap;gap:4px;padding:6px 0;display:flex}.nb-member strong{width:100%}.nb-member small{width:100%;color:var(--ds-text-muted)}.nb-member button{padding:3px 5px;font-size:9px}.nb-empty{text-align:center;min-height:270px;color:var(--ds-text-muted);flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.nb-empty>.nb-icon{width:44px;height:44px;color:var(--ds-text-muted);margin-bottom:15px}.nb-empty h3{color:var(--ds-text)}.nb-empty p{max-width:290px;font-size:11px;line-height:1.8}.nb-footer{color:var(--ds-text-muted);background:var(--ds-surface-sunken);align-items:center;gap:7px;padding:10px 18px;font-size:10px;display:flex}.nb-footer .nb-icon{width:14px;height:14px}.nb-search{padding:16px 18px}.nb-search label{margin-bottom:8px;font-weight:700;display:block}.nb-search>div{gap:8px;display:flex}.nb-search input{flex:1}.nb-message{border-radius:5px;margin:10px 14px;padding:10px;line-height:1.6}.nb-message.error{color:var(--ds-danger-text);background:var(--ds-danger-bg)}.nb-message.success{color:var(--ds-selected-text);background:var(--ds-selected-bg)}.nb-purchase{padding:20px}.nb-section-title{align-items:center;gap:12px;margin-bottom:20px;display:flex}.nb-property-name{flex-direction:column;gap:8px;margin-bottom:16px;font-size:13px;font-weight:700;display:flex}.nb-browser .nb-property-name input{border-color:var(--ds-selected-border);min-height:48px;padding:12px 14px;font-size:16px;font-weight:700}.nb-property-name>small{color:var(--ds-text-muted);font-size:10px;font-weight:400}.nb-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.nb-fields label{flex-direction:column;gap:7px;font-size:11px;font-weight:700;display:flex}.nb-fields .nb-business-category{color:var(--ds-text-muted);font-size:10px}.nb-fields label .nb-muted{font-weight:400;display:contents}.nb-caption{letter-spacing:.5px;justify-content:space-between;gap:10px;margin:24px 0 10px;font-size:10px;font-weight:700;display:flex}.nb-caption span{letter-spacing:0;color:var(--ds-text-muted);font-weight:400}.nb-models{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.nb-models button{background:var(--ds-surface-raised);flex-direction:column;min-height:134px;padding:8px}.nb-models button img{object-fit:contain;max-width:100%;height:80px;image-rendering:pixelated}.nb-models button small{color:var(--ds-text-muted);font-size:9px;font-weight:400}.nb-models button[aria-pressed=true]{background:var(--ds-selected-bg);border:2px solid var(--ds-selected-border);color:var(--ds-primary);padding:7px}.nb-buy-footer{border-top:1px solid var(--ds-divider);justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:12px;display:flex}.nb-buy-footer p{color:var(--ds-text-muted);font-size:11px;line-height:1.8}.nb-buy-footer small{color:var(--ds-text-muted)}.nb-browser .nb-back{display:none}@media (width<=620px){.nb-tabs{padding:7px 7px 0}.nb-tabs button{flex:1;padding:10px 5px;font-size:10px}.nb-details{border-left:0;width:100%}.nb-content.has-details .nb-results{display:none}.nb-browser .nb-back{background:0 0;border:0;margin-bottom:10px;padding-left:0;display:inline-flex}.nb-fields{grid-template-columns:1fr}.nb-buy-footer{flex-direction:column;align-items:stretch}.nb-models{grid-template-columns:repeat(2,1fr)}.nb-caption span,.nb-enter span{display:none}}.nb-purchase-confirm{border:1px solid var(--ds-amber-border);border-radius:var(--ds-radius);background:var(--ds-amber-bg);margin-top:12px;padding:12px;line-height:1.6}.nb-purchase-confirm>div{justify-content:flex-end;gap:8px;display:flex}:root{--ds-header:#1e7295;--ds-surface:#f3f5f4;--ds-surface-raised:#fff;--ds-surface-sunken:#e8eeeb;--ds-surface-tint:#edf3ef;--ds-border:#cbdad5;--ds-border-strong:#c3d1cc;--ds-divider:#d8e2dd;--ds-text:#2a4147;--ds-text-muted:#728580;--ds-text-subtle:#7b8d84;--ds-on-color:#fff;--ds-btn-bg:#e5edeb;--ds-btn-text:#30575a;--ds-btn-border:#cbdad5;--ds-btn-hover:#d4e6df;--ds-primary:#318c68;--ds-primary-hover:#287857;--ds-primary-border:#2a7a5a;--ds-selected-bg:#ecf6f1;--ds-selected-border:#6caa94;--ds-selected-text:#1e715b;--ds-amber:#e0a020;--ds-amber-bg:#fff1ce;--ds-amber-strong:#ffd56d;--ds-amber-text:#6b4a00;--ds-amber-border:#aa791a;--ds-danger:#b5413a;--ds-danger-hover:#983731;--ds-danger-bg:#fff0ed;--ds-danger-border:#d8a5a0;--ds-danger-text:#963d36;--ds-close-top:#f55041;--ds-close-bottom:#c23027;--ds-close-border:#921911;--ds-focus:#198566;--ds-hud-bg:#161922eb;--ds-hud-border:#5c6c79;--ds-hud-shadow:0 3px 12px #0008;--ds-hud-text:#eee;--ds-hud-muted:#b3cbd6;--ds-hud-divider:#40535e;--ds-hud-btn:#ffffff14;--ds-hud-btn-hover:#ffffff26;--ds-hud-btn-border:#ffffff26;--ds-hud-value:#f0c453;--ds-radius-sm:4px;--ds-radius:5px;--ds-radius-md:6px;--ds-radius-lg:8px;--ds-shadow-float:0 4px 16px #14263826;--ds-shadow-window:0 6px 24px #14263847}*{box-sizing:border-box}:root{--window-header-background:#1e7295}html,body,#root{height:100%;margin:0}body{color:#eee;background:#101018;font:14px Verdana,sans-serif}button{color:#fff;cursor:pointer;font:inherit;background:#3d6fb4;border:0;border-radius:4px;padding:6px 12px}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible{outline-offset:1px;outline:2px solid #ffd34d}button[aria-pressed=true]{color:#111;background:#e0a020}button.link{color:#9cc2f5;background:0 0;padding:4px}input{color:#eee;font:inherit;background:#16161f;border:1px solid #555;border-radius:4px;padding:6px 8px}.panel{background:#23232f;border:1px solid #444;border-radius:8px;padding:20px}.error{color:#ff8c8c;margin:0}.login{justify-content:center;align-items:center;height:100%;padding:16px;display:flex}.login form{flex-direction:column;gap:12px;width:min(320px,100%);display:flex}.login h1{margin:0;font-size:20px}.login label{flex-direction:column;gap:4px;display:flex}.room,.canvas{position:fixed;inset:0}.canvas canvas{display:block}.needs-panel{background:#161922eb;border:1px solid #5c6c79;border-radius:8px;gap:7px;width:226px;padding:10px 12px;display:grid;position:fixed;top:16px;left:16px;box-shadow:0 3px 12px #0008}.needs-row{grid-template-columns:21px 52px 1fr 36px;align-items:center;gap:5px;font-size:11px;display:grid}.needs-icon{text-align:center;font-size:14px}.needs-track{background:#10141b;border:1px solid #66727b;border-radius:8px;height:9px;overflow:hidden}.needs-fill{border-radius:inherit;height:100%;transition:width .3s}.needs-hunger{background:#e5a54a}.needs-thirst{background:#54bde5}.needs-energy{background:#b9da54}.needs-value{text-align:right;font-variant-numeric:tabular-nums}.room-status-hud{z-index:40;background:var(--ds-hud-bg);border:1px solid var(--ds-hud-border);border-radius:var(--ds-radius);align-items:center;gap:6px;max-width:calc(100vw - 24px);min-height:58px;padding:5px;display:flex;position:fixed;top:12px;right:12px}.room-status-hud:empty{display:none}.room-status-hud .balance-box{border-radius:var(--ds-radius-sm);min-width:0;min-height:46px;color:var(--ds-hud-text);text-align:left;background:0 0;align-items:center;gap:9px;padding:5px 9px;display:flex}.room-status-hud .balance-box:hover:not(:disabled),.room-status-hud .balance-box[aria-expanded=true]{background:var(--ds-hud-btn-hover)}.balance-icon{image-rendering:pixelated;flex-shrink:0;display:block}.balance-details{gap:2px;min-width:0;display:grid}.balance-label{color:var(--ds-hud-muted);text-transform:uppercase;letter-spacing:1px;font-size:9px}.balance-value{color:var(--ds-hud-value);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:15px;line-height:1.2}.balance-box>svg{width:16px;height:16px;color:var(--ds-hud-muted);flex-shrink:0}@media (width<=600px){.room-status-hud{max-width:calc(100vw - 12px);top:6px;right:6px}.needs-panel{top:78px;left:6px}}.hud{gap:8px;width:min(560px,100% - 32px);display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%)}.hud input{flex:1;min-width:0}.toast{z-index:10000;background:#7a2626;border-radius:4px;margin:0;padding:8px 14px;position:fixed;top:16px;left:50%;transform:translate(-50%)}.notice{text-align:center;z-index:10000;background:#23232f;border:1px solid #666;border-radius:8px;padding:20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.notice p{margin:0 0 12px}.editor-body{flex-wrap:wrap;gap:16px;display:flex}.editor aside{flex-direction:column;gap:10px;width:180px;display:flex}.preview{background:#16161f;border-radius:6px;justify-content:center;align-items:center;height:160px;display:flex}.gender{gap:4px;display:flex}.gender button{flex:1;padding:6px 2px;font-size:12px}.options{flex-direction:column;flex:1;gap:10px;min-width:280px;display:flex}.tabs{flex-wrap:wrap;gap:4px;display:flex}.grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px;display:grid}.grid button{background:#16161f;justify-content:center;align-items:center;height:104px;padding:2px;display:flex}.grid button[aria-pressed=true]{background:#5a4a18;outline:2px solid #e0a020}.grid img,.preview img{max-width:100%;max-height:100%;image-rendering:pixelated}.image-loading{background:#2c2c3a;border-radius:4px;width:32px;height:64px}.pager{justify-content:center;align-items:center;gap:12px;display:flex}.colors{flex-wrap:wrap;gap:4px;display:flex}.colors button{border:2px solid #0000;width:24px;height:24px;padding:0}.colors button[aria-pressed=true]{border-color:#fff}.slots{gap:4px;display:flex}.furni-info{flex-direction:column;gap:8px;width:min(260px,100vw - 20px);padding:12px;display:flex}.furni-info-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.furni-info-header h2{flex:1;min-width:0}.furni-info-close{width:24px;height:24px;color:inherit;background:#ffffff18;border:1px solid #ffffff45;border-radius:5px;flex:0 0 24px;place-items:center;padding:0;font-size:18px;line-height:1;display:grid}.furni-info-close:hover:not(:disabled){background:#ffffff32}.infostand-stack{z-index:30;pointer-events:none;scrollbar-width:thin;flex-direction:column;align-items:flex-end;gap:8px;max-width:min(320px,100vw - 20px);max-height:calc(100dvh - 160px);display:flex;position:fixed;bottom:72px;right:10px;overflow-y:auto}.infostand-stack>*{pointer-events:auto}.avatar-info{color:#fff;background:#212529f2;border-radius:6px;flex-direction:column;gap:6px;width:min(190px,100vw - 20px);padding:8px;display:flex;box-shadow:inset 0 5px #3c424899,inset 0 -4px #121416cc}.avatar-info-header{border-bottom:1px solid #444;justify-content:space-between;align-items:center;gap:6px;padding-bottom:4px;display:flex}.avatar-info-header h2{overflow-wrap:anywhere;margin:0;font-size:13px}.avatar-info-close{color:#fff;background:0 0;width:18px;height:18px;padding:0;font-size:14px;line-height:1}.avatar-info-body{gap:6px;display:flex}.avatar-info-figure{background:#16161f;border-radius:4px;justify-content:center;align-items:center;width:68px;min-height:90px;display:flex}.badge-grid-info{flex:1;grid-template-columns:repeat(2,1fr);align-content:start;justify-items:center;gap:4px;margin:0;padding:0;list-style:none;display:grid}.badge-grid-info li{justify-content:center;align-items:center;min-width:40px;min-height:40px;display:flex}.furni-info h2{overflow-wrap:anywhere;margin:0;font-size:16px}.furni-info p{overflow-wrap:anywhere;margin:0;font-size:12px}.furni-actions{flex-direction:column;gap:4px;display:flex}.furni-empty{opacity:.7;font-size:12px}.inventory{gap:12px;min-height:350px;display:flex}.inventory-main{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.inventory-grid{grid-template-columns:repeat(5,1fr);align-content:start;gap:6px;max-height:300px;margin:0;padding:3px;list-style:none;display:grid;overflow:auto}.inventory-grid button{aspect-ratio:1;background:#16161f;justify-content:center;align-items:center;width:100%;padding:2px;display:flex;position:relative}.inventory-grid button[aria-pressed=true]{background:#5a4a18;outline:2px solid #e0a020}.inventory-grid img{max-width:100%;max-height:100%;image-rendering:pixelated}.inventory-name{overflow-wrap:anywhere;font-size:10px}.inventory-count{color:#111;text-align:center;background:#e0a020;border-radius:8px;min-width:16px;padding:0 4px;font-size:11px;font-weight:700;position:absolute;bottom:2px;right:2px}.inventory-side{flex-direction:column;gap:8px;width:190px;display:flex}.inventory-preview{cursor:pointer;width:190px;height:140px;image-rendering:pixelated;background:#16161f;border-radius:6px;display:block}.inventory-selected{overflow-wrap:anywhere;margin:0;font-size:13px}.tabs{gap:4px;margin-bottom:8px;display:flex}.tabs button[aria-selected=true]{color:#fff;background:#1e7295}.badge{justify-content:center;align-items:center;display:inline-flex;position:relative}.badge img{image-rendering:pixelated;display:block}.badge-tip{z-index:100000;color:#111;text-align:left;pointer-events:none;background:#fff;border-radius:4px;min-width:140px;max-width:220px;padding:4px 8px;font-size:11px;position:fixed;box-shadow:0 2px 8px #00000080}.badge-tip strong,.badge-tip span{overflow-wrap:anywhere;display:block}.badge-rarity{font-weight:700}.rarity-common{color:#666}.rarity-uncommon{color:#1f9d3a}.rarity-rare{color:#1769c9}.rarity-epic{color:#8a2be2}.badge-meta{margin:0;font-size:12px}.badge-meta .rarity-common{color:#b0b0b0}.badge-meta .rarity-uncommon{color:#5dd35d}.badge-meta .rarity-rare{color:#4aa3ff}.badge-meta .rarity-epic{color:#b86bff}.badge-grid{align-content:start;gap:6px;margin:0;padding:3px;list-style:none;display:grid}.badge-grid.owned{grid-template-columns:repeat(4,1fr);max-height:300px;overflow:auto}.badge-grid.active{grid-template-columns:repeat(3,1fr)}.badge-grid button{aspect-ratio:1;background:#16161f;justify-content:center;align-items:center;width:100%;padding:2px;display:flex}.badge-grid button[aria-pressed=true]{background:#5a4a18;outline:2px solid #e0a020}.badge-grid button,.badge-slot-empty{border-radius:4px}.badge-slot-empty{aspect-ratio:1;opacity:.6;background:#16161f}.catalog{gap:12px;display:flex}.catalog-nav{flex-direction:column;gap:8px;width:190px;display:flex}.catalog-main{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.catalog-tree{background:#16161f;border-radius:6px;max-height:340px;margin:0;padding:4px;list-style:none;overflow:auto}.catalog-tree .catalog-tree{background:0 0;max-height:none;padding:0 0 0 14px;overflow:visible}.catalog-page{text-align:left;color:#d6d6e0;background:0 0;border-radius:4px;align-items:center;gap:6px;width:100%;min-height:28px;padding:3px 6px;font-size:13px;display:flex}.catalog-page:hover{color:#fff;background:#2c2c3a}.catalog-page[aria-pressed=true]{color:#ffd34d;background:#3a3220;box-shadow:inset 3px 0 #e0a020}.catalog-page-arrow{text-align:center;opacity:.7;flex:none;width:10px;font-size:10px}.catalog-page img{width:18px;height:18px;image-rendering:pixelated;flex:none}.catalog-page-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media (width<=600px){.inventory{flex-direction:column}.inventory-side{width:auto}.catalog{flex-direction:column}.catalog-nav{width:auto}}.window{background:#23232f;border:1px solid #444;border-radius:8px;flex-direction:column;max-height:calc(100vh - 16px);display:flex;position:fixed;overflow:hidden;box-shadow:0 6px 24px #00000080}.window-header{background:var(--window-header-background);color:#fff;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;justify-content:center;align-items:center;min-height:33px;padding:0 40px;display:flex;position:relative}.window-header:active{cursor:grabbing}.window-header h2{text-shadow:0 2px 3px #00000059;margin:0;font-size:15px}.window-close{background:repeating-linear-gradient(#f55041,#f55041 50%,#c23027 50% 100%);border:2px solid #921911;border-radius:4px;width:22px;height:22px;padding:0;font-size:16px;line-height:1;position:absolute;top:50%;right:6px;transform:translateY(-50%);box-shadow:0 0 0 1.5px #fff}.window-close:hover{filter:brightness(1.2)}.window-body{flex:1;min-height:0;padding:12px;overflow:auto}.room-dock{bottom:max(18px, env(safe-area-inset-bottom));z-index:1;align-items:stretch;gap:10px;width:min(1000px,100% - 32px);display:flex;position:fixed;left:50%;transform:translate(-50%)}.dock-actions,.chat-composer{background:var(--window-header-background);border:1px solid #195f7c;border-radius:9px;box-shadow:0 2px 8px #14263818}.dock-actions{align-items:center;gap:3px;padding:4px;display:flex}.dock-brand{color:#fff;letter-spacing:-2px;padding:0 10px 0 5px;font-size:17px;font-weight:900}.dock-brand span{color:#a4efd9;text-align:center;letter-spacing:0;font-size:8px;display:block}.dock-action{background:0 0;border:1px solid #0000;border-radius:6px;flex-direction:column;align-items:center;gap:2px;min-width:58px;padding:3px 9px;display:flex}.dock-action svg{width:20px;height:20px;transition:transform .15s}.dock-action span{color:#fff;font-size:10px}.action-visual{color:#e0ccff}.action-navigator{color:#bceeff}.action-inventory{color:#ffe0a8}.action-furniture{color:#b1f0d2}.action-wallet{color:#ffe9a0}.dock-action:hover:not(:disabled){background:#ffffff1a;border-color:#ffffff40}.dock-action:hover:not(:disabled) svg{transform:translateY(-2px)}.dock-action[aria-pressed=true]{background:#ffffff26;border-color:#b4dff0}.chat-composer{flex:1;align-items:center;gap:9px;min-width:0;padding:5px;display:flex}.chat-style-control{align-self:stretch;display:flex;position:relative}.chat-style-toggle{color:#fff;background:#ffffff1a;border:1px solid #ffffff40;border-radius:6px;align-items:center;gap:3px;padding:5px 7px;display:flex}.chat-style-toggle svg{width:21px;height:21px}.style-chevron{font-size:10px}.chat-field{background:#fff;border-radius:5px;flex-direction:column;flex:1;justify-content:center;align-self:stretch;min-width:0;padding:0 9px;display:flex}.chat-field>span{display:none}.chat-field input{color:#243f50;background:0 0;border:0;border-radius:2px;width:100%;padding:3px 0;font-size:13px}.chat-field input::placeholder{color:#6b7d88}.chat-count{color:#d2e8f2;font-variant-numeric:tabular-nums;font-size:9px}.chat-send{color:#fff;box-shadow:none;background:#328b78;border:1px solid #287865;border-radius:6px;align-self:stretch;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-weight:700;display:flex}.chat-send svg{width:21px;height:21px}.chat-send:hover:not(:disabled){filter:brightness(1.1)}.chat-style-picker{color:#28465b;background:#edf3f6;border:1px solid #b7c8d3;border-radius:9px;width:280px;padding:14px;position:absolute;bottom:calc(100% + 12px);left:0;box-shadow:0 4px 16px #14263826}.chat-style-heading{flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.chat-style-heading strong{font-size:13px}.chat-style-heading span{color:#617b8e;font-size:10px}.chat-style-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.chat-style-grid button{background:#fff;border:1px solid #c6d5df;border-radius:8px;height:54px;padding:8px;position:relative}.chat-style-grid button[aria-pressed=true]{background:#d5ece5;border-color:#328b78}.chat-style-preview{border-style:solid;border-width:9px 5px 5px 16px;color:#111;image-rendering:pixelated;border-image-slice:17 6 6 29 fill;border-image-repeat:stretch;font-size:10px;display:block}.style-check{color:#23705b;font-size:11px;position:absolute;top:0;right:2px}.furni-info{bottom:86px}@media (width<=760px){.room-dock{width:calc(100% - 20px);bottom:max(12px, env(safe-area-inset-bottom));flex-direction:column;gap:8px}.dock-actions{align-self:center}.chat-composer{min-height:44px}.dock-action{padding:3px 10px}.dock-brand{padding-left:8px}.chat-style-picker{left:-7px}.chat-count,.chat-send>span{display:none}.chat-send{padding:8px 12px}.furni-info{bottom:132px}}@media (prefers-reduced-motion:reduce){.dock-action svg{transition:none}}.employment-panel{z-index:10;color:#28465b;background:#edf3f6;border:1px solid #b7c8d3;border-radius:9px;width:min(320px,100vw - 24px);padding:12px;position:absolute;top:12px;right:12px;box-shadow:0 4px 16px #14263826}.employment-panel>p{margin:0 0 8px;font-weight:700}.employment-details{max-height:min(60vh,480px);overflow:auto}.employment-details h2{margin:12px 0 6px;font-size:16px}.employment-details h3{margin:14px 0 6px;font-size:13px}.employment-details p{margin:7px 0}.employment-details button{margin:2px}.chat-style-current{box-sizing:border-box;border-width:8px 5px 5px 12px;width:34px;height:23px;font-size:12px;font-weight:700;line-height:8px;position:relative}.chat-style-pointer{width:9px;height:6px;image-rendering:pixelated;position:absolute;bottom:-10px;left:50%;transform:translate(-50%)}.trade{background:#161922eb;border:1px solid #5c6c79;border-radius:6px;gap:10px;padding:10px;display:grid}.trade h3{margin:0 0 4px;font-size:13px}.trade-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.trade-column{background:#00000026;border-radius:4px;flex-direction:column;gap:4px;min-width:0;padding:6px;display:flex}.trade-grid{grid-template-columns:repeat(auto-fill,52px);justify-content:start;max-height:150px}.trade-inventory .trade-grid{max-height:180px}.trade-grid button:disabled{opacity:.6;cursor:default}.trade-money{margin:0;font-size:12px}.trade-money strong,.trade-balance strong{color:#f0c453;font-variant-numeric:tabular-nums}.trade-state{color:#6fd08c;min-height:1.2em;margin:0;font-size:12px;font-weight:700}.trade-help{opacity:.85;margin:0;font-size:12px}.trade-money-form{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.trade-money-form label{gap:2px;font-size:12px;display:grid}.trade-balance{margin-left:auto;font-size:12px}.trade-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.trade-waiting{opacity:.85;font-size:12px}@media (width<=640px){.trade-columns{grid-template-columns:1fr}}.wallet{gap:8px;display:grid}.wallet-balance{margin:0;font-size:13px}.wallet-balance strong{color:#f0c453;font-variant-numeric:tabular-nums}.wallet-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.wallet-list li{background:#00000026;border-radius:4px;grid-template-columns:96px 1fr 64px 64px;align-items:center;gap:8px;padding:4px 6px;font-size:11px;display:grid}.wallet-desc{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wallet-amount,.wallet-after{text-align:right;font-variant-numeric:tabular-nums}.wallet-in{color:#6fd08c}.wallet-out{color:#ef7b6f}.wallet-after{opacity:.7}.wallet-loading{gap:4px;display:grid}.wallet-skeleton{background:linear-gradient(90deg,#ffffff0f,#ffffff29,#ffffff0f) 0 0/200% 100%;border-radius:4px;height:22px;animation:1.2s linear infinite wallet-shimmer}@keyframes wallet-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.wallet-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.wallet-error{text-align:center;justify-items:center;gap:6px;padding:10px;font-size:12px;display:grid}.wallet-error p{color:#ef7b6f;margin:0}@media (prefers-reduced-motion:reduce){.wallet-skeleton{animation:none}}.avatar-menu{z-index:10001;background:#161922f5;border:1px solid #5c6c79;border-radius:8px;gap:2px;min-width:128px;padding:6px;display:grid;position:fixed;box-shadow:0 3px 12px #0008}.avatar-menu-name{opacity:.75;margin:0 0 2px;padding:2px 6px;font-size:11px}.avatar-menu button{text-align:left;color:#fff;background:0 0;border:1px solid #0000;border-radius:6px;padding:6px 10px;font-size:12px}.avatar-menu button:hover:not(:disabled){background:#ffffff1f;border-color:#ffffff40}.avatar-menu button:disabled{opacity:.45}.restaurant-order-marker{z-index:9000;color:#36220a;cursor:pointer;background:linear-gradient(135deg,#ffdd72,#ff9f43);border:2px solid #fff;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;font-size:17px;animation:1.5s ease-in-out infinite alternate restaurant-order-pulse;display:grid;position:fixed;transform:translate(-50%,-115%);box-shadow:0 3px 12px #000a}.restaurant-order-marker:hover{transform:translate(-50%,-120%)scale(1.12)}.restaurant-request-button{z-index:9002;color:#36220a;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#ffedac,#ffc450);border:1px solid #fff;border-radius:16px;justify-content:center;align-items:center;gap:5px;min-height:28px;padding:4px 9px;font-size:11px;font-weight:800;display:flex;position:fixed;transform:translate(-50%,-155%);box-shadow:0 3px 12px #000a}.restaurant-customer-status{z-index:9003;color:#fff2c3;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#29384a,#172330);border:1px solid #fff;border-radius:14px;justify-content:center;align-items:center;gap:5px;max-width:min(190px,100vw - 20px);min-height:27px;padding:4px 9px;font-size:10px;font-weight:800;display:flex;position:fixed;transform:translate(-50%,-155%);box-shadow:0 3px 12px #000a}.restaurant-customer-status:hover{filter:brightness(1.15)}.restaurant-customer-status>span:last-child{text-overflow:ellipsis;overflow:hidden}.restaurant-request-button:hover:not(:disabled){transform:translate(-50%,-160%)scale(1.05)}.restaurant-request-button:disabled{opacity:.85;cursor:progress}.restaurant-request-progress{background:#6b511c44;border-radius:3px;height:2px;position:absolute;bottom:2px;left:8px;right:8px;overflow:hidden}.restaurant-request-progress:after{content:"";background:#73500b;width:38%;height:100%;animation:1s ease-in-out infinite alternate furni-request-loading;display:block}.restaurant-ready-marker{background:linear-gradient(135deg,#a8f0b5,#42c978)}.restaurant-step-marker{z-index:9000;color:#fff;pointer-events:none;background:#29384aee;border:1px solid #fff;border-radius:50%;place-items:center;width:28px;height:28px;font-size:15px;display:grid;position:fixed;transform:translate(-50%,-115%);box-shadow:0 3px 10px #000a}.restaurant-pickup-hint{z-index:8999;color:#fff;text-align:center;pointer-events:none;background:#202938f2;border:1px solid #fff5;border-radius:12px;gap:3px;max-width:min(360px,100vw - 24px);padding:11px 16px;font-size:12px;display:grid;position:fixed;top:74px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #0008}.restaurant-pickup-hint strong{color:#ffd36b;font-size:14px}@keyframes restaurant-order-pulse{0%{box-shadow:0 3px 12px #0008}to{box-shadow:0 0 0 5px #ffb23855,0 3px 16px #000a}}.restaurant-cooking{z-index:9001;color:#fff;pointer-events:none;background:#252b36ee;border-radius:8px;gap:3px;padding:5px 8px;font-size:11px;display:grid;position:fixed;transform:translate(-50%,-115%)}.restaurant-cooking progress{accent-color:#f8b84e;width:100px}.restaurant-panel{gap:10px}.restaurant-panel h2,.restaurant-panel h3{margin:4px 0}.restaurant-panel button{border-radius:8px}.furni-info .furni-help{color:#f5d990;max-width:220px;margin:3px 0 0;font-size:11px;line-height:1.35}.furni-info .furni-progress{accent-color:#f8b84e;width:100%;height:10px}.furni-request-progress{background:#ffffff24;border-radius:8px;width:100%;height:7px;overflow:hidden}.furni-request-progress span{border-radius:inherit;background:#ffd36b;width:38%;height:100%;animation:1s ease-in-out infinite alternate furni-request-loading;display:block}@keyframes furni-request-loading{0%{transform:translate(-40%)}to{transform:translate(205%)}}.furni-info .furni-cancel-order{color:#ffd4cf;border-color:#b85a52;margin-top:4px}.restaurant-orders{gap:6px;padding:0;list-style:none;display:grid}.restaurant-orders li{background:#ffffff12;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;display:flex}.restaurant-orders li>span:nth-child(2){opacity:.75;margin-left:auto;font-size:11px}.avatar-menu-signs{grid-template-columns:repeat(3,1fr);gap:2px;display:grid}.avatar-menu-signs button{text-align:center;min-width:0;padding-inline:4px}.window{color:#1c2430;background:#fff;border-color:#c9d3dc;box-shadow:0 6px 24px #14263847}.window input{color:#111;background:#fff;border-color:#b7c2cc}.window button.link{color:#1e5fa8}.window .error{color:#c0392b}.window .catalog-tree{background:#eef2f6}.window .catalog-page{color:#2b3340}.window .catalog-page:hover{color:#111;background:#dde5ec}.window .catalog-page[aria-pressed=true]{color:#6b4a00;background:#fff0c2}.window .badge-meta .rarity-common{color:#666}.window .badge-meta .rarity-uncommon{color:#1f9d3a}.window .badge-meta .rarity-rare{color:#1769c9}.window .badge-meta .rarity-epic{color:#8a2be2}.window .trade{background:0 0;border:0;padding:0}.window .trade-column,.window .wallet-list li{background:#eef2f6}.window .trade-money strong,.window .trade-balance strong,.window .wallet-balance strong{color:#a3710a}.window .trade-state,.window .wallet-in{color:#1f8a3d}.window .wallet-out,.window .wallet-error p{color:#c0392b}.window .wallet-skeleton{background:linear-gradient(90deg,#e6ebf0,#f6f8fa,#e6ebf0) 0 0/200% 100%}.trade-slot-empty{aspect-ratio:1;opacity:.6;background:#16161f;border-radius:4px;width:100%;display:block}:root{--slot-background:#b9c3d0}.grid button,.inventory-grid button,.badge-grid button,.badge-slot-empty,.trade-slot-empty{background:var(--slot-background);color:#1c2430}.grid button[aria-pressed=true],.inventory-grid button[aria-pressed=true],.badge-grid button[aria-pressed=true]{background:#f3d98a}.group-badge-preview{box-sizing:content-box;background:#d4e2ec;border:2px solid #94aebe;border-radius:4px;width:78px;height:78px;position:relative;overflow:hidden}.group-badge-preview .group-badge-sprite{transform-origin:0 0;transform:scale(2)}.group-badge-sprite{image-rendering:pixelated;background-repeat:no-repeat;display:block;position:absolute;top:0;left:0}.group-badge-options{grid-template-columns:repeat(5,1fr);gap:3px;max-height:155px;display:grid;overflow-y:auto}.group-badge-options button{background:#d9e4e9;border:2px solid #0000;place-items:center;min-height:42px;display:grid;position:relative}.group-badge-options button[aria-pressed=true],.group-badge-position button[aria-pressed=true]{background:#a9d3e9;border-color:#4386ad}.group-badge-options .group-badge-sprite{position:relative}.group-badge-tabs{margin-top:8px;display:flex}.group-badge-position{grid-template-columns:repeat(3,18px);gap:2px;margin-top:6px;display:grid}.group-badge-position button{border:2px solid #fff;width:18px;height:18px;margin:0;padding:0}.group-content{border:0;min-width:0;margin:0;padding:0}.group-badge-tabs{flex-wrap:wrap}.group-badge-sprite{isolation:isolate}.group-badge-preview{display:block}.group-badge-preview-compact{background:0 0;border:0;border-radius:0;width:39px;height:39px}.group-badge-preview-compact .group-badge-sprite{transform:none}.group-badge-placeholder{width:39px;height:39px;display:block}.group-badge-placeholder svg{width:100%;height:100%}.postit{color:var(--ds-text);gap:8px;display:grid}.postit-text{border:1px solid var(--ds-border);border-radius:var(--ds-radius-md);color:#000;white-space:pre-wrap;overflow-wrap:anywhere;min-height:64px;margin:0;padding:8px;font-size:13px}.postit-colors{border:0;align-items:center;gap:8px;margin:0;padding:0;display:flex}.postit-colors legend{float:left;color:var(--ds-text-muted);margin-right:8px;padding:0;font-size:12px;font-weight:700}.postit-color,.postit-color[aria-pressed=true]{border:2px solid var(--ds-border-strong);border-radius:var(--ds-radius-sm);width:26px;height:26px;padding:0}.postit-color[aria-pressed=true]{border-color:var(--ds-selected-border);outline:2px solid var(--ds-selected-text);outline-offset:1px}.postit-color:focus-visible,.postit textarea:focus-visible{outline:2px solid var(--ds-focus);outline-offset:1px}.postit-field{color:var(--ds-text-muted);gap:4px;font-size:12px;font-weight:700;display:grid}.postit textarea{box-sizing:border-box;resize:vertical;background:var(--ds-surface-raised);width:100%;color:var(--ds-text);border:1px solid var(--ds-border-strong);border-radius:var(--ds-radius);font:inherit;padding:6px 8px;font-size:13px;font-weight:400}.postit-count{color:var(--ds-text-subtle);font-variant-numeric:tabular-nums;justify-self:end;font-size:11px}.postit-actions{flex-wrap:wrap;gap:6px;display:flex}.postit-actions button{background:var(--ds-btn-bg);color:var(--ds-btn-text);border:1px solid var(--ds-btn-border);border-radius:var(--ds-radius);font-size:12px;font-weight:700}.postit-actions button:hover:not(:disabled){background:var(--ds-btn-hover)}.postit-actions .postit-primary{background:var(--ds-primary);color:var(--ds-on-color);border-color:var(--ds-primary-border)}.postit-actions .postit-primary:hover:not(:disabled){background:var(--ds-primary-hover)}.postit-actions .postit-danger{background:var(--ds-danger);color:var(--ds-on-color);border-color:var(--ds-danger-border);margin-left:auto}.postit-actions .postit-danger:hover:not(:disabled){background:var(--ds-danger-hover)}.property-group-panel{color:var(--ds-hud-text);flex-shrink:0;font-size:12px}.property-group-panel>.group-error,.property-group-panel.group-load-error{width:min(292px,100vw - 24px);margin:0;position:absolute;top:calc(100% + 6px);right:0}.balance-box+.property-group-panel{border-left:1px solid var(--ds-hud-divider);padding-left:6px}.property-group-panel>.group-badge-toggle{background:var(--ds-hud-btn);width:57px;min-height:46px;color:var(--ds-hud-text);border:0;border-bottom:2px solid var(--group-accent,var(--ds-hud-border));border-radius:var(--ds-radius);justify-content:center;align-items:center;gap:1px;padding:3px;display:flex}.property-group-panel>.group-badge-toggle:hover,.property-group-panel>.group-badge-toggle[aria-expanded=true]{background:var(--ds-hud-btn-hover)}.group-toggle-chevron{align-self:flex-end;font-size:14px;transition:transform .15s}.group-toggle-chevron.is-open{transform:rotate(180deg)}.group-summary{z-index:1;background:var(--ds-hud-bg);border:1px solid var(--ds-hud-border);border-top:3px solid var(--group-accent,var(--ds-hud-border));border-left:3px solid var(--group-secondary,var(--ds-hud-border));border-radius:var(--ds-radius);scrollbar-width:thin;width:min(320px,100vw - 16px);max-height:calc(100dvh - 92px);padding:10px;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto}.group-summary-heading,.group-summary-stats,.group-kind,.group-address,.group-summary-stats span{align-items:center;gap:6px;display:flex}.group-summary-heading{justify-content:space-between}.group-kind{color:var(--ds-hud-muted);text-transform:uppercase;letter-spacing:.6px;font-size:10px}.group-summary h2{color:#fff;overflow-wrap:anywhere;margin:5px 0;font-size:15px;line-height:1.25}.group-summary .group-description{color:var(--ds-hud-muted);white-space:pre-wrap;overflow-wrap:anywhere;max-height:68px;margin:5px 0 10px;font-size:12px;line-height:1.4;overflow:auto}.group-address{color:var(--ds-hud-muted);margin:8px 0;font-size:10px}.group-summary-stats{border-top:1px solid var(--ds-hud-divider);justify-content:space-between;padding:8px 0;font-size:11px}.group-action-sections{gap:8px;margin-top:8px;display:grid}.group-action-section{border:1px solid var(--ds-hud-divider);border-radius:var(--ds-radius);background:#ffffff08;padding:7px}.group-action-section h3{color:var(--ds-hud-muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:9px}.group-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.group-action-grid button{border:1px solid var(--ds-hud-btn-border);border-radius:var(--ds-radius);background:var(--ds-hud-btn);min-width:0;color:var(--ds-hud-text);text-align:left;box-shadow:none;align-items:center;gap:8px;padding:8px;font-size:11px;display:flex}.group-action-grid button:hover{background:var(--ds-hud-btn-hover)}.group-summary .group-action-grid .nb-icon{width:18px;height:18px}.group-summary .group-icon-button{color:var(--ds-hud-muted);background:0 0;border:0}.group-dialog{border:2px solid var(--ds-header);border-radius:var(--ds-radius-lg);background:var(--ds-surface);width:min(440px,100vw - 20px);max-height:calc(100dvh - 32px);color:var(--ds-text);box-shadow:var(--ds-shadow-window);margin:auto;padding:0;font-size:12px;position:fixed;overflow:hidden}.group-dialog[open]{flex-direction:column;display:flex}.group-dialog::backdrop{background:#101f2b55}.group-dialog-header{background:var(--ds-header);color:#fff;flex-shrink:0;align-items:center;gap:8px;min-height:33px;padding:0 8px 0 12px;display:flex}.group-dialog-header h2{overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:14px;line-height:1.3}.group-dialog-body{scrollbar-width:thin;min-height:0;padding:12px;overflow-y:auto}.group-dialog .nb-icon,.group-summary .nb-icon{flex-shrink:0;width:17px;height:17px}.group-dialog button{border:1px solid var(--ds-btn-border);border-radius:var(--ds-radius);background:var(--ds-btn-bg);color:var(--ds-btn-text);font-weight:700;font:inherit;cursor:pointer;box-shadow:none;justify-content:center;align-items:center;gap:5px;margin:0;padding:7px 9px;display:inline-flex}.group-dialog button:hover:not(:disabled){background:var(--ds-btn-hover);border-color:var(--ds-selected-border)}.group-dialog button:disabled{opacity:.5;cursor:default}.group-dialog .group-icon-button[aria-pressed=true]{color:var(--ds-selected-text);border-color:var(--ds-selected-border);background:var(--ds-selected-bg)}.group-dialog .group-key-button[aria-pressed=true]{color:var(--ds-amber-text);border-color:var(--ds-amber-border);background:var(--ds-amber-strong);box-shadow:inset 0 -2px var(--ds-amber)}.group-dialog .group-key-button[aria-pressed=true]:hover:not(:disabled){border-color:var(--ds-amber-border);background:#ffca44}.group-dialog .group-admin-button[aria-pressed=true]{color:#fff;border-color:var(--ds-primary-border);background:var(--ds-primary);box-shadow:inset 0 -2px #236648}.group-dialog .group-admin-button[aria-pressed=true]:hover:not(:disabled){background:var(--ds-primary-hover);border-color:var(--ds-primary-border)}.group-dialog .group-icon-button[aria-pressed=true] .nb-icon{stroke-width:2.3px}.group-dialog button:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}.group-summary button:focus-visible,.group-badge-toggle:focus-visible{outline-offset:2px;outline:2px solid #ffd34d}.group-dialog-header .group-icon-button{color:#fff;background:#ffffff26;border-color:#ffffff40}.group-dialog-header .group-icon-button:hover:not(:disabled){background:#ffffff40;border-color:#fff6}.group-icon-button{border-radius:var(--ds-radius);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;width:29px;height:29px;padding:5px;display:inline-flex}.group-icon-button svg{width:17px;height:17px}.group-dialog .group-icon-button{padding:5px}.group-dialog .group-primary{background:var(--ds-primary);border-color:var(--ds-primary-border);color:#fff}.group-dialog .group-primary:hover:not(:disabled){background:var(--ds-primary-hover)}.group-dialog .group-danger{background:var(--ds-danger);color:#fff;border-color:var(--ds-danger-hover)}.group-dialog .group-danger:hover:not(:disabled){background:var(--ds-danger-hover)}.group-dialog .group-danger-link{color:var(--ds-danger-text);background:0 0;border-color:#0000}.group-dialog input:not([type=color]),.group-dialog textarea{box-sizing:border-box;border:1px solid var(--ds-border-strong);border-radius:var(--ds-radius);min-width:0;font:inherit;color:var(--ds-text);background:var(--ds-surface-raised);padding:7px 8px}.group-dialog textarea{resize:vertical}.group-list-toolbar{align-items:center;gap:8px;margin-bottom:8px;display:flex}.group-search{background:var(--ds-surface-raised);border:1px solid var(--ds-border-strong);border-radius:var(--ds-radius);flex:1;align-items:center;gap:5px;min-width:0;padding-left:7px;display:flex}.group-dialog .group-search input{background:0 0;border:0;width:100%}.group-count{white-space:nowrap;color:var(--ds-text-muted);font-size:10px}.group-members-list{scrollbar-width:thin;max-height:min(390px,53dvh);overflow-y:auto}.group-person{border-bottom:1px solid var(--ds-divider)}.group-person-row{align-items:center;gap:8px;min-height:57px;padding:5px 2px;display:flex}.group-avatar-head{background:var(--ds-surface-tint);border-radius:var(--ds-radius);flex-shrink:0;place-items:center;width:44px;height:44px;display:grid;overflow:hidden}.group-avatar-head img{width:auto;max-width:44px;height:auto;max-height:44px;image-rendering:pixelated}.group-avatar-head .image-loading{width:20px;height:20px}.group-person-name{flex:1;min-width:0}.group-person-name strong{overflow-wrap:anywhere;font-size:12px;display:block}.group-person-name small{color:var(--ds-text-muted);margin-top:3px;font-size:10px;display:block}.group-person-name .group-admin-label{color:var(--ds-selected-text);align-items:center;gap:3px;font-weight:700;display:flex}.group-admin-label .nb-icon{width:11px;height:11px}.group-person-actions{align-items:center;gap:5px;display:flex}.group-key-status{color:var(--ds-amber-border)}.group-person-tools{background:var(--ds-surface-sunken);border-radius:var(--ds-radius);gap:8px;margin:0 0 6px 52px;padding:8px;display:grid}.group-action-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.group-share{align-items:center;gap:6px;font-size:11px;display:flex}.group-share span{white-space:nowrap;margin-left:auto}.group-share input{width:58px}.group-add-member{border-top:1px solid var(--ds-divider);gap:6px;margin-top:10px;padding-top:10px;display:flex}.group-add-member select{border:1px solid var(--ds-border-strong);border-radius:var(--ds-radius);background:var(--ds-surface-raised);min-width:0;max-width:110px;color:var(--ds-text);font:inherit;font-size:11px}.group-member-hint{color:var(--ds-text-muted);margin:7px 0 0;font-size:10px;line-height:1.4}.group-empty{color:var(--ds-text-muted);justify-items:center;gap:10px;padding:30px 8px;display:grid}.group-section-intro{align-items:center;gap:10px;margin-bottom:12px;display:flex}.group-feature-icon{background:var(--ds-selected-bg);border-radius:var(--ds-radius);flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.group-feature-icon .nb-icon{width:24px;height:24px}.group-dialog h3{margin:0 0 5px;font-size:13px}.group-section-intro p{color:var(--ds-text-muted);margin:0;font-size:11px;line-height:1.4}.group-facts{background:var(--ds-surface-raised);border:1px solid var(--ds-divider);border-radius:var(--ds-radius);margin:0 0 14px;padding:4px 9px}.group-facts div{border-bottom:1px solid var(--ds-divider);justify-content:space-between;gap:12px;padding:7px 0;display:flex}.group-facts div:last-child{border:0}.group-facts dt{color:var(--ds-text-muted)}.group-facts dd{overflow-wrap:anywhere;text-align:right;margin:0}.group-confirm{border:1px solid var(--ds-amber-border);border-radius:var(--ds-radius);background:var(--ds-amber-bg);margin-top:8px;padding:10px}.group-confirm p{margin:0 0 10px;line-height:1.5}.group-identity{gap:12px;display:grid}.group-identity-fields{gap:9px;display:grid}.group-identity-fields label{gap:4px;font-size:11px;font-weight:700;display:grid}.group-colors{gap:18px;display:flex}.group-colors label{align-items:center;gap:5px;font-size:11px;display:flex}.group-colors input{border:1px solid var(--ds-border-strong);background:var(--ds-surface-raised);width:28px;height:26px;padding:2px}.group-badge-disclosure{border-top:1px solid var(--ds-divider);padding-top:9px}.group-badge-disclosure summary{cursor:pointer;margin-bottom:9px;font-weight:700}.group-badge-disclosure summary .nb-icon{vertical-align:middle;margin-right:5px}.group-dialog .group-badge-editor{grid-template-columns:86px minmax(0,1fr);align-items:start;gap:7px 9px;display:grid}.group-dialog .group-badge-editor>.group-badge-preview{grid-area:1/1/span 4}.group-dialog .group-badge-editor>:not(.group-badge-preview){grid-column:2}.group-dialog .group-badge-tabs{gap:3px;margin-top:0}.group-dialog .group-badge-tabs button{padding:5px 6px;font-size:10px}.group-dialog .group-badge-editor>label{align-items:center;gap:5px;font-size:10px;display:flex}.group-dialog .group-badge-editor input[type=color]{width:28px;height:24px;padding:1px}.group-dialog .group-badge-options{max-height:180px}.group-dialog .group-badge-options button,.group-dialog .group-badge-position button{padding:0}.group-form-footer{border-top:1px solid var(--ds-divider);justify-content:flex-end;gap:6px;padding-top:10px;display:flex}.group-error,.group-load-error{background:var(--ds-danger-bg);border:1px solid var(--ds-danger-border);color:var(--ds-danger-text);border-radius:var(--ds-radius);padding:9px}.group-saving{color:var(--ds-text-muted);margin-bottom:0;font-size:11px}.group-dialog .employment-panel{width:auto;box-shadow:none;color:inherit;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:static}.restaurant-settings-fields{border:1px solid var(--ds-divider);border-radius:var(--ds-radius);gap:9px;min-width:0;margin:8px 0 14px;padding:10px;display:grid}.restaurant-settings-fields legend{color:var(--ds-text-muted);padding:0 5px;font-size:10px}.restaurant-settings-fields>label{gap:5px;display:grid}.restaurant-settings-fields select{box-sizing:border-box;border:1px solid var(--ds-border-strong);border-radius:var(--ds-radius);background:var(--ds-surface-raised);width:100%;min-width:0;color:var(--ds-text);font:inherit;padding:7px}.restaurant-settings-help{color:var(--ds-text-muted);margin-top:4px;font-size:10px;line-height:1.4;display:block}.restaurant-seat-options{gap:6px;display:grid}.restaurant-seat-options>strong{font-size:11px}.restaurant-seat-options label{align-items:center;gap:6px;display:flex}.group-dialog .employment-details h2{display:none}.group-dialog .employment-details h3{border-top:1px solid var(--ds-divider);margin-top:12px;padding-top:12px}.group-dialog .employment-details>p{flex-wrap:wrap;align-items:center;gap:5px;margin:6px 0;display:flex}.group-dialog .employment-details>button{margin:3px 5px 3px 0}.group-employment-person{border-bottom:1px solid var(--ds-divider);align-items:center;gap:7px;padding:7px 0;display:flex}.group-employment-person strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:12px}.business-bank{gap:12px;display:grid}.business-bank-balance{border:1px solid var(--ds-amber-border);border-radius:var(--ds-radius);background:linear-gradient(180deg, var(--ds-amber-bg), var(--ds-surface-raised));text-align:center;justify-items:center;gap:4px;padding:13px 10px;display:grid}.business-bank-balance>span,.business-bank-history h3,.employment-card-title,.employment-manage-bar>span{justify-content:center;align-items:center;gap:6px;display:flex}.business-bank-balance>span{color:var(--ds-text-muted);font-size:11px}.business-bank-balance>strong{color:var(--ds-amber-text);font-variant-numeric:tabular-nums;font-size:23px}.business-bank-balance>small,.business-bank-list small{color:var(--ds-text-muted);font-size:10px}.business-bank-actions{border:1px solid var(--ds-divider);border-radius:var(--ds-radius);background:var(--ds-surface-raised);gap:8px;padding:10px;display:grid}.business-bank-actions>label{gap:5px;font-weight:700;display:grid}.business-bank-buttons{justify-content:center}.business-bank-buttons button{min-width:118px}.business-bank-history{gap:7px;display:grid}.business-bank-history h3{justify-content:center;margin:2px 0}.business-bank-list{gap:5px;max-height:260px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.business-bank-list li{border:1px solid var(--ds-divider);border-radius:var(--ds-radius);background:var(--ds-surface-raised);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;padding:8px 9px;display:grid}.business-bank-kind{font-weight:700}.business-bank-list strong{text-align:right;font-variant-numeric:tabular-nums}.business-bank-list small{grid-column:1/-1}.business-bank-in{color:var(--ds-primary)}.business-bank-out{color:var(--ds-danger-text)}.business-bank-empty{color:var(--ds-text-muted);text-align:center;margin:0;padding:16px 8px}.business-bank-pager{justify-content:center;align-items:center;gap:12px;display:flex}.business-bank-pager span{text-align:center;font-variant-numeric:tabular-nums;min-width:48px}.business-bank-pager button{min-width:34px;min-height:30px;padding:2px 8px;font-size:18px!important}.employment-details{gap:9px;display:grid}.employment-card{border:1px solid var(--ds-divider);border-radius:var(--ds-radius);background:var(--ds-surface-raised);gap:8px;padding:10px;display:grid}.employment-card-title{color:var(--ds-text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.employment-overview .group-facts{margin:0}.employment-overview>p{border-top:1px solid var(--ds-divider);text-align:center;justify-content:center;margin:0;padding-top:5px}.employment-terms form{gap:8px;display:grid}.employment-terms form label{gap:4px;display:grid}.employment-terms form button{justify-self:center;min-width:150px}.employment-terms form>p{color:var(--ds-text-muted);text-align:center;margin:0;font-size:10px}.employment-manage-bar{border:1px solid var(--ds-divider);border-radius:var(--ds-radius);background:var(--ds-surface-sunken);justify-items:center;gap:8px;padding:10px;display:grid}.employment-roster h3{border-bottom:1px solid var(--ds-divider);justify-content:center;align-items:center;gap:6px;margin:0;padding-bottom:6px;display:flex}.employment-roster h3:not(:first-child){margin-top:5px}.employment-roster h3 small{background:var(--ds-surface-sunken);min-width:18px;height:18px;color:var(--ds-text-muted);border-radius:10px;place-items:center;padding:0 4px;font-size:10px;display:inline-grid}.employment-roster>p{color:var(--ds-text-muted);text-align:center;margin:0}.employment-roster{gap:5px;padding:6px 9px}.employment-disclosure{min-width:0}.employment-disclosure+.employment-disclosure{border-top:1px solid var(--ds-divider)}.employment-disclosure summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;min-height:32px;font-weight:800;list-style:none;display:flex}.employment-disclosure summary::-webkit-details-marker{display:none}.employment-disclosure summary:after{content:"⌄";color:var(--ds-text-muted)}.employment-disclosure[open] summary:after{content:"⌃"}.employment-disclosure summary>span{align-items:center;gap:6px;display:flex}.employment-disclosure summary>small{background:var(--ds-surface-sunken);min-width:18px;height:18px;color:var(--ds-text-muted);border-radius:10px;place-items:center;margin-left:auto;padding:0 4px;font-size:10px;display:inline-grid}.employment-disclosure>p{color:var(--ds-text-muted);text-align:center;margin:2px 0 7px;font-size:10px}.employment-disclosure .group-employment-person{gap:6px;min-height:32px;padding:3px 0}.employment-avatar{background:var(--ds-surface-tint);border-radius:4px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid;overflow:hidden}.employment-avatar img{width:auto;max-width:28px;height:auto;max-height:28px;image-rendering:pixelated;display:block}.employment-avatar .nb-icon{width:16px;height:16px}.employment-disclosure .group-employment-person strong{font-size:11px}.employment-disclosure .employment-person-action{width:24px;height:24px;padding:3px}.employment-disclosure .employment-person-action .nb-icon{width:14px;height:14px}.employment-details>.group-primary{justify-self:center;min-width:155px}.employment-details>p:has(+button){justify-content:center}@media (width<=420px){.business-bank-buttons{grid-template-columns:1fr 1fr;display:grid}.business-bank-buttons button{min-width:0}}@media (width<=600px){.group-summary{width:min(280px,100vw - 12px)}.group-dialog{max-height:calc(100dvh - 16px)}.group-person-tools{margin-left:0}}.group-dialog .group-dialog-header .group-dialog-close{border:2px solid var(--ds-close-border);border-radius:var(--ds-radius-sm);background:repeating-linear-gradient(var(--ds-close-top), var(--ds-close-top) 50%, var(--ds-close-bottom) 50%, var(--ds-close-bottom) 100%);color:#fff;width:22px;height:22px;padding:0;box-shadow:0 0 0 1.5px #fff}.group-dialog .group-dialog-header .group-dialog-close:hover:not(:disabled){background:repeating-linear-gradient(var(--ds-close-top), var(--ds-close-top) 50%, var(--ds-close-bottom) 50%, var(--ds-close-bottom) 100%);border-color:var(--ds-close-border);filter:brightness(1.2)}.group-dialog-close .nb-icon{stroke-width:3px;width:12px;height:12px}.group-lease-fields{grid-template-columns:1fr 110px;gap:10px;margin:10px 0;display:grid}.group-lease-fields label{flex-direction:column;gap:5px;font-weight:700;display:flex}.group-lease-fields input{box-sizing:border-box;width:100%}.group-lease-note{color:var(--ds-text-muted);font-size:11px;line-height:1.5}
