/* MTGPath v2.7.22: shared editor typography, loaded after mtgpath-public.
 * Match the owner's 21px / 900-weight preview in BOTH editor contexts.
 * Keep these selectors scoped; never enlarge other site or admin inputs.
 * Field classes/types deliberately outrank older 18px/16px and 42px rules.
 */
#mtgpath-editor .mtgpath-row,
#mtgpath-single-editor .mtgpath-row,
#mtgpath-editor .mtgpath-editor-head,
#mtgpath-single-editor .mtgpath-editor-head {
    grid-template-columns: 64px minmax(0, 1fr) 44px;
    gap: 8px;
}
#mtgpath-editor .mtgpath-row input.mtgpath-name,
#mtgpath-single-editor .mtgpath-row input.mtgpath-name,
#mtgpath-editor .mtgpath-row input.mtgpath-qty,
#mtgpath-single-editor .mtgpath-row input.mtgpath-qty,
#mtgpath-editor .mtgpath-editor-add input[type="text"],
#mtgpath-single-editor .mtgpath-editor-add input[type="text"],
#mtgpath-editor .mtgpath-editor-add input[type="number"],
#mtgpath-single-editor .mtgpath-editor-add input[type="number"] {
    box-sizing: border-box !important;
    min-width: 0;
    font-family: inherit !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    opacity: 1;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
}
#mtgpath-editor .mtgpath-row input.mtgpath-qty,
#mtgpath-single-editor .mtgpath-row input.mtgpath-qty,
#mtgpath-editor .mtgpath-editor-add input[type="number"],
#mtgpath-single-editor .mtgpath-editor-add input[type="number"] {
    padding: 0 7px !important;
}
#mtgpath-editor .mtgpath-row button.mtgpath-remove,
#mtgpath-single-editor .mtgpath-row button.mtgpath-remove {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    font-size: 18px;
    font-weight: 600;
}
#mtgpath-editor .mtgpath-editor-head,
#mtgpath-single-editor .mtgpath-editor-head,
#mtgpath-editor .mtgpath-editor-count,
#mtgpath-single-editor .mtgpath-editor-count {
    font-size: 14px !important;
    font-weight: 700;
    opacity: 1;
}
#mtgpath-editor .mtgpath-hint,
#mtgpath-single-editor .mtgpath-hint,
#mtgpath-editor .mtgpath-editor-status,
#mtgpath-single-editor .mtgpath-editor-status {
    font-size: 14px !important;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
}
#mtgpath-editor .mtgpath-editor-add,
#mtgpath-single-editor .mtgpath-editor-add {
    grid-template-columns: 64px minmax(0, 1fr) 120px;
}
#mtgpath-editor .mtgpath-ac-wrap,
#mtgpath-single-editor .mtgpath-ac-wrap { min-width: 0; }
#mtgpath-editor .mtgpath-editor-toolbar,
#mtgpath-single-editor .mtgpath-editor-toolbar,
#mtgpath-editor .mtgpath-editor-actions,
#mtgpath-single-editor .mtgpath-editor-actions { flex-wrap: wrap; max-width: 100%; }
#mtgpath-editor .mtgpath-btn,
#mtgpath-single-editor .mtgpath-btn { font-size: 14px; min-height: 44px; }
#mtgpath-editor .mtgpath-ac-name,
#mtgpath-single-editor .mtgpath-ac-name { font-size: 16px; font-weight: 600; }
#mtgpath-editor .mtgpath-editor-add input[type="text"],
#mtgpath-single-editor .mtgpath-editor-add input[type="text"],
#mtgpath-editor .mtgpath-editor-add input[type="number"],
#mtgpath-single-editor .mtgpath-editor-add input[type="number"] {
    color: var(--mtgpath-text) !important;
}
#mtgpath-editor .mtgpath-editor-add input::placeholder,
#mtgpath-single-editor .mtgpath-editor-add input::placeholder {
    color: var(--mtgpath-text-muted);
    opacity: 1;
}
@media (max-width: 600px) {
    /* Keep the requested text size on mobile; let long input text scroll internally. */
    #mtgpath-editor .mtgpath-row,
    #mtgpath-single-editor .mtgpath-row,
    #mtgpath-editor .mtgpath-editor-head,
    #mtgpath-single-editor .mtgpath-editor-head { gap: 6px; }
    #mtgpath-editor .mtgpath-editor-add,
    #mtgpath-single-editor .mtgpath-editor-add { grid-template-columns: 64px minmax(0, 1fr); }
    #mtgpath-editor .mtgpath-editor-add > .mtgpath-btn,
    #mtgpath-single-editor .mtgpath-editor-add > .mtgpath-btn { grid-column: 1 / -1; }
}
