/* Profil Nasabah & Kartu Piutang — tampilan layanan keuangan profesional. */
#receivables{--profile-navy:#06234b;--profile-blue:#0b63a8;--profile-line:#d5e2ef;--profile-soft:#f4f8fc;--profile-muted:#61758c}
.profile-customer-toolbar{position:relative;z-index:8;display:grid;grid-template-columns:minmax(210px,.7fr) minmax(420px,1.7fr) auto;align-items:end;gap:14px;margin-bottom:18px;padding:18px;border:1px solid var(--profile-line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(15,45,80,.07)}
.profile-scope-control,.profile-picker-shell{display:grid;gap:8px;min-width:0}.profile-scope-control>span,.profile-picker-shell>label{color:#526b82;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.profile-scope-control select{width:100%;min-height:56px;padding:0 44px 0 16px;border:1px solid #cbdbea;border-radius:13px;background-color:#f9fbfd;color:#102a49;font-size:14px;font-weight:800}
.profile-picker-shell{position:relative}.profile-picker-control{display:grid;grid-template-columns:46px minmax(0,1fr) 48px;align-items:center;min-height:56px;border:1.5px solid #a9c5dc;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(15,61,98,.07);transition:border-color .15s,box-shadow .15s}
.profile-picker-control:focus-within{border-color:#0874b9;box-shadow:0 0 0 4px rgba(8,116,185,.12),0 6px 18px rgba(15,61,98,.10)}
.profile-picker-icon{display:grid;place-items:center;color:#0b6ca9}.profile-picker-icon svg,.profile-picker-control button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.profile-picker-control input{min-width:0;height:52px;padding:0;border:0!important;outline:0;background:transparent!important;color:#102d50;font-size:15px;font-weight:800;box-shadow:none!important}.profile-picker-control input::placeholder{color:#8092a5;font-weight:650}.profile-picker-control input::-webkit-search-cancel-button{display:none}
.profile-picker-control button{display:grid;place-items:center;width:40px;height:40px;margin:auto;border:0;border-radius:10px;background:#eef5fb;color:#245a83;cursor:pointer}.profile-picker-control button:hover,.profile-picker-control button[aria-expanded="true"]{background:#dceefb;color:#075f99}.profile-picker-control button[aria-expanded="true"] svg{transform:rotate(180deg)}
.profile-native-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.profile-picker-menu{position:absolute;z-index:40;top:calc(100% + 8px);left:0;right:0;max-height:430px;overflow:auto;padding:7px;border:1px solid #bfd2e2;border-radius:15px;background:#fff;box-shadow:0 22px 55px rgba(10,43,74,.20)}
.profile-picker-option{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;width:100%;padding:12px 13px;border:0;border-bottom:1px solid #e7eef5;border-radius:10px;background:#fff;color:#173958;text-align:left;cursor:pointer}.profile-picker-option:last-child{border-bottom:0}.profile-picker-option:hover,.profile-picker-option.active{background:#eef7ff}.profile-picker-option[aria-selected="true"]{background:#e3f2fd;box-shadow:inset 3px 0 #0874b9}
.profile-picker-option-main,.profile-picker-option-meta{display:grid;gap:4px;min-width:0}.profile-picker-option-main b{overflow:hidden;color:#0b315b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.profile-picker-option-main small,.profile-picker-option-meta small{color:#687e92;font-size:11px}.profile-picker-option-meta{text-align:right}.profile-picker-option-meta strong{color:#0a5f96;font-size:13px;font-variant-numeric:tabular-nums}
.profile-picker-empty{display:grid;gap:4px;padding:22px;color:#63798e;text-align:center}.profile-picker-empty b{color:#244864}.profile-toolbar-actions{display:flex;align-items:center}.profile-toolbar-actions #printReceivable{min-height:56px;padding-inline:18px;white-space:nowrap}
/* Explicit sizing overrides shared form/button rules so all toolbar controls align. */
#receivables .profile-scope-control select,#receivables .profile-picker-control,#receivables .profile-toolbar-actions #printReceivable{box-sizing:border-box;height:58px;min-height:58px;max-height:58px;margin:0}
#receivables .profile-scope-control select{padding-block:0}
#receivables .profile-picker-control input{box-sizing:border-box;height:54px;min-height:0;margin:0;padding:0}
.customer-profile-sheet{max-width:none!important;width:100%;padding:0!important;overflow:hidden;border:1px solid #cbdbea!important;border-radius:20px!important;background:#fff;box-shadow:0 18px 45px rgba(18,48,82,.09)}
.customer-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(230px,300px);gap:22px;align-items:center;padding:26px 30px;color:#fff;background:linear-gradient(125deg,#041d42 0%,#073a73 58%,#0a6aa6 100%)}
.customer-profile-avatar{position:relative;width:124px;height:124px;display:grid;place-items:center;overflow:hidden;border:3px solid rgba(255,255,255,.7);border-radius:24px;background:rgba(255,255,255,.16);box-shadow:0 10px 28px rgba(0,0,0,.18);font-size:34px;font-weight:900;letter-spacing:.02em}
.customer-profile-avatar img{width:100%;height:100%;object-fit:cover}
.customer-profile-copy{min-width:0}.customer-profile-copy .eyebrow{margin:0 0 7px;color:#c9e6ff;font-size:11px}#receivables .customer-profile-copy h3{margin:0;color:#fff;font-family:Inter,ui-sans-serif,sans-serif;font-size:clamp(36px,3.5vw,48px);font-weight:850;line-height:1.12;overflow-wrap:anywhere;letter-spacing:-.035em}.customer-profile-copy>p:last-child{margin:8px 0 0;color:#d9e9f8;line-height:1.5}
.customer-profile-rating{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"score label" "score reason";gap:2px 14px;align-items:center;padding:16px 18px;border:1px solid rgba(255,255,255,.28);border-radius:16px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px)}
.customer-profile-rating strong{grid-area:score;font-size:48px;line-height:1;font-weight:900}.customer-profile-rating b{grid-area:label;font-size:16px}.customer-profile-rating small{grid-area:reason;color:#dcecff;line-height:1.35}
.customer-profile-rating[data-tone="excellent"] strong{color:#83efb3}.customer-profile-rating[data-tone="good"] strong{color:#b8e6ff}.customer-profile-rating[data-tone="watch"] strong{color:#ffe18a}.customer-profile-rating[data-tone="risk"] strong,.customer-profile-rating[data-tone="bad"] strong{color:#ffb0a8}
.customer-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 30px;border-bottom:1px solid var(--profile-line);background:#f8fbfe}
.customer-profile-actions p{margin:0;color:var(--profile-muted);font-size:12px}
.customer-profile-action-group{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
.profile-reapply-action{display:grid;justify-items:end;gap:4px;max-width:330px}.profile-reapply-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid #075f99;border-radius:10px;background:#076dad;color:#fff;font-size:12px;font-weight:850;box-shadow:0 6px 14px rgba(7,109,173,.18);cursor:pointer}.profile-reapply-button:hover{background:#055d96}.profile-reapply-action small{color:#5d7186;font-size:9.5px;line-height:1.35;text-align:right}
.customer-profile-avatar.has-photo-control>span{transform:translateY(-17px)}
.customer-avatar-upload{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:5px 6px;background:rgba(2,22,46,.72);color:#fff;font:750 10px/1.25 Inter,Arial,sans-serif;letter-spacing:0;cursor:pointer;text-align:left}
.customer-avatar-upload:hover{background:rgba(2,22,46,.92)}.customer-avatar-upload:focus-within{outline:3px solid #9cdbff;outline-offset:-3px}
.customer-avatar-upload svg{width:22px;height:22px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.customer-avatar-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.customer-avatar-remove{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:25px;height:25px;padding:0;border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(2,22,46,.8);color:#fff;font:700 18px/1 Arial,sans-serif;cursor:pointer}.customer-avatar-remove:focus-visible{outline:3px solid #9cdbff}#receivables .customer-avatar-remove{min-height:25px}

.customer-profile-body{padding:24px 30px 30px;background:#fff}
.customer-profile-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:5px 0 12px}.customer-profile-section-head h4{margin:0;color:#0a2547;font-family:Inter,ui-sans-serif,sans-serif;font-size:19px}.customer-profile-section-head p{margin:0;color:var(--profile-muted);font-size:12px}
.customer-profile-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:22px}.customer-profile-metrics>div{min-width:0;padding:15px;border:1px solid var(--profile-line);border-radius:13px;background:var(--profile-soft)}.customer-profile-metrics small,.customer-identity-grid small{display:block;color:var(--profile-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.customer-profile-metrics b{display:block;margin-top:7px;color:#0b315b;font-size:clamp(16px,1.6vw,22px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.customer-profile-metrics .profile-outstanding{background:#fff9e9;border-color:#eed99a}.customer-profile-metrics .profile-outstanding b{color:#9a5c00}
.customer-profile-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.6fr);gap:16px;margin-bottom:22px}.customer-profile-panel{padding:18px;border:1px solid var(--profile-line);border-radius:15px;background:#fff}.customer-profile-panel h4{margin:0 0 14px;color:#102d50;font:800 16px Inter,ui-sans-serif,sans-serif}.customer-identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.customer-identity-grid>div:last-child{grid-column:1/-1}.customer-identity-grid b{display:block;margin-top:4px;color:#122b49;line-height:1.45;overflow-wrap:anywhere}.customer-rating-explanation{padding:14px;border-radius:12px;background:#f0f6fb}.customer-rating-explanation b{display:block;color:#0b315b}.customer-rating-explanation p{margin:6px 0 0;color:#4d647c;font-size:13px;line-height:1.55}.customer-rating-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:12px}.customer-rating-scale span{padding:7px 4px;border:1px solid #d7e3ee;border-radius:8px;text-align:center;color:#5b6f83;font-size:10px;font-weight:800}.customer-rating-scale span.active{border-color:#1a72ad;background:#e7f4ff;color:#07558d}
.customer-contract-table th,.customer-payment-table th{white-space:nowrap}.customer-contract-table tbody tr[data-selected="true"] td{background:#eef7ff}.customer-contract-table td small,.customer-payment-table td small{display:block;margin-top:4px;color:var(--profile-muted);line-height:1.4}.customer-contract-link{font-weight:850;color:#0567a5}.customer-contract-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf3f8;color:#37536f;font-size:11px;font-weight:800}.customer-contract-status.done{background:#e1f4e9;color:#14733f}.customer-contract-status.live{background:#fff3d7;color:#8b5a00}
.customer-selected-contract{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}.customer-selected-contract>div{padding:14px;border-left:3px solid #1676b4;border-radius:8px;background:#f4f8fc}.customer-selected-contract small{display:block;color:var(--profile-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.customer-selected-contract b{display:block;margin-top:6px;color:#0b315b;overflow-wrap:anywhere}
.customer-payment-table td{vertical-align:top}.customer-payment-table .payment-evidence{min-width:210px;white-space:normal}.customer-payment-table .payment-evidence span{display:block;margin-bottom:5px}.payment-timing{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edf3f8;color:#405a72;font-size:11px;font-weight:800;white-space:nowrap}.payment-timing.late{background:#fff1df;color:#965000}.payment-timing.overdue{background:#fde8e7;color:#a62525}.payment-timing.ontime{background:#e1f4e9;color:#14733f}
.customer-profile-empty{padding:18px;border:1px dashed #c6d6e5;border-radius:12px;background:#f8fbfd;color:#607589;text-align:center}.customer-profile-note{margin:12px 0 0;color:var(--profile-muted);font-size:11px;line-height:1.55}.customer-activity-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.customer-activity-list li{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #e2eaf1}.customer-activity-list li:last-child{border-bottom:0}.customer-activity-list time{color:#65798e;font-size:11px}.customer-activity-list b{display:block;color:#163755}.customer-activity-list small{display:block;margin-top:3px;color:#65798e}
@media(max-width:1100px){.profile-customer-toolbar{grid-template-columns:minmax(190px,.7fr) minmax(360px,1.5fr)}.profile-toolbar-actions{grid-column:1/-1;justify-content:flex-end}.customer-profile-actions{align-items:flex-start}.customer-profile-action-group{flex-wrap:wrap}.customer-profile-metrics{grid-template-columns:repeat(3,1fr)}.customer-profile-grid{grid-template-columns:1fr}.customer-profile-hero{grid-template-columns:auto 1fr}.customer-profile-rating{grid-column:1/-1}.customer-selected-contract{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.profile-customer-toolbar{grid-template-columns:1fr;align-items:stretch;padding:13px;border-radius:15px}.profile-toolbar-actions{grid-column:auto}.profile-toolbar-actions #printReceivable{width:100%}.profile-picker-menu{position:fixed;z-index:70;top:auto;right:12px;bottom:12px;left:12px;max-height:min(62vh,430px);border-radius:16px}.profile-picker-option{grid-template-columns:1fr;gap:7px}.profile-picker-option-meta{text-align:left}.customer-profile-hero{grid-template-columns:92px minmax(0,1fr);padding:20px 17px;gap:14px}.customer-profile-avatar{width:92px;height:100px;border-radius:18px;font-size:28px}#receivables .customer-profile-copy h3{font-size:32px}.customer-profile-copy>p:last-child{font-size:12px}.customer-profile-actions{display:grid;align-items:stretch;padding:13px 17px}.customer-profile-action-group{display:grid;justify-content:stretch}.profile-reapply-action{justify-items:stretch;max-width:none}.profile-reapply-action small{text-align:left}.customer-profile-body{padding:18px 14px 24px}.customer-profile-metrics{grid-template-columns:1fr 1fr}.customer-profile-metrics>div:last-child{grid-column:1/-1}.customer-identity-grid{grid-template-columns:1fr}.customer-identity-grid>div:last-child{grid-column:auto}.customer-selected-contract{grid-template-columns:1fr}.customer-profile-section-head{display:block}.customer-profile-section-head p{margin-top:5px}.customer-rating-scale{grid-template-columns:repeat(3,1fr)}.customer-activity-list li{grid-template-columns:1fr;gap:3px}}
@media(max-width:390px){.profile-picker-control{grid-template-columns:40px minmax(0,1fr) 42px}.customer-profile-hero{grid-template-columns:1fr;text-align:center}.customer-profile-avatar{margin:auto}.customer-profile-rating{text-align:left}.customer-profile-metrics{grid-template-columns:1fr}.customer-profile-metrics>div:last-child{grid-column:auto}}
.customer-profile-print{margin:0;padding:24px;background:#e8eff5;color:#102d50;font-family:Inter,Arial,sans-serif}
.profile-print-toolbar{position:sticky;z-index:10;top:0;display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto 14px;padding:10px 14px;border:1px solid #c8d8e6;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,45,75,.10);color:#526b82;font-size:12px}
.profile-print-toolbar button{padding:10px 16px;border:0;border-radius:9px;background:#076dad;color:#fff;font-weight:850;cursor:pointer}
.profile-print-page{max-width:1120px;margin:0 auto;background:#fff;box-shadow:0 18px 50px rgba(22,50,79,.14)}
.profile-print-running-head,.profile-print-running-foot{display:none}
.profile-print-letterhead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:20px 26px;border-bottom:2px solid #0e6da8;background:#fff}
.profile-print-brand{display:flex;align-items:center;gap:11px;min-width:0}.profile-print-brand>img,.profile-print-brand>span:first-child{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;object-fit:contain;background:#0b3761;color:#fff;font-size:20px;font-weight:900}
.profile-print-brand span:last-child{display:grid;min-width:0}.profile-print-brand b{overflow:hidden;color:#0a2a4b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.profile-print-brand small{margin-top:3px;color:#60778c;font-size:10px}
.profile-print-title{text-align:center}.profile-print-title span{color:#1372ad;font-size:9px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.profile-print-title h1{margin:4px 0 0;color:#092b4d;font-size:21px;line-height:1.1;letter-spacing:-.025em}
.profile-print-letterhead dl{display:grid;gap:5px;margin:0;text-align:right}.profile-print-letterhead dl div{display:grid;grid-template-columns:auto auto;justify-content:end;gap:8px}.profile-print-letterhead dt{color:#71859a;font-size:9px;text-transform:uppercase}.profile-print-letterhead dd{margin:0;color:#183b5c;font-size:10px;font-weight:800}
.profile-print-footer{display:flex;justify-content:space-between;gap:20px;padding:12px 24px;border-top:1px solid #cfdae5;color:#60768b;font-size:9px;line-height:1.45}.profile-print-footer b{color:#173d60;white-space:nowrap}
.customer-profile-print .customer-profile-actions,.customer-profile-print .customer-avatar-upload,.customer-profile-print .customer-avatar-remove{display:none!important}.customer-profile-print .customer-profile-avatar.has-photo-control>span{transform:none}.customer-profile-print .customer-profile-sheet{border:0;border-radius:0;box-shadow:none}.customer-profile-print .customer-profile-body{padding-bottom:20px}
.customer-profile-print .table-card{max-height:none!important;overflow:visible!important}.customer-profile-print .table-card::after{display:none!important}
.customer-profile-print .customer-payment-table{width:100%;table-layout:fixed;font-size:9px}.customer-profile-print .customer-payment-table th,.customer-profile-print .customer-payment-table td{padding:7px 5px;white-space:normal;overflow-wrap:anywhere}.customer-profile-print .customer-payment-table .payment-evidence{min-width:0}
.customer-profile-print .customer-contract-link{border:0;background:transparent;padding:0;color:#0567a5;font:inherit;font-weight:850}
@media print{
  @page{size:A4 landscape;margin:16mm 9mm 14mm}
  html,body{width:auto!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important}
  body.customer-profile-print{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #receivables>.toolbar,.customer-profile-actions,.profile-print-toolbar{display:none!important}
  .profile-print-running-head{display:flex!important;position:fixed;z-index:20;top:-11.5mm;right:0;left:0;align-items:center;justify-content:space-between;gap:8mm;padding-bottom:2.4mm;border-bottom:.7pt solid #9db4c8;color:#5a7187;font-size:6.8pt;line-height:1.2}.profile-print-running-head b{color:#123a5e;font-size:7.8pt;letter-spacing:.03em}.profile-print-running-head span:last-child{text-align:right}
  .profile-print-running-foot{display:flex!important;position:fixed;z-index:20;right:0;bottom:-10mm;left:0;align-items:center;justify-content:space-between;gap:8mm;padding-top:2.2mm;border-top:.7pt solid #b7c7d5;color:#687d91;font-size:6.5pt;line-height:1.2}.profile-print-running-foot span:last-child{text-align:right}
  .profile-print-page{max-width:none!important;margin:0!important;box-shadow:none!important}
  .profile-print-letterhead{display:grid!important;grid-template-columns:1fr auto 1fr;gap:12px;padding:0 0 7mm;border-bottom:1.5pt solid #0e6da8}
  .profile-print-brand>img,.profile-print-brand>span:first-child{width:11mm;height:11mm;border-radius:2mm}.profile-print-title h1{font-size:16pt}.profile-print-letterhead dl{gap:1mm}
  .customer-profile-sheet{border:0!important;border-radius:0!important;box-shadow:none!important}
  .customer-profile-hero{grid-template-columns:20mm minmax(0,1fr) minmax(56mm,.65fr)!important;gap:5mm!important;margin-top:5mm;padding:5mm!important;border-radius:3mm!important;color:#102d50!important;background:#eaf3fa!important}
  .customer-profile-avatar{width:20mm!important;height:20mm!important;border-radius:3mm!important;font-size:20pt!important}
  .customer-avatar-upload,.customer-avatar-remove{display:none!important}.customer-profile-avatar.has-photo-control>span{transform:none!important}
  .customer-profile-copy h3{color:#102d50!important;font-size:19pt!important}.customer-profile-copy .eyebrow,.customer-profile-copy>p:last-child,.customer-profile-rating small{color:#48647f!important}
  .customer-profile-rating{grid-column:auto!important;padding:3mm 4mm!important;border-color:#bfd0df!important;background:#fff!important}.customer-profile-rating strong{font-size:28pt!important}.customer-profile-rating b{font-size:11pt!important}
  .customer-profile-body{padding:5mm 0 0!important}
  .customer-profile-metrics{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2.5mm!important;margin-bottom:5mm!important}.customer-profile-metrics>div{padding:3mm!important;border-radius:2.5mm!important}.customer-profile-metrics b{font-size:12pt!important}
  .customer-profile-grid{grid-template-columns:minmax(64mm,.85fr) minmax(0,1.5fr)!important;gap:4mm!important;margin-bottom:5mm!important}.customer-profile-panel{padding:4mm!important;border-radius:3mm!important}
  .customer-profile-section-head{margin:4mm 0 2.5mm!important;break-after:avoid-page;page-break-after:avoid}.customer-profile-section-head h4{font-size:13pt!important}.customer-profile-section-head p{font-size:8pt!important}
  .customer-selected-contract{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2.5mm!important;margin-bottom:5mm!important}.customer-selected-contract>div{padding:3mm!important}
  .customer-profile-panel,.customer-selected-contract,.customer-contract-table{break-inside:avoid-page;page-break-inside:avoid}
  .table-card{max-height:none!important;overflow:visible!important;border-radius:2.5mm!important}.table-card::after{display:none!important}
  table{width:100%!important;border-collapse:collapse!important}thead{display:table-header-group}tfoot{display:table-footer-group}
  .customer-contract-table,.customer-payment-table{font-size:7.4pt!important;line-height:1.3!important}
  .customer-contract-table th,.customer-contract-table td,.customer-payment-table th,.customer-payment-table td{padding:2.1mm 1.6mm!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .customer-contract-table th,.customer-payment-table th{color:#526b82!important;font-size:6.7pt!important;letter-spacing:.045em!important}
  .customer-payment-table{table-layout:fixed!important}.customer-payment-table th:nth-child(1){width:7%;white-space:nowrap!important}.customer-payment-table th:nth-child(2){width:9%}.customer-payment-table th:nth-child(3){width:10%}.customer-payment-table th:nth-child(4){width:23%}.customer-payment-table th:nth-child(5),.customer-payment-table th:nth-child(6),.customer-payment-table th:nth-child(7){width:10%}.customer-payment-table th:nth-child(8){width:11%}.customer-payment-table th:nth-child(9){width:10%}
  .customer-payment-table tbody tr{break-inside:avoid-page;page-break-inside:avoid}.customer-payment-table .payment-evidence{min-width:0!important}.customer-payment-table .payment-evidence span{margin:0 0 1mm!important}
  .payment-timing,.badge,.customer-contract-status{padding:1.2mm 1.8mm!important;font-size:6.8pt!important;white-space:normal!important}
  .customer-profile-note{font-size:7.5pt!important}.customer-profile-empty{padding:4mm!important}
  .profile-print-footer{display:none!important}
  p,li{orphans:2;widows:2}
}

/* Catatan penagihan memakai sumber yang sama dengan daftar penagihan. */
#profileCollectionHistory{margin-top:24px;min-width:0}
#profileCollectionHistory .customer-profile-section-head{align-items:center}
.customer-collection-scroll{max-height:480px;overflow:auto;overscroll-behavior:contain}
.customer-collection-table{width:100%;table-layout:fixed;min-width:0!important}
.customer-collection-table th:nth-child(1){width:16%}.customer-collection-table th:nth-child(2){width:20%}.customer-collection-table th:nth-child(3){width:14%}.customer-collection-table th:nth-child(4){width:23%}
.customer-collection-table th,.customer-collection-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.customer-collection-table td b,.customer-collection-table td small,.customer-collection-table td>span,.customer-collection-table .customer-contract-link{display:block;margin-bottom:5px}
.customer-collection-table td small{color:var(--profile-muted);line-height:1.5}
.customer-collection-result{width:fit-content;padding:5px 9px;border-radius:8px;background:#edf3f8;color:#37536f;font-size:11px;font-weight:800}
.customer-collection-result.unanswered{background:#fff3d7;color:#815500}
.customer-collection-note{white-space:pre-wrap!important;line-height:1.5}
@media(max-width:720px){
 #profileCollectionHistory .customer-profile-section-head button{margin-top:10px}
 .customer-collection-table,.customer-collection-table tbody{display:block;width:100%}
 .customer-collection-table thead{display:none}
 .customer-collection-table tr{display:block;padding:10px;border-bottom:1px solid var(--profile-line)}
 .customer-collection-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:6px;padding:7px 0!important;border:0!important;text-align:left!important}
 .customer-collection-table td::before{content:attr(data-label);grid-column:1;grid-row:1/span 4;font-size:10px;font-weight:800;color:var(--profile-muted)}
 .customer-collection-table td>*{grid-column:2}.customer-collection-table .customer-contract-link{width:fit-content}
}
.customer-profile-print #profileCollectionAdd{display:none!important}
@media print{
 #profileCollectionAdd{display:none!important}.customer-collection-scroll{max-height:none!important;overflow:visible!important}
 .customer-collection-table{font-size:8pt!important;table-layout:fixed!important}.customer-collection-table tr{break-inside:avoid}
 .customer-collection-table th,.customer-collection-table td{padding:2mm!important}
}
