:root{--fundo: #f5f5f4;--cartao: #ffffff;--texto: #1c1917;--suave: #78716c;--borda: #e7e5e4;--marca: #0f766e;--marca-texto: #ffffff;--perto: #b45309;--perto-fundo: #fef3c7;--vencido: #b91c1c;--vencido-fundo: #fee2e2;--ok: #15803d;--ok-fundo: #dcfce7;--raio: 14px;color-scheme:light dark}@media(prefers-color-scheme:dark){:root{--fundo: #0c0a09;--cartao: #1c1917;--texto: #f5f5f4;--suave: #a8a29e;--borda: #292524;--marca: #2dd4bf;--marca-texto: #042f2e;--perto: #fbbf24;--perto-fundo: #451a03;--vencido: #f87171;--vencido-fundo: #450a0a;--ok: #4ade80;--ok-fundo: #052e16}}*{box-sizing:border-box}html,body{margin:0;background:var(--fundo);color:var(--texto)}body{font:16px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-text-size-adjust:100%}a{color:var(--marca)}h1{font-size:1.5rem;margin:0 0 1rem}h2{font-size:1.1rem;margin:1.5rem 0 .6rem}.cartao{background:var(--cartao);border:1px solid var(--borda);border-radius:var(--raio);padding:1rem}.lista{display:grid;gap:.6rem}.linha{display:flex;gap:.75rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.suave{color:var(--suave);font-size:.9rem}.selo{font-size:.8rem;font-weight:600;padding:.15rem .55rem;border-radius:999px;white-space:nowrap}.selo.vencido{color:var(--vencido);background:var(--vencido-fundo)}.selo.perto{color:var(--perto);background:var(--perto-fundo)}.selo.ok{color:var(--ok);background:var(--ok-fundo)}form.campos{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}form.campos .largo{grid-column:1 / -1}label{display:grid;gap:.25rem;font-size:.85rem;color:var(--suave)}input,select,textarea{font:inherit;color:var(--texto);background:var(--fundo);border:1px solid var(--borda);border-radius:10px;padding:.6rem .7rem;min-height:44px;width:100%}button,.botao{font:inherit;font-weight:600;border:0;border-radius:10px;padding:.6rem 1rem;min-height:44px;background:var(--marca);color:var(--marca-texto);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button.secundario{background:transparent;color:var(--marca);border:1px solid var(--borda)}button.perigo{background:transparent;color:var(--vencido);border:1px solid var(--borda)}button.mini{min-height:36px;padding:.3rem .7rem;font-size:.85rem}details summary{cursor:pointer;color:var(--marca);font-weight:600;min-height:44px;display:flex;align-items:center}.erro{color:var(--vencido)}header.svelte-12qhfyh{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:calc(env(safe-area-inset-top) + .6rem) 1rem .6rem;background:var(--cartao);border-bottom:1px solid var(--borda)}.marca.svelte-12qhfyh{font-weight:800;text-decoration:none;color:var(--texto)}nav.svelte-12qhfyh{display:flex;gap:.25rem}nav.svelte-12qhfyh a:where(.svelte-12qhfyh){display:flex;gap:.35rem;align-items:center;padding:.5rem .75rem;border-radius:10px;text-decoration:none;color:var(--suave);min-height:44px}nav.svelte-12qhfyh a[aria-current=page]:where(.svelte-12qhfyh){color:var(--marca);background:var(--fundo);font-weight:600}main.svelte-12qhfyh{max-width:860px;margin:0 auto;padding:1.25rem 1rem calc(env(safe-area-inset-bottom) + 6rem)}@media(max-width:640px){nav.svelte-12qhfyh{position:fixed;left:0;right:0;bottom:0;justify-content:space-around;background:var(--cartao);border-top:1px solid var(--borda);padding:.3rem 0 calc(env(safe-area-inset-bottom) + .3rem)}nav.svelte-12qhfyh a:where(.svelte-12qhfyh){flex-direction:column;gap:0;font-size:.75rem;padding:.3rem 1rem}nav.svelte-12qhfyh a:where(.svelte-12qhfyh) span:where(.svelte-12qhfyh){font-size:1.3rem}}
