/* =========================
   BASE LAYOUT
========================= */

:root {
  --mousetrap-red: #EC1C25;
}


#mtgq-app {
    max-width: 720px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111;
}

/* =========================
   HERO HEADER
========================= */

.mtgq-hero {
    background: #111;
    color: #fff;
    padding: 30px;
    border-radius: 12px 12px 0 0;
}

.mtgq-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.mtgq-hero-text {
    flex: 1;
    min-width: 0;
}

.mtgq-hero h1 {
    margin: 0;
    font-size: 24px;
    color: #fff;
}

.mtgq-hero p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.85;
    color: #fff;
}

.mtgq-logo-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-start;
    padding-top: 2px;
}

.mtgq-logo {
    max-width: 220px;
    max-height: 90px;
    width: auto;
    height: auto;
    display: block;
}

@media (max-width: 640px) {
    .mtgq-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mtgq-logo-wrap {
        justify-content: flex-start;
    }

    .mtgq-logo {
        max-width: 180px;
        max-height: 70px;
    }
}


/* =========================
   PANEL
========================= */

.mtgq-panel {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 25px;
}

/* =========================
   STEPS
========================= */

.mtgq-step {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}

.mtgq-step.active {
    display: block;
    animation: mtgqStepIn 0.28s ease forwards;
}

@keyframes mtgqStepIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   PROGRESS BAR
========================= */

.mtgq-progress {
    height: 6px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mtgq-progress-bar {
    height: 100%;
    width: 33%;
    background: var(--mousetrap-red);
    transition: width 0.3s ease;
}

.mtgq-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 30px;
}

.mtgq-step-indicator {
    flex: 1;
    min-width: 96px;
    text-align: center;
    font-size: 12px;
    color: #999;
    opacity: 0.6;
    transition: color 0.8s ease, opacity 0.8s ease;
}

/* Container for bars */
.mtgq-step-indicator::before,
.mtgq-step-indicator::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 999px;
}

/* Grey base */
.mtgq-step-indicator::before {
    top: 0;
    background: #ddd;
}

/* Red fill */
.mtgq-step-indicator::after {
    top: 0;
    background: var(--mousetrap-red);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make parent relative */
.mtgq-step-indicator {
    position: relative;
    padding-top: 14px; /* space for bar */
}

/* Fill animation */
.mtgq-step-indicator.completed::after {
    transform: scaleX(1);
}

/* Active step (outlined look) */
.mtgq-step-indicator.active::before {
    background: #ddd;
    box-sizing: border-box;
}

/* Text states */
.mtgq-step-indicator.completed,
.mtgq-step-indicator.active {
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 1;
}





/* =========================
   SECTION CARD
========================= */

.mtgq-section {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    background: #fafafa;
}

.mtgq-section h2 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 10px;
}

.mtgq-section h3 {
    margin-top: 0;
    font-size: 16px;
}

.mtgq-intro-content {
    font-size: 16px;
    line-height: 1.6;
}

.mtgq-intro-content > :first-child {
    margin-top: 0;
}

.mtgq-intro-content > :last-child {
    margin-bottom: 0;
}

.mtgq-intro-content img,
.mtgq-intro-content video,
.mtgq-intro-content iframe {
    max-width: 100%;
}

.mtgq-intro-content img {
    height: auto;
}

.mtgq-section label + input,
.mtgq-section label + select {
    margin-bottom: 10px;
    border-radius: 20px;
}

.mtgq-section label {
    display: block;
    margin-top: 24px;
    margin-bottom: 6px; /* 👈 key spacing */
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.mtgq-section label:first-of-type {
    margin-top: 0;
}


/* =========================
   INPUTS
========================= */

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 20px; /* 👈 more rounded */
    border: 1px solid #dcdcdc;
    font-size: 15px;
    background: #fff;
    transition: all 0.2s ease;
    appearance: none;
}

/* Focus state */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--mousetrap-red);
    box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.1);
}

select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}


/* Slider Styling */

.mtgq-slider-wrap {
    margin-top: 6px;
}

