:root { color-scheme: light; font-family: "Segoe UI", sans-serif; color: #1c1917; background: #f5f5f4; }
body { margin: 0; }
button, select, textarea, input { font: inherit; }
button { border: 1px solid #44403c; background: #fff; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
button.primary { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
button.link { border: 0; background: none; color: #1d4ed8; padding: 0; text-align: left; }
button:disabled { opacity: .45; cursor: default; }
#app { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
header.top { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 20px; }
.eyebrow { margin: 0 0 4px; color: #57534e; font-size: 13px; }
h1, h2 { margin: 0; font-weight: 500; }
h2 { font-size: 18px; }
.roles { display: flex; gap: 8px; }
.roles button[aria-pressed="true"] { background: #1c1917; color: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e7e5e4; vertical-align: top; }
tr.clickable { cursor: pointer; }
.section { background: #fff; border: 1px solid #e7e5e4; border-radius: 8px; padding: 16px; margin-top: 16px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; margin: 12px 0 0; }
.facts div { min-width: 0; }
.facts dt { color: #57534e; font-size: 13px; }
.facts dd { margin: 2px 0 0; }
.candidates { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.candidates button[aria-pressed="true"] { background: #e0e7ff; border-color: #1d4ed8; }
.level { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e7e5e4; }
.level.strong { background: #ffedd5; }
.level.possible { background: #fef3c7; }
.thread { display: grid; gap: 12px; margin-top: 12px; }
.thread article { border-top: 1px solid #e7e5e4; padding-top: 12px; }
.composer { display: grid; gap: 10px; }
.composer textarea { min-height: 88px; padding: 8px; }
.row-actions, .voice { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
audio { display: block; margin-top: 8px; }
.back { margin-bottom: 12px; }
button.override { display: block; width: 100%; margin-top: 16px; padding: 18px 12px; font-size: 28px; font-weight: 500; }
.override-record { border-color: #c2410c; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr 1fr; } header.top { display: grid; } }
