.modal-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#000000a6;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-box{background:var(--c-menu-bg);border:1px solid rgba(var(--fg-rgb),.1);border-radius:12px;flex-direction:column;width:100%;max-width:500px;max-height:90svh;animation:.18s modal-in;display:flex;overflow:hidden;box-shadow:0 24px 64px #0009}@keyframes modal-in{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.modal-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:22px 24px 0;display:flex}.modal-title{color:var(--c-text-h);letter-spacing:-.2px;margin:0;font-size:17px;font-weight:700}.modal-close{background:var(--c-surface-2);width:28px;height:28px;color:var(--c-text-muted);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s;display:flex}.modal-close svg{width:13px;height:13px}.modal-close:hover{background:var(--c-surface-3);color:var(--c-text-muted)}.modal-form{flex-direction:column;gap:18px;padding:20px 24px 24px;display:flex;overflow-y:auto}.mfield-group{flex-direction:column;gap:8px;display:flex}.mfield-label-row{justify-content:space-between;align-items:center;display:flex}.mfield-label{color:var(--c-text-muted);font-size:13px;font-weight:500}.required{color:var(--c-danger-text);margin-left:2px}.optional{color:var(--c-text-faint);font-weight:400}.mfield-input{background:var(--c-surface-2);border:1px solid rgba(var(--fg-rgb),.1);width:100%;color:var(--c-text-h);box-sizing:border-box;border-radius:9px;outline:none;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,background .2s,box-shadow .2s}.mfield-input::placeholder{color:var(--c-text-disabled)}.mfield-input:hover{border-color:rgba(var(--fg-rgb),.18);background:var(--c-surface-2)}.mfield-input:focus{background:#f973160d;border-color:#f9731699;box-shadow:0 0 0 3px #f973161f}.logo-mode-toggle{background:var(--c-surface-2);border:1px solid rgba(var(--fg-rgb),.08);border-radius:8px;gap:2px;padding:2px;display:flex}.logo-mode-btn{color:var(--c-text-muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 12px;font-family:inherit;font-size:12px;font-weight:500;transition:background .15s,color .15s}.logo-mode-btn.active{color:var(--c-accent-text-strong);background:#f9731640}.logo-mode-btn:hover:not(.active){color:var(--c-text-muted)}.logo-input-row{align-items:center;gap:10px;display:flex}.logo-preview{background:var(--c-surface-2);border:1px solid rgba(var(--fg-rgb),.08);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;display:flex;overflow:hidden}.logo-preview img{object-fit:cover;width:100%;height:100%}.logo-preview svg{width:20px;height:20px;color:var(--c-text-faint)}.upload-area{background:var(--c-surface-2);border:1px dashed rgba(var(--fg-rgb),.15);color:var(--c-text-muted);cursor:pointer;border-radius:9px;flex:1;align-items:center;gap:8px;padding:10px 14px;font-size:13px;transition:border-color .2s,background .2s;display:flex}.upload-area svg{flex-shrink:0;width:16px;height:16px}.upload-area:hover{color:var(--c-text-muted);background:#f973160d;border-color:#f9731666}.upload-input-hidden{display:none}.upload-filename{color:var(--c-accent-text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.logo-clear-btn{background:var(--c-surface-2);border:1px solid rgba(var(--fg-rgb),.1);width:28px;min-width:28px;height:28px;color:var(--c-text-faint);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s;display:flex}.logo-clear-btn svg{width:11px;height:11px}.logo-clear-btn:hover{color:var(--c-danger-text);background:#ef44441a}.add-btn{color:var(--c-accent-text);cursor:pointer;white-space:nowrap;background:#f973161f;border:1px solid #f9731640;border-radius:7px;align-items:center;gap:5px;padding:4px 10px;font-family:inherit;font-size:12px;transition:background .15s;display:flex}.add-btn svg{width:11px;height:11px}.add-btn:hover{background:#f9731633}.add-btn:disabled{opacity:.4;cursor:not-allowed}.item-list{flex-direction:column;gap:8px;display:flex}.item-row{align-items:center;gap:8px;display:flex}.remove-btn{width:30px;min-width:30px;height:30px;color:var(--c-danger-text);cursor:pointer;background:#ef444412;border:1px solid #ef444426;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s;display:flex}.remove-btn svg{width:11px;height:11px}.remove-btn:hover{color:var(--c-danger-text);background:#ef444426}.user-add-row{align-items:center;gap:8px;display:flex}.user-add-row select option{background:var(--c-surface);color:var(--c-text-h)}.user-chips{flex-wrap:wrap;gap:6px;display:flex}.user-chip{color:var(--c-accent-text-strong);background:#f973161f;border:1px solid #f9731638;border-radius:20px;align-items:center;gap:6px;padding:4px 10px 4px 12px;font-size:12px;display:inline-flex}.user-chip.user-chip-me{background:#f9731633;border-color:#f9731666;padding-right:10px}.user-chip-badge{color:var(--c-purple-text);background:#f9731659;border-radius:10px;padding:1px 6px;font-size:10px;font-weight:600}.user-chip-badge button{cursor:pointer;color:var(--c-purple-text);background:0 0;border:none;justify-content:center;align-items:center;padding:0;line-height:1;transition:color .15s;display:flex}.user-chip-badge button svg{width:9px;height:9px}.user-chip-badge button:hover{color:var(--c-danger-text)}.modal-error{color:var(--c-danger-text-soft);background:#ef444414;border:1px solid #ef444433;border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;display:flex}.modal-error svg{width:14px;height:14px;color:var(--c-danger-text);flex-shrink:0}.status-toggle-row{justify-content:space-between;align-items:center;display:flex}.status-toggle-label{flex-direction:column;gap:2px;display:flex}.status-toggle-label .mfield-label{margin:0}.status-toggle-hint{color:var(--c-text-faint);font-size:11px}.modal-actions{flex-shrink:0;justify-content:flex-end;gap:10px;padding-top:4px;display:flex}.modal-cancel-btn{background:var(--c-surface-2);border:1px solid rgba(var(--fg-rgb),.1);color:var(--c-text-muted);cursor:pointer;border-radius:9px;padding:9px 18px;font-family:inherit;font-size:14px;transition:background .15s,color .15s}.modal-cancel-btn:hover{background:var(--c-surface-3);color:var(--c-text-muted)}.modal-submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#f97316,#f43f5e);border:none;border-radius:9px;align-items:center;gap:8px;padding:9px 20px;font-family:inherit;font-size:14px;font-weight:600;transition:opacity .15s,transform .15s;display:flex;box-shadow:0 4px 12px #f973164d}.modal-submit-btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.modal-submit-btn:disabled{opacity:.6;cursor:not-allowed}.modal-spinner{border:2px solid rgba(var(--fg-rgb),.3);border-top-color:#fff;border-radius:50%;flex-shrink:0;width:14px;height:14px;animation:.7s linear infinite mspin}@keyframes mspin{to{transform:rotate(360deg)}}
