/* Scoped additions; official Yandex component interiors are not restyled. */
.gk-pay-hero-strip,.gk-quick-form,.gk-pay-sticky{font-family:'Golos Text',Arial,sans-serif;color:#100e31}
.gk-pay-hero-strip{max-width:1248px;margin:8px auto 24px;padding:20px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-radius:18px;background:#f5f2ff;box-sizing:border-box}
.gk-pay-hero-strip strong{font-size:22px}.gk-pay-hero-strip a{color:#643bb3;text-decoration:underline;min-height:44px;display:flex;align-items:center}
.gk-pay__badge{max-width:100%;margin:14px 0;min-height:0;line-height:1.5}
.ap-enrollment-side>.gk-pay__badge{grid-column:1}
.gk-pay__badge yandex-pay-badge{max-width:100%}
.gk-pay__widget[hidden]{display:none!important}
.ap-pay .gk-pay__wrap{display:block}
.ap-pay .ap-pay-summary{grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}
.ap-pay .ap-pay-summary strong{white-space:nowrap;font-size:clamp(42px,5vw,68px)}
.ap-pay .ap-pay-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.ap-pay .ap-pay-grid>*{min-width:0}
.gk-quick-form{margin-top:24px;min-width:0}
.gk-quick-form [hidden],.gk-pay-checkout-page [hidden],.gk-pay-sticky[hidden]{display:none!important}
.gk-pay-contact{padding:0;border:0;min-width:0;margin:0 0 20px}
.gk-pay-contact legend{font-size:22px;font-weight:700;padding:0}
.gk-pay-contact>p{font-size:15px!important;color:#686181}
.gk-pay-contact>label{display:grid;gap:8px;font-size:16px;margin:16px 0 0}
.gk-pay-contact input{font:inherit;font-size:16px;width:100%;min-width:0;min-height:50px;box-sizing:border-box;border:1px solid #bcb2d6;border-radius:10px;padding:12px;background:#fff;color:#100e31}
.gk-pay-consent{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.55;cursor:pointer}
.gk-pay-consent input{flex:0 0 22px;width:22px;height:22px;margin:3px 0 0;accent-color:#7847d4}
.gk-pay-consent a{color:#643bb3!important;text-decoration:underline!important;text-underline-offset:3px}
.gk-quick-form .gk-pay-choice{font-size:15px!important;line-height:1.5;margin:16px 0!important}
.gk-quick-form .gk-pay-feedback{font-size:14px!important;line-height:1.55;margin:12px 0 0!important;color:#625a79}
.gk-quick-form[data-pay-error=true] .gk-pay-feedback{color:#a02c33}
.gk-quick-form .gk-pay__cta{box-sizing:border-box;cursor:pointer;width:100%;border:0;background:#100e31;color:white;border-radius:14px;font:700 17px/1.4 'Golos Text',Arial,sans-serif;min-height:56px;padding:14px 18px;text-align:center}
.gk-quick-form .gk-pay__cta:disabled{opacity:.55;cursor:wait}
.gk-pay-sdk-button{width:100%;min-height:54px;margin-top:16px}
.gk-pay-sdk-button iframe{max-width:100%}
.gk-quick-form :focus-visible,.gk-pay-sticky a:focus-visible,.gk-pay-hero-strip a:focus-visible{outline:3px solid #7847d4;outline-offset:3px}
.gk-pay-order{background:#f3f0ff;padding:18px;border-radius:14px;margin-top:16px;font-size:16px;line-height:1.5}
.gk-pay-order a{display:inline-block;padding:12px 0;text-decoration:underline;color:#643bb3}
.gk-pay-checkout-page .ap-pay-tabs{display:flex;border:1px solid #d9d1e9;border-radius:12px;margin:22px 0 16px}
.gk-pay-checkout-page .ap-pay-tabs button{flex:1;min-height:52px;border:0;background:#fff;border-radius:10px;font:inherit;color:#100e31;cursor:pointer}
.gk-pay-checkout-page .ap-pay-tabs [aria-selected=true]{background:#7847d4;color:white}
.gk-pay-checkout-page [role=tabpanel]{font-size:16px;line-height:1.5;margin-bottom:18px}
.gk-pay-checkout-page .gk-pay__widget{width:100%;min-width:0}
.gk-pay-checkout-page .gk-pay__widget-status{font-size:14px;color:#625a79;line-height:1.5}
.gk-pay-sticky{display:none}
@media(max-width:959px){.gk-pay-hero-strip{margin:8px 28px 24px}.ap-pay .ap-pay-grid{grid-template-columns:minmax(0,1fr)}.ap-pay .ap-pay-documents{border-left:0;border-top:1px solid #ded6f4;padding:28px 0 0}}
@media(max-width:639px){
 .gk-pay-hero-strip{display:none}.ap-pay .ap-pay-summary{display:block}
 .ap-pay .ap-pay-summary strong{font-size:clamp(36px,10.5vw,54px)}
 .ap-pay .ap-pay-summary>div+div{padding-left:0}
 .gk-pay__badge{margin:12px 0}
 .ap-programme-row:has([data-yapay-badge]){grid-template-columns:minmax(0,1fr)}
 .ap-programme-row:has([data-yapay-badge])>div:nth-child(2){padding-left:0;border-left:0;min-width:0}
 .gk-pay-consent{font-size:14px}
 .gk-pay-checkout-page .panel{min-width:0}
 .gk-pay-sticky{position:fixed;inset:auto 0 0;z-index:900;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ded6f4;box-shadow:0 -4px 22px #100e310c;box-sizing:border-box}
 .gk-pay-sticky strong{font-size:21px;white-space:nowrap}.gk-pay-sticky span{display:block;font-size:12px;margin-top:4px;color:#686181}
 .gk-pay-sticky a{display:flex;justify-content:center;align-items:center;min-height:48px;background:#7847d4;border-radius:12px;padding:8px 18px;color:white!important;font-size:15px;text-decoration:none!important;text-align:center}
 body.gk-pay-has-sticky{padding-bottom:92px}
}
@media(prefers-reduced-motion:reduce){.gk-quick-form *,.gk-pay-sticky *{scroll-behavior:auto;transition:none}}
@media(max-width:420px){.gk-pay-checkout-page .gk-pay__widget{width:calc(100% + 36px);margin-left:-18px}}
