/* Shared screen layout: neutral surfaces, consistent type and actual panel insets. */
@media screen {
:root {--oz-canvas:#f5f5f7;--oz-surface:#fff;--oz-surface-2:#f5f5f7;--oz-hover:#ededf0;--oz-text:#1d1d1f;--oz-text-2:#616168;--oz-text-3:#616168;--oz-border:#dcdce1;--oz-hair:#e8e8ed;--oz-panel-inset:24px;}
html.oz-oscuro {--oz-canvas:#171719;--oz-surface:#222225;--oz-surface-2:#2c2c30;--oz-hover:#36363b;--oz-text:#f5f5f7;--oz-text-2:#b9b9c1;--oz-text-3:#b9b9c1;--oz-border:#53535b;--oz-hair:#3e3e44;}
html body {background:var(--oz-canvas)!important;}
html body .app {background:var(--oz-canvas);color:var(--oz-text);font-family:var(--oz-font);font-size:14px;line-height:1.55;}
html body .app>.main,html body .app>.content {background:var(--oz-canvas)!important;}
html body .app :is(h1,h2,h3,h4,p,a,span,li,small,label,td,th,input,select,textarea,button,summary) {font-family:var(--oz-font)!important;}
html body .app :is(.header,.tasks-header) {background:var(--oz-surface)!important;padding:24px 32px!important;}
html body .app :is(.header,.tasks-header) h1 {font-size:28px!important;font-weight:650!important;line-height:1.25!important;color:var(--oz-text)!important;}
html body .app :is(.header,.tasks-header) :is(p,.subtitle) {font-size:14px!important;color:var(--oz-text-2)!important;margin-top:6px;}
html body .app :is(.main,.tasks-main) h2 {font-size:20px!important;line-height:1.35;color:var(--oz-text);}
html body .app :is(.main,.tasks-main) h3 {font-size:16px!important;line-height:1.4;color:var(--oz-text);}
html body .app :is(.main,.tasks-main) :is(td,li,input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:14px!important;line-height:1.55;}
html body .app :is(.main,.tasks-main) :is(small,.hint,.muted,.section-note,.field-hint,.help-text) {font-size:13px!important;color:var(--oz-text-2);line-height:1.5;}
html body .app :is(.btn,.fx-action,button:not(.sidebar-group-toggle):not(.icon-btn)) {font-size:14px;}
html body .app :is(.main,.tasks-main) :is(th,.badge,.status-pill) {font-size:12px!important;line-height:1.5;}
html body .app :is(.main,.tasks-main) :is(.table-card,.summary-card,.metric-card,.chart-card,.detail-card,.report-card,.emp-card,.service-card,.pj-proj,.cc-control,.mf-card,.card,.pd-caja,.kpi-card,.tasks-table-card,.c360-card,.ck-card,.cfg-card,.form-card,.item-card,.payment-panel,.stat-card,.catalog-table-card,.inventory-card,.project-card,.proj-card,.bd-card,.tsk-card,.ag-card,.psi-panel) {background:var(--oz-surface)!important;color:var(--oz-text);border-color:var(--oz-border)!important;border-radius:12px;box-shadow:var(--oz-shadow-card);}
/* Insets belong to the container, not only to its table cells. */
html body .app :is(.main,.tasks-main) :is(.table-card,.summary-card,.metric-card,.chart-card,.detail-card,.report-card,.emp-card,.service-card,.pj-proj,.cc-control,.mf-card,.card,.pd-caja,.kpi-card,.tasks-table-card,.c360-card,.ck-card,.cfg-card,.form-card,.item-card,.payment-panel,.stat-card,.catalog-table-card,.inventory-card,.project-card,.proj-card,.bd-card,.tsk-card,.ag-card,.psi-panel) {padding:var(--oz-panel-inset)!important;}
html body .app :is(.main,.tasks-main) :is(.table-card,.detail-card,.report-card,.tasks-table-card,.catalog-table-card)>.section-header {padding:0!important;margin-bottom:20px;}
html body .app :is(.main,.tasks-main) :is(.table-wrapper,.table-responsive,.scroll) {max-width:100%;overflow-x:auto;}
html body .app :is(.main,.tasks-main) table th {background:var(--oz-surface-2)!important;color:var(--oz-text-2)!important;}
html body .app :is(.main,.tasks-main) :is(td,th) {border-color:var(--oz-hair)!important;}
html body .app :is(.main,.tasks-main) :is(.table-card,.tasks-table-card,.catalog-table-card)>.filters {margin-bottom:20px;}
html body .app :is(.main,.tasks-main) .table-card.cat-sec {padding:0!important;}
html body .app :is(.main,.tasks-main) :is(.psi-selection,.psi-shared,.cc-charge-section) {background:var(--oz-surface-2)!important;border-color:var(--oz-border)!important;}
html body .app :is(.main,.tasks-main) .cc-control {border:1px solid var(--oz-border);}
html body .app :is(.main,.tasks-main) .cc-control>.fx-account-heading {padding:0!important;margin-bottom:20px;gap:16px;}
html body .app :is(.main,.tasks-main) .cc-control>.summary {gap:20px;margin-bottom:24px;}
html body .app :is(.main,.tasks-main) .cc-control>.summary>.card {margin:0!important;padding:20px!important;}
html body .app :is(.main,.tasks-main) .cc-control>.summary .card>span {font-size:13px!important;color:var(--oz-text-2)!important;}
html body .app :is(.main,.tasks-main) .cc-control>.summary strong {font-size:26px;line-height:1.3;}
html body .app :is(.main,.tasks-main) .cc-control>.fx-workbar {padding:0!important;margin:24px 0!important;gap:12px;}
html body .app :is(.main,.tasks-main) .cc-control>.client {margin:0 0 16px;border:1px solid var(--oz-border);border-radius:10px;background:var(--oz-surface)!important;}
html body .app :is(.main,.tasks-main) .cc-control>.client>summary {padding:20px!important;background:var(--oz-surface)!important;}
html body .app :is(.main,.tasks-main) .cc-control>.client[open]>summary {background:var(--oz-surface-2)!important;}
html body .app :is(.main,.tasks-main) .cc-control .client h2 {font-size:16px!important;}
html body .app :is(.main,.tasks-main) .cc-control .detail {padding:24px!important;}
html body .app :is(.main,.tasks-main) .cc-control .balances span {font-size:12px!important;color:var(--oz-text-2);}
html body .app :is(.main,.tasks-main) .cc-control .balances b {font-size:16px!important;color:var(--oz-text);}
html body .app :is(.main,.tasks-main) .cc-control .badge.vencido {color:var(--oz-danger)!important;background:var(--oz-danger-bg)!important;}
html body .app :is(.main,.tasks-main) :is(.cc-charge-title,.pd-nombre) {font-size:14px!important;line-height:1.55;}
/* Dashboard uses the same surfaces and text hierarchy as the rest of the app. */
html[data-oz-module=dashboard] .pd-grid {gap:20px!important;}
html[data-oz-module=dashboard] .pd-caja {display:flex;flex-direction:column;}
html[data-oz-module=dashboard] .pd-caja-cab {gap:12px;margin-bottom:16px;}
html[data-oz-module=dashboard] .pd-caja-cab h3 {font-size:16px!important;font-weight:650;color:var(--oz-text)!important;}
html[data-oz-module=dashboard] :is(.pd-caja-cab p,.pd-cuenta,.pd-meta,.pd-pie) {font-size:13px!important;color:var(--oz-text-2)!important;line-height:1.5;}
html[data-oz-module=dashboard] .pd-ico {background:var(--oz-surface-2)!important;color:var(--oz-accent)!important;border:1px solid var(--oz-border);border-radius:9px;width:36px;height:36px;font-size:15px!important;flex-shrink:0;}
html[data-oz-module=dashboard] .pd-lista {flex:1;}
html[data-oz-module=dashboard] .pd-lista li {padding:12px 0!important;border-color:var(--oz-hair)!important;}
html[data-oz-module=dashboard] .pd-lista li.es-vencido {border-left:2px solid var(--oz-danger)!important;padding-left:10px!important;}
html[data-oz-module=dashboard] .pd-lista li.es-vencido .pd-meta {color:var(--oz-danger)!important;}
html[data-oz-module=dashboard] .pd-monto {font-size:14px!important;font-variant-numeric:tabular-nums;}
html[data-oz-module=dashboard] .pd-pie {margin-top:20px;padding-top:16px;border-top:1px solid var(--oz-hair);}
html[data-oz-module=dashboard] .pd-pie a {color:var(--oz-accent)!important;font-size:13px!important;}
html[data-oz-module=dashboard] :is(.summary-grid,.stats-grid) {gap:20px;}
html body .app :is(.main,.tasks-main) :is(.summary-value,.metric-value,.kpi-value) {font-size:26px!important;line-height:1.3;}
@media(max-width:760px) {
 :root {--oz-panel-inset:20px;}
 html body .app :is(.header,.tasks-header) {padding:20px!important;}
 html body .app :is(.header,.tasks-header) h1 {font-size:25px!important;}
 html body .app :is(.main,.tasks-main) .cc-control .detail {padding:16px!important;}
 html body .app :is(.main,.tasks-main) .cc-control>.client>summary {padding:16px!important;}
 html body .app :is(.main,.tasks-main) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:16px!important;min-height:44px;}
 html body .app :is(.main,.tasks-main) :is(.btn,.fx-action) {min-height:44px;}
 html body .app :is(.main,.tasks-main) .cc-control>.summary {grid-template-columns:minmax(0,1fr);gap:16px;}
 html body .app :is(.main,.tasks-main) .cc-control>.fx-workbar>* {max-width:100%;}
}
}

@media screen {html[data-oz-module=dashboard] .pd-nombre {white-space:normal!important;overflow-wrap:anywhere;text-overflow:clip;overflow:visible;} html body .app .tasks-main :is(.tasks-table-card,.pj-proj) {padding:var(--oz-panel-inset)!important;}}

@media screen {
html body .app :is(.main,.tasks-main) :is(.field,.form-group,.cfg-grid,.notification-field) label {color:var(--oz-text-2)!important;font-size:13px!important;}
html body .app :is(.main,.tasks-main) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select,textarea) {background:var(--oz-surface)!important;color:var(--oz-text)!important;border-color:var(--oz-border)!important;}
html body .app :is(.main,.tasks-main) :is(input,textarea)[readonly] {background:var(--oz-surface-2)!important;}
html body .app :is(.btn.ghost,.fx-action:not(.fx-solid):not(.fx-primary)) {background:var(--oz-surface)!important;color:var(--oz-text)!important;border-color:var(--oz-border)!important;}
html body .app :is(.btn.primary:not(.danger),.fx-primary,.fx-solid:not(.fx-red):not(.fx-danger)) {background:#2459ce!important;color:#fff!important;border-color:#2459ce!important;}
html body .app :is(.btn,.fx-action) {font-size:14px!important;}
html body .app :is(.btn.ghost,.fx-action:not(.fx-solid):not(.fx-primary)):hover {background:var(--oz-hover)!important;}
}

@media screen {
:root {--oz-control-border:#8b8b93;}
html.oz-oscuro {--oz-control-border:#83838d;}
html body .app :is(.main,.tasks-main) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select,textarea) {border-color:var(--oz-control-border)!important;}
html body .app :is(.btn.ghost,.fx-action:not(.fx-solid):not(.fx-primary)) {border-color:var(--oz-control-border)!important;}
}
@media screen and (prefers-contrast:more) {
:root {--oz-text-2:#393940;--oz-border:#777780;--oz-control-border:#575760;}
html.oz-oscuro {--oz-text-2:#f5f5f7;--oz-border:#a8a8b1;--oz-control-border:#bcbcc5;}
}

@media screen {
html body :is(.app,.modal,.drawer,.mf-box) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select,textarea) {background:var(--oz-surface)!important;color:var(--oz-text)!important;border-color:var(--oz-control-border)!important;font-family:var(--oz-font)!important;font-size:14px!important;}
html body .app .header :is(.ozbg-boton,.oz-luna-btn,.alerts-toggle-btn,.btn-reporte-diario,.oz-icon-btn) {background:var(--oz-surface)!important;color:var(--oz-text)!important;border-color:var(--oz-control-border)!important;font-size:14px!important;}
html body .app .header .oz-ojo {background:var(--oz-surface-2)!important;color:var(--oz-accent)!important;border-color:var(--oz-control-border)!important;}
}
@media screen and (max-width:760px) {
html body :is(.app,.modal,.drawer,.mf-box) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select,textarea) {font-size:16px!important;min-height:44px;}
}

/* Light-only UI and non-overlapping catalog controls. */
html {color-scheme:light!important;}
#oz-luna,.oz-luna-btn,.oz-luna-suelto {display:none!important;}
@media screen {
html[data-oz-module=catalogs_services] .catalog-tabs {position:static!important;top:auto!important;z-index:auto!important;margin:0!important;transform:none!important;flex-wrap:wrap;gap:16px;}
html[data-oz-module=catalogs_services] .main>.table-card {gap:20px;}
html[data-oz-module=catalogs_services] .cat-toolbar {display:flex;align-items:end;flex-wrap:wrap;gap:12px;position:static;min-height:0;}
html[data-oz-module=catalogs_services] .cat-toolbar label,html[data-oz-module=catalogs_services] .cat-search-wrap {display:flex;flex-direction:column;gap:8px;min-width:0;}
html[data-oz-module=catalogs_services] .cat-search-wrap {flex:1 1 320px;max-width:520px;}
html[data-oz-module=catalogs_services] .cat-toolbar :is(input,select) {width:100%;min-height:40px;}
html[data-oz-module=catalogs_services] .cat-help {margin:0!important;line-height:1.5;}
html[data-oz-module=catalogs_services] .catalog-table-card {padding:0!important;box-shadow:none!important;}
@media(max-width:760px){html[data-oz-module=catalogs_services] .cat-toolbar>* {flex:1 1 100%;max-width:100%;}html[data-oz-module=catalogs_services] .cat-toolbar :is(input,select){min-height:44px;}}
}

@media screen {
html[data-oz-module=catalogs_services] body .app .main .catalog-tabs {padding:0 0 16px!important;min-height:0!important;}
html[data-oz-module=catalogs_services] body .app .main .cat-toolbar {padding:0!important;margin:0!important;}
html[data-oz-module=catalogs_services] body .app .main .cat-help {padding:0!important;margin:0!important;}
html[data-oz-module=catalogs_services] body .app .main .catalog-table-card {padding:0!important;border:0!important;box-shadow:none!important;}
}

/* Catalog typography: match the shared hierarchy without 11–12 px local overrides. */
@media screen {
html[data-oz-module=catalogs_services] body .app .main :is(.catalog-tab,.cat-toolbar label,.cat-help,.cat-service-description) {font-size:14px!important;line-height:1.55!important;}
html[data-oz-module=catalogs_services] body .app .main :is(.service-name,.plan-name) {font-size:16px!important;line-height:1.45!important;font-weight:600;}
html[data-oz-module=catalogs_services] body .app .main :is(.cat-from,.price-cell) {font-size:15px!important;line-height:1.5!important;}
html[data-oz-module=catalogs_services] body .app .main :is(th,.recurrence-badge,.cycle-badge,.semantic-tag,.service-code,#catalog-count,.tab-count,td small) {font-size:13px!important;line-height:1.5!important;}
html[data-oz-module=catalogs_services] body .app .main .cat-service-description {color:var(--oz-text-2)!important;margin-top:6px;}
html[data-oz-module=catalogs_services] body .app .main .data-table td {padding-top:18px;padding-bottom:18px;}
}

/* Shared type scale for pages, popovers and forms, including legacy inline captions. */
@media screen {
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) {font-family:var(--oz-font);font-size:14px;line-height:1.55;}
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) :is(label,.field-label,.form-label,.hint,.help-text,.field-hint,.form-hint,small,th,.badge,.status-pill,.semantic-tag,.recurrence-badge,.cycle-badge,.tab-count,.section-note,.task-meta,.bd-card-meta,.service-code) {font-size:13px!important;line-height:1.5!important;}
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) :is(.btn,.fx-action,.catalog-tab,.tab,.scope-tab,.nav-tab) {font-size:14px!important;line-height:1.5!important;}
html body .app :is(.main,.tasks-main) :is(.task-title,.bd-card-title,.pj-proj-title,.project-name,.client-name,.emp-name,.service-name,.plan-name) {font-size:16px!important;line-height:1.45!important;font-weight:600;}
html[data-oz-module] body :is(.modal,.drawer,.mf-box,[role=dialog]) :is(h2,h3,.modal-title,.drawer-title) {font-size:20px!important;line-height:1.35!important;}
/* The enhancement only tags visible legacy text below 13 px. Printing keeps original document typography. */
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) [data-oz-type-floor][data-oz-type-floor][data-oz-type-floor][data-oz-type-floor] {font-size:13px!important;line-height:1.5!important;}
}

