.remote-workbench{padding:28px 30px 45px;overflow:auto;min-height:0;max-width:none}.rw-heading{gap:20px;align-items:flex-start;margin-bottom:24px}.rw-heading h1{font-family:var(--serif);font-weight:400}.rw-heading .muted{margin:9px 0 0;font-size:13px}.rw-layout{display:grid;grid-template-columns:228px minmax(0,1fr);gap:20px;align-items:start}.rw-main{min-width:0}.remote-workbench .panel{padding:21px;margin-bottom:18px;border-color:#e3ded2;background:#fffefa;border-radius:13px;box-shadow:none}.remote-workbench h2{font-size:16px;font-weight:550;margin:0 0 10px;color:#594d3c}.remote-workbench .hint{font-size:12px;line-height:1.75;color:#948570}.rw-section-heading,.rw-session-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.rw-section-heading h2{margin:0}.rw-section-heading .text-button{font-size:12px;padding:5px}.rw-device-panel{position:sticky;top:0}.rw-device-panel>.hint{margin:8px 0 17px}.rw-devices{display:grid;gap:9px}.rw-device{display:flex;align-items:center;gap:10px;text-align:left;padding:13px 10px;border:1px solid #e7e0d3;background:#faf7ef;border-radius:9px;min-width:0;width:100%;color:#72614d}.rw-device:hover,.rw-device.is-selected{background:#eee5d6;border-color:#cbb79e}.rw-device:disabled{cursor:default;opacity:.55}.rw-device-icon{font-size:23px;color:#ae9270}.rw-device>span:nth-child(2){min-width:0;flex:1}.rw-device strong{font-size:13px;font-weight:500;display:block;overflow-wrap:anywhere}.rw-device small{display:block;font-size:10px;margin-top:4px;line-height:1.5;color:#99876c}.rw-device i{width:6px;height:6px;background:#bdb2a1;border-radius:50%;flex:none}.rw-device i.online{background:#8ca374}.rw-device-panel>.secondary{width:100%;font-size:12px}.rw-empty{font-size:13px;color:#99876c;line-height:1.9}.rw-session-heading{margin-bottom:14px}.rw-session-heading h2{margin:0;font-size:17px}.rw-session-heading p{margin:4px 0 0}.rw-session-heading button{flex:none}.rw-viewport{position:relative;aspect-ratio:16/10;width:100%;min-height:200px;max-height:65vh;background:#292a26;border:2px solid #292a26;border-radius:9px;overflow:hidden;outline:none;touch-action:none}.rw-viewport:focus-visible,.rw-viewport.is-controlling:focus{border-color:#b98864;box-shadow:0 0 0 3px #cbb29455}.rw-viewport video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.rw-viewport:fullscreen{aspect-ratio:auto;max-height:none;height:100vh;border-radius:0}.rw-screen-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;color:#d8cbb7;background:radial-gradient(ellipse at center,#3d3c34,#292a26)}.rw-screen-empty>span{font-size:42px;color:#ad9b7e;margin-bottom:14px}.rw-screen-empty strong{font-family:var(--serif);font-weight:400;font-size:25px}.rw-screen-empty p{font-size:12px;color:#aca18d;line-height:1.8;max-width:350px}.rw-control-badge{position:absolute;top:10px;left:10px;font-size:10px;border-radius:5px;padding:4px 8px;background:#171916b8;color:#e8dfd0;pointer-events:none}.rw-viewport.is-controlling .rw-control-badge{background:#96704c;color:#fff}.rw-video-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9c8d76;margin:10px 0 15px}.rw-control-bar{display:flex;align-items:center;gap:14px;border-top:1px solid #e8e1d5;padding-top:13px;flex-wrap:wrap}.rw-control-bar>.text-button{margin-left:auto;font-size:12px}.rw-toggle{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400;color:#78674f}.rw-toggle input{width:16px;height:16px;accent-color:#aa7454;margin:0}.rw-input-hint{margin:9px 0}.rw-shortcuts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.rw-shortcuts button{padding:6px 10px;border-radius:6px;border:1px solid #e2d9c8;background:#f5f0e5;font-size:11px;color:#867257}.rw-shortcuts button:disabled{opacity:.45}.rw-text-form{display:flex;align-items:stretch;gap:9px}.remote-workbench textarea{display:block;width:100%;min-width:0;resize:vertical;border:1px solid #ded6c7;border-radius:8px;padding:10px 12px;font-family:inherit;font-size:12px;line-height:1.8;background:#fbf8f1;color:#74634e}.remote-workbench textarea:disabled{opacity:.55}.remote-workbench textarea:focus{outline:2px solid #bc9778;outline-offset:1px}.rw-text-form textarea{flex:1}.rw-text-form button{font-size:12px;white-space:nowrap}.rw-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rw-ai-panel>.secondary{margin-top:10px;font-size:12px}.rw-clipboard-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.rw-clipboard-panel summary,.rw-diagnostics summary{font-size:12px;color:#8d7657;cursor:pointer}.rw-clipboard-panel details textarea{margin:10px 0 5px}.rw-clipboard-panel details button{font-size:11px}.rw-diagnostics{border-top:1px solid #e8e1d5;padding-top:12px;margin-top:15px}.rw-diagnostics img{width:100%;height:auto;margin-top:12px;border-radius:6px}.rw-local-panel{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}.rw-local-panel form{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.rw-local-panel>.hint{width:100%;margin:0}.rw-error:empty{display:none}.rw-error{padding:12px 14px;background:#fbefe8;border:1px solid #e9d3c1;border-radius:8px;font-size:13px;line-height:1.8;margin:0 0 18px}.rw-local-panel button{font-size:12px}#remoteWorkbenchButton svg{width:20px;height:20px;flex:none}#remoteWorkbenchButton.active{background:#e9e0d1;color:#8d6547}.remote-workbench[hidden]{display:none!important}@media(max-width:1180px){.rw-layout{grid-template-columns:190px minmax(0,1fr);gap:14px}.remote-workbench{padding:24px 20px}.remote-workbench .panel{padding:17px}.rw-detail-grid{grid-template-columns:1fr;gap:0}}@media(max-width:780px){.remote-workbench{padding:22px 14px}.rw-heading h1{font-size:27px}.rw-heading .muted{font-size:12px}.rw-layout{grid-template-columns:1fr}.rw-device-panel{position:static}.rw-devices{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.rw-viewport{min-height:180px}.rw-video-meta{font-size:10px}.rw-text-form{flex-direction:column}.rw-control-bar{gap:10px}.rw-local-panel form{flex-direction:column;align-items:flex-start;width:100%}.rw-session-heading h2{font-size:15px}.rw-screen-empty strong{font-size:20px}.rw-heading{gap:10px}.rw-heading .secondary{font-size:12px;padding:8px 10px}.rw-device-panel>.secondary{width:auto}}

.rw-files-panel form{display:grid;grid-template-columns:170px minmax(0,1fr);gap:10px 15px;align-items:center}.rw-files-panel label{font-size:12px;color:#8a7558;margin:0}.rw-files-panel select,.rw-files-panel input{width:100%;min-width:0;font-size:12px;padding:8px 10px;border:1px solid #ded6c7;border-radius:7px;background:#fbf8f1;color:#74634e}.rw-file-actions{grid-column:2;display:flex;gap:12px}.rw-file-actions button{font-size:12px}@media(max-width:780px){.rw-files-panel form{grid-template-columns:1fr;gap:7px}.rw-files-panel form label{margin-top:8px}.rw-file-actions{grid-column:1;margin-top:8px}}

.rw-tabs{display:flex;gap:6px;border-bottom:1px solid #e3dccf;margin:-5px 0 20px;padding-bottom:10px}.rw-tabs button{background:transparent;border:1px solid transparent;border-radius:8px;padding:9px 17px;font-size:13px;color:#8c785b}.rw-tabs button[aria-selected=true]{background:#eee5d6;border-color:#dfd1bb;color:#77583c}.rw-touch-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0}.rw-touch-tools label{font-size:12px;color:#8e795c;margin:0}.rw-touch-tools select{font-size:12px;padding:6px 9px;border:1px solid #ded6c7;border-radius:6px;background:#fbf8f1}.rw-touch-tools button{font-size:12px}.rw-touch-hint{margin:7px 0}.rw-modifiers{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}.rw-modifiers button{background:#f5f0e5;border:1px solid #e2d9c8;border-radius:6px;padding:7px 12px;font-size:12px;color:#867257}.rw-modifiers button[aria-pressed=true]{background:#a77753;color:white;border-color:#946747}.rw-modifiers button:disabled{opacity:.45}.rw-viewport.fit-screen{aspect-ratio:auto;height:calc(100dvh - 160px);max-height:none}.rw-shortcuts button{min-height:34px;min-width:35px}@media(pointer:coarse){.rw-shortcuts button,.rw-modifiers button{min-height:44px;min-width:44px}.rw-control-bar .rw-toggle{min-height:44px}.rw-shortcuts{gap:7px}.rw-device{min-height:70px}.rw-touch-tools select{min-height:40px}}@media(max-width:780px){.rw-tabs{margin-top:0}.rw-tabs button{flex:1}.rw-screen-panel{padding:12px!important}.rw-touch-tools{gap:7px}.rw-modifiers .hint{width:100%}.rw-shortcuts button{min-height:40px;min-width:40px}.rw-viewport{max-height:55dvh}.rw-control-bar>.hint{width:100%;order:3}.rw-viewport.fit-screen{height:calc(100dvh - 100px)}}@media(max-height:550px) and (orientation:landscape){.remote-workbench{padding:12px}.rw-heading{margin-bottom:10px}.rw-heading h1{font-size:22px}.rw-heading .eyebrow,.rw-heading .muted{display:none}.rw-layout{grid-template-columns:160px minmax(0,1fr)}.rw-device-panel{position:static}.rw-viewport{max-height:none;aspect-ratio:16/9}.rw-viewport.fit-screen{height:calc(100dvh - 70px)}.rw-video-meta{margin:5px 0}.rw-touch-hint{display:none}}

.rw-files-panel .rw-file-unlock{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:520px;margin:18px 0}.rw-files-panel .rw-file-unlock label{font-size:13px}.rw-files-panel .rw-file-unlock input{width:100%;min-height:42px}.rw-files-panel .rw-file-unlock .hint{margin:0}.rw-file-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.rw-file-toolbar input[type=search]{flex:1;min-width:160px;width:auto}.rw-breadcrumbs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:12px 0;overflow-wrap:anywhere}.rw-breadcrumbs button{font-size:12px;background:#f4eee3;color:#806b4e;padding:6px 9px;border-radius:5px;overflow-wrap:anywhere;text-align:left}.rw-breadcrumbs>span{font-size:11px;color:#baac97}.rw-file-list{border:1px solid #e5ddce;border-radius:9px;overflow:hidden;min-height:80px;max-height:50vh;overflow-y:auto}.rw-file-row{display:flex;align-items:center;gap:10px;padding:7px 12px;background:#fcfaf4}.rw-file-row+.rw-file-row{border-top:1px solid #eee7db}.rw-file-row>button:first-child{display:flex;gap:12px;align-items:center;flex:1;min-width:0;text-align:left;background:none;padding:5px;color:#7c694f}.rw-file-row>button:first-child>span:first-child{font-size:23px;flex:none}.rw-file-row strong{font-size:13px;font-weight:500;overflow-wrap:anywhere;display:block}.rw-file-row small{font-size:10px;color:#aa987c;display:block;margin-top:4px}.rw-file-row>.text-button{font-size:12px;flex:none}.rw-file-list>.rw-empty{padding:14px}.rw-files-panel .rw-file-upload{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}.rw-file-upload label{width:100%;font-size:13px}.rw-file-upload input{flex:1;min-width:170px}.rw-file-upload>.hint{width:100%;margin:0}.rw-files-panel progress{width:100%;height:8px;accent-color:#ac7955}.rw-local-panel #rwLocalFilesForm{width:100%;border-top:1px solid #e8e0d1;padding-top:16px}.rw-local-panel #rwLocalFilesForm .hint{width:100%;margin:0}@media(max-width:780px){.rw-file-toolbar{gap:7px}.rw-file-toolbar input[type=search]{width:100%;flex-basis:100%}.rw-file-row{padding:8px}.rw-file-row>button{min-height:42px}.rw-file-row strong{font-size:12px}.rw-breadcrumbs button{min-height:36px}.rw-files-panel .rw-file-upload{align-items:stretch;flex-direction:column}.rw-files-panel .rw-file-upload input{width:100%}.rw-file-list{max-height:52dvh}.rw-file-toolbar>.rw-toggle{font-size:12px}.rw-file-unlock .primary{width:100%;min-height:44px}}

.rw-files-panel input[type=checkbox]{width:16px;min-width:16px;padding:0}.rw-file-toolbar .rw-toggle{white-space:nowrap}.rw-touch-cursor{position:absolute;width:16px;height:16px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #3b3028,0 2px 6px #0005;transform:translate(-50%,-50%);pointer-events:none;background:#b4865b55}
