:root { font-family: Roboto, Arial, sans-serif; color: #263238; background: #f4f7f8; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
header { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #14532d; color: #fff; }
header a { color: inherit; font-size: 1.8rem; text-decoration: none; }
h1 { margin: 0; font-size: 1.2rem; }
h2 { margin-top: 0; color: #14532d; font-size: 1.15rem; }
main { width: min(100% - 28px, 820px); margin: 24px auto; }
section { background: #fff; padding: 20px; margin-bottom: 18px; border-radius: 16px; box-shadow: 0 3px 12px #14532d18; }
p { line-height: 1.5; }
label { display: block; margin: 12px 0 6px; font-weight: 600; }
input, select, textarea, button { min-height: 46px; padding: 10px 12px; border-radius: 9px; font: inherit; }
input, select, textarea { width: 100%; border: 1px solid #a8bdb0; background: #fff; color: #263238; }
textarea { resize: vertical; }
button { border: 1px solid #14532d; background: #14532d; color: #fff; cursor: pointer; font-weight: 600; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary { color: #14532d; background: #fff; }
:focus-visible { outline: 3px solid #e4a600; outline-offset: 3px; }
#accessForm button { margin-top: 14px; }
.toolbar, .responsible-row { display: flex; gap: 10px; align-items: center; }
.toolbar { margin-top: 16px; flex-wrap: wrap; }
.responsible-row select { flex: 1; min-width: 0; }
.responsible-row button { flex-shrink: 0; font-size: 1.3rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint, .updated { color: #52645b; font-size: .85rem; }
.action-card { border-left: 5px solid #a8bdb0; }
.action-card[data-situacao="pendente"] { border-color: #dc2626; background: #fee2e2; }
.action-card[data-situacao="em_andamento"] { border-color: #ca8a04; background: #fef3c7; }
.action-card[data-situacao="concluida"] { border-color: #15803d; background: #dcfce7; }
.badge { display: inline-block; margin-bottom: 12px; border-radius: 20px; padding: 8px 14px; background: #edf2ef; font-size: 1rem; font-weight: 700; }
.action-card[data-situacao="pendente"] .badge { background: #fee2e2; color: #991b1b; }
.action-card[data-situacao="em_andamento"] .badge { background: #fef3c7; color: #713f12; }
.action-card[data-situacao="concluida"] .badge { background: #dcfce7; color: #14532d; }
.error { color: #a5163d; font-weight: 600; }
progress { width: 100%; height: 20px; accent-color: #14532d; }
dialog { width: min(100% - 28px, 460px); border: 0; border-radius: 16px; padding: 24px; }
dialog::backdrop { background: #0008; }
@media (max-width: 540px) { .fields { grid-template-columns: 1fr; gap: 0; } }
