.category-setup-page .cs-intro{color:#aaa;max-width:800px;margin-bottom:20px;line-height:1.5;font-size:.95rem}.category-setup-page .cs-tabs-nav{margin-bottom:20px;border-bottom:1px solid #333;overflow-x:auto;-webkit-overflow-scrolling:touch}.category-setup-page .cs-tabs{display:flex;flex-wrap:nowrap;gap:4px;min-width:min-content}.category-setup-page .cs-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;margin:0 0 -1px;border:1px solid transparent;border-bottom:none;border-radius:10px 10px 0 0;background:#1e232980;color:#aaa;font-size:.9rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:color .15s ease,background .15s ease,border-color .15s ease}.category-setup-page .cs-tab i{font-size:.95rem;opacity:.85}.category-setup-page .cs-tab:hover{color:#e8e8e8;background:#282d34d9}.category-setup-page .cs-tab:focus-visible{outline:2px solid var(--qtag-green, #39ff14);outline-offset:2px}.category-setup-page .cs-tab[aria-selected=true]{color:var(--qtag-green, #39ff14);background:linear-gradient(180deg,#1e2329f2,#111);border-color:#333;border-bottom-color:#111;box-shadow:0 -1px 0 var(--qtag-green, #39ff14) inset}.category-setup-page .cs-tab-panels{min-height:200px}.category-setup-page .cs-tab-panel{padding-top:4px}.category-setup-page .cs-tab-panel[hidden]{display:none!important}.category-setup-page .cs-section{margin-bottom:36px}.category-setup-page .cs-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.category-setup-page .cs-section-head h3{margin:0;color:var(--qtag-green, #39ff14);font-size:1.25rem;font-weight:600}.category-setup-page .cs-section-head .cs-section-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.category-setup-page .cs-subsection-label{color:#ccc;font-size:1rem;font-weight:600;margin:20px 0 12px}.category-setup-page .cs-types-hint{color:#888;font-size:.9rem;margin:0 0 20px;max-width:800px;line-height:1.45}.category-setup-page .cs-frequency-missing{background:#ffc1071f;border:1px solid rgba(255,193,7,.45);color:#e8d4a8;padding:12px 14px;border-radius:8px;margin-bottom:16px;font-size:.9rem;line-height:1.45;max-width:800px}.category-setup-page .cs-frequency-missing code{font-size:.85em;color:#fff}.category-setup-page .cs-freq-interval-row{flex-wrap:wrap;align-items:flex-end;gap:12px}.category-setup-page .cs-freq-label{display:flex;flex-direction:column;gap:4px;font-size:.8rem;color:#aaa}.category-setup-page .cs-freq-label span:first-child{white-space:nowrap}.category-setup-page .cs-freq-num{width:5.5rem;min-width:0}.category-setup-page #freqTable .cs-freq-num{max-width:5.25rem}.category-setup-page .cs-freq-num-wrap{display:inline-flex;align-items:stretch;width:100%;max-width:7rem;vertical-align:middle;border:2px solid #333;border-radius:8px;overflow:hidden;background:#111;box-sizing:border-box}.category-setup-page #freqTable .cs-freq-num-wrap{max-width:6.25rem}.category-setup-page .cs-freq-num-wrap .search-input.cs-freq-num,.category-setup-page .cs-freq-num-wrap input[type=number].cs-freq-num{flex:1 1 auto;min-width:0;width:auto;margin:0;border:none!important;border-radius:0!important;box-shadow:none!important;padding:10px 6px 10px 10px!important;background:transparent!important;color:#fff}.category-setup-page .cs-freq-num-wrap input[type=number]::-webkit-inner-spin-button,.category-setup-page .cs-freq-num-wrap input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.category-setup-page .cs-freq-num-wrap input[type=number]{-moz-appearance:textfield;appearance:textfield}.category-setup-page .cs-freq-spin{display:flex;flex-direction:column;flex:0 0 auto;width:30px;border-left:1px solid #333;background:linear-gradient(180deg,#1e2228,#141820)}.category-setup-page .cs-freq-spin-btn{flex:1;display:flex;align-items:center;justify-content:center;min-height:22px;padding:0;margin:0;border:none;background:transparent;color:var(--qtag-green, #39ff14);cursor:pointer;font-size:.62rem;line-height:1;transition:background .15s ease,color .15s ease}.category-setup-page .cs-freq-spin-btn+.cs-freq-spin-btn{border-top:1px solid #2a2a2a}.category-setup-page .cs-freq-spin-btn:hover:not(:disabled){background:#39ff1429;color:#fff}.category-setup-page .cs-freq-spin-btn:active:not(:disabled){background:#39ff1447}.category-setup-page .cs-freq-spin-btn:disabled{opacity:.32;cursor:not-allowed;color:#555}.category-setup-page .cs-freq-spin-btn:focus-visible{outline:2px solid var(--qtag-green, #39ff14);outline-offset:-2px;z-index:1;position:relative}.category-setup-page #freqTable thead th.cs-sortable{cursor:pointer;user-select:none;white-space:nowrap}.category-setup-page #freqTable thead th.cs-sortable:hover{color:var(--qtag-green, #39ff14)}.category-setup-page #freqTable thead th.cs-sortable .sort-icon{margin-left:6px;opacity:.45;font-size:.85em;vertical-align:middle}.category-setup-page #freqTable thead th.cs-sortable:hover .sort-icon,.category-setup-page #freqTable thead th.cs-sortable.sort-asc .sort-icon,.category-setup-page #freqTable thead th.cs-sortable.sort-desc .sort-icon{opacity:1}.category-setup-page .cs-freq-interval-muted{opacity:.42;pointer-events:none}.category-setup-page .cs-freq-interval-muted input:disabled{cursor:not-allowed;opacity:1}.category-setup-page .cs-register-types-block{margin-bottom:28px}.category-setup-page .cs-register-types-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:10px}.category-setup-page .cs-register-types-head-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.category-setup-page .cs-category-chevron{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;margin:0;padding:0;border:1px solid #3a3a3a;border-radius:8px;background:#1e2329d9;color:#aaa;cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.category-setup-page .cs-category-chevron:hover{color:var(--qtag-green, #39ff14);border-color:#39ff1459;background:#39ff1414}.category-setup-page .cs-category-chevron:focus-visible{outline:2px solid var(--qtag-green, #39ff14);outline-offset:2px}.category-setup-page .cs-category-chevron.is-expanded{color:var(--qtag-green, #39ff14);border-color:#39ff1466}.category-setup-page .cs-category-chevron i{font-size:.95rem;pointer-events:none}.category-setup-page .cs-category-types-panel{margin-bottom:0}.category-setup-page .cs-add-type-inline{margin-top:12px;padding-top:4px;flex-wrap:wrap;align-items:center;gap:8px}.category-setup-page .cs-add-type-inline .cs-add-type-name{flex:1 1 200px;min-width:160px}.category-setup-page .cs-register-types-title{margin:0;color:#fff;font-size:1.1rem;font-weight:600;display:flex;align-items:center;gap:8px}.category-setup-page .cs-register-types-title i{color:var(--qtag-green, #39ff14);font-size:1rem}.category-setup-page .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.category-setup-page .cs-type-expand-col{width:44px;min-width:44px;text-align:center;vertical-align:middle}.category-setup-page .cs-type-expand-cell{width:44px;min-width:44px;text-align:center;vertical-align:middle;padding:8px 4px!important}.category-setup-page .cs-type-steps-chevron{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin:0;padding:0;border:1px solid #3a3a3a;border-radius:8px;background:#1e2329d9;color:#aaa;cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.category-setup-page .cs-type-steps-chevron:hover{color:var(--qtag-green, #39ff14);border-color:#39ff1459;background:#39ff1414}.category-setup-page .cs-type-steps-chevron:focus-visible{outline:2px solid var(--qtag-green, #39ff14);outline-offset:2px}.category-setup-page .cs-type-steps-chevron.is-expanded{color:var(--qtag-green, #39ff14);border-color:#39ff1466}.category-setup-page .cs-type-steps-chevron i{font-size:.85rem;pointer-events:none}.category-setup-page .cs-empty-types{color:#777;font-style:italic;padding:16px!important;text-align:center}.category-setup-page .cs-type-steps-row td.cs-type-steps-cell{background:#00000040;border-bottom:1px solid #2a2a2a;padding:12px 16px 16px 20px;vertical-align:top}.category-setup-page .cs-type-steps-wrap{max-width:100%}.category-setup-page .cs-steps-empty{color:#888;font-size:.88rem;line-height:1.45}.category-setup-page .cs-step-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.category-setup-page .cs-step-line{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:8px 12px;background:#1e232999;border-radius:8px;border:1px solid #333}.category-setup-page .cs-step-drag-handle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:32px;margin:-4px 0 -4px -4px;color:#666;cursor:grab;touch-action:none;user-select:none;border-radius:6px;transition:color .15s ease,background .15s ease}.category-setup-page .cs-step-drag-handle:hover,.category-setup-page .cs-step-drag-handle:focus-visible{color:var(--qtag-green, #39ff14);background:#39ff1414;outline:none}.category-setup-page .cs-step-line--dragging{opacity:.95;box-shadow:0 4px 18px #00000073;border-color:#39ff1459;z-index:2;position:relative}.category-setup-page .cs-step-line--dragging .cs-step-drag-handle{cursor:grabbing}.category-setup-page .cs-step-list--drag-active .cs-step-line:not(.cs-step-line--dragging){opacity:.72}.category-setup-page .cs-step-name{flex:1;min-width:160px;color:#ddd;font-size:.9rem}.category-setup-page .cs-register-step-toolbar{margin-bottom:12px}.category-setup-page .cs-register-step-toolbar--inline{margin-bottom:10px}.category-setup-page .cs-type-steps-cell .cs-type-steps-wrap{margin-top:4px}.category-setup-page .cs-add-step-panel{display:none;margin-bottom:16px;padding:14px 16px;background:linear-gradient(135deg,#111,#1a1a1a);border:1px solid #333;border-radius:12px;border-left:3px solid var(--qtag-green, #39ff14)}.category-setup-page .cs-add-step-panel.is-open{display:block}.category-setup-page .cs-add-step-help{margin:0 0 12px;font-size:.85rem;color:#888;line-height:1.4}.category-setup-page .cs-add-panel{display:none;margin-bottom:16px;padding:16px;background:linear-gradient(135deg,#111,#1a1a1a);border:1px solid #333;border-radius:12px}.category-setup-page .cs-add-panel.is-open{display:block}.category-setup-page .cs-form-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.category-setup-page .cs-form-row .search-input{flex:1;min-width:220px;max-width:400px}.category-setup-page .cs-freq-table-count{font-size:.85rem;font-weight:500;color:#888;margin-left:8px}.category-setup-page #frequencySection .cs-table-panel{max-height:min(85vh,920px);overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;scroll-padding-top:12px;scroll-padding-bottom:28px;padding-bottom:20px}.category-setup-page #freqTable tbody tr.cs-freq-row--custom{background:#39ff140f;box-shadow:inset 3px 0 0 var(--qtag-green, #39ff14)}.category-setup-page #freqTable tbody tr.cs-freq-row--custom .cs-freq-name{font-weight:600;color:#fff}.category-setup-page #freqTable tbody tr.cs-freq-row--custom:focus-within{background:#39ff141a}.category-setup-page .cs-table-panel{background:linear-gradient(135deg,#111,#1a1a1a);border:1px solid #333;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000004d}.category-setup-page .cs-data-table{width:100%;border-collapse:collapse;color:#e8e8e8;font-size:.95rem}.category-setup-page .cs-data-table th{background:#1e2329;color:var(--qtag-green, #39ff14);padding:14px 16px;text-align:left;font-weight:600;border-bottom:1px solid #333}.category-setup-page .cs-data-table td{padding:12px 16px;border-bottom:1px solid #2a2a2a;vertical-align:middle}.category-setup-page .cs-data-table tbody tr:hover{background:#39ff140a}.category-setup-page .cs-data-table .search-input{max-width:280px;padding:10px 14px;font-size:.95rem}.category-setup-page .cs-data-table .status-filter{min-width:180px;padding:10px 14px;font-size:.95rem}.category-setup-page .cs-table-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.category-setup-page .cs-table-actions--square{flex-wrap:nowrap;gap:6px;justify-content:flex-end}.category-setup-page .cs-table-actions--square .action-btn{width:32px;height:32px;min-width:32px;padding:0;margin:0;border:1px solid #444;border-radius:6px;background:#2a2a2a;color:#e8e8e8;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-family:inherit;box-sizing:border-box;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .15s ease}.category-setup-page .cs-table-actions--square .action-btn:hover:not(:disabled){transform:translateY(-1px);border-color:#555;background:#3a3a3a;color:#fff}.category-setup-page .cs-table-actions--square .cs-cat-save-btn:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-type-save-btn:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-freq-save-btn:hover:not(:disabled){background:#2ecc71;border-color:#2ecc71;color:#fff}.category-setup-page .cs-table-actions--square .cs-cat-toggle-active.cs-action-toggle--active,.category-setup-page .cs-table-actions--square .cs-type-toggle-active.cs-action-toggle--active,.category-setup-page .cs-table-actions--square .cs-freq-toggle-active.cs-action-toggle--active{border-color:#39ff147a;background:#39ff141f;color:var(--qtag-green, #39ff14);box-shadow:inset 0 0 0 1px #39ff140f}.category-setup-page .cs-table-actions--square .cs-cat-toggle-active.cs-action-toggle--active:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-type-toggle-active.cs-action-toggle--active:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-freq-toggle-active.cs-action-toggle--active:hover:not(:disabled){background:#f5a62338;border-color:#f5a623a6;color:#ffe08a}.category-setup-page .cs-table-actions--square .cs-cat-toggle-active.cs-action-toggle--inactive,.category-setup-page .cs-table-actions--square .cs-type-toggle-active.cs-action-toggle--inactive,.category-setup-page .cs-table-actions--square .cs-freq-toggle-active.cs-action-toggle--inactive{border-color:#e74c3c8c;background:#c0392b33;color:#ff8a80;box-shadow:inset 0 0 0 1px #e74c3c14}.category-setup-page .cs-table-actions--square .cs-cat-toggle-active.cs-action-toggle--inactive:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-type-toggle-active.cs-action-toggle--inactive:hover:not(:disabled),.category-setup-page .cs-table-actions--square .cs-freq-toggle-active.cs-action-toggle--inactive:hover:not(:disabled){background:#27ae606b;border-color:#27ae60;color:#fff}.category-setup-page .cs-table-actions--square .action-btn:focus-visible{outline:2px solid var(--qtag-green, #39ff14);outline-offset:2px}.category-setup-page .cs-table-actions--square .cs-action-toggle--inactive:focus-visible{outline-color:#ff8a80f2}.category-setup-page .cs-table-actions--square .action-btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.category-setup-page #catTable .cs-cat-icon-btn{width:32px;height:32px;min-width:32px;border-radius:6px;padding:2px}.category-setup-page #catTable .cs-cat-icon-btn img{width:26px;height:26px}.category-setup-page #catTable .cs-cat-icon-cell--standard{width:32px;height:32px;font-size:1.05rem}.category-setup-page .cs-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600}.category-setup-page .cs-badge.cs-on{background:#39ff1426;color:var(--qtag-green, #39ff14);border:1px solid rgba(57,255,20,.35)}.category-setup-page .cs-badge.cs-off{background:#ff47571f;color:#ff6b6b;border:1px solid rgba(255,71,87,.35)}.category-setup-page .btn-primary.compact,.category-setup-page .btn-load-more-sites.compact{padding:8px 16px;font-size:.9rem}#accessDenied{padding:24px;background:linear-gradient(135deg,#1a1212,#221a1a);border:1px solid #633;border-radius:12px;color:#ffb4b4;max-width:560px}#accessDenied h2{color:#ff6b6b;margin-top:0}.cs-toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%) translateY(20px);max-width:min(420px,calc(100vw - 32px));padding:14px 20px;border-radius:12px;font-size:.95rem;line-height:1.45;z-index:1200;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;box-shadow:0 12px 40px #00000080;border:1px solid rgba(255,255,255,.08);background:#1a1d24;color:#e8ecf1}.cs-toast.cs-toast--show{opacity:1;transform:translate(-50%) translateY(0)}.cs-toast.cs-toast--success{border-color:#39ff1459;box-shadow:0 12px 40px #00000080,0 0 0 1px #39ff141f inset}.cs-toast.cs-toast--error{border-color:#e05a5a73;color:#ffc9c9}.category-setup-page .cs-cat-icon-td{width:56px;vertical-align:middle}.category-setup-page .cs-cat-icon-cell--standard{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:var(--qtag-green, #39ff14);font-size:1.35rem;opacity:.9;cursor:default;user-select:none}.category-setup-page .cs-cat-icon-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:4px;border:1px solid rgba(57,255,20,.25);border-radius:10px;background:#00000059;cursor:pointer;transition:border-color .2s,background .2s}.category-setup-page .cs-cat-icon-btn:hover{border-color:var(--qtag-green, #39ff14);background:#39ff1414}.category-setup-page .cs-cat-icon-btn img{width:32px;height:32px;object-fit:contain}.category-setup-page .cs-cat-icon-btn--empty{color:#ffffff80;font-size:1.1rem}.cs-icon-modal{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.cs-icon-modal[hidden]{display:none!important}.cs-icon-modal-backdrop{position:absolute;inset:0;background:#000000b8;cursor:pointer}.cs-icon-modal-panel{position:relative;z-index:1;width:min(480px,100%);max-height:min(88vh,720px);overflow:auto;background:#1a1d24;border:1px solid rgba(57,255,20,.2);border-radius:14px;padding:20px 22px;box-shadow:0 20px 60px #0000008c}.cs-icon-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.cs-icon-modal-head h3{margin:0;font-size:1.15rem;color:#fff}.cs-icon-modal-x{background:none;border:none;color:#aaa;font-size:1.6rem;line-height:1;cursor:pointer;padding:0 4px}.cs-icon-modal-x:hover{color:var(--qtag-green, #39ff14)}.cs-icon-modal-hint{margin:0 0 16px;font-size:.9rem;color:#9aa0a8;line-height:1.45}.cs-icon-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:10px;margin-bottom:18px}.cs-icon-preset-btn{display:flex;align-items:center;justify-content:center;aspect-ratio:1;padding:10px;border:1px solid #333;border-radius:10px;background:#111;cursor:pointer;transition:border-color .2s,background .2s}.cs-icon-preset-btn:hover{border-color:var(--qtag-green, #39ff14);background:#39ff140f}.cs-icon-preset-btn img{width:36px;height:36px;object-fit:contain}.cs-icon-modal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
