.mc-legacy{--mc-teal:#286563;--mc-plum:#51437c;--mc-bronze:#80582a;overflow-wrap:anywhere}
.mc-legacy header{background:#18323a;color:#fff;border-radius:17px;padding:20px}.mc-legacy header h2{color:#fff!important}
.mc-legacy h2,.mc-legacy h3{line-height:1.25}
.mc-legacy a.memorial-agent-action,.mc-legacy button.memorial-agent-action{background:var(--mc-teal);color:white!important;display:inline-flex;align-items:center;justify-content:center;text-align:center;margin:4px 0;min-height:44px}
.mc-legacy-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:10px}
.mc-qr{border:1px solid #afc9c4;border-radius:10px;padding:9px;min-width:0;background:var(--cbpe-ui-soft,#eef5f2);color:var(--cbpe-ui-ink,#233238)}
.mc-qr summary{cursor:pointer;color:inherit;font-weight:700;min-height:32px}.mc-qr-output{display:grid;gap:8px;justify-items:center}.mc-qr-canvas{width:min(100%,260px);height:auto;image-rendering:pixelated;background:white;border:1px solid #d8e3df}.mc-qr-link{font-size:.85rem}
.mc-workspace-panel{border:1px solid #b7c9c4;border-radius:12px;margin:12px 0;overflow:hidden;padding:12px;background:var(--cbpe-ui-soft,#f0f6f4);color:var(--cbpe-ui-ink,#203346)}.mc-workspace-panel>summary{font-weight:750;cursor:pointer;color:inherit;font-size:1.02rem;padding:6px}.mc-workspace-panel[open]>summary{border-bottom:1px solid #b7c9c4;margin-bottom:12px}
.mc-legacy-form{display:grid;gap:10px;min-width:0;margin:10px 0}.mc-legacy-form label{display:grid;gap:5px;font-weight:600;min-width:0}.mc-legacy-form input:not([type=checkbox]),.mc-legacy-form textarea,.mc-legacy-form select,.mc-story-draft{box-sizing:border-box;width:100%;min-width:0;max-width:100%;background:var(--cbpe-ui-bg,#fff);color:var(--cbpe-ui-ink,#203346);border:1px solid #a9bdb7;border-radius:8px;padding:10px;font:inherit}.mc-legacy-form input[type="file"]{font-size:.86rem}.mc-story-draft{font-size:.95rem;resize:vertical}
.mc-timeline{display:grid;gap:10px;border-left:3px solid #be9a59;padding-left:16px;margin:14px 0}.mc-milestone{border-radius:12px;border:1px solid #b7c9c4;padding:13px;position:relative;background:var(--cbpe-ui-soft,#f6f8f6);color:var(--cbpe-ui-ink,#203346)}.mc-milestone:before{content:"";position:absolute;left:-24px;top:20px;width:12px;height:12px;border-radius:50%;background:#be9a59;border:2px solid white}.mc-kicker{font-size:.82rem;font-weight:750;letter-spacing:.025em;color:inherit}
.mc-legacy img,.mc-legacy video{max-width:100%;height:auto;border-radius:9px}.mc-legacy-result{min-width:0;border:1px solid #c6d3cc;border-radius:13px;padding:10px}.mc-legacy-result .memorial-exp-card{border:0;padding:0}.mc-member{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #b7c9c4}.mc-member form{flex:none}.mc-member span{min-width:0;overflow-wrap:anywhere}.mc-success{border:1px solid #52977e;background:#dff5e9;color:#153f33;padding:10px;border-radius:8px}
@media(max-width:600px){.mc-legacy-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-legacy .memorial-exp-grid{grid-template-columns:1fr}.mc-workspace-panel{padding:9px}.mc-member{flex-wrap:wrap}.mc-legacy .memorial-agent-action{font-size:.85rem}}
