/* Hallmark v2.0.0 · Yesterday's Cheques · cheque results table · 2026-11-06 */
/* Critique: one compact summary and one table keep result confirmation aligned with the cheque schedule page. */
html,body{overflow-x:clip}
.yesterday-page{max-width:1320px;margin:0 auto;padding:24px 28px 36px;border-radius:8px;background:var(--tc-bg);color:var(--tc-ink);font-family:var(--tc-font)}
.yesterday-heading{margin-bottom:24px}
.yesterday-heading h1{margin:0 0 4px;font-family:var(--tc-font);font-size:26px;line-height:1.15;letter-spacing:-.035em;overflow-wrap:break-word;text-wrap:balance;min-width:0}
.yesterday-heading p{margin:0;color:var(--tc-secondary);font-size:13px}
.yesterday-overview{display:grid;grid-template-columns:minmax(250px,1.3fr) repeat(3,minmax(0,1fr));margin-bottom:16px;border:1px solid var(--tc-line);border-radius:8px;background:var(--tc-surface)}
.yesterday-overview>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:0;min-height:104px;padding:16px 24px;border-left:1px solid var(--tc-line)}
.yesterday-overview>div:first-child{border-left:0}
.yesterday-label{color:var(--tc-secondary);font-size:11px;font-weight:600}
.yesterday-overview strong{font-size:24px;font-weight:650;line-height:1.15;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.yesterday-date strong{font-size:21px}
.yesterday-date label{color:var(--tc-secondary);font-size:11px;font-weight:600}
.yesterday-date input{width:156px;min-height:34px;padding:8px 12px;border:1px solid var(--tc-line);border-radius:6px;background:var(--tc-surface);color:var(--tc-ink);font-family:var(--tc-font);font-size:12px;cursor:pointer}
.yesterday-date input:hover{border-color:var(--tc-blue)}
.yesterday-date input::-webkit-calendar-picker-indicator{cursor:pointer}
.yesterday-older{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;margin-bottom:20px;border-top:1px solid var(--tc-line);border-bottom:1px solid var(--tc-line);background:var(--tc-surface)}
.yesterday-older div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 16px}
.yesterday-older strong{font-size:12px;font-weight:700}
.yesterday-older span{color:var(--tc-secondary);font-size:12px;font-variant-numeric:tabular-nums}
.yesterday-older a{flex:none;color:var(--tc-blue);font-size:12px;font-weight:700;text-decoration:none}
.yesterday-older a:hover{text-decoration:underline;text-underline-offset:3px}
.yesterday-results{overflow:hidden;border:1px solid var(--tc-line);border-radius:8px;background:var(--tc-surface)}
.yesterday-table-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--tc-line)}
.yesterday-table-head h2{margin:0;font-family:var(--tc-font);font-size:16px;letter-spacing:-.02em;text-wrap:balance}
.yesterday-table-head input{width:min(280px,100%);min-height:36px;padding:8px 12px;border:1px solid var(--tc-line);border-radius:6px;background:var(--tc-surface);color:var(--tc-ink);font-family:var(--tc-font);font-size:12px}
.yesterday-table-head input::placeholder{color:var(--tc-muted)}
.yesterday-table-wrap{overflow-x:auto}
.yesterday-table{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed}
.yesterday-table th{padding:12px 16px;background:var(--tc-bg);color:var(--tc-secondary);font-family:var(--tc-font);font-size:11px;font-weight:650;text-align:left}
.yesterday-table th:first-child{width:42%;padding-left:24px}
.yesterday-table th:nth-child(2){width:20%;text-align:right}
.yesterday-table th:nth-child(3){width:16%}
.yesterday-table th:last-child{width:22%;padding-right:24px;text-align:right}
.yesterday-table td{height:60px;padding:12px 16px;border-top:1px solid var(--tc-line);font-size:13px;vertical-align:middle}
.yesterday-table td:first-child{padding-left:24px;overflow-wrap:anywhere}
.yesterday-table td:first-child strong{font-family:'DM Sans',system-ui,sans-serif;font-size:17px;font-weight:750;line-height:1.25}
.yesterday-borrower-link{color:var(--tc-ink);text-decoration:none}
.yesterday-borrower-link:hover{color:var(--tc-blue);text-decoration:underline;text-underline-offset:3px}
.yesterday-table td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.yesterday-table td:last-child{padding-right:24px;text-align:right}
.yesterday-table tbody tr:hover td{background:var(--tc-bg)}
.yesterday-table tbody tr td:first-child{box-shadow:inset 6px 0 var(--cheque-marker,#aeb4b0)}
.yesterday-table tbody tr.yesterday-cheque-pending{--cheque-marker:#aeb4b0}
.yesterday-table tbody tr.yesterday-cheque-passed{--cheque-marker:#27a66a}
.yesterday-table tbody tr.yesterday-cheque-bounced{--cheque-marker:#d84c45}
.yesterday-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 8px;border-radius:5px;background:var(--tc-bg);color:var(--tc-secondary);font-size:11px;font-weight:650;white-space:nowrap}
.yesterday-status-passed{background:var(--tc-green-soft);color:var(--tc-green-hover)}
.yesterday-status-bounced{background:var(--tc-red-soft);color:var(--tc-red-hover)}
.yesterday-table .result-actions{display:flex;justify-content:flex-end;gap:8px}
.yesterday-table .cheque-result{min-width:72px;min-height:36px;padding:8px 12px;border:1px solid transparent;border-radius:6px;color:var(--tc-surface);font-family:var(--tc-font);font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}
.yesterday-table .cheque-result[data-status="PASSED"]{background:var(--tc-green);border-color:var(--tc-green)}
.yesterday-table .cheque-result[data-status="PASSED"]:hover{background:var(--tc-green-hover);border-color:var(--tc-green-hover);transform:translateY(-1px)}
.yesterday-table .cheque-result[data-status="BOUNCED"]{background:var(--tc-red);border-color:var(--tc-red)}
.yesterday-table .cheque-result[data-status="BOUNCED"]:hover{background:var(--tc-red-hover);border-color:var(--tc-red-hover);transform:translateY(-1px)}
.yesterday-table .cheque-result:disabled{background:var(--tc-line);border-color:var(--tc-line);color:var(--tc-ink);cursor:wait;transform:none}
.yesterday-table .cheque-result:disabled:hover{background:var(--tc-line);border-color:var(--tc-line);color:var(--tc-ink)}
.result-done{color:var(--tc-secondary);font-size:12px}
.yesterday-visible-count{margin:0;padding:16px 24px;border-top:1px solid var(--tc-line);color:var(--tc-secondary);font-size:12px}
.yesterday-page :is(a,button,input):focus-visible{outline:2px solid var(--tc-blue);outline-offset:2px}
.yesterday-page :is(a,button):active{transform:translateY(1px)}
@media(max-width:980px){.yesterday-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.yesterday-overview>div:nth-child(3){border-top:1px solid var(--tc-line);border-left:0}.yesterday-overview>div:nth-child(4){border-top:1px solid var(--tc-line)}}
@media(max-width:620px){.yesterday-page{padding:16px}.yesterday-overview>div{min-height:96px;padding:16px}.yesterday-overview strong{font-size:21px}.yesterday-date strong{font-size:18px}.yesterday-date input{width:100%}.yesterday-older{align-items:flex-start;flex-direction:column}.yesterday-table-head{align-items:stretch;flex-direction:column;padding:16px}.yesterday-table-head input{width:100%}.yesterday-table-wrap{overflow:visible}.yesterday-table,.yesterday-table tbody,.yesterday-table tr,.yesterday-table td{display:block;width:100%;min-width:0}.yesterday-table thead{display:none}.yesterday-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px;border-top:1px solid var(--tc-line)}.yesterday-table td,.yesterday-table td:first-child,.yesterday-table td:last-child{height:auto;padding:0;border:0;text-align:left}.yesterday-table td:first-child{grid-column:1/-1}.yesterday-table td:nth-child(2){grid-column:1;text-align:left}.yesterday-table td:nth-child(3){grid-column:2;text-align:right}.yesterday-table td:last-child{grid-column:1/-1}.yesterday-table .result-actions{justify-content:flex-start;flex-wrap:wrap}.yesterday-visible-count{padding:16px}}
@media(prefers-reduced-motion:reduce){.yesterday-page *{transition:none!important;animation:none!important}}
