.cu-editor{width:min(1040px,94vw);overflow-x:hidden}
.cu-editor .st-form-body{padding:28px;overflow-wrap:anywhere}
.cu-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px}
.cu-editor section{min-width:0}
.cu-grid h3,.cu-discounts h3{font-size:calc(16px * var(--font-scale,1));color:var(--accent-text);margin:0 0 20px}
.cu-editor .st-field{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0 0 20px;font-size:calc(14px * var(--font-scale,1));line-height:1.5;color:var(--ink)}
.cu-editor .st-field input,.cu-editor .st-field select,.cu-editor .st-field textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;margin:0;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink);padding:12px 14px;font:inherit;font-weight:400;line-height:1.5}
.cu-editor .st-field select{padding-right:32px;text-overflow:ellipsis;cursor:pointer}
.cu-editor .st-field textarea{min-height:96px;resize:vertical}
.cu-editor input:focus-visible,.cu-editor select:focus-visible,.cu-editor textarea:focus-visible{outline:3px solid #9ab2ff;outline-offset:2px;border-color:var(--accent)}
.cu-editor .st-active{margin-bottom:12px;gap:16px}
.cu-editor .st-active small{line-height:1.5}
.cu-editor .st-active input{flex-shrink:0}
.cu-points{background:var(--accent);color:var(--on-accent);border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:6px;margin-bottom:24px}
.cu-points>span{font-size:calc(12px * var(--font-scale,1));letter-spacing:1.5px;opacity:.85}
.cu-points>strong{font-size:calc(44px * var(--font-scale,1));font-weight:600;line-height:1.2}
.cu-points>small{font-size:calc(14px * var(--font-scale,1))}
.cu-projected{background:var(--surface-soft);border-radius:10px;padding:14px;color:var(--accent-text);font-size:calc(14px * var(--font-scale,1))}
.cu-history{max-height:245px;overflow:auto;margin-bottom:20px}
.cu-history>div{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-bottom:1px solid var(--border);font-size:calc(14px * var(--font-scale,1))}
.cu-history small{color:var(--ink);font-size:calc(13px * var(--font-scale,1))}
.cu-discounts{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}
.cu-discount-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) minmax(100px,.8fr) auto;gap:14px;align-items:end;background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;padding:18px;margin-bottom:14px}
.cu-editor .cu-discount-row .st-field{margin:0}
.cu-discount-row button{min-height:48px;align-self:end}
.cu-editor .st-form-footer{position:sticky;bottom:0;z-index:1;gap:12px}
@media(max-width:850px){.cu-discount-row{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto}.cu-discount-row .st-field:first-child{grid-column:1/-1}}
@media(max-width:720px){.cu-grid{grid-template-columns:minmax(0,1fr);gap:24px}.cu-editor .st-form-body{padding:20px}.cu-editor .st-field input,.cu-editor .st-field select,.cu-editor .st-field textarea{font-size:calc(16px * var(--font-scale,1))}.cu-discount-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px}.cu-discount-row button{grid-column:1/-1;justify-self:end}.cu-points{padding:22px}.cu-editor .st-form-footer{padding:16px 20px}}
