* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f0f2f5; display: flex; min-height: 100vh; color: #1a1a2e; }

.sidebar { width: 280px; background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 0; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; }
.sidebar-brand { padding: 20px 20px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 4px; }
.sidebar-brand h2 { font-size: 15px; color: #e0e0e0; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700; }
.sidebar-group { margin-bottom: 4px; }
.sidebar-group-title { padding: 10px 20px 4px; font-size: 10px; color: #667eea; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.sidebar a { display: block; padding: 9px 20px 9px 24px; color: #a0a0c0; text-decoration: none; font-size: 13px; transition: all 0.15s; border-left: 3px solid transparent; }
.sidebar a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.sidebar a.active { background: rgba(79,195,247,0.1); color: #4fc3f7; border-left-color: #4fc3f7; font-weight: 600; }
.sidebar .badge { float: right; background: rgba(255,255,255,0.06); color: #a0a0c0; border-radius: 8px; padding: 1px 7px; font-size: 10px; font-weight: 600; }
.sidebar a.active .badge { background: rgba(79,195,247,0.2); color: #4fc3f7; }
.main { margin-left: 280px; flex: 1; padding: 30px 40px; }
.header { margin-bottom: 24px; }
.header h1 { font-size: 24px; font-weight: 700; color: #1a1a2e; }
.header p { color: #666; font-size: 14px; margin-top: 4px; }
.toolbar { margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar a { display: inline-block; padding: 6px 16px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; border: 1px solid #d0d0d0; color: #555; background: #fff; }
.toolbar a:hover { border-color: #4fc3f7; color: #0288d1; }
.toolbar a.active { background: #0288d1; color: #fff; border-color: #0288d1; }
.table-wrap { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
thead th { background: #f8f9fa; text-align: center; padding: 6px 4px; font-weight: 600; color: #444; border: 1px solid #e0e0e0; white-space: nowrap; }
td { padding: 4px 6px; border: 1px solid #eee; color: #333; }
tr:hover td { background: #f0f7ff; }
.count { margin-top: 12px; font-size: 13px; color: #888; }
.matrix { font-size: 12px; }
.matrix th { position: sticky; top: 0; z-index: 2; background: #f8f9fa; }
.matrix td:first-child { position: sticky; left: 0; background: #f8f9fa; font-weight: 600; z-index: 1; border-right: 2px solid #e0e0e0; }
.matrix td.cell-yes { text-align: center; background: #d4edda; color: #155724; font-size: 16px; }
.matrix td.cell-no { text-align: center; background: #fff; color: #ddd; }