.mtgq-slider-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.mtgq-slider-value {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.mtgq-slider-shell {
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
    padding: 18px 16px 14px;
}

.mtgq-slider-shell input[type="range"] {
    width: 100%;
    margin: 0;
    appearance: none;
    background: transparent;
}

.mtgq-slider-shell input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--mousetrap-red) 0%, var(--mousetrap-red) var(--fill-percent, 0%), #e5e7eb var(--fill-percent, 0%), #e5e7eb 100%);
}

.mtgq-slider-shell input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mousetrap-red);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-top: -8px;
    cursor: pointer;
}

.mtgq-slider-shell input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
}

.mtgq-slider-shell input[type="range"]::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--mousetrap-red);
}

.mtgq-slider-shell input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--mousetrap-red);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
}

.mtgq-slider-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}


/* Add Ons */

.mtgq-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.mtgq-addons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mtgq-photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.mtgq-photo-item {
    position: relative;
}

.mtgq-photo-upload {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
    margin-top: 0;
    padding: 16px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding-right: 58px;
}

.mtgq-photo-upload:hover {
    background: #f9fafb;
    border-color: #ddd;
}

.mtgq-photo-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mtgq-photo-check {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
    background: #e5e7eb;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.mtgq-photo-label {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.mtgq-photo-file {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.mtgq-photo-info {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: var(--mousetrap-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.mtgq-photo-info:hover {
    background: #c81a28;
    color: #fff;
}

.mtgq-photo-tooltip {
    position: absolute;
    right: 48px;
    bottom: 0;
    width: min(520px, calc(100vw - 56px));
    max-width: 100%;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
    z-index: 5;
}

.mtgq-photo-tooltip[hidden] {
    display: none;
}

.mtgq-photo-tooltip > :first-child {
    margin-top: 0;
}

.mtgq-photo-tooltip > :last-child {
    margin-bottom: 0;
}

.mtgq-photo-tooltip img,
.mtgq-photo-tooltip video,
.mtgq-photo-tooltip iframe {
    max-width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .mtgq-photo-tooltip {
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
    }
}

.mtgq-photo-upload.has-file {
    border-color: rgba(34, 197, 94, 0.45);
    background: #f0fdf4;
}

.mtgq-photo-upload.has-file .mtgq-photo-check {
    background: #22c55e;
}

.mtgq-photo-upload.needs-file {
    border-color: rgba(236, 28, 37, 0.55);
    background: #fff7f7;
}

