:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#223133;background:#f4f7f5;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}[hidden]{display:none!important}.hb-shell{display:flex;min-height:100vh}.hb-sidebar{width:242px;flex:none;background:#102a27;color:#e9f4ec;padding:26px 16px;display:flex;flex-direction:column;gap:25px}.hb-brand{display:flex;align-items:center;gap:11px;padding:0 10px;font-size:21px;letter-spacing:-.04em}.hb-brand strong{display:block}.hb-brand small{display:block;font-size:9px;letter-spacing:.19em;color:#9bb8ad}.hb-brand-icon{font-size:29px;color:#b2d26f}.hb-back{color:#bdd4c5;text-decoration:none;padding:10px;border-radius:8px}.hb-back:hover,.hb-nav button:hover{background:#20413b}.hb-nav-title{font-size:10px;letter-spacing:.18em;color:#91b4a7;padding:0 10px;margin-bottom:-15px}.hb-nav{display:grid;gap:5px}.hb-nav button{border:0;background:transparent;color:#c8ddd2;text-align:left;padding:12px;border-radius:9px}.hb-nav button.active{background:#d6e9b2;color:#1f3a2c;font-weight:700}.hb-sidebar-foot{margin-top:auto;border-top:1px solid #32514a;padding:18px 10px 0;color:#b6d3c3;font-size:12px}.hb-main{flex:1;min-width:0;padding:34px max(28px,4vw) 60px}.hb-header{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:27px}.hb-header h1{font-size:31px;letter-spacing:-.04em;margin:4px 0 8px;color:#18342e}.hb-header p{margin:0;color:#667671}.hb-eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#628566!important}.hb-company{min-width:215px}.hb-company label{display:block;font-size:11px;font-weight:700;color:#667671;margin-bottom:6px}.hb-panel{max-width:1240px}.hb-section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.hb-section-head h2{font-size:21px;margin:0 0 5px;color:#1c3930}.hb-section-head p{margin:0;color:#697a73}.hb-spaced{margin-top:34px}.hb-card{background:#fff;border:1px solid #dde7df;border-radius:14px;padding:20px;box-shadow:0 4px 18px #172d2110;margin-bottom:16px}.hb-card h3{margin:0 0 15px;font-size:17px;color:#1f3c31}.hb-form-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.hb-form-row label{flex:1;min-width:145px}.hb-form-row label:has(select){min-width:210px}.hb-form,.hb-form-grid{display:grid;gap:14px}.hb-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-form label,.hb-form-row label,.hb-card>label{display:grid;gap:6px;font-size:12px;font-weight:650;color:#486056}input,select{width:100%;height:40px;padding:8px 10px;border:1px solid #cddbd1;background:#fff;border-radius:8px;color:#21372e;outline:none}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #348760;outline-offset:2px}.hb-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hb-primary,.hb-secondary{border-radius:8px;padding:10px 14px;min-height:40px;font-weight:700}.hb-primary{border:1px solid #245f42;background:#245f42;color:#fff}.hb-primary:hover{background:#194b33}.hb-secondary{border:1px solid #bed2c1;background:#fff;color:#27583b}.hb-secondary:hover{background:#edf5e9}.hb-align-end{align-self:end}.hb-report-actions{margin:15px 0}.hb-note{color:#63746a;margin:8px 0 18px}.hb-aviso{border:1px solid #aecbba;background:#e6f4e9;color:#1b5534;border-radius:9px;padding:12px 15px;margin-bottom:15px}.hb-aviso.error{background:#fff1ed;border-color:#edc6bc;color:#8c3125}.hb-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hb-two-col>.hb-card{min-width:0}.hb-empty{color:#7a8980;margin:8px 0}.hb-item{border-top:1px solid #e7ede8;padding:12px 0}.hb-item:first-child{border-top:0;padding-top:0}.hb-item strong{color:#203d32}.hb-muted{font-size:12px;color:#73847a}.hb-badge{display:inline-block;border-radius:99px;padding:4px 9px;background:#eef4e7;color:#335c33;font-size:11px;font-weight:700}.hb-badge.warn{background:#fff0d9;color:#805520}.hb-badge.bad{background:#fae9e6;color:#9c392b}.hb-report-card{padding:0;overflow:hidden}.hb-report-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:17px 20px;background:#edf5e9;border-bottom:1px solid #dcebdc}.hb-report-head h3{margin:0 0 3px;font-size:17px}.hb-report-head small{color:#5e7363}.hb-report-body{padding:18px 20px}.hb-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin-bottom:18px}.hb-metric{background:#f7f9f7;border:1px solid #e8efe9;border-radius:9px;padding:11px}.hb-metric small{display:block;color:#63766a;margin-bottom:5px}.hb-metric strong{font-size:17px;color:#234631}.hb-subtitle{font-size:13px;margin:18px 0 8px;color:#46654e}.hb-line{border-top:1px solid #e8eee9;padding:8px 0;display:flex;justify-content:space-between;gap:16px}.hb-line:first-child{border-top:0}.hb-line span:last-child{text-align:right}.hb-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px}.hb-warning{border-left:3px solid #d4943e;padding:8px 12px;background:#fff8e9;color:#775229;margin-top:14px}.hb-error-list{color:#8c3125}.hb-inline-button{border:0;background:none;color:#236340;padding:3px 0;text-decoration:underline;font-weight:700}.hb-table-wrap{overflow-x:auto}@media(max-width:850px){.hb-shell{display:block}.hb-sidebar{width:auto;padding:14px;gap:10px}.hb-nav{display:flex;overflow-x:auto}.hb-nav button{white-space:nowrap}.hb-nav-title,.hb-sidebar-foot{display:none}.hb-main{padding:24px 16px}.hb-header{display:block}.hb-company{margin-top:20px}.hb-two-col{grid-template-columns:1fr}}@media(max-width:520px){.hb-form-grid{grid-template-columns:1fr}.hb-header h1{font-size:26px}.hb-report-head{align-items:start}}

