:root {
    --irla-green: #2f6d53;
    --irla-green-dark: #173f30;
    --irla-cream: #f4f0e4;
    --irla-surface: #ffffff;
    --irla-text: #173f30;
    --irla-muted: #667a71;
    --irla-border: rgba(47, 109, 83, .15);
    --irla-danger: #b42318;
}

.irla-header-button,
.irla-floating-button,
.irla-card-toggle,
.irla-hero-toggle,
.irla-drawer button,
.irla-language-row__toggle {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}

.irla-header-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 15px;
    color: currentColor;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.irhp-site-header.is-scrolled .irla-header-button,
.irhp-site-header:not(.irhp-site-header--overlay) .irla-header-button {
    color: var(--irhp-header-light-panel-text, var(--irla-green-dark));
    border-color: rgba(47, 109, 83, .16);
    background: rgba(47, 109, 83, .07);
}

.irla-header-button:hover,
.irla-header-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(47, 109, 83, .34);
    color: #fff;
    background: var(--irla-green);
    outline: none;
}

.irla-header-button svg,
.irla-floating-button svg {
    width: 21px;
    height: 21px;
}

.irla-header-badge {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: -5px;
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--irla-green);
    box-shadow: 0 5px 14px rgba(23, 63, 48, .28);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.irla-floating-button {
    position: fixed;
    inset-inline-end: max(18px, env(safe-area-inset-right));
    inset-block-end: max(22px, env(safe-area-inset-bottom));
    z-index: 2147482000;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    color: #fff;
    background: var(--irla-green);
    box-shadow: 0 18px 42px rgba(23, 63, 48, .30);
    cursor: pointer;
}

.irhp-language-card-shell {
    position: relative;
}

.irla-card-toggle {
    position: absolute;
    inset-block-start: 18px;
    inset-inline-end: 18px;
    z-index: 8;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(47, 109, 83, .16);
    border-radius: 14px;
    color: var(--irla-green-dark);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 28px rgba(23, 63, 48, .13);
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.irla-card-toggle svg {
    width: 20px;
    height: 20px;
}

.irla-card-toggle:hover,
.irla-card-toggle:focus-visible,
.irla-card-toggle[aria-pressed="true"] {
    color: #fff;
    background: var(--irla-green);
    box-shadow: 0 13px 32px rgba(23, 63, 48, .24);
    outline: none;
    transform: translateY(-2px);
}

.irla-card-toggle[aria-busy="true"] svg,
.irla-hero-toggle[aria-busy="true"] svg,
.irla-language-row__toggle[aria-busy="true"]::after {
    animation: irla-pulse .8s ease-in-out infinite alternate;
}

.irla-hero-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 15px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.irla-hero-toggle svg {
    width: 20px;
    height: 20px;
}

.irla-hero-toggle:hover,
.irla-hero-toggle:focus-visible,
.irla-hero-toggle[aria-pressed="true"] {
    border-color: #fff;
    color: var(--irla-green-dark);
    background: #fff;
    outline: none;
    transform: translateY(-2px);
}

.irla-layer[hidden],
.irla-toast[hidden],
.irla-ios-help[hidden],
.irla-header-badge[hidden] {
    display: none !important;
}

.irla-layer {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    justify-content: flex-end;
    direction: ltr;
}

[dir="rtl"] .irla-layer,
html[dir="rtl"] .irla-layer {
    justify-content: flex-start;
}

.irla-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5, 22, 16, .66);
    cursor: default;
    opacity: 0;
    transition: opacity .22s ease;
}

.irla-layer.is-open .irla-backdrop {
    opacity: 1;
}

.irla-drawer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(440px, 100vw);
    height: 100%;
    max-height: 100dvh;
    color: var(--irla-text);
    background: var(--irla-surface);
    box-shadow: -24px 0 70px rgba(0, 0, 0, .24);
    direction: var(--irla-direction, ltr);
    transform: translateX(102%);
    transition: transform .26s cubic-bezier(.2, .7, .2, 1);
    outline: none;
}

[dir="rtl"] .irla-drawer,
html[dir="rtl"] .irla-drawer {
    direction: rtl;
    transform: translateX(-102%);
    box-shadow: 24px 0 70px rgba(0, 0, 0, .24);
}

.irla-layer.is-open .irla-drawer,
[dir="rtl"] .irla-layer.is-open .irla-drawer,
html[dir="rtl"] .irla-layer.is-open .irla-drawer {
    transform: translateX(0);
}

body.irla-drawer-open {
    overflow: hidden !important;
}

.irla-drawer__header {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 13px;
    padding: calc(22px + env(safe-area-inset-top)) 20px 19px;
    border-bottom: 1px solid var(--irla-border);
    background: linear-gradient(145deg, #f9fbf9, var(--irla-cream));
}

.irla-drawer__mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #fff;
    background: var(--irla-green);
    box-shadow: 0 12px 27px rgba(23, 63, 48, .22);
}

.irla-drawer__mark svg {
    width: 23px;
    height: 23px;
}

