/* Hallmark · component: QC form · theme: inherited dailymeanwell / Flatsome
 * States: default, hover, focus, active, disabled, loading, error, success.
 * Pre-emit critique: P5 H4 E4 S5 R5 V3. No global/theme selectors changed.
 */
.dmw-qc {
    --dmw-qc-accent: var(--primary-color, #1f4788);
    --dmw-qc-error: var(--alert-color, #b20000);
    --dmw-qc-success: var(--primary-color, #1f4788);
    --dmw-qc-line: var(--fs-color-border, #ddd);
    --dmw-qc-gap: 12px;
    --dmw-qc-paper: #fff;
    --dmw-qc-ink: #263238;
    --dmw-qc-muted: #505c66;
    --dmw-qc-shadow: 0 3px 14px rgba(23, 45, 76, .09);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}
.dmw-qc *, .dmw-qc *::before, .dmw-qc *::after { box-sizing: border-box; }
.dmw-qc [hidden] { display: none !important; }
.dmw-qc__title { margin: 0 0 1.3em; text-align: center; overflow-wrap: anywhere; }
.dmw-qc__form { margin: 0; }
.dmw-qc__field { min-width: 0; margin: 0 0 1em; }
.dmw-qc__field label { display: block; margin-bottom: .4em; }
.dmw-qc .dmw-qc__field input { display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px; margin-bottom: 0; font-family: inherit; font-size: 16px; }
.dmw-qc__field small { display: block; margin-top: .4em; line-height: inherit; }
.dmw-qc__challenge { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dmw-qc-gap); min-width: 0; }
.dmw-qc__challenge input { flex: 1 1 180px; width: auto; }
.dmw-qc__image-wrap { display: flex; align-items: center; min-height: 36px; max-width: 100%; }
.dmw-qc__image-wrap img { display: block; max-width: min(180px, 100%); width: auto; height: auto; max-height: 72px; margin: 0; }
.dmw-qc__image-wrap span { font-size: .9em; }
.dmw-qc .dmw-qc__refresh, .dmw-qc .dmw-qc__submit { margin-bottom: 0; font-family: inherit; white-space: nowrap; min-height: 44px; }
.dmw-qc .dmw-qc__refresh { margin-right: 0; }
.dmw-qc button { cursor: pointer; }
.dmw-qc button:hover { filter: brightness(.96); }
.dmw-qc button:active { opacity: .85; }
.dmw-qc button:disabled { cursor: not-allowed; opacity: .5; }
.dmw-qc__form[aria-busy="true"] button { cursor: wait; }
.dmw-qc input:focus-visible, .dmw-qc button:focus-visible, .dmw-qc a:focus-visible, .dmw-qc__table-wrap:focus-visible { outline: 2px solid var(--dmw-qc-accent); outline-offset: 3px; }
.dmw-qc__status { min-height: 1.6em; margin: 1em 0; font-size: .95em; }
.dmw-qc .dmw-qc__status--error { color: var(--dmw-qc-error); }
.dmw-qc .dmw-qc__status--success { color: var(--dmw-qc-success); }
.dmw-qc__results { min-width: 0; margin: 1.3em 0; }
.dmw-qc__result-title { margin: 0 0 .7em; font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.dmw-qc__card { margin: 0 0 16px; padding: 22px; border: 1px solid var(--dmw-qc-line); border-top: 3px solid var(--dmw-qc-accent); border-radius: 8px; background: var(--dmw-qc-paper); color: var(--dmw-qc-ink); box-shadow: var(--dmw-qc-shadow); min-width: 0; }
.dmw-qc .dmw-qc__model { margin: 0 0 14px; color: var(--dmw-qc-accent); font-family: inherit; font-size: 23px; font-weight: 700; font-style: normal; line-height: 1.3; overflow-wrap: anywhere; }
.dmw-qc__details { margin: 0; }
.dmw-qc__details > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 20px; padding: 12px 0; border-bottom: 1px solid var(--dmw-qc-line); }
.dmw-qc__details dt { margin: 0; color: var(--dmw-qc-muted); font-size: 16px; font-weight: 400; text-transform: none; letter-spacing: normal; }
.dmw-qc__details dd { margin: 0; color: var(--dmw-qc-ink); font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.dmw-qc .dmw-qc__pdf { margin: 20px 0 0; font-size: 15px; min-height: 44px; white-space: nowrap; }
.dmw-qc__estimate { margin: 16px 0 0; color: var(--dmw-qc-muted); font-size: 14px; line-height: 1.6; }
.dmw-qc__table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
.dmw-qc table { width: 100%; min-width: 620px; margin: 0; border-collapse: collapse; font: inherit; }
.dmw-qc th, .dmw-qc td { padding: .65em .75em; border-bottom: 1px solid var(--dmw-qc-line); text-align: left; vertical-align: middle; white-space: nowrap; }
.dmw-qc__pdf { white-space: nowrap; }
.dmw-qc__note { margin: 1.3em 0 0; font-size: .95em; line-height: inherit; }
@media (max-width: 549px) {
    .dmw-qc__card { padding: 16px; }
    .dmw-qc__details > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .dmw-qc__challenge input { flex: 1 0 100%; width: 100%; }
    .dmw-qc__field input { font-size: 16px; }
    .dmw-qc .dmw-qc__submit { max-width: 100%; }
}