.hb-setup{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 24px;padding:14px 16px;border:1px solid #d4e3d5;background:#edf5e9;border-radius:12px}.hb-setup>span{font-weight:700;color:#36593e}.hb-setup a{font-size:12px;text-decoration:none}.hb-suggestion{padding:14px 16px;background:#edf5e9;border:1px solid #d4e3d5;border-radius:10px}.hb-suggestion .hb-note{margin:0 0 10px}summary{cursor:pointer;font-size:16px;font-weight:700;color:#1f3c31}details>p{color:#63746a;line-height:1.5}details[open]>summary{margin-bottom:16px}details #versiones{margin-top:18px}.hb-report-actions>.hb-note{font-size:12px;margin:10px 0}.hb-form>.hb-note{margin:0;font-size:12px;line-height:1.5}

.hb-report-reading{font-size:13px;line-height:1.55;color:#5c7064;margin:12px 0 18px;max-width:1050px}
.hb-header .hb-spaced-help{margin-top:12px;font-size:12px}
.hb-viatico-choice{padding:14px 16px;border:1px solid #d4e3d5;border-radius:10px;background:#f6faf3}.hb-form .hb-check{display:flex;align-items:center;gap:10px;font-size:14px}.hb-check input{width:20px;height:20px;flex:none;padding:0;accent-color:#245f42}.hb-viatico-choice .hb-note{margin:8px 0 0;font-size:12px;line-height:1.5}.hb-viatico-choice .hb-inline-button{margin-top:8px}
.hb-report-table-surface{background:#fff;border:1px solid #dbe5de;border-radius:12px;overflow:hidden;margin-bottom:20px}
.hb-report-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.5;min-width:880px}
.hb-table-caption{text-align:left;padding:14px 16px;font-size:15px;font-weight:700;color:#21432f;background:#fff;border-bottom:1px solid #dbe5de}
.hb-report-table th{text-align:left;vertical-align:top;padding:12px 11px;background:#edf5e9;color:#526e5b;font-size:11px;font-weight:700}
.hb-report-table th:first-child{width:23%}
.hb-report-table td{border-top:1px solid #dbe5de;vertical-align:top;padding:15px 11px}
.hb-report-table td>strong{display:block;color:#203e30}
.hb-report-table td>small{display:block;margin-top:4px;color:#64766a;font-size:11px}
.hb-report-table td>.hb-badge{margin-top:7px;display:table}
.hb-report-table .hb-selected-row{background:#f1f7ed}
.hb-salary-reference{margin-top:8px;font-weight:600;color:#365b41;font-variant-numeric:tabular-nums}
.hb-amount-cell>strong{font-variant-numeric:tabular-nums}
.hb-detail-button{white-space:nowrap;font-size:12px;min-height:36px;padding:8px 10px}
.hb-report-detail{scroll-margin-top:20px;padding:22px}
.hb-detail-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}
.hb-detail-head .hb-eyebrow{margin:0 0 6px;font-size:10px}
.hb-detail-head h3{margin-bottom:4px;font-size:19px}
.hb-detail-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:26px}
.hb-detail-grid>div{min-width:0}
.hb-detail-grid .hb-subtitle:first-child{margin-top:0}
.hb-detail-grid .hb-note{font-size:12px;line-height:1.55;margin:6px 0 16px}
.hb-period{padding:13px 0;border-top:1px solid #e3ebe5}
.hb-period-heading{display:flex;justify-content:space-between;align-items:start;flex-wrap:wrap;gap:7px;font-size:12px}
.hb-period-heading>.hb-badge{border-radius:6px;font-size:10px}
.hb-period-status{font-size:13px;font-weight:700;color:#365b41;margin:8px 0 5px}
.hb-loss{color:#9c392b}
.hb-period .hb-muted{margin:0;line-height:1.6}
.hb-viatico-detail{padding:8px 0;border-bottom:1px solid #e3ebe5}
.hb-viatico-detail .hb-line{padding:0;border:0}
.hb-viatico-detail p{margin:6px 0 0}
.hb-warning p{font-size:12px;line-height:1.6;margin:8px 0 0}
.hb-day-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:9px}
.hb-report-filters .hb-period-heading{align-items:center;gap:14px;margin-bottom:10px}.hb-filter-title{font-size:13px;font-weight:700;color:#365b41}.hb-period-selector{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #d4e3d5;border-radius:11px;background:#f4f8f1}.hb-period-selector button{min-height:38px;padding:9px 15px;border:1px solid transparent;border-radius:7px;background:transparent;color:#48634e;font-weight:650}.hb-period-selector button:hover{background:#e7f0e0}.hb-period-selector button.active{border-color:#245f42;background:#245f42;color:#fff;box-shadow:0 2px 5px #245f4220}.hb-report-filters>.hb-note{font-size:12px;margin:0 0 20px;line-height:1.5}.hb-closed-filter{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:16px;margin-top:18px;border-top:1px solid #e3ebe5}.hb-closed-filter .hb-check{display:flex;align-items:center;gap:9px;color:#365b41;font-size:13px;font-weight:700;flex:none}.hb-closed-filter .hb-note{flex:1;min-width:220px;margin:0;font-size:12px;line-height:1.5}.hb-report-filter-summary{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
@media(max-width:520px){.hb-period-selector{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.hb-period-selector button{padding:9px 7px}.hb-period-selector [data-periodo="PERSONALIZADO"]{grid-column:1/-1}.hb-report-filters .hb-form-row>button{width:100%;margin-top:3px}.hb-closed-filter{gap:8px;flex-direction:column;align-items:flex-start}.hb-closed-filter .hb-note{min-width:0;width:100%;flex:auto}}
.hb-cancel-day{margin-top:12px;padding:16px;background:#f7f9f5;border:1px solid #dce6dc;border-radius:10px}
.hb-heading-help{display:flex;align-items:center;gap:10px;min-width:0}.hb-heading-help>h1,.hb-heading-help>h2,.hb-heading-help>h3,.hb-heading-help>h4{margin:0}.hb-subtitle-help{margin:18px 0 10px}.hb-detail-grid .hb-subtitle-help:first-child{margin-top:0}.hb-help{position:relative;display:inline-block;flex:none;vertical-align:middle;text-align:left}.hb-help>summary{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;border-radius:10px;background:#e8f3ee;color:#387a70;font-size:19px;font-weight:500;line-height:1;list-style:none;cursor:pointer;user-select:none}.hb-help>summary::-webkit-details-marker{display:none}.hb-help>summary:hover,.hb-help[open]>summary{background:#dceee6;border-color:#b8d5c7}.hb-help>summary:focus-visible{outline:2px solid #348760;outline-offset:3px}.hb-help[open]{z-index:40}.hb-help[open]>summary{margin-bottom:0}.hb-help-popover{position:absolute;top:calc(100% + 9px);left:0;width:min(420px,calc(100vw - 32px));max-height:min(420px,65vh);overflow:auto;overscroll-behavior:contain;padding:18px 20px;border:1px solid #b8d1c6;border-radius:14px;background:#fff;box-shadow:0 16px 40px #18352b24;font-size:13px;font-weight:400;line-height:1.6;color:#687a71}.hb-help-popover>strong{display:block;color:#243b32;font-size:15px;font-weight:750;line-height:1.35;margin-bottom:8px}.hb-help-popover p{margin:8px 0 0!important;font-size:13px!important;color:#687a71!important;line-height:1.6!important}.hb-help-end>.hb-help-popover{left:auto;right:0}.hb-help-above>.hb-help-popover{top:auto;bottom:calc(100% + 9px)}.hb-export-actions{margin-bottom:18px}.hb-period-heading>.hb-help{margin-left:auto}.hb-viatico-detail{position:relative;padding-right:40px}.hb-viatico-detail>.hb-help{position:absolute;right:0;top:6px}.hb-viatico-detail .hb-line{align-items:center}.hb-viatico-detail .hb-warning{position:relative}.hb-search-options{margin:0 0 16px;color:#65796d}.hb-search-options>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;font-size:12px;font-weight:600;color:#667b6e;border:1px solid #d6e3da;border-radius:8px;padding:7px 10px;background:transparent}.hb-search-options>summary::-webkit-details-marker{display:none}.hb-search-options>summary:after{content:'⌄';font-size:13px;transition:transform .15s}.hb-search-options[open]>summary{margin-bottom:9px}.hb-search-options[open]>summary:after{transform:rotate(180deg)}.hb-search-options>summary:focus-visible{outline:2px solid #348760;outline-offset:2px}.hb-search-options>.hb-check{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:12px;font-weight:500;color:#596f60}.hb-search-options .hb-check input{width:16px;height:16px;flex:none}.hb-filter-status{border-radius:20px;background:#edf2e5;color:#4d6948;padding:2px 6px;font-size:10px;font-weight:650}.hb-viatico-choice>.hb-heading-help{flex-wrap:wrap}.hb-form>.hb-heading-help{margin-bottom:0}
@media(max-width:520px){.hb-help-popover{width:min(340px,calc(100vw - 32px));padding:16px}.hb-heading-help{gap:8px}.hb-help>summary{width:28px;height:28px}.hb-period-heading>.hb-help{margin-left:0}.hb-export-actions{gap:10px}.hb-search-options>summary{max-width:100%;flex-wrap:wrap}}
@media(min-width:851px) and (max-width:1250px){.hb-main{padding-left:24px;padding-right:24px}.hb-sidebar{width:208px}}
@media(max-width:1000px){.hb-detail-grid{grid-template-columns:1fr;gap:20px}.hb-detail-grid>div+div{border-top:1px solid #dbe5de;padding-top:20px}}
@media(max-width:520px){.hb-report-detail{padding:16px}.hb-detail-head{flex-wrap:wrap}.hb-report-table{min-width:880px}.hb-report-table td{padding:12px 9px}.hb-day-heading>.hb-badge{white-space:normal}.hb-line{font-size:12px;line-height:1.5}}

.hb-preview-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}.hb-preview-head h3,.hb-preview-head h4{margin:0 0 6px}.hb-preview-summary{margin:0;color:#5c7064;font-size:13px;line-height:1.5}.hb-dialog{border:1px solid #c5d9cc;border-radius:18px;padding:28px;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;color:#223133;box-shadow:0 20px 80px #102a2740}.hb-dialog::backdrop{background:#102a2780;backdrop-filter:blur(3px)}.hb-dialog h2{margin:0;color:#1c3930;font-size:22px}.hb-dialog p{margin:0;line-height:1.6;color:#5c7064}.hb-confirm-summary{background:#f3f7f0;border:1px solid #dbe6d7;border-radius:10px;padding:14px}.hb-confirm-summary .hb-line{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.hb-confirm-summary .hb-line span:last-child{font-weight:650}.hb-dialog textarea{width:100%;padding:10px;border:1px solid #cddbd1;border-radius:8px;resize:vertical;min-height:80px;font:inherit}.hb-dialog textarea:focus-visible{outline:2px solid #348760;outline-offset:2px}.hb-dialog .hb-actions{justify-content:flex-end;margin-top:8px}.hb-dialog .hb-warning{color:#8c3125;margin:0}.hb-preview-head .hb-muted{margin-bottom:0}@media(max-width:520px){.hb-dialog{padding:20px}.hb-dialog .hb-actions button{flex:1}.hb-preview-head{align-items:flex-start}}
.hb-report-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:18px}
.hb-report-toolbar>.hb-search-options,.hb-report-toolbar>.hb-export-actions{margin:0}
.hb-report-toolbar>.hb-search-options>summary{min-height:40px}
