/* ===== Base ===== */
.csm-wrap, .csm-card { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:#111; }
.csm-hide{display:none}

/* Step title */
.csm-step-title{ font-family: ui-serif, Georgia, "Times New Roman", serif; font-weight:500;
  font-size: clamp(28px,4vw,56px); margin:0 0 28px; }

/* Progress chips */
.csm-steps{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}
.csm-step{padding:6px 10px;border:1px solid #ddd;border-radius:999px;background:#f7f7f7;font-size:12px}
.csm-step.active{background:#111;color:#fff;border-color:#111}

/* Card + layout */
.csm-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:24px;margin-bottom:18px}
.csm-row{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.csm-row .full{grid-column:1/-1}

/* Underline inputs (screenshot look) */
.csm-field label{display:block;font-size:14px;margin-bottom:6px;color:#222}
.csm-input,.csm-textarea,.csm-select{
  width:100%; background:transparent; border:0; border-bottom:2px solid #1e1e1e;
  border-radius:0; padding:12px 0 10px; font-size:16px; outline:none; transition:border-color .2s;
}
.csm-textarea{min-height:96px; resize:vertical}
.csm-input:focus,.csm-textarea:focus,.csm-select:focus{border-bottom-color:#000}

/* Errors + messages */
.csm-err{display:block;font-size:12px;color:#b00020;margin-top:6px;min-height:1em}
#csm-form-msg{margin-bottom:12px}
.csm-msg{padding:12px;border-radius:8px;background:#e7f6ec;border:1px solid #b5e1c6;color:#0a6b2c}
.csm-warn{padding:12px;border-radius:8px;background:#fff3cd;border:1px solid #ffe69c;color:#664d03}

/* Buttons */
.csm-actions{display:flex;width:100%;gap:10px;justify-content:space-between;margin-top:18px}
.csm-actions .btn{padding:12px 18px;border-radius:10px;border:1px solid #111;background:#111;color:#fff;cursor:pointer}
.csm-actions .btn.secondary{background:#f5f5f5;color:#111}

/* Listing (unchanged) */
.csm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width:900px){ .csm-row{grid-template-columns:1fr} .csm-grid{grid-template-columns:1fr}}
