.pop:has(>.scope-pop){max-height:none;overflow:visible}.pop>.scope-pop{max-height:min(560px,100vh - 170px)}.scope-pop .mi-h{font-size:var(--fs-xs);letter-spacing:.03em}.scope-row{border-radius:var(--r-xs);background:var(--surface);align-items:center;display:flex;position:relative}.scope-row>.scope-item{flex:1;min-width:0}.scope-row.managed>.scope-item{padding-right:60px}.scope-row-tools{opacity:0;transition:opacity var(--dur);align-items:center;gap:1px;display:flex;position:absolute;top:50%;right:3px;transform:translateY(-50%)}.scope-row:hover .scope-row-tools,.scope-row:focus-within .scope-row-tools,.scope-row[data-dragging] .scope-row-tools{opacity:1}@media (hover:none){.scope-row-tools{opacity:1}}.scope-grip,.cl-grip{border-radius:var(--r-xs);width:24px;height:30px;color:var(--text-3);cursor:grab;touch-action:none;flex-shrink:0;place-items:center;display:grid}.scope-grip:hover,.cl-grip:hover{color:var(--text);background:var(--surface-3)}.scope-row[data-dragging] .scope-grip,.cl-reorder-row[data-dragging] .cl-grip{cursor:grabbing}.scope-more-btn{border-radius:var(--r-xs);width:30px;height:30px;color:var(--text-2);place-items:center;display:grid}.scope-more-btn:hover,.scope-more-btn:focus-visible{background:var(--surface-3);color:var(--text)}.scope-clients.dragging .scope-row,.cl-reorder.dragging .cl-reorder-row{transition:transform var(--dur) var(--ease)}.scope-row[data-dragging],.cl-reorder-row[data-dragging]{z-index:2;box-shadow:var(--shadow-drag);position:relative;transition:none!important}.scope-clients.dragging,.cl-reorder.dragging{-webkit-user-select:none;user-select:none}@media (prefers-reduced-motion:reduce){.scope-clients.dragging .scope-row,.cl-reorder.dragging .cl-reorder-row{transition:none}}.scope-rename{cursor:text;background:var(--surface-2);gap:10px;min-height:40px}.scope-rename input{border-radius:var(--r-xs);border:1px solid var(--accent);min-width:0;height:30px;box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface);color:var(--text);font-size:var(--fs-sm);outline:none;flex:1;padding:0 8px}.scope-back{gap:8px;min-height:38px;font-weight:600}.scope-back>svg{color:var(--text-3)}.scope-pop .mi:disabled{opacity:.5;cursor:default;background:0 0}.scope-mi-l{flex-direction:column;min-width:0;padding:5px 0;line-height:1.3;display:flex}.scope-hint{color:var(--text-3);font-size:var(--fs-xs);padding:6px 8px 4px;line-height:1.45}.scope-pop .scope-add{min-height:36px;color:var(--accent);font-weight:600}.scope-pop .scope-add:hover,.scope-pop .scope-add.act,.scope-pop .scope-add:focus-visible{background:var(--accent-soft);color:var(--accent-ink)}.cl-reorder-help{color:var(--text-2);font-size:var(--fs-sm);margin:0 0 12px;line-height:1.5}.cl-reorder{border-radius:var(--r);box-shadow:var(--shadow-card);margin:0;padding:0;list-style:none}.cl-reorder-row{background:var(--surface);border-top:1px solid var(--divider);align-items:center;gap:10px;min-height:44px;padding:0 8px 0 4px;display:flex}.cl-reorder-row:first-child{border-radius:var(--r) var(--r) 0 0;border-top:0}.cl-reorder-row:last-child{border-radius:0 0 var(--r) var(--r)}.cl-reorder-name{min-width:0;font-size:var(--fs);color:var(--text);flex:1}.cl-reorder-btns{gap:2px;display:flex}.cl-create{flex-direction:column;gap:14px;display:flex}.cl-create-help{color:var(--text-3);font-size:var(--fs-sm);margin:0;line-height:1.5}.cl-onb{border-top:1px solid var(--divider);flex-direction:column;gap:12px;padding-top:12px;display:flex}.cl-onb-fields{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;padding-left:40px;display:grid}@media (max-width:560px){.cl-onb-fields{grid-template-columns:minmax(0,1fr);padding-left:0}}.hint.cl-err{color:var(--red)}.cl-created{align-items:center;gap:12px;margin-bottom:14px;display:flex}.cl-created p{color:var(--text-2);font-size:var(--fs);margin:0;line-height:1.5}.cl-created-ic{background:var(--green-soft);width:36px;height:36px;color:var(--green);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.cl-archive{color:var(--text-2);font-size:var(--fs);flex-direction:column;gap:10px;line-height:1.55;display:flex}.cl-archive p{margin:0}.cl-archive strong{color:var(--text)}.cl-rename-cell{align-items:center;gap:8px;min-width:0;display:flex}.cl-rename-cell input{border-radius:var(--r-xs);border:1px solid var(--accent);min-width:120px;height:30px;box-shadow:0 0 0 3px var(--accent-soft);background:var(--surface);color:var(--text);font-size:var(--fs-sm);outline:none;flex:1;padding:0 8px}
