*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:DM Sans,system-ui,sans-serif;font-size:14px;color:#1e293b;background:#f8fafc;padding:32px 24px}#queue{max-width:860px;margin:0 auto}h1{font-size:20px;font-weight:600;margin-bottom:24px}#login-form{max-width:360px;margin:80px auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:32px}#login-form h1{text-align:center}label{display:block;font-size:13px;font-weight:500;margin-bottom:4px;margin-top:16px}input[type=email],input[type=password]{width:100%;padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px}.btn{display:inline-block;padding:7px 14px;border-radius:6px;border:none;font-size:13px;font-weight:500;cursor:pointer;line-height:1.4}.btn-primary{background:#1e293b;color:#fff;width:100%;margin-top:20px;padding:10px}.btn-approve{background:#16a34a;color:#fff}.btn-reject{background:#e2e8f0;color:#64748b}.btn-edit{background:#f1f5f9;color:#475569}.btn-delete{background:#fee2e2;color:#b91c1c}.btn-save{background:#2563eb;color:#fff}.btn-cancel{background:transparent;color:#94a3b8;padding:7px 8px}.btn-undo{background:#fef3c7;color:#92400e}.btn-bulk-approve{background:#16a34a;color:#fff}.btn-bulk-reject{background:#e2e8f0;color:#64748b}.btn-bulk-delete{background:#dc2626;color:#fff}.btn-select-all{background:#f1f5f9;color:#475569}.btn-clear{background:transparent;color:#94a3b8;padding:7px 10px}.btn:hover{opacity:.85}.btn:disabled{opacity:.4;cursor:default}#error{color:#dc2626;font-size:13px;margin-top:10px}#queue-header{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}#count{font-size:13px;color:#64748b}#sign-out{font-size:13px;color:#64748b;cursor:pointer;margin-left:auto;text-decoration:underline}#bulk-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:12px}#selected-count{font-size:13px;color:#64748b;margin-left:4px;margin-right:auto}#filter-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:10px}#filter-bar .filter-label{font-size:12px;font-weight:500;color:#64748b;margin:0}#filter-bar select,#filter-bar input[type=search]{padding:6px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;font-family:inherit;background:#fff}#filter-bar input[type=search]{flex:1;min-width:0}.event-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px 20px;margin-bottom:12px;display:flex;flex-direction:row;gap:16px;align-items:flex-start}.event-card.selected{border-color:#93c5fd;background:#f0f9ff}.event-card.pending-rejection{opacity:.45;background:#f8fafc}.event-checkbox{margin-top:3px;width:16px;height:16px;flex-shrink:0;cursor:pointer;accent-color:#2563eb}.event-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.event-content{flex:1;min-width:0}.event-title{font-weight:600;font-size:15px;margin-bottom:4px}.event-title a{color:inherit;text-decoration:none}.event-title a:hover{text-decoration:underline}.event-meta{font-size:12px;color:#64748b;margin-bottom:4px}.event-url{font-size:11px;color:#94a3b8;margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-url a{color:inherit;text-decoration:none}.event-url a:hover{text-decoration:underline;color:#64748b}.event-desc{font-size:13px;color:#475569;line-height:1.5;margin-bottom:8px}.event-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.tag{font-size:11px;font-weight:500;padding:2px 8px;border-radius:99px;background:#f1f5f9;color:#475569}.tag.civics_power{background:#dcfce7;color:#16a34a}.tag.science_tech{background:#dbeafe;color:#2563eb}.tag.business_economy{background:#e0e7ff;color:#4f46e5}.tag.culture_humanities{background:#ede9fe;color:#7c3aed}.tag.community_practice{background:#ffedd5;color:#ea580c}.dup-warning{margin-top:10px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb;overflow:hidden}.dup-warning-header{display:flex;align-items:center;justify-content:space-between;padding:7px 12px;font-size:12px;font-weight:500;color:#92400e;cursor:pointer;user-select:none}.dup-warning-header:hover{background:#fef3c7}.dup-warning-chevron{transition:transform .15s;font-style:normal}.dup-warning.open .dup-warning-chevron{transform:rotate(180deg)}.dup-warning-body{display:none;padding:10px 12px;border-top:1px solid #fde68a;font-size:13px;color:#475569;line-height:1.5}.dup-warning.open .dup-warning-body{display:block}.dup-warning-title{font-weight:600;color:#1e293b;margin-bottom:3px}.dup-warning-title a{color:inherit;text-decoration:none}.dup-warning-title a:hover{text-decoration:underline}.dup-warning-meta{font-size:12px;color:#64748b;margin-bottom:6px}.dup-warning-desc{font-size:12px;color:#64748b}.edit-form{margin-top:12px;border-top:1px solid #e2e8f0;padding-top:12px}.edit-form label{margin-top:10px}.edit-form input[type=text],.edit-form textarea,.edit-form select{width:100%;padding:7px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;font-family:inherit;color:#1e293b;background:#fff}.edit-form textarea{min-height:100px;resize:vertical;line-height:1.5}.edit-form-row{display:flex;gap:8px;margin-top:8px}.edit-checkboxes{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:6px}.edit-checkboxes label{display:flex;align-items:center;gap:5px;font-weight:400;margin-top:0;font-size:13px;cursor:pointer}.edit-checkboxes input[type=checkbox]{width:auto}.edit-form input[type=number],.edit-form input[type=datetime-local]{width:100%;padding:7px 10px;border:1px solid #cbd5e1;border-radius:6px;font-size:13px;font-family:inherit;color:#1e293b;background:#fff}.edit-price-row{display:flex;gap:10px;align-items:center;margin-top:6px}.edit-price-row label{margin-top:0;font-weight:400;font-size:13px;display:flex;align-items:center;gap:5px;flex-shrink:0}.edit-price-row input[type=checkbox]{width:auto}.edit-price-row input[type=number]{max-width:120px}.edit-toggle-row{display:flex;align-items:center;gap:8px;margin-top:10px}.edit-toggle-row label{margin-top:0;font-weight:500;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:6px}.edit-toggle-row input[type=checkbox]{width:16px;height:16px;accent-color:#2563eb;cursor:pointer}.edit-section-divider{border:none;border-top:1px solid #f1f5f9;margin:12px 0 4px}.hidden{display:none}#tabs{display:flex;gap:4px;margin-bottom:20px;border-bottom:1px solid #e2e8f0;padding-bottom:0}.tab-btn{padding:8px 16px;border:none;background:none;font-size:13px;font-weight:500;color:#64748b;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:0;transition:color .15s,border-color .15s}.tab-btn.active{color:#1e293b;border-bottom-color:#1e293b}.tab-btn .badge{display:inline-flex;align-items:center;justify-content:center;background:#f1f5f9;color:#475569;font-size:10px;font-weight:600;min-width:18px;height:18px;border-radius:99px;padding:0 5px;margin-left:6px}.tab-btn.active .badge{background:#1e293b;color:#fff}.tab-panel{display:none}.tab-panel.active{display:block}.sub-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px 20px;margin-bottom:10px;display:flex;gap:16px;align-items:flex-start}.sub-card.processed{opacity:.5}.sub-card.rejected{opacity:.4}.sub-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.sub-content{flex:1;min-width:0}.sub-url{font-size:13px;font-weight:500;color:#2563eb;text-decoration:none;word-break:break-all;display:block;margin-bottom:4px}.sub-url:hover{text-decoration:underline}.sub-meta{font-size:12px;color:#64748b;margin-bottom:4px}.sub-comment{font-size:13px;color:#475569;font-style:italic;margin-top:4px;padding:6px 10px;background:#f8fafc;border-radius:6px;border-left:2px solid #e2e8f0}.sub-status{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:99px;margin-top:6px}.sub-status.pending_review{background:#fef3c7;color:#92400e}.sub-status.approved{background:#dcfce7;color:#166534}.sub-status.processed{background:#dbeafe;color:#1d4ed8}.sub-status.rejected{background:#fee2e2;color:#991b1b}.btn-process{background:#16a34a;color:#fff}.btn-process:disabled{opacity:.5;cursor:default}#sub-list-empty{color:#64748b;font-size:14px;padding:12px 0}
