/* Statement document — card theme (screen preview and PDF). */
.statement-document.sd2{--sd-ink:#101828;--sd-text:#344054;--sd-muted:#667085;--sd-line:#e4e7ec;background:#f4f7fc!important;color:var(--sd-ink);font-family:Inter,"Segoe UI",Roboto,system-ui,sans-serif;border-radius:16px;padding:28px!important;font-variant-numeric:tabular-nums}
.sd2 .sd2-head{display:flex;justify-content:space-between;align-items:center;border:0!important;padding:0 4px 18px!important;margin:0!important}
.sd2 .sd2-brand{display:flex;align-items:center;gap:10px}.sd2 .sd2-brand img{height:30px;max-width:120px;object-fit:contain}.sd2 .sd2-brand strong{font-size:17px;font-weight:700}
.sd2 .sd2-mark{width:24px;height:24px;border-radius:7px;background:#6d5df0;display:inline-block}
.sd2 .sd2-title{text-align:right}.sd2 .sd2-title span{display:block;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--sd-muted)}.sd2 .sd2-title strong{display:block;font-size:16px;font-weight:700;margin-top:3px}
.sd2 .sd2-summary{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.6fr);gap:20px;align-items:center;background:#fff;border-radius:18px;padding:14px;box-shadow:0 4px 16px rgba(40,50,90,.05)}
.sd2 .sd2-tile{border-radius:14px;padding:18px 20px;color:#fff;background:linear-gradient(120deg,#6d5df0,#8f7cf8)}.sd2 .sd2-tile.is-neg{background:linear-gradient(120deg,#d92d20,#f97066)}.sd2 .sd2-tile.is-pos{background:linear-gradient(120deg,#079455,#32d583)}
.sd2 .sd2-tile span{display:block;font-size:12.5px;font-weight:600;opacity:.92}.sd2 .sd2-tile .sd2-tile-name{font-size:13px;opacity:.85;margin-bottom:6px}
.sd2 .sd2-tile strong{display:block;font-size:34px;font-weight:750;letter-spacing:-1px;line-height:1.1;margin-bottom:4px;color:#fff}
.sd2 em{font-style:normal;font-size:11px;font-weight:600;margin-left:5px;color:#98a2b3;letter-spacing:.2px}.sd2 .sd2-tile em{color:rgba(255,255,255,.8);font-size:13px}
.sd2 .sd2-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:10px}
.sd2 .sd2-stats>div{padding:0 6px}.sd2 .sd2-stats strong{display:block;font-size:18px;font-weight:700;white-space:nowrap}.sd2 .sd2-stats>div>span{display:block;font-size:11.5px;color:var(--sd-text);margin-top:4px}
.sd2 .sd2-status{margin:14px 4px 0;font-size:14px;font-weight:650}.sd2 .sd2-status.is-neg{color:#b42318}.sd2 .sd2-status.is-pos{color:#067647}.sd2 .sd2-status.is-zero{color:var(--sd-muted)}
.sd2 .sd2-note{margin:6px 4px 0;font-size:11.5px;color:var(--sd-muted)}
.sd2 .sd2-h{margin:26px 4px 10px!important;font-size:11px!important;font-weight:700!important;letter-spacing:1.2px;text-transform:uppercase;color:var(--sd-muted)!important}
.sd2 .sd2-club{background:#fff;border-radius:16px;padding:6px 6px 4px;margin-bottom:12px;box-shadow:0 4px 16px rgba(40,50,90,.05)}
.sd2 .sd2-club-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 12px 10px!important;border-bottom:1px solid var(--sd-line)}
.sd2 .sd2-club-head>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sd2 .sd2-club-head strong{font-size:15px;font-weight:700}
.sd2 .sd2-pill{font-size:10.5px;font-weight:700;color:#5925dc;background:#efeafe;border-radius:6px;padding:3px 7px}.sd2 .sd2-count{font-size:11px;color:var(--sd-muted)}
.sd2 .sd2-club-total{text-align:right}.sd2 .sd2-club-total small{display:block;font-size:10px;color:var(--sd-muted);margin-bottom:2px}.sd2 .sd2-club-total .statement-number{font-size:16px;font-weight:700}
.sd2 table{width:100%;border-collapse:collapse;min-width:0!important;table-layout:auto}
.sd2 th{font-size:9.5px!important;font-weight:700!important;letter-spacing:.6px;text-transform:uppercase;color:var(--sd-muted)!important;padding:9px 7px!important;text-align:left;background:transparent!important;border:0!important;white-space:nowrap}
.sd2 td{font-size:11.5px;padding:9px 7px!important;border:0!important;border-top:1px solid #f0f2f6!important;color:var(--sd-text);vertical-align:middle}
.sd2 .numeric{text-align:right!important;white-space:nowrap}
.sd2 .sd2-account strong{font-weight:600;color:var(--sd-ink);font-size:12px}.sd2 .sd2-account small{display:block;font-size:10px;color:var(--sd-muted);margin-top:1px}
.sd2 .sd2-deal{font-size:10.5px;color:var(--sd-muted);white-space:nowrap}.sd2 .sd2-muted{color:var(--sd-muted)}
.sd2 .statement-number.positive{color:#067647}.sd2 .statement-number.negative{color:#b42318}.sd2 .statement-number.neutral{color:#98a2b3}
.sd2 .sd2-total{display:flex;justify-content:space-between;align-items:center;border:0!important;border-radius:14px;margin:4px 0 0!important;padding:14px 18px!important;background:#fff;box-shadow:0 4px 16px rgba(40,50,90,.05);font-size:13px;font-weight:600}
.sd2 .sd2-total.is-pos{background:#ecfdf3}.sd2 .sd2-total.is-neg{background:#fef3f2}.sd2 .sd2-total strong .statement-number{font-size:20px;font-weight:750}
.sd2 .sd2-moves{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(40,50,90,.05)}
.sd2 .sd2-moves th{padding:11px 12px!important}.sd2 .sd2-moves td{padding:11px 12px!important}.sd2 .sd2-moves td strong{display:block;font-weight:600;color:var(--sd-ink)}.sd2 .sd2-moves td small{display:block;font-size:10.5px;color:var(--sd-muted)}
.sd2 .sd2-date{white-space:nowrap}
.sd2 .sd2-tag{display:inline-block;font-size:10.5px;font-weight:700;border-radius:6px;padding:4px 8px}.sd2 .sd2-tag.is-purple{background:#efeafe;color:#5925dc}.sd2 .sd2-tag.is-amber{background:#fff4e0;color:#93370d}.sd2 .sd2-tag.is-gray{background:#eceef2;color:#344054}
.sd2 .sd2-empty{background:#fff;border-radius:16px;padding:20px;color:var(--sd-muted);text-align:center}
.sd2 .sd2-foot{display:flex;justify-content:space-between;border:0!important;margin-top:18px!important;padding:0 4px!important;font-size:10px;color:#98a2b3}
.statement-pdf-render .statement-document.sd2{border-radius:0!important}
@media (max-width:760px){#application .sd2 .sd2-summary{grid-template-columns:1fr}#application .sd2 .sd2-stats{grid-template-columns:1fr 1fr}#application .sd2 .sd2-club{overflow-x:auto}}
.sd2 .sd2-stats strong{font-size:18px!important;font-weight:700!important;line-height:1.2}.sd2 .sd2-stats strong em{display:inline}
.sd2 .sd2-stats>div>span{font-size:11.5px!important}.sd2 .sd2-stats .statement-number{font-size:18px!important;font-weight:700}
.sd2 .sd2-club-head{background:transparent!important;color:var(--sd-ink)!important}.sd2 .sd2-club-head strong{color:var(--sd-ink)!important}
.sd2 .sd2-account{min-width:120px}.sd2 .sd2-account small{white-space:nowrap;overflow-wrap:normal!important}
.sd2 td,.sd2 th{overflow-wrap:normal!important}
.sd2 .sd2-tile strong{font-size:34px!important}
.sd2 td,.sd2 th{overflow:visible!important;text-overflow:clip!important;max-width:none!important}.sd2 .sd2-account small{white-space:normal}
/* PDF: white paper, cards outlined instead of shadowed, so page breaks stay clean. */
.statement-pdf-render .statement-document.sd2{background:#ffffff!important;padding:24px 22px!important}
.statement-pdf-render .sd2 :is(.sd2-summary,.sd2-club,.sd2-total,.sd2-moves,.sd2-empty){box-shadow:none!important;border:1px solid #e4e7ec}
.statement-pdf-render .sd2 .sd2-moves{border-collapse:separate;border-spacing:0}
.statement-pdf-render .statement-document.sd2{border:0!important;box-shadow:none!important}
.statement-pdf-render .sd2 .sd2-club{border:0!important;padding:0!important;margin-bottom:18px;background:transparent}
.statement-pdf-render .sd2 .sd2-club-head{background:#f6f7fb!important;border:0!important;border-radius:12px;padding:12px 14px!important}
/* Compact pass: smaller type and tighter rows so long lists fit on fewer pages. */
.statement-document.sd2{padding:22px!important}
.sd2 .sd2-head{padding:0 2px 12px!important}.sd2 .sd2-wordmark{height:24px;width:auto;display:block}.sd2 .sd2-brand img{height:24px}
.sd2 .sd2-title strong{font-size:13px;font-weight:700;margin:0}
.sd2 .sd2-summary{grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);gap:14px;padding:10px;border-radius:14px}
.sd2 .sd2-tile{padding:11px 14px;border-radius:11px}.sd2 .sd2-tile .sd2-tile-name{font-size:11px;margin-bottom:3px}
.sd2 .sd2-tile strong{font-size:24px!important;letter-spacing:-.6px;margin-bottom:2px}.sd2 .sd2-tile span{font-size:11px}.sd2 .sd2-tile em{font-size:11px}
.sd2 .sd2-stats strong,.sd2 .sd2-stats .statement-number{font-size:14px!important}.sd2 .sd2-stats>div>span{font-size:10px!important;margin-top:2px}
.sd2 em{font-size:9.5px}
.sd2 .sd2-status{margin:9px 2px 0;font-size:12px}.sd2 .sd2-note{font-size:10px}
.sd2 .sd2-h{margin:16px 2px 7px!important;font-size:9.5px!important}
.sd2 .sd2-club{margin-bottom:9px;border-radius:12px}
.sd2 .sd2-club-head{padding:7px 10px!important}.sd2 .sd2-club-head strong{font-size:12.5px}.sd2 .sd2-pill{font-size:9px;padding:2px 6px}.sd2 .sd2-count{font-size:9.5px}
.sd2 .sd2-club-total small{font-size:8.5px;margin:0}.sd2 .sd2-club-total .statement-number{font-size:13px}
.sd2 th{font-size:8px!important;padding:5px 6px!important}
.sd2 td{font-size:10px!important;padding:4.5px 6px!important}
.sd2 .sd2-account strong{font-size:10px}.sd2 .sd2-account small{font-size:8.5px}.sd2 .sd2-deal{font-size:9px}
.sd2 .sd2-total{padding:9px 14px!important;font-size:11px;border-radius:11px}.sd2 .sd2-total strong .statement-number{font-size:15px}
.sd2 .sd2-moves th,.sd2 .sd2-moves td{padding:6px 9px!important}.sd2 .sd2-moves td small{font-size:8.5px}.sd2 .sd2-tag{font-size:9px;padding:2px 6px}
.sd2 .sd2-foot{margin-top:12px!important;font-size:8.5px}
.statement-pdf-render .sd2 .sd2-club{margin-bottom:12px}.statement-pdf-render .sd2 .sd2-club-head{padding:7px 10px!important;border-radius:9px}
/* Same column grid in every club table, so figures line up across clubs. */
.sd2 .sd2-table{table-layout:fixed!important;width:100%}
.sd2 .sd2-c-acc{width:21%}.sd2 .sd2-c-num{width:10.5%}.sd2 .sd2-c-sm{width:8.5%}.sd2 .sd2-c-res{width:11.75%}
.sd2 .sd2-account strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
