.aahp-root,
.aahp-root * {
    box-sizing: border-box;
}

.aahp-root.aahp-root {
    --aahp-gap: 12px;
    --aahp-orange: #e18a43;
    --aahp-line: #d3d9df;
    --aahp-text: #24303d;
    --aahp-muted: #687482;
    position: relative !important;
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    color: var(--aahp-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
}

.aahp-root h2,
.aahp-root h3,
.aahp-root p,
.aahp-root figure {
    margin: 0;
}

.aahp-root img {
    display: block;
    max-width: 100%;
}

.aahp-root button,
.aahp-root input,
.aahp-root select {
    font: inherit;
}

.aahp-root .aahp-panel {
    position: relative !important;
    inset: auto !important;
    isolation: isolate;
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 1480px !important;
    margin: 0 auto 12px !important;
    padding: 7px !important;
    overflow: hidden !important;
    transform: none !important;
    background: #fff;
    border: 1px solid var(--aahp-line);
    border-radius: 20px;
    box-shadow: 0 18px 38px -15px rgba(0, 0, 0, .17), 0 8px 18px -10px rgba(0, 0, 0, .08);
}

.aahp-root .aahp-section-head {
    position: relative !important;
    inset: auto !important;
    z-index: 2;
    display: block !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 9px 8px 13px !important;
    overflow: visible !important;
    transform: none !important;
}

.aahp-root .aahp-section-head h2 {
    position: static !important;
    inset: auto !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    color: #202b38 !important;
    font-size: clamp(25px, 7.6vw, 34px) !important;
    font-weight: 760 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

.aahp-root .aahp-section-head p {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 660px !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    transform: none !important;
    color: var(--aahp-muted) !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
    text-align: left !important;
}

.aahp-root .aahp-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
}

.aahp-root .aahp-hero-card,
.aahp-root .aahp-stage-card {
    position: relative !important;
    display: block !important;
    flex: none;
    width: 100%;
    min-width: 0 !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: #f5f7f9;
    border-radius: 17px;
    text-decoration: none !important;
}

.aahp-root .aahp-hero-card {
    border: 3px solid var(--aahp-orange);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
}

.aahp-root .aahp-hero-card img,
.aahp-root .aahp-stage-card img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f5f7f9;
    filter: contrast(.94) saturate(.91) brightness(1.025);
}

.aahp-root .aahp-stage {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 17px;
}

.aahp-root .aahp-stage-track,
.aahp-root .aahp-track {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--aahp-gap) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.aahp-root .aahp-stage-track::-webkit-scrollbar,
.aahp-root .aahp-track::-webkit-scrollbar {
    display: none;
}

.aahp-root .aahp-stage-card {
    flex: 0 0 calc(100% - 24px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid #d8dde3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.aahp-root .aahp-stage-progress {
    position: relative !important;
    flex: 0 0 25px;
    display: grid !important;
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
    width: calc(100% - 12px) !important;
    height: 25px !important;
    margin: 7px 6px 0 !important;
    overflow: hidden !important;
    background: #eff2f4;
    border: 1px solid #dce1e6;
    border-radius: 999px;
}

.aahp-root .aahp-stage-progress-fill {
    position: absolute !important;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(225, 138, 67, .15), rgba(225, 138, 67, .30));
    border-radius: inherit;
    transform: scaleX(.125);
    transform-origin: left center;
    transition: transform .12s linear;
}

.aahp-root .aahp-stage-progress-step {
    position: relative !important;
    z-index: 2;
    display: grid !important;
    place-items: center;
    color: #727d88;
    font-size: 9px;
    font-weight: 750;
    border-left: 1px solid rgba(120, 130, 140, .16);
}

.aahp-root .aahp-stage-progress-step:first-of-type {
    border-left: 0;
}

