.subpage-nav {
    min-height: 28px;
    margin: -24px 0 16px;
}

.subpage-nav a {
    color: #666666;
    border-bottom: 0.5px solid #bdbdbd;
    font-size: 13px;
    line-height: 1.35;
    padding-bottom: 2px;
    text-decoration: none;
}

.subpage-nav a:hover {
    color: #000000;
    border-color: #777777;
}

.account-content {
    border-top: 0.5px solid #cccccc;
}

.account-menu {
    border-top: 0.5px solid #d7d7d7;
}

.account-menu-item {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 0.5px solid #d7d7d7;
    color: #000000;
    padding: 22px 4px 21px;
    text-decoration: none;
}

.account-menu-item:hover .account-menu-arrow {
    transform: translateX(3px);
}

.account-menu-item strong,
.account-menu-item small {
    display: block;
}

.account-menu-item strong {
    font-size: 17px;
    font-weight: 500;
}

.account-menu-item small {
    margin-top: 3px;
    color: #6f6f6f;
    font-size: 13px;
    line-height: 1.45;
}

.account-menu-arrow {
    flex: 0 0 auto;
    color: #777777;
    font-size: 18px;
    transition: transform 160ms ease;
}

.account-content > .account-actions {
    margin-top: 46px;
}

.settings-section {
    border-top: 0.5px solid #d7d7d7;
    border-bottom: 0.5px solid #d7d7d7;
    padding: 38px 0 34px;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.setting-copy {
    min-width: 0;
}

.setting-copy h2 {
    font-size: 17px;
}

.setting-description {
    max-width: 430px;
    margin: 8px 0 0;
    color: #666666;
    font-size: 13.5px;
    line-height: 1.55;
}

.delivery-switch {
    position: relative;
    width: 48px;
    height: 27px;
    flex: 0 0 auto;
    border: 1px solid #a9a9a9;
    border-radius: 999px;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.delivery-switch span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #777777;
    transition: background-color 160ms ease, transform 160ms ease;
}

.delivery-switch[aria-checked="true"] {
    border-color: #000000;
    background: #000000;
}

.delivery-switch[aria-checked="true"] span {
    background: #ffffff;
    transform: translateX(21px);
}

.delivery-switch:disabled {
    cursor: default;
    opacity: 0.45;
}

.doi-note {
    margin-top: 25px;
    border-left: 1px solid #bdb7af;
    padding-left: 16px;
}

.doi-note p,
.settings-note p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.55;
}

.settings-status {
    min-height: 0;
    margin-top: 18px;
}

.settings-status:empty {
    margin-top: 0;
}

.settings-note {
    padding: 25px 0 0;
}

@media (max-width: 600px) {
    .subpage-nav {
        margin-top: -18px;
    }

    .account-menu-item {
        min-height: 88px;
    }

    .setting-row {
        gap: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-menu-arrow,
    .delivery-switch,
    .delivery-switch span {
        transition-duration: 0.01ms !important;
    }
}
