.help-btn{display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border-radius:50%;border:1px solid #b99570;background:#fff8ed;color:#855729;font-size:11px;line-height:1;vertical-align:middle}.help-btn:hover{background:#ad7137;color:#fff}.field-action{border:0;background:transparent;padding:2px 0;text-align:left;font-size:10px;color:#87582d;text-decoration:underline}.field-hint{font-size:10px;color:var(--muted);line-height:1.45}.exception-panel{border:1px solid #e1b365;background:#fff9e9;border-radius:10px;padding:12px}.exception-comparison{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px dashed #d8b77f;font-size:11px}.exception-comparison span{background:#fff;border-radius:6px;padding:5px 8px}.voucher-first{display:grid;grid-template-columns:minmax(240px,1fr) 1.5fr;gap:10px;padding:11px;border:1px dashed #c79b6d;background:#fff9ef;border-radius:9px;margin-bottom:10px}.recognition-result{display:grid;gap:4px;align-content:center}.recognition-result b{color:#6b4725}.recognition-result span{font-size:11px;color:var(--muted)}.system-tag{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:#efe5d8;color:#80552d;font-size:10px}.allocation-block{margin-top:10px;border:1px solid #e4d6c7;border-radius:9px;padding:10px;background:#fcfaf7}.allocation-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.allocation-heading small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.allocation-presets{display:grid;gap:8px}.allocation-choices{display:flex;flex-wrap:wrap;gap:7px}.allocation-choice{display:flex;align-items:center;gap:6px;width:auto;padding:7px 10px;border:1px solid #d7c5b2;border-radius:999px;background:#fff;cursor:pointer}.allocation-choice input{width:auto;margin:0}.allocation-choice:has(input:checked){border-color:#a96c32;background:#fff3df;color:#74461e;font-weight:800}.allocation-choice:has(input:disabled){opacity:.55;cursor:not-allowed}.hq-choice{border-radius:8px;background:#fff8eb}.allocation-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:6px;margin-top:10px}.allocation-result{display:grid;grid-template-columns:1fr auto;gap:3px 8px;padding:8px 10px;border-radius:7px;background:#f2ece4}.allocation-result strong{grid-column:1/-1;color:#5f462f}.allocation-total{text-align:right;margin-top:7px;color:#2f6c3a;font-weight:800}.amount-formula{display:none}.help-content{display:grid;gap:10px}.help-content section{padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}.help-content b{color:#68451f}.help-content p{margin:5px 0 0;line-height:1.65}.help-dialog{width:min(620px,92vw)}input[readonly],select:disabled{background:#f1ede7;color:#665b52;border-color:#ddd2c6}.line-card .span2{grid-column:span 2}@media(max-width:640px){.voucher-first{grid-template-columns:1fr}.exception-comparison{display:grid}.line-card .span2{grid-column:auto}.field-action{text-align:center;padding:5px}.help-btn{width:22px;height:22px}.allocation-results{grid-template-columns:1fr}}
