:root { --cor: #0b5d4b; --fundo: #f4f7f6; --tinta: #14211d; --suave: #5b6b66; --linha: #d5dfdb; }
* { box-sizing: border-box; }
html { font-size: 17px; }
@media (min-width: 900px) { html { font-size: clamp(17px, 1.3vw, 32px); } }
body { margin: 0; background: var(--fundo); color: var(--tinta); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.45; }
.coluna { width: 100%; margin: 0 auto; padding: 0 1rem 3rem; }
@media (min-width: 900px) { .coluna { width: 80%; } }
header.topo { background: var(--cor); color: #fff; padding: 1rem; }
header.topo .coluna { padding-bottom: 0; display: flex; align-items: center; gap: .75rem; }
header.topo h1 { font-size: 1.15rem; margin: 0; flex: 1; }
header.topo a, header.topo button { color: #fff; }
header.topo button.sec { background: transparent; border-color: #fff; }
h2 { font-size: 1.3rem; margin: 1.2rem 0 .6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .8rem; margin-top: 1rem; }
.card { display: flex; flex-direction: column; gap: .3rem; min-height: 7.5rem; padding: 1rem; background: #fff; border: 1px solid var(--linha); border-radius: .8rem; color: inherit; text-decoration: none; text-align: left; font: inherit; cursor: pointer; }
.card strong { font-size: 1.05rem; }
.card span { color: var(--suave); font-size: .85rem; }
.card:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1e6fd9; outline-offset: 2px; }
.card.breve { opacity: .65; cursor: default; }
.selo { align-self: flex-start; background: #e6eeeb; border-radius: 1rem; padding: .05rem .5rem; font-size: .75rem; }
form { display: grid; gap: .8rem; background: #fff; border: 1px solid var(--linha); border-radius: .8rem; padding: 1rem; }
label { display: grid; gap: .25rem; font-weight: 600; }
label.linha { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
input, select, textarea { font: inherit; padding: .65rem; border: 1px solid #9fb0aa; border-radius: .5rem; background: #fff; width: 100%; }
input[type=checkbox] { width: 1.3rem; height: 1.3rem; flex: none; }
textarea { min-height: 7rem; }
button.pri, a.pri { background: var(--cor); color: #fff; border: 0; border-radius: .6rem; padding: .8rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; min-height: 2.75rem; }
button.sec { background: #fff; color: var(--cor); border: 2px solid var(--cor); border-radius: .6rem; padding: .6rem 1rem; font: inherit; cursor: pointer; min-height: 2.75rem; }
button.perigo { background: #fff; color: #a31616; border: 2px solid #a31616; border-radius: .6rem; padding: .6rem 1rem; font: inherit; cursor: pointer; }
.aviso { padding: .8rem 1rem; border-radius: .6rem; background: #fff7e0; border: 1px solid #e3cb7d; margin: .8rem 0; }
.ok { background: #e4f5ec; border-color: #7fc6a0; }
.err { background: #fde8e8; border-color: #e09a9a; }
.codigo { font: 700 1.6rem ui-monospace, monospace; letter-spacing: .15em; }
.abas { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1rem 0; }
.abas button[aria-pressed=true] { background: var(--cor); color: #fff; }
ul.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
ul.lista li { background: #fff; border: 1px solid var(--linha); border-radius: .6rem; padding: .8rem; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--linha); font-size: .9rem; vertical-align: top; }
tr.clicavel { cursor: pointer; } tr.clicavel:hover { background: #eef5f2; }
.hist { border-left: 3px solid var(--cor); padding-left: .8rem; margin: .8rem 0; display: grid; gap: .5rem; }
.rodape { margin-top: 2rem; color: var(--suave); font-size: .85rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.sr { position: absolute; left: -9999px; }
.neutro { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
video.previa { width: 100%; max-height: 40vh; background: #000; border-radius: .6rem; transform: scaleX(-1); }
.novo { animation: piscar 1s ease-in-out 3; background: #fde8e8 !important; }
@keyframes piscar { 50% { background: #f6b4b4; } }
