/* Scope identity colors belong to editor chrome, never the artwork. */
#editScopeHeader001{position:sticky;top:0;z-index:6;background:#fff;border:2px solid #16806c;border-radius:14px;padding:12px;margin:12px 0;box-shadow:0 5px 18px #102b4820;scroll-margin-top:14px}
#editScopeTabs001{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0}
#editScopeTabs001 button{display:flex;justify-content:center;align-items:center;gap:7px;min-height:58px;padding:10px 8px;border:2px solid #536986;border-radius:10px;background:#f2f6fb;color:#102b48;font-size:17px;line-height:1.4;font-weight:700;box-shadow:0 3px 0 #bac7d7;cursor:pointer;white-space:normal;min-width:0}
#editScopeTabs001 button>span:first-child{font-size:24px;flex:none}
#editScopeTabs001 button[aria-selected=true]{background:#16806c;border-color:#116151;color:#fff;font-weight:900;box-shadow:inset 0 0 0 1px #fff5}
.b-settings[data-edit-scope=individual] #editScopeTabs001 button[aria-selected=true]{background:#2563eb;border-color:#1749b8}
.b-settings[data-edit-scope=individual] #editScopeHeader001{border-color:#2563eb}
#editScopeTabs001 button:active{transform:translateY(2px);box-shadow:none}
#editScopeTabs001 button:focus-visible,#scopeProtection001 button:focus-visible{outline:3px solid #e49c06;outline-offset:3px}
#editScopeIntro001{border-left:5px solid #16806c;margin-top:12px;padding:8px 10px;background:#eaf6f1;color:#123e36}
.b-settings[data-edit-scope=individual] #editScopeIntro001{border-color:#2563eb;background:#edf3ff;color:#153876}
#editScopeIntro001 strong{display:block;font-size:16px}#editScopeIntro001 p{margin:5px 0 0;font-size:13px;overflow-wrap:anywhere;line-height:1.6}
#controls .scope048{display:none}#editIndividual001[hidden],#editGlobal001[hidden]{display:none!important}
#editIndividual001,#editGlobal001{min-width:0}#editGlobal001 details,#editIndividual001 details{min-width:0}
#scopeProtection001,#scopeAdvanced001,#bodyLayout001{border:1px solid #b9c9dc;border-radius:10px;margin:12px 0;padding:12px}
#scopeProtection001>summary,#scopeAdvanced001>summary,#bodyLayout001>summary{font-weight:700;cursor:pointer;min-height:30px}
#scopeProtection001 select{font-size:16px;min-height:44px;max-width:100%;width:100%}
.scope-direct001{background:#eef3fc;padding:10px;border-left:4px solid #2563eb;font-size:13px}
#scopeConflictDialog001{max-width:620px;width:calc(100% - 40px);box-sizing:border-box;max-height:85dvh;overflow:auto;border:2px solid #2563eb;border-radius:14px;padding:20px}
#scopeConflictDialog001 label{display:flex;align-items:center;gap:8px;min-height:48px;line-height:1.6}#scopeConflictDialog001 input{width:20px;height:20px;flex:none}
#scopeConflictRanges001{max-height:200px;overflow:auto;background:#f2f6fc;padding:10px;overflow-wrap:anywhere}#scopeConflictRanges001 p{margin:5px 0}
.scope-dialog-actions001{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.scope-dialog-actions001 button{min-height:48px;flex:1}
@media(max-width:480px){#editScopeHeader001{padding:9px;margin-left:-6px;margin-right:-6px}#editScopeTabs001 button{font-size:15px;min-height:60px;padding:8px 5px;gap:4px}#editScopeIntro001 strong{font-size:14px}#editScopeIntro001 p{font-size:12px}#editScopeIntro001{padding:6px 8px}#scopeConflictDialog001{padding:14px}}
