.admin-user-copy strong,.admin-table td,.admin-cell-stack strong{font-size:13px}
.admin-user-copy small,.admin-list-header p,.admin-list-actions p,.admin-cell-stack small,.admin-payment-plan-balance,.admin-payment-plan-full,.admin-drawer-title-row p,.admin-detail-list dt,.admin-human-review-note p,.admin-media-empty p,.admin-audit-item small,.admin-decision-footer p small{font-size:12px;line-height:1.5}
.admin-section-heading p,.admin-field small,.admin-dialog p,.admin-info-callout,.admin-setting-meta{font-size:13px;line-height:1.55}
.admin-table th,.admin-status-badge,.admin-risk-level,.admin-risk-chip{font-size:12px}
.admin-detail-list dd,.admin-audit-item strong,.admin-human-review-note strong{font-size:14px;line-height:1.5}
.admin-media-metadata span,.admin-media-help,.admin-media-placeholder small,.admin-verification-metric-heading small{font-size:12px;line-height:1.45}
.admin-media-heading h5,.admin-media-placeholder strong,.admin-payslip-title-row h4{font-size:13px}
.admin-dialog{max-height:min(92dvh,900px);overflow:hidden}
.admin-dialog.admin-dialog-structure[open],.admin-dialog form.admin-dialog-structure{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.admin-dialog>form.admin-dialog-structure{width:100%;max-height:calc(100dvh - 28px);min-height:0;padding:0;overflow:hidden}
.admin-dialog-header{min-width:0;padding:22px 24px 16px;display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid #dce7e5;background:#fff}
.admin-dialog-header .admin-dialog-icon{flex:0 0 auto;margin:0}.admin-dialog-header-copy{min-width:0}.admin-dialog-header-copy h2{margin:0 0 6px}.admin-dialog-header-copy p{margin:0;color:#607686;line-height:1.55}
.admin-dialog-body{min-height:0;padding:20px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.admin-dialog-footer,.admin-dialog-actions{position:relative;z-index:2;flex:0 0 auto;flex-wrap:wrap}
.admin-dialog-structure>.admin-dialog-footer{margin:0;padding:16px 24px;border-top:1px solid #dce7e5;background:#fff;box-shadow:0 -8px 22px rgba(3,23,42,.05)}
#activateLoanDialog[open]{height:min(820px,calc(100dvh - 28px))}
#activateLoanDialog .admin-dialog-body{display:grid;align-content:start;gap:14px}
#activateLoanDialog .admin-dialog-body>.admin-field{margin-top:0}
.admin-table-region{position:relative;scrollbar-width:thin;scrollbar-color:#7dbbb4 #edf4f3;overscroll-behavior-inline:contain}
.admin-table-region:focus-visible{outline:3px solid rgba(7,143,128,.24);outline-offset:3px}
.admin-status-pending,.admin-status-pending-review,.admin-status-pending_review,.admin-status-review-in-progress,.admin-status-review_in_progress{color:#315f8c;background:#eaf2fb}
.admin-status-waiting-payment,.admin-status-waiting_payment,.admin-status-overdue{color:#8a5700;background:#fff3d6}
.admin-status-success,.admin-status-settled,.admin-status-active{color:#16784b;background:#e7f7ee}
.admin-status-disapproved,.admin-status-failed,.admin-status-inactive{color:#a72d24;background:#fdecea}
#affiliateTrackingDialog[open]{height:min(900px,calc(100dvh - 28px));overflow:hidden}
#affiliateTrackingForm{height:100%;min-height:0;overflow:hidden}
#affiliateTrackingDialog .admin-dialog-body{scrollbar-gutter:stable;scrollbar-width:thin}
.admin-tracking-platforms{display:grid;gap:18px;margin:18px 0}
.admin-tracking-platform{display:grid;padding:18px;gap:16px;border:1px solid #c8dcd9;border-radius:14px;background:#f8fbfb}
.admin-tracking-platform-header{display:flex;align-items:flex-start;gap:12px}
.admin-tracking-platform-header h3{margin:0;color:#09263f;font-size:18px;line-height:1.3}
.admin-tracking-platform-header p{margin:4px 0 0;color:#5e7180;font-size:13px;line-height:1.5}
.admin-tracking-platform-mark{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:10px;color:#fff;background:#087f73;font-weight:900}
@media(max-width:700px){.admin-tracking-platform{padding:14px}.admin-tracking-platform-header h3{font-size:17px}}
@media(max-width:700px){.admin-auth-form input[type="password"],.admin-dialog input[type="password"]{font-size:16px}.admin-table td,.admin-cell-stack strong{font-size:14px}.admin-table td::before,.admin-cell-stack small{font-size:12px}.admin-dialog-actions .admin-button,.admin-dialog-footer .admin-button{min-height:46px;flex:1 1 145px}.admin-dialog{width:100vw;max-width:none;height:100dvh!important;max-height:none;margin:0;border-radius:0}.admin-dialog>form.admin-dialog-structure{height:100dvh;max-height:none}.admin-dialog-header{padding:18px 16px 13px}.admin-dialog-body{padding:16px}.admin-dialog-structure>.admin-dialog-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}}
.admin-settings-quick-links{display:flex;align-items:center;gap:18px;padding:18px 20px;border:1px solid #9fd7cf;border-radius:16px;background:#eaf8f5}.admin-settings-quick-links span{color:#3f6370;line-height:1.5}.admin-setting-highlight{outline:4px solid rgba(7,143,128,.28);outline-offset:4px;transition:outline-color .25s}@media(max-width:700px){.admin-settings-quick-links{align-items:stretch;flex-direction:column}.admin-settings-quick-links .admin-button{width:100%}}
