.pm-home-page .pm-app {
    background: #f6f7f8;
}

.pm-home-page .pm-header {
    border-bottom: 1px solid #e5eaee;
    padding: 0 1.25rem;
    height: 3.5rem;
}

.pm-home-page .pm-header__brand strong {
    font-size: 1rem;
}

.pm-home-page .pm-iconbtn {
    border: 0;
    box-shadow: none;
    color: var(--pm-text);
}

.pm-home-modern {
    padding: 0 0 1rem;
    gap: 0;
    letter-spacing: 0;
}

.pm-home-summary {
    padding: .875rem 1.25rem .625rem;
}

.pm-home-summary__total {
    position: relative;
    display: grid;
    min-width: 0;
    overflow: hidden;
}

.pm-home-summary__progress:not([hidden]) {
    display: grid;
    place-items: center;
    grid-template-rows: repeat(2, .75rem);
    gap: .125rem;
    width: .75rem;
    pointer-events: none;
}

.pm-home-summary__progress > span {
    width: .25rem;
    height: .25rem;
    overflow: hidden;
    border-radius: .25rem;
    background: #bdd9cb;
    transition: height .3s ease;
}

.pm-home-summary__progress > .is-current {
    height: .75rem;
}

.pm-home-summary__progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--pm-green);
    transform: scaleY(0);
    transform-origin: bottom;
}

.pm-home-summary__slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: 1 / 1;
    min-width: 0;
    align-self: stretch;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform .4s ease;
}

.pm-home-summary__slide.is-active {
    visibility: visible;
    transform: translateY(0);
}

.pm-home-summary__slide.is-leaving {
    visibility: visible;
    transform: translateY(-100%);
}

.pm-home-summary__total:focus-visible {
    outline: 2px solid var(--pm-green-d);
    outline-offset: 2px;
    border-radius: .25rem;
}

@media (prefers-reduced-motion: reduce) {
    .pm-home-summary__slide,
    .pm-home-summary__progress > span {
        transition: none;
    }
}

.pm-home-summary__label {
    margin-bottom: .125rem;
    font-size: .75rem;
    font-weight: 400;
    color: var(--pm-sub);
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.pm-home-summary__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    min-height: 3.75rem;
    padding: .5rem .875rem;
    background: #e7f6ef;
    border-radius: .5rem;
}

.pm-home-summary__bar:has(.pm-home-summary__progress:not([hidden])) {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .5rem;
}

.pm-home-summary__amount {
    min-width: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.pm-home-summary__amount span {
    margin-left: .25rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.pm-home-summary__billing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    min-height: 2.75rem;
    padding-left: .75rem;
    border-left: 1px solid #cfe5da;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
}

.pm-home-summary__billing > i {
    font-size: 1.25rem;
    line-height: 1;
}

.pm-home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .625rem;
    padding: 0 1.25rem .875rem;
}

.pm-home-pay {
    min-width: 0;
    min-height: 3.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .625rem .5rem;
    background: var(--pm-green);
    border-radius: .5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.pm-home-pay > i {
    flex: none;
    font-size: 1.375rem;
    line-height: 1;
}

.pm-home-pay span {
    white-space: nowrap;
}

.pm-home-pay:active {
    background: var(--pm-green-d);
}

.pm-home-pay--link {
    background: #fff;
    border: 1px solid #cfe7dc;
    color: var(--pm-green-d);
}

.pm-home-pay--link:active {
    background: var(--pm-soft);
}

.pm-home-section {
    margin: 0 1.25rem .875rem;
    padding: .75rem .5rem;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 1rem;
}

.pm-home-modern .pm-block {
    margin: 0 1.25rem;
    padding: .5rem .875rem;
    background: #fff;
    border: 1px solid var(--pm-line);
    border-radius: 1rem;
    box-shadow: none;
}

.pm-home-modern .pm-block__head strong {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.pm-home-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem 0;
}

.pm-home-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    min-width: 0;
    min-height: 4rem;
    padding: .25rem;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #414850;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.pm-home-menu__icon {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.625rem;
    font-weight: 400;
    line-height: 1;
    color: #414850;
}

