/* Pix — segunda onda visual 2026-08-13. Somente apresentação; APIs e handlers intactos. */
:root {
    --pix-canvas: #f5f7fb;
    --pix-surface: #fff;
    --pix-line: #dbe4ee;
    --pix-ink: #0f172a;
    --pix-muted: #64748b;
    --pix-brand: #0f766e;
    --pix-focus: #0ea5e9;
}

html, body { background: var(--pix-canvas); color: var(--pix-ink); }
body { min-height: 100dvh; }
header {
    background: #0f172a;
    border-bottom: 4px solid #0f766e;
    padding: 18px 20px;
}
header .top { gap: 16px; }
header h1 { font-size: clamp(19px, 2.2vw, 26px); letter-spacing: -.02em; }
header .tag { color: #5eead4; }
header a.btn { min-height: 44px; border-radius: 11px; }
main { padding-top: 24px; }
.card {
    border-radius: 16px;
    border-color: var(--pix-line);
    box-shadow: 0 7px 22px rgba(15, 23, 42, .045);
}
.card h2 { color: var(--pix-ink); letter-spacing: -.01em; }
.card .desc { max-width: 76ch; }
label { color: #334155; }
input[type=text], input[type=password], input[type=number], select, textarea {
    min-height: 44px;
    border-radius: 10px;
    border-color: var(--pix-line);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--pix-focus);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .18);
}
.btn {
    min-height: 44px;
    border-radius: 11px;
    padding-inline: 16px;
}
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .38);
    outline-offset: 2px;
}
.status { min-height: 32px; }
.note { border-radius: 10px; }
#chargesTable { overflow-x: auto; }
#chargesTable table { min-width: 720px; }
@media (max-width: 760px) {
    header .top { align-items: stretch; }
    header .actions { width: 100%; }
    header .actions .btn { flex: 1 1 0; }
    main { padding: 16px 12px 36px; }
    .card { padding: 16px; }
    .row-inline { gap: 8px; }
    .card > div[style*="display:flex"] { align-items: stretch; }
    .card > div[style*="display:flex"] .btn { flex: 1 1 100%; }
    .toast { left: 12px; right: 12px; bottom: max(14px, env(safe-area-inset-bottom)); max-width: none; }
}