@media screen {
:root {--oz-size-group:1rem;--oz-size-caption:.8125rem;}
html[data-oz-module] body.oz-hig-standalone :is(input:not([type=hidden]),select,textarea) {font-family:var(--oz-font);font-size:14px!important;line-height:1.5;}
}
@media screen and (max-width:760px) {
html[data-oz-module] body.oz-hig-standalone :is(input:not([type=hidden]),select,textarea) {font-size:16px!important;min-height:44px;}
}

@media screen {
html[data-oz-module] body .app :is(.main,.tasks-main) td :is(strong,b) {font-size:16px!important;line-height:1.45;}
html[data-oz-module] body .app :is(.main,.tasks-main) td>a:not(.btn):not(.fx-action):first-child {font-size:16px!important;line-height:1.45;}
}

@media screen {
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) :is(label,.field-label,.form-label,th) {font-weight:600!important;}
html[data-oz-module] body :is(.app,.modal,.drawer,.mf-box,[role=dialog],.oz-hig-standalone) :is(input:not([type=hidden]),select,textarea) {font-weight:400!important;}
html[data-oz-module] body .app :is(.main,.tasks-main) td :is(strong,b) {font-weight:600!important;}
}

@media screen {
html[data-oz-module=projects] .project-list-toolbar {display:flex;align-items:flex-end;gap:24px;margin-bottom:24px;}
html[data-oz-module=projects] .project-list-toolbar>.filters {display:flex;align-items:flex-end;flex-wrap:nowrap;gap:12px;margin:0!important;padding:0!important;flex:0 0 auto;}
html[data-oz-module=projects] .project-list-toolbar>.oz-qs {flex:1 1 320px;max-width:520px;margin:0!important;}
html[data-oz-module=projects] .project-list-toolbar .oz-qs__box {flex:1 1 auto;min-width:0;}
html[data-oz-module=projects] .project-list-toolbar :is(input[type=search],select,.btn) {min-height:40px;}
@media(max-width:640px){html[data-oz-module=projects] .project-list-toolbar {flex-wrap:wrap;gap:16px;}html[data-oz-module=projects] .project-list-toolbar>.oz-qs {flex:1 1 100%;max-width:none;}}
}

