:root{--ink:#18304d;--accent:#146b65;--line:#e2e9ed}body{font-family:Segoe UI,system-ui,sans-serif!important;background:#f3f6f8!important;color:var(--ink)}body *{font-weight:650}h1,h2,h3,th,.button,button{font-weight:750!important}h1{letter-spacing:-.035em}h2{font-size:20px}p{line-height:1.6}a{color:#126960}.studio-nav,body>.layout>aside{background:#132e42!important}.studio-brand{letter-spacing:-1px}.studio-note{color:#b6d7d3!important}.studio-top{background:#fff!important;border-bottom:1px solid var(--line)}.hero{background:linear-gradient(115deg,#153b4e,#176e67)!important;color:white!important;border-radius:18px!important;padding:28px!important}.hero h1,.hero p{color:white!important}.panel,section,.module-card{border:1px solid var(--line);box-shadow:0 3px 14px #18304d05!important;border-radius:14px!important}.panel{padding:22px!important;margin-bottom:18px}.page-container{max-width:1120px!important;background:transparent!important;box-shadow:none!important;margin:24px auto!important}input,select,textarea{border:1px solid #cfdbe2!important;border-radius:8px!important;min-height:40px;padding:9px 11px!important;font-size:14px!important;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #7cc8bd;outline-offset:1px}button,.button,.btn-submit,.smallbtn{border-radius:9px!important;background:#146b65!important;color:#fff!important;border:0;cursor:pointer;padding:11px 17px}.secondary,.print-btn{background:#e8f0f2!important;color:var(--ink)!important}button:disabled{opacity:.55;cursor:wait}table{font-size:14px}th{background:#f2f6f8!important;color:#476076!important;text-transform:none!important}td,th{padding:13px 12px!important;border-bottom:1px solid var(--line)!important}.badge,.notice{border-radius:9px;background:#e6f1ee;color:#235e50;padding:12px 15px}.error,.alert{background:#fff0ee!important;color:#a02c24!important;padding:14px;border-radius:9px}.document-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sri-security-note{color:#516779!important;font-size:13px!important}.invoice-actions{grid-template-columns:1fr 1fr!important}.stats article{background:white!important;border:1px solid var(--line);border-radius:14px;padding:22px}.stats strong{color:#146b65!important}.product-table{min-width:640px}.invoice-list-panel{padding:26px!important}.invoice-list-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.invoice-list-head h2{margin:0 0 5px;color:#173f68}.invoice-list-head p{margin:0;color:#60748a;font-size:14px}.invoice-create-button{white-space:nowrap;box-shadow:0 6px 16px #125c5224}.invoice-list-wrap{border:1px solid #e2eaf1;border-radius:12px;overflow:auto}.invoice-list-table{width:100%;border-collapse:collapse;min-width:760px}.invoice-list-table thead th{padding:15px 14px!important;background:#edf3f8!important;color:#38536e!important;font-weight:750!important}.invoice-list-table tbody tr{transition:background .15s}.invoice-list-table tbody tr:hover{background:#f6fafc}.invoice-list-table td{padding:14px!important;font-weight:650!important}.invoice-list-table td:first-child a{font-weight:750!important;text-decoration:underline;text-underline-offset:3px}.invoice-list-table .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px!important;font-weight:750!important}.invoice-production-badge{display:inline-block;margin:14px 0 0;font-weight:750!important}.sri-valid-badge{font-weight:750!important}@media(max-width:700px){.page-container{padding:12px!important}.hero{padding:20px!important}.invoice-actions{grid-template-columns:1fr!important}.panel{padding:16px!important}.invoice-list-head{align-items:flex-start;flex-direction:column}.invoice-create-button{width:100%;text-align:center}}
/* Tipografía solicitada: textos de la interfaz en negrita. */
body,.studio-shell *{font-weight:700!important}.studio-body input,.studio-body select,.studio-body textarea{font-weight:700!important}
body.entry{min-height:100vh;background:radial-gradient(ellipse at 15% 5%,#d3eee9 0,#6aa59f 24%,#184958 62%,#102f40 100%)!important;display:grid;place-items:center;padding:24px}
body.entry .access{position:relative;width:min(460px,100%);max-width:460px;margin:0;padding:38px 42px 34px;border:1px solid #ffffffa3;border-radius:24px;background:linear-gradient(160deg,#fff 0,#f6fbfa 100%);box-shadow:0 28px 80px #071e2d62;overflow:hidden}
body.entry .access:before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,#125d63,#65b5a7,#d49a55)}
body.entry .access .logo{width:102px;height:102px;margin:0 auto 17px;filter:drop-shadow(0 7px 10px #133a3022)}
body.entry .access .eyebrow{color:#39736c;font-size:11px;letter-spacing:1.8px;margin:0 0 8px}
body.entry .access h1{font-size:35px;letter-spacing:-1.2px;color:#183b4b;margin:8px 0;text-align:center}
body.entry .access>p:not(.eyebrow){color:#59707b;text-align:center;margin:8px 0 23px}
body.entry .access form{margin-top:22px}
body.entry .access label{display:block;color:#294c58;font-size:13px}
body.entry .access input{min-height:48px;border:1px solid #cbdedb;border-radius:10px;background:#f8fcfb;padding:12px 14px}
body.entry .access input:focus{outline:3px solid #1c797044;border-color:#247c75}
body.entry .access button{width:100%;padding:14px 18px;border-radius:10px;background:linear-gradient(110deg,#145b64,#1b7b70);box-shadow:0 8px 18px #125e602b;font-size:15px}
body.entry .access .muted{margin:21px 0 0;color:#6d8188;font-size:12px}
body.entry .access .error{margin:16px 0;padding:12px 14px;border-radius:10px;text-align:left}
.studio-top{font-weight:700!important}.studio-nav nav a{font-weight:700!important}
@media(max-width:560px){body.entry{padding:14px}body.entry .access{padding:32px 24px 27px;border-radius:19px}body.entry .access h1{font-size:30px}}

/* Panel de inicio */
.dashboard-hero{min-height:154px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 32px!important}
.dashboard-hero .eyebrow{margin:0 0 8px;font-size:11px;letter-spacing:1.5px;opacity:.84}
.dashboard-hero h1{margin:0 0 8px;font-size:32px}
.dashboard-hero p:not(.eyebrow){margin:0;opacity:.92}
.dashboard-hero-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.dashboard-hero-tools .button{background:#f47721!important;color:#fff!important;white-space:nowrap;padding:13px 18px!important}
.dashboard-hero .sri-valid-badge{margin:0;padding:10px 13px;border-radius:999px}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 22px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.dashboard-stats article{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:145px;padding:23px 24px!important;background:#fff!important;border:1px solid #dce5ef!important;border-radius:15px!important;box-shadow:0 8px 22px #102f530b!important}
.dashboard-stats article:before{content:"";width:38px;height:4px;margin-bottom:7px;border-radius:9px;background:#f47721}
.dashboard-stats article span{color:#566f89;font-size:13px}
.dashboard-stats article strong{color:#12345b!important;font-size:32px;line-height:1.15}
.dashboard-stats article small{color:#75879a;font-size:12px}
.dashboard-panel{padding:24px!important}
.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}
.dashboard-section-heading h2{margin:0 0 5px;color:#12345b}
.dashboard-section-heading p{margin:0;color:#657990;font-size:13px}
.dashboard-chart-panel{margin-bottom:20px;padding:24px!important}
.dashboard-chart-panel .dashboard-section-heading{margin-bottom:10px}
.chart-period{flex:0 0 auto;padding:8px 11px;border-radius:8px;background:#f3f6fa;color:#50677f;font-size:11px;font-weight:700}
.dashboard-chart{display:block;width:100%;height:auto;overflow:visible}
.chart-gridline{stroke:#e9eef3;stroke-width:1}
.chart-baseline{stroke:#dbe4ed;stroke-width:1.2}
.chart-count{fill:#526b83;font:700 12px Arial,sans-serif;text-anchor:middle}
.chart-month{fill:#718196;font:12px Arial,sans-serif;text-anchor:middle}
.chart-footnote{margin:0;color:#7c8b9c;font-size:11px}
@media(max-width:900px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dashboard-hero{align-items:flex-start;flex-direction:column;padding:22px!important}.dashboard-hero-tools{justify-content:flex-start}.dashboard-stats{grid-template-columns:1fr;gap:12px}.dashboard-stats article{min-height:115px}.dashboard-panel{padding:17px!important}.chart-period{font-size:10px}}
.nav-disabled{display:block;padding:10px 12px;border-radius:8px;color:#a9bac5;font-size:12px;line-height:1.35;cursor:default}.module-card-disabled{opacity:.66;cursor:default;box-shadow:none!important;background:#f7f9fa!important}.module-card-disabled:hover{border-color:var(--line)!important;box-shadow:none!important}.module-card-disabled span{color:#667985!important;font-size:12px}
/* Paleta alineada al logo Pro-Firma: azul institucional y naranja. */
:root{--ink:#12345b;--accent:#f47721;--line:#dce5ef;--navy:#102f53;--blue:#1b5e96;--orange:#f47721}
.studio-nav,.studio-shell .studio-nav{background:#102f53!important}
.studio-nav nav a.active{background:#1b5e96!important;box-shadow:inset 4px 0 #f47721!important}
.hero,.studio-body .hero{background:linear-gradient(112deg,#102f53 0%,#174a78 68%,#21689a 100%)!important}
.studio-body button,.studio-body .button,.button,.btn-submit,.smallbtn{background:#185b91!important;color:#fff!important}
.studio-body .button.light,.studio-body .secondary,.studio-body .print-btn,.secondary,.print-btn{background:#edf2f8!important;color:#173858!important}
.studio-body .button:hover,.studio-body button:hover{background:#0f426f!important}
.badge,.notice{background:#f8f0e9!important;border-color:#efd8c1!important;color:#834519!important}
.nav-disabled{color:#bec8d3!important}
body.entry .access:before{background:linear-gradient(90deg,#102f53,#1b5e96,#f47721)!important}
body.entry .access .eyebrow{color:#1b5e96!important}
body.entry .access button{background:linear-gradient(110deg,#102f53,#1b5e96)!important;box-shadow:0 8px 18px #102f5333!important}
body.entry .access input:focus{outline-color:#f4772144!important;border-color:#1b5e96!important}
body.entry{background:radial-gradient(ellipse at 15% 5%,#f7dfca 0,#cbdced 27%,#1b4773 67%,#102f53 100%)!important}

/* Negrita global solicitada para todas las pantallas de Firma-Fact. */
body,body *{font-weight:700!important}
.sri-valid-badge{background:#e8f5ed!important;border-color:#bfe2c9!important;color:#17613a!important}
.invoice-list-panel{background:#fff!important}
.invoice-list-table tbody tr:hover{background:#f5f9fd!important}
.tax-rate-label{font-weight:700!important}

/* Ajuste de acceso y consistencia visual Pro-Firma. */
:root{--ink:#12345b;--accent:#f47721;--line:#dce5ef;--navy:#102f53;--blue:#1b5e96;--orange:#f47721}
body{font-family:Inter,"Segoe UI",Arial,sans-serif!important;color:var(--ink)!important}
body,body *{font-weight:700!important}
.studio-nav,.studio-shell .studio-nav{background:linear-gradient(180deg,#102f53,#0c2745)!important}
.studio-nav nav a.active{background:#1b5e96!important;box-shadow:inset 4px 0 #f47721!important}
.hero,.studio-body .hero{background:linear-gradient(112deg,#102f53 0%,#174a78 68%,#21689a 100%)!important}
button,.button,.btn-submit,.smallbtn,.studio-body button,.studio-body .button{background:#185b91!important;border-radius:10px!important;box-shadow:0 3px 9px #102f531c;transition:transform .15s,filter .15s}
button:hover,.button:hover,.studio-body button:hover{filter:brightness(1.08);transform:translateY(-1px)}
body.entry{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 15% 5%,#f7dfca 0,#cbdced 27%,#1b4773 67%,#102f53 100%)!important}
body.entry .access{width:min(460px,100%);max-width:460px;margin:0;padding:38px 42px 34px;border:1px solid #ffffffa3;border-radius:24px;background:linear-gradient(160deg,#fff 0,#f6f9fc 100%);box-shadow:0 28px 80px #071e2d62;overflow:hidden}
body.entry .access:before{content:"";position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,#102f53,#1b5e96,#f47721)}
body.entry .access .logo{width:102px;height:102px;margin:0 auto 17px}
body.entry .access .eyebrow{color:#1b5e96;font-size:11px;letter-spacing:1.8px;margin:0 0 8px}
body.entry .access h1{font-size:35px;letter-spacing:-1.2px;color:#183b4b;margin:8px 0;text-align:center}
body.entry .access>p:not(.eyebrow){color:#59707b;text-align:center;margin:8px 0 23px}
body.entry .access form{margin-top:22px}
body.entry .access label{display:block;color:#294c58;font-size:13px;margin:0 0 14px}
body.entry .access input{min-height:48px;border:1px solid #cbd7e2;border-radius:10px;background:#f8fafc;padding:12px 14px}
body.entry .access input:focus{outline:3px solid #f4772144;border-color:#1b5e96}
body.entry .access button{width:100%;padding:14px 18px;border-radius:10px;background:linear-gradient(110deg,#102f53,#1b5e96)!important;box-shadow:0 8px 18px #102f5333;font-size:15px}
@media(max-width:560px){body.entry{padding:14px}body.entry .access{padding:32px 24px 27px;border-radius:19px}body.entry .access h1{font-size:30px}}
