:root{--ahr:#003968;--ahr2:#075486;--ink:#14213d;--muted:#667085;--line:#e7ebf0;--bg:#f5f7fa;--white:#fff;--green:#15803d;--amber:#b45309}
.ahr-eo2{min-height:100vh;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;margin:-30px calc(50% - 50vw);width:100vw}.ahr-eo2 *{box-sizing:border-box}.ahr-eo2-side{width:245px;background:linear-gradient(180deg,var(--ahr),#002d51);padding:24px 16px;color:#fff;position:sticky;top:0;height:100vh;flex:none}.ahr-eo2-brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px}.ahr-eo2-mark{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--ahr);display:grid;place-items:center;font-weight:800}.ahr-eo2-brand strong,.ahr-eo2-brand small{display:block}.ahr-eo2-brand small{opacity:.65;margin-top:2px}.ahr-eo2-side nav{display:grid;gap:6px}.ahr-eo2-side nav a{display:flex;align-items:center;gap:12px;color:#d8e7f3;text-decoration:none;padding:12px 13px;border-radius:10px;font-weight:600;font-size:14px}.ahr-eo2-side nav a:hover,.ahr-eo2-side nav a.active{background:rgba(255,255,255,.13);color:#fff}.ahr-eo2-main{padding:32px 24px;flex:1;min-width:0;width:100%;max-width:1280px;margin:0 auto;box-sizing:border-box}.ahr-eo2-top{display:flex;align-items:center;gap:16px;margin-bottom:26px}.ahr-eo2-top h1{font-size:28px;line-height:1.2;margin:0}.ahr-eo2-top p{margin:5px 0 0;color:var(--muted)}.ahr-eo2-user{margin-left:auto;display:flex;align-items:center;gap:10px}.ahr-eo2-user img{border-radius:50%}.ahr-eo2-user small,.ahr-eo2-user strong{display:block}.ahr-eo2-user small{font-size:11px;color:var(--muted)}.ahr-eo2-menu{display:none;background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px}.ahr-eo2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.ahr-eo2-stat,.ahr-eo2-panel,.ahr-eo2-card{background:#fff;border:1px solid var(--line);box-shadow:0 5px 18px rgba(16,24,40,.04)}.ahr-eo2-stat{border-radius:14px;padding:20px;display:flex;align-items:center;gap:14px}.ahr-eo2-stat>.dashicons{width:44px;height:44px;border-radius:12px;background:#e9f3fa;color:var(--ahr);display:grid;place-items:center;font-size:22px}.ahr-eo2-stat strong,.ahr-eo2-stat small{display:block}.ahr-eo2-stat strong{font-size:25px}.ahr-eo2-stat small{color:var(--muted);margin-top:3px}.ahr-eo2-panel{border-radius:15px;padding:22px;margin-bottom:20px}.ahr-eo2-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.ahr-eo2-panel h2{font-size:18px;margin:0}.ahr-eo2-panel p{color:var(--muted);margin:4px 0 0}.ahr-eo2-panel-head a{color:var(--ahr);font-weight:700}.ahr-eo2-bars{display:grid;gap:14px}.ahr-eo2-bars span{display:flex;justify-content:space-between;font-size:13px;margin-bottom:7px}.ahr-eo2-bars i{display:block;height:8px;background:#edf1f5;border-radius:10px;overflow:hidden}.ahr-eo2-bars em{display:block;height:100%;background:var(--ahr2);border-radius:10px}.ahr-eo2-filters{display:flex;gap:12px;margin-bottom:20px}.ahr-eo2-filters label{position:relative;flex:1}.ahr-eo2-filters label .dashicons{position:absolute;left:13px;top:12px;color:#98a2b3}.ahr-eo2-filters input,.ahr-eo2-filters select{height:44px;background:#fff;border:1px solid #d9e0e7;border-radius:10px;padding:0 13px;color:#344054}.ahr-eo2-filters input{width:100%;padding-left:42px}.ahr-eo2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ahr-eo2-card{border-radius:14px;padding:20px;transition:.2s}.ahr-eo2-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(16,24,40,.08)}.ahr-eo2-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ahr-eo2-card-top small{font-size:10px;letter-spacing:.1em;color:#98a2b3;font-weight:700}.ahr-eo2-card h3{margin:3px 0 0;font-size:19px;color:var(--ahr)}.ahr-eo2-badge{padding:6px 9px;border-radius:999px;background:#eef2f6;color:#475467;font-size:11px;font-weight:700;white-space:nowrap}.status-opened,.status-open,.status-receipt-issued,.status-completed{background:#eaf8ef;color:var(--green)}.status-pending,.status-processing{background:#fff6e5;color:var(--amber)}.ahr-eo2-address{display:flex;gap:9px;margin:17px 0}.ahr-eo2-address .dashicons{color:var(--ahr2);font-size:18px}.ahr-eo2-address p{margin:0;font-weight:600;line-height:1.45}.ahr-eo2-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:14px;border-top:1px solid var(--line)}.ahr-eo2-card dl div.wide{grid-column:1/-1}.ahr-eo2-card dt{font-size:11px;color:#98a2b3;text-transform:uppercase;letter-spacing:.04em}.ahr-eo2-card dd{margin:3px 0 0;font-size:13px;font-weight:600}.ahr-eo2-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.ahr-eo2-btn{display:inline-flex;align-items:center;gap:7px;padding:9px 11px;border-radius:9px;border:1px solid #d8e0e8;background:#fff;color:var(--ahr);font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}.ahr-eo2-btn.primary{background:var(--ahr);border-color:var(--ahr);color:#fff}.ahr-eo2-btn .dashicons{font-size:16px;width:16px;height:16px}.ahr-eo2-muted{color:var(--muted);font-size:13px}.ahr-eo2-empty{grid-column:1/-1;background:#fff;border:1px dashed #cbd5df;border-radius:14px;padding:50px;text-align:center;color:var(--muted)}.ahr-eo2-empty .dashicons{font-size:36px;width:36px;height:36px;color:#9aabba}.ahr-eo2-empty h3{color:var(--ink)}.ahr-eo2-tabs{display:flex;gap:6px;background:#e8edf2;border-radius:11px;padding:5px;width:max-content;margin-bottom:20px}.ahr-eo2-tabs button,.ahr-eo2-tabs .ahr-eo2-tab-link{border:0;background:transparent;border-radius:8px;padding:10px 16px;font-weight:700;color:#667085;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.ahr-eo2-tabs button.active,.ahr-eo2-tabs .ahr-eo2-tab-link.active{background:#fff;color:var(--ahr);box-shadow:0 2px 7px rgba(16,24,40,.08)}.ahr-eo2-tab{display:none}.ahr-eo2-tab.active{display:block}.ahr-eo2-modal{position:fixed;inset:0;background:rgba(3,20,34,.68);z-index:999999;display:none;padding:30px;overflow:auto}.ahr-eo2-modal.open{display:flex;align-items:flex-start;justify-content:center}.ahr-eo2-modal-card{position:relative;background:#fff;width:min(860px,100%);border-radius:18px;margin:auto;padding:26px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.ahr-eo2-close{position:absolute;right:18px;top:14px;border:0;background:#eff3f6;width:34px;height:34px;border-radius:50%;font-size:24px;cursor:pointer}.ahr-eo2-detail-head{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 45px 18px 0}.ahr-eo2-detail-head small{color:#98a2b3;font-size:10px;letter-spacing:.1em}.ahr-eo2-detail-head h2{margin:3px 0 0;font-size:23px}.ahr-eo2-detail-head>span{color:#98a2b3}.ahr-eo2-details{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.ahr-eo2-details>div{padding:15px 0;border-bottom:1px solid var(--line)}.ahr-eo2-details dt{color:#7b8794;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.ahr-eo2-details dd{margin:5px 0 0;font-weight:600;line-height:1.5;word-break:break-word}.ahr-eo2-alert,.ahr-eo2-login{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px}
@media(max-width:980px){.ahr-eo2-side{position:fixed;left:-260px;z-index:9999;transition:.25s}.ahr-eo2.side-open .ahr-eo2-side{left:0}.ahr-eo2-menu{display:block}.ahr-eo2-main{padding:20px}.ahr-eo2-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.ahr-eo2{margin:-20px calc(50% - 50vw)}.ahr-eo2-main{padding:15px}.ahr-eo2-top h1{font-size:22px}.ahr-eo2-top p{font-size:12px}.ahr-eo2-user span{display:none}.ahr-eo2-stats,.ahr-eo2-grid{grid-template-columns:1fr}.ahr-eo2-filters{display:grid}.ahr-eo2-filters select{width:100%}.ahr-eo2-details{grid-template-columns:1fr}.ahr-eo2-modal{padding:10px}.ahr-eo2-modal-card{padding:20px 16px}.ahr-eo2-tabs{width:100%}.ahr-eo2-tabs button,.ahr-eo2-tabs .ahr-eo2-tab-link{flex:1;padding:10px 8px;font-size:12px}}
.ahr-eo2-download{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #d7e0e8;border-radius:8px;text-decoration:none;font-weight:600;white-space:nowrap}.ahr-eo2-download:hover{border-color:#003968;text-decoration:none!important}.ahr-eo2-download .dashicons{font-size:17px;width:17px;height:17px}
/* Payment Receipts status labels */
.ahr-eo2-badge{border-radius:6px}
.status-pending{background:#F2D0E2;color:#71304f}
.status-accepted{background:#CDF5D6;color:#24633a}
.status-outwarded{background:#D7E6F7;color:#315b86}
.status-claimed{background:#C3E6C3;color:#2f6532}
.status-refunded{background:#EBC5EC;color:#713f72}
.ahr-eo2-payment-detail-head{align-items:center}
.ahr-eo2-payment-detail-head .ahr-eo2-badge{margin-right:2px}
.ahr-eo2-payment-details>div.wide{grid-column:1/-1}
.ahr-eo2-not-available{color:#98a2b3;font-weight:500}

/* Payment Receipts refinements */
.ahr-eo2-btn:hover,
.ahr-eo2-btn:focus,
.ahr-eo2-actions a:hover,
.ahr-eo2-actions a:focus{
  text-decoration:none !important;
}
.ahr-eo2-payment-summary{margin-top:14px}
.ahr-eo2-pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin:24px 0 4px;flex-wrap:wrap}
.ahr-eo2-page-btn{min-width:38px;height:38px;padding:0 11px;border:1px solid #d8e0e8;border-radius:8px;background:#fff;color:var(--ahr);font-weight:700;cursor:pointer}
.ahr-eo2-page-btn:hover{border-color:var(--ahr);text-decoration:none}
.ahr-eo2-page-btn.active{background:var(--ahr);border-color:var(--ahr);color:#fff}
.ahr-eo2-page-btn:disabled{opacity:.45;cursor:not-allowed}

/* Files status colours */
.status-processing{background:#FFF0C7;color:#755500}
.status-to-amend{background:#FFE0B8;color:#7A4300}
.status-opened{background:#E8C98A;color:#6A4A12}
.status-partial-payment-new-project{background:#D7E6F7;color:#254F78}
.status-partial-payment-subsale-rental{background:#DCE7FF;color:#344F89}
.status-partial-internal-coa-payment{background:#D9F0EE;color:#28645F}
.status-partial-external-coa-payment{background:#E2DDF7;color:#50417B}
.status-claimed{background:#C3E6C3;color:#285B2A}
.status-refunded{background:#EBC5EC;color:#6A326C}
.status-cancelled{background:#F5D0D0;color:#7D3030}
.status-forfeited{background:#E2D5C8;color:#624A35}
.status-partial-payment-subsalerental{background:#DCE7FF;color:#344F89}

/* Dashboard and claims refinements */
.ahr-eo2-dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.ahr-eo2-dashboard-stats .ahr-eo2-stat strong{font-size:21px;word-break:break-word}
@media(max-width:1150px){.ahr-eo2-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.ahr-eo2-dashboard-stats{grid-template-columns:1fr}.ahr-eo2-tabs{overflow-x:auto;justify-content:flex-start}.ahr-eo2-tabs button,.ahr-eo2-tabs .ahr-eo2-tab-link{flex:0 0 auto;white-space:nowrap}}

/* Admin tables */
.ahr-eo2-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px rgba(16,24,40,.04)}
.ahr-eo2-table{width:100%;border-collapse:collapse;min-width:1050px}
.ahr-eo2-table th{padding:13px 14px;background:#f7f9fb;border-bottom:1px solid var(--line);color:#667085;font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.ahr-eo2-table td{padding:14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top;line-height:1.5}
.ahr-eo2-table tbody tr:last-child td{border-bottom:0}
.ahr-eo2-table tbody tr:hover{background:#fbfcfd}
.ahr-eo2-table-actions{display:flex;flex-wrap:wrap;gap:7px;min-width:150px}
.ahr-eo2-table-empty{text-align:center!important;color:var(--muted);padding:42px!important}
.ahr-eo2-btn.danger{border-color:#efc7c7;color:#9b2c2c;background:#fff7f7}
.ahr-eo2-btn.danger:hover{border-color:#c53030;background:#fff0f0}
.ahr-eo2-cell-note{display:block;margin-top:6px;color:#667085;max-width:260px;white-space:normal}
@media(max-width:680px){.ahr-eo2-table{min-width:900px}}
/* Admin status colours */
.ahr-eo2-badge.status-paid{background:#e7f8ed;color:#18763b}
.ahr-eo2-badge.status-completed{background:#ccefd8;color:#075c2a}
.ahr-eo2-badge.status-pending{background:#edf0f3;color:#5f6873}
.ahr-eo2-badge.status-refunded{background:#f1e8ff;color:#6f35a5}
.ahr-eo2-badge.status-forfeited{background:#fff0df;color:#b65300}
.ahr-eo2-pagination a.ahr-eo2-page-btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

/* Admin Payment Receipts search filters */
.ahr-eo2-admin-receipt-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.4fr) auto;gap:12px;align-items:end;margin-bottom:18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 18px rgba(16,24,40,.04)}
.ahr-eo2-admin-receipt-filters label span{display:block;margin-bottom:7px;color:#667085;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.ahr-eo2-admin-receipt-filters input{width:100%;height:42px;padding:0 12px;border:1px solid #d9e0e7;border-radius:9px;background:#fff;color:#344054}
.ahr-eo2-admin-filter-actions{display:flex;gap:8px;align-items:center}
@media(max-width:800px){.ahr-eo2-admin-receipt-filters{grid-template-columns:1fr}.ahr-eo2-admin-filter-actions{justify-content:flex-start}}


/* Negotiator page primary actions */
.ahr-eo2-toolbar{display:flex;align-items:center;justify-content:flex-start;margin:0 0 22px}
.ahr-eo2-toolbar .ahr-eo2-create-btn{min-height:44px;padding:10px 16px;border-radius:10px;gap:9px;box-shadow:0 5px 14px rgba(0,57,104,.14);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.ahr-eo2-toolbar .ahr-eo2-create-btn .dashicons{font-size:18px;width:18px;height:18px}
.ahr-eo2-toolbar .ahr-eo2-create-btn:hover,.ahr-eo2-toolbar .ahr-eo2-create-btn:focus{background:var(--ahr2);border-color:var(--ahr2);color:#fff;text-decoration:none!important;transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,57,104,.20)}
@media(max-width:680px){.ahr-eo2-toolbar{justify-content:stretch;margin-bottom:18px}.ahr-eo2-toolbar .ahr-eo2-create-btn{width:100%;justify-content:center}}

/* New Projects directory */
.ahr-eo2-badge.status-available{background:#dff5e7;color:#176b36}
.ahr-eo2-badge.status-sold-out{background:#fde2e2;color:#a12626}
.ahr-eo2-btn.disabled{background:#f4f6f8;border-color:#e2e7ec;color:#98a2b3;cursor:not-allowed;pointer-events:none}
.ahr-eo2-project-details>div.wide{grid-column:1/-1}
.ahr-eo2-project-details a{color:var(--ahr);text-decoration:none}
.ahr-eo2-project-details a:hover{text-decoration:underline}
@media(max-width:700px){.ahr-eo2-project-tabs{width:100%}.ahr-eo2-project-tabs button{flex:1}.ahr-eo2-project-details>div{grid-column:1/-1}}

/* Native anchor target for Pending Refunds Without File */
#pendingrefundswithoutfile { scroll-margin-top: 24px; }


/* Dashboard recent transactions */
.ahr-eo2-recent-transactions{margin-top:22px}
.ahr-eo2-recent-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ahr-eo2-recent-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 4px 18px rgba(16,24,40,.04);min-width:0}
.ahr-eo2-recent-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.ahr-eo2-recent-card-top time{font-size:10px;color:#667085;white-space:nowrap}
.ahr-eo2-recent-main{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.ahr-eo2-recent-main strong{font-size:15px;color:#1d2939}
.ahr-eo2-recent-deal{font-size:10px;font-weight:700;padding:4px 7px;border-radius:999px;background:#e8f1fb;color:#24527c}
.ahr-eo2-recent-card dl{margin:0;display:grid;gap:9px}
.ahr-eo2-recent-card dl div{min-width:0}
.ahr-eo2-recent-card dt{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#98a2b3;font-weight:700;margin-bottom:2px}
.ahr-eo2-recent-card dd{margin:0;font-size:12px;line-height:1.4;color:#344054;word-break:break-word}
@media(max-width:1200px){.ahr-eo2-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.ahr-eo2-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ahr-eo2-recent-grid{grid-template-columns:1fr}.ahr-eo2-recent-card-top{align-items:flex-start;flex-direction:column}}
/* Recent Transactions content typography v1.7.3 */
.ahr-eo2-recent-card{padding:16px}
.ahr-eo2-recent-card-top time{font-size:12px}
.ahr-eo2-recent-main strong{font-size:17px;line-height:1.35}
.ahr-eo2-recent-deal{font-size:11px;padding:4px 8px}
.ahr-eo2-recent-card dt{font-size:10px;margin-bottom:3px}
.ahr-eo2-recent-card dd{font-size:14px;line-height:1.5}
/* Recent Transactions heading size refinement v1.7.2 */
.ahr-eo2-recent-transactions .ahr-eo2-panel-head h2{font-size:23px;line-height:1.25}
@media(max-width:680px){.ahr-eo2-recent-transactions .ahr-eo2-panel-head h2{font-size:21px}}

/* State flag beside State in dashboard recent transactions v1.7.5 */
.ahr-eo2-state-value{display:flex;align-items:center;gap:7px}
.ahr-eo2-state-flag{width:22px;height:14px;display:inline-block;flex:0 0 auto;object-fit:cover;border-radius:2px;border:1px solid rgba(16,24,40,.12);box-shadow:0 1px 2px rgba(16,24,40,.08)}
@media(max-width:520px){.ahr-eo2-state-flag{width:24px;height:15px}}
