* { box-sizing: border-box; }
body { margin: 0; background: #f5f6f8; color: #1f2328; font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color: #2457c5; text-decoration: none; }
a:hover { text-decoration: underline; }
.top { background: #fff; border-bottom: 1px solid #dde1e6; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; }
.top b { font-size: 15px; }
main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }
h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 16px; margin: 24px 0 10px; }
.muted { color: #6b7280; }
.card { background: #fff; border: 1px solid #e2e5e9; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
form.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
input[type=text], input[type=email], input[type=password], input[type=file] { padding: 8px 10px; border: 1px solid #cdd3da; border-radius: 6px; font-size: 14px; }
input[type=text], input[type=email], input[type=password] { min-width: 180px; flex: 1; }
button, .btn { padding: 8px 14px; border: 0; border-radius: 6px; background: #1f2328; color: #fff; font-size: 14px; cursor: pointer; white-space: nowrap; }
button.light, .btn.light { background: #eef0f3; color: #1f2328; }
button:disabled { opacity: .5; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eef0f3; vertical-align: middle; }
th { font-size: 12px; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #fafbfc; }
tr.selected td { background: #f0f5ff !important; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; margin: 1px 2px 1px 0; }
.b-Enviada { background: #eef0f3; color: #4b5563; }
.b-Aberta { background: #e0ecff; color: #1d4ed8; }
.b-Lida { background: #dcfce7; color: #15803d; }
.b-Revisitada { background: #fef3c7; color: #a16207; }
.b-Compartilhada { background: #fae8ff; color: #a21caf; }
.b-suspeita { background: #fee2e2; color: #b91c1c; }
.err { color: #b42318; }
.bar-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 13px; }
.bar-row .lbl { width: 70px; color: #6b7280; }
.bar-row .bar { flex: 1; background: #eef0f3; border-radius: 4px; height: 14px; overflow: hidden; }
.bar-row .bar div { background: #2457c5; height: 100%; }
.bar-row .val { width: 60px; text-align: right; }
.session { border: 1px solid #e2e5e9; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.session h3 { font-size: 14px; margin: 0 0 4px; }
.session ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.session li { margin: 1px 0; }
.ua { font-size: 12px; color: #6b7280; word-break: break-all; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
label.chk { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
