.owner-draft-notice{padding:10px 24px;background:#fff3d9;color:#664c1d;text-align:center;font:12px system-ui;line-height:1.5}.owner-role-entry{position:fixed;bottom:18px;left:18px;z-index:100;border:1px solid #94b9aa;border-radius:11px;background:#244c40;color:white;padding:13px 17px;font-size:13px;box-shadow:0 4px 18px #1d3d3320}.owner-role-entry:hover{background:#173e32;color:white}.owner-role-entry:focus-visible{outline:3px solid #bb792a;outline-offset:3px}.owner-preview-error{position:fixed;bottom:75px;left:18px;max-width:360px;padding:14px;background:#fff4e2;color:#714510;border:1px solid #d4b582;border-radius:10px;z-index:100}.owner-role-dialog{box-sizing:border-box;width:min(1450px,96vw);height:94vh;max-width:96vw;max-height:94vh;padding:0;border:1px solid #b5cfc1;border-radius:17px;background:#f5f7f5;color:#203e36;box-shadow:0 24px 90px #15362d40}.owner-role-dialog::backdrop{background:#173b3199}.owner-simulation-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;background:white;border-bottom:1px solid #d6e1db}.owner-simulation-header p{font-size:11px;text-transform:uppercase;letter-spacing:1.1px;color:#64786c;margin:0 0 8px}.owner-simulation-header h2{font-size:25px;letter-spacing:-.6px;margin:0 0 7px}.owner-true-identity{font-size:12px;color:#476354}.owner-simulation-header button{white-space:nowrap}.owner-simulation-controls{display:flex;align-items:center;gap:16px;padding:15px 26px;background:#edf3ee}.owner-simulation-controls label{min-width:220px;font-size:12px;gap:5px;margin:0}.owner-simulation-controls select{min-height:40px}.owner-simulation-controls p{font-size:12px;line-height:1.5;color:#536d5e;margin:0;max-width:580px}.owner-simulation-controls button{white-space:nowrap;min-height:40px}.owner-simulation-frame{height:calc(94vh - 234px);min-height:250px}.owner-simulation-frame iframe{width:100%;height:100%;border:0;background:#f5f8f6}.owner-simulation-body{padding-top:49px}.role-read-only-banner{position:fixed;inset:0 0 auto;z-index:9999;display:flex;gap:14px;justify-content:space-between;align-items:center;padding:9px 16px;background:#fff3db;border-bottom:1px solid #e5c996;color:#6a501e;font-size:11px}.role-read-only-banner button{font-size:11px;min-height:30px;padding:5px 9px;white-space:nowrap}.owner-simulation-body .review-options-link{display:none}@media(max-width:650px){.owner-role-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.owner-simulation-header{padding:16px;gap:12px;align-items:flex-start}.owner-simulation-header h2{font-size:21px}.owner-simulation-controls{padding:12px 16px;gap:10px;flex-wrap:wrap}.owner-simulation-controls label{flex:1;min-width:180px}.owner-simulation-controls p{flex-basis:100%;font-size:11px}.owner-simulation-frame{height:calc(100dvh - 285px)}.owner-true-identity{overflow-wrap:anywhere}.role-read-only-banner span{display:none}.owner-role-entry{bottom:12px;left:12px}.owner-simulation-body{padding-top:49px}}
/* Let the frame fill the space left by wrapping mobile controls. */
.owner-role-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.owner-simulation-header,.owner-simulation-controls{flex:0 0 auto}.owner-simulation-frame{flex:1 1 auto;height:auto;min-height:0;overflow:hidden}.owner-simulation-frame iframe{display:block}
@media(max-height:480px){.owner-role-dialog[open]{overflow:auto}.owner-simulation-frame{flex:0 0 260px}}
@media(max-width:650px){.owner-simulation-controls label{flex:1 0 100%;min-width:0}.owner-simulation-controls label select{width:100%}.owner-simulation-controls p{flex:1 1 160px}.owner-simulation-controls button{font-size:12px;padding:8px 12px}}
/* Live role entry is distinct from the disconnected interface inspector. */
.owner-role-entry-actions{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(16px + env(safe-area-inset-bottom));z-index:100;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:6px;border:1px solid #d7e4f0;border-radius:16px;background:#fff;box-shadow:0 8px 30px #173c6426}
.owner-role-entry-actions button{position:static;min-height:44px;margin:0;font-size:13px;font-weight:650;white-space:nowrap;border-radius:10px;padding:10px 14px}
.owner-role-entry-actions .owner-role-entry{border-color:#2369a8;background:#2369a8;color:#fff;box-shadow:none}
.owner-role-entry-actions .owner-role-entry:hover{background:#19598f;color:#fff}
.owner-role-entry-actions .owner-interface-entry{border:1px solid transparent;background:transparent;color:#365572}
.owner-role-entry-actions .owner-interface-entry:hover{background:#edf4fa;color:#173c64}
.owner-role-entry-actions button:focus-visible{outline:3px solid #5c9cd7;outline-offset:3px}
.owner-role-entry-actions button:disabled{opacity:.6;cursor:wait}
.owner-role-entry-actions .owner-preview-error{position:absolute;inset:auto 0 calc(100% + 8px);margin:0;max-width:none;overflow-wrap:anywhere}
.owner-role-dialog{border-color:#bdcee0;background:#f4f7fb;color:#1c3a57;box-shadow:0 24px 90px #173c6440}
.owner-role-dialog::backdrop{background:#18365399}
.owner-simulation-header{border-color:#d7e4f0}
.owner-simulation-header p,.owner-true-identity,.owner-simulation-controls p{color:#47637e}
.owner-simulation-controls{background:#edf4fa}
.owner-simulation-header button,.owner-simulation-controls button,.owner-simulation-controls select{min-height:44px}
@media(max-width:650px){.owner-role-entry-actions{left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);gap:2px}.owner-role-entry-actions button{font-size:12px;padding:10px 12px}.owner-simulation-header{padding-top:calc(16px + env(safe-area-inset-top))}.owner-simulation-frame{padding-bottom:env(safe-area-inset-bottom)}}

#owner-app{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
@media(max-width:300px){#owner-app{padding-bottom:calc(144px + env(safe-area-inset-bottom))}}

/* Primary owner actions are part of page flow, before the workspace content. */
.owner-role-entry-actions{position:static;display:flex;justify-content:center;max-width:none;width:fit-content;margin:0 auto 28px;padding:12px;gap:12px;box-shadow:0 4px 18px #173c6410}
.owner-role-entry-actions button{font-size:15px;padding:13px 22px;min-height:48px}.owner-role-entry-actions .owner-preview-error{position:static;flex-basis:100%;margin:8px 0 0}.owner-role-entry-actions{flex-wrap:wrap}.owner-role-entry-actions button{white-space:normal}#owner-app{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:650px){.owner-role-entry-actions{width:100%;box-sizing:border-box;margin:0 auto 22px;gap:8px;max-width:100%}.owner-role-entry-actions button{flex:1;font-size:14px;padding:12px;min-height:48px}}
