html:has(body.provider-front){--bg:#081a1f;--surface:#10262d;--surface2:#17323a;--text:#edf5f5;--muted:#9cb7bd;--muted2:#c0d0d3;--border:#28444d;--border2:#36545e;--teal:#1BAF9D;--orange:#EC671B;--gold:#FDCC68;--green:#34d399;--red:#ef4444;--radius:16px;--radius-sm:8px;--sidebar-w:248px;--fs-sm:14px;--fs-xs:13px;--fs-2xs:12px}
html[data-theme=light]:has(body.provider-front){--bg:#f2f7f7;--surface:#fff;--surface2:#e8f1f1;--text:#264653;--muted:#55737f;--muted2:#4a6b78;--border:#dde6e9;--border2:#c4d3d8;--teal-ink:#0e7c6f;--orange-ink:#b8480d;--gold-ink:#8a6d1f;--green-ink:#047857;--red-ink:#b91c1c}
.provider-front{display:block;margin:0;background:var(--bg);color:var(--text);font:16px/1.5 Inter,system-ui,sans-serif;--provider-width:248px}
.provider-front *{box-sizing:border-box}.provider-front svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.provider-front .surface.pad{padding:24px}.provider-front .field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}.provider-front .field-label{font-size:14px;color:var(--muted2)}.provider-front .hint{font-size:13px;color:var(--muted);margin:8px 0 16px}.provider-front .row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.provider-front .equal-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.provider-front .doc-row{padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--border)}.provider-front .doc-row small{display:block;font-size:13px;color:var(--muted)}
.provider-front h1,.provider-front h2,.provider-front h3{font-family:Montserrat,system-ui,sans-serif;color:var(--text)}
.provider-front :is(button,input,select,textarea){font-family:inherit}.provider-front [hidden]{display:none!important}
.provider-retired-navigation{display:none!important}
.provider-sidebar{position:fixed;inset:0 auto 0 0;width:var(--provider-width);padding:24px 18px;background:var(--surface);border-right:1px solid var(--border);overflow-y:auto;z-index:110}
.provider-brand{display:flex;gap:9px;flex-direction:column;text-decoration:none;color:var(--muted);font-size:12px;letter-spacing:.12em}.provider-brand img{width:125px;height:auto}.provider-logo-light{display:none}html[data-theme=light] .provider-logo-dark{display:none}html[data-theme=light] .provider-logo-light{display:block}
.provider-business{display:flex;flex-direction:column;gap:4px;padding:20px 0;border-bottom:1px solid var(--border);margin-bottom:16px}.provider-business span{font-size:13px;color:var(--muted)}
.provider-nav-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:10px;color:var(--muted2);font-size:14px;text-decoration:none;margin:2px 0}.provider-nav-link svg{width:20px;height:20px;flex-shrink:0}.provider-nav-link:is(:hover,.active){background:var(--surface2);color:var(--teal-ink,var(--teal))}.provider-sidebar .nav-label{font-size:11px;letter-spacing:.08em;margin:24px 12px 9px;color:var(--muted);text-transform:uppercase}
.provider-topbar{position:sticky;top:0;z-index:90;margin-left:var(--provider-width);padding:16px 32px;background:var(--bg);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;justify-content:space-between}.provider-topbar>div:first-of-type{display:flex;flex-direction:column}.provider-topbar strong{font-size:15px}.provider-front .provider-content{margin-left:var(--provider-width);width:calc(100% - var(--provider-width));max-width:none;padding:28px 32px 72px;min-height:calc(100vh - 80px)}
.provider-page-heading{margin-bottom:28px;display:flex;justify-content:space-between;gap:20px;align-items:center}.provider-page-heading h1{font-size:28px;line-height:1.25;margin:6px 0 10px}.provider-page-heading p{color:var(--muted);margin:0}.provider-front .eyebrow{font-size:11px;letter-spacing:.1em;color:var(--muted);font-weight:600}
.provider-front .theme-switch{display:flex;gap:3px;padding:4px;background:var(--surface2);border-radius:12px}.provider-front .theme-switch button{display:flex;align-items:center;gap:7px;padding:9px;border:0;border-radius:8px;background:transparent;color:var(--muted2);cursor:pointer}.provider-front .theme-switch svg{width:18px;height:18px}.provider-front .theme-switch button[aria-pressed=true]{background:var(--surface);color:var(--teal-ink,var(--teal))}
.provider-front .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border2);border-radius:10px;padding:11px 16px;min-height:44px;background:var(--surface);color:var(--text);text-decoration:none;cursor:pointer;font-size:14px}.provider-front .button.primary{background:var(--orange);border-color:var(--orange);color:#000;font-weight:700}.provider-front :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.provider-front .provider-content > .topbar{position:static;margin:0 0 24px;padding:16px 20px;background:var(--surface);border:1px solid var(--border);border-radius:16px;backdrop-filter:none;flex-wrap:wrap;min-height:0}.provider-front .tb-brand,.provider-front .tb-meta,.provider-front .topbar-title,.provider-front .topbar-nav>a{display:none}
.provider-front .grid{padding:0;gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.provider-front .inv-header{padding:0 0 16px}.provider-front .inv-card{border-radius:16px;padding:24px;background:var(--surface)}.provider-front .card-name{font-size:19px;white-space:normal}.provider-front .card-desc{font-size:14px;margin-top:8px}.provider-front .card-price{font-family:Inter,sans-serif;font-variant-numeric:tabular-nums;font-size:26px}.provider-front :is(.occ-label,.card-meta,.form-label,.inv-title,.inv-count,.pm-section .sub,.form-check){font-size:14px}.provider-front :is(.form-hint,.form-section-title,.act-section-title,.mini-revenue-label,.card-price span){font-size:13px}
.provider-front :is(.act-card,.pm-section,.permisos-section,.surface,.section,.money-block){background:var(--surface);border:1px solid var(--border);border-radius:16px}.provider-front :is(.pm-section,.permisos-section){padding:24px;margin:0 0 24px}.provider-front .pm-section h2{font-size:21px;margin-bottom:8px}.provider-front :is(.form-input,.form-select,.form-textarea,input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--surface2);color:var(--text);border:1px solid var(--border2);border-radius:10px;font-size:16px;min-height:44px;padding:11px 12px;max-width:100%;box-sizing:border-box}.provider-front label{color:var(--text)}
.provider-front :is(.act-btn,.act-close,.export-btn,.btn-file-select,.btn-add-permit,.btn-primary,.btn-secondary,.add-btn-top){min-height:44px;font-size:14px}.provider-front .act-btn,.provider-front .act-close{min-width:44px}.provider-front .act-card{padding:28px;width:720px;max-width:100%;background:var(--surface)}.provider-front .act-overlay{padding:32px 16px}.provider-front .act-title{font-size:22px}.provider-front .act-section{padding-top:20px;margin-top:24px}.provider-front :is(.form-row,.form-row-3,.form-grid){gap:16px}.provider-front .form-group{margin-bottom:18px}
.provider-front .table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:14px}.provider-front table{width:100%;border-collapse:collapse;font-size:14px}.provider-front th,.provider-front td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--border)}.provider-front th{background:var(--surface2);color:var(--muted2);font-size:13px}.provider-front .section-header{padding:16px 0}.provider-front .section{margin:0;padding:24px}.provider-front .permit-card{background:var(--surface);border:1px solid var(--border);padding:24px;border-radius:16px}.provider-front .permits-grid{padding:0;gap:20px}
.provider-front .provider-gestion-root{display:none!important}.provider-front .provider-gestion-view{display:block!important}.provider-front .provider-gestion-view > [hidden]{display:none!important}.provider-front .provider-gestion-view :is(.money-block,.section,.permisos-section){margin:0 0 24px}.provider-front .provider-gestion-view #mensajes{margin:0!important}.provider-front #msg-shell{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}
.provider-front main.provider-content > header{display:none}.provider-front .provider-content > .surface{padding:24px;margin-bottom:24px}.provider-front .provider-content :is(label,fieldset){margin-bottom:12px}.provider-front .provider-content fieldset{padding:18px;border:1px solid var(--border);border-radius:12px}.provider-front .provider-content > #estado{padding:14px 18px;background:var(--surface2);border-radius:12px}.provider-front .provider-content form{max-width:100%}
.provider-menu-open,.provider-menu-close{display:none!important}.provider-menu-backdrop{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);border:0}.provider-front .provider-topbar .icon-button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:10px;padding:10px}.provider-front .icon-button svg{width:20px;height:20px}
@media(max-width:880px){.provider-sidebar{transform:translateX(-100%);transition:transform .18s}.provider-menu-visible .provider-sidebar{transform:translateX(0)}.provider-topbar{margin-left:0;padding:12px 16px}.provider-front .provider-content{margin-left:0;width:100%;padding:24px 16px 80px}.provider-menu-open,.provider-menu-close{display:inline-flex!important}.provider-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.provider-page-heading h1{font-size:25px}.provider-front .theme-switch span{display:none}.provider-front .form-row,.provider-front .form-row-3,.provider-front .form-grid{grid-template-columns:1fr}.provider-front .act-card{padding:20px}.provider-front .act-overlay{padding:14px 10px}.provider-front :is(.pm-section,.permisos-section,.section){padding:20px}.provider-front #msg-shell{grid-template-columns:1fr;min-width:0}.provider-front .topbar-left,.provider-front .topbar-nav{gap:10px}.provider-front .topbar-nav{width:100%;flex-wrap:wrap}.provider-front .provider-content>.topbar{padding:14px}.provider-front .provider-gestion-view .charts-row{grid-template-columns:1fr}.provider-front table{min-width:560px}.provider-front #conv-list{max-height:280px}}
@media(prefers-reduced-motion:reduce){.provider-sidebar{transition:none}}
@media(max-width:880px){.provider-front .equal-col{grid-template-columns:1fr}.provider-front .doc-row{align-items:flex-start;flex-wrap:wrap}.provider-front .provider-topbar .theme-switch{flex-shrink:0}.provider-front .provider-topbar strong{max-width:180px;display:block}}
@media print{.provider-sidebar,.provider-topbar,.provider-page-heading,.provider-menu-backdrop{display:none!important}.provider-front .provider-content{width:100%;margin:0;padding:0}.provider-front{background:white;color:black}}

.provider-front .act-overlay{z-index:10020}.provider-front:has(.act-overlay.show) #toast{z-index:10030}.provider-front:has(.dp-panel.show) .dp-overlay{z-index:10020}.provider-front:has(.dp-panel.show) .dp-panel{z-index:10021}.provider-front.invitation-shell main{max-width:720px;margin:60px auto;padding:24px}.provider-front.invitation-shell .surface{padding:28px}.provider-front.invitation-shell h1{font-size:25px}.provider-front #provider-account{flex-shrink:0}.provider-front .provider-topbar>.theme-switch{margin-left:auto}

.provider-front .provider-topbar button{margin:0}.provider-front .provider-topbar .eyebrow{white-space:nowrap}@media(max-width:880px){.provider-front .provider-topbar{gap:10px}.provider-front .provider-topbar .theme-switch button{padding:8px;min-height:36px}.provider-front .provider-topbar .eyebrow{font-size:10px}}
