/* Komponen interaktif SIMKEU (toast, combobox, menu aksi, viewer gambar, panel layanan/SHU). Diekstrak dari app-ui.css lama. */
:root{--ui-ink:#1e293b;--ui-muted:#64748b;--ui-primary:#4338ca;--ui-bg:#f4f6fb;--ui-line:#e5e9f2;--ui-radius:10px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-card-pad:14px;--ui-stat-min-h:92px}
.ui-scroll-hint { font-size:11px; color:var(--ui-muted); margin:7px 0 14px; display:none }
.ui-scroll-hint.is-visible { display:block }
.ui-skip { position:fixed; top:4px; left:4px; z-index:2000; background:#fff; padding:10px; transform:translateY(-160%) }
.ui-skip:focus { transform:translateY(0) }
@media print {
.ui-skip,
.ui-scroll-hint { display:none!important }
}
.ui-members-table>thead>tr>th,
.ui-members-table>tbody>tr>td { display:table-cell!important }
.ui-members-table td:nth-child(3) { min-width:180px }
.ui-members-table td:nth-child(4) { min-width:145px }
.service-section { margin: 24px 0; }
.service-heading { justify-content: space-between; gap: 16px; }
.service-eyebrow { display: block; color: #4338ca; font-size: 10px; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
.service-heading p { font-size: 13px; }
.service-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--ui-line); border-radius: 11px; background: #fafcfd; }
.service-metrics>div { padding: 20px; border-right: 1px solid var(--ui-line); min-width: 0; }
.service-metrics>div:last-child { border-right: 0; }
.service-metrics span,
.service-metrics small { display: block; font-size: 12px; color: var(--ui-muted); }
.service-metrics strong { display: block; font-size: 24px; letter-spacing: -.5px; margin: 5px 0; overflow-wrap: anywhere; }
.service-callout { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 18px; margin-top: 18px; border-radius: 10px; border: 1px solid #eadcae; background: #fff9e9; color: #70551c; }
.service-callout p { font-size: 12px; margin-top: 5px; }
.service-callout .btn { flex-shrink: 0; }
.service-year-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.service-year-filter label { margin: 0; }
.service-year-filter .form-select { width: 120px; }
.service-empty { padding: 32px 20px; background: #f8fbfc; border: 1px dashed #dbe6ec; border-radius: 10px; text-align: center; }
.service-empty strong { display: block; font-size: 14px; color: #375765; }
.service-empty p { font-size: 12px; color: var(--ui-muted); margin: 8px auto 0; max-width: 500px; }
.service-empty>i { display: block; font-size: 24px; color: #7dabb0; margin-bottom: 15px; }
.service-empty.compact { padding: 22px 18px; }
.service-pending-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.service-pending { border: 1px solid var(--ui-line); border-radius: 10px; padding: 18px; }
.service-search-action { display: flex; align-items: flex-end; gap: 8px; }
.service-workflow-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:stretch }
.service-action-trigger { display:inline-flex; align-items:center; gap:6px; min-height:42px; padding:.55rem 1rem; border-radius:10px; font-weight:600; text-align:left }
.service-action-trigger i { font-size:1.05rem }
.service-action-form .form-label { font-weight:600;color:#355764 }
.service-action-form textarea { min-height:92px;resize:vertical }
.modal .service-action-form .modal-body { padding-top:.25rem }
.service-proof-review,
.service-report-action { display:flex;flex-wrap:wrap;gap:8px;margin-top:10px }
.ui-empty-table { padding: 28px 16px; color: var(--ui-muted); font-size: 13px; text-align: center; white-space: normal; }
.table:has(.ui-empty-row) { min-width: 0!important; }
.table:has(.ui-empty-row) thead { display: none; }
.service-section .table th { white-space: normal; }
.service-table-toolbar,
.service-subheading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px }
.service-table-toolbar>div { min-width:0 }
.service-table-toolbar strong { display:block;color:#244f5d;font-size:14px }
.service-table-toolbar span:not(.service-result-count) { display:block;margin-top:3px;color:var(--ui-muted);font-size:12px }
.service-result-count { flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#edf5f5;color:#24666b;font-size:11px;font-weight:700 }
.service-member-name,
.service-loan-code { display:block }
.service-member-name { color:#244653;font-size:13px }
.service-loan-code { margin-top:3px;color:var(--ui-muted);font-size:11px }
.service-money { font-weight:600;color:#294d59;white-space:nowrap }
.service-row-actions { display:flex;gap:6px;white-space:nowrap }
.service-row-actions .btn { display:inline-flex;align-items:center;gap:6px }
.service-paid-table td:first-child { min-width:170px }
.service-paid-table td:last-child { min-width:150px }
.service-detail-card { border-color:#d7e5e8!important;box-shadow:0 8px 28px rgba(23,66,78,.08)!important }
#detail>.service-detail-header { background:linear-gradient(135deg,#f5fbfa,#fff);align-items:center }
.service-detail-header>div { min-width:0 }
.service-detail-header h2 { margin:2px 0 3px!important }
.service-detail-header small { color:var(--ui-muted);font-weight:600 }
.service-detail-summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;border:1px solid #dfe9ed;border-radius:12px;background:#f9fbfc;overflow:hidden }
.service-detail-summary>div { min-width:0;padding:16px 18px;border-right:1px solid #dfe9ed }
.service-detail-summary>div:last-child { border-right:0 }
.service-detail-summary span { display:block;margin-bottom:5px;color:var(--ui-muted);font-size:11px }
.service-detail-summary strong { display:block;color:#244653;font-size:14px;overflow-wrap:anywhere }
.service-detail-summary strong i { margin-right:6px;color:#168263 }
.service-detail-summary strong i.fa-clock { color:#c18416 }
.service-detail-actions { display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:20px }
.service-subheading { margin:22px 0 12px;padding-top:18px;border-top:1px solid var(--ui-line) }
.service-subheading h3 { color:#244f5d }
#detail>.card-body>.service-subheading h3.h5 { margin:0!important;padding:0;border:0 }
.service-late-panel,
.service-proof-panel { margin:24px 0;padding:20px;border:1px solid #dfe9ed;border-radius:13px;background:#fbfdfd }
.service-panel-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px }
.service-panel-heading h3.h5 { margin:2px 0 3px!important;padding:0!important;border:0!important }
.service-panel-heading p { margin:0;color:var(--ui-muted);font-size:12px }
.service-late-summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px;border:1px solid #e1e9ed;border-radius:10px;background:#fff;overflow:hidden }
.service-late-summary>div { padding:12px 14px;border-right:1px solid #e7edef }
.service-late-summary>div:last-child { border-right:0 }
.service-late-summary span { display:block;color:var(--ui-muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em }
.service-late-summary strong { display:block;margin-top:3px;color:#294d59;font-size:16px }
.service-late-list,
.service-proof-list { display:grid;gap:9px }
.service-late-row { display:grid;grid-template-columns:82px minmax(0,1fr) minmax(0,220px);align-items:center;gap:16px;padding:13px 14px;border:1px solid #e2e9ed;border-left:4px solid #168263;border-radius:10px;background:#fff;min-width:0;max-width:100% }
.service-late-row.is-light { border-left-color:#d69a20 }
.service-late-row.is-late { border-left-color:#dd6b36 }
.service-late-row.is-severe { border-left-color:#bd4255 }
.service-installment-number span,
.service-late-dates span { display:block;color:var(--ui-muted);font-size:10px }
.service-installment-number strong,
.service-late-dates strong { display:block;color:#294d59;font-size:12px }
.service-late-dates { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px }
.service-late-dates>i { color:#a1b1b8;font-size:10px }
.service-late-status .badge { display:block;margin-left:auto;width:max-content;background:#e6f4ee!important;color:#176a50 }
.service-late-row.is-light .service-late-status .badge { background:#fff3d8!important;color:#7b5a17 }
.service-late-row.is-late .service-late-status .badge { background:#feecdf!important;color:#984d25 }
.service-late-row.is-severe .service-late-status .badge { background:#fbe7e9!important;color:#a62c40 }
.service-late-track { height:4px;margin-top:8px;border-radius:8px;background:#edf1f3;overflow:hidden }
.service-late-track span { display:block;height:100%;border-radius:inherit;background:#168263 }
.service-late-row.is-light .service-late-track span { background:#d69a20 }
.service-late-row.is-late .service-late-track span { background:#dd6b36 }
.service-late-row.is-severe .service-late-track span { background:#bd4255 }
.service-proof-card { display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid #e1e9ed;border-radius:11px;background:#fff }
.service-proof-icon { display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#e8f5f1;color:#168263 }
.service-proof-icon.is-penalty { background:#fff1df;color:#b56b16 }
.service-proof-content { min-width:0 }
.service-proof-title { display:flex;align-items:flex-start;justify-content:space-between;gap:12px }
.service-proof-title>div>span { display:block;color:var(--ui-muted);font-size:11px }
.service-proof-title strong { display:block;margin-top:1px;color:#244653;font-size:15px }
.service-proof-meta { display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:6px;color:#6b8089;font-size:11px }
.service-proof-meta i { width:14px;margin-right:4px;text-align:center;color:#89a0aa }
.service-proof-link { display:inline-flex;align-items:center;gap:6px;white-space:nowrap }
.service-proof-review { margin-top:10px }
.service-proof-review .service-action { margin:0 }
.service-proof-review .service-action>summary { min-height:40px;padding:9px 12px;font-size:12px }
.service-workflow-panel,
.service-history-panel { margin:24px 0;padding:20px;border:1px solid #dfe8ec;border-radius:13px;background:#f8fbfc }
.service-workflow-panel .service-panel-heading,
.service-history-panel .service-panel-heading { margin-bottom:12px }
.service-workflow-list>.service-action:first-child { margin-top:0 }
.service-workflow-list>.service-action:last-child { margin-bottom:0 }
.service-secondary-workflow { background:#fbfcfa }
.service-note { display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid #d8e7ea;border-radius:10px;background:#fff;color:#526f79 }
.service-note i { margin-top:3px;color:#21818a }
.service-note p { margin:0;font-size:12px }
.service-auction-card { margin-bottom:12px;padding:15px;border:1px solid #dce8eb;border-radius:11px;background:#fff }
.service-auction-head,
.service-auction-head>div { display:flex;align-items:center;justify-content:space-between;gap:12px }
.service-auction-head>div { justify-content:flex-start }
.service-auction-head>div>i { display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e9f2f5;color:#297084 }
.service-auction-head span { display:block;color:var(--ui-muted);font-size:11px }
.service-auction-head strong { display:block;color:#244653;font-size:16px }
.service-auction-card dl { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 0;border-top:1px solid #e8eef1 }
.service-auction-card dl>div { padding:12px 10px 0 }
.service-auction-card dt { color:var(--ui-muted);font-size:10px;font-weight:500 }
.service-auction-card dd { margin:3px 0 0;color:#294d59;font-size:12px;font-weight:650 }
.service-request-card { margin:10px 0;padding:14px;border:1px solid #e1e9ed;border-radius:11px;background:#fff }
.service-request-head { display:flex;align-items:flex-start;justify-content:space-between;gap:12px }
.service-request-head span:not(.badge) { display:block;color:var(--ui-muted);font-size:10px }
.service-request-head strong { display:block;color:#294d59;font-size:13px }
.service-request-card>p { margin:9px 0 0;color:#627780;font-size:12px }
.service-request-card .service-action { margin-bottom:0 }
.service-report-list,
.service-audit-list { display:grid;gap:10px }
.service-report-card { padding:15px;border:1px solid #e1e9ed;border-radius:11px;background:#fff }
.service-report-head,
.service-report-head>div { display:flex;align-items:center;justify-content:space-between;gap:10px }
.service-report-head>div { justify-content:flex-start }
.service-report-head strong { color:#355764;font-size:12px }
.service-report-head time { color:#78909a;font-size:11px }
.service-report-detail { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:13px 0 0 }
.service-report-detail>div { padding:11px 12px;border-radius:9px;background:#f6f9fa }
.service-report-detail dt { color:#6d828b;font-size:10px;text-transform:uppercase;letter-spacing:.04em }
.service-report-detail dd { margin:5px 0 0;color:#405d68;font-size:12px;line-height:1.55;white-space:pre-line }
.service-report-action { margin-top:12px }
.service-report-action .service-action { margin-bottom:0 }
.service-audit-panel .service-audit-item { margin:0;background:#fff }
.service-collateral-state { margin:12px 0;padding:16px;border:1px solid #dbe7eb;border-radius:12px;background:#fff }
.service-collateral-head { display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px }
.service-collateral-icon { display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e9f4f5;color:#247580 }
.service-collateral-head>div:nth-child(2)>span { display:block;color:var(--ui-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em }
.service-collateral-head h4 { margin:2px 0 0;color:#294d59;font-size:14px }
.service-collateral-state dl { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 0 }
.service-collateral-state dl>div { padding:12px 13px;border-radius:9px;background:#f6f9fa }
.service-collateral-state dt { color:#607985;font-size:11px }
.service-collateral-state dt i { width:16px;margin-right:5px;color:#78949e }
.service-collateral-state dd { margin:6px 0 0;color:#35525d;font-size:12px;line-height:1.55;white-space:pre-line }
.service-collateral-progress { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px;padding:11px 13px;border:1px solid #efdfb4;border-radius:9px;background:#fff9ea;color:#76591c }
.service-collateral-progress span { font-size:12px;font-weight:650 }
.service-collateral-progress span i { margin-right:7px }
.service-collateral-progress small { color:#846d38;font-size:10px;text-align:right }
@media(max-width:767.98px) {
.service-metrics { grid-template-columns: 1fr; }
.service-metrics>div { border-right: 0; border-bottom: 1px solid var(--ui-line); padding: 16px; }
.service-metrics>div:last-child { border-bottom: 0; }
.service-metrics strong { font-size: 22px; }
.service-callout { flex-direction: column; align-items: stretch; gap: 12px; }
.service-search-action { flex-basis: 100%; }
.service-search-action .btn { flex: 1; }
.service-heading>.btn { width: 100%; }
}
.table:has(.ui-placeholder-row) { min-width:0!important }
.table:has(.ui-placeholder-row)>thead { display:none }
.ui-placeholder-row>td { white-space:normal!important;padding:32px 18px!important;color:var(--ui-muted);text-align:center }
.service-page-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 24px }
.service-page-heading h1 { font-size:27px;margin:5px 0 8px;letter-spacing:-.5px }
.service-eyebrow { font-size:10px;font-weight:700;letter-spacing:.12em;color:#5d7c86 }
.service-tabs { border-bottom:1px solid #dce7eb;padding:5px 0 13px!important;background:transparent!important;border-radius:0!important;flex-wrap:wrap }
.service-tabs .nav-link { padding:11px 16px!important;border-radius:10px!important }
.service-kpi-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0 }
.service-kpi { display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e1e9ed;border-radius:14px;padding:20px;min-width:0 }
.service-kpi>span { display:flex;align-items:center;justify-content:space-between;color:#607985;font-size:12px }
.service-kpi strong { font-size:25px;line-height:1.3;letter-spacing:-.6px;overflow-wrap:anywhere }
.service-kpi small { font-size:11px;color:#72858e }
.service-settings-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px }
.service-settings-grid label { font-weight:600 }
.service-settings-grid .form-text { line-height:1.6 }
.service-settings-grid textarea { min-height:100px }
.service-action { margin-bottom:12px }
.service-action summary { cursor:pointer;padding:14px;font-weight:600;border-radius:8px;background:#f4f8fa }
.service-action[open] summary { margin-bottom:16px;background:#eaf5f4 }
.service-loan-table td { vertical-align:middle }
.service-loan-table .btn { white-space:nowrap }
.portfolio-chart { display:flex;align-items:center;gap:26px;padding:22px;background:#f6faf9;border:1px solid #e1eae7;border-radius:14px;margin:24px 0 }
.portfolio-donut { width:132px;height:132px;flex-shrink:0;border-radius:50%;display:grid;place-items:center }
.portfolio-donut span { display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;border-radius:50%;width:100px;height:100px;font-size:25px;font-weight:700 }
.portfolio-donut small { font-size:10px;color:#70848b;font-weight:400 }
.portfolio-chart p:last-child { margin-bottom:0 }
.service-workflow-panel .service-workflow-actions { margin-top:4px }
.service-action-form .btn { border-radius:9px;font-weight:600 }
.service-priority-state { display:flex;align-items:center;gap:10px;margin:16px 0 8px;padding:12px 14px;border:1px solid #f0dfb5;border-radius:10px;background:#fffaf0;color:#765d22;font-weight:600 }
.service-priority-state .badge { font-size:11px }
.service-priority-state.is-approved { border-color:#bfe5d4;background:#effaf5;color:#176b52 }
.service-priority-state::before { content:'✓';display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#198754;color:#fff;font-size:13px;font-weight:700 }
.service-priority-state.is-approved { font-size:14px }
.service-priority-state.is-approved::after { content:'Pengajuan prioritas sudah disetujui Admin.';font-size:12px;font-weight:400;color:#4f7c6d;margin-left:auto }
.service-priority-state.is-approved::after { content:none }
.service-priority-review { margin:14px 0;padding:15px;border:1px solid #e3e9ec;border-radius:11px;background:#fbfdfd }
.service-priority-review>div { display:flex;align-items:center;justify-content:space-between;gap:12px;color:#294d59;font-size:13px;font-weight:700 }
.service-priority-review dl { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0 }
.service-priority-review dl>div { padding:11px 12px;border-radius:9px;background:#fff }
.service-priority-review dt { color:#71858d;font-size:10px;text-transform:uppercase;letter-spacing:.04em }
.service-priority-review dd { margin:5px 0 0;color:#3d5963;font-size:12px;line-height:1.5;white-space:pre-line }
.service-collateral-actions { display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid #e7edef }
.service-collateral-actions .btn { display:inline-flex;align-items:center }
.service-audit-item { display:flex;gap:12px;padding:14px 16px;margin:10px 0;border:1px solid #e1e9ed;border-radius:12px;background:#fbfdfd }
.service-audit-icon { display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#e4f5ef;color:#16815e;font-size:12px }
.service-audit-content { min-width:0;flex:1 }
.service-audit-head { display:flex;align-items:center;justify-content:space-between;gap:12px }
.service-audit-head strong { color:#244f5d;font-size:13px }
.service-audit-head time { color:#78909a;font-size:11px;white-space:nowrap }
.service-audit-user { margin-top:4px;color:#587581;font-size:12px }
.service-audit-user i { margin-right:6px }
.service-audit-content p { margin:8px 0 0;color:#6c7f87;font-size:12px;line-height:1.5 }
#detail .service-detail-card>.card-header { padding:16px 20px;background:#fff }
#detail .service-detail-card>.card-header h2 { margin:0;color:#234c59 }
#detail .service-detail-card>.card-body { padding:16px 18px 18px }
#detail .service-wa-button { display:flex;width:100%;align-items:center;justify-content:center;margin:8px 0 0!important;padding:9px 14px;border-radius:9px;font-weight:600;background:#effaf5 }
#detail .service-action { margin:12px 0 }
@media(max-width:575px) {
#detail .service-detail-card>.card-header { padding:14px }
#detail .service-detail-card>.card-body { padding:14px }
#detail .service-panel-heading h3.h5 { font-size:15px }
}
@media(max-width:575px) {
.service-audit-item { padding:12px }
.service-audit-head { align-items:flex-start;flex-direction:column;gap:3px }
.service-audit-head time { white-space:normal }
}
@media(max-width:575px) {
.service-action-trigger { width:100%;justify-content:flex-start }
.service-priority-state { align-items:flex-start;flex-direction:column;gap:7px }
}
@media(max-width:575px) {
.service-priority-review dl { grid-template-columns:1fr }
.service-collateral-actions .btn { width:100%;justify-content:center }
}
@media(max-width:767.98px) {
.service-detail-summary { grid-template-columns:repeat(2,minmax(0,1fr)) }
.service-detail-summary>div { padding:13px 14px;border-bottom:1px solid #dfe9ed }
.service-detail-summary>div:nth-child(2) { border-right:0 }
.service-detail-summary>div:nth-last-child(-n+2) { border-bottom:0 }
.service-row-actions .btn span { display:none }
.service-row-actions .btn { justify-content:center;min-width:34px;padding-left:9px;padding-right:9px }
.service-paid-table td:last-child { min-width:96px }
}
@media(max-width:575px) {
.service-table-toolbar,
.service-subheading { align-items:flex-start }
.service-table-toolbar span:not(.service-result-count) { max-width:250px }
.service-detail-header { align-items:flex-start!important }
.service-detail-header>.btn { min-width:38px }
.service-detail-actions { display:grid;grid-template-columns:1fr }
.service-detail-actions .btn { width:100% }
}
@media(max-width:767.98px) {
.service-late-panel,
.service-proof-panel { padding:15px 14px }
.service-late-summary { grid-template-columns:repeat(2,minmax(0,1fr)) }
.service-late-summary>div:nth-child(2) { border-right:0 }
.service-late-summary>div:nth-child(-n+2) { border-bottom:1px solid #e7edef }
.service-late-row { grid-template-columns:62px minmax(0,1fr);gap:10px 12px }
.service-late-status { grid-column:1/-1 }
.service-late-flags { justify-items:start;width:100% }
.service-late-flag { align-items:flex-start }
.service-proof-card { grid-template-columns:38px minmax(0,1fr) }
.service-proof-icon { width:38px;height:38px }
.service-proof-link { grid-column:2;width:max-content }
.service-proof-title { align-items:flex-start }
.service-proof-title>.badge { flex-shrink:0 }
}
@media(max-width:767.98px) {
.service-workflow-panel,
.service-history-panel { padding:15px 14px }
.service-auction-card dl { grid-template-columns:repeat(2,minmax(0,1fr));gap:4px }
.service-report-detail { grid-template-columns:1fr }
.service-report-head { align-items:flex-start }
.service-report-head time { white-space:nowrap }
}
@media(max-width:767.98px) {
.service-collateral-state dl { grid-template-columns:1fr }
.service-collateral-progress { align-items:flex-start;flex-direction:column;gap:4px }
.service-collateral-progress small { text-align:left }
}
@media(max-width:575px) {
.service-panel-heading { gap:10px }
.service-panel-heading p { max-width:230px }
.service-late-dates { gap:7px }
.service-proof-title { display:block }
.service-proof-title>.badge { display:inline-block;margin-top:6px }
.service-proof-link { width:100%;justify-content:center }
}
@media(max-width:575px) {
.service-auction-head { align-items:flex-start;flex-direction:column }
.service-auction-head>.btn { width:100% }
.service-auction-card dl { grid-template-columns:1fr }
.service-auction-card dl>div { padding-left:0 }
.service-report-head { display:block }
.service-report-head time { display:block;margin-top:7px }
.service-request-head { align-items:flex-start }
}
@media(max-width:575px) {
.service-collateral-head { grid-template-columns:36px minmax(0,1fr) }
.service-collateral-icon { width:36px;height:36px }
.service-collateral-head>.badge { grid-column:2;width:max-content }
}
.service-section { width:100%;max-width:100%;overflow:hidden }
.service-section .card-body { padding:20px 22px }
.service-pending-grid { grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px }
.service-pending { min-width:0;background:#fbfdfd;box-shadow:0 2px 8px rgba(31,72,84,.04) }
.service-pending h3 { display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.4 }
.service-pending a { display:block;overflow-wrap:anywhere;border-radius:7px;text-decoration:none }
.service-pending a:hover { background:#edf7f6 }
.service-section .table-responsive { max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch }
.service-section .table { min-width:620px }
.service-section .table td,
.service-section .table th { vertical-align:middle;white-space:nowrap }
.service-section .card-header { display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap }
@media(max-width:767.98px) {
.service-section .card-body { padding:12px }
.service-section .card-header { padding:10px 12px }
.service-section .table { min-width:590px }
.service-pending-grid { grid-template-columns:1fr }
.service-pending { padding:12px }
.service-page-heading { margin-bottom:12px }
}
main.col-md-9 .service-detail-view,
main.col-md-9 .service-detail-stack,
main.col-md-9 .service-stack-card,
main.col-md-9 .service-section { max-width:100%; min-width:0; width:100%; box-sizing:border-box }
.service-detail-view { width:100%; max-width:100%; min-width:0; overflow-x:hidden; box-sizing:border-box }
.service-detail-stack { display:grid; gap:16px; width:100%; max-width:100%; min-width:0; box-sizing:border-box; margin-top:16px }
.service-detail-card { margin-bottom:0!important }
.service-late-list { display:grid; gap:10px }
.service-late-flags { display:grid; gap:6px; justify-items:end }
.service-late-flag { display:flex; flex-direction:column; align-items:flex-end; gap:2px }
.service-late-flag>span { color:var(--ui-muted); font-size:10px; text-transform:uppercase; letter-spacing:.04em; font-weight:600 }
.service-late-flag>.badge { margin:0; width:max-content }
.service-detail-stack .service-stack-card,
.service-detail-stack .service-workflow-panel,
.service-detail-stack .service-proof-panel,
.service-detail-stack .service-history-panel,
.service-detail-stack .service-late-panel,
.service-detail-stack .service-audit-panel { width:100%; max-width:100%; min-width:0; overflow-x:auto; overflow-y:visible; box-sizing:border-box }
.service-detail-stack .table-responsive,
.service-detail-stack .ui-table-scroll,
.service-detail-stack .service-proof-list,
.service-detail-stack .service-report-list,
.service-detail-stack .service-audit-list,
.service-detail-stack .service-late-list { max-width:100%; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch }
.service-detail-stack .service-workflow-actions,
.service-detail-stack .service-settle-card,
.service-detail-stack .service-collateral-state,
.service-detail-stack .service-auction-card,
.service-detail-stack .service-request-card { width:100%; max-width:100%; min-width:0 }
.service-detail-stack .service-action-trigger { max-width:100% }
.service-detail-stack .service-late-dates,
.service-detail-stack .service-proof-meta,
.service-detail-stack .service-audit-content p,
.service-detail-stack .service-report-detail dd { overflow-wrap:anywhere }
.service-detail-stack .signature-canvas-wrap,
.service-detail-stack .signature-field { max-width:100%; min-width:0 }
.service-detail-stack canvas.signature { width:100%!important; max-width:100%; height:auto }
@media(min-width:1200px) {
main.col-md-9 .service-pending-grid { min-width:0;width:100% }
main.col-md-9 .service-pending { min-width:0;overflow:hidden }
}
@media(max-width:991.98px) {
.service-late-row { grid-template-columns:72px minmax(0,1fr);gap:10px 12px }
.service-late-status { grid-column:1/-1 }
.service-auction-card dl { grid-template-columns:repeat(2,minmax(0,1fr)) }
.service-report-detail { grid-template-columns:1fr }
.service-detail-stack .service-panel-heading { flex-wrap:wrap;gap:8px }
}
@media(max-width:767.98px) {
.service-detail-stack { gap:10px }
.service-detail-stack .service-stack-card,
.service-detail-stack .service-workflow-panel,
.service-detail-stack .service-proof-panel,
.service-detail-stack .service-history-panel,
.service-detail-stack .service-late-panel,
.service-detail-stack .service-audit-panel { padding:12px!important;border-radius:12px }
.service-detail-stack .service-panel-heading { flex-wrap:wrap;align-items:flex-start }
.service-detail-stack .service-action-trigger { max-width:none }
.service-detail-summary { grid-template-columns:1fr 1fr }
.service-workflow-compact { grid-template-columns:1fr }
.service-detail-actions { display:grid;grid-template-columns:1fr }
}
@media(max-width:1100px) {
.service-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:575px) {
.service-page-heading { align-items:stretch;flex-direction:column;gap:14px }
.service-page-heading h1 { font-size:24px }
.service-page-heading>.btn { align-self:flex-start }
.service-kpi-grid { gap:10px;margin:18px 0 }
.service-kpi { padding:14px;gap:7px }
.service-kpi strong { font-size:21px }
.service-kpi>span { font-size:11px }
.service-tabs { gap:5px!important }
.service-tabs .nav-link { font-size:12px;padding:10px!important }
.service-settings-grid { grid-template-columns:1fr;gap:18px }
.portfolio-chart { gap:16px;align-items:flex-start;flex-direction:column }
.portfolio-donut { align-self:center }
}
.service-kpi>span { flex-direction:row-reverse }
.service-settings-footer { display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap }
.ui-actions-heading { white-space:nowrap }
.ui-actions-cell { vertical-align:middle!important }
.ui-table-actions { display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px;min-width:115px;max-width:260px }
.ui-table-actions .btn { min-height:33px;min-width:33px;padding:6px 10px!important;line-height:1.45!important;border-radius:8px!important;white-space:nowrap;font-size:11px!important;display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0!important;box-shadow:none }
.ui-table-actions .btn-group { display:flex;flex-wrap:wrap;gap:6px }
.ui-table-actions>.d-flex { gap:6px;flex-wrap:wrap }
.ui-table-actions>form { margin:0!important;display:inline-flex;gap:6px;flex-wrap:wrap }
.ui-table-actions>.btn-group>.btn { margin:0!important }
.ui-table-actions .btn i { margin:0!important }
.ui-table-actions .btn-outline-danger { background:#fff8f8 }
.ui-table-actions .btn-outline-primary { background:#f2fafa }
.shu-form-grid { display:grid;grid-template-columns:1fr 1fr;gap:24px }
.shu-form-grid label.form-label { display:block }
.shu-allocation-fields { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px }
.shu-filter { display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap }
.shu-filter>label { flex:1;min-width:150px }
.shu-filter>button { flex-shrink:0 }
.shu-create summary { cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px }
.shu-create summary:after { content:'+';color:#4338ca;margin-left:auto }
.shu-create summary::-webkit-details-marker { display:none }
.shu-allocation-read { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px }
.shu-allocation-read>div { padding:14px;background:#f5f9f8;border-radius:10px;border:1px solid #e5edeb }
.shu-allocation-read span { display:block;font-size:12px }
.shu-allocation-read span small { color:#6c8483 }
.shu-allocation-read strong { display:block;margin-top:7px;font-size:15px }
.shu-log { white-space:pre-wrap;overflow-wrap:anywhere;max-width:550px;font-size:11px }
.shu-members-table { white-space:nowrap }
.shu-members-table td:first-child { white-space:normal;min-width:160px }
.shu-members-table td:nth-last-child(3) { font-weight:700;color:#176d62 }
@media(max-width:1000px) {
.shu-allocation-fields,
.shu-allocation-read { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media(max-width:575px) {
.shu-form-grid { grid-template-columns:1fr;gap:18px }
.shu-allocation-fields { gap:10px }
.shu-allocation-read { gap:8px }
.shu-create summary { flex-wrap:wrap }
.shu-create summary small { width:100% }
.ui-table-actions .btn { min-height:36px;min-width:36px }
.ui-table-actions { max-width:200px }
}
.ui-actions-heading:last-child,
.ui-actions-cell:last-child { position:sticky;right:0;box-shadow:-1px 0 0 #e0e9ee;z-index:2;background:#fff }
.ui-actions-heading:last-child { background:#f2f7f9;z-index:3 }
table tbody tr:hover .ui-actions-cell:last-child { background:#f5faf9 }
@media print {
.ui-actions-heading,
.ui-actions-cell { position:static!important;box-shadow:none!important }
}
@media print {
.ui-actions-heading,
.ui-actions-cell { display:none!important }
}
.service-kpi>span:not(:has(i)) { flex-direction:row;justify-content:flex-start }
main table.ui-data-table { table-layout:auto!important;width:max-content!important;min-width:100%!important;max-width:none!important }
main table.ui-data-table th,
main table.ui-data-table td { white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;vertical-align:middle }
main table.ui-data-table td :is(span,small,strong,b,div,a):not(.ui-table-actions):not(.modal):not(.modal *) { white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important }
main table.ui-data-table .badge { max-width:none!important;width:auto!important;white-space:nowrap!important }
main table.ui-data-table td.ui-cell-prose { min-width:230px;max-width:360px;white-space:normal!important;overflow-wrap:anywhere!important }
main table.ui-data-table td.ui-cell-prose :is(span,small,strong,b,div,a) { white-space:normal!important;overflow-wrap:anywhere!important }
main table.ui-data-table :is(.ui-empty-row,.ui-placeholder-row)>td,
main table.ui-data-table .ui-empty-table { white-space:normal!important;overflow-wrap:break-word!important }
main table.ui-data-table:has(.ui-empty-row),
main table.ui-data-table:has(.ui-placeholder-row) { width:100%!important;min-width:0!important }
main table.ui-data-table .ui-actions-cell { width:1%;min-width:max-content!important }
main table.ui-data-table .ui-table-actions { display:inline-flex!important;flex-flow:row nowrap!important;align-items:center;gap:6px;width:max-content!important;min-width:0!important;max-width:none!important }
main table.ui-data-table .ui-table-actions :is(.btn-group,.btn-group-vertical,.d-flex,.d-inline-flex,form) { display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;gap:6px;width:auto!important;max-width:none!important;margin:0!important }
main table.ui-data-table .ui-table-actions>br { display:none }
main table.ui-data-table .ui-table-actions :is(.btn,a,button,form) { flex-shrink:0!important }
main table.ui-data-table .ui-table-actions .btn { width:auto!important;white-space:nowrap!important;margin:0!important }
main table.ui-data-table .ui-table-actions :is(.mt-1,.mt-2,.mt-3,.mb-1,.mb-2) { margin-top:0!important;margin-bottom:0!important }
@media print {
main table.ui-data-table { width:100%!important;min-width:0!important }
main table.ui-data-table td.ui-cell-prose { max-width:none }
}
.ui-combobox { position:relative;min-width:0 }
.ui-combobox-input { padding-right:40px;background:#fff;cursor:text }
.ui-combobox-input::-webkit-search-cancel-button { cursor:pointer }
.ui-combobox-input:focus { border-color:#168f93!important;box-shadow:0 0 0 3px rgba(8,127,131,.12)!important }
.ui-combobox-toggle { position:absolute;right:1px;top:1px;bottom:1px;width:34px;height:auto;border:0;border-left:1px solid #e0e8ec;border-radius:0 7px 7px 0;background:#fff;color:#607985;display:grid;place-items:center;z-index:2;padding:0;font-size:11px;line-height:1 }
.ui-combobox-toggle:hover { background:#eaf4f4;color:#4338ca }
.ui-combobox-toggle:focus-visible { outline:2px solid #168f93;outline-offset:-2px }
.ui-combobox-list,
.ui-combobox-list.ui-combobox-list-open { z-index:2000;max-height:min(270px,42vh);overflow:auto;padding:6px;background:#fff;border:1px solid #cbdce1;border-radius:10px;box-shadow:0 16px 36px rgba(20,58,72,.18);box-sizing:border-box }
.ui-combobox-list { position:absolute;left:0;right:0;top:calc(100% + 6px) }
body > .ui-combobox-list.ui-combobox-list-open { position:fixed;margin:0 }
.ui-combobox-option,
.ui-combobox-list .ui-combobox-option { display:block;width:100%;padding:9px 11px;border:0;border-radius:6px;background:transparent;color:#254753;text-align:left;font-size:13px;line-height:1.4 }
.ui-combobox-option:hover,
.ui-combobox-option.is-active,
.ui-combobox-list .ui-combobox-option:hover,
.ui-combobox-list .ui-combobox-option.is-active { background:#e8f5f4;color:#076f73 }
.ui-combobox-option[aria-selected="true"],
.ui-combobox-list .ui-combobox-option[aria-selected="true"] { font-weight:700;background:#f0f7f7 }
.ui-combobox-empty,
.ui-combobox-list .ui-combobox-empty { padding:14px;text-align:center;color:#758991;font-size:12px }
.ui-combobox-native { display:none!important }
.ui-combobox.is-disabled .ui-combobox-input { background:#eef2f4;color:#7b8c93 }
.ui-combobox.is-disabled .ui-combobox-toggle { background:#eef2f4;color:#9aabb3;pointer-events:none }
.btn.ui-action { border-width:1px!important;border-style:solid!important;border-radius:9px!important;box-shadow:0 2px 5px rgba(25,55,66,.09)!important;text-decoration:none;gap:6px }
.btn.ui-action:hover { transform:translateY(-1px);box-shadow:0 5px 12px rgba(25,55,66,.14)!important }
.btn.ui-action:active { transform:translateY(0);box-shadow:none!important }
.ui-action-primary,
.ui-action-pay { background:#4338ca!important;border-color:#4338ca!important;color:#fff!important }
.ui-action-pay { background:#12815d!important;border-color:#12815d!important }
.ui-action-view { background:#eef3ff!important;border-color:#adc0ed!important;color:#345aa5!important }
.ui-action-edit { background:#fff7df!important;border-color:#edca67!important;color:#775713!important }
.ui-action-print { background:#f1f4f6!important;border-color:#aebcc4!important;color:#334f5c!important }
.ui-action-export { background:#e7f7ee!important;border-color:#7fc69d!important;color:#167344!important }
.ui-action-whatsapp { background:#e8f8ed!important;border-color:#76ce92!important;color:#14753a!important }
.ui-action-danger { background:#fff0f2!important;border-color:#e49aa5!important;color:#b12e42!important }
.ui-action-muted { background:#fff!important;border-color:#cbd5da!important;color:#5d7079!important }
.ui-table-actions .ui-action { min-width:34px }
.ui-table-actions .ui-action i:only-child { font-size:12px }
@media(max-width:575px) {
.ui-combobox-list,
body>.ui-combobox-list { max-height:min(220px,40vh) }
.ui-combobox-option,
.ui-combobox-list .ui-combobox-option { padding:10px }
.btn.ui-action { min-height:38px }
}
/* Keyboard / viewport pendek: body tetap bisa di-scroll, footer tetap terlihat */
.ui-modal-short .modal-dialog-centered{
  min-height:0!important;
  align-items:flex-start!important;
}
.ui-modal-short .modal-dialog-scrollable{
  height:calc(var(--ui-modal-height, 100dvh) - 1rem)!important;
  max-height:calc(var(--ui-modal-height, 100dvh) - 1rem)!important;
}
.ui-modal-short .modal-dialog-scrollable .modal-content,
.ui-modal-short .modal-dialog-scrollable .modal-content > form{
  height:100%;
  max-height:100%;
}
.ui-modal-short .modal .modal-body,
.ui-modal-short .modal-dialog-scrollable .modal-body{
  overflow-y:auto!important;flex:1 1 auto;min-height:0!important;touch-action:pan-y;
}
/* Konfirmasi pendek: ukuran mengikuti isi, tidak dipaksa penuh layar */
.ui-modal-compact .modal-dialog,
.modal.ui-modal-compact .modal-dialog{
  height:auto!important;
  max-height:min(var(--ui-modal-max-h, 90dvh), 36rem)!important;
}
.ui-modal-compact .modal-dialog.modal-dialog-scrollable,
.modal.ui-modal-compact .modal-dialog.modal-dialog-scrollable{
  height:auto!important;
  max-height:min(var(--ui-modal-max-h, 90dvh), 36rem)!important;
}
.ui-modal-compact .modal-content,
.ui-modal-compact .modal-content > form,
.ui-modal-short .ui-modal-compact .modal-dialog-scrollable .modal-content,
.ui-modal-short .ui-modal-compact .modal-dialog-scrollable .modal-content > form,
.ui-modal-short .modal.ui-modal-compact .modal-dialog-scrollable .modal-content,
.ui-modal-short .modal.ui-modal-compact .modal-dialog-scrollable .modal-content > form{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.ui-modal-compact .modal-body,
.ui-modal-short .ui-modal-compact .modal-body,
.ui-modal-short .modal.ui-modal-compact .modal-body,
.ui-modal-short .ui-modal-compact .modal-dialog-scrollable .modal-body{
  flex:0 1 auto!important;
  min-height:auto!important;
  overflow:visible!important;
  color:#0f172a;
}
.ui-notification-list a[data-notif-key="pelunasan_dini"] .ui-notification-icon,
.ui-notification-list a[data-notif-key="pelunasan_disetujui"] .ui-notification-icon { background:#e9f7ed;color:#24804a }
@keyframes ui-bell-ring {0%,100%{transform:rotate(0)}20%{transform:rotate(13deg)}40%{transform:rotate(-11deg)}60%{transform:rotate(8deg)}80%{transform:rotate(-5deg)}}
.ui-loan-open { display:block;margin-top:7px;color:#4338ca;font-size:11px;font-weight:700;text-align:right }
.ui-loan-open i { font-size:10px;margin-right:3px }
.ui-loan-progress-label { white-space:nowrap }
.ui-loan-search-empty { border:1px dashed #cbdde0;border-radius:12px;background:#f8fbfb;font-size:12px }
@media(max-width:575.98px) {
.ui-loan-member { align-items:flex-start;flex-direction:column;gap:4px }
.ui-loan-list>a.list-group-item { padding:13px!important }
.ui-loan-list>a.list-group-item .d-flex:first-child { align-items:flex-start!important;flex-direction:column;gap:8px }
.ui-loan-list>a.list-group-item .d-flex:first-child>div:last-child { width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px }
.ui-loan-progress-label { font-size:10px }
.ui-loan-action { text-align:center!important }
.ui-loan-action .btn { width:100% }
}
.ui-image-viewer[hidden] { display:none!important }
.ui-image-viewer { position:fixed;inset:0;z-index:20000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:rgba(5,18,24,.94);color:#fff }
.ui-image-viewer-head { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:rgba(10,37,46,.92);border-bottom:1px solid rgba(255,255,255,.15) }
.ui-image-viewer-head strong { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
.ui-image-viewer-actions { display:flex;align-items:center;gap:7px;flex-shrink:0 }
.ui-image-viewer-actions button { min-width:38px;height:38px;padding:0 9px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font-size:19px;font-weight:700 }
.ui-image-viewer-actions button:hover,
.ui-image-viewer-actions button:focus { background:#fff;color:#173c48 }
.ui-image-viewer-actions span { min-width:48px;text-align:center;font-size:12px;font-weight:700 }
.ui-image-viewer-stage { display:grid;place-items:center;min-height:0;overflow:hidden;padding:18px;touch-action:none }
.ui-image-viewer-stage img { display:block;max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in;user-select:none;transition:transform .12s ease;transform-origin:center }
.ui-image-viewer-stage img.is-dragging { cursor:grabbing;transition:none }
.ui-image-viewer-help { padding:8px 16px;text-align:center;color:#d7e4e8;background:rgba(10,37,46,.92) }
body.ui-image-viewer-open { overflow:hidden }
@media(max-width:575.98px) {
.ui-image-viewer-head { align-items:flex-start;flex-direction:column;gap:8px }
.ui-image-viewer-actions { width:100%;justify-content:center }
.ui-image-viewer-actions button { min-width:42px }
.ui-image-viewer-stage { padding:8px }
.ui-image-viewer-help { font-size:10px }
}
.ui-loan-list { gap:8px;background:transparent;border:0 }
.ui-loan-list>a.list-group-item { position:relative;overflow:hidden;border:1px solid #dbe7ea!important;border-radius:13px!important;background:#fff;box-shadow:0 3px 12px rgba(28,72,84,.05);transition:.18s ease }
.ui-loan-list>a.list-group-item:hover { border-color:#8cc9c8!important;box-shadow:0 7px 18px rgba(28,72,84,.1);transform:translateY(-1px) }
.ui-loan-list>a.list-group-item.active { border-color:#4338ca!important;background:linear-gradient(135deg,#4338ca,#3730a3);box-shadow:0 8px 20px rgba(8,127,131,.2) }
.ui-loan-member { display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#294955 }
.ui-loan-member strong { font-size:13px }
.ui-loan-member small { color:#80939b;font-size:11px }
.ui-loan-list>a.active .ui-loan-member small { color:#d7eeee }
.ui-loan-list>a.list-group-item:has(+.ui-loan-action) { margin-bottom:0!important;border-radius:13px 13px 0 0!important }
.ui-loan-list>.ui-loan-action { height:42px;position:relative;z-index:2;margin:0!important;border:1px solid #dbe7ea!important;border-top:0!important;border-radius:0 0 13px 13px!important;background:#f7fbfb!important;padding:5px 12px!important;text-align:right }
.ui-loan-action .btn { position:static;border-color:#4338ca;background:#4338ca;color:#fff;border-radius:8px!important;box-shadow:0 3px 8px rgba(8,127,131,.16);font-size:11px }
.ui-loan-action .btn:hover { border-color:#075e61;background:#075e61;color:#fff }
.ui-loan-filters,
.ui-loan-days { padding:5px;background:#f5f9fa;border:1px solid #e1ecee;border-radius:12px }
.ui-loan-filters .btn,
.ui-loan-days .btn { border-radius:9px!important;font-weight:700;padding:7px 10px }
.ui-loan-filters .badge,
.ui-loan-days .badge { margin-left:4px;padding:4px 6px }
.ui-loan-days { background:transparent;border:0;padding:0 }
.ui-loan-days>small { font-weight:700;color:#58727d!important }
.ui-loan-search { padding:12px 14px;border:1px solid #dce9eb;border-radius:13px;background:linear-gradient(135deg,#f8fcfc,#fff) }
.ui-loan-search .form-label { margin-bottom:7px;color:#294955;font-size:12px }
.ui-loan-search .form-label span { font-weight:400;color:#82959d }
.ui-search-control { position:relative }
.ui-search-control>i { position:absolute;z-index:2;top:50%;left:13px;color:#7a929b;transform:translateY(-50%) }
.ui-search-control .form-control { padding-left:38px;padding-right:42px;border-radius:10px;background:#fff }
.ui-search-control .form-control:focus { border-color:#4338ca;box-shadow:0 0 0 3px rgba(8,127,131,.12) }
.ui-search-clear { position:absolute;top:50%;right:8px;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:#edf5f5;color:#53717a;transform:translateY(-50%) }
.ui-search-clear:hover { background:#dceeed;color:#4338ca }
.ui-action-menu .ui-action-toggle { width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:8px }
.ui-action-menu .dropdown-menu,
.action-menu.dropdown-menu,
body > .dropdown-menu.ui-action-menu-open { min-width:12.5rem; padding:.35rem 0; font-size:13px }
body > .dropdown-menu.ui-action-menu-open { z-index:2000!important }
.ui-action-menu .dropdown-item,
.ui-action-menu .ui-action-item,
.action-menu .dropdown-item,
.action-menu .ui-action-item,
body > .dropdown-menu.ui-action-menu-open .dropdown-item,
body > .dropdown-menu.ui-action-menu-open .ui-action-item { display:flex!important; align-items:center; gap:.55rem; width:100%; padding:.5rem .9rem!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; color:#294955!important; font-weight:500; text-align:left; white-space:nowrap }
.ui-action-menu .dropdown-item:hover,
.ui-action-menu .ui-action-item:hover,
.action-menu .dropdown-item:hover,
body > .dropdown-menu.ui-action-menu-open .dropdown-item:hover,
body > .dropdown-menu.ui-action-menu-open .ui-action-item:hover { background:#eef6f7!important; color:#4338ca!important }
.ui-action-menu .dropdown-item.text-danger,
.ui-action-menu .ui-action-item.text-danger,
body > .dropdown-menu.ui-action-menu-open .text-danger { color:#c0392b!important }
.ui-action-menu .dropdown-item.text-danger:hover,
.ui-action-menu .ui-action-item.text-danger:hover,
body > .dropdown-menu.ui-action-menu-open .text-danger:hover { background:#fdecea!important;color:#a93226!important }
.ui-action-menu .dropdown-item.text-success,
.ui-action-menu .ui-action-item.text-success,
body > .dropdown-menu.ui-action-menu-open .text-success { color:#1e7e4a!important }
.ui-action-menu .dropdown-item i,
.ui-action-menu .ui-action-item i,
.action-menu .dropdown-item i,
body > .dropdown-menu.ui-action-menu-open .dropdown-item i,
body > .dropdown-menu.ui-action-menu-open .ui-action-item i { width:1.1rem; flex-shrink:0; text-align:center; opacity:.9 }
.ui-action-menu .ui-action-form { margin:0;display:block }
.ui-action-menu .ui-action-form .dropdown-item { width:100% }
.ui-ellipsis { display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom }
td:has(> .ui-action-menu) { overflow:visible;position:relative;z-index:2 }
.ui-dash-header { margin-bottom:12px!important }
.ui-dash-header .page-title { font-size:1.15rem;font-weight:700;letter-spacing:-.02em;margin:0 }
.ui-dash-header .page-title i { font-size:.92em;color:var(--ui-primary) }
.ui-dash-header p { font-size:12.5px;line-height:1.4 }
.ui-dash-meta { display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--ui-muted);font-size:12.5px }
.ui-dash-meta .badge { font-size:10px;padding:3px 7px }
.ui-dash-attention { display:block;background:#fff;border:1px solid var(--ui-line);border-radius:var(--ui-radius); padding:10px 12px;height:100%;transition:border-color .15s ease;color:inherit }
.ui-dash-attention:hover { border-color:#b9d4d6 }
.ui-dash-attention-icon { width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#e8f5f3;color:var(--ui-primary);font-size:1rem;flex-shrink:0 }
.ui-dash-attention.tone-warning .ui-dash-attention-icon { background:#fff6e5;color:#c47d0e }
.ui-dash-attention.tone-danger .ui-dash-attention-icon { background:#fdebec;color:#c0392b }
.ui-dash-attention.tone-info .ui-dash-attention-icon { background:#e8f4fb;color:#1a7aa7 }
.ui-dash-attention .fw-semibold { font-size:15px;letter-spacing:-.2px }
.ui-dash-actions { display:flex;flex-wrap:wrap;gap:6px }
.ui-dash-actions .btn { font-size:12px }
.ui-dash-list { max-height:260px;overflow:auto }
.ui-dash-list .list-group-item { padding:10px 14px;font-size:12.5px }
.ui-dash-panel { margin-bottom:12px }
.ui-dash-empty { padding:18px 12px;text-align:center;color:var(--ui-muted);font-size:12.5px }
.ui-dash-empty i { display:block;font-size:1.35rem;margin-bottom:6px;opacity:.55 }
@media(max-width:575.98px) {
.ui-dash-header .page-title { font-size:1.05rem }
.ui-dash-attention { padding:9px 10px }
.ui-dash-actions .btn { flex:1 1 calc(50% - 6px);justify-content:center }
}
.service-section { margin:14px 0 }
.service-heading { gap:10px }
.service-metrics { border-radius:var(--ui-radius) }
.service-metrics>div { padding:12px 14px }
.service-metrics strong { font-size:18px;margin:3px 0;letter-spacing:-.3px }
.service-callout { gap:12px;padding:12px 14px;margin-top:12px;border-radius:var(--ui-radius) }
.service-year-filter { gap:8px;margin:14px 0 0 }
.service-empty { padding:20px 14px;border-radius:var(--ui-radius) }
.service-empty>i { font-size:20px;margin-bottom:8px }
.service-empty.compact { padding:14px 12px }
.service-pending-grid { gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr)) }
.service-pending { padding:12px;border-radius:var(--ui-radius) }
.service-action-trigger { min-height:34px;padding:6px 12px;border-radius:8px;gap:5px }
.ui-empty-table { padding:18px 12px;font-size:12.5px }
.service-table-toolbar,
.service-subheading { gap:10px;margin:0 0 10px }
.service-detail-summary { margin-bottom:12px;border-radius:var(--ui-radius) }
.service-detail-summary>div { padding:10px 12px }
.service-detail-actions { margin-bottom:12px;gap:6px }
.service-subheading { margin:14px 0 8px;padding-top:12px }
.service-late-panel,
.service-proof-panel,
.service-workflow-panel,
.service-history-panel { margin:14px 0;padding:12px 14px;border-radius:var(--ui-radius) }
.service-panel-heading { gap:10px;margin-bottom:10px }
.service-late-row { gap:10px;padding:10px 12px;border-radius:8px }
.service-proof-card { gap:10px;padding:10px 12px;border-radius:var(--ui-radius) }
.service-proof-icon { width:34px;height:34px;border-radius:8px }
#detail>.card-body>.service-subheading h3.h5 { margin:14px 0 8px!important;padding-bottom:6px }
.service-section .card-body { padding:12px 14px }
.service-section .card-header { padding:10px 14px }
.service-page-heading { gap:12px;margin:0 0 14px }
.service-page-heading h1 { font-size:20px!important;margin:2px 0 4px;letter-spacing:-.3px }
.service-kpi-grid { gap:10px;margin:12px 0 }
.service-kpi { gap:6px;border-radius:var(--ui-radius);padding:12px 14px }
.service-kpi strong { font-size:18px;letter-spacing:-.3px }
.service-kpi>span { font-size:11px }
.service-kpi small { font-size:10px }
.service-tabs { padding:4px 0 8px!important }
.service-tabs .nav-link { padding:8px 12px!important;border-radius:8px!important }
.service-settings-grid { gap:14px }
.service-action summary { padding:10px 12px;border-radius:8px }
.portfolio-chart { gap:16px;padding:14px;border-radius:var(--ui-radius);margin:12px 0 }
.portfolio-donut { width:100px;height:100px }
.portfolio-donut span { width:76px;height:76px;font-size:18px }
@media(max-width:767.98px) {
.service-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px }
.service-page-heading h1 { font-size:18px!important }
.service-metrics { grid-template-columns:1fr }
.service-metrics>div { border-right:0;border-bottom:1px solid var(--ui-line);padding:10px 12px }
.service-metrics>div:last-child { border-bottom:0 }
}
@media(max-width:575.98px) {
.service-kpi-grid { grid-template-columns:1fr }
}
.ui-toast-stack { position:fixed;z-index:2000;right:14px;bottom:14px;display:flex;flex-direction:column;gap:8px; width:min(360px,calc(100vw - 24px));pointer-events:none }
.ui-toast { pointer-events:auto;display:flex;align-items:flex-start;gap:10px; padding:12px 14px;border-radius:10px;border:1px solid var(--ui-line);background:#fff; box-shadow:0 10px 28px #143a4824;animation:ui-toast-in .22s ease }
.ui-toast.is-leaving { opacity:0;transform:translateY(8px);transition:opacity .18s,transform .18s }
.ui-toast-success { border-left:3px solid #1f8a5b }
.ui-toast-danger { border-left:3px solid #c0392b }
.ui-toast-warning { border-left:3px solid #c47d0e }
.ui-toast-icon { width:28px;height:28px;border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-size:.95rem }
.ui-toast-success .ui-toast-icon { background:#e8f6ef;color:#1f8a5b }
.ui-toast-danger .ui-toast-icon { background:#fdebec;color:#c0392b }
.ui-toast-body { min-width:0;flex:1;font-size:13px;line-height:1.4;color:var(--ui-ink) }
.ui-toast-body a { font-weight:650;color:var(--ui-primary);text-decoration:none }
.ui-toast-body a:hover { text-decoration:underline }
.ui-toast-close { border:0;background:transparent;color:var(--ui-muted);padding:2px 4px;border-radius:6px;line-height:1;min-height:28px;min-width:28px }
.ui-toast-close:hover { background:#f0f4f6;color:var(--ui-ink) }
@keyframes ui-toast-in {from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.ui-work-queue .ui-dash-attention { min-height:64px }
.ui-status-hero { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px }
.ui-status-hero-card { background:#fff;border:1px solid var(--ui-line);border-radius:var(--ui-radius);padding:12px 14px }
.ui-status-hero-card .label { font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-muted);font-weight:650 }
.ui-status-hero-card .value { font-size:clamp(15px,2.2vw,20px);font-weight:700;letter-spacing:-.3px;margin:4px 0 2px;overflow-wrap:anywhere }
.ui-status-hero-card .hint { font-size:11.5px;color:var(--ui-muted) }
.ui-status-hero-card.tone-success { border-left:3px solid #1f8a5b }
.ui-status-hero-card.tone-danger { border-left:3px solid #c0392b }
.ui-status-hero-card.tone-warning { border-left:3px solid #c47d0e }
@media(max-width:575.98px) {
.ui-status-hero { grid-template-columns:1fr }
.ui-toast-stack { right:10px;left:10px;width:auto;bottom:10px }
}
.ui-form-more { margin:4px 0 12px;border:1px solid var(--ui-line);border-radius:8px;background:#fafcfd }
.ui-form-more>summary { cursor:pointer;list-style:none;padding:10px 12px;font-size:12.5px;font-weight:650;color:#355764; display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px }
.ui-form-more>summary::-webkit-details-marker { display:none }
.ui-form-more>summary::after { content:"+";color:var(--ui-primary);font-weight:700 }
.ui-form-more[open]>summary::after { content:"\2212" }
.ui-form-more .ui-form-more-body { padding:0 12px 12px }
.ui-cart-card { border:1px solid #cfe6e4; border-radius:14px; overflow:hidden; box-shadow:0 6px 18px rgba(20,80,84,.06) }
.ui-cart-card.has-items { border-color:#8ecfbf; box-shadow:0 8px 22px rgba(16,120,100,.12) }
.ui-cart-card>.card-header { background:linear-gradient(135deg,#f3faf9,#fff); border-bottom:1px solid #dcecea }
.ui-cart-card.has-items>.card-header { background:linear-gradient(135deg,#e7f7f1,#fff) }
.ui-detail-panel { padding:14px 16px; border:1px solid #e1e9ed; border-radius:12px; background:#f8fbfc }
.ui-detail-panel .ui-detail-label { display:block; color:var(--ui-muted); font-size:11px; text-transform:uppercase; letter-spacing:.04em; font-weight:700; margin-bottom:8px }
.ui-detail-list { display:grid; gap:8px }
.ui-detail-list>div { display:grid; grid-template-columns:110px minmax(0,1fr); gap:8px; align-items:start }
.ui-detail-list dt { margin:0; color:#6f858e; font-size:11px; font-weight:500 }
.ui-detail-list dd { margin:0; color:#244653; font-size:13px; font-weight:600; overflow-wrap:anywhere }
.ui-detail-text { color:#35525d; font-size:13px; line-height:1.55 }
.service-primary-workflow { background:linear-gradient(180deg,#f4fafb 0%,#fbfdfd 100%); border-color:#cfe3e6 }
.service-workflow-actions { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px }
.service-action-trigger { display:flex!important; align-items:center; gap:12px; width:100%; min-height:58px; padding:12px 14px!important; border-radius:12px!important; text-align:left; background:#fff!important; box-shadow:0 2px 8px rgba(24,70,80,.05) }
.service-action-trigger:hover { transform:translateY(-1px); box-shadow:0 6px 14px rgba(24,70,80,.1) }
.service-action-icon { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border-radius:10px; background:#e8f4f4; font-size:1.1rem }
.service-action-copy { display:flex; flex-direction:column; gap:2px; min-width:0 }
.service-action-copy strong { font-size:13px; line-height:1.3; color:#244653 }
.service-action-copy small { font-size:11px; color:#6f858e; font-weight:500 }
.btn-outline-warning.service-action-trigger .service-action-icon { background:#fff6e5;color:#a06b12 }
.btn-outline-success.service-action-trigger .service-action-icon { background:#e7f6ee;color:#187a52 }
.btn-outline-danger.service-action-trigger .service-action-icon { background:#fceced;color:#b33a4c }
.btn-outline-primary.service-action-trigger .service-action-icon { background:#e7f2f7;color:#1a6b84 }
@media(max-width:575.98px) {
.service-workflow-actions { grid-template-columns:1fr }
}
.ui-pay-actions { display:inline-flex; align-items:center; justify-content:flex-end; gap:6px; flex-wrap:nowrap; white-space:nowrap }
.ui-pay-actions .ui-action-menu { flex:0 0 auto }
.ui-cart-chip { display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:999px; border:1px solid #b7e0d4; background:#eaf8f2; color:#146b52; font-size:11px; font-weight:700; line-height:1.2 }
.ui-cart-chip i { font-size:10px }
.ui-pay-actions.is-in-cart .ui-action-toggle { border-color:#8ecfbf; color:#146b52; background:#f4fbf8 }
.service-settle-card { margin-top:14px; padding:16px 18px; border:1px solid #cfe3e6; border-radius:14px; background:#fff }
.service-settle-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px }
.service-settle-head .service-eyebrow { display:block;margin-bottom:2px }
.service-settle-head strong { display:block;color:#244653;font-size:15px }
.service-settle-breakdown { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; border:1px solid #e1e9ed; border-radius:12px; overflow:hidden; background:#f7fbfc; margin-bottom:14px }
.service-settle-breakdown>div { padding:12px 14px; border-right:1px solid #e1e9ed }
.service-settle-breakdown>div:last-child { border-right:0 }
.service-settle-breakdown span { display:block; color:var(--ui-muted); font-size:10px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:4px }
.service-settle-breakdown strong { display:block; color:#294d59; font-size:13px }
.service-settle-breakdown .is-total { background:#e8f5f1 }
.service-settle-breakdown .is-total strong { color:#146b52;font-size:15px }
.service-settle-action .service-action-trigger { max-width:280px }
.service-workflow-compact { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)) }
.service-secondary-workflow { background:#fff; border-style:dashed }
.service-detail-card { margin-top:8px!important }
.service-detail-view { display:block;margin-top:4px }
.service-stack-card,
.service-detail-stack .service-workflow-panel,
.service-detail-stack .service-proof-panel,
.service-detail-stack .service-history-panel,
.service-detail-stack .service-late-panel { margin:0!important; padding:14px 16px!important; border:1px solid #dce7eb; border-radius:14px; background:#fff; box-shadow:0 2px 10px rgba(20,70,80,.04) }
.service-detail-stack .service-panel-heading { align-items:center; margin-bottom:12px!important; gap:12px }
.service-detail-stack .service-panel-heading>div { min-width:0;flex:1 }
.service-detail-stack .service-panel-heading .service-eyebrow { display:block; color:#3f6f7a; font-size:10px; font-weight:700; letter-spacing:.1em }
.service-detail-stack .service-panel-heading h3.h5,
.service-detail-stack .service-panel-heading .h5 { display:block!important; margin:3px 0 2px!important; padding:0!important; border:0!important; color:#1f3d49!important; font-size:1.05rem!important; font-weight:700; line-height:1.3 }
.service-detail-stack .service-panel-heading p { margin:0; color:#6b828c; font-size:12px; max-width:none!important }
.service-empty.is-inline { display:flex; align-items:flex-start; gap:12px; text-align:left; padding:12px 14px!important; border:1px dashed #d5e2e6; border-radius:11px; background:#f7fbfc }
.service-empty.is-inline>i { margin:2px 0 0; font-size:18px; color:#7dabb0; flex:0 0 auto }
.service-empty.is-inline strong { display:block; font-size:13px; color:#355764 }
.service-empty.is-inline p { margin:3px 0 0; max-width:none; font-size:12px }
.service-detail-stack .service-report-card { padding:12px 14px }
.service-detail-stack .service-report-detail { grid-template-columns:minmax(0,1.4fr) minmax(140px,.8fr); gap:10px; margin-top:10px }
.service-detail-stack .service-report-detail>div { padding:10px 12px }
.service-detail-stack .service-secondary-workflow { background:#fcfdfd; border-style:solid }
.service-detail-stack .btn-outline-warning.service-action-trigger { border-color:#e2c48a!important; color:#7a5a16 }
.service-detail-stack .btn-outline-warning.service-action-trigger .service-action-icon { background:#fff6e5; color:#a06b12 }
.service-detail-stack .service-action-trigger { max-width:320px }
.service-detail-card .service-detail-header { padding:16px 20px!important }
.service-detail-card .service-detail-header h2.h5 { margin:4px 0 2px!important; font-size:1.15rem }
.service-detail-card .service-wa-button { margin-top:4px!important; margin-bottom:0!important }
@media(max-width:767.98px) {
.service-settle-breakdown { grid-template-columns:repeat(2,minmax(0,1fr)) }
.service-settle-breakdown>div { border-bottom:1px solid #e1e9ed }
.service-settle-breakdown>div:nth-child(2n) { border-right:0 }
.service-settle-breakdown .is-total { grid-column:1/-1;border-bottom:0;border-right:0 }
}
@media(max-width:575.98px) {
.service-settle-action .service-action-trigger { max-width:none }
.ui-cart-chip span { display:none }
}
