:root{--co-line:var(--dm-line,#d8cbb8);--co-surface:var(--dm-papel,#faf8f3);--co-ink:var(--dm-bosque,#1c3b30)}
#admin{width:100%;max-width:100%;overflow-x:hidden}
#admin>.card{width:100%;max-width:100%;overflow:hidden}
#admin .admin-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;width:100%;max-width:100%;margin:0;}
#admin .admin-grid .btn{display:flex;width:100%;min-width:0;min-height:112px;align-items:flex-end;justify-content:flex-start;padding:18px!important;white-space:normal;overflow-wrap:anywhere;line-height:1.2;text-align:left!important;text-transform:uppercase}
#admin .actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;max-width:100%}
#admin .actions>.btn{flex:1 1 170px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#admin h1,#admin h2,#admin h3,#admin h4,#admin .btn,#admin .chip,#employees th{text-transform:uppercase}
.coadmin-list,.expense-list{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:16px}
.coadmin-row,.expense-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 16px;border:1px solid var(--co-line);border-radius:14px;background:var(--co-surface)}
.coadmin-row>div,.expense-row>div{min-width:0;flex:1}.coadmin-row strong,.expense-row strong{display:block;color:var(--co-ink);overflow-wrap:anywhere}.coadmin-row small,.expense-row small{display:block;margin-top:4px;color:var(--dm-muted,#52655a);overflow-wrap:anywhere;line-height:1.35}
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:10px 0 16px}.permission-grid label{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 12px;border:1px solid var(--co-line);border-radius:10px;background:var(--co-surface);font-size:13px;line-height:1.2}.permission-grid input{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;padding:0!important}
#coadminForm,#expenseForm{width:100%;max-width:100%;margin-inline:0!important;padding:16px!important;background:#f3eee4!important;border:1px solid var(--co-line)}
.expense-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:16px 0;padding:14px 16px;border-radius:14px;background:var(--dm-salvia,#dce4d9);color:var(--co-ink)}
.coadmin-closure-receipts{margin-top:20px;padding-top:16px;border-top:1px solid var(--co-line)}.coadmin-closure-list{display:flex;flex-direction:column;gap:8px}.coadmin-closure-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid var(--co-line);border-radius:12px;background:var(--co-surface)}.coadmin-closure-row>div{flex:1 1 180px;min-width:0}.coadmin-closure-row strong,.coadmin-closure-row small{display:block;overflow-wrap:anywhere}.coadmin-closure-row small{margin-top:3px;color:var(--dm-muted,#52655a)}.closure-receipt-state{font-size:11px;font-weight:800;color:var(--co-ink);white-space:nowrap}
.coadmin-closure-receipts h3{margin:0 0 6px}.coadmin-closure-receipts h4{margin:4px 0 6px}.regularize-reason-preset{margin:4px 0 8px;text-align:left}
.notification-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.notification-page-head h3{margin:4px 0}.notification-page-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:18px 0;padding:12px;border-radius:14px;background:#f3eee4}.notification-page-toolbar label{flex:1 1 160px;min-width:140px}.notification-page-toolbar select{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid var(--co-line);border-radius:10px;background:var(--co-surface)}.notification-select-all{display:flex!important;align-items:center;gap:7px;padding:10px 0}.notifications-page-list{display:flex;flex-direction:column;gap:8px}.notification-page-row{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--co-line);border-left:4px solid #9aa69c;border-radius:12px;background:var(--co-surface);cursor:pointer}.notification-page-row.priority-high{border-left-color:#bd4a43}.notification-page-row.priority-medium{border-left-color:#d28b3f}.notification-page-row.is-archived{opacity:.6}.notification-page-row>input{width:18px;min-width:18px;margin-top:3px}.notification-page-row span{display:flex;flex-direction:column;gap:4px;min-width:0}.notification-page-row small{color:var(--dm-muted,#52655a)}.notification-page-row em{font-style:normal;overflow-wrap:anywhere}@media(max-width:600px){.notification-page-head{flex-direction:column}.notification-page-head .back{align-self:flex-start}.notification-page-toolbar>.chip{flex:1 1 145px}}
.balance-head,.balance-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.balance-head h3{margin:4px 0}.balance-filters{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.balance-filters label{flex:1 1 180px}.balance-filters select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid var(--co-line);border-radius:12px;background:var(--co-surface)}.balance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.balance-kpi{padding:16px;border:1px solid var(--co-line);border-radius:16px;background:var(--co-surface);min-width:0}.balance-kpi small,.balance-kpi span{display:block;color:var(--dm-muted,#52655a);font-size:11px}.balance-kpi strong{display:block;margin:5px 0;font-size:25px;color:var(--co-ink)}.balance-kpi.primary{background:#e4f2e8}.balance-kpi.bank{background:#f4ead9}.balance-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;margin-top:14px}.balance-panel{margin-top:14px;padding:16px;border:1px solid var(--co-line);border-radius:16px;background:var(--co-surface);min-width:0}.balance-grid .balance-panel{margin-top:0}.balance-bar-row,.balance-cat-row,.balance-bank-row{display:grid;grid-template-columns:72px 1fr 90px;align-items:center;gap:10px;margin:10px 0;font-size:12px}.balance-bar-row>div{height:14px;border-radius:99px;background:#edf0ea;overflow:hidden;position:relative}.balance-bar-row i,.balance-bar-row em,.balance-cat-row i{display:block;height:100%;border-radius:99px}.balance-bar-row i{background:#23654c}.balance-bar-row em{background:#d58a56;position:absolute;left:0;top:0;opacity:.8}.balance-bar-row b,.balance-cat-row strong{color:var(--co-ink);text-align:right}.balance-cat-row{grid-template-columns:minmax(0,1fr) 80px}.balance-cat-row i{grid-column:1 / -1;background:#dceadf;height:8px}.balance-bank-total{font-weight:900;color:var(--co-ink)}.balance-bank-row{grid-template-columns:1fr 100px;border-bottom:1px solid var(--co-line);padding:8px 0}.balance-bank-row small{display:block;color:var(--dm-muted,#52655a);margin-top:3px}@media(max-width:760px){.balance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.balance-grid{grid-template-columns:1fr}.balance-head{align-items:stretch;flex-direction:column}.balance-head .btn{width:100%}}@media(max-width:390px){.balance-kpi{padding:12px}.balance-kpi strong{font-size:20px}.balance-bar-row{grid-template-columns:58px 1fr 72px}}
.coadmin-switch-icon{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin:0 0 0 12px;padding:0;border:1px solid #b8cfbd;border-radius:50%;background:#e1f0e3;color:#17633f;font-size:25px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(23,99,63,.16);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.coadmin-switch-icon:hover,.coadmin-switch-icon:focus-visible{background:#cde7d2;box-shadow:0 5px 14px rgba(23,99,63,.25);transform:translateY(-1px)}.coadmin-switch-icon:active{transform:scale(.94)}.employee-header .coadmin-switch-icon{margin-left:auto}.coadmin-admin-head{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px}.coadmin-admin-head h1{margin:0;flex:1;min-width:0}
@media(max-width:760px){#admin .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#admin .admin-grid .btn{min-height:96px;padding:14px!important;font-size:14px!important}.coadmin-row,.expense-row{padding:12px;gap:8px}.coadmin-row .chip{flex:0 0 auto}.coadmin-switch-icon{width:40px;height:40px;flex-basis:40px;font-size:22px;margin-left:8px}.permission-grid{grid-template-columns:1fr}}
@media(max-width:390px){#admin .admin-grid{grid-template-columns:1fr 1fr;gap:8px!important}#admin .admin-grid .btn{min-height:88px;padding:11px!important;font-size:12px!important}.card{padding:16px!important}}

.tariff-request-status,.tariff-approval-row{margin-top:18px;padding:16px;border:1px solid rgba(20,67,54,.16);border-radius:18px;background:#fffdf8}.tariff-status-head,.tariff-approval-head,.tariff-approval-row,.tariff-request-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.tariff-status-head h4{margin:0}.tariff-status-head span,.tariff-request-row small,.tariff-approval-main span{display:block;color:#687a72;font-size:.82rem}.tariff-request-row{padding:12px 0;border-bottom:1px solid #e6e1d6}.tariff-request-row:last-child{border-bottom:0}.tariff-request-row b,.approval-state{font-size:.75rem;letter-spacing:.06em}.status-pending b{color:#a66b00}.status-approved b{color:#20744c}.status-rejected b{color:#a63d35}.tariff-approval-row{align-items:flex-start}.tariff-approval-main{flex:1}.tariff-approval-main>strong{display:block;font-size:1.05rem}.tariff-diff{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:.85rem}.tariff-diff b{color:#155b46}.tariff-approval-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tariff-approval-actions .btn{min-width:120px}.tariff-approval-head{margin-bottom:18px}.tariff-approval-head h3{margin:.2rem 0}.tariff-approval-head .back{white-space:nowrap}@media(max-width:620px){.tariff-status-head,.tariff-approval-head,.tariff-approval-row,.tariff-request-row{align-items:flex-start;flex-direction:column}.tariff-approval-actions{width:100%;justify-content:stretch}.tariff-approval-actions .btn{flex:1}.tariff-diff{flex-direction:column;gap:4px}.tariff-approval-head .back{align-self:flex-start}}

.branch-context{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:8px 0 14px;padding:10px 14px;border:1px solid rgba(20,67,54,.14);border-radius:14px;background:rgba(255,255,255,.7);color:var(--dm-bosque,#1c3b30);font-size:.86rem}.branch-context label,.branch-context span{font-weight:700;letter-spacing:.03em}.branch-context select{min-width:180px;max-width:100%;padding:8px 28px 8px 10px;border:1px solid #c9c2b4;border-radius:10px;background:#fffdf9;color:inherit;font-weight:700}@media(max-width:620px){.branch-context{justify-content:space-between;flex-wrap:wrap}.branch-context select{flex:1;min-width:140px}}

/* Barra superior de contexto de sucursal */
#admin>.branch-context{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:11px 16px;border:0;border-radius:0 0 16px 16px;background:#174b39;color:#fff;box-shadow:0 6px 16px rgba(18,57,43,.16);animation:branchContextPulse 7s ease-in-out infinite;transition:opacity .35s ease,transform .35s ease}#admin>.branch-context label{font-size:.76rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.82)}#admin>.branch-context select{min-width:220px;padding:9px 34px 9px 12px;border:1px solid rgba(255,255,255,.42);border-radius:11px;background:#23654d;color:#fff;font:inherit;font-weight:800;outline:none;cursor:pointer}#admin>.branch-context select option{background:#fff;color:#174b39}#admin>.branch-context span{font-size:.76rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.78)}#admin>.branch-context strong{font-size:.98rem;color:#fff}@keyframes branchContextPulse{0%,100%{opacity:1;transform:translateY(0)}45%{opacity:.88;transform:translateY(0)}52%{opacity:1;transform:translateY(-1px)}}@media(max-width:620px){#admin>.branch-context{padding:10px 12px;gap:8px}#admin>.branch-context select{min-width:0;flex:1;font-size:.87rem;padding:8px 28px 8px 10px}}

/* Cinta compacta de sucursal */
#admin>.branch-context{position:sticky!important;top:0;z-index:80;width:100%;min-height:30px;display:block;margin:-8px 0 14px;padding:0;border:0;border-radius:0;background:#174b39;color:#fff;box-shadow:0 4px 12px rgba(18,57,43,.18);animation:branchRibbonPulse 7s ease-in-out infinite}#admin>.branch-context .branch-ribbon{display:flex;width:100%;min-height:30px;align-items:center;justify-content:center;gap:8px;padding:5px 12px;border:0;background:transparent;color:#fff;font-size:.82rem;font-weight:800;letter-spacing:.04em;cursor:pointer}#admin>.branch-context .branch-ribbon span{font-size:.95rem;line-height:1}#admin>.branch-context .branch-menu{position:absolute;left:50%;top:100%;width:100vw;transform:translateX(-50%);padding:8px;background:rgba(23,75,57,.94);backdrop-filter:blur(10px);box-shadow:0 10px 26px rgba(18,57,43,.22)}#admin>.branch-context .branch-menu[hidden]{display:none}#admin>.branch-context .branch-menu button{display:block;width:min(520px,100%);margin:0 auto;padding:10px 14px;border:0;border-bottom:1px solid rgba(255,255,255,.16);background:transparent;color:#fff;text-align:center;font:inherit;font-size:.84rem;cursor:pointer}#admin>.branch-context .branch-menu button:last-child{border-bottom:0}#admin>.branch-context .branch-menu button.selected,#admin>.branch-context .branch-menu button:hover{background:rgba(255,255,255,.14)}@keyframes branchRibbonPulse{0%,100%{opacity:1}45%{opacity:.84}55%{opacity:1}}@media(max-width:620px){#admin>.branch-context{margin:-6px 0 12px}.branch-menu button{min-height:42px}}

.branch-picker{display:flex;flex-wrap:wrap;gap:5px;min-width:150px;max-width:220px}.branch-picker label{display:inline-flex!important;align-items:center;gap:4px;padding:4px 7px;border:1px solid #d9d1c2;border-radius:8px;background:#fffdf8;font-size:11px!important;white-space:nowrap}.branch-picker input{width:auto!important;margin:0!important}.branch-picker input:disabled{opacity:.7}@media(max-width:620px){.branch-picker{max-width:180px;min-width:130px}}

.employee-table-wrap{width:100%;overflow-x:auto}.employee-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:13px}.employee-table th{padding:11px 10px;background:#173f32;color:#fff;text-align:left;white-space:nowrap}.employee-table th:first-child{border-radius:10px 0 0 0}.employee-table th:last-child{border-radius:0 10px 0 0}.employee-table td{padding:14px 10px;border-bottom:1px solid #e8e1d4;vertical-align:middle}.employee-table td input:not([type=checkbox]){box-sizing:border-box;margin:2px 4px 2px 0;padding:8px 9px;border:1px solid #cdbf9f;border-radius:10px;background:#f8f3e8;color:#28483c}.employee-table .branch-column{text-align:center;white-space:normal;max-width:110px}.employee-table .branch-cell{text-align:center;min-width:82px}.employee-table .branch-cell input{width:20px;height:20px;accent-color:#174b39}.employee-table .employee-access{display:flex;align-items:center;gap:7px;white-space:nowrap;font-weight:700}.employee-table .employee-access input{width:20px;height:20px;accent-color:#174b39}.employee-table .employee-actions{white-space:nowrap}.employee-table .employee-actions .chip{margin-right:4px}

.employee-table .branch-head-check{display:flex;align-items:center;justify-content:center;gap:5px;white-space:normal;text-align:center;cursor:pointer}.employee-table .branch-head-check input{width:17px;height:17px;accent-color:#d8e8dc}.employee-table .branch-cell input{cursor:pointer}.employee-table tr.branch-change-pending{background:rgba(220,235,222,.38)}.employee-actions-cell{position:relative;min-width:72px;text-align:center}.employee-actions-trigger{width:38px;height:34px;border:1px solid #cdbc9f;border-radius:11px;background:#fffdf8;color:#174b39;font-size:20px;line-height:1;cursor:pointer;transition:transform .16s ease,background .16s ease}.employee-actions-trigger:hover,.employee-actions-trigger[aria-expanded="true"]{background:#e2eee6;transform:translateY(-1px)}.employee-actions-menu{position:absolute;right:6px;top:calc(100% - 4px);z-index:90;width:174px;padding:6px;border:1px solid #d7cbb6;border-radius:12px;background:rgba(255,253,248,.98);box-shadow:0 12px 28px rgba(30,55,43,.2);text-align:left}.employee-actions-menu[hidden]{display:none}.employee-actions-menu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#174b39;font-size:11px;font-weight:800;text-align:left;cursor:pointer}.employee-actions-menu button:hover{background:#e7f0e8}.employee-actions-menu button.danger{color:#a63f39}.employee-actions-menu button.danger:hover{background:#fae7e3}

.employee-table th.branch-column{width:120px;max-width:120px;overflow:hidden}.employee-table .branch-head-check{width:100%;min-width:0;overflow:hidden}.employee-table .branch-name-header{display:block;max-width:88px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:11px;line-height:1.2}.employee-table .branch-head-check input{flex:0 0 auto}

/* Encabezados de sucursal siempre visibles y legibles */
.employee-table th.branch-column{width:136px;min-width:136px;max-width:136px;padding-inline:8px;text-align:center;vertical-align:middle}
.employee-table .branch-head-check{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;overflow:hidden;color:#fff!important;opacity:1}
.employee-table .branch-head-check input{display:block;flex:0 0 auto;width:17px;height:17px;margin:0}
.employee-table .branch-name-header{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff!important;font-size:10px;font-weight:900;line-height:1.2;letter-spacing:.04em;text-align:center}

/* Tabla de cobradores responsive: todas las sucursales visibles sin scroll horizontal */
.employee-table-wrap{width:100%;max-width:100%;overflow-x:hidden}
.employee-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}
.employee-table th,.employee-table td{box-sizing:border-box;min-width:0;overflow:hidden}
.employee-table th{padding:9px 6px;font-size:10px;letter-spacing:.03em}
.employee-table th:first-child{width:25%}.employee-table th:nth-child(2){width:22%}.employee-table th.branch-column{width:12%;min-width:0;max-width:none;padding-inline:3px}.employee-table th:nth-last-child(2){width:17%}.employee-table th:last-child{width:12%}
.employee-table td{padding:10px 5px}.employee-table td:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:3px}.employee-table td:first-child input{width:calc(50% - 2px)!important;min-width:0!important;margin:0!important;padding:7px 6px!important;font-size:11px}.employee-table td:nth-child(2) input{width:100%!important;max-width:100%!important;margin:0!important;padding:7px 6px!important;font-size:11px}.employee-table .branch-cell{min-width:0;width:100%;padding-inline:2px}.employee-table .branch-cell input{width:18px;height:18px}.employee-table .employee-access{justify-content:center;gap:3px;white-space:normal;font-size:10px}.employee-table .employee-access input{width:18px;height:18px}.employee-actions-cell{min-width:0;width:100%;padding-inline:2px!important}.employee-actions-trigger{width:32px;height:30px;font-size:18px}
.employee-table .branch-head-check{gap:2px}.employee-table .branch-name-header{font-size:9px;letter-spacing:0;line-height:1.1}
@media(max-width:600px){.employee-table{font-size:11px}.employee-table th{font-size:9px;padding:8px 3px}.employee-table th:first-child{width:25%}.employee-table th:nth-child(2){width:22%}.employee-table th.branch-column{width:12%}.employee-table th:nth-last-child(2){width:17%}.employee-table th:last-child{width:12%}.employee-table td{padding:8px 3px}.employee-table td:first-child input,.employee-table td:nth-child(2) input{font-size:10px;padding:6px 4px!important}.employee-table .branch-name-header{font-size:8px}.employee-table .employee-access{font-size:9px}.employee-table .employee-access input{width:16px;height:16px}.employee-actions-trigger{width:28px;height:28px;font-size:16px}}

/* Override global card table rules for the responsive COBRADORES table */
#employees .employee-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
#employees .employee-table td:first-child,#employees .employee-table .branch-cell{min-width:0!important}
#employees .employee-table td:nth-child(2){min-width:0!important}

/* Tabla formal de COBRADORES y sucursales */
.branch-list{display:flex;flex-direction:column;gap:8px;margin:10px 0 16px}.branch-item{display:flex;align-items:center;gap:8px;min-width:0}.branch-item .chip{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0;text-align:left}.branch-item-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-delete{flex:0 0 38px;width:38px!important;height:38px!important}
#employees .employee-table{border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #d9cdb9;border-radius:14px;background:#fffdf8;color:#173f32}
#employees .employee-table th{height:44px;padding:8px 6px;text-align:center;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#employees .employee-table th:first-child,#employees .employee-table th:nth-child(2){text-align:left}
#employees .employee-table th.branch-column{width:12%;padding:5px 3px}
#employees .employee-table .branch-head-check{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3px;min-height:28px;overflow:hidden;white-space:nowrap}
#employees .employee-table .branch-name-header{display:block;min-width:0;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.1}
#employees .employee-table .branch-head-check input{width:16px;height:16px;flex:0 0 16px;margin:0}
#employees .employee-table td{height:56px;padding:8px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#employees .employee-table td:first-child{display:table-cell;max-width:0}
#employees .employee-table td:first-child input{display:inline-block;max-width:calc(50% - 3px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#employees .employee-table td:nth-child(2){max-width:0}
#employees .employee-table td:nth-child(2) input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){#employees .employee-table th{font-size:8px}#employees .employee-table .branch-name-header{font-size:8px}#employees .employee-table td{height:52px;padding:7px 3px}#employees .employee-table td:first-child input{font-size:10px!important;padding:6px 3px!important}#employees .employee-table td:nth-child(2) input{font-size:10px!important;padding:6px 3px!important}}

/* Tabla formal y minimalista de COBRADORES */
#employees .employee-table-wrap{border:1px solid #d8cbb7;border-radius:16px;background:#fffdf8;box-shadow:0 8px 24px rgba(28,59,48,.06)}
#employees .employee-table{border:0!important;border-radius:16px;overflow:hidden;color:#173f32}
#employees .employee-table th{background:#173f32;color:#fff;border:0;height:42px;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
#employees .employee-table td{background:#fffdf8;border-bottom:1px solid #e8e0d2!important;height:54px;font-size:11px}
#employees .employee-table tbody tr:last-child td{border-bottom:0!important}
#employees .employee-table td input[readonly]{border:0!important;background:transparent!important;box-shadow:none;padding:3px 2px!important;color:#173f32;font-weight:600}
#employees .employee-table td:nth-child(2) input{font-weight:500;color:#476258}
#employees .employee-table .branch-cell{background:#fbf8f1;text-align:center}
#employees .employee-table .employee-access{font-size:10px;color:#315749}
#employees .employee-table .employee-actions-trigger{border-color:#cdbd9f;background:#fffdf8}
#employees .employee-table .employee-actions-menu{top:42px;right:3px}
.employee-branch-save-bar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #e8e0d2}.employee-branch-save-bar .btn{flex:0 0 auto;min-width:190px;padding:12px 16px;font-size:12px}.employee-branch-save-bar .muted{font-size:11px}@media(max-width:600px){.employee-branch-save-bar{align-items:stretch;flex-direction:column}.employee-branch-save-bar .btn{width:100%}}

/* Stable co-admin switch and branch badge */
.admin-titlebar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:72px}.admin-titlebar h1{margin:0}.coadmin-switch-slot{display:flex;align-items:center;justify-content:center;flex:0 0 48px;min-width:48px;min-height:48px}.employee-header{display:flex;align-items:center;gap:12px}.employee-header .employee-brand{flex:1;min-width:0}.employee-branch-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 1 clamp(88px,28vw,150px);min-width:0;max-width:150px;max-height:2.45em;overflow:hidden;padding:6px 9px;border-radius:999px;background:#e7f0e8;color:#174b39;font-size:11px;font-weight:800;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere}.branch-create{align-items:center}.branch-create .branch-icon-select{flex:0 0 66px}.branch-icon-select{min-height:42px;padding:8px 10px;border:1px solid #cdbd9f;border-radius:12px;background:#fffdf8;color:#174b39;font-weight:700;font-size:15px}@media(max-width:600px){.admin-titlebar{min-height:58px}.coadmin-switch-slot{flex-basis:42px;min-width:42px;min-height:42px}.employee-branch-badge{flex-basis:clamp(82px,27vw,112px);max-width:112px;font-size:10px;padding:5px 7px}.branch-create{flex-wrap:wrap}.branch-create input{flex:1 1 150px}.branch-create .branch-icon-select{flex:0 0 58px}.branch-create .btn{flex:1 1 100%}}

/* Unified and larger view switch position */
.coadmin-switch-slot{flex:0 0 52px;min-width:52px;min-height:52px}.coadmin-switch-slot .coadmin-switch-icon{width:50px;height:50px;flex:0 0 50px;margin:0;font-size:28px}.employee-header .coadmin-switch-slot{margin-left:0}.admin-titlebar .coadmin-switch-slot{margin-left:auto}@media(max-width:760px){.coadmin-switch-slot{flex-basis:48px;min-width:48px;min-height:48px}.coadmin-switch-slot .coadmin-switch-icon{width:46px;height:46px;flex-basis:46px;font-size:25px}}

/* ADMIN uses the same compact drawer pattern as COBRADOR. */
.admin-side-menu{display:flex!important;flex-direction:column;gap:6px}.admin-side-menu .admin-side-links{display:flex;flex-direction:column;gap:4px;flex:1;overflow:auto}.admin-side-menu .admin-side-links button{border:0;border-radius:12px;padding:14px;text-align:left;background:transparent;color:var(--dm-bosque,#1c3b30);font-size:15px;font-weight:700;cursor:pointer}.admin-side-menu .admin-side-links button:hover{background:#e8efe7}.admin-side-menu>#adminLogout{border:1px solid #b64b43;border-radius:12px;padding:13px;background:transparent;color:#a23832;font-weight:800;cursor:pointer}.admin-side-menu>#adminLogout:hover{background:#fae7e3}.admin-titlebar{position:relative}.coadmin-switch-slot{position:fixed;top:54px;right:22px;z-index:1300;width:56px;height:56px;min-width:56px;min-height:56px;padding:0}.coadmin-switch-slot .coadmin-switch-icon{width:54px;height:54px;flex:0 0 54px;margin:0;font-size:30px}.admin-titlebar .coadmin-switch-slot{margin:0}.employee-header .coadmin-switch-slot{margin:0}@media(max-width:600px){.coadmin-switch-slot{top:50px;right:14px;width:52px;height:52px;min-width:52px;min-height:52px}.coadmin-switch-slot .coadmin-switch-icon{width:50px;height:50px;flex-basis:50px;font-size:28px}.admin-titlebar{padding-right:62px}}

.coadmin-switch-slot .coadmin-switch-icon{touch-action:none;cursor:pointer;user-select:none}.coadmin-switch-slot .coadmin-switch-icon.dragging{cursor:grabbing;opacity:.88;box-shadow:0 10px 24px rgba(23,63,50,.28);transform:scale(1.04)}

/* Drawer ADMIN: same layout as COBRADOR; logout stays at the bottom and never overlays content. */
#adminSideMenu{position:fixed!important;inset:0 auto 0 0!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;z-index:1400!important;padding-top:max(22px,env(safe-area-inset-top))!important;padding-bottom:max(22px,env(safe-area-inset-bottom))!important}
#adminSideMenu .admin-side-links{flex:1 1 auto;min-height:0;overflow-y:auto}
#adminSideMenu #adminLogout{position:static!important;inset:auto!important;display:flex!important;width:100%!important;flex:0 0 auto!important;align-items:center;justify-content:flex-start;margin-top:auto!important;padding:14px!important;border:2px solid #b3261e!important;border-radius:12px!important;background:var(--dm-papel,#fffaf0)!important;color:#b3261e!important;box-shadow:none!important}
#adminSideMenu #adminLogout:before{content:"↪";display:inline;margin-right:8px;color:#b3261e}
#adminSideMenu #adminLogout:hover{background:#fff1ef!important}

/* La cinta de sucursal debe recibir los toques aunque exista el backdrop del drawer ADMIN. */
#admin>.branch-context{z-index:1500!important}
#admin>.branch-context .branch-menu{z-index:1501!important;pointer-events:auto}
#admin>.branch-context .branch-ribbon,#admin>.branch-context .branch-menu button{pointer-events:auto}

.coadmin-switch-slot.dragging,.coadmin-switch-slot.dragging .coadmin-switch-icon{transition:none!important;will-change:left,top,transform}

/* Vista móvil limpia de COBRADORES: tarjetas legibles sin columnas recortadas */
@media (max-width:600px){
  #employees .employee-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}
  #employees .employee-table{display:block;width:100%!important;table-layout:auto!important;border:0!important;background:transparent}
  #employees .employee-table thead{display:none}
  #employees .employee-table tbody{display:flex;flex-direction:column;gap:10px}
  #employees .employee-table tr{display:flex;flex-wrap:wrap;align-items:center;gap:0;padding:13px 12px;border:1px solid #dfd3c0;border-radius:14px;background:#fffdf8;box-shadow:0 4px 12px rgba(28,59,48,.06)}
  #employees .employee-table td{display:flex!important;align-items:center;height:auto!important;min-height:0;width:auto!important;max-width:none!important;padding:0;border:0!important;background:transparent;overflow:visible;white-space:normal}
  #employees .employee-table td:first-child{display:grid!important;grid-template-columns:1fr 1fr;gap:5px;width:100%!important;padding:0 0 8px!important;border-bottom:1px solid #ece4d7!important}
  #employees .employee-table td:first-child:before{content:'COBRADOR';grid-column:1/-1;color:#718079;font-size:9px;font-weight:800;letter-spacing:.08em}
  #employees .employee-table td:first-child input{width:100%!important;max-width:none!important;margin:0!important;padding:8px 9px!important;border:1px solid #d8cbb7!important;border-radius:9px;background:#fbf8f1!important;color:#173f32;font-size:12px!important;font-weight:700}
  #employees .employee-table td:nth-child(2){width:100%!important;padding:8px 0 10px!important}
  #employees .employee-table td:nth-child(2):before{content:'CORREO';margin-right:8px;color:#718079;font-size:9px;font-weight:800;letter-spacing:.08em;flex:0 0 auto}
  #employees .employee-table td:nth-child(2) input{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:7px 8px!important;border:1px solid #e1d7c8!important;border-radius:8px;background:#fffdf8!important;color:#476258;font-size:11px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #employees .employee-table td.branch-cell{display:inline-flex!important;flex:1 1 46%;gap:6px;justify-content:flex-start;padding:7px 8px!important;margin:2px 4px 2px 0;border:1px solid #e5dccd!important;border-radius:9px;background:#f7f3eb!important}
  #employees .employee-table td.branch-cell:before{content:attr(data-branch-name);min-width:0;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53695e;font-size:10px;font-weight:700}
  #employees .employee-table td.branch-cell input{width:17px!important;height:17px!important;flex:0 0 17px;margin:0!important}
  #employees .employee-table td:nth-last-child(2){margin-left:auto;padding:8px 4px 0 0!important}
  #employees .employee-table .employee-access{gap:5px;font-size:11px;white-space:nowrap}
  #employees .employee-table .employee-access input{width:18px;height:18px}
  #employees .employee-table .employee-actions-cell{padding-top:8px!important}
  #employees .employee-table .employee-actions-trigger{width:38px;height:34px;border-radius:10px;font-size:18px}
  #employees .employee-branch-save-bar{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin-top:12px}
  #employees .employee-branch-save-bar .btn{width:100%}
}

/* Ajuste final de simetría en tarjetas móviles de COBRADORES */
@media (max-width:600px){
  #employees .employee-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;row-gap:0;align-items:center}
  #employees .employee-table td:first-child,#employees .employee-table td:nth-child(2){grid-column:1/-1;width:100%!important}
  #employees .employee-table td.branch-cell{grid-column:auto;width:100%!important;min-width:0;box-sizing:border-box;margin:2px 0;padding:8px 9px!important}
  #employees .employee-table td.branch-cell:before{font-size:10px}
  #employees .employee-table td:nth-last-child(2){grid-column:1;justify-self:start;margin:0;padding:10px 0 0!important}
  #employees .employee-table td.employee-actions-cell{grid-column:2;justify-self:end;margin:0;padding:10px 0 0!important}
  #employees .employee-table .employee-access{justify-content:flex-start}
  #employees .employee-table .employee-actions-trigger{width:42px;height:36px}
}

/* Lista móvil minimalista con acordeón */
.employee-mobile-list{display:none}
@media(max-width:600px){
 #employees .employee-table-wrap{display:none}
 #employees .employee-mobile-list{display:flex;flex-direction:column;gap:8px}
 .employee-mobile-item{border:1px solid #dfd3c0;border-radius:13px;background:#fffdf8;overflow:visible;box-shadow:0 3px 10px rgba(28,59,48,.05)}
 .employee-mobile-name{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;padding:0 14px;border:0;background:transparent;color:#173f32;font:700 16px/1.2 inherit;text-align:left;cursor:pointer}
 .employee-mobile-name b{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d6c7ae;border-radius:50%;font-size:18px;font-weight:500;transition:transform .18s ease}
 .employee-mobile-name[aria-expanded=true] b{transform:rotate(180deg);background:#e7f0e8}
 .employee-mobile-details{padding:0 14px 13px;border-top:1px solid #ece3d5}
 .employee-mobile-details[hidden]{display:none}
 .employee-mobile-email,.employee-mobile-branches{padding:10px 0;border-bottom:1px solid #eee6da}
 .employee-mobile-email small,.employee-mobile-branches>small{display:block;margin-bottom:5px;color:#718079;font-size:9px;font-weight:800;letter-spacing:.08em}
 .employee-mobile-email span{display:block;overflow:hidden;color:#476258;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
 .employee-mobile-branches>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .employee-mobile-branch{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;padding:7px 8px;border:1px solid #e5dccd;border-radius:8px;background:#f7f3eb;color:#53695e;font-size:10px;font-weight:700}
 .employee-mobile-branch span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .employee-mobile-branch input{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#174b39}
 .employee-mobile-footer{display:flex;align-items:center;justify-content:space-between;padding-top:11px}
 .employee-mobile-access{display:flex;align-items:center;gap:7px;color:#315749;font-size:12px;font-weight:800}
 .employee-mobile-access input{width:19px;height:19px;accent-color:#174b39}
 .employee-mobile-options{width:38px;height:34px!important}
 .employee-mobile-footer{position:relative}.employee-mobile-actions-menu{position:absolute;right:0;bottom:43px;z-index:120;width:190px;padding:6px;border:1px solid #d7cbb6;border-radius:12px;background:rgba(255,253,248,.99);box-shadow:0 12px 28px rgba(30,55,43,.2)}.employee-mobile-actions-menu[hidden]{display:none}.employee-mobile-actions-menu button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:#174b39;font-size:11px;font-weight:800;text-align:left}.employee-mobile-actions-menu button:hover{background:#e7f0e8}.employee-mobile-actions-menu button.danger{color:#a63f39}
}

/* Los menus de acciones se muestran por encima de la tarjeta de cobradores. */
#admin>.card:has(#employees),
#employees,
#employees .employee-table-wrap,
#employees .employee-mobile-list,
#employees .employee-mobile-item,
#employees .employee-mobile-details,
#employees .employee-mobile-footer,
#employees .employee-actions-cell{overflow:visible!important}
#employees .employee-actions-cell{position:relative;z-index:4}
#employees .employee-actions-menu{z-index:1400;top:calc(100% + 6px);right:0}
#employees .employee-mobile-actions-menu{z-index:1400;bottom:auto;top:calc(100% + 7px);right:0}

/* Balance ejecutivo: jerarquia visual, conciliacion y responsive sin desbordes */
.balance-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border:1px solid #d8cbb7;border-radius:20px;background:linear-gradient(135deg,#173f32,#245d49);color:#fff;box-shadow:0 12px 28px rgba(23,63,50,.14)}
.balance-hero h3{margin:5px 0 4px;font-size:clamp(24px,3vw,34px);letter-spacing:-.02em}.balance-hero .muted{margin:0;color:rgba(255,255,255,.78)}.balance-hero .eyebrow{color:#d9eadb}.balance-hero .btn{flex:0 0 auto;background:#fffdf8;color:#173f32;border-color:#fffdf8}
.balance-position{display:grid;grid-template-columns:minmax(220px,1.2fr) 2fr;gap:0;margin-top:14px;border:1px solid #d8cbb7;border-radius:18px;background:#fffdf8;overflow:hidden;box-shadow:0 8px 20px rgba(28,59,48,.06)}
.balance-position-main{display:flex;flex-direction:column;justify-content:center;padding:20px;background:#e5f1e7;color:#173f32}.balance-position-main span{font-size:11px;letter-spacing:.08em;font-weight:900}.balance-position-main strong{margin:8px 0 3px;font-size:clamp(28px,4vw,42px);letter-spacing:-.03em}.balance-position-main small{color:#52655a}.balance-position-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e3d8c7}.balance-position-grid>div{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:18px;background:#fffdf8;min-width:0}.balance-position-grid small{font-size:10px;color:#718079;font-weight:900;letter-spacing:.06em}.balance-position-grid b{font-size:22px;color:#173f32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-position-grid b.negative{color:#b3261e}.balance-note{grid-column:1/-1;margin:0;padding:10px 18px;color:#718079;font-size:11px;border-top:1px solid #e3d8c7;background:#faf7f1}
.balance-kpi.expense{background:#fff0eb}.balance-kpi.expense strong{color:#9b4237}.balance-kpi.bank{background:#f5eddc}.balance-legend{display:flex;align-items:center;gap:6px;color:#718079;font-size:11px;white-space:nowrap}.balance-legend i,.balance-legend em{display:inline-block;width:12px;height:6px;border-radius:99px;background:#23654c}.balance-legend em{background:#d58a56;margin-left:5px}
.balance-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eee6da}.balance-summary-row:last-child{border-bottom:0}.balance-summary-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#173f32;font-weight:700}.balance-summary-row small{color:#718079;font-size:11px}.balance-summary-row strong{color:#173f32;white-space:nowrap}.empty{padding:18px 0;color:#718079;font-size:13px}
@media(max-width:760px){.balance-hero{flex-direction:column;padding:17px}.balance-hero .btn{width:100%}.balance-position{grid-template-columns:1fr}.balance-position-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.balance-position-main{padding:17px}.balance-position-grid>div{padding:13px 10px}.balance-position-grid b{font-size:17px}.balance-note{padding:10px 13px}.balance-summary-row{grid-template-columns:minmax(0,1fr) auto}.balance-summary-row small{grid-column:1}.balance-summary-row strong{grid-column:2;grid-row:1/3}}
@media(max-width:430px){.balance-position-grid{grid-template-columns:1fr}.balance-position-grid>div{flex-direction:row;justify-content:space-between;align-items:center}.balance-position-grid b{font-size:18px}.balance-kpi strong{font-size:20px}.balance-chart .balance-bar-row{grid-template-columns:55px minmax(0,1fr) 68px;gap:6px}.balance-bar-row b{font-size:10px}}

/* Agenda de horarios especiales */
.special-schedules-panel{margin-top:18px;padding:18px;border:1px solid var(--co-line,#d8cbb7);border-radius:18px;background:#fffdf8}.special-schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.special-schedule-head h4{margin:4px 0}.special-schedule-head p{margin:0;font-size:12px}.special-schedule-badge{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#e4f2e8;color:#174b39;font-size:10px;font-weight:900;letter-spacing:.06em}.special-schedule-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px;padding:14px;border-radius:14px;background:#f1f7f3}.special-schedule-form label{min-width:0}.special-schedule-form input{margin-top:5px;padding:10px;font-size:13px}.special-schedule-form .special-schedule-reason{grid-column:span 2}.special-schedule-form .actions{grid-column:1/-1;margin:0;justify-content:flex-end}.special-schedule-form .btn{flex:0 0 auto;min-width:190px;padding:11px 14px;font-size:11px}.special-schedule-list{margin-top:12px}.special-schedule-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eee6da}.special-schedule-row:last-child{border-bottom:0}.special-schedule-row strong,.special-schedule-row span{display:block}.special-schedule-row span{margin-top:3px;color:#718079;font-size:11px}.special-schedule-actions{display:flex;gap:7px;flex:0 0 auto}.special-schedule-actions .chip{padding:7px 9px;font-size:10px}.special-schedule-actions .danger{color:#a23832;border-color:#e2b6b0}@media(max-width:760px){.special-schedule-form{grid-template-columns:repeat(2,minmax(0,1fr))}.special-schedule-form .special-schedule-reason{grid-column:1/-1}.special-schedule-form .actions .btn{width:100%}.special-schedule-row{align-items:flex-start;flex-direction:column}.special-schedule-actions{width:100%}.special-schedule-actions .chip{flex:1}}

.admin-exception-card{display:flex;align-items:center;justify-content:center;gap:10px}.admin-card-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e5f1e7;color:#174b39;font-size:22px}.exception-page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 8px;padding:16px 18px;border-radius:18px;background:#e5f1e7;color:#173f32}.exception-page-head h3{margin:3px 0}.exception-page-head p{margin:0;font-size:12px}.exception-calendar-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#173f32;color:#fff;font-size:27px}

/* Calendario ligero tipo Lottie: fecha visible y pulso sutil */
.admin-card-icon{position:relative;overflow:hidden;font-family:inherit;font-size:16px;font-weight:900}.admin-card-icon:before{content:"";position:absolute;inset:0 0 auto;height:9px;background:#174b39}.admin-card-icon:after{content:"";position:absolute;top:4px;left:8px;width:4px;height:7px;border-radius:2px;background:#fff;box-shadow:14px 0 #fff}.admin-card-icon b{position:relative;z-index:1;margin-top:6px;font-size:15px}.exception-calendar-icon{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:6px;background:#173f32;color:#fff;animation:exceptionCalendarPulse 3.8s ease-in-out infinite}.exception-calendar-icon:before{content:"";position:absolute;inset:0 0 auto;height:18px;background:#d79a51}.exception-calendar-icon:after{content:"";position:absolute;top:7px;left:13px;width:5px;height:10px;border-radius:3px;background:#fff;box-shadow:23px 0 #fff}.exception-calendar-month{position:relative;z-index:1;margin-top:1px;font-size:9px;font-weight:900;letter-spacing:.08em}.exception-calendar-day{position:relative;z-index:1;font-size:21px;line-height:21px}.exception-page-head .exception-calendar-icon{width:64px;height:64px;border-radius:17px;font-size:inherit}.exception-calendar-day{font-weight:900}@keyframes exceptionCalendarPulse{0%,100%{transform:translateY(0);box-shadow:0 5px 0 rgba(23,63,50,.08)}50%{transform:translateY(-2px);box-shadow:0 9px 18px rgba(23,63,50,.22)}}
.admin-card-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:3px}.admin-card-icon .exception-card-month{font-size:7px;line-height:9px;letter-spacing:.06em}.admin-card-icon .exception-card-day{font-size:14px;line-height:14px}
/* Misma tarjeta calendario del panel Excepciones para acceso rapido en dashboard */
.admin-card-icon{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:3px;background:#173f32;color:#fff;font-family:inherit;font-weight:900}
.admin-card-icon:before{content:"";position:absolute;inset:0 0 auto;height:9px;background:#d79a51}
.admin-card-icon:after{content:"";position:absolute;top:4px;left:8px;width:4px;height:7px;border-radius:2px;background:#fff;box-shadow:14px 0 #fff}
.admin-card-icon .exception-card-month{position:relative;z-index:1;margin-top:1px;font-size:7px;line-height:9px;letter-spacing:.06em}
.admin-card-icon .exception-card-day{position:relative;z-index:1;font-size:14px;line-height:14px}
.special-schedule-branch{grid-column:1/-1}.special-schedule-branch select{width:100%;min-width:0}.special-schedule-form{min-width:0;overflow:hidden}.special-schedule-form label{min-width:0}.special-schedule-form input,.special-schedule-form select{box-sizing:border-box;max-width:100%}
.special-schedule-requests{margin-top:18px;padding-top:12px;border-top:1px solid rgba(23,75,57,.14)}.special-requests-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.special-requests-head h4{margin:0}.special-requests-head span{font-size:12px;color:#61756d}.special-request-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(23,75,57,.12)}.special-request-row>div:first-child{min-width:0;display:grid;gap:3px}.special-request-row span{font-size:12px;color:#61756d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.special-request-row>div:last-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.special-request-row b{font-size:11px;letter-spacing:.05em;color:#9a6b16}.special-request-row.status-approved b{color:#21734b}.special-request-row.status-rejected b{color:#a33b31}
/* Navegacion consistente: el boton fisico de Android/browser controla el regreso */
#admin .back:not(#adminLogout){display:none!important}
.coadmin-list{display:grid;gap:10px}.coadmin-accordion{border:1px solid rgba(23,75,57,.16);border-radius:14px;background:#fff;overflow:visible}.coadmin-accordion-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;border:0;background:transparent;color:#173f32;font:inherit;text-align:left;cursor:pointer}.coadmin-accordion-toggle strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coadmin-accordion-toggle span{font-size:22px;line-height:1;transition:transform .2s}.coadmin-accordion-toggle[aria-expanded="true"] span{transform:rotate(180deg)}.coadmin-accordion-panel{padding:0 16px 16px;border-top:1px solid rgba(23,75,57,.1);display:grid;gap:12px}.coadmin-accordion-panel[hidden]{display:none}.coadmin-meta{font-size:12px;color:#61756d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.coadmin-active-toggle{display:flex;align-items:center;gap:8px;font-weight:700}.coadmin-accordion-panel .btn{justify-self:start}

/* Unified application header */
.app-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:72px;margin:0 0 18px;padding:10px 12px;border:1px solid rgba(198,181,149,.72);border-radius:20px;background:rgba(255,253,248,.88);box-shadow:0 8px 24px rgba(28,59,48,.08);position:relative;z-index:90}
.app-header .employee-persistent-nav{position:static;inset:auto;display:block;transform:none;transition:none;z-index:auto}
.app-header .employee-persistent-nav .hamburger-btn,.app-header .app-header-menu-toggle{width:44px;height:44px;display:grid;place-items:center;padding:0;border:1px solid var(--dm-arena,#d8c8ad);border-radius:13px;background:var(--dm-papel,#fffaf0);color:var(--dm-bosque,#1c3b30);font-size:23px;box-shadow:none}
.app-header .employee-persistent-nav .hamburger-btn:hover,.app-header .app-header-menu-toggle:hover{transform:translateY(-1px);background:#eef5ec;box-shadow:0 5px 12px rgba(28,59,48,.12)}
.app-header .brand{display:flex;align-items:center;gap:10px;min-width:0;margin:0;font-size:18px;line-height:1.1;white-space:nowrap}
.app-header .brand .mark{width:44px;height:44px;flex:0 0 44px;border-radius:13px;font-size:22px}
.app-header .brand>div:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:clamp(100px,30vw,250px)}
.app-header-context{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.app-header-role{font-size:10px;letter-spacing:.1em;font-weight:900;color:#547067;white-space:nowrap}
.employee-header .employee-brand{flex:initial}
.employee-branch-badge{flex:0 1 clamp(96px,22vw,170px)!important;max-width:170px!important;white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden!important;overflow-wrap:normal!important}
.admin-titlebar.app-header{margin-bottom:18px}
.admin-titlebar.app-header .admin-brand{justify-self:start}
.admin-titlebar.app-header .app-header-context{justify-self:end}
.admin-titlebar.app-header .coadmin-switch-slot{position:static!important;top:auto!important;right:auto!important;left:auto!important;width:50px;height:50px;min-width:50px;min-height:50px}
#admin>.branch-context{position:sticky!important;top:0;z-index:100;margin:0 0 10px;border-radius:13px;overflow:visible}
#admin>.branch-context .branch-ribbon{min-height:34px;font-size:.82rem}
@media(max-width:600px){.app-header{grid-template-columns:auto minmax(0,1fr) auto;gap:9px;min-height:62px;padding:8px 9px;border-radius:16px;margin-bottom:14px}.app-header .employee-persistent-nav .hamburger-btn,.app-header .app-header-menu-toggle{width:40px;height:40px;border-radius:11px;font-size:21px}.app-header .brand{gap:7px;font-size:14px}.app-header .brand .mark{width:38px;height:38px;flex-basis:38px;border-radius:11px}.app-header .brand>div:last-child{max-width:clamp(80px,28vw,150px)}.app-header-role{font-size:8px}.employee-branch-badge{flex-basis:clamp(76px,24vw,112px)!important;max-width:112px!important;font-size:9px!important;padding:5px 7px!important}.admin-titlebar.app-header .coadmin-switch-slot{width:44px;height:44px;min-width:44px;min-height:44px}.admin-titlebar.app-header .coadmin-switch-slot .coadmin-switch-icon{width:44px;height:44px;flex-basis:44px;font-size:24px}}
.app-header .coadmin-switch-slot{position:static!important;inset:auto!important;width:50px;height:50px;min-width:50px;min-height:50px;padding:0;align-self:center;justify-self:end}
.app-header .coadmin-switch-slot .coadmin-switch-icon{width:48px;height:48px;flex:0 0 48px;margin:0;font-size:26px}
@media(max-width:600px){.app-header .coadmin-switch-slot{width:44px;height:44px;min-width:44px;min-height:44px}.app-header .coadmin-switch-slot .coadmin-switch-icon{width:42px;height:42px;flex-basis:42px;font-size:23px}}
.app-header{grid-template-columns:auto minmax(0,1fr) auto auto!important}
@media(max-width:600px){.app-header{grid-template-columns:auto minmax(0,1fr) auto auto!important}}
.app-header .app-header-context{flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;min-width:0}
.app-header .app-header-role{line-height:1;white-space:nowrap}
@media(max-width:600px){.app-header .brand>div:last-child{max-width:clamp(76px,24vw,130px);font-size:13px}.app-header .app-header-context{gap:2px}.app-header .app-header-role{font-size:8px}.app-header .employee-branch-badge{max-width:104px!important}}

/* Ajuste móvil final: el contexto de sucursal conserva su espacio y no invade la marca. */
.app-header{grid-template-columns:auto minmax(90px,1fr) minmax(84px,auto) auto!important}
.app-header .employee-brand{min-width:0;overflow:hidden}
.app-header .app-header-context{min-width:84px;max-width:118px;overflow:hidden}
@media(max-width:600px){.app-header{grid-template-columns:auto minmax(90px,1fr) minmax(84px,auto) auto!important;gap:8px}.app-header .brand>div:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header .app-header-context{min-width:84px;max-width:104px}.employee-disclosure>summary{grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;gap:5px 8px;min-height:70px;padding:12px 14px}.employee-disclosure>summary>span:first-child{grid-column:1 / -1;grid-row:1;font-size:14px}.employee-disclosure>summary>.disclosure-count{grid-column:1;grid-row:2;justify-self:start}.employee-disclosure>summary>.disclosure-total{grid-column:2;grid-row:2;justify-self:end}.employee-disclosure>summary:after{grid-column:3;grid-row:2;align-self:center}.employee-disclosure .disclosure-count,.employee-disclosure .disclosure-total{font-size:10px}}

/* Campana integrada al encabezado de ADMIN y COADMIN. El panel sigue siendo flotante, la campana no. */
.admin-titlebar.app-header{grid-template-columns:auto minmax(0,1fr) auto auto auto!important}
.admin-titlebar.app-header #adminNotifications{position:relative!important;inset:auto!important;z-index:2;display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;min-width:42px;max-width:42px;height:42px;min-height:42px;max-height:42px;margin:0;overflow:visible;transform:none}
.admin-titlebar.app-header #adminNotifications.notification-floating{position:relative!important;inset:auto!important}
.admin-titlebar.app-header #adminNotifications .notification-bell{width:42px;height:42px;min-width:42px;max-width:42px;margin:0;font-size:20px}
@media(max-width:600px){
  .admin-titlebar.app-header{grid-template-columns:auto minmax(0,1fr) auto auto auto!important;gap:7px}
  .admin-titlebar.app-header .app-header-context{min-width:0;max-width:none}
  .admin-titlebar.app-header #adminNotifications,.admin-titlebar.app-header #adminNotifications .notification-bell{width:38px;height:38px;min-width:38px;max-width:38px;min-height:38px}
  .admin-titlebar.app-header #adminNotifications .notification-bell{font-size:18px}
}
.expense-page-head{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.expense-page-head h3{margin:5px 0 12px}.expense-periods{display:flex;gap:8px;overflow-x:auto;margin:15px 0}.expense-periods button{flex:0 0 auto!important;width:auto!important}.expense-periods .active{background:#1b5343;color:white}.expense-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.expense-metrics>div{padding:14px;background:#f1f3ee;border-radius:14px;min-width:0}.expense-metrics small,.expense-metrics b{display:block}.expense-metrics small{font-size:11px;color:#607267;margin-bottom:8px}.expense-metrics b{font-size:19px;color:#1b5343}.expense-records{display:grid;gap:12px}.expense-record{padding:16px;border:1px solid #ddd7c7;border-radius:16px;background:#fffdfa;min-width:0}.expense-record-title{display:flex;justify-content:space-between;gap:16px}.expense-record-title strong{overflow-wrap:anywhere}.expense-record-title b{white-space:nowrap;color:#1b5343}.expense-record-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:#647368;margin:10px 0}.expense-related{font-size:12px;background:#eef2ed;padding:9px;border-radius:8px}.expense-record-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.expense-record-actions .chip{width:auto!important;font-size:11px}.expense-editor{width:min(470px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;box-sizing:border-box}.expense-editor label{display:block;font-size:13px;font-weight:650;margin:12px 0}.expense-editor input,.expense-editor select{width:100%;min-width:0;box-sizing:border-box;display:block;margin-top:5px}.expense-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.expense-form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.expense-form-actions button{width:100%!important;min-width:0;font-size:12px!important}.expense-form-actions button[name=print]{grid-column:1/-1}.expense-save-status{font-size:12px;color:#8b492d}@media(max-width:450px){.expense-metrics b{font-size:16px}.expense-page-head .btn{width:auto!important;font-size:12px!important}.expense-editor{padding:18px!important}}
.expense-editor input[hidden]{display:none!important}.expense-upload-actions{display:flex;gap:8px;margin-top:8px}.expense-upload-actions button{width:auto!important}
.expense-deposits{margin-top:22px;border-top:1px solid #ddd7c7;padding-top:16px}.expense-deposits summary{cursor:pointer;color:#1b5343;font-weight:700;padding:10px 0}.expense-deposits .expense-record{margin-top:10px}

.expense-workspace [hidden]{display:none!important}.expense-deposits{margin:12px 0 22px;border:0;padding:0}.expense-deposits h3{font-size:17px}.receipt-status{display:block;flex-basis:100%;font-size:12px;color:var(--brand-primary,#1b5343);padding:8px 0}.expense-draft-fields{border:1px solid #ddd7c7;border-radius:14px;padding:12px;margin-top:14px;min-width:0}.expense-draft-fields legend{font-size:13px;font-weight:700;padding:0 6px}.expense-draft-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e6e1d5;min-width:0}.expense-draft-row>div{flex:1;min-width:0}.expense-draft-row strong,.expense-draft-row small{display:block;overflow-wrap:anywhere}.expense-draft-row small{font-size:12px;margin-top:4px;color:#607267}.expense-draft-row b{white-space:nowrap}.expense-draft-row button{flex:0 0 40px!important;min-width:40px;min-height:40px}.expense-batch-total{display:flex;justify-content:space-between;gap:12px;padding:12px 0;font-size:14px}.expense-editor .expense-form-actions{position:sticky;bottom:-1px;background:#fffdfa;padding:10px 0}.expense-editor [data-status]{font-size:13px;overflow-wrap:anywhere}.expense-record-actions .btn{width:auto!important;min-height:44px;font-size:12px}.expense-record-actions .chip{min-height:40px}.expense-deposits .expense-record>strong{display:block;overflow-wrap:anywhere}.expense-upload-actions{flex-wrap:wrap}

.expense-page-head+nav.expense-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.expense-page-head+nav.expense-periods button{width:100%!important;min-width:0;font-size:12px;padding:10px 6px;white-space:normal}

.expense-folder-tabs{display:flex;border-bottom:1px solid #d9d7ce;margin:12px 0 20px;gap:0}.expense-folder-tab{flex:1;min-width:0;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;color:#737a73!important;padding:14px 8px!important;font-size:14px!important;font-weight:650!important;box-shadow:none!important;white-space:normal!important;text-transform:none!important}.expense-folder-tab.active{color:var(--brand-primary,#1b5343)!important;border-bottom-color:var(--brand-primary,#1b5343)!important}.expense-closure-list{border:1px solid #e0d9cc;border-radius:14px;overflow:hidden;background:#fffdfa}.expense-closure-item{display:flex!important;align-items:center;gap:12px;width:100%;padding:16px!important;border:0!important;border-bottom:1px solid #e8e3d8!important;border-radius:0!important;background:transparent!important;color:var(--brand-primary,#1b5343)!important;box-shadow:none!important;text-align:left!important;text-transform:none!important}.expense-closure-item:last-child{border-bottom:0!important}.expense-closure-item>span:first-child{flex:1;min-width:0}.expense-closure-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.expense-closure-item small{display:block;font-size:11px;color:#71796f;margin-top:5px;font-weight:400}.expense-closure-cash{text-align:right;flex-shrink:0}.expense-closure-cash b{font-size:14px}.expense-closure-item>span:last-child{font-size:24px}.closure-detail-actions{display:grid;gap:10px;margin:18px 0}.closure-detail-actions button{width:100%!important;min-width:0}.closure-deposit-panel,.closure-expense-history{border-top:1px solid #e0d9cc;padding-top:12px;margin-top:18px}.closure-deposit-panel h3,.closure-expense-history h3{font-size:15px}.expense-closure-item:focus-visible,.expense-folder-tab:focus-visible{outline:2px solid var(--brand-primary,#1b5343);outline-offset:-3px}

.closure-summary-rows{margin:18px 0}.closure-summary-rows>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e7e2d8}.closure-summary-rows dt{font-size:13px;color:#617166}.closure-summary-rows dd{margin:0;font-weight:700;white-space:nowrap}.receipt-preview{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain;border-radius:10px;margin:12px 0}.receipt-eye{min-width:44px!important;min-height:44px;font-size:22px!important}.closure-notes{overflow-wrap:anywhere;font-size:13px}.expense-folder-tabs+.expense-periods{margin-bottom:18px}

.balance-hero h3{color:#fff!important}.balance-position-main strong{font-size:clamp(30px,7vw,52px);line-height:1.15;overflow-wrap:anywhere}.balance-position-main{min-width:0}.balance-position{margin:0 0 18px}.balance-hero .eyebrow{color:#e3f1e8!important}

.balance-pending-count{font-size:12px;color:#3b594c}.balance-position-grid>div{flex-wrap:wrap;gap:6px}
/* Balance: current position first, period activity second. */
.balance-workspace{min-width:0!important;padding:clamp(14px,2vw,26px)!important}.balance-workspace *{box-sizing:border-box}.balance-workspace .balance-position{margin:0 0 22px;grid-template-columns:1fr;border:0;border-radius:24px;background:#fffdf8;box-shadow:0 8px 28px #173f320b}.balance-workspace .balance-position-main{padding:26px 28px;background:var(--co-ink,#193d30);color:#fff;border-radius:24px 24px 0 0}.balance-workspace .balance-position-main strong{font-size:clamp(32px,6vw,54px);line-height:1.15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.balance-workspace .balance-position-main small{color:#e2ebe5}.balance-workspace .balance-position-grid{background:transparent;gap:0;padding:18px 12px}.balance-workspace .balance-position-grid>div{padding:10px 16px;background:transparent;border-right:1px solid #e8e1d5}.balance-workspace .balance-position-grid>div:last-child{border:0}.balance-workspace .balance-position-grid b{font-size:clamp(16px,2.6vw,26px)}.balance-workspace .balance-note{padding:12px 24px;background:transparent}.balance-note summary{cursor:pointer;font-size:12px;font-weight:600}.balance-note p{line-height:1.6;margin-bottom:2px}.balance-workspace .balance-hero{background:transparent!important;color:var(--co-ink)!important;padding:0!important;box-shadow:none!important;border:0!important;margin:0 0 16px;display:flex;gap:12px;align-items:center;justify-content:space-between}.balance-workspace .balance-hero h3{color:var(--co-ink,#193d30)!important;font-size:24px;margin:0 0 4px}.balance-workspace .balance-hero .eyebrow{display:none}.balance-workspace .balance-hero p{color:#66766c!important;margin:0;font-size:12px}.balance-workspace .balance-hero .btn{font-size:11px;padding:12px 16px;min-height:44px}.balance-workspace .balance-filters{margin:0 0 20px;padding:14px;background:#f0eee7;border-radius:16px;gap:12px}.balance-workspace .balance-filters label{font-size:10px;letter-spacing:.06em;min-width:0;flex:1 1 140px}.balance-workspace .balance-filters select{background:#fffdf8;font-size:13px;letter-spacing:0;min-width:0;padding:10px;margin-bottom:0}.balance-workspace .balance-kpis{gap:12px}.balance-workspace .balance-kpi{background:#fffdf8!important;padding:18px;border:1px solid #e5dfd3;border-radius:18px}.balance-workspace .balance-kpi strong{font-size:clamp(19px,2.8vw,28px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:12px 0 6px}.balance-workspace .balance-kpi.small{font-size:10px}.balance-workspace .balance-kpi.primary{border-top:3px solid #3d805d}.balance-workspace .balance-kpi.expense{border-top:3px solid #c18c59}.balance-workspace .balance-kpi span{font-size:10px;line-height:1.4}.balance-workspace .balance-grid{gap:16px;margin-top:20px}.balance-workspace .balance-panel{border-color:#e5dfd3;border-radius:20px;padding:20px}.balance-workspace .balance-panel h4{font-size:15px;margin:0 0 18px}.balance-workspace .balance-panel-head{align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px}.balance-workspace .balance-panel-head h4{margin:0}.balance-workspace .balance-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:13px 0;border-bottom:1px solid #eee8df;font-size:13px}.balance-workspace .balance-summary-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-workspace .balance-summary-row small{grid-column:1;font-size:10px;color:#728076}.balance-workspace .balance-summary-row strong{grid-column:2;grid-row:1;color:var(--co-ink)}.balance-workspace .balance-bar-row{grid-template-columns:60px minmax(0,1fr) 86px;padding:8px 0;gap:8px}.balance-workspace .balance-bar-row>div{height:22px;background:transparent;overflow:visible}.balance-workspace .balance-bar-row i{height:8px;background:#3d805d}.balance-workspace .balance-bar-row em{height:8px;top:12px;background:#c18c59;opacity:1}.balance-workspace .balance-more{margin-top:20px;border:1px solid #e5dfd3;border-radius:18px;padding:16px 20px;background:#fffdf8}.balance-more>summary{display:flex;justify-content:space-between;cursor:pointer;font-weight:700;font-size:13px;list-style:none}.balance-more>summary::-webkit-details-marker{display:none}.balance-workspace .empty{padding:30px 12px;text-align:center;font-size:13px;color:#758278}.balance-workspace .balance-bank-row{font-size:12px;overflow-wrap:anywhere}
@media(max-width:600px){.balance-workspace .balance-position-main{padding:22px}.balance-workspace .balance-position-grid{padding:12px 5px}.balance-workspace .balance-position-grid>div{padding:8px}.balance-workspace .balance-position-grid small{font-size:9px;letter-spacing:0}.balance-workspace .balance-pending-count{font-size:10px}.balance-workspace .balance-hero{flex-direction:row;align-items:center}.balance-workspace .balance-hero .btn{width:auto;max-width:130px;white-space:normal}.balance-workspace .balance-filters label:first-child{flex-basis:100%}.balance-workspace .balance-filters label{flex-basis:calc(50% - 6px)}.balance-workspace .balance-kpis{gap:10px}.balance-workspace .balance-kpi{padding:14px}.balance-workspace .balance-kpi small{font-size:9px;line-height:1.5}.balance-workspace .balance-grid{grid-template-columns:1fr}.balance-workspace .balance-panel{padding:16px}.balance-workspace .balance-note{padding:12px 18px}}
#closureAdminModal{z-index:12000;padding:16px}#closureAdminModal .modal{width:min(600px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}#closureAdminModal section{margin:18px 0}#closureAdminModal h3{font-size:14px}.closure-admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.closure-admin-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 42px;gap:8px;align-items:center}.closure-admin-row input{min-width:0;width:100%}.closure-admin-total{font-weight:700;padding:14px;background:#e4eee6;border-radius:12px}.closure-admin-warning{background:#fff2d2;border-radius:12px;padding:14px;font-size:13px;line-height:1.5}@media(max-width:500px){.closure-admin-fields{grid-template-columns:1fr}.closure-admin-row{grid-template-columns:minmax(0,1fr) 75px 38px}}
.closure-state-label{display:inline-flex;align-items:center;width:fit-content;max-width:100%;margin:5px 0 0;padding:3px 8px;border-radius:6px;font-size:10px;font-weight:700;line-height:1.4;letter-spacing:0;background:#eceee9;color:#68736b}.closure-state-label.voided{background:#f8e7e1;color:#9b493a}.closure-state-label.edited{background:#eceee9;color:#68736b}
.balance-sync-status{margin:0 0 12px;font-size:11px;color:#738077;min-height:16px}
#operationArchiveModal{z-index:12000;padding:16px}#operationArchiveModal .modal{width:min(600px,100%);max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}#operationArchiveModal section{padding:12px 0;border-bottom:1px solid #e3ddd0}#operationArchiveModal h3{font-size:14px}#operationArchiveModal [hidden]{display:none!important}.balance-head-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
