.lmsAccessChoice.has-tariff-visuals .lms-tariff-pricing {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    padding: 26px 12px;
    padding: 26px clamp(12px, 3vw, 22px);
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    overflow: hidden;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-pricing .lms-access-grid {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-top: 0;
    gap: 22px;
    align-items: stretch;
}

.lmsAccessChoice.has-tariff-visuals .lms-access-grid.is-cards {
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr));
}

.lmsAccessChoice.has-tariff-visuals .lms-access-grid.is-list {
    grid-template-columns: minmax(0, 1fr);
}

.lmsAccessChoice.has-tariff-visuals .lms-access-card.lms-tariff-card {
    --tariff-ink: #1e3a5f;
    --tariff-copy: #34465f;
    --tariff-line: #dfe5ee;
    --tariff-border: #dfe5ee;
    --tariff-accent: #637d9c;
    --tariff-ribbon-color: #6f7782;
    --tariff-ribbon-width: 190px;
    --tariff-check: #34465f;
    --tariff-price: #1e3a5f;
    --tariff-paper: #f2f4f7;
    --tariff-surface: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
    --tariff-shadow: 0 18px 38px rgba(30, 58, 95, 0.10);

    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
    padding: 52px 16px 24px;
    padding: 52px clamp(16px, 4vw, 24px) 24px;
    border: 1px solid var(--tariff-border);
    border-top: 4px solid var(--tariff-accent);
    border-radius: 8px;
    background: var(--tariff-surface);
    box-shadow: var(--tariff-shadow);
    overflow: visible;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card.is-express,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-card.is-deep {
    --tariff-line: #ffd1bc;
    --tariff-border: #ffb48e;
    --tariff-accent: #f36523;
    --tariff-ribbon-color: #f36523;
    --tariff-ribbon-width: 230px;
    --tariff-check: #f36523;
    --tariff-price: #f36523;
    --tariff-paper: #fff7f2;
    --tariff-surface: #fff;
    --tariff-shadow: 0 20px 42px rgba(243, 101, 35, 0.14);
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card.is-deep {
    --tariff-ribbon-width: 250px;
    --tariff-surface: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
    --tariff-shadow: 0 20px 42px rgba(243, 101, 35, 0.16);
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-ribbon {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    max-width: calc(100% - 24px);
    padding: 6px 16px;
    border-radius: 999px;
    background: #f36523;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-ribbon::before {
    content: "\1F525";
    margin-right: 6px;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-inheritance {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0 0 10px;
    padding: 6px 10px;
    border-radius: 7px;
    background: #e8f8e8;
    color: #1f552a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-inheritance::before {
    content: "\2713";
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    height: 18px;
    border-radius: 50%;
    background: #26b65a;
    color: #fff;
    font-size: 12px;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card .lms-tariff-heading {
    min-width: 0;
    margin: 10px 0 4px;
    padding: 0;
    color: var(--tariff-ink);
    font-size: 26px;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 700;
    line-height: 1.12;
    text-align: center;
    overflow-wrap: anywhere;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card .lms-tariff-duration {
    display: block;
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--tariff-copy);
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-duration .lms-access-desc-label,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-duration .lms-access-desc-value {
    display: inline;
    color: inherit;
    font: inherit;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card .lms-access-current {
    align-self: center;
    max-width: 100%;
    margin: 0 0 4px;
    text-align: center;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 18px;
    background: var(--tariff-line);
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-heading + .lms-tariff-divider {
    margin-top: 14px;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-details {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--tariff-copy);
    font-size: 15px;
    line-height: 1.38;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-details .lms-access-desc-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: inherit;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-check {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--tariff-check);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-detail-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-detail-copy .lms-access-desc-label,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-detail-copy .lms-access-desc-value {
    display: inline;
    color: inherit;
    font: inherit;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-detail-copy .lms-access-desc-label {
    font-weight: 700;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-detail-copy .lms-access-desc-label:not(:last-child)::after {
    content: ":";
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    box-sizing: border-box;
    min-width: 0;
    margin: auto 0 0;
    padding: 12px;
    border: 1px solid var(--tariff-line);
    border-radius: 8px;
    background: var(--tariff-paper);
    color: var(--tariff-ink);
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document > a {
    display: block;
    width: 60%;
    min-width: 0;
    margin: 0 auto;
    aspect-ratio: 1.413 / 1;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document > a::after {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    content: '';
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document picture,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-document img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document figcaption {
    min-width: 0;
    min-height: 70px;
    margin: 0;
    padding: 0;
    color: var(--tariff-copy);
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document figcaption b {
    display: block;
    margin: 0 0 8px;
    color: var(--tariff-ink);
    font-size: 16px;
    line-height: 1.16;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document figcaption span {
    display: block;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-card .lms-tariff-price-action {
    display: flex;
    justify-content: center;
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    text-align: center;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-action form {
    min-width: 0;
    max-width: 100%;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-action .lms-btn,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-action .lms-btn:hover,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-action .lms-btn:focus {
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--tariff-price);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.38;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price {
    display: block;
    color: var(--tariff-price);
    font-size: 30px;
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
    margin: 0 0 18px;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-control,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-control:hover,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-control:focus {
    appearance: none;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 auto 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--tariff-price);
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-control:hover {
    text-decoration: underline;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-control:focus-visible {
    outline: 2px solid var(--tariff-ink);
    outline-offset: 3px;
}

.lmsAccessChoice.has-tariff-visuals .lms-access-card > .lms-tariff-buy-action {
    display: flex;
    justify-content: center;
    min-width: 0;
    margin: 16px 0 0;
    text-align: center;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-buy-action form {
    max-width: 100%;
    margin: 0;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-buy-action .lms-btn.is-tariff-purchase,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-buy-action .lms-btn.is-tariff-purchase:hover,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-buy-action .lms-btn.is-tariff-purchase:focus {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid #f36523;
    border-radius: 6px;
    background: #f36523;
    color: #fff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-buy-action .lms-btn:focus-visible {
    outline: 2px solid var(--tariff-ink);
    outline-offset: 3px;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-action-label + .lms-tariff-price {
    margin-top: 3px;
}

.lmsAccessChoice.has-tariff-visuals .is-price-only .lms-tariff-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    white-space: nowrap;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
}

.lmsAccessChoice.has-tariff-visuals .is-price-only .lms-tariff-price {
    margin-top: 0;
}

.lmsAccessChoice.has-tariff-visuals .lms-tariff-document > a:focus-visible::after,
.lmsAccessChoice.has-tariff-visuals .lms-tariff-price-action .lms-btn:focus-visible {
    outline: 2px solid var(--tariff-ink);
    outline-offset: 3px;
}

.lmsAccessChoice .lms-tariff-preview {
    box-sizing: border-box;
    width: calc(100vw - 24px);
    max-width: 980px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(20, 29, 43, 0.32);
    color: #4c4343;
    font-family: Arial, Helvetica, sans-serif;
}

.lmsAccessChoice .lms-tariff-preview:not([open]),
.lmsAccessChoice .lms-tariff-native-preview:not([open]) {
    display: none;
}

.lmsAccessChoice .lms-tariff-native-preview {
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.lmsAccessChoice .lms-tariff-preview-content {
    border-radius: 8px;
    overflow: hidden;
}

.lmsAccessChoice .lms-tariff-preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e6e9ef;
    background: #f8f8f8;
}

.lmsAccessChoice .lms-tariff-preview-header > div {
    min-width: 0;
}

.lmsAccessChoice .lms-tariff-preview .lms-tariff-preview-kicker {
    margin: 0 0 6px;
    color: #bf440a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.lmsAccessChoice .lms-tariff-preview h2 {
    margin: 0;
    color: #1e3a5f;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.22;
}

.lmsAccessChoice .lms-tariff-preview-header form {
    flex: 0 0 auto;
    margin: 0;
}

.lmsAccessChoice .lms-tariff-preview-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #dfe5ee;
    border-radius: 50%;
    background: #fff;
    color: #34465f;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.lmsAccessChoice .lms-tariff-preview-body {
    padding: 16px 18px;
}

.lmsAccessChoice .lms-tariff-preview-body p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
}

.lmsAccessChoice .lms-tariff-preview picture {
    display: block;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

.lmsAccessChoice .lms-tariff-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.lmsAccessChoice .lms-tariff-preview .lms-tariff-preview-actions {
    margin: 12px 0 0;
    text-align: right;
}

.lmsAccessChoice .lms-tariff-preview-done {
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid #f36523;
    border-radius: 6px;
    background: #f36523;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.lmsAccessChoice .lms-tariff-preview button:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .lmsAccessChoice.has-tariff-visuals .lms-access-grid.is-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 900px) {
    .lmsAccessChoice.has-tariff-visuals .lms-tariff-document figcaption {
        min-height: 100px;
    }
}