.aahp-root .aahp-stage-arrow,
.aahp-root .aahp-arrow {
    position: absolute !important;
    z-index: 20 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid #d4dae0 !important;
    background: rgba(255, 255, 255, .94) !important;
    color: #3b4755 !important;
    box-shadow: 0 12px 28px rgba(24, 35, 50, .14);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.aahp-root .aahp-stage-arrow {
    top: calc(50% - 16px) !important;
    width: 34px !important;
    height: 56px !important;
    border-radius: 14px !important;
    transform: translateY(-50%) !important;
    font-size: 34px !important;
    font-weight: 300 !important;
}

.aahp-root .aahp-stage-prev,
.aahp-root .aahp-prev {
    left: 8px !important;
}

.aahp-root .aahp-stage-next,
.aahp-root .aahp-next {
    right: 8px !important;
}

.aahp-root .aahp-stage:hover .aahp-stage-arrow,
.aahp-root .aahp-stage:focus-within .aahp-stage-arrow,
.aahp-root .aahp-stage.aahp-controls-visible .aahp-stage-arrow,
.aahp-root .aahp-carousel:hover .aahp-arrow,
.aahp-root .aahp-carousel:focus-within .aahp-arrow,
.aahp-root .aahp-carousel.aahp-controls-visible .aahp-arrow {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.aahp-root .aahp-stage-arrow[hidden],
.aahp-root .aahp-arrow[hidden] {
    display: none !important;
}

.aahp-root .aahp-stage-arrow:disabled,
.aahp-root .aahp-arrow:disabled {
    opacity: .28 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.aahp-root .aahp-carousel {
    position: relative !important;
    z-index: 1;
    display: block !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aahp-root .aahp-viewport {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 17px;
}

.aahp-root .aahp-track {
    align-items: stretch !important;
    padding: 2px !important;
}

.aahp-root .aahp-item {
    position: relative !important;
    flex: 0 0 calc(100% - 28px) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
}

.aahp-root .aahp-content-card {
    display: grid !important;
    grid-template-rows: auto auto 1fr !important;
    align-content: start !important;
}

.aahp-root .aahp-item h3 {
    position: static !important;
    display: block !important;
    min-height: 2.55em !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
    color: #26313e !important;
    font-size: 18px !important;
    font-weight: 760 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

.aahp-root .aahp-history-card h3 {
    min-height: 3.75em !important;
}

.aahp-root .aahp-press-card h3 {
    min-height: 1.35em !important;
}

.aahp-root .aahp-item-text {
    margin: 10px 2px 0 !important;
    color: #667280 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.aahp-root .aahp-media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    overflow: hidden !important;
    background: #f5f7f9;
    border: 1px solid #d8dde3;
    border-radius: 17px;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .085);
}

.aahp-root .aahp-media img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    filter: contrast(.94) saturate(.92) brightness(1.02);
    transition: transform .24s ease;
}

.aahp-root .aahp-media:hover img {
    transform: scale(1.018);
}

.aahp-root .aahp-media-button {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: inherit !important;
    background: transparent !important;
    color: inherit !important;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
}

.aahp-root .aahp-item-link {
    display: grid !important;
    grid-template-rows: auto auto 1fr !important;
    color: inherit !important;
    text-decoration: none !important;
}

.aahp-root .aahp-year {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 3;
    padding: 7px 11px !important;
    background: rgba(255, 255, 255, .91);
    color: #2c3744;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.aahp-root .aahp-arrow {
    top: 50% !important;
    width: 34px !important;
    height: 56px !important;
    border-radius: 14px !important;
    transform: translateY(-50%) !important;
    font-size: 34px !important;
    font-weight: 300 !important;
}

.aahp-root .aahp-lightbox {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: 14px !important;
    background: rgba(255, 255, 255, .05) !important;
    cursor: zoom-out;
    backdrop-filter: blur(18px) saturate(.82);
    -webkit-backdrop-filter: blur(18px) saturate(.82);
}

.aahp-root .aahp-lightbox.aahp-open {
    display: flex !important;
}

.aahp-root .aahp-lightbox img {
    width: auto !important;
    height: auto !important;
    max-width: 96vw !important;
    max-height: 91vh !important;
    object-fit: contain !important;
    background: transparent !important;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(25, 35, 48, .28);
    cursor: zoom-out;
}

.aahp-root .aahp-close {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .78) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #283341 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    font-size: 27px !important;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.aahp-root .aahp-calc {
    padding: 8px !important;
    background: linear-gradient(135deg, #f8f9fb, #eef2f6);
    border-radius: 17px;
}

.aahp-root .aahp-calc-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
}

.aahp-root .aahp-form,
.aahp-root .aahp-result {
    min-width: 0 !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #d9dfe6;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(25, 35, 48, .07);
}

.aahp-root .aahp-field {
    margin-bottom: 14px !important;
}

.aahp-root .aahp-field label {
    display: block !important;
    margin-bottom: 7px !important;
    color: #364250 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.aahp-root .aahp-field input,
.aahp-root .aahp-field select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    background: #fff !important;
    color: #202a36 !important;
    border: 1px solid #cfd6de !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    outline: none;
}

.aahp-root .aahp-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 4px 0 16px !important;
    padding: 12px 13px !important;
    background: #f1f3f6;
    color: #384452;
    border-radius: 14px;
    font-size: 14px;
}

.aahp-root .aahp-check input {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    margin: 1px 0 0 !important;
}

.aahp-root .aahp-submit {
    display: block !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #303b49 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

.aahp-root .aahp-error {
    display: none;
    margin-top: 12px !important;
    padding: 11px 13px !important;
    background: #fff1f1;
    color: #9d3c3c;
    border-radius: 12px;
    font-size: 13px;
}

.aahp-root .aahp-error[data-visible="1"] {
    display: block !important;
}

.aahp-root .aahp-result h3 {
    margin: 0 0 15px !important;
    color: #26313e !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
}

.aahp-root .aahp-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 11px 0 !important;
    color: #576270;
    border-bottom: 1px solid #e3e7eb;
    font-size: 14px;
}

.aahp-root .aahp-row strong {
    color: #1e2936;
    font-size: 16px;
    text-align: right;
    white-space: nowrap;
}

.aahp-root .aahp-total {
    margin-top: 14px !important;
    padding: 15px !important;
    background: #edf0f4;
    border-radius: 16px;
}

.aahp-root .aahp-total span {
    display: block !important;
    color: #596573;
    font-size: 13px;
}

.aahp-root .aahp-total strong {
    display: block !important;
    margin-top: 5px !important;
    color: #202a36;
    font-size: clamp(27px, 9vw, 42px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.aahp-root .aahp-note {
    margin-top: 12px !important;
    color: #6c7681;
    font-size: 12px;
    line-height: 1.45;
}

.aahp-root .aahp-image-missing {
    display: none !important;
}

.aahp-root :focus-visible {
    outline: 3px solid rgba(225, 138, 67, .38);
    outline-offset: 3px;
}

@media (min-width: 700px) {
    .aahp-root.aahp-root {
        --aahp-gap: 14px;
    }

    .aahp-root .aahp-panel {
        padding: 9px !important;
        border-radius: 25px;
    }

    .aahp-root .aahp-section-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 540px) !important;
        align-items: end !important;
        gap: 18px !important;
        padding: 10px 11px 17px !important;
    }

    .aahp-root .aahp-section-head h2 {
        font-size: clamp(29px, 3.2vw, 40px) !important;
    }

    .aahp-root .aahp-section-head p {
        justify-self: end !important;
        margin: 0 !important;
        text-align: right !important;
        font-size: 15px !important;
    }

    .aahp-root .aahp-item,
    .aahp-root .aahp-stage-card {
        flex-basis: calc((100% - var(--aahp-gap)) / 2) !important;
    }

    .aahp-root .aahp-form,
    .aahp-root .aahp-result {
        padding: 20px !important;
    }
}

@media (min-width: 901px) {
    .aahp-root.aahp-root {
        --aahp-gap: 16px;
    }

    .aahp-root .aahp-panel {
        padding: 10px !important;
        border-radius: 28px;
        box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .18), 0 12px 24px -8px rgba(0, 0, 0, .09);
    }

    .aahp-root .aahp-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
        gap: var(--aahp-gap) !important;
    }

    .aahp-root .aahp-hero-card,
    .aahp-root .aahp-stage,
    .aahp-root .aahp-stage-card {
        border-radius: 22px;
    }

    .aahp-root .aahp-stage-card {
        flex-basis: calc((100% - var(--aahp-gap)) / 2 - 26px) !important;
    }

    .aahp-root .aahp-item {
        flex-basis: calc((100% - (var(--aahp-visible) - 1) * var(--aahp-gap)) / var(--aahp-visible)) !important;
    }

    .aahp-root .aahp-item h3 {
        font-size: 16px !important;
    }

    .aahp-root .aahp-item-text {
        font-size: 12px !important;
    }

    .aahp-root .aahp-arrow {
        width: 42px !important;
        height: 64px !important;
        border-radius: 16px !important;
        font-size: 38px !important;
    }

    .aahp-root .aahp-calc {
        padding: 14px !important;
        border-radius: 22px;
    }

    .aahp-root .aahp-calc-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
        gap: 18px !important;
    }

    .aahp-root .aahp-form,
    .aahp-root .aahp-result {
        padding: 22px !important;
        border-radius: 20px;
    }
}

