:root{font-family:system-ui,sans-serif;color:#203c39;background:#f4f6f2}*{box-sizing:border-box}body{margin:0}header,main{max-width:760px;margin:auto;padding:24px}header{border-bottom:1px solid #d1ddd6}h1{font-size:27px}.eyebrow{letter-spacing:.14em;font-size:12px;color:#557b70}.notice{background:#fff2c5;padding:12px;font-size:14px;border-radius:8px}section{background:white;padding:20px;border-radius:14px;margin-bottom:20px}label{display:block;margin:14px 0;font-size:15px}input:not([type=checkbox]),select,textarea{width:100%;padding:12px;border:1px solid #afc2b8;border-radius:7px;background:#fff;font:inherit;margin-top:5px}input[type=checkbox]{width:20px;height:20px;vertical-align:middle}button{padding:13px 18px;background:#216658;color:#fff;border:0;border-radius:8px;font:inherit;cursor:pointer}h2{font-size:20px;margin-top:28px}.bar{display:flex;justify-content:space-between;align-items:center}details{margin-top:22px}summary{cursor:pointer}#status{font-weight:600;color:#9c421a;white-space:pre-wrap}#history p{padding:10px;border-bottom:1px solid #ddd}output{display:block;overflow-wrap:anywhere;margin-top:16px}#stockFields,#lossFields,#otherFields{display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px}@media(max-width:500px){header,main{padding:16px}section{padding:14px}h1{font-size:23px}#stockFields,#lossFields,#otherFields{grid-template-columns:1fr}}

#csvResult,#originalCsv{white-space:pre-wrap;overflow-wrap:anywhere}#originalCsv{font-size:12px;max-height:220px;overflow:auto}#ledgerList button{font-size:12px;margin-left:8px}

/* Author styles must not override hidden setup/private controls. */
[hidden]{display:none!important}
