/* PayoutPeek year-end report. Builds on /css/styles.css tokens (--ink, --muted, --line, --brand, --good, --bad, --warn, --soft). */
.ye{padding-top:28px;padding-bottom:60px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ye-hero{max-width:760px;margin:0 0 8px}
.ye-hero h1{letter-spacing:-.02em;margin:4px 0 10px;font-size:clamp(28px,5vw,40px);line-height:1.12;text-wrap:balance}
.ye-eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand-d)}
.ye-sub{font-size:17px;margin:0 0 8px;max-width:65ch}
.ye-h2{font-size:19px;margin:0 0 12px;letter-spacing:-.01em}
.ye-h3{font-size:15px;margin:0 0 6px}
.ye-period{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 22px}
.ye-period label{display:flex;align-items:center;gap:8px;font-weight:600}
.ye-period select{font:inherit;font-weight:400;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#fff;max-width:100%}
.ye-drop{display:grid;gap:4px;justify-items:center;text-align:center;border:2px dashed var(--line);border-radius:14px;padding:28px 16px;background:#fff;cursor:pointer}
.ye-drop.over,.ye-drop:hover{border-color:var(--brand);background:var(--soft)}
.ye-drop:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.ye-verdict{font-weight:700;margin:0 0 12px;padding:10px 12px;border-radius:10px}
.ye-verdict.good{background:#e8f5ef;color:var(--good)}
.ye-verdict.bad{background:#fdecea;color:#8a2318}
.ye-good{color:var(--good);font-weight:600;white-space:nowrap}
.ye-bad{color:var(--bad);font-weight:600}
.ye-list{margin:12px 0 0;padding-left:20px;display:grid;gap:4px;font-size:14px}
.ye-list.bad{color:#8a2318}
.ye-confirm{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14px;font-weight:600}
.ye-cols{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:22px;align-items:start}
@media (max-width:760px){.ye-cols{grid-template-columns:1fr}}
.ye-sum{min-width:0}
.ye-sum th[scope=rowgroup]{padding-top:14px;color:var(--ink);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.ye-sum tr.tot td{font-weight:800;border-top:2px solid var(--ink)}
.ye-sum tr.info td{color:var(--muted)}
.ye-sum td.n{white-space:nowrap}
#yeMonths tr.miss th,#yeMonths tr.miss td{color:var(--bad)}
#yeMonths tfoot th,#yeMonths tfoot td{font-weight:800;border-top:2px solid var(--ink)}
.ye-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.ye-buy{border:2px solid var(--brand);background:linear-gradient(180deg,var(--soft),#fff 60%)}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.ye-print{display:none}

@media print{
  @page{margin:16mm}
  body{background:#fff;font-size:11pt}
  body>*:not(main),.skip{display:none!important}
  main.ye>*{display:none!important}
  main.ye>#yePrint{display:block!important}
  .ye-print-head{display:flex;justify-content:space-between;gap:12px;border-bottom:2px solid #000;padding-bottom:6px;margin-bottom:8px}
  .ye-print-tag{font-weight:700;border:1px solid #000;padding:2px 6px;align-self:start}
  .ye-print-src{font-size:9pt;color:#333;margin:0 0 8px}
  .ye-print table{font-size:9.5pt;min-width:0}
  .ye-print th,.ye-print td{padding:3px 4px}
  .ye-print h3{font-size:11pt;margin:12px 0 4px}
  .ye-print ul{font-size:9pt;margin:0;padding-left:16px}
  .ye-print-months{break-inside:avoid}
}
.ye .ye-h2,.ye .ye-h3{text-align:left}
@media (max-width:560px){.ye-period{display:grid;gap:12px}.ye-period label{flex-wrap:wrap}.ye-period select{flex:1 1 100%;min-width:0;width:100%}}
