:root { color: #18243d; background: #f7f9fd; font: 15px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; border-radius: 9px; padding: 10px 15px; font-weight: 650; }
.shell { min-height: 100vh; }
.card { background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; box-shadow: 0 8px 28px #1a2c5008; }
.auth-card { max-width: 420px; margin: 12vh auto; padding: 34px; }
.admin-shell { display: grid; grid-template-columns: 266px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; border-right: 1px solid #e0e5ef; background: #fff; padding: 24px 14px 18px; }
.brand { display: flex; align-items: center; gap: 13px; min-height: 64px; padding: 0 15px 23px; border-bottom: 1px solid #e7ebf2; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 44px; color: #3264df; border: 2px solid #3264df; border-radius: 15px 15px 17px 17px; font-size: 26px; line-height: 1; }
.brand strong, .brand span { display: block; }
.brand strong { color: #2e55ba; letter-spacing: .17em; font-size: 17px; }
.brand div span { color: #63708a; font-size: 11px; letter-spacing: .12em; font-weight: 750; }
.sidebar-nav { display: grid; gap: 8px; padding-top: 18px; }
.sidebar-section-label { margin: 8px 15px 0; color: #91a0bb; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.sidebar-divider { height: 1px; margin: 10px 15px 2px; background: #e7ebf2; }
.nav-tab { display: flex; align-items: center; gap: 14px; width: 100%; color: #263550; background: transparent; text-align: left; font-weight: 600; }
.sidebar .nav-tab, .nav-static { min-height: 47px; padding: 11px 15px; }
.sidebar .nav-tab:hover, .sidebar .nav-tab.active, .nav-static:hover { color: #2858cf; background: linear-gradient(90deg, #edf3ff, #f3f6ff); }
.nav-static { display: flex; align-items: center; gap: 14px; width: 100%; color: #263550; background: transparent; text-align: left; font-weight: 600; }
.sidebar .nav-tab.active { border-left: 3px solid #3366e5; padding-left: 12px; }
.nav-icon { width: 25px; color: #42577f; font-size: 22px; text-align: center; }
.sidebar .nav-tab.active .nav-icon { color: #2f62db; }
.nav-count, .count-badge { margin-left: auto; border-radius: 8px; padding: 2px 8px; background: #eef1f7; color: #44516b; font-size: 12px; font-weight: 750; }
.sidebar-footer { margin-top: auto; padding: 18px 15px 0; border-top: 1px solid #e7ebf2; }
.collapse-button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 0; color: #667085; background: transparent; text-align: left; font-size: 13px; }
.sign-out { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 0; color: #263550; background: transparent; text-align: left; }
.main-content { min-width: 0; padding: 26px 28px 38px; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 67px; padding-bottom: 18px; border-bottom: 1px solid #e0e5ef; }
.heading-line { display: flex; align-items: baseline; gap: 9px; }
.header-count { border-radius: 7px; padding: 2px 7px; color: #315dcc; background: #e7edff; font-size: 12px; font-weight: 750; }
.open-label { font-size: 13px; }
.eyebrow { color: #3364d6; font-size: 11px; font-weight: 800; letter-spacing: .14em; margin: 0 0 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 30px; letter-spacing: -.035em; font-weight: 700; }
h2 { margin-bottom: 0; font-size: 19px; }
h3 { font-size: 17px; }
.user-chip { display: flex; align-items: center; gap: 11px; color: #18243d; font-weight: 650; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #4774d9; font-size: 18px; }
.chevron { margin-left: 5px; font-size: 21px; }
.muted { color: #6d7890; }
form, label { display: grid; gap: 7px; }
form { gap: 16px; margin-top: 26px; }
input, select, textarea { width: 100%; border: 1px solid #dce2ec; border-radius: 8px; padding: 10px 11px; background: #fff; color: #18243d; }
textarea { min-height: 110px; resize: vertical; }
.primary { color: #fff; background: #3565dc; }
.danger { color: #fff; background: #c43d4b; }
.secondary { color: #2f5cd0; background: #eff3ff; }
.ghost { color: #4e5b72; background: transparent; border: 1px solid #d9dfeb; }
.error { color: #b42318; min-height: 22px; }
.section-tabs { display: flex; gap: 8px; margin: 16px 0 20px; border-bottom: 1px solid #e0e5ef; }
.section-tabs .nav-tab { width: auto; padding: 10px 24px 12px; border-radius: 0; }
.section-tabs .nav-tab.active { color: #285bd2; border-bottom: 3px solid #3768de; }
.toolbar { position: relative; display: grid; grid-template-columns: minmax(260px, 1fr) 180px auto 1fr auto; gap: 12px; align-items: end; padding: 14px; margin-bottom: 16px; }
.toolbar label { color: #61708b; font-size: 12px; font-weight: 650; }
.toolbar input, .toolbar select { margin-top: 0; color: #18243d; font-size: 14px; }
.search-field { position: relative; }
.search-field input { padding-left: 38px; }
.search-icon { position: absolute; left: 12px; bottom: 8px; color: #526482; font-size: 24px; line-height: 1; }
.refresh-button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 8px; white-space: nowrap; }
.refresh-button span { font-size: 20px; }
.refresh-button em { display: none; }
.filter-dropdown { position: relative; }
.filter-button { display: flex; align-items: center; gap: 8px; color: #344054; background: #fff; border: 1px solid #dce2ec; white-space: nowrap; }
.filter-button span { color: #566a9d; font-size: 20px; transform: rotate(90deg); }
.filter-count { border-radius: 999px; padding: 1px 6px; color: #315dcc; background: #e7edff; font-size: 11px; }
.filters-popover { position: absolute; z-index: 10; top: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)); gap: 12px; width: min(560px, calc(100vw - 56px)); padding: 16px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px #18243d1a; }
.filters-popover label { color: #667085; font-size: 12px; font-weight: 650; }
.workspace { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 0; align-items: stretch; overflow: hidden; border: 1px solid #e4e9f2; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px #1a2c5008; }
.queue-card, .detail-card { min-height: 665px; border: 0; border-radius: 0; box-shadow: none; }
.queue-card { border-right: 1px solid #e4e9f2; padding: 20px 14px 18px; }
.detail-card { padding: 23px 20px 20px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 14px; }
.section-title h2 { display: flex; align-items: center; gap: 9px; }
.sort-button { color: #3262d3; background: transparent; padding: 5px; font-size: 13px; font-weight: 500; }
.queue { display: grid; gap: 9px; }
.case-row { width: 100%; text-align: left; border: 1px solid #e2e7f0; background: #fff; padding: 14px 13px; transition: border-color .15s, background .15s, box-shadow .15s; }
.case-row:hover, .case-row.selected { border-color: #6b8eeb; background: #f7f9ff; box-shadow: 0 3px 12px #3062d814; }
.case-row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.case-row strong { display: block; min-width: 0; margin-bottom: 5px; overflow-wrap: anywhere; }
.case-id { display: block; color: #263550; font-size: 12px; font-weight: 700; }
.case-reason { display: block; color: #344054; margin-bottom: 4px; }
.case-meta { color: #6c768b; font-size: 12px; }
.case-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.case-row .case-meta { display: inline-block; margin-top: 3px; }
.pill { display: inline-block; border-radius: 999px; padding: 2px 8px; background: #edf2ff; color: #315dcc; font-size: 11px; font-weight: 750; margin: 6px 5px 0 0; }
.pill.critical, .pill.high { background: #fff0ee; color: #b42318; }
.pill.low { background: #eaf8f0; color: #087443; }
.detail-card h2 { min-width: 0; margin-bottom: 5px; overflow-wrap: anywhere; }
.detail-card .section-title > div { min-width: 0; }
.inspector-header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e4e7ec; }
.inspector-header h2 { display: flex; align-items: center; gap: 8px; font-size: 21px; }
.icon-button { padding: 2px; color: #566a9d; background: transparent; font-size: 18px; }
.assignment { min-width: 100px; color: #667085; text-align: right; }
.assignment strong { display: block; margin-top: 4px; color: #10182b; }
.inspector-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(200px, .85fr); gap: 24px; padding: 24px 0 0; }
.inspector-section { min-width: 0; }
.inspector-section h3, .history-section h3 { margin-bottom: 16px; font-size: 17px; }
.content-preview { padding: 16px 0; }
.content-preview > strong { display: block; margin-top: 22px; font-size: 17px; }
.content-author, .reporter { display: flex; align-items: center; gap: 10px; color: #667085; }
.avatar.small { width: 34px; height: 34px; font-size: 15px; }
.avatar.neutral { color: #344054; background: #eef1f5; }
.content-preview details { margin-top: 22px; color: #315dcc; }
.content-preview summary, .history-section summary { cursor: pointer; color: #315dcc; font-weight: 650; }
.poll-options { display: grid; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.poll-options li { padding: 9px 10px; border-radius: 7px; background: #f5f7fb; }
.poll-result-label { display: flex; justify-content: space-between; gap: 12px; }
.poll-result-label strong { color: #566a9d; font-size: 12px; white-space: nowrap; }
.poll-result-track { height: 6px; margin: 7px 0 4px; overflow: hidden; border-radius: 99px; background: #e5eaf3; }
.poll-result-bar { display: block; height: 100%; border-radius: inherit; background: #3563d9; }
.poll-options small { color: #667085; font-size: 11px; }
.poll-question { margin-bottom: 12px; font-size: 18px; font-weight: 700; color: #17233c; }
.poll-footer { display: flex; gap: 18px; margin-top: 12px; color: #667085; font-size: 12px; }
.poll-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 16px 0 0; }
.poll-metadata div { display: grid; gap: 2px; }
.poll-metadata dt { color: #667085; font-size: 12px; }
.poll-metadata dd { margin: 0; font-weight: 650; }
.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.context-card { min-width: 0; padding: 18px; border: 1px solid #e4e9f2; border-radius: 10px; background: #fff; }
.context-card h3 { margin-bottom: 15px; }
.context-user { display: flex; align-items: center; gap: 10px; }
.context-user div { display: grid; gap: 2px; }
.context-stats { display: flex; gap: 20px; margin-top: 18px; color: #667085; font-size: 12px; }
.context-stats span { display: grid; gap: 1px; }
.context-stats strong { color: #18243d; font-size: 17px; }
.context-link { margin-top: 16px; padding: 7px 10px; font-size: 12px; }
.previous-actions ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.previous-actions li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding-bottom: 8px; border-bottom: 1px solid #edf0f5; }
.previous-actions li span { color: #667085; font-size: 12px; }
.previous-actions li small { color: #667085; font-size: 11px; }
.moderation-action-panel { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e4e7ec; }
.moderation-action-panel h3 { margin-bottom: 14px; }
.moderation-actions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.action-option { min-height: 54px; padding: 9px 8px; color: #526482; background: #fff; border: 1px solid #dce2ec; font-size: 12px; }
.action-option span { display: block; margin-top: 3px; color: #344054; }
.action-option.selected { color: #3563d9; border-color: #3563d9; background: #eff3ff; }
.save-draft { margin-left: 8px; }
.report-section { border-left: 1px solid #e4e7ec; padding-left: 24px; }
.report-section > strong { display: block; margin: 8px 0 16px; font-size: 16px; }
.report-section .reporter { margin-top: 18px; }
.history-section { margin-top: 22px; padding: 20px 0 0; border-top: 1px solid #e4e7ec; }
.timeline { display: grid; gap: 14px; margin: 16px 0 0 6px; padding-left: 18px; border-left: 1px solid #b9c8eb; }
.timeline > div { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 10px; color: #667085; font-size: 13px; }
.timeline strong { color: #10182b; font-weight: 600; }
.timeline-dot { position: absolute; left: -23px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: #566a9d; }
.action-bar { position: sticky; bottom: -20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px -20px -20px; padding: 16px 20px 20px; border-top: 1px solid #e4e7ec; background: #fff; }
.action-button { width: 100%; min-height: 48px; font-size: 15px; }
.more-actions { position: relative; }
.more-actions-menu { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 8px); display: grid; min-width: 210px; max-width: min(300px, calc(100vw - 32px)); padding: 6px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; box-shadow: 0 12px 26px #18243d1a; }
.more-actions-menu button { padding: 9px 11px; color: #344054; background: transparent; text-align: left; white-space: nowrap; }
.more-actions-menu button:hover { background: #f1f4f8; }
.more-actions-menu .menu-danger { color: #b42318; }
.more-actions-menu .menu-warning { color: #b54708; }
.detail-card .section-title { align-items: start; }
.detail-section { border-top: 1px solid #edf0f5; padding-top: 16px; margin-top: 18px; }
.report, .note { background: #f7f9fc; padding: 12px; border-radius: 9px; margin: 8px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sanction-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; padding: 8px 0; border-top: 1px solid #edf0f5; }
.note button { margin-top: 8px; }
.empty { color: #6c768b; padding: 40px 10px; text-align: center; }
.load-more { display: block; margin: 22px auto 0; color: #3262d3; background: transparent; }
.appeals-card { padding: 20px; margin-top: 18px; }
.policy-form { max-width: 650px; margin-top: 0; }
.policy-form .primary { width: fit-content; }
.archive-layout { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); gap: 24px; margin-top: 20px; }
.archive-layout > div { min-width: 0; overflow-wrap: anywhere; }
.archive-layout .case-row { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; }
.archive-text { white-space: pre-wrap; overflow-wrap: anywhere; }
#archive-search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
#archive-search-form label { flex: 1; min-width: 220px; }
#archive-detail small, #ip-ban-list small { display: block; }
@media (max-width: 820px) { .archive-layout { grid-template-columns: 1fr; } }
@media (max-width: 1120px) { .context-grid { grid-template-columns: 1fr; } .moderation-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1280px) { .toolbar { grid-template-columns: minmax(0, 1fr) 160px auto auto; } .refresh-button { justify-self: start; } }
@media (max-width: 1120px) { .admin-shell { grid-template-columns: 220px minmax(0, 1fr); } .main-content { padding: 20px; } .workspace { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .inspector-grid { grid-template-columns: 1fr; } .report-section { border-left: 0; border-top: 1px solid #e4e7ec; padding: 20px 0 0; } }
@media (max-width: 820px) { .admin-shell { display: block; } .sidebar { position: static; border-right: 0; border-bottom: 1px solid #e0e5ef; padding: 12px; } .brand { padding: 0 8px 12px; } .sidebar-nav { display: flex; overflow-x: auto; padding-top: 10px; } .sidebar .nav-tab { min-width: max-content; } .sidebar-footer { display: none; } .workspace { grid-template-columns: 1fr; } .queue-card { min-height: auto; border-right: 0; border-bottom: 1px solid #e4e9f2; } .detail-card { min-height: 420px; } }
@media (max-width: 560px) { .main-content { padding: 15px; } h1 { font-size: 25px; } .user-chip span:not(.avatar):not(.chevron) { display: none; } .toolbar { grid-template-columns: 1fr 1fr; } .search-field { grid-column: 1 / -1; } .quick-status { grid-column: 1; } .filter-button { grid-column: 2; } .refresh-button { grid-column: 1 / -1; } .filters-popover { left: 0; grid-template-columns: 1fr; } .heading-line { flex-wrap: wrap; } .moderation-actions { grid-template-columns: 1fr 1fr; } }
