#cm-dialog{width:min(520px,calc(100vw - 32px));max-width:520px;padding:28px;border:1px solid #dfe7f2;border-radius:22px;box-shadow:0 24px 80px #162b4c30}
#cm-dialog::backdrop{background:#101d3c66}
#cm-dialog h2{font-size:24px;line-height:1.4;margin:0 0 12px;color:#182b4e}
#cm-dialog .cm-muted{font-size:15px;color:#687590;line-height:1.7;margin:8px 0}
#cm-dialog .cm-summary{border-radius:14px;padding:18px;background:#f1f5ff;margin:20px 0;line-height:1.7}
#cm-summary{font-size:17px;font-weight:700}#cm-amount{font-size:15px;color:#536887}
#cm-dialog .cm-months{display:grid;grid-template-columns:1fr 24px 1fr;align-items:end;gap:12px;margin:22px 0}
#cm-dialog .cm-months label,#cm-dialog .cm-months .cm-label{display:block;font-size:14px;color:#687590;margin-bottom:8px}
#cm-source,#cm-target{width:100%;min-width:0;box-sizing:border-box;padding:12px;font-size:17px;border:1px solid #dbe4f3;border-radius:10px;height:49px}
#cm-source{display:block;background:#f7f9fc;color:#50617e}#cm-dialog .cm-arrow{align-self:end;line-height:49px;text-align:center;color:#7c92b6}
#cm-error{color:#b33a4f;font-size:14px;line-height:1.6;min-height:22px;margin:16px 0;overflow-wrap:anywhere}
#cm-dialog .cm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
#cm-dialog .cm-actions button{min-height:44px}
@media(max-width:480px){#cm-dialog{padding:22px 18px}#cm-dialog .cm-months{gap:7px;grid-template-columns:1fr 18px 1fr}#cm-source,#cm-target{padding:10px 7px;font-size:15px}#cm-dialog .cm-actions button{flex:1}}
