.er-page{max-width:1120px;margin:auto;padding:26px 24px 48px}.er-intro{max-width:780px;margin:12px 0 24px}.er-intro h1{margin-bottom:12px;font-size:clamp(27px,3.4vw,39px)}.er-intro p{color:var(--muted);font-size:16px;line-height:1.6}.er-workspace{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px;display:grid}.er-card{border:1px solid var(--border);background:var(--paper);border-radius:18px;min-width:0;padding:24px;box-shadow:0 4px 20px #183c2506}.er-toolbar{justify-content:space-between;align-items:start;gap:14px;display:flex}.er-step{text-transform:uppercase;letter-spacing:.7px;color:var(--accent);margin:0 0 6px;font-size:11px;font-weight:700}.er-card h2{margin:0 0 16px;font-size:22px}.er-currency{flex:0 0 96px}.er-currency label{font-size:12px;font-weight:600}.er-page select,.er-page textarea{font:inherit}.er-page input,.er-page textarea,.er-page select{color:var(--ink);background:#fff;border:1px solid #b4c6b8;border-radius:9px;width:100%;min-width:0;min-height:44px;margin-top:6px;padding:9px 10px;font-size:15px;line-height:1.4;display:block}.er-page input[type=date]{min-height:44px}.er-page textarea{resize:vertical}.er-page button{font:inherit;min-height:44px;color:var(--accent);background:#fff;border:1px solid #b4c6b8;border-radius:9px;padding:9px 12px;font-size:13px;font-weight:600;line-height:1.4}.er-page button:hover:not(:disabled){background:var(--wash)}.er-page button:disabled{opacity:1;color:#617369;border-color:var(--border);background:#f0f4ef}.er-page .er-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.er-page .er-primary:hover:not(:disabled){background:var(--accent-hover)}.er-page .er-primary:disabled{color:#617369;border-color:var(--border);background:#f0f4ef}.er-actions{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.er-page .er-actions button{min-height:36px;padding:6px 9px;font-size:12px}.er-page .er-quiet,.er-page .er-remove,.er-page .er-text-button{color:var(--muted);background:0 0;border-color:#0000}.er-fieldset{border:0;min-width:0;margin:0;padding:0}.er-expense{border:1px solid var(--border);background:#fcfdfa;border-radius:13px;margin-bottom:16px;padding:16px}.er-row-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.er-row-head h3{color:var(--accent);font-size:14px}.er-page .er-remove{min-height:32px;padding:4px 7px;font-size:12px}.er-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 13px;display:grid}.er-field{min-width:0}.er-field label,.er-short-label{color:var(--ink);font-size:13px;font-weight:600;line-height:1.4;display:block}.er-accessible-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.er-wide{grid-column:1/-1;min-width:0}.er-field-error{min-height:18px;color:var(--error);margin:3px 0 0;font-size:11px;line-height:1.4}.er-page [aria-invalid=true]{border-color:var(--error)}.er-page .er-add{background:var(--wash);border-style:dashed;width:100%;margin-bottom:18px}.er-report-details{border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:18px;padding:14px 0}.er-report-details summary,.er-ledger summary{cursor:pointer;min-height:36px;padding:5px 0;font-size:14px;font-weight:600}.er-report-details summary span{color:var(--muted);margin-left:10px;font-size:12px;font-weight:400}.er-report-details .er-fields{margin-top:12px}.er-advance .er-field{max-width:300px}.er-help{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.55}.er-result{position:sticky;top:20px}.er-status{color:var(--muted);min-height:37px;margin-bottom:15px;font-size:12px;line-height:1.55}.er-balance{background:var(--wash);border-radius:12px;margin-bottom:14px;padding:18px 16px}.er-balance>p:first-child{font-size:13px;font-weight:600}.er-balance>strong{letter-spacing:-.6px;overflow-wrap:anywhere;margin:6px 0;font-size:clamp(22px,2.8vw,33px);line-height:1.25;display:block}.er-balance .er-help{margin-top:5px}.er-totals>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:start;gap:12px;padding:9px 0;font-size:12px;display:flex}.er-totals dt{color:var(--muted);max-width:55%}.er-totals dd{text-align:right;overflow-wrap:anywhere;max-width:55%;margin:0;font-weight:600}.er-empty,.er-invalid,.er-warning,.er-confirm{background:var(--wash);border-radius:11px;padding:16px;font-size:13px;line-height:1.55}.er-invalid,.er-warning{color:#923f24;background:#fff5ec;border:1px solid #eed2c0}.er-warning{margin-top:16px}.er-row-invalid{color:var(--error);margin-top:7px;font-size:12px}.er-confirm{border:1px solid #bcccbc;margin:0 0 16px}.er-confirm>div{gap:10px;margin-top:10px;display:flex}.er-exports{gap:10px;margin-top:20px;display:grid}.er-ledger{margin-top:14px}.er-ledger-row{border-bottom:1px solid var(--border);overflow-wrap:anywhere;padding:12px 0;font-size:12px;line-height:1.5}.er-ledger-row p{color:var(--muted);margin-top:4px}.er-preserve{white-space:pre-wrap}.er-guide{border-top:1px solid var(--border);margin-top:36px;padding-top:28px}.er-guide h2{margin-bottom:14px;font-size:24px}.er-guide h3{margin:22px 0 9px;font-size:17px}.er-guide p,.er-guide li{color:var(--muted);font-size:14px;line-height:1.7}.er-guide p+p{margin-top:10px}.er-guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;display:grid}.er-guide-example{background:var(--paper);border:1px solid var(--border);border-radius:12px;margin-top:20px;padding:18px}.er-guide-example strong{color:var(--ink)}.er-guide-links{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.er-guide-links a{font-weight:600}.er-guide .er-sources{padding-left:20px}.er-guide .er-sources li+li{margin-top:7px}.er-noscript{background:var(--wash);margin-bottom:16px;padding:14px;font-size:13px}@media (max-width:850px){.er-page{padding:20px 18px 36px}.er-workspace{grid-template-columns:1fr;gap:18px}.er-result{position:static}.er-card{padding:18px}.er-guide-grid{grid-template-columns:1fr;gap:4px}.er-intro p{font-size:14px}.er-intro{margin-bottom:20px}.er-intro h1{font-size:31px}.er-card h2{font-size:21px}}@media (max-width:430px){.er-page{padding:14px 12px 30px}.er-page .invoice-breadcrumbs{font-size:10px}.er-intro{margin-top:9px;margin-bottom:17px}.er-intro h1{margin-bottom:9px;font-size:27px}.er-intro p{font-size:13px;line-height:1.5}.er-card{border-radius:14px;padding:16px}.er-card h2{font-size:20px}.er-step{font-size:10px}.er-expense{padding:12px}.er-fields{gap:3px 11px}.er-field label,.er-short-label{font-size:12px}.er-page input,.er-page textarea,.er-page select{padding:9px 8px;font-size:16px}.er-currency{flex-basis:100px}.er-currency select{font-size:13px}.er-actions{gap:5px;margin-bottom:14px}.er-page .er-actions button{min-height:34px;font-size:11px}.er-report-details summary span{margin-left:16px;font-size:11px;display:block}.er-balance>strong{font-size:28px}.er-report-details .er-fields{grid-template-columns:1fr}.er-guide h2{font-size:22px}}@media (max-width:340px){.er-fields{grid-template-columns:1fr}.er-intro h1{font-size:25px}.er-guide-example{padding:14px}}@media (prefers-reduced-motion:reduce){.er-page *{scroll-behavior:auto}}.er-print-resources{border:1px solid var(--border);background:var(--paper);border-radius:18px;margin-top:28px;padding:24px}.er-print-resources h2{margin:0 0 12px;font-size:23px;line-height:1.3}.er-print-resources>p{max-width:760px;color:var(--muted);font-size:14px;line-height:1.65}.er-resource-downloads{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px;display:grid}.er-resource-download{border:1px solid var(--border);background:var(--wash);min-width:0;min-height:44px;color:var(--ink);border-radius:12px;flex-direction:column;gap:8px;padding:18px;text-decoration:none;display:flex}.er-resource-download strong{color:var(--accent);text-underline-offset:3px;font-size:16px;text-decoration:underline}.er-resource-download span{color:var(--muted);font-size:13px;line-height:1.6}.er-resource-download .er-resource-format{margin-top:auto;padding-top:4px;font-size:12px;font-weight:600}.er-resource-download:hover{border-color:var(--accent);background:var(--paper)}.er-resource-download:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media (max-width:650px){.er-print-resources{border-radius:14px;padding:18px}.er-print-resources h2{font-size:21px}.er-resource-downloads{grid-template-columns:1fr;gap:12px}.er-resource-download{padding:16px}}
