.usa-routine-picker-2026,
.usa-routine-picker-2026 * {
    box-sizing: border-box;
}

.usa-routine-picker-2026[hidden],
.usa-routine-picker-2026 [hidden] {
    display: none !important;
}

.usa-routine-picker-2026:not([hidden]) {
    position: fixed;
    z-index: 100060;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    overflow: hidden;
    overscroll-behavior: contain;
    background: rgba(0, 31, 55, .76);
    color: #17334a;
    font-family: "Poppins", Arial, sans-serif;
}

.usa-routine-picker-2026__panel {
    display: grid;
    width: min(1080px, 100%);
    height: min(760px, calc(100dvh - 48px));
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #c9dbe3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 31, 55, .32);
}

.usa-routine-picker-2026__header {
    display: grid;
    min-width: 0;
    padding: 20px 22px 18px;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid #d7e4ec;
    background: #fff;
}

.usa-routine-picker-2026__header > div {
    min-width: 0;
}

.usa-routine-picker-2026__eyebrow {
    display: block;
    margin: 0 0 4px;
    color: #126a85;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.25;
    text-transform: uppercase;
}

.usa-routine-picker-2026__header h2 {
    margin: 0;
    color: #003159;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    outline: 0;
}

.usa-routine-picker-2026__guidance {
    max-width: 720px;
    margin: 5px 0 0;
    color: #526b7c;
    font-size: 13px;
    line-height: 1.45;
}

.usa-routine-picker-2026__close {
    display: inline-grid;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 1px solid #bfd1dc;
    border-radius: 50%;
    background: #fff;
    color: #003159;
    font: 500 30px/1 Arial, sans-serif;
    cursor: pointer;
}

.usa-routine-picker-2026__close:hover {
    border-color: #5aaed1;
    background: #eef8fb;
}

.usa-routine-picker-2026__scroll {
    display: grid;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 20px 22px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: #fbfcfd;
}

.usa-routine-picker-2026[data-visible-group-count="1"] .usa-routine-picker-2026__scroll,
.usa-routine-picker-2026[data-picker-view="catalog"] .usa-routine-picker-2026__scroll {
    grid-template-columns: minmax(0, 1fr);
}

.usa-routine-picker-2026__notice {
    display: grid;
    min-height: 112px;
    padding: 22px;
    grid-column: 1 / -1;
    place-items: center;
    border: 1px solid #c9dbe3;
    border-radius: 14px;
    background: #fff;
    color: #355267;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.usa-routine-picker-2026[data-picker-status="error"] .usa-routine-picker-2026__notice {
    border-color: #d9b9b9;
    background: #fff8f8;
    color: #7c2929;
}

.usa-routine-picker-2026[data-picker-status="loading"] .usa-routine-picker-2026__group,
.usa-routine-picker-2026[data-picker-status="error"] .usa-routine-picker-2026__group,
.usa-routine-picker-2026[data-picker-status="empty"] .usa-routine-picker-2026__group {
    display: none;
}

.usa-routine-picker-2026[data-picker-status="loading"] .usa-routine-picker-2026__notice::before {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border: 3px solid #c9dbe3;
    border-top-color: #075985;
    border-radius: 50%;
    content: "";
    animation: usa-routine-picker-spin .8s linear infinite;
}

.usa-routine-picker-2026__group {
    display: grid;
    min-width: 0;
    gap: 10px;
    align-content: start;
}

.usa-routine-picker-2026__group > h3 {
    display: flex;
    min-height: 24px;
    margin: 0;
    padding: 0 2px;
    gap: 8px;
    align-items: baseline;
    color: #26485f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.usa-routine-picker-2026__group > h3 small {
    color: #708492;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
}

