.debt-finance-workspace{min-width:0}.debt-workspace-nav{display:flex;gap:5px;flex-wrap:nowrap;overflow-x:auto;padding:5px;border:1px solid var(--brand-border);border-radius:12px;background:var(--brand-surface-soft);margin-block:14px}.debt-workspace-nav a{flex:0 0 auto;white-space:nowrap;padding:8px 12px;border-radius:8px;color:var(--brand-muted);font-size:12px;text-decoration:none}.debt-workspace-nav a[aria-current=page]{background:var(--brand-primary)}.debt-process-guide{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:12px 14px;margin:14px 0;background:var(--brand-surface-soft);border:1px solid var(--brand-border);border-radius:12px}.debt-process-guide li{display:flex;align-items:center;gap:6px;flex:1 1;min-width:140px;font-size:11px;color:var(--brand-muted)}.debt-process-guide b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--brand-surface);color:var(--brand-primary);border:1px solid var(--brand-border)}.debt-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;margin-block:12px 18px}.debt-kpi{padding:17px!important;min-width:0;display:flex;flex-direction:column;gap:10px;border:1px solid var(--brand-border)!important;border-radius:14px!important;background:var(--brand-surface)!important}.debt-kpi>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.debt-kpi p,.debt-kpi small,.debt-metrics-caption{font-size:11px;color:var(--brand-muted)}.debt-kpi svg{width:24px;height:24px;padding:7px;box-sizing:content-box;border-radius:10px;color:var(--brand-primary);background:var(--brand-surface-soft);flex-shrink:0}.debt-kpi strong{font-size:clamp(20px,1.8vw,27px);color:var(--brand-text);overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.debt-kpi p{margin:0}.debt-status{display:inline-flex;padding:4px 7px;border-radius:6px;background:var(--brand-surface-soft);color:var(--brand-primary);font-size:11px;white-space:nowrap}.debt-status.is-overdue{background:#fff0eb;color:#ab3c25}.debt-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 0}.debt-pagination>span{-webkit-margin-end:auto;margin-inline-end:auto;font-size:11px;color:var(--brand-muted)}.debt-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}.debt-overview-currency h2,.debt-section-heading h2{font-size:15px;margin:0;color:var(--brand-text)}.debt-section-heading a{font-size:12px;color:var(--brand-primary)}.debt-add-menu{position:relative}.debt-add-menu>summary{display:flex;align-items:center;gap:6px;cursor:pointer;list-style:none}.debt-add-menu>summary::-webkit-details-marker{display:none}.debt-add-menu>summary svg{width:18px;height:18px}.debt-add-menu>summary[aria-disabled=true]{opacity:.5;cursor:default}.debt-add-options{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:80;width:min(320px,calc(100vw - 26px));padding:6px;background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:12px;box-shadow:var(--brand-shadow)}.debt-add-options>a,.debt-add-options>button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--brand-text);text-align:start;text-decoration:none;font:inherit;cursor:pointer}.debt-add-options :is(a,button):hover{background:var(--brand-surface-soft)}.debt-add-options svg{width:22px;height:22px;flex-shrink:0;color:var(--brand-primary)}.debt-add-options small,.debt-add-options strong{display:block}.debt-add-options strong{font-size:12px}.debt-add-options small{font-size:10px;color:var(--brand-muted);line-height:1.5;margin-top:3px}.debt-add-options button:disabled{opacity:.5;cursor:default}.debt-overview-currency{margin-block:18px}.debt-contract-detail footer{display:flex;gap:7px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}.debt-contract-detail .finance-tabs{margin-block:14px}.debt-sidebar-nav .corp-icon{flex-shrink:0}@media(max-width:1000px){.debt-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.debt-kpis{grid-template-columns:1fr}.debt-process-guide li{min-width:120px}.debt-add-options{position:fixed;top:132px;inset-inline:13px;width:auto}.debt-workspace-nav a{padding:8px;font-size:11px}}@media print{.debt-add-menu,.debt-pagination,.debt-process-guide,.debt-workspace-nav{display:none}}.debt-operation-panel{padding:14px;border:1px solid var(--brand-border);border-radius:12px;margin-block:12px;background:var(--brand-surface)}.debt-operation-panel h3{font-size:14px;color:var(--brand-text);margin-block:5px 12px}.debt-operation-fields{border:0;padding:0;margin:0;min-width:0}.debt-operation-fields>.action-button-wrap{margin-block:12px}.debt-operation-disclosure{margin-top:14px;border-top:1px solid var(--brand-border);padding-top:12px}.debt-operation-disclosure>summary{font-size:12px;color:var(--brand-primary);cursor:pointer}.debt-operation-panel .finance-table input{min-width:140px}.personal-financing-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.personal-financing-kpis{grid-template-columns:1fr}}.asset-details-dialog:has(.debt-voucher){width:min(920px,calc(100vw - 24px))}.debt-voucher{padding:0!important}.debt-voucher>header{padding:18px 22px;border-bottom:1px solid var(--brand-border);position:-webkit-sticky;position:sticky;top:0;z-index:5;background:var(--brand-surface)}.debt-voucher>header .finance-heading{min-width:0;align-items:center}.debt-voucher>header p{margin:4px 0 0;font-size:12px;color:var(--brand-muted)}.debt-voucher>.finance-error{margin:12px 22px}.debt-voucher-body{border:0;margin:0;padding:0 22px 16px;min-width:0}.debt-voucher-section{padding:16px 0;border-bottom:1px solid var(--brand-border)}.debt-voucher-section h3{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--brand-text);margin:0 0 13px}.debt-voucher-section h3 svg{width:18px;height:18px;color:var(--brand-primary)}.debt-voucher-section .finance-form{margin:0;gap:12px}.debt-voucher .debt-principal{font-size:20px;font-weight:650}.debt-voucher>footer{position:-webkit-sticky;position:sticky;bottom:0;z-index:5;justify-content:space-between;background:var(--brand-surface);padding:13px 22px}.corp-shell .debt-voucher>footer>.action-button-wrap:last-child .action-button{background:var(--brand-primary)!important;color:#fff!important;border-color:var(--brand-primary)!important}.debt-schedule-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.debt-schedule-controls label{flex:1 1;min-width:135px;max-width:250px}.debt-field-help{font-size:11px;color:var(--brand-muted);line-height:1.8;margin:10px 0}.corp-shell .debt-schedule-table{margin:10px 0;max-height:350px}.debt-schedule-table table{min-width:440px;table-layout:fixed}.debt-schedule-table th:first-child{width:65px}.debt-schedule-table td,.debt-schedule-table th{padding:8px 10px}.debt-schedule-table input{min-height:36px;padding:6px 8px}.debt-installment-number{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--brand-surface-soft);color:var(--brand-primary)}.debt-schedule-reconciliation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 12px;border-radius:8px;background:var(--brand-surface-soft);font-size:11px;color:var(--brand-muted)}.debt-schedule-reconciliation b{display:inline-block;-webkit-margin-start:6px;margin-inline-start:6px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--brand-text)}.debt-schedule-reconciliation.is-unbalanced{color:var(--brand-danger,#a52828)}.debt-voucher-preview{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:var(--brand-surface-soft);border:1px solid var(--brand-border);padding:12px;margin-top:16px;border-radius:10px;font-size:12px}.debt-voucher-preview strong{font-size:20px;color:var(--brand-primary)}.debt-party-picker{min-width:0}.debt-party-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;grid-gap:8px;gap:8px;align-items:end}.debt-party-summary{display:flex;gap:8px 14px;align-items:center;flex-wrap:wrap;margin-top:8px;padding:9px 11px;border-radius:8px;background:var(--brand-surface-soft);font-size:11px;color:var(--brand-muted)}.debt-party-summary strong{color:var(--brand-text)}.debt-party-create{margin-top:12px;padding:13px;border:1px solid var(--brand-border);border-radius:10px}.debt-party-create h4{margin:0 0 10px;font-size:13px;color:var(--brand-text)}.debt-party-create .finance-actions{margin-top:12px}@media(max-width:620px){.debt-party-controls{grid-template-columns:1fr auto}.debt-party-controls>label:first-child{grid-column:1/-1}.debt-voucher>header{padding:15px}.debt-voucher-body{padding-inline:15px}.debt-voucher>footer{padding:12px 15px}}.debt-workspace-nav a{display:flex;align-items:center;justify-content:center;gap:7px}.debt-nav-icon{display:inline-flex;flex-shrink:0}.debt-nav-icon svg{width:17px;height:17px}.debt-workspace-nav a[aria-current=page]{background:var(--brand-primary)!important;color:#fff!important}.debt-workspace-nav a[aria-current=page] :is(span,svg){color:inherit!important}.debt-workspace-nav a:focus-visible{outline:2px solid var(--brand-primary);outline-offset:2px}.debt-collection-filters{display:grid;grid-template-columns:1.5fr repeat(6,minmax(110px,1fr)) auto;grid-gap:8px;gap:8px;align-items:end;padding:12px!important;margin-block:14px}.debt-collection-filters label,.debt-period-controls label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--brand-muted);min-width:0}.debt-collection-filters :is(input,select),.debt-period-controls input{min-height:36px;font-size:12px;padding:6px 9px;color:var(--brand-text);background:var(--brand-surface);border:1px solid var(--brand-border);border-radius:8px;min-width:0}.debt-period-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-block:12px;font-size:11px;color:var(--brand-muted)}.debt-period-controls input{max-width:170px}.debt-collection-alerts{display:flex;gap:10px 20px;align-items:center;flex-wrap:wrap;border:1px solid var(--brand-border);background:var(--brand-surface-soft);border-radius:10px;padding:12px;font-size:11px;color:var(--brand-text)}.debt-collection-alerts span{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}.debt-followup-form{padding:16px;margin-block:14px}.debt-followup-dialog h3,.debt-followup-form h3{font-size:14px;color:var(--brand-text)}.debt-followup-dialog fieldset,.debt-followup-form fieldset{border:0;padding:0;min-width:0}.debt-followup-dialog footer,.debt-followup-form footer{display:flex;justify-content:flex-end;margin-top:14px}.debt-followup-dialog .finance-form{margin-block:16px}.debt-followup-dialog textarea{min-height:85px}.debt-followup-history{max-height:300px;overflow:auto}.debt-followup-history article{padding:12px 0;border-bottom:1px solid var(--brand-border);font-size:12px}.debt-followup-history p{white-space:pre-wrap;overflow-wrap:anywhere}.debt-followup-history small{color:var(--brand-muted)}.debt-calendar-list{display:grid;grid-gap:12px;gap:12px}.debt-calendar-day{padding:16px}.debt-calendar-day h3{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--brand-primary)}.debt-calendar-day h3 svg{width:18px;height:18px}.debt-calendar-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--brand-border)}.debt-calendar-item>div:first-child{flex:1 1;min-width:0}.debt-calendar-item small{display:block;font-size:11px;color:var(--brand-muted);margin-top:4px}.debt-sort-button{display:inline-flex;align-items:center;gap:8px;background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0}.debt-sort-button:focus-visible{outline:2px solid var(--brand-primary);outline-offset:4px}.debt-payroll-workspace .finance-form small{font-size:11px;color:var(--brand-muted);line-height:1.7}@media(max-width:1200px){.debt-collection-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.debt-collection-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-calendar-item{flex-wrap:wrap}.debt-calendar-item>div:first-child{flex-basis:100%}.debt-collection-alerts{align-items:flex-start;flex-direction:column}}.debt-party-controls{grid-template-columns:minmax(110px,.8fr) minmax(130px,1fr) minmax(150px,1.3fr) auto}.debt-party-controls>label{min-width:0}.debt-party-controls :is(input,select){width:100%;min-width:0}.debt-party-create{background:var(--brand-surface-soft);-webkit-border-start:3px solid var(--brand-primary);border-inline-start:3px solid var(--brand-primary)}.debt-party-create .finance-form{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-party-create .finance-actions{display:flex;flex-wrap:wrap;gap:8px}.debt-party-summary strong{overflow-wrap:anywhere}.debt-voucher-body{padding-bottom:24px}@media(max-width:760px){.debt-party-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.debt-party-controls>label:first-child{grid-column:auto}.debt-party-controls>.action-button-wrap{align-self:end}}@media(max-width:420px){.debt-party-controls,.debt-party-create .finance-form{grid-template-columns:minmax(0,1fr)}}