.pm-category-row { display: flex; align-items: center; min-height: 39px; margin-bottom: 4px; border-radius: 5px; color: #6a788c; }
.pm-category-row.active { color: #2869db; background: #edf3ff; }
.pm-category-row:hover { background: #f2f6fc; }
.pm-category-select { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; padding: 9px 0 9px 9px; border: 0; color: inherit; background: transparent; text-align: left; }
.pm-category-select span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-category-row.active .pm-category-select { font-weight: 600; }
.pm-category-select svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linejoin: round; }
.pm-category-action { display: grid; place-items: center; flex: 0 0 25px; height: 27px; padding: 0; margin: 0 2px 0 4px; border: 0; border-radius: 4px; color: inherit; background: transparent; }
.pm-category-action svg { width: 18px; height: 18px; fill: currentColor; }
.pm-category-action:hover, .pm-category-action[aria-expanded=true] { color: #2869db; background: #dfeaff; }
.pm-category-menu { position: fixed; z-index: 1220; width: 140px; padding: 5px; border: 1px solid #e2e7ef; border-radius: 5px; background: #fff; box-shadow: 0 5px 20px #253b5b24; font: 12px -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif; }
.pm-category-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 10px; border: 0; border-radius: 3px; background: transparent; color: #586c89; font: inherit; cursor: pointer; }
.pm-category-menu button:not(:disabled):hover { background: #f1f5fc; }
.pm-category-menu button.danger { color: #cb5e5a; }
.pm-category-menu button:disabled { color: #b2bac7; cursor: not-allowed; }
.pm-category-menu svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pm-category-menu small { display: block; padding: 4px 8px 7px; font-size: 10px; color: #a3adbd; }
.pm-category-menu button:focus-visible { outline: 2px solid #2869db; outline-offset: -2px; }
.pm-category-dialog .pm-button.danger { background: #cf5d58; border-color: #cf5d58; }
@media (max-width: 700px) { .pm-category-row { flex: 0 0 auto; min-height: 32px; margin: 0; font-size: 11px; } .pm-category-select { padding: 7px 0 7px 10px; } .pm-category-select svg { display: none; } .pm-category-action { margin-right: 4px; } }