@media (max-width: 699px) {
    .aahp-root .aahp-panel:first-child {
        margin-top: 0 !important;
    }

    .aahp-root .aahp-sold-carousel .aahp-item {
        flex-basis: calc(100% - 34px) !important;
    }

    .aahp-root .aahp-row {
        align-items: flex-start !important;
    }

    .aahp-root .aahp-row strong {
        max-width: 48%;
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .aahp-root .aahp-panel {
        padding: 5px !important;
        border-radius: 17px;
    }

    .aahp-root .aahp-section-head {
        padding: 8px 7px 12px !important;
    }

    .aahp-root .aahp-section-head h2 {
        font-size: 24px !important;
    }

    .aahp-root .aahp-item,
    .aahp-root .aahp-stage-card,
    .aahp-root .aahp-sold-carousel .aahp-item {
        flex-basis: calc(100% - 18px) !important;
    }

    .aahp-root .aahp-form,
    .aahp-root .aahp-result {
        padding: 13px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aahp-root *,
    .aahp-root *::before,
    .aahp-root *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   AA-MAIN — MOBILE-FIRST STABLE LAYOUT
   Prevents page overflow and gives every section a real phone layout.
   ========================================================= */
@media (max-width: 699px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .aahp-root.aahp-root {
        --aahp-gap: 10px;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 8px !important;
        overflow: hidden !important;
        contain: layout;
    }

    .aahp-root .aahp-panel {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 0 10px !important;
        padding: 6px !important;
        overflow: hidden !important;
        border: 1px solid var(--aahp-line) !important;
        border-radius: 18px !important;
        box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .24) !important;
    }

    .aahp-root .aahp-section-head {
        width: 100% !important;
        padding: 9px 8px 12px !important;
    }

    .aahp-root .aahp-section-head h2 {
        max-width: 100% !important;
        font-size: clamp(24px, 7.4vw, 31px) !important;
        line-height: 1.08 !important;
        overflow-wrap: break-word !important;
    }

    .aahp-root .aahp-section-head p {
        max-width: 100% !important;
        margin-top: 6px !important;
        font-size: 13px !important;
        overflow-wrap: break-word !important;
    }

    .aahp-root .aahp-hero-grid,
    .aahp-root .aahp-calc-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 10px !important;
    }

    .aahp-root .aahp-hero-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        border-width: 2px !important;
        border-radius: 15px !important;
    }

    .aahp-root .aahp-stage,
    .aahp-root .aahp-carousel,
    .aahp-root .aahp-viewport,
    .aahp-root .aahp-stage-track,
    .aahp-root .aahp-track {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .aahp-root .aahp-viewport {
        overflow: hidden !important;
        border-radius: 15px !important;
    }

    .aahp-root .aahp-stage-track,
    .aahp-root .aahp-track {
        gap: 10px !important;
        padding: 1px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-padding-inline: 1px;
    }

    .aahp-root .aahp-stage-card,
    .aahp-root .aahp-item,
    .aahp-root .aahp-sold-carousel .aahp-item {
        flex: 0 0 calc(100% - 18px) !important;
        width: calc(100% - 18px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 18px) !important;
    }

    .aahp-root .aahp-stage-card,
    .aahp-root .aahp-media {
        border-radius: 15px !important;
    }

    .aahp-root .aahp-stage-progress {
        width: calc(100% - 4px) !important;
        margin: 7px 2px 0 !important;
    }

    .aahp-root .aahp-stage-arrow,
    .aahp-root .aahp-arrow {
        display: none !important;
    }

    .aahp-root .aahp-content-card {
        grid-template-rows: auto auto auto auto !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .aahp-root .aahp-item h3,
    .aahp-root .aahp-history-card h3,
    .aahp-root .aahp-press-card h3 {
        min-height: 0 !important;
        margin: 0 2px 8px !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
        overflow-wrap: break-word !important;
    }

    .aahp-root .aahp-item-text {
        margin: 9px 2px 0 !important;
        font-size: 13px !important;
        overflow-wrap: break-word !important;
    }

    .aahp-root .aahp-press-page-link {
        width: calc(100% - 4px) !important;
        max-width: calc(100% - 4px) !important;
        margin: 9px 2px 2px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    .aahp-root .aahp-calc {
        width: 100% !important;
        min-width: 0 !important;
        padding: 7px !important;
        border-radius: 15px !important;
    }

    .aahp-root .aahp-form,
    .aahp-root .aahp-result {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 13px !important;
        border-radius: 14px !important;
    }

    .aahp-root .aahp-field input,
    .aahp-root .aahp-field select,
    .aahp-root .aahp-submit {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .aahp-root .aahp-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 8px !important;
    }

    .aahp-root .aahp-row span,
    .aahp-root .aahp-row strong {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .aahp-root .aahp-row strong {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .aahp-root .aahp-total strong {
        font-size: clamp(25px, 8.5vw, 36px) !important;
    }

    .aahp-root .aahp-lightbox,
    .aahp-root .aahp-press-popup {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px !important;
    }

    .aahp-root .aahp-lightbox img,
    .aahp-root .aahp-press-popup-image {
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100dvh - 76px) !important;
        border-radius: 12px !important;
    }

    .aahp-root .aahp-press-popup-dialog {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .aahp-root .aahp-press-popup-link {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        white-space: normal !important;
    }
}

@media (max-width: 380px) {
    .aahp-root.aahp-root {
        padding-inline: 6px !important;
    }

    .aahp-root .aahp-panel {
        padding: 5px !important;
        border-radius: 16px !important;
    }

    .aahp-root .aahp-stage-card,
    .aahp-root .aahp-item,
    .aahp-root .aahp-sold-carousel .aahp-item {
        flex-basis: calc(100% - 12px) !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
    }
}
