#rate-editor{width:calc(100% - 24px);max-width:680px;max-height:92dvh;overflow:auto;padding:22px;border:1px solid #c7d2cc;border-radius:8px;color:#202a25;background:white;box-sizing:border-box}#rate-editor::backdrop{background:#14241c88}#rate-editor h2{font-size:21px;margin:0 0 10px;overflow-wrap:anywhere}#rate-editor p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}#rate-editor label{display:flex;flex-direction:column;gap:5px;font-size:14px;min-width:0}#rate-editor input,#rate-editor select,#rate-editor textarea{font:inherit;letter-spacing:0;min-width:0;max-width:100%;width:100%;padding:9px;border:1px solid #b8c8be;border-radius:4px;box-sizing:border-box}#rate-editor .rate-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}#rate-editor fieldset{margin:0;padding:0;border:0;min-width:0;display:grid;gap:10px}#rate-editor legend{font-size:14px;font-weight:700;margin-bottom:12px}#rate-editor .rate-mode{display:flex;flex-direction:row;align-items:center;gap:8px;margin:18px 0}#rate-custom{width:18px!important;height:18px;flex-shrink:0}#rate-editor table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px}#rate-editor caption{text-align:left;font-size:13px;padding:10px 0;color:#596b61}#rate-editor th,#rate-editor td{padding:10px 5px;overflow-wrap:anywhere;border-bottom:1px solid #dce5df;text-align:center}#rate-editor th:first-child{width:34%;text-align:left}#rate-editor thead{display:table-header-group}#rate-editor th{background:#edf2ef}#rate-editor td{font-variant-numeric:tabular-nums}#rate-editor .rate-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}#rate-editor .rate-impact{color:#5e6f64}#rate-error{color:#a52b38}#rate-coverage{color:#7e5c15}#rate-editor [hidden]{display:none!important}#rate-editor button:disabled{opacity:.55}#rate-editor :focus-visible{outline:3px solid #dca02b;outline-offset:2px}@media(max-width:480px){#rate-editor{padding:16px}#rate-editor .rate-fields{gap:12px}#rate-editor legend{font-size:13px}#rate-editor .rate-actions button{flex:1 1 110px}#rate-editor th,#rate-editor td{font-size:12px;padding:9px 4px}}
#rate-editor caption{display:table-caption}#rate-editor .rate-actions{position:sticky;bottom:-22px;background:white;padding:12px 0 4px;border-top:1px solid #dce5df}@media(max-width:480px){#rate-editor .rate-actions{bottom:-16px}}
#rate-editor .rate-people-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#rate-form>.rate-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
#rate-editor input[readonly]{background:#f1f4f5;color:#63737a}

/* This shared editor is used by both template and actual-schedule pricing. */
body #rate-editor :is(caption,.rate-impact){color:#c2c2c2}
body #rate-coverage{color:#ffd494}
body #rate-error{color:#ffb7b7}
body #rate-editor .rate-actions{background:var(--hh-panel,#1d1d1d);border-color:#555}
body #rate-editor :is(input[readonly],input:disabled,textarea:disabled){color:#c2c2c2!important;-webkit-text-fill-color:#c2c2c2;opacity:1}
body #rate-editor textarea::placeholder{color:#c2c2c2;opacity:1}
