#ProfileSubscriptionsForm .mdc-dialog__surface { position: relative; width: min(800px, calc(100vw - 24px)); max-width: 800px; max-height: calc(100dvh - 24px); border: 1px solid #3d5259; border-radius: 8px; background: #101b20 !important; color: #edf4f6; box-shadow: 0 20px 60px #0007; }
#ProfileSubscriptionsForm .mdc-dialog__title { margin: 0; padding: 24px 60px 16px 24px; color: #edf4f6 !important; font: 700 23px/1.3 Inter, sans-serif !important; letter-spacing: 0; text-transform: none; }
#ProfileSubscriptionsForm .mdc-dialog__title::before { display: none; }
#ProfileSubscriptionsForm .close { position: absolute; top: 18px; right: 18px; left: auto; z-index: 1; display: grid; place-items: center; width: 34px; min-width: 0; height: 34px; padding: 0; margin: 0; border: 1px solid #3c555e; border-radius: 4px; background: transparent; color: #b9cbd0; opacity: 1; line-height: 1; cursor: pointer; }
#ProfileSubscriptionsForm .close .material-symbols-outlined { display: block; margin: 0; font-size: 22px; line-height: 1; pointer-events: none; }
#ProfileSubscriptionsForm .mdc-dialog__content { padding: 0 24px 20px; color: #d9e5e8; text-align: left; overflow-y: auto; }
#ProfileSubscriptionsForm .mdc-dialog__actions { padding: 12px 24px; border-top: 1px solid #30434a; }
#ProfileSubscriptionsForm .mdc-dialog__actions button { color: #9dd7cf; }
#ProfileSubscriptionsForm :where(:not(.ti,.material-symbols-outlined)) { letter-spacing: 0; }
#ProfileSubscriptionsForm [hidden] { display: none !important; }
#ProfileSubscriptionsForm :is(button,a):focus-visible { outline: 2px solid #ffdb54; outline-offset: 3px; }
[data-subscriptions-message] { padding: 28px 0; color: #a9bcc3; text-align: center; line-height: 1.6; }
.psub-current { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0 22px; border-top: 1px solid #30434a; border-bottom: 1px solid #30434a; }
.psub-current > i { flex-shrink: 0; color: #83d6c9; font-size: 26px; line-height: 1.4; }
.psub-current > div { min-width: 0; }
#ProfileSubscriptionsForm h3 { margin: 0 0 8px; color: #edf4f6; font: 600 17px/1.5 Inter, sans-serif !important; text-transform: none; overflow-wrap: anywhere; }
#ProfileSubscriptionsForm .psub-current p { margin: 6px 0 0; color: #b4c6cf; font: 400 13px/1.7 Inter, sans-serif; overflow-wrap: anywhere; }
#ProfileSubscriptionsForm .psub-current .psub-state { margin: 0 0 6px; color: #83d6c9; }
#ProfileSubscriptionsForm .psub-current .psub-period { color: #8fa8b6; font-size: 12px; }
.psub-available { padding: 22px 0 0; }
.psub-tariffs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 0; margin: 16px 0; border: 0; min-width: 0; }
.psub-tariff { position: relative; display: flex; min-width: 0; margin: 0; cursor: pointer; }
.psub-tariff > input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.psub-tariff-body { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border: 1px solid #3b535e; border-radius: 6px; background: #0c171c; }
.psub-tariff-title { padding-right: 16px; color: #edf4f6; font: 600 15px/1.5 Inter, sans-serif; overflow-wrap: anywhere; }
.psub-tariff-name { color: #9fb6c1; font: 400 12px/1.5 Inter, sans-serif; overflow-wrap: anywhere; }
.psub-tariff-benefit { margin-top: auto; color: #adc3cc; font: 400 12px/1.7 Inter, sans-serif; }
.psub-tariff input:checked + .psub-tariff-body { border-color: #f2cd51; box-shadow: inset 0 0 0 1px #f2cd51; }
.psub-tariff input:checked + .psub-tariff-body::after { content: ''; position: absolute; top: 18px; right: 18px; width: 10px; height: 10px; border: 2px solid #f2cd51; border-radius: 50%; background: #f2cd51; }
.psub-tariff input:focus-visible + .psub-tariff-body { outline: 2px solid #83d6c9; outline-offset: 3px; }
#ProfileSubscriptionsForm .psub-note { color: #9fb6c1; margin: 14px 0; font: 400 12px/1.7 Inter, sans-serif; overflow-wrap: anywhere; }
#ProfileSubscriptionsForm .psub-pay { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 46px; padding: 12px 16px; border: 1px solid #f2cd51; border-radius: 5px; background: #f2cd51; color: #13201c; font: 500 14px/1.5 Inter, sans-serif; cursor: pointer; }
.psub-pay > i { font-size: 20px; flex-shrink: 0; }
.psub-pay:disabled { opacity: .6; cursor: wait; }
.psub-documents { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 20px; }
.psub-documents a { color: #8fd6cc; font: 400 12px/1.6 Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.psub-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media(max-width:520px) {
    #ProfileSubscriptionsForm .mdc-dialog__title { padding-left: 18px; font-size: 21px !important; }
    #ProfileSubscriptionsForm .mdc-dialog__content { padding: 0 18px 18px; }
    .psub-tariffs { grid-template-columns: minmax(0,1fr); }
}