.irla-drawer__header h2 {
    margin: 0 !important;
    color: var(--irla-text) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.irla-drawer__header p {
    margin: 5px 0 0 !important;
    color: var(--irla-muted) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.irla-drawer__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0 0 3px;
    border: 1px solid var(--irla-border);
    border-radius: 13px;
    color: var(--irla-text);
    background: rgba(255, 255, 255, .78);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.irla-drawer__close:hover,
.irla-drawer__close:focus-visible {
    color: #fff;
    background: var(--irla-danger);
    outline: none;
}

.irla-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 18px 18px 24px;
    overflow: auto;
    overscroll-behavior: contain;
}

.irla-status {
    min-height: 24px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--irla-border);
    border-radius: 13px;
    color: var(--irla-green-dark);
    background: rgba(47, 109, 83, .06);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.irla-status.is-error {
    border-color: rgba(180, 35, 24, .2);
    color: var(--irla-danger);
    background: rgba(180, 35, 24, .05);
}

.irla-ios-help {
    margin-bottom: 13px;
    padding: 14px;
    border: 1px solid rgba(214, 173, 82, .35);
    border-radius: 15px;
    color: #5f4614;
    background: #fff9e9;
}

.irla-ios-help strong,
.irla-ios-help span {
    display: block;
}

.irla-ios-help strong {
    margin-bottom: 5px;
    font-size: 13px;
}

.irla-ios-help span {
    font-size: 12px;
    line-height: 1.55;
}

.irla-language-list {
    display: grid;
    gap: 10px;
}

.irla-language-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid var(--irla-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 63, 48, .045);
}

.irla-language-row.is-selected {
    border-color: rgba(47, 109, 83, .34);
    background: linear-gradient(145deg, #fff, #f1f8f4);
}

.irla-language-row__image {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: var(--irla-green);
    box-shadow: 0 8px 20px rgba(23, 63, 48, .15);
}

.irla-language-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.irla-language-row__image svg {
    width: 22px;
    height: 22px;
}

.irla-language-row__text {
    min-width: 0;
}

.irla-language-row__text strong,
.irla-language-row__text small {
    display: block;
}

.irla-language-row__text strong {
    overflow: hidden;
    color: var(--irla-text);
    font-size: 14px;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.irla-language-row__text small {
    margin-top: 4px;
    color: var(--irla-muted);
    font-size: 11px;
}

.irla-language-row__toggle {
    position: relative;
    width: 48px;
    min-width: 48px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(23, 63, 48, .16);
    border-radius: 999px;
    background: #d9e2dd;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.irla-language-row__toggle::after {
    content: "";
    position: absolute;
    inset-block-start: 3px;
    inset-inline-start: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
    transition: transform .2s ease;
}

.irla-language-row__toggle[aria-pressed="true"] {
    border-color: var(--irla-green);
    background: var(--irla-green);
}

.irla-language-row__toggle[aria-pressed="true"]::after {
    transform: translateX(20px);
}

[dir="rtl"] .irla-language-row__toggle[aria-pressed="true"]::after,
html[dir="rtl"] .irla-language-row__toggle[aria-pressed="true"]::after {
    transform: translateX(-20px);
}

.irla-language-row__toggle:focus-visible {
    outline: 3px solid rgba(47, 109, 83, .24);
    outline-offset: 2px;
}

.irla-drawer__footer {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--irla-border);
    background: #f8faf8;
}

.irla-privacy-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    color: #fff;
    background: var(--irla-green);
    font-size: 13px;
    font-weight: 900;
}

.irla-drawer__footer p {
    margin: 0 !important;
    color: var(--irla-muted) !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

.irla-toast {
    position: fixed;
    inset-inline-start: 50%;
    inset-block-end: max(22px, env(safe-area-inset-bottom));
    z-index: 2147483600;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: min(420px, calc(100vw - 28px));
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 15px;
    color: #fff;
    background: #102f24;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    transform: translateX(-50%);
}

.irla-toast a {
    color: #bde9d4;
    text-decoration: underline;
}

html[data-irhp-theme="dark"] {
    --irla-surface: #0b0b0b;
    --irla-text: #ffffff;
    --irla-muted: #b8b8b8;
    --irla-border: rgba(255, 255, 255, .12);
}

html[data-irhp-theme="dark"] .irla-header-button {
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
}

html[data-irhp-theme="dark"] .irla-drawer,
html[data-irhp-theme="dark"] .irla-language-row {
    background: #0b0b0b;
}

html[data-irhp-theme="dark"] .irla-language-row.is-selected {
    background: linear-gradient(145deg, #0b0b0b, #10261d);
}

html[data-irhp-theme="dark"] .irla-drawer__header,
html[data-irhp-theme="dark"] .irla-drawer__footer {
    background: #050505;
}

html[data-irhp-theme="dark"] .irla-status {
    color: #9fdbbe;
    background: rgba(85, 184, 138, .09);
}

@keyframes irla-pulse {
    from { opacity: .35; transform: scale(.88); }
    to { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 760px) {
    .irla-header-button {
        flex-basis: 43px;
        width: 43px;
        min-width: 43px;
        height: 43px;
        min-height: 43px;
        border-radius: 14px;
    }

    .irla-drawer {
        width: 100vw;
    }

    .irla-drawer__header {
        grid-template-columns: 44px minmax(0, 1fr) 38px;
        padding-inline: 15px;
    }

    .irla-drawer__mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .irla-drawer__body {
        padding-inline: 13px;
    }

    .irla-card-toggle {
        inset-block-start: 14px;
        inset-inline-end: 14px;
        width: 39px;
        height: 39px;
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .irla-header-button,
    .irla-card-toggle,
    .irla-hero-toggle,
    .irla-backdrop,
    .irla-drawer,
    .irla-language-row__toggle,
    .irla-language-row__toggle::after {
        transition: none !important;
        animation: none !important;
    }
}

