:root { color-scheme: light; font-family: Inter, "Segoe UI", Arial, sans-serif; color: #20262a; background: #f5f6f7; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 15px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: 1.65rem; line-height: 1.2; letter-spacing: 0; }
h1:focus { outline: none; }
h2 { font-size: 1.1rem; letter-spacing: 0; }
button, input, textarea { font: inherit; }
.auth-shell { min-height: calc(100vh - 112px); display: grid; place-items: center; padding: 28px; }
.auth-panel { width: min(100%, 400px); padding: 28px; background: #fff; border: 1px solid #d9dde0; border-radius: 6px; box-shadow: 0 10px 26px rgba(24, 33, 38, .08); }
.auth-panel.wide { width: min(100%, 520px); }
.brand-lockup { margin-bottom: 24px; font-size: 1.25rem; font-weight: 760; color: #172026; }
.brand-lockup span { color: #b83d2d; font-weight: 650; }
.auth-form { display: grid; gap: 8px; margin-top: 20px; }
.auth-form label, .decision-region label, .removal-search label { font-size: .8rem; font-weight: 700; color: #505b62; }
.auth-form input { min-height: 42px; padding: 9px 11px; border: 1px solid #abb3b8; border-radius: 4px; }
.recovery-form { margin-top: 30px; padding-top: 22px; border-top: 1px solid #e3e6e8; }
.primary-command, .secondary-command { min-height: 42px; margin-top: 8px; padding: 10px 16px; border-radius: 4px; border: 1px solid transparent; font-weight: 700; cursor: pointer; text-align: center; }
.primary-command { color: #fff; background: #b83d2d; }
.secondary-command { color: #293238; background: #fff; border-color: #abb3b8; }
.link-command { display: inline-block; text-decoration: none; }
.message { margin: 16px 0; padding: 11px 13px; border-left: 4px solid #67757d; background: #eef1f2; }
.message.error { color: #7c2222; border-color: #bd3838; background: #fff0ef; }
.message.success { color: #215f3d; border-color: #399568; background: #edf8f1; }
.qr-wrap { width: 220px; margin: 22px auto; padding: 10px; border: 1px solid #d9dde0; }
.secret-row { padding: 12px; background: #f2f4f5; }
.secret-row dt { font-size: .75rem; color: #59656c; }
.secret-row dd { margin: 6px 0 0; font-family: Consolas, monospace; overflow-wrap: anywhere; }
.recovery-codes { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.recovery-codes code { padding: 8px; color: #172026; background: #f0f2f3; text-align: center; }
.workspace-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.eyebrow { margin-bottom: 5px; color: #a33c2e; font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.queue-count { display: flex; align-items: baseline; gap: 7px; color: #59656c; }
.queue-count strong { color: #20262a; font-size: 1.45rem; }
.moderation-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); border: 1px solid #d7dcdf; background: #fff; }
.queue-region { min-width: 0; border-right: 1px solid #d7dcdf; overflow-x: auto; }
.queue-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.queue-table th { padding: 11px 12px; background: #eef1f2; color: #525e65; text-align: left; font-size: .75rem; text-transform: uppercase; }
.queue-table td { padding: 11px 12px; border-top: 1px solid #e5e8ea; }
.queue-table tr.selected { background: #fff3ef; }
.decision-region { min-height: 560px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.moderation-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9edef; }
.subject-line { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 8px; }
.subject-line span, .approved-photo-row span { color: #68747a; }
.decision-actions { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.empty-state { margin: auto; color: #68747a; }
.removal-region { margin-top: 24px; padding: 18px; border: 1px solid #d7dcdf; background: #fff; }
.removal-search { display: grid; grid-template-columns: minmax(160px, 300px) auto; align-items: end; gap: 8px; }
.removal-search label { grid-column: 1 / -1; }
.approved-photo-row { margin-top: 18px; display: grid; grid-template-columns: 120px minmax(140px, .6fr) minmax(180px, 1fr); gap: 14px; align-items: center; }
.approved-photo { width: 120px; height: 120px; object-fit: cover; }
.approved-photo-row > div { display: grid; }
.report-moderation-layout { grid-template-columns: minmax(0, 1.5fr) minmax(340px, .9fr); }
.report-decision-region { min-height: 620px; }
.report-metadata { display: grid; gap: 8px; margin: 0; }
.report-metadata div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
.report-metadata dt { color: #59656c; font-size: .78rem; font-weight: 700; }
.report-metadata dd { margin: 0; overflow-wrap: anywhere; }
.reported-text { padding: 10px 0; border-top: 1px solid #e1e5e7; }
.reported-text h2 { margin-bottom: 5px; font-size: .82rem; color: #59656c; text-transform: uppercase; }
.reported-text p { margin: 0; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.reported-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #20262a; }
.reported-media img, .reported-media video { display: block; width: 100%; max-height: 360px; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 920px) {
    .moderation-layout { grid-template-columns: 1fr; }
    .queue-region { border-right: 0; border-bottom: 1px solid #d7dcdf; }
    .decision-region { min-height: auto; }
    .approved-photo-row { grid-template-columns: 100px 1fr; }
}
@media (max-width: 560px) {
    .auth-shell { padding: 12px; }
    .auth-panel { padding: 20px; }
    .recovery-codes { grid-template-columns: 1fr; }
    .queue-table th:nth-child(3), .queue-table td:nth-child(3) { display: none; }
    .decision-actions { grid-template-columns: 1fr; }
    .approved-photo-row { grid-template-columns: 1fr; }
}
