/* Doctor demo CMS: same merchant publishing renderer as Production.
   Styles remain scoped to the demo content root. */
.doctor-demo-publishing-root .production-module{max-width:100%;margin:0;padding:18px 6px 48px;color:#23345b}
.doctor-demo-publishing-root .doctor-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 24px}
.doctor-demo-publishing-root .doctor-page-header h1{font-size:30px;letter-spacing:-.035em;margin:4px 0 7px;color:#182d52}
.doctor-demo-publishing-root .doctor-page-header p:not(.production-eyebrow){font-size:13px;line-height:1.5;margin:0;color:#7886a0}
.doctor-demo-publishing-root .production-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:850;color:#6540e2;margin:0 0 6px}
.doctor-demo-publishing-root .production-button{border:1px solid #d9def0;border-radius:10px;background:#fff;padding:10px 15px;cursor:pointer;font-weight:750;font-size:12px;color:#5742b6}
.doctor-demo-publishing-root .production-button-primary{background:#683ce1;border-color:#683ce1;color:#fff}
.doctor-demo-publishing-root .production-button:hover{filter:brightness(.97)}
.doctor-demo-publishing-root .merchant-content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.doctor-demo-publishing-root .merchant-content-card,.doctor-demo-publishing-root .doctor-panel{background:#fff;border:1px solid #dfe5f3;border-radius:15px;padding:20px;min-width:0}
.doctor-demo-publishing-root .merchant-content-card h3{font-size:18px;color:#203052;margin:9px 0 7px}
.doctor-demo-publishing-root .merchant-content-card p{font-size:13px;line-height:1.55;color:#73809a}
.doctor-demo-publishing-root .merchant-content-card small{font-size:11px;display:block;color:#687aa0;margin-top:5px}
.doctor-demo-publishing-root .merchant-content-card code{font-size:11px;color:#6455ad;overflow-wrap:anywhere}
.doctor-demo-publishing-root .doctor-card-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}
.doctor-demo-publishing-root .doctor-text-action{background:none;border:0;color:#6c4bd0;font-size:12px;cursor:pointer}
.doctor-demo-publishing-root .doctor-status{display:inline-flex;border-radius:12px;background:#f1ebff;color:#6c43d6;padding:5px 10px;font-size:11px;font-weight:750}
.doctor-demo-publishing-root .doctor-status.is-active{background:#e8f8ef;color:#20835e}
.doctor-demo-publishing-root [data-content-new-panel]{background:#fff;border:1px solid #dfe5f3;border-radius:15px;padding:18px;margin-bottom:18px}
.doctor-demo-publishing-root [hidden]{display:none!important}
.doctor-demo-publishing-root [data-public-content-form]{margin-top:16px;padding-top:17px;border-top:1px solid #e4e8f3}
.doctor-demo-publishing-root [data-public-content-form] label,.doctor-demo-publishing-root .merchant-media-upload label{display:grid;gap:5px;font-size:12px;font-weight:650;color:#4b5879;margin-bottom:12px}
.doctor-demo-publishing-root [data-public-content-form] input,.doctor-demo-publishing-root [data-public-content-form] textarea,.doctor-demo-publishing-root [data-public-content-form] select,.doctor-demo-publishing-root .merchant-media-upload input{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #dce3f0;border-radius:8px;padding:10px;background:#fff;color:#253753;font-size:13px;font-weight:400}
.doctor-demo-publishing-root .doctor-empty{background:#fff;border:1px dashed #cbd5e9;border-radius:14px;padding:26px;text-align:center;color:#72819e;grid-column:1/-1}
.doctor-demo-publishing-root .doctor-empty strong{display:block;color:#283859}
.doctor-demo-publishing-root .merchant-media-upload{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.doctor-demo-publishing-root .merchant-media-upload label{flex:1;min-width:200px}
.doctor-demo-publishing-root .merchant-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:18px}
.doctor-demo-publishing-root .merchant-media-grid article{background:#fff;border:1px solid #dee5f3;border-radius:13px;overflow:hidden;padding-bottom:15px}
.doctor-demo-publishing-root .merchant-media-grid article strong,.doctor-demo-publishing-root .merchant-media-grid article small{display:block;margin:10px 12px 0;overflow-wrap:anywhere;font-size:12px}
.doctor-demo-publishing-root .merchant-media-preview{aspect-ratio:4/3;background:#f0f3fb}
.doctor-demo-publishing-root .merchant-media-preview img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.doctor-demo-publishing-root .merchant-content-grid{grid-template-columns:1fr}.doctor-demo-publishing-root .doctor-page-header h1{font-size:25px}}