.pm-home-menu__icon > i {
    font-size: inherit;
    line-height: 1;
}

.pm-home-menu__new {
    position: absolute;
    bottom: calc(100% - .375rem);
    left: calc(100% - .625rem);
    padding: .0625rem .3125rem;
    border: 2px solid #fff;
    border-radius: 1rem;
    background: var(--pm-green-d);
    color: #fff;
    font-size: .5625rem;
    font-weight: 700;
    line-height: .875rem;
    white-space: nowrap;
    pointer-events: none;
}

.pm-home-banner {
    position: relative;
    margin: 0 1.25rem .5rem;
}

.pm-home-banner__track {
    display: flex;
    min-width: 0;
    width: 100%;
    aspect-ratio: 3 / 1;
    border-radius: .5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.pm-home-banner__track::-webkit-scrollbar {
    display: none;
}

.pm-home-banner__slide {
    flex: 0 0 100%;
    min-width: 0;
    display: block;
    aspect-ratio: 3 / 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.pm-home-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.pm-home-banner__controls:not([hidden]) {
    position: absolute;
    right: .375rem;
    bottom: .375rem;
}

.pm-home-banner__pause {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    font-size: 1rem;
    color: #414850;
}

.pm-home-modern a:focus-visible,
.pm-home-modern button:focus-visible {
    outline: 2px solid var(--pm-green-d);
    outline-offset: 2px;
    border-radius: .25rem;
}

.pm-home-modern .pm-home-banner__slide:focus-visible {
    outline-offset: -2px;
}

.pm-home-modern .pm-block__head {
    margin-bottom: .25rem;
}

.pm-home-updates .pm-block__head {
    gap: .75rem;
    align-items: stretch;
    border-bottom: 1px solid var(--pm-line);
}

.pm-home-updates__tabs {
    display: flex;
    gap: 1.25rem;
    min-width: 0;
}

.pm-home-updates__tabs button {
    min-height: 2.75rem;
    padding: .5rem 0;
    border-bottom: 2px solid transparent;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--pm-sub);
    white-space: nowrap;
}

.pm-home-updates__tabs button[aria-selected="true"] {
    border-bottom-color: var(--pm-green);
    color: var(--pm-text);
}

.pm-home-updates [hidden] {
    display: none;
}

.pm-home-updates [role="tabpanel"]:focus-visible {
    outline: 2px solid var(--pm-green-d);
    outline-offset: 2px;
}

.pm-home-modern .pm-block__more {
    min-height: 2.75rem;
    font-size: .8125rem;
    color: var(--pm-sub);
    white-space: nowrap;
}

.pm-home-modern .pm-recent__link {
    padding: .625rem 0;
    gap: .75rem;
}

.pm-home-modern .pm-recent__icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    border-radius: .5rem;
}

.pm-home-modern .pm-recent__body b {
    font-size: .875rem;
    font-weight: 600;
}

.pm-home-modern .pm-recent__body span {
    display: block;
    margin-top: .1875rem;
    font-size: .75rem;
    overflow-wrap: anywhere;
}

.pm-home-modern .pm-recent__body span::before {
    display: none;
}

.pm-home-modern .pm-recent__price {
    max-width: 48%;
    font-size: .9375rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    overflow-wrap: anywhere;
}

.pm-home-modern .pm-notice__item a {
    min-height: 2.75rem;
    padding: .5rem 0;
}

.pm-home-modern .pm-notice__title {
    font-size: .8125rem;
}

.pm-home-modern .pm-notice__date {
    font-size: .75rem;
}

@media (hover: hover) {
    .pm-home-menu__item:hover,
    .pm-home-pay--link:hover {
        background: #f7faf9;
    }
}
