/* Generado por app/tema.py a partir de style.css: no editar a mano. */
@media screen{
html.oscuro{color:#c6d3e3;background:#0f1620}
html.oscuro aside{background:#172130;border-right:1px solid var(--line)}
html.oscuro .brand{color:#909cad}
html.oscuro nav a{color:#a4aeba}
html.oscuro nav a.active{background:#1c2c44;color:#93b9e6}
html.oscuro .aside-bottom{border-top:1px solid var(--line)}
html.oscuro .aside-bottom small{color:var(--muted)}
html.oscuro .avatar{background:#232f43;color:var(--blue)}
html.oscuro header{border-bottom:1px solid var(--line);background:#172130;color:#9aa4b1}
html.oscuro header strong{color:#bac9d9}
html.oscuro .slash{color:#ccd4e0}
html.oscuro .pill{background:#1e2d3f;color:#97b2d2}
html.oscuro .demo{background:#433713;color:#d4c69f;border-bottom:1px solid #605636}
html.oscuro .muted,html.oscuro .subtitle{color:var(--muted)}
html.oscuro .button,html.oscuro button{border:1px solid #3d4958;background:#172130;color:#b3c4d7}
html.oscuro .primary{background:var(--blue);border-color:var(--blue);color:#ffffff;box-shadow:0 3px 8px rgba(41,117,214,0.16)}
html.oscuro .card,html.oscuro .panel{background:#172130;border:1px solid var(--line);box-shadow:0 3px 7px rgba(68,113,187,0.02)}
html.oscuro .card .label{color:#9aa4b2}
html.oscuro .card .foot{color:#929dac}
html.oscuro .card .icon{color:#8dadd6;background:#1a2942}
html.oscuro .hero{background:#1c2b40;border-color:#324159}
html.oscuro .hero p{color:#99aabe}
html.oscuro .hero .eyebrow{color:#85a1c5}
html.oscuro input,html.oscuro select,html.oscuro textarea{border:1px solid #404a56;background:#172130;color:#beccdd}
html.oscuro input:focus,html.oscuro select:focus,html.oscuro textarea:focus{border-color:#6691cb;box-shadow:0 0 0 3px rgba(49,108,206,0.55)}
html.oscuro label{color:#a7b3c1}
html.oscuro th{color:#949fae;background:#1d232e;border-bottom:1px solid var(--line)}
html.oscuro td{border-bottom:1px solid #353c48}
html.oscuro td small{color:#929dac}
html.oscuro .link{color:var(--blue)}
html.oscuro .badge{background:#524018;color:#e1c990}
html.oscuro .badge.paid{background:#2a4135;color:#a5d9c4}
html.oscuro .empty{color:#93a0b1}
html.oscuro .empty h3{color:#aab9cc}
html.oscuro .summary-box hr{border-top:1px solid var(--line)}
html.oscuro .sum-total{color:var(--blue)}
html.oscuro .item-line{border-bottom:1px solid var(--line)}
html.oscuro .helper{color:#95a2b0}
html.oscuro .period{background:#1c2939;color:#9cb3ca}
html.oscuro .error{color:#d08d8d;background:#431913}
html.oscuro .list-step{border-bottom:1px solid #373d49}
html.oscuro .step{background:#212b3a;color:#849dbe}
html.oscuro .list-step p{color:#94a2b3}
html.oscuro .tagline{color:#9aa5b6}
html.oscuro .notice{border-left:3px solid #d8ac42;background:#433713;color:#d1c4a1}
html.oscuro dialog{box-shadow:0 20px 90px rgba(65,122,190,0.44)}
html.oscuro dialog::backdrop{background:rgba(37,68,106,0.38)}
html.oscuro #toast{background:#284f7b;color:#ffffff;box-shadow:0 10px 25px rgba(51,125,204,0.25)}
html.oscuro .progress{background:#27303a}
html.oscuro .progress div{background:#648abc}
html.oscuro a:focus-visible,html.oscuro button:focus-visible{outline:3px solid #4b71a3}
html.oscuro #user-bar{color:#bac9d9}
html.oscuro #auth-root{background:#0f1620}
html.oscuro .auth-card{background:#172130;border:1px solid var(--line);box-shadow:0 8px 30px rgba(85,123,170,0.16)}
html.oscuro .auth-card h1{color:#9ebce9}
html.oscuro .auth-card label{color:#bac9d9}
html.oscuro .auth-card input{border:1px solid #485261}
html.oscuro .auth-card input:focus{outline:2px solid #285ca5}
html.oscuro .file-number{color:var(--blue)}
html.oscuro .file-balance{background:#172130;border:1px solid var(--line);border-left:4px solid #fdc201}
html.oscuro .file-balance span{color:var(--muted)}
html.oscuro .file-balance strong{color:#9ebce9}
html.oscuro .tabs{border-bottom:1px solid var(--line)}
html.oscuro .tabs a{color:#a7b3c1}
html.oscuro .tabs a.active{color:#9ebce9;border-bottom-color:#285ca5}
html.oscuro .tabs a:focus-visible{outline:2px solid #285ca5}
html.oscuro .facts dt{color:var(--muted)}
html.oscuro .facts dd{color:#c6d3e3}
html.oscuro .contact{border:1px solid var(--line)}
html.oscuro .contact .relation{color:var(--muted)}
html.oscuro .chip{background:#1c2c44;color:#93b9e6}
html.oscuro .chip-legal{background:#65551d;color:#f4e6b5}
html.oscuro .subform{border:1px solid var(--line);background:#182030}
html.oscuro fieldset.address{border:1px solid var(--line)}
html.oscuro fieldset.address legend{color:#bac9d9}
html.oscuro .hint{color:var(--muted)}
html.oscuro .sum-grid div{border:1px solid var(--line)}
html.oscuro .sum-grid span{color:var(--muted)}
html.oscuro .sum-grid strong{color:#9ebce9}
html.oscuro .notes li{border-left:3px solid #3c4c64}
html.oscuro .plain-list li{border-bottom:1px solid var(--line)}
html.oscuro .link.danger{color:#ee8e87}
html.oscuro button.danger{color:#ee8e87;border-color:#72403b}
html.oscuro .recipients li{border:1px solid var(--line);background:#182030}
html.oscuro .recipients small{color:var(--muted)}
html.oscuro .attachments li{border-bottom:1px solid var(--line)}
html.oscuro .attachments small{color:var(--muted)}
html.oscuro .segmented{border:1px solid var(--line)}
html.oscuro .segmented button{border-right:1px solid var(--line);background:#172130}
html.oscuro .segmented button[aria-pressed="true"]{background:#1f4a8a;color:#ffffff}
html.oscuro .period-label{color:var(--muted)}
html.oscuro .sum-grid .total{background:#1f2837;border-color:#435366}
html.oscuro .badge.credit-abierta{background:#152a4a;color:#9ebce9}
html.oscuro .badge.credit-cerrada{background:#284335;color:#b2eecc}
html.oscuro .badge.credit-eliminada{background:#282d34;color:#abb4c1}
html.oscuro .statement-head strong{color:#9ebce9}
html.oscuro .catalog-results{background:#172130;border:1px solid var(--line);box-shadow:0 10px 30px rgba(85,123,170,0.24)}
html.oscuro .catalog-results button:hover,html.oscuro .catalog-results button:focus{background:#1f2b3e}
html.oscuro .catalog-results small{color:var(--muted)}
html.oscuro .overdue{color:#ee8e87}
html.oscuro .deliveries>li{border:1px solid var(--line);background:#182030}
html.oscuro .deliveries small{color:var(--muted)}
html.oscuro .badge.request-pendiente{background:#5b4a1a;color:#f3dfae}
html.oscuro .badge.request-aprobada{background:#284335;color:#b2eecc}
html.oscuro .badge.request-rechazada{background:#282d34;color:#abb4c1}
html.oscuro #credit-requests td small{color:var(--muted)}
html.oscuro .badge.rec-activa{background:#284335;color:#b2eecc}
html.oscuro .badge.rec-pausada{background:#5b4a1a;color:#f3dfae}
html.oscuro .nav-count{background:#fdc201;color:#ccd7e3}
html.oscuro .approval{background:#172130;border:1px solid var(--line);border-left:4px solid #d8ac42}
html.oscuro .approval.aprobada{border-left-color:#388365}
html.oscuro .approval.rechazada{border-left-color:#af4848}
html.oscuro .approval-kind{color:#9ebce9}
html.oscuro .approval-who,html.oscuro .approval-meta{color:var(--muted)}
html.oscuro .approval-reason{color:#ccd7e3}
html.oscuro .approval-reason span{color:var(--muted)}
html.oscuro .credit-row span,html.oscuro .credit-row strong,html.oscuro .credit-amount{color:#ee8e87}
html.oscuro .credit-apps li{border:1px solid var(--line);background:#182030}
html.oscuro .credit-apps li small{color:var(--muted)}
html.oscuro .badge.credit-aplicado{background:#152a4a;color:#9ebce9}
html.oscuro .badge.credit-retirado{background:#282d34;color:#abb4c1}
html.oscuro .send-options{border:1px solid var(--line)}
html.oscuro .send-options .send-none{border-top:1px solid var(--line)}
html.oscuro .send-results li{border:1px solid var(--line);background:#182030}
html.oscuro .send-results small{color:var(--muted)}
html.oscuro .badge.send-borrador,html.oscuro .badge.send-abierto{background:#284335;color:#b2eecc}
html.oscuro .badge.send-pendiente{background:#5b4a1a;color:#f3dfae}
html.oscuro .badge.send-no_enviado{background:#282d34;color:#abb4c1}
html.oscuro .file-input.button:focus-within{outline:2px solid #2d5fa9}
html.oscuro button.copy-address{background:#172130;border:1px solid #2d5fa9;color:#9ebce9}
html.oscuro button.copy-address:hover{background:#152a4a}
html.oscuro .drafts-box{border:1px dashed #d8ac42;background:#3c3311}
html.oscuro .drafts-box li small{color:var(--muted)}
html.oscuro .note-history small{color:var(--muted)}
html.oscuro .template-group{border:1px solid var(--line)}
html.oscuro .template-group summary small{color:var(--muted)}
html.oscuro #credit-edits small{color:var(--muted)}
html.oscuro .line-suggest{background:#172130;border:1px solid var(--line);box-shadow:0 10px 30px rgba(85,123,170,0.28)}
html.oscuro .line-suggest [role=option]{color:#ccd7e3}
html.oscuro .line-suggest [role=option] small{color:var(--muted)}
html.oscuro .line-suggest [role=option]:hover,html.oscuro .line-suggest [role=option][aria-selected=true]{background:#1f2b3e}
html.oscuro #line-list .item-line.selected{background:#423913;box-shadow:inset 3px 0 0 rgba(0,0,0,0.60)}
html.oscuro .action-group+.action-group{border-top:1px solid var(--line)}
html.oscuro .action-label{color:var(--muted)}
html.oscuro .invoice-actions .primary{background:#1f4a8a;border-color:#1f4a8a;box-shadow:0 4px 12px rgba(47,112,208,0.44)}
html.oscuro .invoice-actions .primary:hover:not(:disabled){background:#2d5fa9}
html.oscuro .invoice-actions .secondary{background:#172130;border:1px solid #425369;color:#9ebce9}
html.oscuro .invoice-actions .secondary:hover{background:#1f2b3e;border-color:#2d5fa9}
html.oscuro .badge.rec-mark{background:#1c2c44;color:#93b9e6}
html.oscuro .edit-state.locked p{color:#d1c4a1;background:#433713;border-left:3px solid #d8ac42}
html.oscuro .panel.edit-focus{box-shadow:0 0 0 3px rgba(34,114,221,0.55)}
html.oscuro .recipients-grid th[scope=row]{color:#beccdd;background:#172130;border-bottom:1px solid #353c48}
html.oscuro .recipients-grid th[scope=row] small{color:var(--muted)}
html.oscuro .send-modes{color:#a7b3c1}
html.oscuro .delivery-items li{border-top:1px dashed var(--line)}
html.oscuro .badge.send-enviada,html.oscuro .badge.send-manual{background:#284335;color:#b2eecc}
html.oscuro .badge.send-fallida{background:#431913;color:#d08d8d}
html.oscuro .badge.send-incierta,html.oscuro .badge.send-sin_destino{background:#5b4a1a;color:#f3dfae}
html.oscuro #delivery-settings fieldset{border:1px solid var(--line)}
html.oscuro #delivery-test{border-top:1px solid var(--line)}
html.oscuro fieldset.channel-pick{border:1px solid var(--line)}
html.oscuro fieldset.channel-pick legend{color:#bac9d9}
html.oscuro .at-swatch span{box-shadow:0 0 0 1px var(--line)}
html.oscuro .at-swatch input:checked+span{border-color:#333333;box-shadow:0 0 0 2px rgba(64,127,191,0.55)}
html.oscuro .at-swatch input:focus-visible+span{outline:2px solid #2d5fa9}
html.oscuro .at-grid{border:1px solid var(--line)}
html.oscuro .at-head div{color:#acb7c2;border-bottom:1px solid var(--line)}
html.oscuro .at-day{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
html.oscuro .at-day.other{background:#212930}
html.oscuro .at-day.other .at-num{color:#9aa7b4}
html.oscuro .at-day.today .at-num{background:#1f4a8a;color:#ffffff}
html.oscuro .at-shift{color:#ccd7e3}
html.oscuro .at-shift:hover,html.oscuro .at-shift:focus-visible{background:#253141}
html.oscuro .at-time{color:#b5c1ce}
html.oscuro .at-c0{background:#d9534f}
html.oscuro .at-c1{background:#1f77b4}
html.oscuro .at-c2{background:#2ca02c}
html.oscuro .at-c3{background:#8e44ad}
html.oscuro .at-c4{background:#e67e22}
html.oscuro .at-c5{background:#16a085}
html.oscuro .at-c6{background:#c2185b}
html.oscuro .at-c7{background:#5d6d7e}
html.oscuro .at-c8{background:#b8860b}
html.oscuro .at-c9{background:#0097a7}
html.oscuro .prefs select{border:1px solid #3d4958;background:#172130;color:#b3c4d7}

html.oscuro{color-scheme:dark;--blue:#4a82cc;--line:#2a3749;--muted:#97a4b6;color:#dbe3ee;background:#0f1620}
html.oscuro body{background:#0f1620;color:#dbe3ee}
html.oscuro input,html.oscuro select,html.oscuro textarea{background-color:#121b27;color:#e3e9f2;border-color:#33425a}
html.oscuro input::placeholder,html.oscuro textarea::placeholder{color:#7d8ba0}
html.oscuro input:disabled,html.oscuro select:disabled,html.oscuro textarea:disabled{background-color:#18212d;color:#8996a8}
html.oscuro .brand img,html.oscuro .auth-logo{background:#fff;border-radius:10px;padding:8px 10px}
html.oscuro a{color:#8fb6ec}
html.oscuro nav a{color:#a8b4c4}
html.oscuro nav a.active{color:#e3ecfa}
html.oscuro dialog::backdrop{background:rgba(0,0,0,.6)}
html.oscuro iframe{background:#fff}
}
