/* Payment and bill detail sheet, measured from the live Accounting reference. */
dialog.ar-detail-sheet {
 position:fixed;inset:auto 0 0;margin:0 auto;padding:0;border:0;border-radius:4px 4px 0 0;
 width:1100px;max-width:100vw;max-height:calc(100dvh - 45px);overflow:hidden;color:#111;background:#fff;
 box-shadow:0 -2px 30px #0003;font:500 14px/21px Manrope,Arial,sans-serif;
}
dialog.ar-detail-sheet[open]{display:flex;flex-direction:column;animation:ar-detail-up .16s ease-out both}
dialog.ar-detail-sheet::backdrop{background:#0009}
@keyframes ar-detail-up{from{transform:translateY(25px);opacity:.84}to{transform:translateY(0);opacity:1}}
.ar-detail-sheet>header {
 background:#044c9d;color:#fff;display:flex;align-items:center;justify-content:space-between;
 flex:0 0 auto;gap:14px;min-height:61px;padding:9px 20px;
}
.ar-detail-sheet>header h2{color:#fff;margin:0;font:600 24px/30px Manrope,Arial,sans-serif;min-width:0;overflow-wrap:anywhere}
.ar-detail-sheet button{cursor:pointer;font:inherit}
.ar-detail-sheet button:disabled{opacity:.4;cursor:default}
.ar-detail-sheet>header button {
 display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:2px;background:transparent;color:#fff;flex:none;
}
.ar-detail-sheet>header button:hover{background:#ffffff1f}
.ar-detail-sheet>header button:focus-visible{outline:2px solid #fff}
.ar-detail-sheet>header svg{width:23px;height:23px}
.ar-detail-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding-top:10px}
.ar-detail-body table{margin:0;border-collapse:separate;border-spacing:0;width:100%;min-width:820px;table-layout:fixed;font:inherit}
.ar-detail-sheet table :is(td,th){padding:0 8px 0 6px;border:0;border-bottom:1px solid #e7ebf0;text-align:left;overflow-wrap:anywhere}
.ar-detail-sheet table th {
 position:sticky;top:0;z-index:1;height:30px;background:#f6f9fc;color:#044c9d;
 font-size:14px;font-weight:600;text-transform:none;letter-spacing:normal;white-space:nowrap;
}
.ar-detail-sheet table th:nth-child(1),.ar-detail-sheet table th:nth-child(2){width:120px}
.ar-detail-sheet table th:nth-child(3){width:140px}.ar-detail-sheet table th:nth-child(4){width:83px}
.ar-detail-sheet table th:nth-child(6){width:100px}.ar-detail-sheet table th:nth-child(7){width:155px}
.ar-detail-sheet table :is(td,th):first-child{padding-left:14px}
.ar-detail-sheet th button{border:0;background:transparent;color:inherit;padding:3px 0;text-align:left;font-weight:600}
.ar-detail-sheet th button:hover,.ar-detail-sheet a:hover{text-decoration:underline}
.ar-detail-sheet th svg{width:14px;height:14px;vertical-align:-2px}
.ar-detail-sheet td{height:30px;line-height:18px;color:#222;background:white}
.ar-detail-sheet tbody tr:hover td{background:#f5faff}
.ar-detail-sheet a{color:#044c9d;text-decoration:none;font-weight:650}
.ar-detail-sheet td.ar-detail-amount{font-variant-numeric:tabular-nums;font-weight:650}
.ar-detail-sheet footer{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-height:54px;padding:0 14px;color:#525c65}
.ar-detail-sheet footer[hidden]{display:none}
.ar-detail-sheet footer span{margin-right:17px;font-size:13px}
.ar-detail-sheet footer button{width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#33445a;font-size:24px}
.ar-detail-sheet footer button:hover:not(:disabled){background:#eaf3fd;color:#044c9d}
.ar-detail-state{margin:0;padding:36px 20px;text-align:center;color:#536b83}
.ar-detail-state[role=alert]{color:#a12940}
.ar-detail-retry{display:block;margin:0 auto 20px;padding:6px 14px;background:#044c9d;color:#fff;border:0;border-radius:3px}
@media(max-width:650px){dialog.ar-detail-sheet{max-height:calc(100dvh - 14px)}.ar-detail-sheet>header{padding-inline:13px}.ar-detail-sheet>header h2{font-size:17px;line-height:22px}}
@media(prefers-reduced-motion:reduce){dialog.ar-detail-sheet[open]{animation:none}}
