.mp-page { max-width: 1100px; }
.mp-toolbar, .mp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-toolbar { margin-top: 24px; }
.mp-page .btn { min-height: 44px; cursor: pointer; }
.mp-page .btn:disabled { cursor: default; }
.mp-status { min-height: 24px; color: var(--hq-muted); }
.mp-status--error { color: #b42318; font-weight: 600; }
.mp-card { margin-top: 18px; border: 1px solid var(--hq-line); border-radius: var(--hq-radius); background: #fff; }
.mp-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--hq-line); }
.mp-card__heading h3 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.mp-card__heading > span { flex-shrink: 0; color: var(--hq-muted); font-size: 13px; }
.mp-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; padding: 22px; }
.mp-fields, .mp-field { display: flex; flex-direction: column; min-width: 0; }
.mp-fields { gap: 16px; }
.mp-field { gap: 7px; font-size: 13px; }
.mp-field input { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #b7b6ae; border-radius: 4px; background: #fff; color: var(--hq-ink); font: inherit; }
.mp-page :is(input, button, a):focus-visible { outline: 3px solid var(--hq-accent); outline-offset: 3px; }
.mp-upload .hint { display: block; margin-top: 8px; line-height: 1.5; }
.mp-check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; }
.mp-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--hq-accent); }
.mp-preview-wrap { min-width: 0; }
.mp-preview { display: flex; align-items: center; justify-content: center; min-height: 120px; margin-top: 10px; padding: 18px; background: #000; border-radius: 4px; color: #fff; }
.mp-preview img { max-width: 100%; max-height: 80px; object-fit: contain; }
.mp-preview [hidden], .mp-preview-link[hidden] { display: none; }
.mp-preview__placeholder { text-align: center; font-size: 13px; line-height: 1.5; }
.mp-preview-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--hq-ink); font-size: 13px; }
.mp-actions { padding: 0 22px 22px; }
.mp-empty { padding: 24px; border: 1px dashed var(--hq-line); line-height: 1.6; }
@media (max-width: 1000px) { .mp-card__body { grid-template-columns: minmax(0, 1fr); gap: 18px; } .mp-preview-wrap { max-width: 320px; } }
@media (max-width: 600px) { .mp-card__heading, .mp-card__body { padding: 16px; } .mp-actions { padding: 0 16px 16px; } .mp-field input { font-size: 16px; } }
