#directorPanel{padding:10px 12px;border-bottom:1px solid var(--line,#555);background:var(--panel,#242424);color:var(--text,#eee);font-size:12px;max-height:45vh;overflow:auto}#directorPanel[hidden],#directorDraftBody[hidden],#directorToggle[hidden],#directorBadge[hidden]{display:none!important}#directorPanel summary{font-weight:700;cursor:pointer;padding:4px 0 8px}#directorPanel select,#directorPanel textarea{width:100%;min-width:0;font:inherit;color:inherit;background:var(--surface,#303030);border:1px solid var(--line,#666);border-radius:3px;padding:7px}#directorPanel button{font:inherit;padding:6px 9px;min-height:32px;white-space:nowrap}#directorPanel p{font-size:11px;line-height:1.6;opacity:.8;margin:6px 0}.directorToolbar{display:flex;align-items:center;gap:6px;margin:6px 0}.directorToolbar select{flex:1}.directorToolbar small{flex:1;text-align:right;opacity:.7}#directorShare{width:100%;margin-top:4px;border:1px solid #57857b;background:#24483e;color:#fff}#directorToggle[aria-pressed=true]{background:#34564d;color:#fff}#directorBadge{font-size:9px;letter-spacing:.1em;padding:3px 6px;border:1px solid #57857b;border-radius:3px;margin-left:8px}body:not(.directorMode) #openStoryboard,body:not(.directorMode) #editMasterTakes,body:not(.directorMode) .referenceActions #addReference,body:not(.directorMode) .referenceActions #pasteReference,body:not(.directorMode) [data-remove-reference],body:not(.directorMode) [data-remove-link]{display:none!important}body:not(.directorMode) #note{opacity:.75}html[data-theme=light] #directorPanel{background:#f1f2f1;color:#242424}html[data-theme=light] #directorPanel select,html[data-theme=light] #directorPanel textarea{background:#fff;color:#222}

#directorBadge{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:28px;padding:4px 8px;font:700 11px/1.2 Pretendard,sans-serif;letter-spacing:0;white-space:nowrap;margin-left:auto;background:#303030;color:#ddd;border:1px solid #777;cursor:pointer}#directorBadge[aria-pressed=true]{background:#d7eee5;color:#173c2f;border:2px solid #6eb497;box-shadow:0 0 0 2px #6eb49726}#directorBadge[aria-pressed=true]::before{content:"●";margin-right:5px;color:#22724d}:root[data-theme=light] #directorBadge[aria-pressed=false]{background:#fff;color:#555;border-color:#9ca2a6}.directorMode #directorPanel{border-left:3px solid #6eb497}#directorBadge:focus-visible{outline:2px solid #91d1f0;outline-offset:2px}

#directorPlayerMode{display:none}.playerFocus #directorPlayerMode{display:inline-flex;font-weight:700}.playerFocus #directorPlayerMode[aria-pressed=true]{background:#d7eee5;color:#173c2f;border:2px solid #6eb497}
/* Reserve the same status width so ON/OFF never shifts the shared navigation. */
#directorBadge{width:92px;box-sizing:border-box}
