/* Independent component owner: modal-shell; scope: real theme7. */
body[data-theme="7"] .md { position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(15,29,20,.48); visibility: hidden; opacity: 0; pointer-events: none; z-index: 1000; transition: opacity .16s ease,visibility .16s ease; }
body[data-theme="7"] .md.o { visibility: visible; opacity: 1; pointer-events: auto; }
body[data-theme="7"] .md:not(.o) { visibility: hidden; opacity: 0; pointer-events: none; }
body[data-theme="7"] .md .mc { display: block; box-sizing: border-box; width: 100%; max-width: 820px; max-height: calc(100dvh - 12px); overflow-y: auto; overflow-x: hidden; background: var(--surface); color: var(--text); border: 1px solid var(--divider); border-radius: var(--radius-large) var(--radius-large) 0 0; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); }
body[data-theme="7"] .md .mc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--divider); }
body[data-theme="7"] .md .mc-title { font-size: 17px; font-weight: 700; color: var(--text); }
body[data-theme="7"] .md .mini { min-height: 39px; min-width: 39px; width: auto; height: auto; padding: 7px 11px; border-radius: var(--radius); border: 1px solid var(--divider); background: var(--surface-soft); color: var(--main); box-shadow: none; }
body[data-theme="7"] .md .mc textarea { display: block; width: 100%; min-height: 80px; max-width: 100%; resize: vertical; }
body[data-theme="7"] .md .mc .br { display: block; min-height: 45px; margin-top: 9px; width: 100%; font-weight: 650; border: 1px solid var(--divider); border-radius: var(--radius); color: var(--text); background: var(--surface-soft); box-shadow: none; }
body[data-theme="7"] .md .mc .br.primary { background: var(--main); color: var(--on-main); border-color: var(--main); }
body[data-theme="7"] .md .mc select,
body[data-theme="7"] .md .mc input { min-height: 40px; box-shadow: none; }
body[data-theme="7"] .md .mc .meth-btn { box-shadow: none; }
@media (max-width:420px) {
body[data-theme="7"] .md .mc { padding: 12px 11px calc(16px + env(safe-area-inset-bottom)); }
}
