.remote-section-heading{display:flex;flex-direction:column;gap:4px}.remote-section-heading h3{margin:0;font-size:15px}.remote-table-tool .remote-workspace{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start}.remote-chair-list{display:flex;flex-direction:column;gap:5px;position:sticky;top:0}.remote-chair-list .btn{justify-content:flex-start;white-space:normal;text-align:left;overflow-wrap:anywhere}.remote-chair-list [aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--active-surface)}.remote-chair-editor{min-width:0;padding-left:18px;border-left:1px solid var(--border)}.remote-chair-editor h3{margin:0}.remote-check{display:flex;align-items:center;gap:7px;color:var(--text);font-size:12px}.remote-check input{margin:0;flex:none;width:15px;height:15px}.remote-senses{margin:0;padding:10px 0 0;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.remote-senses legend{color:var(--muted);padding:0;margin-bottom:2px}.remote-sharing{font-size:12px}.remote-sharing summary{color:var(--muted);cursor:pointer;margin-bottom:8px}.remote-sharing>.field,.remote-sharing>p{margin:8px 0}.remote-invite{padding-top:10px;border-top:1px solid var(--border)}.remote-invite>input{width:100%;font-size:11px}.remote-preview{width:100%;height:320px;overflow:hidden;background:var(--inset);border:1px solid var(--border);border-radius:6px;position:relative;flex:none}.remote-preview-empty{height:100%;display:grid;place-items:center;color:var(--muted);padding:24px;text-align:center}.remote-private-preview{padding:12px;background:var(--inset);border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px}.remote-call-panel{padding-top:16px;border-top:1px solid var(--border)}.remote-camera{display:flex;flex-direction:column;gap:10px}.remote-camera-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.remote-camera-tile{margin:0;background:var(--inset);overflow:hidden;border-radius:6px;min-width:0}.remote-camera-tile video{display:block;width:100%;height:140px;object-fit:cover;background:var(--canvas)}.remote-camera-tile figcaption{padding:6px 9px;font-size:12px;color:var(--muted)}.remote-session{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.remote-session-header{display:flex;align-items:center;gap:16px;padding:12px 20px;background:var(--panel);border-bottom:1px solid var(--border);flex:none}.remote-session-header img,.remote-session-header .brand-logo{width:180px;flex:none}.remote-session-title{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.remote-session-title h1{font-size:16px;overflow-wrap:anywhere}.remote-session-title p{font-size:12px;color:var(--muted)}.remote-session-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;flex:1;min-height:0}.remote-scene-area{min-height:0;min-width:0;display:flex;flex-direction:column}.remote-live-stage{position:relative;flex:1;min-height:240px;overflow:hidden;background:var(--canvas)}.remote-live-stage>.remote-preview-empty{min-height:240px}.remote-cue{margin:0;padding:14px 20px;background:var(--inset);border-top:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;max-height:26dvh;overflow:auto}.remote-sidebar{padding:16px;overflow:auto;border-left:1px solid var(--border);display:flex;flex-direction:column;gap:18px;background:var(--panel)}.remote-sidebar h2{font-size:14px;margin:0 0 8px}.remote-sidebar .remote-camera-grid{grid-template-columns:1fr}.remote-sidebar .remote-camera-tile video{height:150px}.remote-sidebar .remote-camera>.row{gap:6px}.remote-connection-error{color:var(--danger)!important}.remote-restrictions{color:var(--muted);font-size:12px;line-height:1.6}.remote-sidebar .session-audio-host{font-size:12px;padding:0!important;background:transparent!important;color:var(--text)!important}.remote-sidebar .session-audio-host h1{font-size:14px}.remote-sidebar .session-audio-host button{font:inherit;margin:6px 0}.remote-empty-invite{padding:40px 24px;max-width:640px;margin:auto;display:flex;flex-direction:column;gap:12px}.remote-sidebar details summary{cursor:pointer}.remote-session .player-stage-layer{font-variant-numeric:tabular-nums}@media(max-width:700px){.remote-table-tool .remote-workspace{grid-template-columns:1fr;gap:12px}.remote-chair-list{position:static;flex-direction:row;flex-wrap:wrap}.remote-chair-editor{padding-left:0;border-left:0;border-top:1px solid var(--border);padding-top:12px}.remote-preview{height:250px}.remote-senses{grid-template-columns:1fr}.remote-session-header{padding:10px 12px;gap:10px;flex-wrap:wrap}.remote-session-header img,.remote-session-header .brand-logo{width:145px}.remote-session-header .btn{padding:5px 8px}.remote-session-layout{grid-template-columns:1fr;overflow:auto;display:block}.remote-scene-area{height:64dvh;min-height:400px}.remote-sidebar{border-left:0;border-top:1px solid var(--border);overflow:visible}.remote-sidebar .remote-camera-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.remote-cue{font-size:14px}.remote-session-title{min-width:125px}}@media(prefers-reduced-motion:reduce){.remote-session *{scroll-behavior:auto!important}}
.dcc-sheet{display:flex;flex-direction:column;gap:10px;min-width:0}.dcc-title{margin:0;font-size:16px}.dcc-status{color:var(--text);min-height:1.5em;margin:0}.dcc-badge{color:var(--accent);margin:0}.dcc-section{padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:10px}.dcc-heading{margin:0;font-size:14px}.dcc-field{display:flex;flex-direction:column;gap:5px;min-width:0}.dcc-label{font-size:12px}.dcc-field input,.dcc-field textarea,.dcc-sheet>input{width:100%;min-width:0}.dcc-field textarea{min-height:58px;resize:vertical}.dcc-resource,.dcc-track,.dcc-roll-options,.dcc-field-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.dcc-resource input{width:calc(50% - 12px)}.dcc-track output{min-width:50px;text-align:center}.dcc-roll-options select{min-width:0;flex:1}.dcc-entry{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:6px 0}.dcc-entries{display:flex;flex-direction:column;gap:8px}.dcc-roll-result{margin:0;overflow-wrap:anywhere}.dcc-play-note{color:var(--muted);margin:0 0 12px}.dcc-play-sheet{max-width:760px}.dcc-sheet input[readonly],.dcc-sheet textarea[readonly]{background:var(--panel);border-color:var(--subtle-border);cursor:default}@media(max-width:650px){.dcc-entry{grid-template-columns:1fr}.dcc-field-actions .btn{flex:1}}
.dtc-controls{display:flex;flex-direction:column;gap:10px}.dtc-controls p{margin:0;line-height:1.5}.dtc-move{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-top:1px solid var(--border);padding-top:10px}.dtc-move strong,.dtc-move .btn{grid-column:1/-1}.dtc-move label{font-size:12px;display:flex;flex-direction:column;gap:4px}.dtc-move input{min-width:0;width:100%}.dtc-notice{border:1px solid var(--accent);padding:10px;border-radius:6px;display:flex;flex-direction:column;gap:8px}.dtc-paused{padding:10px;border:1px solid var(--accent);color:var(--text)}.dtc-is-paused .remote-live-stage{filter:brightness(.28)}

.remote-hotkey-sheet{padding:10px 18px;border-bottom:1px solid var(--border)}.remote-hotkey-sheet label{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0}.remote-hotkey-sheet input{min-width:0;max-width:100%;box-sizing:border-box}.dtc-mood{color:var(--muted);font-size:12px}
.remote-session-guide>summary{font-weight:600}
.remote-checklist{margin:8px 0 0;padding-left:0;list-style:none;display:grid;gap:8px}
.remote-checklist li{display:grid;gap:4px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--inset)}
.remote-checklist li.done{opacity:.72}
.remote-checklist li.done strong{color:var(--muted)}
.remote-checklist li.warning{border-color:var(--accent)}
.remote-checklist li .btn{justify-self:start}
.remote-link-warning{display:grid;gap:6px;padding:10px;border:1px solid var(--accent);border-radius:6px;background:var(--inset)}
.remote-link-warning .btn{justify-self:start}
.remote-confirm-text{color:var(--danger);font-weight:600;align-self:center}
.remote-character-note .btn{margin-left:4px}
.remote-whisper-thread h4{margin:0}
.remote-whisper-log{display:grid;gap:6px;max-height:220px;overflow:auto}
.remote-whisper{margin:0;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--inset);white-space:pre-wrap;overflow-wrap:anywhere}
.remote-whisper.from-chair{border-left:3px solid var(--accent)}
.remote-chair-list [data-chair-id]{display:inline-flex;align-items:center;gap:6px}
.remote-chair-online{color:#8fd19e;font-size:10px}
.remote-unread{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--accent);color:#1c231f;font-size:11px;font-weight:700}
.dtc-whisper-thread{display:grid;gap:6px}
.dtc-whisper-thread h3{margin:0;font-size:14px}
.dtc-whisper-status{margin:4px 0 0;color:var(--muted);min-height:1.2em}
.dtc-pause{display:grid;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}
.dtc-pause p{margin:0;color:var(--danger)}
.btn-quiet{background:transparent;border-color:var(--border);color:var(--muted)}
#remote-audio>h1:first-child{display:none}
.remote-no-character .db-player-console>nav{display:none}
/* An ended or invalid invite shows only the explanation, not empty play panels. */
.remote-ended .remote-sidebar>:not(#remote-effects),.remote-ended #remote-panels,.remote-ended #remote-fullscreen,.remote-ended .remote-hotkey-sheet{display:none}
