.afcr-shell{max-width:1100px}.afcr-intro{max-width:780px}.afcr-panel{padding:clamp(18px,4vw,32px);margin-bottom:26px}.afcr-panel .field input{width:100%;min-width:0}.afcr-form{display:grid;gap:24px}.afcr-form fieldset{min-width:0}.afcr-form .afcr-row{display:grid;grid-template-columns:1.05fr 1fr 1fr auto;gap:12px;align-items:end;padding:18px;margin:12px 0;border:1px solid var(--line,#d7e4e7);border-radius:14px;background:var(--surface,#fff)}.afcr-row[data-afcr-harvest-row]{grid-template-columns:1fr 1fr auto}.afcr-row legend{font-weight:700;padding:0 7px}.afcr-row .field{margin:0}.afcr-form .field input{font:inherit;color:inherit;background:var(--bg,#f5f9fa);border:1px solid var(--line,#b9d0d5);border-radius:9px;min-height:44px;padding:9px 10px}.afcr-row input[aria-invalid=true],.afcr-form [aria-invalid=true]{outline:2px solid #b42318;outline-offset:2px}.afcr-form button{font:inherit;cursor:pointer;min-height:44px}.afcr-actions{display:flex;flex-wrap:wrap;gap:10px}.afcr-actions button,.afcr-remove{border:1px solid var(--line,#b9d0d5);border-radius:10px;background:var(--surface,#fff);color:var(--ink,#173a44);padding:10px 16px}.afcr-actions .button,.afcr-form .afcr-calculate{background:#087f8c;color:#fff;border-color:#087f8c}.afcr-remove{color:#9b3025;padding:9px 12px}.afcr-form button:disabled{opacity:.5;cursor:not-allowed}.afcr-check{display:flex;gap:10px;align-items:flex-start;line-height:1.7}.afcr-check input{width:20px;height:20px;flex:0 0 20px;margin-top:4px}.afcr-assumption,.afcr-storage{padding:18px;border:1px solid var(--line,#d7e4e7);border-radius:14px;background:var(--soft,#eff8f7)}.afcr-storage h3{margin-top:0}.afcr-small{font-size:.9rem;line-height:1.7;color:var(--muted,#526872)}.afcr-error{padding:14px 18px;border:1px solid #d97b71;border-radius:10px;background:#fff1ee;color:#8e2117}.afcr-confirm{margin-top:12px;padding:14px;border:1px dashed var(--line,#93afb5);border-radius:10px}.afcr-result{padding:24px;border-radius:18px;background:#0b4651;color:#fff}.afcr-result .result-label{color:#c7f1ed}.afcr-number{font-size:clamp(2.4rem,7vw,4rem);font-weight:800;line-height:1.15;overflow-wrap:anywhere}.afcr-results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.afcr-results-grid div{border-top:1px solid #71959d;padding-top:12px}.afcr-results-grid dt{color:#c7e4e5;font-size:.9rem}.afcr-results-grid dd{font-size:1.25rem;font-weight:700;margin:5px 0 0;overflow-wrap:anywhere}.afcr-result .afcr-small{color:#d4e9ed}.afcr-summary{overflow-wrap:anywhere}.afcr-result button{background:#fff;color:#173a44;border-color:#fff}.afcr-copy textarea{width:100%;min-height:180px;padding:12px;font:inherit;background:#fff;color:#173a44}.afcr-copy label{display:block;margin:15px 0 5px}.afcr-status{min-height:1.7em;margin:0;line-height:1.7}.afcr-ledger h3{margin:0 0 6px}.afcr-ledger p{margin:0 0 10px}.afcr-article{margin-bottom:32px}.afcr-article .formula{overflow-wrap:anywhere}.afcr-article .on-page{flex-wrap:wrap}.afcr-related{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.afcr-related a{padding:12px 16px;border:1px solid var(--line,#d7e4e7);border-radius:10px}.afcr-example{padding:18px;border-left:4px solid #087f8c;background:var(--soft,#eff8f7);border-radius:8px}.afcr-form [hidden]{display:none!important}.afcr-form :focus-visible{outline:3px solid #eea91c;outline-offset:3px}@media(max-width:740px){.afcr-form .afcr-row{grid-template-columns:1fr 1fr}.afcr-row .field:first-of-type{grid-column:1/-1}.afcr-remove{align-self:end}.afcr-row[data-afcr-harvest-row]{grid-template-columns:1fr 1fr}.afcr-results-grid{grid-template-columns:1fr}.afcr-row .field span{font-size:.93rem}}@media(max-width:420px){.afcr-form .afcr-row{grid-template-columns:1fr}.afcr-row .field:first-of-type{grid-column:auto}.afcr-actions button{flex:1 1 160px}}[data-theme=dark] .afcr-row,[data-theme=dark] .afcr-actions button:not(.button){background:#183138;color:#e6f4f3}[data-theme=dark] .afcr-form .field input{background:#10282f;color:#e6f4f3}[data-theme=dark] .afcr-assumption,[data-theme=dark] .afcr-storage,[data-theme=dark] .afcr-example{background:#183138}[data-theme=dark] .afcr-result button{background:#fff;color:#173a44}[data-theme=dark] .afcr-error{background:#492824;color:#ffd6d1}