.mtgq-clear-photos {
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mtgq-clear-photos:hover {
    border-color: var(--mousetrap-red);
    color: var(--mousetrap-red);
}

/* Card */
.mtgq-addon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.mtgq-addon:hover {
    background: #f9fafb;
    border-color: #ddd;
}

/* Left side (checkbox + text) */
.mtgq-addon-left {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-left: 10px;
}

/* Price */
.mtgq-addon-price {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

/* Checkbox spacing */
.mtgq-addon input[type="checkbox"] {
    margin-right: 10px;
}

/* Selected state */
.mtgq-addon input[type="checkbox"]:checked + .mtgq-addon-left {
    color: var(--mousetrap-red);
}

.mtgq-addon input[type="checkbox"]:checked ~ .mtgq-addon-price {
    color: var(--mousetrap-red);
}

.mtgq-addon input[type="checkbox"]:checked {
    accent-color: var(--mousetrap-red);
}

.mtgq-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.mtgq-choice-card {
    display: grid !important;
    gap: 8px;
    align-content: start;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid #d6d9de;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.mtgq-choice-card:hover {
    border-color: #aeb7c2;
    background: #f8fafc;
}

.mtgq-choice-card input[type="radio"] {
    margin: 0;
}

.mtgq-choice-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.mtgq-choice-title {
    font-weight: 800;
    color: #111827;
}

.mtgq-choice-description {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

.mtgq-colour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
    gap: 12px;
    margin-top: 10px;
    align-items: start;
}

.mtgq-colour-card {
    display: grid !important;
    gap: 8px;
    margin: 0 !important;
    width: 150px;
    padding: 0;
    border: 2px solid #d6d9de;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

.mtgq-colour-card:has(input[type="radio"]:checked),
.mtgq-colour-card.is-selected {
    border-color: var(--mousetrap-red);
    box-shadow: 0 0 0 2px rgba(236, 28, 37, 0.14);
}

.mtgq-colour-card input[type="radio"] {
    display: none;
}

.mtgq-colour-swatch {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 0;
    overflow: hidden;
    background: #f8fafc;
}

.mtgq-colour-swatch img,
.mtgq-colour-swatch-empty {
    display: block;
    width: 100%;
    height: 100%;
}

.mtgq-colour-swatch img {
    object-fit: cover;
}

.mtgq-colour-swatch-empty {
    background: linear-gradient(135deg, #f8fafc, #d1d5db);
}

.mtgq-colour-title {
    font-weight: 800;
    color: #111827;
    text-align: center;
    padding: 0 8px 10px;
}

.mtgq-storey-downspouts {
    display: grid;
    grid-template-columns: repeat(var(--storey-count, 1), minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.mtgq-storey-slider {
    display: none;
    min-width: 0;
}

.mtgq-storey-slider.is-visible {
    display: block;
}

.mtgq-storey-slider .mtgq-slider-wrap {
    margin-bottom: 0;
}




/* =========================
   CHECKBOXES
========================= */

label {
    display: block;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

/* =========================
   BUTTONS
========================= */

button.mtgq-back, button.mtgq-next {
    margin-top: 30px;
    padding: 14px 22px;
    background: var(--mousetrap-red);
    color: #fff;
    border: none;
    border: 1px solid var(--mousetrap-red);
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

button.mtgq-back, button.mtgq-next:hover {
    color: var(--mousetrap-red);
    background: #fff;
    border: 1px solid var(--mousetrap-red);
}

button.mtgq-back:hover {
    background: var(--mousetrap-red);
    color: #ffffff;
}

.mtgq-back {
    display: inline-block;
    width: auto;
    background: #fff;
    color: #c81a28;
    margin-right: 10px;
}

.mtgq-back:hover {
    background: var(--mousetrap-red);
}

/* =========================
   SUBMIT BUTTON
========================= */

#mtgq-submit {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 22px;
    background: var(--mousetrap-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

#mtgq-submit:hover {
    background: #c81a28;
}


/* =========================
   FORM MESSAGING
========================= */

.mtgq-error {
    border-color: #e11d2e !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.12);
}

.mtgq-error-message {
    margin-top: 8px;
    color: var(--mousetrap-red);
    font-size: 13px;
    font-weight: 500;
}



/* =========================
   RESULTS SCREEN
========================= */

.mtgq-results-hero {
    background: #111;
    color: #fff;
}

.mtgq-results-hero h2,
.mtgq-results-hero .mtgq-subtext {
    color: #fff;
}

.mtgq-results-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* key change */
    gap: 24px;
}

.mtgq-results-hero-text {
    flex: 1;
}

.mtgq-results-hero-logo {
    flex: 0 0 auto;
    margin-left: auto; /* pushes it fully right */
    align-self: center;  
}

.mtgq-results-logo {
    max-width: 100px;   /* 🔥 THIS is the big fix */
    height: auto;
    display: block;
    opacity: 0.85;
}

.mtgq-results-options {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.mtgq-results-option-card {
    border-color: #d6d9de;
}

.mtgq-results-option-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

.mtgq-results-option-tone-1 {
    background: #f5f6f8;
}

.mtgq-results-option-tone-2 {
    background: #ebeef2;
}

.mtgq-results-option-tone-3 {
    background: #e0e5eb;
}

.mtgq-results-option-total {
    font-size: 32px;
    line-height: 1.05;
    font-weight: 800;
    color: #111827;
}

.mtgq-results-option-monthly {
    margin-top: 8px;
    font-size: 16px;
    color: #4b5563;
    font-weight: 600;
}

.mtgq-results-option-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-top: 8px;
}

.mtgq-results-option-header .mtgq-results-option-name {
    margin: 0;
    font-size: 28px !important;
    line-height: 1.2;
    font-weight: 400 !important;
    text-align: right;
    flex: 1 1 auto;
}

.mtgq-results-option-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mousetrap-red);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mtgq-results-option-link:hover {
    color: #b31218;
}

.mtgq-results-option-breakdown {
    border-top: 1px solid rgba(17, 24, 39, 0.1);
    padding-top: 10px;
}

.mtgq-results-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

.mtgq-results-total {
    font-weight: 700;
    border-bottom: 0;
    padding-top: 14px;
}

.mtgq-results-warning {
    background: #fff7ed;
    border-color: #fdba74;
}

.mtgq-results-message {
    background: #f0f9ff;
    border-color: #7dd3fc;
    color: #0f172a;
}

.mtgq-results-message > :first-child {
    margin-top: 0;
}

.mtgq-results-message > :last-child {
    margin-bottom: 0;
}

.mtgq-results-message a {
    color: var(--mousetrap-red);
    font-weight: 700;
}

.mtgq-consent-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0 10px;
}

.mtgq-consent-field input[type="checkbox"] {
    margin-top: 4px;
    flex: 0 0 auto;
}

.mtgq-consent-copy {
    display: block;
    font-size: 14px;
    line-height: 1.55;
}

.mtgq-consent-copy > :first-child {
    margin-top: 0;
}

.mtgq-consent-copy > :last-child {
    margin-bottom: 0;
}

body.mtgq-modal-open {
    overflow: hidden;
}

.mtgq-modal[hidden] {
    display: none;
}

.mtgq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.mtgq-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.mtgq-modal-dialog {
    position: relative;
    max-width: 640px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
}

.mtgq-modal-content > :first-child {
    margin-top: 0;
}

.mtgq-modal-content > :last-child {
    margin-bottom: 0;
}

.mtgq-modal-content img,
.mtgq-modal-content video,
.mtgq-modal-content iframe {
    max-width: 100%;
    height: auto;
}

.mtgq-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.mtgq-modal-button {
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
}

#mtgq-photo-skip-stay.mtgq-modal-button-primary {
    background: var(--mousetrap-red);
    color: #fff;
    border-color: var(--mousetrap-red);
    box-shadow: none;
}

#mtgq-photo-skip-stay.mtgq-modal-button-primary:hover {
    background: #c81720;
    border-color: #c81720;
    color: #fff;
}

#mtgq-photo-skip-continue.mtgq-modal-button-secondary {
    background: #fff;
    color: #111827;
    border-color: #cfd5dc;
}

#mtgq-photo-skip-continue.mtgq-modal-button-secondary:hover {
    border-color: #aeb7c2;
    background: #f8fafc;
    color: #111827;
}

.mtgq-results-actions {
    margin-top: 24px;
    text-align: center;
}

.mtgq-results-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 72px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.mtgq-results-cta {
    min-width: 220px;
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.mtgq-results-cta:hover {
    transform: translateY(-1px);
}

.mtgq-results-cta-primary {
    background: var(--mousetrap-red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(236, 28, 37, 0.18);
}

.mtgq-results-cta-primary:hover {
    background: #c81720;
    color: #fff;
}

.mtgq-results-cta-secondary {
    background: #fff;
    color: #111827;
    border: 1px solid #cfd5dc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mtgq-results-cta-secondary:hover {
    color: #111827;
    border-color: #aeb7c2;
}

.mtgq-results-download {
    display: inline-block;
    margin-top: 6px;
    background: transparent;
    color: #4b5563;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #d6d9de;
}

.mtgq-results-download:hover {
    background: #f8fafc;
    color: #111827;
}

@media (max-width: 640px) {
    .mtgq-results-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mtgq-results-hero-logo {
        justify-content: flex-start;
    }

    .mtgq-results-logo {
        max-width: 90px;
        max-height: 70px;
    }

    .mtgq-results-option-total {
        font-size: 28px;
    }

    .mtgq-results-option-header .mtgq-results-option-name {
        font-size: 22px !important;
        text-align: left;
    }

    .mtgq-results-option-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mtgq-results-option-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mtgq-results-cta-group {
        gap: 14px;
    }

    .mtgq-results-cta {
        width: 100%;
        min-width: 0;
    }

    .mtgq-storey-downspouts {
        grid-template-columns: 1fr;
    }

    .mtgq-modal {
        align-items: flex-start;
    }

    .mtgq-modal-actions {
        flex-direction: column-reverse;
    }

    .mtgq-modal-button {
        width: 100%;
    }
    
}
