@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&family=Source+Code+Pro:wght@400;600&display=swap');
* { box-sizing: border-box; } html, body { margin: 0; padding: 0; }
body { font-family: 'Source Serif Pro',serif; background: #0E0E10; color: #F2F1EE; font-size: 15px; line-height: 1.5; }
.book { max-width: 1080px; margin: 0 auto; padding: 30px 28px 60px; }
.book .head { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 3px double #F2F1EE; font-family: 'Source Code Pro',monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.book .head nav { display: flex; gap: 18px; }
.book .head nav a { color: #F2F1EE; text-decoration: none; }
.book .head nav a:hover { text-decoration: underline; }
.ledger-title { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 32px 0 24px; padding-bottom: 8px; border-bottom: 1px solid #F2F1EE; }
.ledger-title h1 { font-weight: 700; font-size: clamp(40px, 5.5vw, 60px); line-height: 1.05; margin: 0; color: #E5C9E5; letter-spacing: -0.01em; }
.ledger-title .stamp { font-family: 'Source Code Pro',monospace; font-size: 12px; padding: 4px 10px; border: 1px solid #C8F165; color: #C8F165; text-transform: uppercase; letter-spacing: 0.1em; transform: rotate(-2deg); white-space: nowrap; }
.lede { font-size: 18px; max-width: 640px; margin: 0 0 28px; color: #666666; font-style: italic; }
.entry-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: 'Source Code Pro',monospace; }
.entry-table th, .entry-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #E5E5E5; vertical-align: top; }
.entry-table th { font-family: 'Source Code Pro',monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: #C8F165; border-bottom: 2px solid #F2F1EE; font-weight: 600; }
.entry-table .desc { font-family: 'Source Serif Pro',serif; font-size: 16px; max-width: 600px; }
.entry-table .desc h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.entry-table .desc p { margin: 0; font-size: 14px; line-height: 1.55; color: #666666; }
.entry-table .credit { color: #C8F165; font-weight: 600; text-align: right; }
.entry-table .balance { text-align: right; font-weight: 700; }
.entry-table tr.totals { border-top: 3px double #F2F1EE; }
.entry-table tr.totals td { border-bottom: 0; padding-top: 16px; font-weight: 700; }
.cta-line { margin-top: 30px; padding: 20px 26px; background: #F2F1EE; color: #0E0E10; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; font-family: 'Source Code Pro',monospace; }
.cta-line a { background: #C8F165; color: #0E0E10; padding: 10px 22px; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
footer { margin-top: 24px; font-family: 'Source Code Pro',monospace; font-size: 12px; color: #666666; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #F2F1EE; letter-spacing: 0.06em; }
footer a { color: #F2F1EE; text-decoration: none; }
@media (max-width: 720px) { .entry-table th, .entry-table td { padding: 10px 8px; font-size: 13px; } .entry-table .credit, .entry-table .balance { display: none; } }
.ledger-doc { max-width: 920px; margin: 0 auto; padding: 30px 28px 60px; }
.ledger-doc article { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 14px 0; border-top: 1px dashed #E5E5E5; }
.ledger-doc article:first-of-type { border-top: 0; }
.ledger-doc article .ref { font-family: 'Source Code Pro',monospace; font-size: 12px; color: #C8F165; padding-top: 4px; letter-spacing: 0.06em; }
.ledger-doc article h2 { font-size: 17px; margin: 0 0 4px; font-weight: 700; }
.ledger-doc article p { font-size: 15px; line-height: 1.6; margin: 0; }
.ledger-faq { margin: 28px 0; padding-top: 14px; border-top: 3px double #F2F1EE; }
.ledger-faq h2 { font-family: 'Source Code Pro',monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #C8F165; }
.ledger-faq .qa { padding: 12px 0; border-top: 1px solid #E5E5E5; }
.ledger-faq .qa h4 { font-size: 16px; margin: 0 0 4px; font-weight: 700; }
.ledger-faq .qa p { font-size: 14px; line-height: 1.55; margin: 0; color: #666666; }

/* Ledger form — accounting-row layout, double-line headers */
.cf-led { margin: 30px 0; border-top: 3px double #F2F1EE; border-bottom: 3px double #F2F1EE; padding: 22px 0; }
.cf-led .cf-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid #F2F1EE; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.cf-led .cf-head h2 { font-family: 'Source Serif Pro',serif; font-weight: 700; font-size: 26px; margin: 0; color: #E5C9E5; letter-spacing: -0.005em; }
.cf-led .cf-intro { font-family: 'Source Code Pro',monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #666666; margin: 0; }
.cf-led .cf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #F2F1EE; }
.cf-led .cf-label { display: grid; padding: 14px 16px; border-right: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5; }
.cf-led .cf-label:nth-child(2n) { border-right: 0; }
.cf-led .cf-label.cf-subject, .cf-led .cf-label.cf-message { grid-column: span 2; border-right: 0; }
.cf-led .cf-label > span { font-family: 'Source Code Pro',monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #C8F165; font-weight: 600; margin-bottom: 4px; }
.cf-led input, .cf-led textarea { width: 100%; font-family: 'Source Serif Pro',serif; font-size: 16px; padding: 4px 0; border: 0; background: transparent; color: #F2F1EE; }
.cf-led input:focus, .cf-led textarea:focus { outline: none; background: #C8F16510; }
.cf-led textarea { min-height: 90px; resize: vertical; }
.cf-led .cf-hp { display: none; }
.cf-led .cf-actions { margin-top: 18px; padding-top: 14px; border-top: 1px solid #F2F1EE; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cf-led .cf-submit { font-family: 'Source Code Pro',monospace; padding: 10px 22px; background: #F2F1EE; color: #0E0E10; border: 0; font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.cf-led .cf-submit:hover { background: #C8F165; }
.cf-led .cf-direct { font-family: 'Source Code Pro',monospace; font-size: 11px; letter-spacing: 0.1em; color: #666666; }
.cf-led .cf-direct a { color: #F2F1EE; text-decoration: underline; }
@media (max-width: 640px) { .cf-led .cf-fields { grid-template-columns: 1fr; } .cf-led .cf-label { border-right: 0; } .cf-led .cf-label.cf-subject, .cf-led .cf-label.cf-message { grid-column: span 1; } }
