:root{color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;max-width:100%;overflow-x:hidden;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji}html[data-theme=dark]{color-scheme:dark;background-color:#111827;color:#f9fafb}html[data-theme=dark] body,html[data-theme=dark] #root{background-color:#111827;color:#f9fafb}button,input,select,textarea{font:inherit}a{color:inherit}.btn{padding:8px 12px;border-radius:8px;border:1px solid #ddd;background:#fff;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}.btn.primary{background:#1a73e8;color:#fff;border-color:#1a73e8}.stack{display:flex;gap:8px;align-items:center}.sidebar{border-right:1px solid #eee;padding:16px}.main{padding:16px}table{border-collapse:collapse;width:100%}th,td{padding:8px;border-top:1px solid #eee;text-align:left}thead th{background:#fafafa}[data-theme=dark] .btn{background:#374151;border-color:#4b5563;color:#f9fafb}[data-theme=dark] .btn:hover{background:#4b5563;border-color:#6b7280}[data-theme=dark] .btn:active{background:#1f2937;border-color:#374151}[data-theme=dark] .btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}[data-theme=dark] .btn.primary:hover{background:#2563eb;border-color:#2563eb}[data-theme=dark] .btn.primary:active{background:#1d4ed8;border-color:#1d4ed8}[data-theme=dark] .btn:disabled{background:#1f2937;border-color:#374151;color:#6b7280;cursor:not-allowed}[data-theme=dark] .btn.primary:disabled{background:#1e3a8a;border-color:#1e3a8a;color:#9ca3af}[data-theme=dark] .btn.success{background:#059669;border-color:#059669;color:#fff}[data-theme=dark] .btn.success:hover{background:#047857;border-color:#047857}[data-theme=dark] .btn.warning{background:#d97706;border-color:#d97706;color:#fff}[data-theme=dark] .btn.warning:hover{background:#b45309;border-color:#b45309}[data-theme=dark] .btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}[data-theme=dark] .btn.danger:hover{background:#b91c1c;border-color:#b91c1c}[data-theme=dark] .btn.secondary{background:#6b7280;border-color:#6b7280;color:#fff}[data-theme=dark] .btn.secondary:hover{background:#4b5563;border-color:#4b5563}[data-theme=dark] .btn:focus{outline:2px solid #3b82f6;outline-offset:2px}[data-theme=dark] .btn.primary:focus{outline:2px solid #60a5fa;outline-offset:2px}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{background:#374151;border-color:#4b5563;color:#f9fafb}[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus{outline:2px solid #3b82f6;border-color:#3b82f6}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#9ca3af}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:#1f2937}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#4b5563;border-radius:4px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#6b7280}[data-theme=dark] .sidebar{border-right-color:#374151}[data-theme=dark] table{background:#1f2937;color:#f9fafb}[data-theme=dark] th,[data-theme=dark] td{border-top-color:#374151}[data-theme=dark] thead th{background:#374151}.sidebar-nav-btn{transition:background-color .2s ease}.sidebar-nav-btn:not(.active):hover{background-color:#f3f4f6!important}[data-theme=dark] .sidebar-nav-btn:not(.active):hover{background-color:#4b5563!important}.sidebar-control-btn{transition:background-color .2s ease}.sidebar-control-btn:hover{background-color:#d1d5db!important}[data-theme=dark] .sidebar-control-btn:hover{background-color:#4b5563!important}.sidebar-action-btn{transition:background-color .2s ease}.sidebar-action-btn:hover{background-color:#f3f4f6!important}[data-theme=dark] .sidebar-action-btn:hover{background-color:#4b5563!important}.btn:hover:not(:disabled){background-color:#f3f4f6!important}[data-theme=dark] .btn:hover:not(:disabled){background-color:#4b5563!important}.btn.primary:hover:not(:disabled){background-color:#2563eb!important;border-color:#2563eb!important}[data-theme=dark] .btn.primary:hover:not(:disabled){background-color:#2563eb!important;border-color:#2563eb!important}.icon-action-btn{transition:background-color .2s ease,border-color .2s ease}.icon-action-btn:hover{background-color:#f3f4f6!important;border-color:#9ca3af!important}[data-theme=dark] .icon-action-btn:hover{background-color:#4b5563!important;border-color:#6b7280!important}.btn-publish:hover{background-color:#c8e6c9!important;border-color:#a5d6a7!important}[data-theme=dark] .btn-publish:hover{background-color:#065f46!important;border-color:#047857!important}:root{--breakpoint-tablet: 1024px;--breakpoint-mobile: 768px}.responsive-table-container{overflow-x:auto}@media (max-width: 768px){.responsive-table{display:none}.responsive-card-layout{display:block}.data-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;margin-bottom:12px;transition:background-color .2s ease,border-color .2s ease}.data-card:hover{background:#f9fafb;border-color:#d1d5db}.data-card-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.data-card-content{display:flex;flex-direction:column;gap:8px}.data-card-field{display:flex;flex-direction:column;gap:4px}.data-card-label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.data-card-value{font-size:14px;color:#1f2937;word-break:break-word}.btn{min-height:44px;padding:10px 16px}.main{width:calc(100vw - 60px)!important;max-width:calc(100vw - 60px)!important;padding:12px!important;overflow-x:hidden!important}}@media (max-width: 600px){.app-sidebar{width:48px!important;padding:max(10px,env(safe-area-inset-top)) 6px 12px!important}.app-sidebar .sidebar-control-btn{min-width:36px!important;width:36px!important;height:36px!important;padding:6px!important}.app-sidebar .sidebar-nav-btn{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;margin-bottom:8px!important;border-radius:8px!important}.app-sidebar .stack{gap:0!important}.app-main{margin-left:48px!important;width:calc(100vw - 48px)!important;max-width:calc(100vw - 48px)!important;padding:0!important}.candidate-header{padding:12px 12px 10px!important}.candidate-title{font-size:20px!important;margin-bottom:10px!important}.candidate-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin-bottom:10px!important}.candidate-tab-btn{min-width:0!important;min-height:42px!important;padding:8px 10px!important;justify-content:center;white-space:nowrap}.candidate-tabs .candidate-tab-btn:last-child:nth-child(odd){grid-column:1 / -1}.candidate-filters{display:grid!important;grid-template-columns:1fr;gap:8px!important}.candidate-filters>*{width:100%!important;min-width:0!important;flex:none!important}.candidate-search,.candidate-filters select{min-height:42px!important;height:42px!important;padding:8px 12px!important;border:1px solid #d1d5db;border-radius:8px;font-size:16px;line-height:22px}[data-theme=dark] .candidate-search,[data-theme=dark] .candidate-filters select{border-color:#4b5563}.candidate-queue{border-right:0!important}.candidate-row{padding:12px!important}.candidate-row-heading{align-items:flex-start!important;gap:6px!important}.candidate-row-title{flex-basis:100%!important;min-width:0!important;font-size:15px;line-height:1.22;word-break:break-word}.candidate-pill{flex:0 0 auto}.candidate-row-meta,.candidate-row-description,.candidate-row-stats{white-space:normal!important;overflow-wrap:anywhere}.candidate-row-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}@media (max-width: 640px){.responsive-toolbar-row{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.responsive-toolbar-controls{flex-direction:column!important;gap:8px!important;margin-left:0!important;width:100%!important}.responsive-toolbar-controls>*{width:100%!important}.responsive-filters{flex-direction:column!important;gap:8px!important}.responsive-filters>*{width:100%!important}.events-toolbar-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:8px!important}.events-toolbar-row>:first-child{min-width:0}.events-toolbar-row h2{font-size:22px!important;margin-right:8px!important}.events-toolbar-actions{margin-left:0!important}.responsive-filters.events-filter-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}.responsive-filters.events-filter-grid>*{width:auto!important;min-width:0!important}.events-filter-grid .events-filter-full,.events-filter-grid .responsive-search{grid-column:1 / -1!important}.events-filter-grid select,.events-filter-grid button,.events-filter-grid input{min-width:0!important}.events-filter-grid .events-date-summary{font-size:12px!important;padding-left:10px!important;padding-right:10px!important}.events-filter-grid .events-sort-control{grid-template-columns:minmax(0,1fr) 36px!important}.edit-dialog-overlay{left:48px!important;padding:max(8px,env(safe-area-inset-top)) 10px 10px!important;align-items:stretch!important;justify-content:stretch!important}.edit-dialog-panel{max-width:none!important;width:100%!important;max-height:calc(100dvh - 18px)!important;padding:10px 0 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.edit-dialog-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px!important;align-items:center!important;margin-bottom:14px!important}.edit-dialog-title{min-width:0}.edit-dialog-title h3{font-size:28px!important;line-height:1.12!important}.edit-dialog-navigation{grid-column:1 / -1;grid-row:2;justify-content:flex-start!important}.edit-dialog-actions{grid-column:2;grid-row:1;justify-content:flex-end!important}.edit-dialog-scroll{padding-right:0!important}.event-edit-form{padding:4px 0 28px!important}.event-edit-grid-row,.event-edit-name-row{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-bottom:0!important}.event-edit-form [contenteditable=true]{min-width:0!important;width:100%!important}}@media (min-width: 769px){.responsive-table{display:table}.responsive-card-layout{display:none}}@media (max-width: 1024px){.main{padding:12px 16px!important}.responsive-toolbar-row{flex-wrap:wrap}@media (max-width: 900px){.responsive-search{min-width:100%!important;flex:1 1 100%!important}}}[data-theme=dark] .data-card{background:#1f2937;border-color:#374151}[data-theme=dark] .data-card:hover{background:#374151;border-color:#4b5563}[data-theme=dark] .data-card-label{color:#9ca3af}[data-theme=dark] .data-card-value{color:#f9fafb}
