/* v6.44.05 Agent Account Statement: horizontal monthly comparison with future installments separate. */
#atAccounts .at-period-scroll-v64405{overflow:auto;border:1px solid #dce6df;border-radius:13px;margin:9px 0 20px;max-width:100%}
#atAccounts .at-period-table-v64405{width:100%;min-width:max(880px,calc(235px + var(--period-count) * 210px));border-collapse:separate;border-spacing:0;font-size:13px;font-variant-numeric:tabular-nums;table-layout:fixed}
#atAccounts .at-period-table-v64405 th,#atAccounts .at-period-table-v64405 td{padding:10px 12px;border:0;border-bottom:1px solid #e9eeea;min-width:0}
#atAccounts .at-period-table-v64405 thead th{background:#08af70!important;color:#fff!important;text-align:center;font-size:14px;font-weight:900;border-right:8px solid #fff;white-space:normal}
#atAccounts .at-period-table-v64405 thead th:first-child{text-align:left;position:sticky;left:0;z-index:3;width:235px}
#atAccounts .at-period-table-v64405 thead th span{display:block;font-size:12px;margin-top:4px;font-weight:750}
#atAccounts .at-period-table-v64405 tbody th{width:235px;text-align:right;color:#617389!important;position:sticky;left:0;z-index:2;font-weight:700;white-space:nowrap;background:#fff}
#atAccounts .at-period-table-v64405 tbody td{text-align:right;color:#5c7184;white-space:nowrap}
#atAccounts .at-period-table-v64405 tbody tr:nth-child(odd) td,#atAccounts .at-period-table-v64405 tbody tr:nth-child(odd) th{background:#f3f5f4}
#atAccounts .at-period-table-v64405 .at-period-section-v64405 th,#atAccounts .at-period-table-v64405 .at-period-section-v64405 td{background:#fefefe;color:#61768b;font-size:13px;font-weight:900;text-align:left;text-decoration:underline;padding-top:14px;border-bottom:0}
#atAccounts .at-period-table-v64405 .at-period-total-v64405 td,#atAccounts .at-period-table-v64405 .at-period-total-v64405 th{font-weight:900;color:#243d36;background:#e7f1ec;border-top:1px solid #adbfaf}
#atAccounts .at-period-table-v64405 .at-period-strong-v64405 td,#atAccounts .at-period-table-v64405 .at-period-strong-v64405 th{font-weight:800}
#atAccounts .at-period-table-v64405 .at-period-balance-v64405 td,#atAccounts .at-period-table-v64405 .at-period-balance-v64405 th{background:#eaf5ee;font-weight:950;color:#1c5234;border-top:2px solid #678474;border-bottom:3px double #678474}
#atAccounts .at-period-table-v64405 .at-negative-v64405{color:#b42318!important;font-weight:900}
#atAccounts .at-future-deductions-v64405{border:1px solid #edc1c1;border-radius:12px;background:#fff6f6;margin:12px 0 16px;overflow:hidden}
#atAccounts .at-future-head-v64405{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;background:#ffe8e8;color:#a32121;font-weight:900}
#atAccounts .at-future-head-v64405 small{font-weight:700;color:#b86d6d}
#atAccounts .at-future-grid-v64405{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:0;padding:10px}
#atAccounts .at-future-item-v64405{padding:10px 15px;border-right:1px solid #f2d3d3}
#atAccounts .at-future-item-v64405:last-child{border-right:0}
#atAccounts .at-future-item-v64405 span{display:block;color:#384b51;font-size:12px;font-weight:700}
#atAccounts .at-future-item-v64405 strong{display:block;color:#b42318;font-size:20px;margin:4px 0;font-weight:900;font-variant-numeric:tabular-nums}
#atAccounts .at-future-item-v64405 small{display:block;color:#8e6565;font-size:11px}
#atAccounts .at-future-item-v64405.total{background:#ffeded;border-radius:9px}
#atAccounts .at-future-empty-v64405{margin:10px 0 14px;padding:10px 12px;border:1px solid #deebe2;border-radius:10px;color:#537963;font-size:13px;background:#f7faf8}
#atAccounts #atAccountBalance{font-variant-numeric:tabular-nums}
@media(max-width:650px){#atAccounts .at-period-table-v64405{font-size:12px;min-width:800px}#atAccounts .at-period-table-v64405 tbody th,#atAccounts .at-period-table-v64405 thead th:first-child{width:185px}#atAccounts .at-period-table-v64405 th,#atAccounts .at-period-table-v64405 td{padding:8px 9px}#atAccounts .at-future-head-v64405{flex-direction:column;align-items:flex-start}}

/* v6.44.06 Agent monthly verification and payment receipt */
#atAccounts .at-future-total-only-v64406{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 16px;color:#a32121;background:#fff1f1}
#atAccounts .at-future-total-only-v64406>strong:nth-child(2){font-size:21px;color:#b42318;font-variant-numeric:tabular-nums}
#atAccounts .at-future-total-only-v64406 small{margin-left:auto;color:#a35b5b}
.at-month-control-v64406{border:1px solid #cbded2;border-radius:12px;padding:12px;margin:10px 0;background:#f5faf6;display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.at-month-control-v64406 label,.at-payment-form-v64406 label{display:grid;gap:6px;color:#374b40;font-size:13px;font-weight:800}
.at-month-control-v64406 input,.at-payment-form-v64406 input,.at-payment-form-v64406 select{border:1px solid #cbd9d0;border-radius:9px;background:white;padding:10px;color:#182c22;min-width:0}
.at-month-control-v64406 .at-month-status-v64406{flex:1;min-width:180px;display:grid;gap:3px}
.at-month-status-v64406 strong{color:#14703d}.at-month-status-v64406 small{font-size:12px;color:#677769}
.at-month-control-v64406 button:disabled{opacity:.48;cursor:not-allowed}
.at-month-ded-note-v64406{padding:10px 12px;background:#edf7ef;color:#18733d;border-radius:10px;margin-bottom:12px;font-weight:800}
.at-month-ded-note-v64406.at-locked-v64406{background:#fff0ed;color:#b42318}
.at-payment-layout-v64406{display:grid;grid-template-columns:1fr 1fr;gap:16px}.at-payment-form-v64406{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.at-payment-form-v64406 button{grid-column:1/-1}
.at-payment-summary-v64406{display:grid;gap:10px}.at-payment-summary-v64406>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e4ece5;padding:8px 0}.at-payment-summary-v64406 span{color:#52655a}.at-payment-summary-v64406 strong{font-variant-numeric:tabular-nums}.at-payment-status-v64406{background:#eff5f0;border-radius:8px;padding:10px;margin:8px 0 12px}
.at-negative-v64406{color:#b42318!important}
@media(max-width:800px){.at-payment-layout-v64406{grid-template-columns:1fr}.at-month-control-v64406 .row-actions{width:100%}.at-payment-form-v64406{grid-template-columns:1fr}}

/* v6.44.06: avoid inherited 32px field height cropping Agent names on laptops */
#atPaymentsV64406 .at-payment-form-v64406 select,#atPaymentsV64406 .at-payment-form-v64406 input,
#atAccounts #atControlMonthV64406{height:44px!important;min-height:44px!important;padding:8px 12px!important;font-size:14px!important;line-height:1.3!important;width:100%}

/* v6.44.07: clearly disable Agent balance payment in Draft and Locked months. */
#atPaymentsV64406 #atPaymentSubmitV64406:disabled{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(.35);box-shadow:none!important;pointer-events:none;}
