.study-note { color:#243e34; overflow-wrap:anywhere; }
.study-note .study-dateline { font-size:.85rem; color:#486253; margin:0 0 1.5rem; }
.study-note .intro { font-weight:550; line-height:1.85; }
.study-note h2 { scroll-margin-top:1.2rem; line-height:1.5; }
.study-note .reading-note { border-left:4px solid #497355; padding:.8rem 1rem; background:#e8f1e9; }
.study-note .reading-table { overflow-x:auto; max-width:100%; margin:1.25rem 0; }
.study-note table { border-collapse:collapse; width:100%; background:#fff; font-size:.94rem; line-height:1.55; }
.study-note caption { text-align:left; font-weight:650; padding:.35rem 0 .7rem; color:#234a3a; }
.study-note th,.study-note td { border-bottom:1px solid #cedacf; padding:.65rem .5rem; vertical-align:top; text-align:left; }
.study-note thead th { color:white; background:#235141; }
.study-note tbody th { background:#eef3eb; font-weight:600; }
.study-note table.amounts td { white-space:nowrap; text-align:right; font-variant-numeric:tabular-nums; }
.study-note .reading-links { margin:1.3rem 0; }
.study-note .reading-links p { margin-bottom:.15rem; }
.study-note .reading-links ul { margin:.1rem 0; padding-left:1.3rem; }
.study-note .reading-links li { margin:.3rem 0; }
.study-note a { color:#174e42; }
.study-note :focus-visible { outline:3px solid #90542d; outline-offset:3px; }
.study-note form { padding:clamp(.8rem,2.4vw,1.5rem); background:white; border:1px solid #b7cbbd; border-radius:10px; }
.study-note form[hidden] { display:none; }
.study-note fieldset { padding:.6rem 0 1rem; margin:0; min-width:0; }
.study-note legend { font-weight:650; color:#174e42; }
.study-note .receipt-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; }
.study-note .receipt-fields label { display:block; font-size:.9rem; }
.study-note .receipt-fields input { width:100%; min-width:0; display:block; font:inherit; font-size:1rem; padding:.6rem; border:1px solid #789282; border-radius:4px; color:#213d31; }
.study-note .filing-choice { display:flex; gap:.6rem; align-items:center; }
.study-note .filing-choice input { width:20px; height:20px; flex:none; }
.study-note .receipt-actions { display:flex; flex-wrap:wrap; gap:.55rem; margin:1rem 0; }
.study-note button { border:1px solid #35604a; background:white; color:#204733; padding:.5rem 1rem; min-height:44px; border-radius:5px; cursor:pointer; font:inherit; }
.study-note button[type="submit"] { background:#174e42; color:white; }
.study-note output { display:block; white-space:pre-line; background:#edf3ec; color:#254737; border-radius:4px; padding:.8rem; }
@media (max-width:650px) {
  .study-note table { font-size:.875rem; }
  .study-note th,.study-note td { padding:.45rem .35rem; }
  .study-note .receipt-fields { grid-template-columns:1fr; }
}
@media print {
  .study-note .reading-table { overflow:visible; }
  .study-note thead { display:table-header-group; }
  .study-note thead th { background:white; color:#152b20; border-bottom:2px solid #777; }
  .study-note tr { break-inside:avoid; }
  .study-note .receipt-actions { display:none; }
}
