.payment-terms-page .panel{min-height:420px}.compact-actions{padding:0;flex-wrap:wrap}.term-rule-summary{display:flex;gap:12px;align-items:center;padding:11px 13px;margin:10px 0;background:#f2e6d7;border:1px solid #dec6ad;border-radius:9px;color:#604426}.term-rule-summary span{font-size:12px}.term-filters{display:grid;grid-template-columns:2fr 1.3fr 1fr 1fr}.term-filters select{width:100%}.term-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:0 0 15px}.term-tabs button{border:0;border-radius:8px 8px 0 0;background:#f1e9e0;color:var(--muted)}.term-tabs button.active{background:var(--brown);color:#fff}.term-panel{min-height:260px}.term-panel h3,.term-calculator h3{margin:0 0 8px;color:#664521}.term-special-note{min-height:54px}.term-calculator{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px;align-items:center;margin-top:14px;padding:14px;background:#f5eee5;border:1px solid var(--line);border-radius:10px}.term-calculator strong,.term-calculator span{display:block}.term-calculator strong{font-size:22px;color:#664521}.term-calculator small,.term-calculator span{color:var(--muted)}.term-scope-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.term-scope-grid>section{border:1px solid var(--line);border-radius:10px;padding:13px;background:#fff}.term-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.term-checks label,.term-toggle{display:flex;align-items:center;gap:7px;padding:8px;background:#f5eee5;border-radius:7px;color:var(--ink)}.term-checks input,.term-toggle input{width:auto}.term-scope-grid select[multiple]{min-height:126px}.payment-terms-page textarea{min-height:72px;resize:vertical}.payment-terms-page td .actions{justify-content:flex-start;padding:0}.term-empty{text-align:center;color:var(--muted);padding:24px}.term-version-pending{color:#765800;font-weight:800}
@media(max-width:1000px){.term-filters{grid-template-columns:1fr 1fr}.term-calculator{grid-template-columns:1fr 1fr}.term-calculator>div:last-child{grid-column:1/-1}.term-scope-grid{grid-template-columns:1fr}}
@media(max-width:640px){.term-filters,.term-calculator{grid-template-columns:1fr}.term-calculator>div:last-child{grid-column:auto}.term-tabs{overflow:auto}.term-tabs button{white-space:nowrap}.term-rule-summary{display:grid}.payment-terms-page .panel-head{align-items:flex-start;flex-direction:column}.payment-terms-page .panel-head .actions{justify-content:flex-start}}
