:root { --bg: #f3f6f4; --card: #fff; --ink: #17231d; --mut: #5b6a62; --line: #d5ded9; --pri: #0f6b4a; --on: #fff; --warn: #a33a12; color-scheme: light; }
[data-theme="dark"] { --bg: #101714; --card: #19231e; --ink: #e8f0ec; --mut: #9db0a6; --line: #31403a; --pri: #f0b63a; --on: #1d1600; --warn: #ff9b73; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 "Segoe UI", system-ui, sans-serif; }
h1 { font-size: 1.6rem; margin: 0; } h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; } .card h2 { margin-top: 0; }
button, input, select, textarea { font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .5rem .75rem; max-width: 100%; }
button { cursor: pointer; } button:disabled { opacity: .5; }
.primary { background: var(--pri); color: var(--on); border-color: var(--pri); font-weight: 600; }
:focus-visible { outline: 3px solid var(--pri); outline-offset: 2px; }
.shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
aside { background: var(--card); border-right: 1px solid var(--line); padding: 1.25rem 1rem; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--pri); margin-bottom: 1rem; }
.brand img { display: block; width: 150px; max-width: 100%; margin-bottom: .5rem; background: #fff; border-radius: 6px; padding: 6px; } .login .brand img { margin-inline: auto; width: 200px; } .login .brand { text-align: center; }
@media (max-width: 760px) { .shell .brand img { width: 72px; } }
nav { display: grid; gap: .25rem; margin-bottom: 1rem; }
nav a { color: inherit; text-decoration: none; padding: .5rem .75rem; border-radius: 6px; }
nav a:hover { background: var(--bg); } nav a[aria-current] { background: var(--pri); color: var(--on); }
main { padding: 1.5rem; min-width: 0; }
.bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; } .bar h1 { flex: 1 1 200px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; margin-top: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; } section.card { margin-top: 1rem; }
.card > span { display: block; color: var(--mut); font-size: .875rem; } .card > strong { font-size: 1.35rem; }
.table { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); } th { color: var(--mut); font-size: .85rem; white-space: nowrap; }
.acts { white-space: nowrap; } .acts button { padding: .25rem .5rem; margin-right: .25rem; font-size: .85rem; }
.tag { border: 1px solid var(--line); border-radius: 4px; padding: .1rem .45rem; font-size: .85rem; white-space: nowrap; }
.muted { color: var(--mut); } .warn { color: var(--warn); } .empty { padding: 2rem; text-align: center; color: var(--mut); }
.notice { margin: 0 0 1rem; padding: .5rem .75rem; border: 1px dashed var(--line); color: var(--mut); border-radius: 6px; }
.list { padding: 0; list-style: none; } .list li { padding: .4rem 0; }
.stack { display: grid; gap: .75rem; max-width: 380px; } label { display: grid; gap: .25rem; } .file { margin-top: .75rem; }
.login { margin: 12vh auto 0; width: calc(100% - 2rem); }
dialog { width: min(720px, calc(100% - 2rem)); max-height: 90vh; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); padding: 1.25rem; } dialog::backdrop { background: #0009; } dialog h2 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; } .grid input, .grid select, .grid textarea { width: 100%; }
dialog footer { display: flex; justify-content: flex-end; gap: .5rem; }
#toast { position: fixed; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); padding: .75rem 1rem; border-radius: 6px; background: var(--ink); color: var(--bg); visibility: hidden; } #toast.show { visibility: visible; } #toast.bad { background: #a12a12; color: #fff; }
#print { display: none; }
@media (max-width: 760px) { .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; } aside { border: 0; border-bottom: 1px solid var(--line); padding: .75rem 1rem; } .brand { margin: 0 0 .5rem; } nav { display: flex; overflow-x: auto; margin: 0; } nav a { white-space: nowrap; } main { padding: 1rem; } }
.doc { font: 10.5pt/1.4 Georgia, "Times New Roman", serif; } .doc h1 { font-size: 15pt; text-align: center; margin-bottom: 1em; } .doc h2 { font-size: 11pt; margin: 1rem 0 .3rem; break-after: avoid; } .doc p { text-align: justify; margin: .45em 0; overflow-wrap: anywhere; }
.doc .r { background: #fff0c2; } .doc .logo { display: block; max-width: 6cm; max-height: 2.5cm; margin: 0 auto 1em; }
.doc .marca { position: fixed; inset: 40% 0 auto; text-align: center; font: 700 80pt sans-serif; color: #0002; transform: rotate(-30deg); margin: 0; }
.doc .ass { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 2rem; margin-top: 3rem; break-inside: avoid; break-before: avoid; text-align: center; } .doc .ass > div { border-top: 1px solid; padding-top: .3em; }
.btn { display: inline-block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: .5rem .75rem; background: var(--card); } .acts .btn { padding: .25rem .5rem; margin-right: .25rem; font-size: .85rem; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1rem; } .steps [aria-current] { background: var(--pri); color: var(--on); border-color: var(--pri); font-weight: 600; }
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; } .pick button { text-align: left; padding: 1rem; } .pick b, .pick span { display: block; } .pick b { font-size: 1.15rem; } .pick span { color: var(--mut); font-size: .875rem; }
section.card .bar h2 { flex: 1 1 160px; margin: 0; } .end { justify-content: flex-end; margin-top: 1.25rem; }
.prop { font: 11pt/1.5 "Segoe UI", system-ui, sans-serif; } .prop .logo { float: right; max-width: 4cm; max-height: 3cm; margin-bottom: .4cm; } .prop .nums { clear: both; } .prop .emp { font-weight: 600; margin: 0; } .prop h1 { font-size: 24pt; font-weight: 300; margin: .6cm 0 0; } .prop .para { color: #555; margin: 0 0 1cm; }
.prop .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cm; border-block: 1px solid #ccc; padding: .6cm 0; } .prop .nums b { display: block; font-size: 16pt; font-weight: 600; } .prop .nums span { color: #555; font-size: 9pt; }
.prop dl { margin: .6cm 0; } .prop dl div { display: flex; justify-content: space-between; padding: .2cm 0; } .prop dd { margin: 0; } .prop dt { color: #555; }
.prop .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid #111; padding-top: .4cm; margin-bottom: .8cm; } .prop .total b { font-size: 20pt; } .prop small { color: #555; }
.prop .conta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cm; padding: .6cm 0 0; } .prop .conta span { display: block; color: #555; font-size: 9pt; } .prop .conta b { font-size: 14pt; }
.prop .pg { break-before: page; } .prop h2 { font-size: 13pt; font-weight: 600; margin: .7cm 0 .2cm; } .prop .pg > h2:first-child { margin-top: 0; } .prop h3 { font-size: 10.5pt; margin: 0; } .prop .equip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7cm; } .prop .equip dl { margin: .2cm 0; } .prop .equip dl div { display: block; padding: .08cm 0; } .prop .equip dt { font-size: 8.5pt; } .prop table { font-size: 9.5pt; font-variant-numeric: tabular-nums; } .prop th, .prop td { padding: .12cm .2cm; border-color: #ddd; text-align: right; color: inherit; } .prop th:first-child, .prop td:first-child { text-align: left; }
.prop .ass { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5cm; margin-top: 2cm; text-align: center; break-inside: avoid; } .prop .ass > div { border-top: 1px solid; padding-top: .2cm; }
.up { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1rem; } .up label { flex: 1 1 180px; min-width: 0; }
.pick .btn { padding: 1rem; } details { margin-top: 2rem; } details form { margin-top: 1rem; }
.prop .fotos { display: grid; grid-template-columns: 1fr 1fr; gap: .5cm; } .prop figure { margin: 0; break-inside: avoid; } .prop figure img { width: 100%; height: 6.5cm; object-fit: contain; background: #f4f4f4; } .prop figcaption { font-size: 9pt; color: #555; } .prop h2 { break-after: avoid; }
.pc { font: 10.5pt/1.5 "Segoe UI", system-ui, sans-serif; color: #1c2430; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pc .pag { position: relative; min-height: 254mm; padding-bottom: 12mm; break-after: page; } .pc .pag:last-child { break-after: auto; }
.pc h2 { font-size: 16pt; color: #1f3d8f; margin: 0 0 4mm; break-after: avoid; } .pc * + h2 { margin-top: 8mm; } .pc h3 { font-size: 11pt; margin: 6mm 0 2mm; break-after: avoid; } .pc p { margin: 0 0 2.5mm; }
.pc .pe { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding-top: 2mm; border-top: 1px solid #d5d9e2; font-size: 8pt; color: #5b6472; }
.pc .capa { display: flex; flex-direction: column; justify-content: space-between; } .pc .faixa { height: 6mm; background: linear-gradient(90deg, #f28c12 0 45%, #2a4fb0 45% 80%, #1f9a3d 80%); } .pc .capa .logo { width: 9cm; align-self: center; }
.pc .capa h1 { font-size: 30pt; line-height: 1.15; font-weight: 650; color: #1f3d8f; margin: 0 0 6mm; } .pc .sob { color: #b24f00; font-size: 13pt; font-weight: 600; } .pc .cli { font-size: 17pt; } .pc .capa .pe { position: static; margin-top: 4mm; }
.pc .kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; border-block: 1px solid #d5d9e2; padding: 5mm 0; margin: 4mm 0; } .pc .kpi b { display: block; font-size: 14pt; line-height: 1.2; } .pc .kpi span, .pc .nota { font-size: 9pt; color: #5b6472; }
.pc svg { display: block; width: 100%; height: auto; } .pc svg text { font-family: inherit; } .pc .t1 { font-size: 13px; font-weight: 600; fill: #1c2430; } .pc .t2 { font-size: 13px; fill: #1c2430; } .pc .t3 { font-size: 11px; fill: #5b6472; }
.pc .leg { font-size: 9pt; } .pc .leg i { display: inline-block; width: 4mm; height: 1mm; margin: 0 1.5mm 1mm 0; } .pc .leg i + i { margin-left: 5mm; }
.pc dl { margin: 3mm 0; } .pc dl div { display: flex; justify-content: space-between; gap: 5mm; padding: 1.6mm 0; border-bottom: 1px solid #eceef3; } .pc dt { color: #5b6472; } .pc dd { margin: 0; text-align: right; font-weight: 600; }
.pc .inv { display: flex; justify-content: space-between; align-items: center; background: #1f3d8f; color: #fff; padding: 5mm 6mm; margin-top: 6mm; } .pc .inv b { font-size: 20pt; }
.pc table { font-size: 9pt; font-variant-numeric: tabular-nums; margin-top: 5mm; } .pc th, .pc td { text-align: right; padding: 1.1mm 2mm; border-color: #e3e6ec; color: inherit; } .pc th:first-child, .pc td:first-child { text-align: left; }
.pc .g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm; } .pc .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; margin-top: 8mm; } .pc .eq { border-top: 1mm solid #f28c12; } .pc .eq h3 { margin-top: 3mm; } .pc .eq dl div { display: block; } .pc .eq dt { font-size: 8.5pt; } .pc .eq dd { text-align: left; }
.pc ul { padding-left: 5mm; margin: 0; } .pc .et { list-style: none; counter-reset: e; padding: 0; margin: 0 0 3mm; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4mm; } .pc .et li { counter-increment: e; } .pc .et li::before { content: counter(e); display: block; font-size: 16pt; font-weight: 650; color: #b24f00; } .pc .et b, .pc .et span { display: block; } .pc .et span { font-size: 9pt; color: #5b6472; }
.pc .ass { display: grid; grid-template-columns: 1fr 1fr; gap: 15mm; margin-top: 20mm; text-align: center; } .pc .ass > div { border-top: 1px solid; padding-top: 2mm; }
@page { size: A4; margin: 2cm; }
@media print { body { background: #fff; color: #000; } #app, #toast, dialog { display: none !important; } #print { display: block; } }