/* Monthly services: one comparable list, without nested accordion tables. */
@media screen {
html[data-oz-module=projects] .monthly-overview {margin-top:20px;}
html[data-oz-module=projects] .monthly-list-toolbar {display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;}
html[data-oz-module=projects] .monthly-list-toolbar>.filters {display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0!important;}
html[data-oz-module=projects] .monthly-search {display:grid;gap:8px;flex:1 1 260px;max-width:400px;}
html[data-oz-module=projects] .monthly-search input {width:100%;padding:10px 12px;}
html[data-oz-module=projects] .monthly-list-count {margin-left:auto;align-self:center;color:var(--oz-text-2);font-size:13px;}
html[data-oz-module=projects] .monthly-list-hint {font-size:13px;color:var(--oz-text-2);margin:16px 0 24px;}
html[data-oz-module=projects] .monthly-flat-table td {vertical-align:middle;padding:18px 14px;}
html[data-oz-module=projects] .monthly-flat-table .monthly-service-cell {min-width:240px;max-width:340px;}
html[data-oz-module=projects] .monthly-flat-table .monthly-service-title {display:block;font-size:16px!important;font-weight:600;line-height:1.45;}
html[data-oz-module=projects] .monthly-flat-table small {display:block;margin-top:5px;color:var(--oz-text-2);font-size:13px!important;}
html[data-oz-module=projects] .monthly-period {white-space:nowrap;}
html[data-oz-module=projects] .monthly-flat-table progress {display:block;appearance:none;width:90px;height:5px;border:0;border-radius:4px;margin-top:8px;background:var(--oz-surface-2);overflow:hidden;}
html[data-oz-module=projects] .monthly-flat-table progress::-webkit-progress-bar {background:var(--oz-surface-2);}
html[data-oz-module=projects] .monthly-flat-table progress::-webkit-progress-value {background:var(--oz-accent);border-radius:4px;}
html[data-oz-module=projects] .monthly-flat-table progress::-moz-progress-bar {background:var(--oz-accent);}
html[data-oz-module=projects] .monthly-payment-state {display:inline-block;padding:3px 8px;border-radius:6px;background:var(--oz-surface-2);font-size:13px!important;white-space:nowrap;}
html[data-oz-module=projects] .monthly-payment-state.is-paid {background:var(--oz-success-bg);color:var(--oz-success);}
html[data-oz-module=projects] .monthly-payment-state.is-partial {background:var(--oz-warning-bg);color:var(--oz-warning);}
html[data-oz-module=projects] .monthly-amount {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
html[data-oz-module=projects] .monthly-row-actions {display:flex;gap:8px;align-items:center;white-space:nowrap;}
html[data-oz-module=projects] .monthly-edit {display:inline-flex;align-items:center;justify-content:center;min-width:38px;}
html[data-oz-module=projects] .monthly-search-empty {padding:24px;text-align:center;color:var(--oz-text-2);}
.monthly-sr-only {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.monthly-flat-table tr[hidden] {display:none!important;}
@media(max-width:760px){
 html[data-oz-module=projects] .monthly-search {max-width:none;flex-basis:100%;}
 html[data-oz-module=projects] .monthly-list-count {margin-left:0;}
 html[data-oz-module=projects] .monthly-flat-list {overflow:visible;}
 html[data-oz-module=projects] .monthly-flat-table,html[data-oz-module=projects] .monthly-flat-table tbody {display:block;width:100%;min-width:0;}
 html[data-oz-module=projects] .monthly-flat-table thead {display:none;}
 html[data-oz-module=projects] .monthly-flat-table tr {display:block;padding:18px 0;border-top:1px solid var(--oz-border);}
 html[data-oz-module=projects] .monthly-flat-table td {display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;padding:8px 0;border:0;max-width:none!important;min-width:0!important;text-align:left;white-space:normal;}
 html[data-oz-module=projects] .monthly-flat-table td:before {content:attr(data-label);font-size:13px;color:var(--oz-text-2);}
 html[data-oz-module=projects] .monthly-flat-table .monthly-service-cell {display:block;padding-bottom:16px;}
 html[data-oz-module=projects] .monthly-flat-table .monthly-service-cell:before {display:none;}
 html[data-oz-module=projects] .monthly-flat-table td:has(.monthly-row-actions) {display:block;}
 html[data-oz-module=projects] .monthly-flat-table td:has(.monthly-row-actions):before {display:none;}
 html[data-oz-module=projects] .monthly-flat-table small,html[data-oz-module=projects] .monthly-flat-table progress {grid-column:2;}
 html[data-oz-module=projects] .monthly-row-actions {flex-wrap:wrap;}
}
}

@media screen {
html[data-oz-module=projects] body .app .main .monthly-flat-table small {display:block!important;margin-top:5px!important;}
}

/* Collections: a page summary and independent client sections, without nested cards. */
@media screen {
html[data-oz-module=facturacion] body .app .main .cc-control {padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
html[data-oz-module=facturacion] body .app .main .cc-control>.fx-account-heading {margin:0 0 16px;}
html[data-oz-module=facturacion] body .app .main .cc-control>.summary {background:var(--oz-surface)!important;border:0;border-radius:10px;gap:0!important;overflow:hidden;margin-bottom:24px;}
html[data-oz-module=facturacion] body .app .main .cc-control>.summary>.card {background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:20px 24px!important;}
html[data-oz-module=facturacion] body .app .main .cc-control>.summary>.card+.card {border-left:1px solid var(--oz-hair)!important;}
html[data-oz-module=facturacion] body .app .main .cc-control>.client {border:0!important;border-radius:10px!important;box-shadow:none!important;margin-bottom:20px;background:var(--oz-surface)!important;}
html[data-oz-module=facturacion] body .app .main .cc-control>.client>summary {padding:24px!important;background:transparent!important;}
html[data-oz-module=facturacion] body .app .main .cc-control>.client[open]>summary {border-bottom:1px solid var(--oz-hair);}
html[data-oz-module=facturacion] body .app .main .cc-control .detail {padding:20px 24px 24px!important;}
html[data-oz-module=facturacion] body .app .main .cc-control .psi-selection {background:transparent!important;border:0!important;border-top:1px solid var(--oz-hair)!important;border-bottom:1px solid var(--oz-hair)!important;border-radius:0!important;padding:16px 0!important;margin:20px 0!important;gap:12px;}
html[data-oz-module=facturacion] body .app .main .cc-control .psi-selection>span {color:var(--oz-text-2);font-size:13px;}
html[data-oz-module=facturacion] body .app .main .cc-control .psi-selection>button {margin-left:auto;}
html[data-oz-module=facturacion] body .app .main .cc-control .cc-charge-section {padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;margin:24px 0;}
html[data-oz-module=facturacion] body .app .main .cc-control .cc-charge-section>summary {padding:12px 0;border-bottom:1px solid var(--oz-hair);}
html[data-oz-module=facturacion] body .app .main .cc-control .cc-charge-list {border:0!important;background:transparent!important;box-shadow:none!important;}
html[data-oz-module=facturacion] body .app .main .cc-control .cc-charge-list table {border:0!important;box-shadow:none!important;}
@media(max-width:760px){
 html[data-oz-module=facturacion] body .app .main .cc-control>.summary>.card+.card {border-left:0!important;border-top:1px solid var(--oz-hair)!important;}
 html[data-oz-module=facturacion] body .app .main .cc-control>.client>summary,html[data-oz-module=facturacion] body .app .main .cc-control .detail {padding:20px!important;}
 html[data-oz-module=facturacion] body .app .main .cc-control .psi-selection>button {margin-left:0;}
}
}

/* Unified documents use one table surface, aligned with the page toolbar. */
@media screen {
 html[data-oz-module=facturacion] body .app .main #panel-emision>.table-card:has(#uv-table) {
  padding:0!important;margin-top:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:transparent!important;
 }
 html[data-oz-module=facturacion] body .app .main #panel-emision .table-wrapper:has(>#uv-table) {
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:var(--oz-surface,#fff)!important;
 }
 html[data-oz-module=facturacion] body .app .main #uv-table {
  width:100%!important;margin:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:var(--oz-surface,#fff)!important;
 }
 html[data-oz-module=facturacion] body .app .main #uv-table thead {
  background:var(--oz-surface-2,#f5f5f7)!important;
 }
}

/* Keep the action-column header in the same grid as internal sales notes. */
@media screen {
 html[data-oz-module=facturacion] body .app .main #uv-table thead th.bulk-actions-col {
  display:table-cell!important;
 }
 html[data-oz-module=facturacion] body .app .main #uv-table thead th {
  background:var(--oz-surface-2,#f5f5f7)!important;
 }
 html[data-oz-module=facturacion] body .app .main #uv-table tbody tr {
  border-bottom:1px solid var(--oz-hair,#e8e8ed)!important;
 }
 html[data-oz-module=facturacion] body .app .main #uv-table tbody td {
  border-bottom:0!important;
 }
}

/* Selected-row actions do not reserve a table column. */
@media screen {
 html[data-oz-module=facturacion] body .app .main #uv-table tr>:nth-child(9),
 html[data-oz-module=facturacion] body .app .main #uv-table .uv-pay-action {display:none!important}
 html[data-oz-module=facturacion] body .app .main #uv-table {table-layout:auto!important;width:100%!important}
 #uv-table tr.uv-project-selected {background:#eaf1ff}
 .uv-project-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}
 .uv-project-actions[hidden] {display:none!important}
}

@media screen { html[data-oz-module=facturacion] body .app .main #uv-table thead tr th:nth-child(9), html[data-oz-module=facturacion] body .app .main #uv-table tbody tr td:nth-child(9) {display:none!important} }
