.setup-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.avatar-style-preview{display:flex;gap:16px;margin:18px 0}.avatar-style-preview span{display:grid;place-items:center;width:120px;height:85px;border-radius:12px;border:1px solid #7a8d98;text-shadow:0 1px 4px #000;color:white}.setup-permission{display:inline-block;margin:6px;padding:8px;border:1px solid #365563;border-radius:8px}.user-setup details{margin:12px 0}.user-setup summary{cursor:pointer;padding:8px}.user-setup input[type=color]{height:46px}.user-setup #setupError{color:#ffb3a9}.user-setup #setupError:empty{display:none}html[data-user-theme=light] .modal-card{background:#f2f6f8;color:#142731;border-color:#b8cbd5}html[data-user-theme=light] .modal :is(p,label,small){color:#334d5c}html[data-user-theme=light] .teams-panel :is(input,textarea,select){background:white;color:#142731;border-color:#a8bdc8}html[data-user-theme=light] .teams-panel button{background:#d5e8ee;color:#16303c}html[data-user-theme=light] .team-state{color:#425f70}html[data-user-theme=light] .modal .action{background:#107f9c;color:white}@media(max-width:650px){.setup-columns{grid-template-columns:1fr}}
html[data-user-theme=light] :is(.sidebar,.topbar,.room-panel,.bottom-bar){background:#eef4f7!important;color:#173340;border-color:#b8cbd5!important}html[data-user-theme=light] :is(.sidebar,.topbar,.room-panel) :is(strong,.office-name,.section-title,.team-copy small,.space-name,.room-title){color:#173340!important}html[data-user-theme=light] :is(.sidebar,.topbar,.room-panel) :is(button,.space-item,.team-item){color:#1a3b49}html[data-user-theme=light] :is(.topbar,.sidebar) button:not(.invite-btn){background:#d8e8ef!important;border-color:#a6c2cf!important}html[data-user-theme=light] :is(.sidebar,.topbar,.room-panel) small{color:#496675!important}

.character-editor{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(260px,1fr);gap:24px}.character-editor fieldset{margin:0 0 18px;padding:16px;display:grid;gap:12px;border:1px solid #36515d;border-radius:12px}.character-editor legend{padding:0 8px;font-weight:600}#characterPreview{border-radius:14px;overflow:hidden;min-height:360px}#characterPreview canvas{display:block;width:100%;cursor:grab}.character-editor>div:first-child{position:sticky;top:0;align-self:start}.character-editor output{font-size:12px;color:#aac2ce}@media(max-width:700px){.character-editor{grid-template-columns:1fr}.character-editor>div:first-child{position:static}}

.character-editor fieldset[hidden]{display:none}.character-tabs{gap:8px;margin-bottom:14px}.character-tabs button{padding:8px 10px}.character-editor input[type=range]{min-height:28px;padding:0}.character-editor input[type=color]{height:44px;min-height:44px;padding:5px}

.character-swatches{display:flex;flex-wrap:wrap;gap:8px}.character-swatches button{width:28px;height:28px;min-height:28px;padding:0;border-radius:50%;border:2px solid #b8c9cf}.character-swatches button:focus-visible{outline:3px solid #5ae4e7;outline-offset:3px}
.character-editor fieldset{max-height:380px;overflow-y:auto;align-content:start}.character-editor label{margin:4px 0}.character-editor select{min-height:40px;width:100%;font-size:14px;border-radius:8px;padding:8px}.character-editor .character-swatches button{min-width:28px;min-height:28px;width:28px;height:28px;padding:0;border-radius:50%}

#characterPreview{position:relative;height:400px;display:grid;place-items:center;background:#142832}#characterPreview canvas{height:400px;width:300px;max-width:100%;object-fit:contain}#characterPreview canvas[hidden]{display:none}#characterPreview .native-preview-status{text-align:center;padding:20px}#characterPreview>button{margin:12px}

.character-save-actions{position:sticky;top:0;z-index:2;background:#08212b;padding:12px 0;margin:0 0 16px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}html[data-user-theme=light] .character-save-actions{background:#f2f6f8}

#characterPreview .native-preview-status{position:absolute;bottom:10px;left:10px;right:10px;margin:0;padding:8px;border-radius:8px;background:#17303cdb;color:#fff;pointer-events:none;font-size:12px}

.avatar-preview-views{position:absolute;top:10px;left:10px;display:flex;gap:4px;z-index:2}.avatar-preview-views button{padding:6px 10px;font-size:12px;background:#edf2f3;color:#203842;border:1px solid #becbd0;border-radius:7px}.avatar-preview-views button[aria-pressed="true"]{background:#125c70;color:white;border-color:#125c70}
