
.dwm-page{background:#f6fcfa}.dwm-kpi,.dwm-card{border:1px solid #e7f3f2;box-shadow:0 4px 16px rgba(35,78,62,.035);border-radius:12px}.dwm-kpi .card-body{padding:18px}.dwm-kpi-icon{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.dwm-blue{background:#effaf9;color:#6dcec4}.dwm-green{background:#e8f7eb;color:#38a04d}.dwm-orange{background:#fbe9e3;color:#de542d}.dwm-red{background:#fcf0ec;color:#e98f75}.dwm-kpi-label{text-transform:uppercase;color:#73908d;font-size:11px;font-weight:800;letter-spacing:.04em}.dwm-kpi-value{font-size:20px;font-weight:800;margin-top:3px}.dwm-section-head{padding:16px;border-bottom:1px solid #e9f4f3;display:flex;align-items:center;justify-content:space-between;gap:12px}.dwm-section-icon{width:38px;height:38px;border-radius:10px;background:#f8f6f5;color:#6dcec4;display:flex;align-items:center;justify-content:center;font-size:20px}.dwm-pill{border:1px solid #dcebe9;border-radius:999px;padding:5px 10px;font-size:12px;color:#557572;background:#fff}.dwm-table thead th{background:#f6fbf9;color:#6d8885;font-size:11px;text-transform:uppercase;letter-spacing:.02em;border-bottom:1px solid #e6f1f0;padding:12px 14px;white-space:nowrap}.dwm-table tbody td{padding:13px 14px;border-color:#edf5f2;vertical-align:middle}.dwm-frequency{padding:5px 9px;border-radius:999px;background:#f8f6f5;color:#6dcec4;font-size:11px;font-weight:700;text-transform:capitalize}.dwm-received{color:#38a04d;font-weight:700}.dwm-interest{color:#de542d;font-weight:700}.dwm-outstanding{color:#e98f75;font-weight:700}.dwm-progress{height:6px;background:#eef6f3;border-radius:10px;overflow:hidden;margin-top:5px}.dwm-progress>span{display:block;height:100%;background:#6dcec4;border-radius:10px}.dwm-due-overdue{display:inline-block;padding:5px 9px;border-radius:999px;background:#fcefeb;color:#db6948;font-size:11px;font-weight:700}.dwm-due-soon{display:inline-block;padding:5px 9px;border-radius:999px;background:#fae4dd;color:#a03719;font-size:11px;font-weight:700}.dwm-due-ok{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef9f8;color:#4dc4b8;font-size:11px;font-weight:700}.dwm-info{background:#f5faf8;border:1px solid #f0ebe9;border-radius:7px;padding:9px 12px;font-size:12px;color:#698683}.dwm-funds-box{background:#f9fefc;border:1px solid #e7f7f5;border-radius:9px;padding:12px}.dwm-modal .modal-content{border-radius:14px}.dwm-modal .modal-dialog{max-height:94vh}.dwm-modal .modal-content{max-height:94vh}.dwm-modal .modal-body{overflow:auto}.dwm-table .btn{white-space:nowrap}@media(max-width:1199px){.dwm-section-head{align-items:flex-start;flex-direction:column}}@media(max-width:767px){.dwm-kpi-value{font-size:18px}.dwm-section-head{padding:14px}.dwm-table{min-width:1120px}.dwm-modal .modal-dialog{margin:.5rem}.dwm-modal .modal-content{max-height:96vh}}

/* Wide schedule form: keeps the existing page UI intact while fitting calculated schedule fields. */
@media (min-width:1200px){
  .dwm-modal .dwm-account-dialog{max-width:1220px}
  .dwm-modal .dwm-account-dialog .modal-content{max-height:none}
  .dwm-modal .dwm-account-dialog .modal-body{overflow:visible;padding:18px 22px}
}
.dwm-readonly{background:#f7fcfa!important;color:#466764;font-weight:600}
.dwm-schedule-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f6fefb;border:1px solid #e6f6f5;border-radius:9px;padding:9px 12px;font-size:12px;color:#557572}
#dwm-tenure-unit{min-width:72px;justify-content:center;text-transform:lowercase}
@media(max-width:1199px){.dwm-modal .dwm-account-dialog{max-width:960px}}
@media(max-width:767px){.dwm-schedule-summary{align-items:flex-start;flex-direction:column}.dwm-modal .dwm-account-dialog .modal-body{overflow:auto}}
