.day-end{--day-red:#e91b35;--day-deep:#aa112a;--day-ink:#243047;padding:0;border:0;border-radius:0;background:transparent}
.day-end .day-end-filter{display:flex;align-items:center;justify-content:flex-start;width:100%;margin:0 0 15px;padding:0 0 9px;border:0;border-bottom:1px solid #e2e6ec;border-radius:0;background:transparent;box-shadow:none}
.day-end .day-end-filter .day-end-date-field{display:flex;align-items:center;gap:9px;width:auto;min-width:0;max-width:100%;margin:0;color:#647084;font-size:11px;font-weight:650}
.day-end .day-end-filter input{width:145px;min-width:0;min-height:30px;margin:0;padding:3px 6px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--day-ink);font-size:13px;font-weight:600}
.day-end .day-end-filter input:hover{border-color:#dce1e9;background:#fff}
.day-end .day-end-filter input:focus{border-color:var(--day-red);outline:2px solid #e91b3525;outline-offset:1px;background:#fff}
.day-end .grid3{gap:14px}
.day-end .day-end-metric,.app-shell.compact-shell .day-end .day-end-metric{display:grid;grid-template-rows:minmax(24px,auto) 1fr auto;min-height:108px;padding:15px 18px;border:1px solid #dfe4eb;border-radius:13px;box-shadow:none;color:var(--day-ink);background:#fff}
.day-end .day-end-metric--gross,.app-shell.compact-shell .day-end .day-end-metric--gross,.day-end .day-end-metric--adjustment,.app-shell.compact-shell .day-end .day-end-metric--adjustment,.day-end .day-end-metric--net,.app-shell.compact-shell .day-end .day-end-metric--net{background:#fff}
.day-end .day-end-metric small,.app-shell.compact-shell .day-end .day-end-metric small{display:block;margin:0;color:#647084;font-size:11px;font-weight:600}
.day-end .day-end-metric strong,.app-shell.compact-shell .day-end .day-end-metric strong{display:block;align-self:center;margin:3px 0;color:var(--day-ink);font-size:clamp(23px,2.3vw,28px);font-weight:700;line-height:1.2}
.day-end .day-end-metric--net strong,.app-shell.compact-shell .day-end .day-end-metric--net strong{color:var(--day-red)}
.day-end .day-end-panel{overflow:hidden;border:1px solid #e1e5eb;background:#fff;box-shadow:none}
.day-end .day-end-panel h2{margin:2px 0 15px;color:var(--day-ink)}
.day-end .day-end-panel strong{color:var(--day-red)}
.day-end .day-end-support{margin:0 0 14px;color:#5b6779;font-size:13px}
.day-end .day-end-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:13px}
.day-end .day-end-panel-heading h2{margin:0}
.day-end .day-end-tag{padding:5px 9px;border:1px solid #e3e6eb;border-radius:8px;background:#f7f8fa;color:#5f6878;font-size:11px;font-weight:700}
.day-end .day-end-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.day-end .day-end-facts>div{display:flex;flex-direction:column;justify-content:space-between;gap:6px;min-width:0;padding:12px;border:1px solid #e5e8ed;border-radius:10px;background:#fafbfc}
.day-end .day-end-facts>div:nth-child(n+4){grid-column:span 1}
.day-end .day-end-facts span,.day-end .day-end-checks span{color:#5a6575;font-size:12px;font-weight:650}
.day-end .day-end-facts strong{font-size:18px;line-height:1.25}
.day-end .day-end-facts small{color:#5b6573;font-size:12px}
.day-end .day-end-facts--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.day-end .day-end-panel--orders{display:flex;flex-direction:column}
.day-end .day-end-order-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:2px 0 15px;border-bottom:1px solid #e6e9ee}
.day-end .day-end-order-counts>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:0 13px}
.day-end .day-end-order-counts>div:first-child{padding-left:0}
.day-end .day-end-order-counts>div+div{border-left:1px solid #e6e9ee}
.day-end .day-end-order-counts span,.day-end .day-end-order-values span{color:#647084;font-size:12px;font-weight:650}
.day-end .day-end-order-counts strong{color:var(--day-ink);font-size:22px;line-height:1.2}
.day-end .day-end-order-values{display:grid;gap:0}
.day-end .day-end-order-values>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 0}
.day-end .day-end-order-values>div+div{border-top:1px solid #eef0f3}
.day-end .day-end-order-values strong{flex:none;color:var(--day-red);font-size:15px;white-space:nowrap}
.day-end .day-end-panel--orders .day-end-note{margin-top:auto}
.day-end .day-end-checks{display:grid;gap:9px}
.day-end .day-end-checks>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #e5e8ed;border-radius:10px;background:#fafbfc}
.day-end .day-end-checks strong{font-size:13px;text-align:right}
.day-end .day-end-checks .needs-review{border-color:#ef9eaa;background:#fff3f5}
.day-end .day-end-note{margin-top:14px;border-top:1px solid #e9ebf0;padding-top:10px;color:#5b6573;font-size:12px}
.day-end .day-end-note summary{width:max-content;max-width:100%;cursor:pointer;color:var(--day-deep);font-weight:700}
.day-end .day-end-note p{margin:8px 0 0;line-height:1.5}
.day-end .day-end-panel table,.day-end .day-end-details table{width:100%}
.day-end table th{background:#f4f5f7;color:#49566b;font-size:12px}
.day-end table tbody tr:nth-child(even){background:#fafbfc}
.day-end table td,.day-end table th{padding:10px 12px}
.day-end .day-end-details{border:1px solid #e2e6ed;background:#fff;box-shadow:0 5px 18px #2837540b}
.day-end .day-end-details summary{cursor:pointer;padding:3px 2px;color:#263650;font-weight:750}
.day-end .day-end-details[open] summary,.day-end .day-end-details summary:hover{color:var(--day-deep)}
.day-end .day-end-details[open] summary{margin-bottom:14px}
.day-end .day-end-details .panel{background:#fffafa;border-color:#f2d9dd}
.day-end .day-end-unknown-row td{background:#fff3f5;color:#8b1830;border-top:1px solid #eda4b0;border-bottom:1px solid #eda4b0}
.day-end .day-end-unknown-row strong{display:block;color:#8b1830}
.day-end .day-end-unknown-row small{display:block;color:#9d4253;font-size:11px;font-weight:700}
.day-end .day-end-warning{margin:15px 0 0;padding:12px 14px;border:1px solid #eda4b0;border-radius:10px;background:#fff3f5;color:#8b1830;font-weight:650}
.day-end .day-end-warning strong{color:#8b1830}
.day-end .day-end-missing-label{display:inline-block;padding:4px 8px;border-radius:7px;background:#fff3f5;color:#8b1830;font-weight:750}
.day-end .day-end-total-row td{background:#fff0f2;border-top:2px solid var(--day-red);color:var(--day-deep);font-weight:800}
@media(max-width:760px){.day-end{padding:11px;border-radius:18px}.day-end-hero{min-height:0;align-items:flex-start;gap:12px;padding:20px}.day-end-date{font-size:11px}.day-end .grid2,.day-end .grid3{grid-template-columns:1fr}.day-end .day-end-metric,.app-shell.compact-shell .day-end .day-end-metric{min-height:0}.day-end .day-end-filter{align-items:stretch}.day-end .day-end-filter label{width:100%}.day-end .day-end-filter button{width:100%}.day-end .day-end-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.day-end .day-end-facts--two{grid-template-columns:repeat(2,minmax(0,1fr))}.day-end-panel--payments .table-wrap{overflow:visible}.day-end .day-end-payment-table,.day-end .day-end-payment-table tbody{display:block;width:100%}.day-end .day-end-payment-table tr:first-child{display:none}.day-end .day-end-payment-table tr:not(:first-child){display:grid;grid-template-columns:1fr 1fr;margin:0 0 8px;border:1px solid #e4e7ed;border-radius:10px;overflow:hidden}.day-end .day-end-payment-table td{display:flex;flex-direction:column;gap:3px;min-width:0;padding:9px 11px;border:0;font-size:13px;overflow-wrap:anywhere}.day-end .day-end-payment-table td:first-child{grid-column:1;grid-row:1;font-weight:750}.day-end .day-end-payment-table td:last-child{grid-column:2;grid-row:1;align-items:flex-end;text-align:right;font-weight:750}.day-end .day-end-payment-table td:nth-child(2){grid-column:1;grid-row:2}.day-end .day-end-payment-table td:nth-child(3){grid-column:2;grid-row:2;align-items:flex-end;text-align:right}.day-end .day-end-payment-table td:not(:first-child)::before{content:attr(data-label);color:#687488;font-size:10px;font-weight:700}.day-end .day-end-payment-table .day-end-total-row td:not(:first-child)::before{color:var(--day-deep)}}
@media(max-width:400px){.day-end-hero{flex-wrap:wrap}.day-end .day-end-facts{grid-template-columns:1fr 1fr}.day-end .day-end-checks>div{align-items:flex-start;flex-direction:column;gap:4px}.day-end .day-end-checks strong{text-align:left}}
@media(max-width:760px){.day-end{padding:0;border-radius:0}.day-end .day-end-filter{align-items:center;margin-bottom:14px;padding:0 0 9px}.day-end .day-end-filter .day-end-date-field{width:auto}}

/* Compact navigation cards open dedicated day-end detail screens. */
.day-end .day-end-nav-card{display:flex;align-items:center;gap:14px;width:100%;min-width:0;min-height:102px;padding:20px;border:1px solid #e1e5eb;border-radius:18px;background:#fff;text-align:left;box-shadow:none;color:var(--day-ink);cursor:pointer}
.day-end .day-end-nav-card:hover{border-color:#efb2bc;background:#fffafb}
.day-end .day-end-nav-card:focus-visible,.day-end .day-end-back:focus-visible{outline:2px solid var(--day-red);outline-offset:3px}
.day-end .day-end-card-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;background:#fff1f3;color:var(--day-red);border-radius:14px}
.day-end .day-end-card-symbol{width:21px;height:21px;flex:none}
.day-end .day-end-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.day-end .day-end-card-copy strong{color:var(--day-ink);font-size:16px;font-weight:600;line-height:1.35}
.day-end .day-end-card-copy small{display:block;color:#748092;font-size:12px;font-weight:400;line-height:1.5}
.day-end .day-end-nav-card>.day-end-card-symbol{width:17px;height:17px;color:var(--day-red)}
.day-end .day-end-detail-heading{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin:0 0 22px}
.day-end .day-end-back{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid #efd6db;border-radius:12px;background:#fff;color:var(--day-deep);font-size:13px;font-weight:600;cursor:pointer}
.day-end .day-end-back .day-end-card-symbol{width:17px;height:17px}
.day-end .day-end-detail-title{margin:0;color:var(--day-ink);font-size:24px;font-weight:650;line-height:1.3;outline:none}
.day-end .day-end-detail-summary{padding:22px;border-radius:18px}
.day-end .day-end-detail .day-end-note{margin-top:14px}
.day-end .day-end-refund-work h2{display:flex;align-items:center;gap:10px}
.day-end .day-end-refund-work .panel{background:#fffafb;border-color:#f0dfe3}
@media(max-width:760px){.day-end .day-end-nav-card{min-height:94px;padding:16px;gap:12px}.day-end .day-end-card-copy strong{font-size:15px}.day-end .day-end-detail-title{font-size:22px}.day-end .day-end-detail-summary{padding:16px}.day-end .day-end-detail-heading{gap:15px;margin-bottom:18px}}


/* Secondary reports share one compact card grid; their contents live in detail screens. */
.day-end .day-end-navigation{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;align-items:stretch}
.day-end .day-end-navigation .day-end-nav-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:106px;padding:15px 10px;border-radius:17px;text-align:center}
.day-end .day-end-navigation .day-end-card-icon{width:34px;height:34px;flex:0 0 34px;border-radius:11px}
.day-end .day-end-navigation .day-end-card-symbol{width:19px;height:19px}
.day-end .day-end-navigation .day-end-nav-card>strong{color:#526176;font-size:13px;font-weight:600;line-height:1.35}
.day-end .day-end-card-badge{position:absolute;right:9px;top:9px;min-width:21px;padding:3px 5px;border-radius:7px;background:#fff1f3;color:var(--day-red);font-size:10px;font-weight:650;line-height:1.2}
.day-end .day-end-navigation .day-end-nav-card--warning{border-color:#efb2bc;background:#fffafb}
.day-end .day-end-detail>.day-end-panel--review{padding:18px;border-radius:18px}
.day-end .day-end-detail>.day-end-panel--review h2{margin:0 0 12px;font-size:16px}
@media(max-width:760px){.day-end .day-end-navigation{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.day-end .day-end-navigation .day-end-nav-card{min-height:96px;padding:13px 9px;gap:9px}.day-end .day-end-navigation .day-end-nav-card>strong{font-size:12px}}


.day-end .day-end-navigation+.day-end-panel--payments{margin-top:24px}

/* Filter the complete movement journal and its totals together. */
.day-end .day-end-journal-type{display:flex;align-items:center;gap:8px;margin:0;color:#748092;font-size:11px;font-weight:500}
.day-end .day-end-journal-type select{width:220px;min-height:40px;margin:0;padding:8px 30px 8px 12px;border:1px solid #efc2c9;border-radius:12px;background-color:#fff;color:#526176;font-size:12px}
.day-end .day-end-journal-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:0 0 10px}
.day-end .day-end-journal-filters input,.day-end .day-end-journal-filters select{min-width:0;min-height:42px;margin:0;padding:10px 12px;font-size:12px;border-radius:12px}
.day-end .day-end-journal-note{margin:0 0 16px;color:#748092;font-size:11px;line-height:1.5}
.day-end .day-end-journal-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
.day-end .day-end-journal-list-heading h3{margin:0;color:#526176;font-size:14px;font-weight:600}
.day-end .day-end-journal-list-heading span{color:#748092;font-size:11px}
.day-end .day-end-journal-table td,.day-end .day-end-journal-table th{font-size:12px}
.day-end .day-end-journal-table td{overflow-wrap:anywhere}
.day-end .day-end-journal-table td strong{font-size:12px;font-weight:600;color:#526176}
.day-end .day-end-journal-table .day-end-journal-in{color:#526176;white-space:nowrap;font-weight:600}
.day-end .day-end-journal-table .day-end-journal-out{color:var(--day-red);white-space:nowrap;font-weight:600}
.day-end .day-end-journal-more{display:block;margin:16px auto 0;padding:10px 18px;border:1px solid #efc2c9;border-radius:12px;background:#fff;color:var(--day-red);font-size:12px;font-weight:600;cursor:pointer}
@media(max-width:760px){
 .day-end .day-end-journal-type{width:100%;justify-content:space-between}.day-end .day-end-journal-type select{flex:1;min-width:0;max-width:230px}
 .day-end .day-end-journal-filters{grid-template-columns:1fr;gap:8px}
 .day-end .day-end-journal .table-wrap{overflow:visible}
 .day-end .day-end-journal-table,.day-end .day-end-journal-table tbody{display:block;width:100%}
 .day-end .day-end-journal-table thead{display:none}
 .day-end .day-end-journal-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:12px;margin:0 0 10px;border:1px solid #e5e8ed;border-radius:12px;background:#fff}
 .day-end .day-end-journal-table tbody td{display:block;min-width:0;padding:0;border:0;font-size:12px}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td{padding:0}
 .day-end .day-end-journal-table tbody td::before{display:block;margin-bottom:3px;content:attr(data-label);color:#748092;font-size:10px;font-weight:500}
 .day-end .day-end-journal-table tbody td:nth-child(2){grid-column:1/-1;grid-row:1}
 .day-end .day-end-journal-table tbody td:nth-child(4){grid-column:1/-1}
 .day-end .day-end-journal-table .day-end-journal-empty td{grid-column:1/-1}
 .day-end .day-end-journal-table .day-end-journal-empty td::before{display:none}
}

/* Keep mobile movement filters together and show method totals as compact table rows. */
.day-end .day-end-journal-method{display:block;min-width:0;margin:0}
.day-end .day-end-journal-method>span{display:none}
.day-end .day-end-journal-method select{width:100%}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-panel-heading,.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-filters{display:contents}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-panel-heading h2{grid-column:1/-1;grid-row:1;margin:0 0 4px;font-size:16px;font-weight:600;line-height:1.4}
 .app-shell.compact-shell .day-end .day-end-journal-type{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;min-width:0;width:auto;margin:0}
 .app-shell.compact-shell .day-end .day-end-journal-method{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
 .app-shell.compact-shell .day-end .day-end-journal-method>span,.app-shell.compact-shell .day-end .day-end-journal-type>span{display:block;color:#748092;font-size:10px;font-weight:500;line-height:1.4}
 .app-shell.compact-shell .day-end .day-end-journal-type select,.app-shell.compact-shell .day-end .day-end-journal-method select{width:100%;max-width:none;min-width:0;min-height:44px;flex:none;margin:0;padding:10px 25px 10px 10px;border:1px solid #efc2c9;border-radius:11px;background-color:#fff;font-size:12px;font-weight:400;color:#526176}
 .app-shell.compact-shell .day-end #day-end-movement-query{grid-column:1/-1;grid-row:3;min-width:0;width:100%;min-height:44px;margin:0;font-size:12px}
 .app-shell.compact-shell .day-end .day-end-journal-note{grid-column:1/-1;grid-row:4;margin:0;color:#748092;font-size:10px;line-height:1.5}
 .app-shell.compact-shell .day-end .day-end-journal-note-explainer{display:none}
 .app-shell.compact-shell .day-end #day-end-movement-results{grid-column:1/-1;grid-row:5;min-width:0}
 .app-shell.compact-shell .day-end #day-end-movement-results>.table-wrap:has(.day-end-payment-table){max-width:100%;overflow-x:auto;border:1px solid #e5e8ed;border-radius:11px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table{display:table;width:100%;table-layout:auto;border-collapse:collapse}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody{display:table-row-group;width:auto}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:first-child{display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table th{display:table-cell;padding:9px 6px;background:#fff1f3;color:#748092;font-size:10px;font-weight:600;line-height:1.4;text-align:right}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td{display:table-cell;grid-column:auto;grid-row:auto;padding:11px 6px;border:0;border-top:1px solid #edf0f3;background:#fff;color:#526176;font-size:11px;font-weight:500;line-height:1.4;text-align:right;white-space:nowrap}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):first-child{text-align:left;white-space:normal}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td::before{display:none;content:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table .day-end-total-row td{background:#fff1f3;border-top:1px solid #f0cfd6;color:var(--day-deep);font-weight:650}
}

/* Keep desktop journal filters on one shared row below the title. */
@media(min-width:761px){
 .app-shell.compact-shell .day-end .day-end-journal{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr));gap:12px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-panel-heading,.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-filters{display:contents}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-panel-heading h2{grid-column:1/-1;grid-row:1;margin:0 0 4px}
 .app-shell.compact-shell .day-end #day-end-movement-query{grid-column:1;grid-row:2;align-self:end;width:100%;min-width:0;height:44px;margin:0;font-size:12px}
 .app-shell.compact-shell .day-end .day-end-journal-type,.app-shell.compact-shell .day-end .day-end-journal-method{grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;margin:0}
 .app-shell.compact-shell .day-end .day-end-journal-type{grid-column:2}
 .app-shell.compact-shell .day-end .day-end-journal-method{grid-column:3}
 .app-shell.compact-shell .day-end .day-end-journal-type>span,.app-shell.compact-shell .day-end .day-end-journal-method>span{display:block;color:#748092;font-size:11px;font-weight:500;line-height:1.4}
 .app-shell.compact-shell .day-end .day-end-journal-type select,.app-shell.compact-shell .day-end .day-end-journal-method select{width:100%;min-width:0;height:44px;margin:0;padding:10px 30px 10px 12px;font-size:12px;font-weight:400;border-radius:12px}
 .app-shell.compact-shell .day-end .day-end-journal-note{grid-column:1/-1;grid-row:3;margin:0}
 .app-shell.compact-shell .day-end #day-end-movement-results{grid-column:1/-1;grid-row:4;min-width:0}
}

/* Place mobile filter captions inside their dropdown borders. */
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal-type,.app-shell.compact-shell .day-end .day-end-journal-method{position:relative;gap:0}
 .app-shell.compact-shell .day-end .day-end-journal-type>span,.app-shell.compact-shell .day-end .day-end-journal-method>span{position:absolute;top:7px;left:11px;right:25px;z-index:1;margin:0;font-size:9px;line-height:12px;pointer-events:none}
 .app-shell.compact-shell .day-end .day-end-journal-type select,.app-shell.compact-shell .day-end .day-end-journal-method select{height:54px;min-height:54px;padding-top:23px;padding-bottom:6px;background-position:right 10px bottom 12px}
}

.day-end .day-end-method-icon{display:none}
/* Compact mobile method rows: method and net first, flow amounts beneath. */
@media(max-width:760px){
 .app-shell.compact-shell .day-end #day-end-movement-results>.table-wrap:has(.day-end-payment-table){overflow:visible;border:0;border-radius:0}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody{display:block;width:100%}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:first-child{display:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:not(:first-child){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0 0 8px;padding:11px 12px;border:1px solid #e5e8ed;border-radius:12px;background:#fff}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:0;border:0;background:transparent;color:#526176;font-size:12px;font-weight:500;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:first-child{grid-column:1;grid-row:1;justify-content:flex-start;gap:8px;color:#3f4b5d;font-size:13px;font-weight:600}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(2){grid-column:1;grid-row:2;border-top:1px solid #edf0f3;padding-top:7px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(3){grid-column:2;grid-row:2;border-top:1px solid #edf0f3;padding-top:7px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:last-child{grid-column:2;grid-row:1;flex-direction:column;align-items:flex-end;justify-content:center;gap:0;color:var(--day-red);font-size:14px;font-weight:650;line-height:1.4}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:not(:first-child)::before{display:block;content:attr(data-label);color:#8390a1;font-size:10px;font-weight:400;white-space:nowrap}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:last-child::before{font-size:9px}
 .app-shell.compact-shell .day-end .day-end-method-icon{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#fff1f3;color:var(--day-red)}
 .app-shell.compact-shell .day-end .day-end-method-icon svg{width:18px;height:18px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row{margin-bottom:0;border-color:#f2cbd2;background:#fff1f3}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td{border:0;background:transparent;color:var(--day-deep);font-weight:600}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(2),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(3){border-color:#f0d9df}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row .day-end-method-icon{background:#ffe4e9}
}

/* Mobile method totals form one flat list, with no individual card shells. */
@media(max-width:760px){
 .app-shell.compact-shell .day-end #day-end-movement-results>.table-wrap:has(.day-end-payment-table){overflow-x:auto;border:0;border-radius:0}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table{display:table;width:100%;border-collapse:collapse;table-layout:auto}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody{display:table-row-group}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:first-child,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:not(:first-child),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row{display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table th{display:table-cell;padding:8px 5px;background:#f8f9fb;color:#8390a1;font-size:10px;font-weight:400;line-height:1.4;text-align:right;white-space:nowrap}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(n),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(n){display:table-cell;padding:12px 5px;border:0;border-top:1px solid #edf0f3;background:transparent;color:#526176;font-size:11px;font-weight:500;line-height:1.5;text-align:right;white-space:nowrap;vertical-align:middle}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):first-child{text-align:left;white-space:normal}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:last-child{color:var(--day-red);font-weight:600}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(n)::before{display:none;content:none}
 .app-shell.compact-shell .day-end .day-end-method-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:16px;height:16px;margin-right:5px;border-radius:0;background:transparent;color:var(--day-red)}
 .app-shell.compact-shell .day-end .day-end-method-icon svg{width:16px;height:16px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(n){background:#fff1f3;color:var(--day-deep);font-weight:600;border-top-color:#f0d9df}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row .day-end-method-icon{background:transparent}
}

@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr:not(:first-child).day-end-method-empty{display:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(2),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(3),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(2),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(3){display:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):first-child{white-space:nowrap}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(n),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:nth-child(n){padding-top:11px;padding-bottom:11px;font-size:12px}
}

@media(max-width:760px){.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tr.day-end-total-row td:first-child{text-align:left}}

/* Movement lists use text and alternating rows, without card or red decoration. */
.app-shell.compact-shell .day-end .day-end-journal #day-end-movement-results>.table-wrap{overflow-x:auto;border:0;border-radius:0}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table{display:table;width:100%;border-collapse:collapse;table-layout:auto}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table thead{display:table-header-group}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody{display:table-row-group}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(thead,tbody) tr:nth-child(n){display:table-row;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(n){display:table-cell;min-width:0;padding:8px 10px;border:0;background:#fff;color:#526176;font-size:12px;font-weight:400;line-height:1.4;text-align:right;white-space:nowrap}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table th:nth-child(n){background:#f1f3f6;color:#718094;font-size:11px;font-weight:500}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):first-child{text-align:left}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table td:nth-child(n)::before{display:none;content:none}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr:nth-child(even) td:nth-child(n){background:#f7f8fa}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr.day-end-total-row td:nth-child(n){background:#eef1f4;color:#526176;border:0;font-weight:600}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-list-heading{margin:16px 0 8px;gap:8px;align-items:center}
.app-shell.compact-shell .day-end .day-end-journal-list-heading h3{font-size:13px;font-weight:500}
.app-shell.compact-shell .day-end .day-end-journal-list-heading h3 span{margin-left:7px;font-size:10px;font-weight:400}
.app-shell.compact-shell .day-end .day-end-journal-export,.app-shell.compact-shell .day-end .day-end-journal-more{min-height:36px;width:auto;margin:0;padding:7px 12px;border:1px solid #dce2e9;border-radius:8px;background:#f8f9fb;color:#526176;font-size:11px;font-weight:500;box-shadow:none}
.app-shell.compact-shell .day-end .day-end-journal-more{margin-top:10px}
.app-shell.compact-shell .day-end .day-end-journal-table{width:100%;border-collapse:collapse}
.app-shell.compact-shell .day-end .day-end-journal-table :is(th,td){padding:8px 7px;border:0;background:#fff;color:#526176;font-size:11px;font-weight:400;vertical-align:top;line-height:1.5}
.app-shell.compact-shell .day-end .day-end-journal-table th{background:#f1f3f6;font-size:10px;font-weight:500}
.app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even) td{background:#f7f8fa}
.app-shell.compact-shell .day-end .day-end-record-reference{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#748092;font-size:10px}
.app-shell.compact-shell .day-end .day-end-record-reference summary{padding:0;cursor:pointer;font-size:10px;font-weight:400;white-space:nowrap}
.app-shell.compact-shell .day-end .day-end-record-reference span{display:block;margin:4px 0;max-width:220px;overflow-wrap:anywhere}
@media(min-width:761px){
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(7){display:none}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(5),.app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(6){white-space:nowrap;text-align:right}
}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(n){padding:8px 6px;font-size:11px}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(2),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(3){display:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table th:nth-child(n){font-size:10px}
 .app-shell.compact-shell .day-end .day-end-journal-table,.app-shell.compact-shell .day-end .day-end-journal-table tbody{display:block;width:100%}
 .app-shell.compact-shell .day-end .day-end-journal-table thead{display:none}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin:0;padding:8px 9px;border:0;border-radius:0;background:#fff}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even){background:#f7f8fa}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n) td:nth-child(n){display:block;min-width:0;margin:0;padding:0;border:0;background:transparent;color:#526176;font-size:11px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(n)::before{display:none;content:none}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(2){grid-column:1;grid-row:1;font-size:12px;font-weight:500}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(7){grid-column:2;grid-row:1;text-align:right;white-space:nowrap;font-size:12px;font-weight:500}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(1){grid-column:1/-1;grid-row:2;color:#8390a1;font-size:10px}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(3){grid-column:1;grid-row:3}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(8){grid-column:2;grid-row:3;text-align:right}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(4){grid-column:1/-1;grid-row:4}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(9){grid-column:1/-1;grid-row:5}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n) td:nth-child(5),.app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n) td:nth-child(6){display:none}
 .app-shell.compact-shell .day-end .day-end-record-reference span{max-width:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-empty{margin:0;color:#8390a1;font-size:11px}
}

@media(max-width:760px){.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr.day-end-total-row td:nth-child(n){padding:8px 6px;font-size:11px;line-height:1.4}}

.app-shell.compact-shell .day-end .day-end-journal #day-end-movement-results>.table-wrap{max-height:none}
.app-shell.compact-shell .day-end .day-end-journal :is(input,select){border-color:#dce2e9}
.app-shell.compact-shell .day-end .day-end-record-reference summary{display:block;min-height:0;height:auto;line-height:1.5;text-decoration:underline;text-underline-offset:2px}
.app-shell.compact-shell .day-end .day-end-record-reference summary::after{display:none;content:none}

@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n){padding:6px 9px;gap:2px 8px}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(1){grid-column:1;grid-row:2}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(3){grid-column:2;grid-row:2;text-align:right;font-size:10px;color:#8390a1}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(4){grid-column:1/-1;grid-row:3}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(8){grid-column:1;grid-row:4;text-align:left;font-size:10px;color:#8390a1}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(9){grid-column:2;grid-row:4;text-align:right}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:has(details[open]) td:nth-child(9){grid-column:1/-1;grid-row:5;text-align:left}
}

@media(max-width:760px){.app-shell.compact-shell .day-end .day-end-journal-table tbody td:nth-child(8)::before{display:inline;content:"Personel: ";color:inherit;font-size:inherit}}

/* Extra information opens within the same neutral text list. */
.app-shell.compact-shell .day-end .day-end-record-reference dl{display:grid;grid-template-columns:minmax(80px,.7fr) minmax(0,1fr);gap:4px 9px;min-width:0;max-width:280px;margin:9px 0 2px;font-size:10px;line-height:1.5;text-align:left}
.app-shell.compact-shell .day-end .day-end-record-reference dt{margin:0;color:#8390a1;font-weight:400}
.app-shell.compact-shell .day-end .day-end-record-reference dd{min-width:0;margin:0;color:#526176;overflow-wrap:anywhere}
.app-shell.compact-shell .day-end .day-end-method-count{display:inline;color:#8390a1;font-size:10px;font-weight:400;white-space:nowrap}
.app-shell.compact-shell .day-end .day-end-example-preview{margin:16px 0 0;padding:12px 0 0;border:0;border-top:1px solid #e8ecf1;border-radius:0;background:transparent}
.app-shell.compact-shell .day-end .day-end-example-preview>summary{display:block;min-height:28px;height:auto;padding:0;color:#526176;font-size:12px;font-weight:500;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.app-shell.compact-shell .day-end .day-end-example-preview>summary::after{display:none;content:none}
.app-shell.compact-shell .day-end .day-end-example-preview>p{margin:0 0 8px;color:#8390a1;font-size:10px;line-height:1.5}
.app-shell.compact-shell .day-end .day-end-example-preview>.table-wrap{max-height:none;border:0;border-radius:0;overflow-x:auto}
.app-shell.compact-shell .day-end .day-end-example-label{display:inline;margin-left:6px;color:#8390a1;font-size:10px;font-weight:400}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-record-reference dl{max-width:none}
}

/* Clear cell separators and stronger neutral striping. */
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(n),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr.day-end-total-row td:nth-child(n),.app-shell.compact-shell .day-end .day-end-journal-table :is(th,td){border:1px solid #cbd2dc}
.app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even) td,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr:nth-child(even) td:nth-child(n){background:#e4e8ed}
.app-shell.compact-shell .day-end .day-end-journal-table th,.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table th:nth-child(n){background:#dce2e9}
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr.day-end-total-row td:nth-child(n){background:#dce2e9}
@media(min-width:761px){
 .app-shell.compact-shell .day-end .day-end-journal-table{table-layout:auto}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td){white-space:nowrap;overflow-wrap:normal}
 .app-shell.compact-shell .day-end .day-end-record-reference dl{white-space:normal}
}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n){border:1px solid #cbd2dc;border-bottom:0}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:last-child{border-bottom:1px solid #cbd2dc}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even){background:#e4e8ed}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n) td:nth-child(n){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:has(details[open]) td:nth-child(9){white-space:normal;overflow:visible}
 .app-shell.compact-shell .day-end .day-end-record-reference dl{white-space:normal}
}

/* White method summary, with softer striping only in movement lists. */
.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table :is(th,td):nth-child(n),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr:nth-child(even) td:nth-child(n),.app-shell.compact-shell .day-end .day-end-journal .day-end-payment-table tbody tr.day-end-total-row td:nth-child(n){background:#fff}
.app-shell.compact-shell .day-end .day-end-journal-table th{background:#fff}
.app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even) td{background:#f1f3f5}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(even){background:#f1f3f5}
 .app-shell.compact-shell .day-end .day-end-journal-table tbody tr:nth-child(n) td:nth-child(n){background:transparent}
}

/* Fit desktop columns to the panel; full text remains available in details. */
@media(min-width:761px){
 .app-shell.compact-shell .day-end .day-end-journal-table{table-layout:fixed;width:100%;min-width:0;max-width:100%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(1){width:14%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(2){width:16%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(3){width:7%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(4){width:31%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(5),.app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(6){width:7%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(8){width:10%}
 .app-shell.compact-shell .day-end .day-end-journal-table :is(th,td):nth-child(9){width:8%}
 .app-shell.compact-shell .day-end .day-end-record-reference summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
#modal .day-end-movement-detail dl{display:grid;grid-template-columns:minmax(110px,.45fr) minmax(0,1fr);gap:9px 16px;margin:0;padding:0;font-size:12px;line-height:1.6;color:#526176}
#modal .day-end-movement-detail dt{margin:0;font-weight:400;color:#8390a1}
#modal .day-end-movement-detail dd{min-width:0;margin:0;font-weight:400;overflow-wrap:anywhere}

/* Keep filter labels inside their controls on every screen size. */
.app-shell.compact-shell .day-end-journal-type,.app-shell.compact-shell .day-end-journal-method{position:relative;display:block;gap:0;min-width:0}
.app-shell.compact-shell .day-end-journal-type>span,.app-shell.compact-shell .day-end-journal-method>span{position:absolute;inset:7px 28px auto 12px;font-size:10px;line-height:13px;pointer-events:none;color:#7d899a;z-index:1}
.app-shell.compact-shell .day-end-journal-type select,.app-shell.compact-shell .day-end-journal-method select{height:54px;min-height:54px;margin:0;padding-top:23px;padding-bottom:6px;box-sizing:border-box}
.app-shell.compact-shell .day-end-journal #day-end-movement-query{height:54px}
.app-shell.compact-shell .day-end-journal #day-end-movement-results{grid-row:3;min-width:0}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-list-heading{margin:0 0 10px}
.app-shell.compact-shell .day-end-journal-export{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.app-shell.compact-shell .day-end-excel-icon{width:21px;height:21px;flex:none}
.app-shell.compact-shell #day-end-movement-results>.table-wrap:has(.day-end-payment-table){margin-top:16px;margin-bottom:0}
@media(max-width:760px){
 .app-shell.compact-shell .day-end-journal #day-end-movement-results{grid-row:4}
 .app-shell.compact-shell .day-end-journal-type>span,.app-shell.compact-shell .day-end-journal-method>span{font-size:9px}
}

/* Method totals are part of the movement table, without a second table surface. */
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td){width:auto;max-width:none;padding:8px 9px;border:1px solid #cbd2dc;background:#fff;color:#526176;font-size:11px;line-height:1.35;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot th:first-child{text-align:left;font-weight:500}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td):not(:first-child){text-align:right}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot .day-end-summary-heading th{color:#7b8799;font-weight:400}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot .day-end-total-row :is(th,td){font-weight:650}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot{display:block;width:100%;box-sizing:border-box}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0;margin:0;border:0;border-radius:0;background:#fff}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td){display:block;min-width:0;padding:7px 9px;border-top:0}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td):nth-child(2),.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td):nth-child(3){display:none}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot :is(th,td):last-child{border-left:0}
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot .day-end-summary-heading th{border-top:1px solid #cbd2dc}
}

/* The cards select the section below while the day and metrics stay in place. */
.app-shell.compact-shell .day-end .day-end-navigation .day-end-nav-card.is-active{border-color:#efb2bc;background:#fff2f4}
.app-shell.compact-shell .day-end .day-end-navigation .day-end-nav-card.is-active>strong{color:#c52235}
.app-shell.compact-shell .day-end #day-end-tab-panel{margin-top:24px;min-width:0}
.app-shell.compact-shell .day-end #day-end-tab-panel>.day-end-panel:first-child{margin-top:0}
.app-shell.compact-shell .day-end .table-wrap:has(.day-end-cancellation-table){max-height:none;overflow:visible}
.app-shell.compact-shell .day-end .day-end-cancellation-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td){min-width:0;padding:8px 9px;border:1px solid #cbd2dc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td):nth-child(1){width:25%}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td):nth-child(2){width:12%}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td):nth-child(3){width:12%}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td):nth-child(4){width:22%}
.app-shell.compact-shell .day-end .day-end-cancellation-table :is(th,td):nth-child(5){width:29%}
.app-shell.compact-shell .day-end .day-end-cancellation-table tbody tr:nth-child(odd) td{background:#fff}
.app-shell.compact-shell .day-end .day-end-cancellation-table tbody tr:nth-child(even) td{background:#f1f3f5}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-cancellation-table,.app-shell.compact-shell .day-end .day-end-cancellation-table tbody{display:block;width:100%}
 .app-shell.compact-shell .day-end .day-end-cancellation-table thead{display:none}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px 8px;padding:6px 9px;border:1px solid #cbd2dc;border-bottom:0}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody tr:last-child{border-bottom:1px solid #cbd2dc}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody tr:nth-child(even){background:#f1f3f5}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody td{display:block;width:auto!important;margin:0;padding:0;border:0;background:transparent!important}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody td:nth-child(2),.app-shell.compact-shell .day-end .day-end-cancellation-table tbody td:nth-child(4){text-align:right}
 .app-shell.compact-shell .day-end .day-end-cancellation-table tbody td:nth-child(5),.app-shell.compact-shell .day-end .day-end-cancellation-table tbody td[colspan]{grid-column:1/-1}
}

/* Movement filters show only their selected option. */
.app-shell.compact-shell .day-end .day-end-journal-type select,
.app-shell.compact-shell .day-end .day-end-journal-method select{
  height:44px;min-height:44px;padding:10px 30px 10px 12px;background-position:right 12px center;
}

/* Equal filter controls and a clear heading/detail text hierarchy. */
.app-shell.compact-shell .day-end .day-end-journal #day-end-movement-query,
.app-shell.compact-shell .day-end .day-end-journal-type select,
.app-shell.compact-shell .day-end .day-end-journal-method select{
 height:44px;min-height:44px;margin:0;box-sizing:border-box;padding-top:10px;padding-bottom:10px;
}
@media(min-width:761px){
 .app-shell.compact-shell .day-end .day-end-journal{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table thead th,
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tfoot .day-end-summary-heading th{color:#171a1f;font-weight:600}
.app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tbody tr:nth-child(n) td:nth-child(n){color:#687386}
.app-shell.compact-shell .day-end .day-end-record-reference summary{color:#687386}
.app-shell.compact-shell .day-end .day-end-record-reference dt,
#modal .day-end-movement-detail dt{color:#23272f;font-weight:500}
.app-shell.compact-shell .day-end .day-end-record-reference dd,
#modal .day-end-movement-detail dd{color:#687386}
@media(max-width:760px){
 .app-shell.compact-shell .day-end .day-end-journal .day-end-journal-table tbody tr:nth-child(n) td:nth-child(2){color:#23272f}
}
