[hidden]{display:none!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.md-dialog{border-radius:var(--radius-lg);background:var(--surface);width:min(560px,100vw - 24px);max-height:min(92vh,860px);color:var(--text);box-shadow:var(--shadow-lg);border:0;margin:auto;padding:0;overflow:hidden}.md-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a80}.md-form{max-height:inherit;flex-direction:column;display:flex}.md-head{border-bottom:1px solid var(--surface-muted);grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:18px 18px 14px;display:grid}.md-head h2{margin:0;font-size:1.1rem}.md-head p{color:var(--text-light);overflow-wrap:anywhere;margin:2px 0 0;font-size:.88rem}.md-head-icon{background:var(--danger-50);width:40px;height:40px;color:var(--danger-700);border-radius:12px;place-items:center;display:grid}.md-close{width:36px;height:36px;color:var(--text-light);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.md-close:hover{background:var(--surface-muted);color:var(--text)}.md-body{gap:14px;padding:16px 18px;display:grid;overflow-y:auto}.md-text{color:var(--text-light);margin:0}.md-fieldset{border:0;gap:8px;margin:0;padding:0;display:grid}.md-fieldset legend{margin-bottom:8px;font-size:.92rem;font-weight:700}.md-choice{border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);cursor:pointer;align-items:flex-start;gap:12px;padding:12px 14px;transition:border-color .15s,background .15s;display:flex}.md-choice input{accent-color:var(--danger);margin-top:3px}.md-choice span{gap:2px;display:grid}.md-choice small{color:var(--text-light)}.md-choice:has(input:checked){border-color:var(--danger);background:var(--danger-50)}.md-choice.is-disabled{opacity:.55;cursor:not-allowed}.md-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=520px){.md-row{grid-template-columns:1fr}}.md-field{gap:6px;font-size:.9rem;font-weight:600;display:grid}.md-field small{color:var(--text-light);font-weight:500}.md-field select,.md-field textarea,.md-field input{border:1.5px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;color:var(--text);font:inherit;resize:vertical;padding:10px 12px;font-weight:400}.md-field select:focus,.md-field textarea:focus,.md-field input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-100);outline:none}.md-field-short{max-width:140px}.md-extra{flex-wrap:wrap;gap:10px 18px;padding:2px 4px;display:flex}.md-check{align-items:center;gap:8px;font-size:.9rem;font-weight:600;display:inline-flex}.md-preview{border-radius:var(--radius-sm);background:var(--surface-muted);padding:12px 14px}.md-preview-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-light);align-items:center;gap:6px;margin:0 0 6px;font-size:.78rem;font-weight:700;display:flex}.md-preview-text{white-space:pre-line;margin:0;font-size:.9rem;line-height:1.45}.md-error{border-radius:var(--radius-sm);background:var(--danger-50);color:var(--danger-700);margin:0 18px;padding:10px 12px;font-size:.9rem}.md-actions{border-top:1px solid var(--surface-muted);justify-content:flex-end;gap:10px;padding:14px 18px 18px;display:flex}.md-btn,.mo-btn{min-height:40px;font:inherit;cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:.9rem;font-weight:700;text-decoration:none;transition:background .15s,color .15s,box-shadow .15s;display:inline-flex}.md-btn:disabled,.mo-btn:disabled{opacity:.6;cursor:default}.md-btn-ghost,.mo-btn-ghost{background:var(--surface-muted);color:var(--text)}.md-btn-ghost:hover,.mo-btn-ghost:hover{background:var(--border-strong)}.md-btn-danger,.mo-btn-danger{background:var(--danger);color:#fff}.md-btn-danger:hover,.mo-btn-danger:hover{background:var(--danger-700)}.mo-btn-primary{background:var(--primary);color:#fff}.mo-btn-primary:hover{background:var(--primary-hover)}.mo-btn-sm{min-height:34px;padding:0 12px;font-size:.84rem}.md-spinner{border:2px solid #ffffff73;border-top-color:#fff;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite md-spin;display:none}.is-busy .md-spinner{display:inline-block}@keyframes md-spin{to{transform:rotate(360deg)}}@media (width<=600px){.md-dialog{border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:100vw;max-width:100vw;max-height:94vh;margin:auto 0 0}.md-actions{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.md-actions .md-btn{flex:1}}.mo-body{background:var(--bg)}.mo-page{width:min(1040px,100%);margin:0 auto;padding:24px 16px 48px}@media (width<=768px){.mo-page{padding:16px 12px calc(var(--bottom-nav-height) + 24px)}}.mo-hero{border-radius:var(--radius-lg);color:#fff;box-shadow:var(--shadow-md);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px;display:flex}[dir=ltr] .mo-hero{background:linear-gradient(135deg,#0f172a,#1e3a8a)}[dir=rtl] .mo-hero{background:linear-gradient(-135deg,#0f172a,#1e3a8a)}.mo-hero h1{align-items:center;gap:10px;margin:0;font-size:clamp(1.4rem,3vw,1.8rem);display:flex}.mo-hero p{color:#ffffffc7;max-width:60ch;margin:4px 0 0}.mo-role{background:#ffffff24;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.85rem;font-weight:700;display:inline-flex}.mo-tabs{background:var(--surface);box-shadow:var(--shadow-sm);scrollbar-width:none;border-radius:999px;gap:6px;margin:18px 0 14px;padding:5px;display:flex;overflow-x:auto}.mo-tabs::-webkit-scrollbar{display:none}.mo-tab{min-height:40px;color:var(--text-light);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;flex:1 0 auto;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:.92rem;font-weight:700;display:inline-flex}.mo-tab[aria-selected=true]{background:var(--primary-50);color:var(--primary-700)}@media (width<=520px){.mo-tabs{border-radius:18px;gap:2px}.mo-tab{border-radius:14px;flex-direction:column;flex:1 1 0;gap:2px;min-width:0;min-height:54px;padding:6px 2px;font-size:.74rem;position:relative}.mo-tab .mo-count{position:absolute;top:4px}[dir=ltr] .mo-tab .mo-count{right:6px}[dir=rtl] .mo-tab .mo-count{left:6px}}.mo-count{background:var(--danger);color:#fff;border-radius:999px;min-width:22px;padding:1px 7px;font-size:.75rem}.mo-panel{gap:12px;display:grid}.mo-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.mo-pills{flex-wrap:wrap;gap:6px;display:flex}.mo-pill{border:1.5px solid var(--border-strong);background:var(--surface);min-height:34px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;padding:0 12px;font-size:.85rem;font-weight:600}.mo-pill[aria-pressed=true]{border-color:var(--primary);background:var(--primary-50);color:var(--primary-700)}.mo-search{flex:320px;gap:8px;display:flex}.mo-search input{border:1.5px solid var(--border-strong);background:var(--surface);min-width:0;min-height:42px;font:inherit;border-radius:999px;flex:1;padding:0 14px}.mo-search input:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-100);outline:none}.mo-card{border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);gap:12px;padding:16px;display:grid}.mo-item{grid-template-columns:auto 1fr;gap:14px;display:grid}.mo-thumb{background:var(--surface-muted);width:72px;height:72px;color:var(--text-light);border-radius:14px;flex:none;place-items:center;display:grid;overflow:hidden}.mo-thumb img{object-fit:cover;width:100%;height:100%}.mo-thumb.is-round{border-radius:50%;width:52px;height:52px;font-size:1.2rem;font-weight:800}.mo-main{gap:6px;min-width:0;display:grid}.mo-title{overflow-wrap:anywhere;margin:0;font-size:1rem}.mo-title a{color:inherit;text-decoration:none}.mo-title a:hover{text-decoration:underline}.mo-preview{color:var(--text-light);-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:.9rem;display:-webkit-box;overflow:hidden}.mo-meta{color:var(--text-light);flex-wrap:wrap;align-items:center;gap:6px;font-size:.84rem;display:flex}.mo-chip{background:var(--surface-muted);color:var(--text);border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:.76rem;font-weight:700;display:inline-flex}.mo-chip.is-type{background:var(--primary-50);color:var(--primary-700)}.mo-chip.is-danger{background:var(--danger-50);color:var(--danger-700)}.mo-chip.is-warning{background:var(--warning-50);color:var(--warning-700)}.mo-chip.is-success{background:var(--success-50);color:var(--success-700)}.mo-chip.is-admin{color:#fff;background:#0f172a}.mo-chip.is-operator{background:var(--accent-50);color:var(--accent)}.mo-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.mo-locked{border-radius:var(--radius-sm);background:var(--warning-50);color:var(--warning-700);align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:.86rem;font-weight:600;display:flex}.mo-reports{gap:6px;margin:0;padding:0;list-style:none;display:grid}.mo-reports li{color:var(--text-light);font-size:.86rem}.mo-reports strong{color:var(--text)}.mo-details summary{cursor:pointer;color:var(--primary-700);font-size:.86rem;font-weight:600}.mo-notice{white-space:pre-line;color:var(--text);background:var(--surface-muted);border-radius:var(--radius-sm);margin:8px 0 0;padding:10px 12px;font-size:.88rem}.mo-role-select{border:1.5px solid var(--border-strong);background:var(--surface);min-height:34px;font:inherit;border-radius:999px;padding:0 10px;font-size:.85rem;font-weight:600}.mo-empty,.mo-error,.mo-loading{text-align:center;color:var(--text-light);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm);padding:36px 16px}.mo-empty h2{color:var(--text);margin:8px 0 4px;font-size:1.05rem}.mo-empty p{margin:0}.mo-empty-icon{background:var(--success-50);width:56px;height:56px;color:var(--success-700);border-radius:50%;place-items:center;display:inline-grid}.mo-error{color:var(--danger-700)}.mo-more{justify-self:center}.mo-matrix{gap:12px;display:grid}.mo-group h3{margin:0 0 6px;font-size:.95rem}.mo-perm{border-top:1px solid var(--surface-muted);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.mo-perm:first-of-type{border-top:0}.mo-perm span{gap:2px;display:grid}.mo-perm small{color:var(--text-light)}.mo-switch{flex:none;width:46px;height:26px;position:relative}.mo-switch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.mo-switch i{background:var(--border-strong);pointer-events:none;border-radius:999px;transition:background .15s;position:absolute;inset:0}.mo-switch i:after{content:"";width:20px;height:20px;box-shadow:var(--shadow-sm);background:#fff;border-radius:50%;transition:transform .15s;position:absolute;top:3px}[dir=ltr] .mo-switch i:after{left:3px}[dir=rtl] .mo-switch i:after{right:3px}.mo-switch input:checked+i{background:var(--success)}[dir=ltr] .mo-switch input:checked+i:after{transform:translate(20px)}[dir=rtl] .mo-switch input:checked+i:after{transform:translate(-20px)}.mo-switch input:focus-visible+i{box-shadow:0 0 0 3px var(--primary-100)}.mo-switch input:disabled{cursor:not-allowed}.mo-switch input:disabled+i{opacity:.6}.mo-admin-only{color:var(--text-light);gap:4px;margin:0;font-size:.9rem;display:grid}[dir=ltr] .mo-admin-only{padding-left:18px}[dir=rtl] .mo-admin-only{padding-right:18px}.mo-savebar{border-radius:var(--radius-md);color:#fff;box-shadow:var(--shadow-lg);background:#0f172a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;display:flex;position:sticky;bottom:12px}@media (width<=768px){.mo-savebar{bottom:calc(var(--bottom-nav-height) + 12px)}}.mo-toast{z-index:1000;color:#fff;max-width:calc(100vw - 32px);box-shadow:var(--shadow-lg);background:#0f172a;border-radius:999px;padding:12px 18px;font-weight:600;position:fixed;bottom:24px}[dir=ltr] .mo-toast{left:50%;transform:translate(-50%)}[dir=rtl] .mo-toast{right:50%;transform:translate(50%)}@media (width<=768px){.mo-toast{bottom:calc(var(--bottom-nav-height) + 16px)}}@media (width<=560px){.mo-item{grid-template-columns:1fr}.mo-thumb:not(.is-round){width:100%;height:140px}.mo-actions{justify-content:stretch}.mo-actions .mo-btn{flex:auto}}.mo-individual{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.mo-individual li{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.op-dialog{width:min(720px,100vw - 24px)}.op-group h3{margin:4px 0 8px;font-size:.95rem}.op-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.op-row:last-child{border-bottom:0}.op-label{gap:2px;min-width:0;display:grid}.op-label strong{font-size:.9rem}.op-label small{color:var(--text-light);font-size:.8rem}.op-seg{border:1px solid var(--border-strong);border-radius:10px;flex-shrink:0;display:inline-flex;overflow:hidden}.op-opt{cursor:pointer;position:relative}.op-opt input{opacity:0;cursor:pointer;position:absolute;inset:0}.op-opt span{color:var(--text-light);white-space:nowrap;padding:6px 10px;font-size:.8rem;font-weight:600;display:block}.op-opt+.op-opt span{border-inline-start:1px solid var(--border-strong)}.op-opt.is-on span{background:var(--primary);color:#fff}.op-opt input:focus-visible+span{outline:2px solid var(--primary);outline-offset:-2px}@media (width<=600px){.op-row{flex-direction:column;align-items:stretch}.op-seg{width:100%}.op-opt{text-align:center;flex:1}}.mo-member-filters{flex-wrap:wrap;margin:0 0 12px}.mo-confirm{width:min(520px,100vw - 24px)}
