/* F36.W3 — GroupManageDrawer premium styles. Slate palette, Lucide icons, no emoji. */
.gmd-container { display: flex; flex-direction: column; height: 100%; padding: 0; }
.gmd-root { display: flex; flex-direction: column; gap: 0; height: 100%; min-height: 0; }
.gmd-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e2e8f0; }
.gmd-title { font-size: 16px; font-weight: 600; color: #0f172a; margin: 0; }
.gmd-body { flex: 1 1 auto; overflow-y: auto; min-height: 0; padding: 12px 12px 20px; }
.gmd-loading, .gmd-empty { padding: 24px; text-align: center; color: #64748b; font-size: 14px; }
.gmd-list { display: flex; flex-direction: column; gap: 4px; }
.gmd-row { display: grid; grid-template-columns: 24px 12px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid transparent; transition: background 150ms ease-out, border-color 150ms ease-out; cursor: grab; }
.gmd-row:hover { background: #f8fafc; }
.gmd-row.is-dragging { opacity: 0.4; cursor: grabbing; }
.gmd-row.is-drop-target { background: #eff6ff; border-color: #93c5fd; }
.gmd-row.is-editing, .gmd-row.is-deleting { background: #f8fafc; border-color: #e2e8f0; grid-template-columns: 24px 12px 1fr; }
.gmd-handle { color: #94a3b8; display: inline-flex; align-items: center; justify-content: center; }
.gmd-dot { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; }
.gmd-dot.is-empty { background: transparent; border: 1.5px dashed #cbd5e1; }
.gmd-name { font-size: 14px; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmd-actions { display: flex; align-items: center; gap: 6px; }
.gmd-icon-btn { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; border: 1px solid transparent; background: transparent; color: #64748b; cursor: pointer; transition: background 150ms ease-out, color 150ms ease-out; }
.gmd-icon-btn:hover { background: #f1f5f9; color: #0f172a; }
.gmd-icon-btn.is-danger:hover { background: #fee2e2; color: #b91c1c; }
.gmd-btn-primary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; border: 1px solid #4f46e5; background: #4f46e5; color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 150ms ease-out; }
.gmd-btn-primary:hover { background: #4338ca; }
.gmd-btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 150ms ease-out; }
.gmd-btn-ghost:hover { background: #f8fafc; color: #0f172a; }
.gmd-btn-danger { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; border: 1px solid #dc2626; background: #dc2626; color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; transition: background 150ms ease-out; }
.gmd-btn-danger:hover { background: #b91c1c; }
.gmd-edit, .gmd-add { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 4px 0; }
.gmd-input { padding: 8px 10px; font-size: 14px; border: 1px solid #cbd5e1; border-radius: 6px; outline: none; transition: border-color 150ms ease-out, box-shadow 150ms ease-out; }
.gmd-input:focus { border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
.gmd-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.gmd-color-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; transition: transform 100ms ease-out, border-color 150ms ease-out; display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; }
.gmd-color-swatch:hover { transform: scale(1.1); }
.gmd-color-swatch.is-selected { border-color: #0f172a; }
.gmd-color-swatch.is-none { background: #f1f5f9; border: 1.5px dashed #cbd5e1; }
.gmd-color-swatch.is-none.is-selected { border-color: #0f172a; border-style: solid; }
.gmd-edit-actions { display: flex; gap: 8px; }
.gmd-error { color: #b91c1c; font-size: 13px; padding: 4px 0; }
.gmd-warning { font-size: 12px; color: #92400e; margin-right: 6px; }
.gmd-add { background: #eff6ff; border: 1px solid #bfdbfe; padding: 12px; border-radius: 8px; margin-bottom: 8px; }
.gmd-footer { padding: 12px 20px; border-top: 1px solid #e2e8f0; }
.gmd-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