.usa-routine-picker-2026__group > div {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.usa-routine-picker-2026[data-picker-view="catalog"] .usa-routine-picker-2026__group > div {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.usa-routine-picker-2026__product {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border: 1px solid #c9dbe3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 49, 89, .055);
}

.usa-routine-picker-2026__choice {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 258px;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    grid-template-rows: 126px minmax(0, 1fr) auto;
    overflow: hidden;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #17334a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.usa-routine-picker-2026__choice:hover:not(:disabled) {
    background: #f4fafc;
}

.usa-routine-picker-2026__media {
    position: relative;
    isolation: isolate;
    display: grid;
    width: 100%;
    height: 126px;
    min-width: 0;
    overflow: hidden;
    place-items: center;
    border-bottom: 1px solid #e4edf2;
    border-radius: 13px 13px 0 0;
    background: #f3f7f9;
}

.usa-routine-picker-2026__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 8px;
    background: #fff;
    object-fit: contain;
}

.usa-routine-picker-2026__product.has-image-error .usa-routine-picker-2026__media img,
.usa-routine-picker-2026__media.is-image-missing img {
    opacity: 0;
    visibility: hidden;
}

.usa-routine-picker-2026__image-fallback,
.usa-routine-picker-2026__product.has-image-error .usa-routine-picker-2026__media::before {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #003159;
    color: #fff;
    content: "USA";
    font: 800 12px/1 "Poppins", Arial, sans-serif;
    letter-spacing: .06em;
}

.usa-routine-picker-2026__product.has-image-error .usa-routine-picker-2026__media::before {
    position: absolute;
    z-index: 1;
}

.usa-routine-picker-2026__copy {
    display: grid;
    min-width: 0;
    padding: 12px 13px 8px;
    gap: 4px;
    align-content: start;
}

.usa-routine-picker-2026__tier {
    min-height: 18px;
    margin: 0;
    color: #526b7c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.usa-routine-picker-2026__tier[data-tier="Premium"] {
    justify-self: start;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f6edd6;
    color: #6b5117;
}

.usa-routine-picker-2026__name {
    display: block;
    min-width: 0;
    color: #003159;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.usa-routine-picker-2026__meta {
    display: block;
    min-width: 0;
    color: #607685;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.usa-routine-picker-2026__price {
    display: block;
    margin-top: 3px;
    color: #17334a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.usa-routine-picker-2026__state {
    display: grid;
    min-height: 44px;
    padding: 8px 13px 10px;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    border-top: 1px solid #e4edf2;
    color: #075985;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.usa-routine-picker-2026__state::before {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 2px solid #7ea7bd;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    content: "\2713";
    font-size: 12px;
    line-height: 1;
}

.usa-routine-picker-2026__product.is-selected {
    border-color: #075985;
    box-shadow: 0 0 0 2px #075985, 0 10px 28px rgba(0, 49, 89, .14);
}

.usa-routine-picker-2026__product.is-selected .usa-routine-picker-2026__choice {
    background: #eef8fb;
}

.usa-routine-picker-2026__product.is-selected .usa-routine-picker-2026__state::before {
    border-color: #075985;
    background: #075985;
    color: #fff;
}

.usa-routine-picker-2026__choice:disabled {
    color: #536774;
    cursor: not-allowed;
}

.usa-routine-picker-2026__product.is-view-only,
.usa-routine-picker-2026__product.is-duplicate {
    background: #f5f7f8;
    box-shadow: none;
}

.usa-routine-picker-2026__product.is-view-only .usa-routine-picker-2026__state,
.usa-routine-picker-2026__product.is-duplicate .usa-routine-picker-2026__state {
    color: #6e3f3f;
}

.usa-routine-picker-2026__product.is-view-only .usa-routine-picker-2026__state::before,
.usa-routine-picker-2026__product.is-duplicate .usa-routine-picker-2026__state::before {
    border-color: #9ba9b1;
    background: #eef1f2;
    color: #697b85;
    content: "\00d7";
}

.usa-routine-picker-2026__quick-look {
    margin: 0 12px 10px;
    border-top: 1px solid #e4edf2;
    color: #526b7c;
    font-size: 11px;
    line-height: 1.45;
}

.usa-routine-picker-2026__quick-look summary {
    min-height: 44px;
    padding: 10px 0;
    color: #126a85;
    font-weight: 800;
    cursor: pointer;
}

.usa-routine-picker-2026__quick-look div {
    padding-bottom: 6px;
}

.usa-routine-picker-2026__quick-look a {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 0 10px;
    align-items: center;
    color: #075985;
    font-weight: 800;
}

.usa-routine-picker-2026__footer {
    display: flex;
    min-width: 0;
    min-height: 64px;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #d7e4ec;
    background: #fff;
}

.usa-routine-picker-2026__footer button,
.usa-routine-picker-2026__footer a {
    display: inline-flex;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #126a85;
    font: 800 12px/1.2 "Poppins", Arial, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.usa-routine-picker-2026 :is(button, a, summary):focus-visible {
    outline: 3px solid #ee9044;
    outline-offset: 3px;
}

@keyframes usa-routine-picker-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .usa-routine-picker-2026[data-picker-view="catalog"] .usa-routine-picker-2026__group > div {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .usa-routine-picker-2026:not([hidden]) {
        padding: 0;
        place-items: stretch;
        background: #fff;
    }

    .usa-routine-picker-2026__panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .usa-routine-picker-2026__header {
        position: relative;
        z-index: 2;
        padding: calc(12px + env(safe-area-inset-top)) 14px 12px 16px;
        grid-template-columns: minmax(0, 1fr) 48px;
        gap: 10px;
        box-shadow: 0 3px 14px rgba(0, 49, 89, .07);
    }

    .usa-routine-picker-2026__header h2 {
        font-size: clamp(20px, 6vw, 24px);
    }

    .usa-routine-picker-2026__guidance {
        font-size: 12px;
    }

    .usa-routine-picker-2026__scroll,
    .usa-routine-picker-2026[data-visible-group-count="1"] .usa-routine-picker-2026__scroll,
    .usa-routine-picker-2026[data-picker-view="catalog"] .usa-routine-picker-2026__scroll {
        padding: 14px 12px 18px;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        scrollbar-gutter: auto;
    }

    .usa-routine-picker-2026__group > div,
    .usa-routine-picker-2026[data-picker-view="catalog"] .usa-routine-picker-2026__group > div {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .usa-routine-picker-2026__product {
        border-radius: 13px;
    }

    .usa-routine-picker-2026__choice {
        min-height: 116px;
        grid-template-columns: 88px minmax(0, 1fr) 28px;
        grid-template-rows: minmax(0, 1fr);
        border-radius: 12px;
    }

    .usa-routine-picker-2026__media {
        width: 88px;
        height: 100%;
        min-height: 114px;
        border-right: 1px solid #e4edf2;
        border-bottom: 0;
        border-radius: 12px 0 0 12px;
    }

    .usa-routine-picker-2026__media img {
        padding: 7px;
    }

    .usa-routine-picker-2026__copy {
        padding: 11px 10px;
        align-content: center;
    }

    .usa-routine-picker-2026__tier {
        min-height: 16px;
        font-size: 9px;
    }

    .usa-routine-picker-2026__name {
        font-size: 13px;
    }

    .usa-routine-picker-2026__meta {
        font-size: 10px;
    }

    .usa-routine-picker-2026__price {
        font-size: 13px;
    }

    .usa-routine-picker-2026__state {
        min-height: 100%;
        padding: 8px 4px;
        grid-template-columns: 1fr;
        place-items: center;
        border-top: 0;
        border-left: 1px solid #e4edf2;
        font-size: 0;
    }

    .usa-routine-picker-2026__state::before {
        width: 24px;
        height: 24px;
    }

    .usa-routine-picker-2026__quick-look {
        margin: 0 10px 8px 98px;
    }

    .usa-routine-picker-2026__footer {
        position: relative;
        z-index: 2;
        min-height: 58px;
        padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
        box-shadow: 0 -3px 14px rgba(0, 49, 89, .07);
    }
}

@media (max-width: 370px) {
    .usa-routine-picker-2026__header {
        padding-right: 10px;
        padding-left: 12px;
    }

    .usa-routine-picker-2026__scroll {
        padding-right: 9px;
        padding-left: 9px;
    }

    .usa-routine-picker-2026__choice {
        grid-template-columns: 78px minmax(0, 1fr) 26px;
    }

    .usa-routine-picker-2026__media {
        width: 78px;
    }

    .usa-routine-picker-2026__quick-look {
        margin-left: 88px;
    }
}

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