/* VIPbez identity, measured against the original public site.
   Typography uses the system font on Apple platforms; all metrics share these tokens. */
:root {
  --blue:#1f5bff; --black:#000; --white:#fff; --ticker-blue:#2c5afc;
  --muted:#666; --line:#e2e2e2; --soft:#f7f8fb;
  --radius-button:14px; --radius-input:12px; --radius-panel:14px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif;
  --motion-fast:200ms; --motion-panel:450ms; --motion-ease:cubic-bezier(.22,1,.36,1);
  --header-height:65px; --bottom-height:52px;
  font-family:var(--font); color:var(--black);
}
* { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--header-height) + 24px) }
body { margin:0; padding-top:var(--header-height); background:var(--white); line-height:1.55; -webkit-font-smoothing:antialiased }
body.modal-open { overflow:hidden }
[hidden] { display:none!important }
a { color:inherit; text-decoration:none; transition:color var(--motion-fast) ease-in-out }
a:hover { color:var(--black) }
button,input,textarea,select { font:inherit }
button { cursor:pointer }
img { max-width:100%; height:auto }
iframe { max-width:100% }
button,a,input,textarea,select,summary { -webkit-tap-highlight-color:transparent }
:focus-visible { outline:3px solid var(--blue); outline-offset:4px }
.container { width:min(1160px,calc(100% - 80px)); margin-inline:auto }
h1,h2,h3 { hyphens:none }
.sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.skip-link:focus { position:fixed; left:16px; top:12px; z-index:100; background:white; padding:12px; border-radius:12px }
.site-header { position:fixed; top:0; inset-inline:0; z-index:40; background:white; box-shadow:0 2px 3px rgba(0,11,48,.25) }
.header-inner { min-height:65px; padding:10px 60px; display:flex; align-items:center; gap:30px }
.brand { display:inline-flex; flex-shrink:0; align-items:baseline; font-size:24px; font-weight:700; line-height:1.2; letter-spacing:-.03em; white-space:nowrap }
.brand-word,.brand-dash { color:var(--black); transition:color var(--motion-fast) ease-in-out }
.brand-dash { white-space:pre }
.brand-education { color:var(--blue); transition:color var(--motion-fast) ease-in-out }
.brand:hover .brand-word { color:var(--blue) }
.brand:hover .brand-education { color:var(--black) }
.header-navigation { display:flex; align-items:center; gap:22px; margin-left:auto; white-space:nowrap; font-size:14px; font-weight:600 }
.header-navigation { gap:14px; font-size:13px }
.header-navigation a { position:relative; padding:7px 0 }
.header-navigation a::after { content:""; position:absolute; height:2px; left:0; right:100%; bottom:3px; background:var(--blue); transition:right var(--motion-fast) ease-in-out }
.header-navigation a:hover::after,.header-navigation a:focus-visible::after,.header-navigation a[aria-current="page"]::after { right:0 }
.header-navigation a[aria-current="page"] { color:var(--blue) }
.mobile-menu { display:none }
.social-links { display:flex; align-items:center; gap:14px; margin-left:auto }
.social-link { position:relative; display:flex; width:30px; height:30px; color:var(--black); flex-shrink:0; border-radius:50% }
.social-link::before { content:""; position:absolute; width:44px; height:44px; left:50%; top:50%; transform:translate(-50%,-50%) }
.social-link:hover { color:var(--blue) }
.social-svg { width:30px; height:30px; flex:none }
.social-svg path { transition:fill var(--motion-fast) ease-in-out }
.social-telegram .social-svg path { transform:translateX(-1.3px) }
.header-actions { display:flex; align-items:center; gap:10px }
.inline-form { margin:0 }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 28px; border:0; border-radius:var(--radius-button); font-size:16px; line-height:1.4; font-weight:600; text-align:center; transition:background-color var(--motion-fast) ease-in-out,color var(--motion-fast) ease-in-out,opacity var(--motion-fast) ease-in-out }
.button-blue { color:white; background:var(--blue) }
.button-black { color:white; background:var(--black) }
.button-blue:hover { background:var(--black); color:white }
.button-black:hover { background:var(--blue); color:white }
.button-white { background:white; color:var(--blue) }
.button-white:hover { background:var(--black); color:white }
.button:active { opacity:.85 }
.button:disabled { opacity:.6; cursor:wait }
.header-actions .button { width:auto; min-width:150px; min-height:38px; padding:8px 15px; border-radius:12px; font-size:14px; white-space:nowrap }
.management-shortcut { display:grid; place-items:center; width:40px; height:40px; flex:none; color:var(--blue); border:1px solid var(--line); border-radius:12px; background:white; transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast) }
.management-shortcut:hover { color:white; background:var(--blue); border-color:var(--blue) }
.desktop-navigation { min-height:39px; margin-top:24px; margin-bottom:24px }
.desktop-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-width:0; max-width:100% }
.desktop-breadcrumbs > a,.desktop-breadcrumbs > span { display:inline-flex; align-items:center; min-height:39px; max-width:min(100%,460px); padding:8px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--blue); box-shadow:0 4px 16px #15224b0d; font-size:14px; font-weight:600; line-height:1.3; overflow-wrap:anywhere }
.desktop-breadcrumbs > a:hover { border-color:var(--blue); background:var(--soft) }
.desktop-breadcrumbs > span { background:var(--soft); color:var(--black); box-shadow:none }
.floating-trail { position:fixed; z-index:30; top:calc(var(--header-height) + 24px); left:max(20px,calc(25vw - 290px)); transform:translateX(-50%); display:flex; justify-content:center }
.floating-link,.floating-instructions,.floating-feedback,.floating-contents { display:inline-flex; align-items:center; gap:8px; max-width:100%; min-height:39px; padding:9px 12px; border:1px solid var(--line); border-radius:11px; background:white; color:var(--blue); box-shadow:0 4px 16px #15224b0d; font-family:var(--font); font-size:14px; font-weight:600; line-height:1.25; letter-spacing:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:border-color var(--motion-fast),background-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast) }
.floating-link:hover,.floating-instructions:hover,.floating-feedback:hover,.floating-contents:hover { border-color:var(--blue); background:var(--soft); color:var(--blue); transform:translateY(-2px) }
.floating-link svg,.floating-instructions svg,.floating-feedback svg,.floating-contents svg { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round }
.floating-previous { justify-content:center; width:39px; min-width:39px; height:39px; padding:9px }
.floating-previous span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
@media(min-width:1440px) { .floating-previous { width:auto; min-width:82px; padding:9px 12px } .floating-previous span { position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto } }
@media(min-width:981px) and (max-width:1239px) { .floating-previous { width:30px; min-width:30px; padding:5px } }
.floating-previous[hidden],main a.back-link[hidden] { display:none!important }
.mobile-breadcrumbs { display:none }
.has-floating-navigation main .breadcrumbs { display:none }
.has-floating-navigation .document,.has-floating-navigation .portal,.has-floating-navigation .lesson { padding-top:28px }
.floating-instructions { position:fixed; right:24px; bottom:24px; z-index:30 }
.floating-feedback { position:fixed; left:24px; bottom:24px; z-index:30 }
.floating-contents { position:fixed; right:24px; top:calc(var(--header-height) + 24px); z-index:30 }
.floating-instructions[aria-current="page"] { border-color:var(--blue); background:var(--blue); color:white }
.manage-icon { display:block; width:20px; height:20px; flex:none }
.section-navigation { display:flex; gap:26px; flex-wrap:wrap; padding-top:22px; font-size:14px; font-weight:600 }
.section-navigation a { padding-block:6px }
.hero { padding:115px 0 20px; text-align:center }
.hero h1 { font-size:28px; line-height:1.23; font-weight:700; margin:0; transition:color var(--motion-fast) ease-in-out; letter-spacing:-.025em }
.hero h1 span { color:var(--blue); transition:color var(--motion-fast) ease-in-out }
@media(hover:hover) {
  .hero h1:hover { color:var(--blue) }
  .hero h1:hover span { color:var(--black) }
}
.process { padding:75px 0 15px }
.process h2 { text-align:center; font-size:28px; line-height:1.23; font-weight:600; margin:0 }
.timeline { list-style:none; width:min(760px,100%); margin:105px auto 0; padding:0; counter-reset:step; position:relative }
.timeline::before { content:""; position:absolute; left:50%; top:20px; bottom:65px; width:2px; background:#222; transform:translateX(-50%) }
.timeline li { counter-increment:step; position:relative; min-height:108px; width:50%; padding:8px 55px 28px 0; text-align:right; display:flex; flex-direction:column }
.timeline li:nth-child(even) { margin-left:50%; text-align:left; padding:8px 0 28px 55px }
.timeline li::before { content:counter(step); position:absolute; right:-25px; top:5px; width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--blue); color:white; font-weight:400; font-size:20px; z-index:1 }
.timeline li:nth-child(even)::before { left:-25px; right:auto }
.timeline strong { font-size:22px; font-weight:600; line-height:1.35 }
.timeline small { color:var(--black); font-size:14px; font-weight:300; line-height:1.55; margin-top:12px }
.information-ticker { overflow:hidden; background:var(--ticker-blue); color:white; height:40px; margin:75px 0 15px; display:flex; align-items:center }
.ticker-track { display:flex; align-items:center; width:max-content; animation:vipbez-marquee 30s linear infinite }
.ticker-sequence { display:flex; flex:none; align-items:center; justify-content:space-around; min-width:100vw; width:max-content }
.ticker-item { flex:none; padding-inline:14px; font-size:20px; line-height:40px; font-weight:500; white-space:nowrap }
.ticker-separator { display:inline-block; margin-left:28px; font-weight:600 }
.information-ticker:hover .ticker-track { animation-play-state:paused }
@keyframes vipbez-marquee { to { transform:translateX(-50%) } }
.information { padding-top:75px }
.homepage .information { padding-bottom:100px }
.document-accordion-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px }
.document-accordion-grid .document-link { display:block; min-width:0; min-height:84px; padding:22px 0; border-top:1px solid #eee; color:var(--blue); font-size:22px; line-height:1.35; font-weight:600; text-align:left }
.document-link-tail { white-space:nowrap }
.document-accordion-grid .document-link:hover { color:var(--black) }
.document-accordion-grid .document-link:nth-child(3),.document-accordion-grid .document-link:nth-child(4) { border-bottom:1px solid #eee }
.document-accordion-grid .instruction-link-row { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; column-gap:32px; min-height:84px; padding:27px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; font-size:22px; line-height:1.35; font-weight:600; text-align:center }
.instruction-link-row a { color:var(--blue) }
.instruction-link-row a:hover { color:var(--black) }
.instruction-link-row .instruction-question { color:var(--black); font-weight:700 }
.instruction-link-row .instruction-question:hover { color:var(--blue) }
.information h2,.contact-section > .container > h2 { text-align:center; font-size:42px; line-height:1.23; font-weight:600; letter-spacing:-.025em; margin:0 0 90px }
.document-accordion details { border-top:1px solid #eee }
.document-accordion details:last-child { border-bottom:1px solid #eee }
.document-accordion summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:27px 0; cursor:pointer; font-size:22px; font-weight:600; line-height:1.35; min-height:84px }
.document-accordion summary::-webkit-details-marker { display:none }
.document-accordion summary > span:first-child { transition:color var(--motion-fast) }
.document-accordion summary:hover > span:first-child { color:var(--blue) }
.document-accordion summary a { color:var(--blue) }
.document-accordion summary:hover a { color:var(--black) }
.accordion-icon { position:relative; width:40px; height:40px; flex:none; border-radius:50%; background:transparent; transition:background-color var(--motion-fast),transform var(--motion-fast) }
.accordion-icon::before,.accordion-icon::after { content:""; position:absolute; width:24px; height:1px; background:var(--black); left:8px; top:19.5px; transition:background-color var(--motion-fast) }
.accordion-icon::after { transform:rotate(90deg) }
summary:hover .accordion-icon,summary:focus-visible .accordion-icon { background:var(--blue) }
summary:hover .accordion-icon::before,summary:hover .accordion-icon::after,summary:focus-visible .accordion-icon::before,summary:focus-visible .accordion-icon::after { background:white }
details[open] .accordion-icon { transform:rotate(45deg) }
.accordion-content { padding:0 50px 30px 0; font-size:20px; animation:vipbez-expand 200ms ease-out }
.accordion-content a,.text-link { color:var(--blue) }
.accordion-content a:hover,.text-link:hover { color:var(--black) }
@keyframes vipbez-expand { from { opacity:0; transform:translateY(-5px) } to { opacity:1; transform:translateY(0) } }
.contact-section { padding:75px 0 105px; background:white }
.contact-section > .container > h2 { margin-bottom:30px }
.contact-description { text-align:center; font-size:24px; line-height:1.5; max-width:620px; margin:0 auto 60px; font-weight:300 }
.contact-layout { display:grid; grid-template-columns:560px 460px; gap:40px; align-items:start }
.contact-details { font-size:20px; line-height:1.55 }
.contact-details p { margin:0 0 28px }
.contact-links { font-size:30px; line-height:1.55; font-weight:600 }
.contact-links a:hover { color:var(--blue) }
.contact-details .text-link { font-size:16px }
.brand-form .form-field { margin-bottom:25px }
.brand-form input:not([type=checkbox]):not([type=hidden]),.brand-form textarea,
.auth-card input:not([type=checkbox]):not([type=hidden]),.activity-card textarea,
.activity-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select {
  width:100%; min-width:0; display:block; border:1px solid #c9c9c9; border-radius:var(--radius-input); background:white; color:var(--black); padding:17px 20px; min-height:60px; font-size:16px; line-height:1.5; outline-offset:2px; transition:border-color var(--motion-fast),box-shadow var(--motion-fast);
}
select:not([multiple]) { height:40px; min-height:40px; padding:7px 10px; font-size:14px; line-height:1.3 }
input::placeholder,textarea::placeholder { color:#888; opacity:1 }
input:focus,textarea:focus,select:focus { border-color:var(--blue); box-shadow:0 0 0 2px #1f5bff18 }
textarea { resize:vertical }
.brand-form .button { min-height:60px; padding-inline:60px }
.registration-form .button { width:100% }
.check-row { display:flex!important; align-items:flex-start; gap:10px; font-size:13px!important; font-weight:400!important; line-height:1.5; margin:0 0 20px!important }
.check-row input { width:18px; height:18px; min-height:18px; margin:1px 0 0; flex:none; accent-color:var(--blue) }
.check-row a { color:var(--blue) }
.check-row a:hover { color:var(--black) }
.form-caption { text-align:center; font-size:15px; line-height:1.55; font-weight:300; margin:22px 0 0; color:var(--black)!important }
.field-error,.error,.errorlist { color:#bb2929; font-size:14px; line-height:1.4 }
.errorlist { list-style:none; padding:0; margin:6px 0 12px }
.field-error:empty { display:none }
.form-errors { border-radius:14px; padding:16px; background:#fff1f1; color:#ad2323; margin-bottom:20px; font-size:15px }
[aria-invalid=true] { border-color:#bb2929!important }
.phone-control { position:relative; display:flex; align-items:center }
.phone-control input { padding-left:67px!important }
.phone-control select { position:absolute; left:14px; width:38px; height:36px; min-height:36px; padding:0; border:0; border-radius:6px; font-size:16px; background:transparent; cursor:pointer; box-shadow:none; appearance:none }
.phone-control::after { content:""; position:absolute; left:48px; top:28px; border:3px solid transparent; border-top-color:#888; pointer-events:none }
.is-submitting .button::before { content:""; width:16px; height:16px; border:2px solid #ffffff66; border-top-color:white; border-radius:50%; animation:vipbez-spin 700ms linear infinite }
@keyframes vipbez-spin { to { transform:rotate(360deg) } }
.site-footer { border-top:1px solid var(--line); padding:60px 0; background:white }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; font-size:15px }
.footer-inner .brand { font-size:20px }
.footer-inner a:not(.brand),.footer-inner small { display:block; margin-bottom:10px }
.footer-feedback-trigger { display:none!important }
.footer-inner p,.footer-inner small { color:var(--muted) }
.legal-identifiers { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 12px; font-variant-numeric:tabular-nums }
.legal-identifier { flex:none; white-space:nowrap }
.legal-identifier-value { white-space:nowrap }
.footer-inner .footer-identifiers { display:flex }
.cookie-note { position:fixed; left:50%; bottom:30px; transform:translateX(-50%); z-index:60; width:334px; padding:20px 30px; background:white; border-radius:14px; box-shadow:0 0 20px #0000004d; text-align:center; font-size:13px; font-weight:600; line-height:1.7 }
.cookie-note p { margin:0 }
.cookie-note a { color:var(--blue) }
.cookie-note a:hover { color:var(--black) }
.cookie-note .button { min-height:35px; padding:7px 15px; font-size:13px; font-weight:400; text-transform:uppercase; border-radius:12px; margin-top:15px }
.cookie-close { position:absolute; right:7px; top:0; background:none; border:0; font-size:24px; line-height:1; color:var(--black); padding:6px }
.cookie-close:hover { color:var(--blue) }
.mobile-actions { display:none }
.guide-screenshot { margin:28px 0 48px; max-width:100%; font-size:16px; line-height:1.5 }
.guide-screenshot-image { display:block; width:100%; overflow:hidden; border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 36px #15224b10; line-height:0 }
.guide-screenshot-image:hover { border-color:var(--blue) }
.guide-screenshot-image img { display:block; width:100%; height:auto }
.guide-screenshot figcaption { padding:14px 3px 0; color:var(--black) }
.guide-screenshot figcaption strong { display:block; font-size:18px; font-weight:600 }
.guide-screenshot figcaption ol { margin:6px 0 0; padding-left:23px; color:var(--muted) }
.guide-screenshot figcaption li { padding-left:3px; margin:3px 0 }
.guide-screenshot figcaption li::marker { color:var(--blue); font-weight:700 }
.guide-screenshot-hint { display:block; margin-top:8px; color:var(--muted); font-size:13px }
@media(hover:hover) {
  .button:not(:disabled),.social-link,.management-shortcut,body .article-card,body .course-card { transition:transform var(--motion-fast) var(--motion-ease),box-shadow var(--motion-fast) ease,border-color var(--motion-fast) ease,background-color var(--motion-fast) ease,color var(--motion-fast) ease }
  .button:not(:disabled):hover,.social-link:hover,.management-shortcut:hover { transform:translateY(-2px) }
  body .article-card:hover,body .course-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px #10204b0c }
  .choice:hover { background:#1f5bff08 }
}
.button:not(:disabled):active,.mobile-actions .mobile-action:active { transform:scale(.98) }
.brand-form input:not([type=checkbox]),.brand-form textarea,.auth-card input:not([type=checkbox]),.auth-stage input:not([type=checkbox]) { transition:border-color var(--motion-fast),box-shadow var(--motion-fast) }
.brand-form input:not([type=checkbox]):focus,.brand-form textarea:focus,.auth-card input:not([type=checkbox]):focus,.auth-stage input:not([type=checkbox]):focus { box-shadow:0 0 0 4px #1f5bff16 }
.brand-dialog { position:fixed; border:0; padding:0; color:var(--black); background:white; border-radius:14px; width:min(560px,calc(100% - 40px)); max-width:none; max-height:calc(100dvh - 40px); overflow:auto; overscroll-behavior:contain }
.brand-dialog:focus { outline:none }
.brand-dialog::backdrop { background:rgba(0,0,0,.6) }
.contact-dialog::backdrop { background:transparent }
.course-contents-dialog::backdrop { background:transparent }
.instruction-contact-dialog::backdrop { background:rgba(0,0,0,.16) }
.brand-dialog[open] .dialog-content { animation:vipbez-modal-in 250ms var(--motion-ease) }
.contact-dialog { inset:auto auto 76px 24px; margin:0; width:min(440px,calc(100vw - 48px)); max-height:calc(100dvh - 100px); box-shadow:0 18px 55px #10204b2c; transform-origin:left bottom }
.course-contents-dialog { inset:calc(var(--header-height) + 76px) 24px auto auto; margin:0; width:min(520px,calc(100vw - 48px)); max-height:calc(100dvh - var(--header-height) - 100px); box-shadow:0 18px 55px #10204b2c }
.course-contents-dialog[open] { display:flex; flex-direction:column; overflow:hidden }
.course-contents-header { position:relative; flex:none; padding:26px 26px 0; background:white }
.course-contents-header h2 { margin:0 42px 6px 0; text-align:left; font-size:15px; color:var(--muted) }
.course-contents-name { margin:0 32px 22px 0; color:var(--black); font-size:22px; font-weight:600; line-height:1.3; overflow-wrap:anywhere }
.course-contents-dialog .dialog-content { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 26px 26px }
.course-contents-section + .course-contents-section { margin-top:24px }
.course-contents-section h3 { font-size:17px; line-height:1.35; margin:0 0 10px; padding:12px 14px; border-radius:10px; background:var(--soft); color:var(--black) }
.course-contents-section ol { list-style:none; margin:0; padding:0 }
.course-contents-section li { border-top:1px solid var(--line); padding:10px 0; display:grid; gap:2px }
.course-contents-section li.is-current { border-bottom:2px solid var(--blue); padding-bottom:8px }
.course-contents-section li a,.course-contents-current { font-weight:600; line-height:1.35; overflow-wrap:anywhere }
.course-contents-section li a { color:var(--black) }
.course-contents-section li a:hover { color:var(--blue) }
.course-contents-current { color:var(--muted) }
.course-contents-section li small { color:var(--muted) }
.course-contents-locked { color:var(--muted); overflow-wrap:anywhere }
.instruction-contact-dialog { inset:0; margin:auto; width:min(440px,calc(100vw - 48px)); box-shadow:0 18px 55px #10204b2c }
.contact-dialog[open] { animation:vipbez-contact-in 260ms var(--motion-ease) }
.contact-dialog .dialog-content,.instruction-contact-dialog .dialog-content { padding:28px 28px 24px }
.contact-dialog .dialog-content h2,.instruction-contact-dialog .dialog-content h2 { font-size:26px; text-align:left; margin-bottom:20px }
.contact-dialog .brand-form .form-field,.instruction-contact-dialog .brand-form .form-field { margin-bottom:12px }
.contact-dialog .brand-form input:not([type=checkbox]):not([type=hidden]),.contact-dialog .brand-form textarea,.instruction-contact-dialog .brand-form input:not([type=checkbox]):not([type=hidden]),.instruction-contact-dialog .brand-form textarea { min-height:44px; padding:10px 14px }
.contact-dialog .brand-form textarea,.instruction-contact-dialog .brand-form textarea { min-height:74px }
.contact-dialog .brand-form .button,.instruction-contact-dialog .brand-form .button { display:flex; width:max-content; min-height:44px; padding:8px 24px; margin-left:auto }
.contact-dialog .form-caption,.instruction-contact-dialog .form-caption { margin-bottom:0 }
.contact-dialog .contact-form-actions,.instruction-contact-dialog .contact-form-actions { display:flex; align-items:center; gap:12px; margin-top:16px }
.contact-dialog .contact-form-actions .form-caption,.instruction-contact-dialog .contact-form-actions .form-caption { flex:1; min-width:0; margin:0; font-size:12px; line-height:1.4 }
.contact-dialog .contact-form-actions .button,.instruction-contact-dialog .contact-form-actions .button { flex:none; margin:0 }
.contact-dialog > .dialog-close,.instruction-contact-dialog > .dialog-close { background:transparent; color:var(--black) }
.contact-dialog > .dialog-close:hover,.instruction-contact-dialog > .dialog-close:hover { background:var(--blue); color:white }
.contact-dialog > .dialog-close:focus-visible,.instruction-contact-dialog > .dialog-close:focus-visible { outline-color:var(--black) }
@keyframes vipbez-contact-in { from { opacity:0; transform:scale(.86) translateY(12px) } to { opacity:1; transform:scale(1) translateY(0) } }
.dialog-content { padding:40px 45px }
.dialog-content h2 { font-size:36px; line-height:1.23; letter-spacing:-.025em; font-weight:600; margin:0 0 28px; text-align:center }
.dialog-close { position:absolute; right:10px; top:8px; width:36px; height:36px; border:0; border-radius:50%; background:white; color:var(--black); font-size:30px; line-height:1; z-index:2; display:grid; place-items:center }
.dialog-close:hover { background:var(--blue); color:white }
.document-dialog { width:min(1280px,94vw); height:min(820px,86dvh); max-height:86dvh; border-radius:18px; overflow:hidden; box-shadow:0 20px 70px #00000047 }
.document-dialog[open] { animation:vipbez-document-in var(--motion-panel) var(--motion-ease) }
.document-dialog-header { height:64px; padding:0 12px 0 30px; display:flex; gap:8px; align-items:center; background:white }
.document-dialog-header h2 { flex:1; min-width:0; font-size:clamp(18px,2.1vw,32px); line-height:1.05; font-weight:600; margin:0; letter-spacing:-.03em }
.document-dialog-header h2:hover { color:var(--blue) }
.document-dialog-header h2:focus { outline:none }
.round-control { width:40px; height:40px; border-radius:50%; background:var(--blue); color:white; border:0; flex:none; display:grid; place-items:center; font-size:26px; line-height:1; transition:background-color var(--motion-fast) }
.round-control:hover { background:var(--black); color:white }
.document-frame { display:block; width:100%; height:calc(100% - 64px); border:0; background:white }
.feedback-dialog { text-align:center }
.feedback-dialog .button { min-width:200px; margin-top:15px }
.feedback-dialog h2 { font-size:30px }
.success-symbol { color:var(--blue); font-size:45px; margin-bottom:15px }
@keyframes vipbez-modal-in { from { opacity:0; transform:translateY(12px) } to { opacity:1; transform:translateY(0) } }
@keyframes vipbez-document-in { from { opacity:0; transform:scale(.08) } to { opacity:1; transform:scale(1) } }
.document { padding-block:60px 100px; max-width:1160px; min-height:55vh }
.document-instructions { max-width:1160px }
.document h1,.portal h1,.lesson h1 { font-size:clamp(28px,3.4vw,42px); line-height:1.23; letter-spacing:-.025em; font-weight:600; overflow-wrap:break-word }
.back-link { display:inline-block; margin-bottom:28px; color:var(--blue); font-weight:600; font-size:16px }
.back-link:hover { color:var(--black) }
.prose { font-size:20px; line-height:1.65; overflow-wrap:anywhere }
.prose h2 { font-size:28px; line-height:1.35; font-weight:600; margin-top:2em }
.prose p { margin:1em 0 }
.prose a { color:var(--blue); text-decoration:none }
.prose a:hover { color:var(--black) }
.prose blockquote { border-left:3px solid var(--blue); margin:30px 0; padding-left:20px }
.prose table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:15px }
main table.numbered-table { table-layout:auto }
main table.numbered-table tr > :first-child { width:5%!important; min-width:48px; white-space:nowrap }
main table.numbered-table tr > :not(:first-child) { width:auto!important }
.prose .public-table { margin:28px 0 36px }
.prose th,.prose td,.table-scroll th,.table-scroll td { padding:12px; border:1px solid var(--line); text-align:left; vertical-align:top }
.prose th,.table-scroll th { background:var(--soft) }
.prose iframe { width:100%; min-height:360px; border:0; border-radius:14px }
.article-list,.course-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr)); gap:24px; margin-top:34px }
.article-card,.course-card,.empty-state,.outline-section,.activity-card { border:1px solid var(--line); border-radius:var(--radius-panel); padding:28px; background:white }
.article-card,.course-card { transition:border-color var(--motion-fast),color var(--motion-fast),background-color var(--motion-fast) }
.article-card:hover,.course-card:hover { border-color:var(--blue); background:#1f5bff03 }
.article-card h2,.course-card h2 { font-size:22px; font-weight:600; line-height:1.35 }
.article-card span:last-child,.card-action { color:var(--blue); font-weight:600 }
.auth-page,.auth-shell { min-height:65vh; display:grid; place-items:center; padding-block:65px 90px }
.auth-card { width:min(100%,560px); padding:40px 45px; border-radius:14px; background:white }
.auth-card h1 { font-size:36px; line-height:1.23; font-weight:600; letter-spacing:-.025em; margin-top:0 }
.auth-card p { color:var(--muted) }
.auth-card label { display:block; margin:0 0 22px; font-size:15px; font-weight:600 }
.auth-card input { margin-top:7px }
.auth-card .brand-form input { margin-top:0 }
.auth-card .button { width:100%; min-height:60px }
.auth-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; margin-top:25px; font-size:14px; color:var(--blue) }
.auth-links a:hover { color:var(--black) }
.text-button { border:0; padding:0; background:none; color:var(--blue); font-size:14px }
.text-button:hover { color:var(--black) }
.portal { padding-block:48px 100px; min-height:65vh }
.portal-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:30px }
.portal-heading h1 { font-size:clamp(28px,3vw,36px); line-height:1.2; margin:18px 0 12px }
.portal-heading p { color:var(--muted); font-size:16px; margin:0 }
.portal-heading-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; flex:none }
.portal-heading-actions .button { min-height:44px; padding:10px 15px; font-size:14px; white-space:nowrap }
.dashboard-heading { display:block }
.dashboard-heading > div:first-child { max-width:none }
.dashboard-heading h1 { font-size:clamp(27px,2.7vw,34px); overflow-wrap:normal }
.dashboard-heading-row { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:20px }
.dashboard-heading-row > p { flex:1; min-width:0 }
.dashboard-heading-actions { justify-content:flex-end; margin:0 }
.dashboard-logout { margin:0 }
.dashboard-logout .button { height:100% }
.button-outline { color:var(--blue); background:white; border:1px solid #d9e1fa }
.button-outline:hover { color:white; background:var(--blue); border-color:var(--blue) }
.course-card p { color:var(--muted); font-size:16px }
.course-card { display:flex; flex-direction:column; min-height:220px }
.course-card p { flex:1 }
.portal .course-grid { margin-top:0 }
.content-management-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px }
.content-management-grid .contact-requests-card { grid-column:1/-1 }
.portal .course-card { min-height:214px; padding:26px 28px }
.portal .course-card h2,.portal .course-card h3 { font-size:20px; line-height:1.35; font-weight:600; letter-spacing:-.015em; margin:20px 0 12px }
.portal .card-action { margin-top:auto; font-size:15px }
.portal .empty-state { grid-column:1/-1 }
.teaching-section { margin-top:56px }
.teaching-section > h2 { font-size:26px; line-height:1.25; margin:0 0 22px }
.teaching-section .course-card a { color:var(--blue); font-weight:600 }
.teaching-section .course-card a:hover { color:var(--black) }
.teacher-course-card { gap:18px }
.portal .teacher-course-card h3 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; min-height:5.4em; max-height:5.4em; margin:0 }
.teacher-card-actions { display:grid; grid-template-rows:repeat(3,minmax(42px,auto)); align-content:start }
.teacher-card-actions a { display:flex; align-items:center; width:fit-content; max-width:100%; line-height:1.35 }
.eyebrow { display:block; text-transform:uppercase; font-size:12px; letter-spacing:.12em; font-weight:600 }
.course-outline { display:grid; gap:24px; margin-top:35px }
.outline-section h2 { margin:0 0 20px; font-size:22px; font-weight:600; line-height:1.35 }
.outline-section ol { list-style:none; padding:0; margin:0 }
.outline-section li { display:flex; align-items:center; gap:12px; padding:16px 0; border-top:1px solid var(--line); font-size:16px }
.outline-section li a { font-weight:600; flex:1; min-width:0; overflow-wrap:anywhere }
.outline-section li small { color:var(--muted); flex:none }
.status-dot { height:17px; width:17px; border:1px solid #aaa; border-radius:50%; flex:none }
.status-dot.completed { background:var(--blue); border-color:var(--blue); position:relative }
.status-dot.completed::after { content:"✓"; color:white; position:absolute; font-size:12px; inset:0; line-height:15px; text-align:center }
.locked { color:var(--muted); flex:1; font-size:15px }
.lesson { padding-block:50px 100px; max-width:1160px; min-height:65vh }
.lesson > .back-link,.portal > .back-link { display:block; width:max-content; max-width:100% }
.lesson .prose { margin:32px 0 }
.material-submit-actions { display:flex; justify-content:flex-end; margin-top:24px }
.material-navigation { display:flex; align-items:center; gap:12px; margin-top:40px; padding-top:24px; border-top:1px solid var(--line) }
.material-nav-link { min-height:42px; padding:9px 16px; border:1px solid var(--line); font-size:14px; white-space:nowrap }
.material-nav-next { margin-left:auto }
.material-nav-link.is-locked { color:var(--muted); background:var(--soft); cursor:not-allowed }
.lesson.docx-lecture .prose { font-family:"Times New Roman",Times,serif; font-size:16px; line-height:1.45 }
.lesson.docx-lecture .prose h2 { font-family:inherit; font-size:19px; font-weight:700 }
.lesson.docx-lecture .prose h3 { font-family:inherit; font-size:17px; font-weight:700 }
.lesson.docx-lecture .prose table { table-layout:auto; font-size:14px }
.portal-heading-meta { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:12px 0 32px }
.portal-heading-meta > p { margin:0; color:var(--muted) }
.portal-heading-meta > .button,.portal-heading-meta > .report-actions { margin-left:auto }
.portal-heading-meta > .button,.report-actions .button { min-height:39px; padding:8px 12px; border-radius:11px; font-size:14px; line-height:1.3; font-weight:600 }
.lecture-import { margin:0 0 32px }
.lecture-import > form { padding:24px; border:1px solid var(--line); border-radius:var(--radius-panel); background:var(--soft) }
.lecture-import > form > p { margin:0 0 18px; color:var(--muted) }
.lecture-import-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:16px }
.lecture-import-fields label { display:grid; gap:6px; font-weight:600 }
.lecture-import-fields input,.lecture-import-fields select { width:100%; min-width:0; min-height:40px; padding:7px 10px; border:1px solid var(--line); border-radius:12px; background:white }
.lecture-import-replace { display:flex; align-items:center; gap:10px; margin:0 0 18px; font-weight:600 }
.lecture-import-replace input { width:18px; height:18px; margin:0; accent-color:var(--blue) }
.lecture-section + .lecture-section { margin-top:24px }
.lecture-drafts { margin-top:20px }
.lecture-drafts > summary { color:var(--blue); font-weight:600; cursor:pointer }
.lecture-drafts > p { color:var(--muted); font-size:14px }
.lecture-empty { margin:0; padding:18px 20px; color:var(--muted) }
.lecture-material-list { border:1px solid var(--line); border-radius:var(--radius-panel); overflow:hidden }
.lecture-material-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:17px 20px; border-bottom:1px solid var(--line) }
.lecture-material-row:last-child { border-bottom:0 }
.lecture-material-title { display:block; color:var(--black); font-size:15px; font-weight:600; line-height:1.35 }
.lecture-material-title:hover { color:var(--blue) }
.lecture-material-row small { display:block; color:var(--muted) }
.lecture-material-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; flex:none; font-size:14px; font-weight:600; color:var(--blue) }
.lecture-material-actions form { margin:0 }
.report-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px; margin:0 }
.button-excel { background:#107c41; color:white }
.button-excel:hover { background:var(--black); color:white }
.excel-symbol { display:inline-grid; place-items:center; flex:none; width:26px; height:26px; border:2px solid currentColor; border-radius:4px; font-size:17px; font-weight:800; line-height:1 }
.report-actions .excel-symbol { width:18px; height:18px; border-width:1.5px; font-size:11px }
.excel-inline { display:inline-flex; align-items:center; gap:6px; color:#107c41; font-weight:600; white-space:nowrap }
.excel-inline:hover { color:var(--black) }
.excel-inline .excel-symbol { width:20px; height:20px; font-size:13px }
.docx-inline { display:inline-flex; align-items:center; gap:6px; color:var(--blue); font-weight:600; white-space:nowrap }
.docx-inline:hover { color:var(--black) }
.docx-symbol { display:inline-grid; place-items:center; flex:none; width:20px; height:20px; border:2px solid currentColor; border-radius:4px; font-size:13px; font-weight:800; line-height:1 }
.lecture-upload { cursor:pointer }
.lecture-upload input { position:absolute; width:1px; height:1px; opacity:0 }
.lecture-upload:focus-within { outline:3px solid var(--blue); outline-offset:4px }
@media(max-width:680px){.portal-heading-meta { align-items:flex-start; flex-direction:column }.portal-heading-meta > .button,.portal-heading-meta > .report-actions { margin-left:0 }.report-actions { justify-content:flex-start }.lecture-material-row { align-items:flex-start; flex-direction:column }.lecture-material-actions { flex:none }}
.activity-card { margin-top:40px }
.activity-card h2 { font-size:26px; font-weight:600 }
.activity-card fieldset { border:1px solid var(--line); border-radius:14px; margin:25px 0; padding:20px; min-width:0 }
.activity-card legend { font-weight:600; font-size:18px; line-height:1.5; padding:0 6px; max-width:100%; overflow-wrap:anywhere }
.choice { display:flex; align-items:flex-start; gap:12px; padding:10px 0; font-size:16px; cursor:pointer; border-radius:8px }
.choice:hover { color:var(--blue) }
.choice input { width:18px; height:18px; flex:none; margin:4px 0 0; accent-color:var(--blue) }
.review-list a { display:grid; grid-template-columns:2fr 1fr auto; gap:18px; padding:18px; border-bottom:1px solid var(--line) }
.review-list a:hover { background:var(--soft) }
.submission-status { border-left:3px solid var(--blue); padding:16px; background:var(--soft); margin:18px 0 }
.table-scroll { overflow:auto; margin-top:28px; border-radius:14px }
.table-scroll table { width:100%; border-collapse:collapse; min-width:560px }
.contacts-page { padding-bottom:100px }
.contacts-page .breadcrumbs { display:flex; gap:10px; align-items:center; margin:26px 0 48px; color:var(--muted); font-size:14px }
.contacts-page .breadcrumbs a::after { content:"/"; margin-left:10px; color:#aaa }
.contacts-heading { max-width:850px; margin-bottom:20px }
.contacts-heading h1 { font-size:clamp(38px,5vw,64px); line-height:1.1; letter-spacing:-.05em; margin:0 0 16px }
.contacts-heading p { max-width:720px; margin:0; color:var(--muted); font-size:18px }
.contacts-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,480px); align-items:start; gap:24px }
.contacts-info { display:grid; gap:16px; min-width:0 }
.contacts-forms { display:grid; gap:16px; min-width:0 }
.contacts-card,.contacts-form-panel { padding:30px; border:1px solid var(--line); border-radius:var(--radius-panel); background:white }
.contacts-card .eyebrow,.contacts-form-panel .eyebrow { color:var(--blue) }
.contacts-primary { display:block; margin-top:13px; font-size:clamp(20px,2.3vw,28px); line-height:1.25; font-weight:600; overflow-wrap:anywhere }
.contacts-channels { display:grid; gap:6px; margin-top:14px }
.contacts-channels a { display:flex; align-items:center; gap:12px; min-height:47px; border-radius:10px; font-weight:600 }
.contacts-channels a:hover { background:var(--soft) }
.contacts-channels a .social-svg { width:28px; height:28px }
.contacts-channels a span:nth-child(2) { flex:1 }
.contacts-channels a span:last-child { color:var(--blue) }
.contacts-card h2,.contacts-form-panel h2 { font-size:24px; line-height:1.25; margin:14px 0 }
.contacts-card p,.contacts-form-panel > p { color:var(--muted); margin:10px 0 }
.contacts-requisites { font-size:14px }
.contacts-direct { display:grid; grid-template-columns:max-content auto minmax(0,max-content); align-items:baseline; justify-content:start; gap:14px; margin-top:14px }
.contacts-direct a { min-width:0; color:var(--black); font-size:clamp(16px,1.8vw,22px); font-weight:600; line-height:1.3; overflow-wrap:anywhere }
.contacts-direct a:hover { color:var(--blue) }
.contacts-direct > span { color:var(--blue); font-size:20px }
.contacts-channels { grid-template-columns:max-content auto max-content; justify-content:start; align-items:center; column-gap:14px }
.contacts-channels a { min-width:0; gap:8px; font-size:14px }
.contacts-channels a span:last-child { color:var(--black); min-width:0 }
.contacts-requisites { display:grid; gap:9px; margin-top:16px; color:var(--muted); font-size:13px; line-height:1.4 }
.contacts-requisite-row { display:grid; grid-template-columns:max-content auto max-content; justify-content:start; align-items:baseline; gap:14px }
.contacts-requisites span { min-width:0; overflow-wrap:anywhere }
.contacts-separator { color:var(--blue); text-align:center }
.contacts-channels .contacts-separator { font-size:19px }
.contacts-form-panel { background:var(--soft) }
.contacts-form-panel h2 { margin-top:0 }
.contacts-form-panel .brand-form { margin-top:28px }
.contacts-form-panel .brand-form input:not([type=checkbox]):not([type=hidden]),.contacts-form-panel .brand-form textarea { width:100% }
.contacts-form-panel .brand-form .form-field { margin-bottom:16px }
.contacts-form-panel .brand-form .button { width:100% }
@media(max-width:1020px) and (min-width:681px) { .contacts-grid { grid-template-columns:1fr } .contacts-info { max-width:740px } .contacts-forms { max-width:740px } }
.contact-mode-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0; padding:16px; border:1px solid var(--line); border-radius:12px; background:white; cursor:pointer }
.contact-mode-switch > span:first-child { display:grid; gap:2px }
.contact-mode-switch strong { font-size:14px; line-height:1.3 }
.contact-mode-switch small { color:var(--muted); font-size:13px }
.contact-mode-switch input { position:absolute; width:1px; height:1px; opacity:0 }
.contact-switch-track { position:relative; width:44px; height:26px; flex:none; border-radius:30px; background:#ced2dc; transition:background-color var(--motion-fast) }
.contact-switch-track::after { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:white; box-shadow:0 1px 3px #0002; transition:transform var(--motion-fast) }
.contact-mode-switch:has(input:checked) .contact-switch-track { background:var(--blue) }
.contact-mode-switch:has(input:checked) .contact-switch-track::after { transform:translateX(18px) }
.contact-mode-switch:has(input:focus-visible) { outline:3px solid var(--blue); outline-offset:3px }
.contact-corporate-fields { display:none; padding:4px 0 0 }
.contact-mode-switch:has(input:checked) + .contact-corporate-fields { display:block }
.profile-page { position:relative; padding-block:45px 100px; min-height:65vh }
.profile-heading { margin-bottom:26px; text-align:center }
.profile-heading h1 { font-size:clamp(32px,4vw,46px); line-height:1.15; letter-spacing:-.04em; margin:12px 0 }
.profile-heading p { color:var(--muted); margin:0 }
.profile-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 40px; width:100%; padding:34px; border:1px solid var(--line); border-radius:var(--radius-panel); background:white }
.profile-panel h2 { font-size:22px; line-height:1.3; margin:0 0 18px }
.profile-name-grid,.profile-contact-grid { display:grid; grid-template-columns:1fr; grid-auto-rows:minmax(76px,auto); gap:14px }
.profile-field label,.profile-contact-field label,.profile-dialog label { display:block; font-size:14px; font-weight:600; margin-bottom:8px }
.profile-field input,.profile-contact-field input,.profile-dialog input { width:100%; min-height:48px; padding:10px 14px; border:1px solid #cfd3da; border-radius:var(--radius-input); background:white; outline-offset:2px }
.profile-field input:focus,.profile-dialog input:focus { border-color:var(--blue) }
.profile-field .errorlist { margin:6px 0 0; padding:0; list-style:none; color:#b42318; font-size:13px }
.profile-name-form { display:flex; flex-direction:column; min-width:0 }
.profile-contacts { min-width:0 }
.profile-contact-field { margin:0 }
.profile-contact-control { position:relative }
.profile-contact-field input[readonly] { color:#393f4c; background:var(--soft); padding-right:110px }
.profile-contact-field button { position:absolute; top:50%; right:7px; transform:translateY(-50%); min-height:34px; padding:5px 10px; border:0; border-radius:8px; background:transparent; color:var(--blue); font-size:14px; font-weight:600 }
.profile-contact-field button:hover { background:#e8edff; color:var(--black) }
.profile-edit-icon { display:none; width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round }
.profile-actions { grid-column:1/-1; display:none; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px 28px }
.profile-action-links { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:16px 28px }
.profile-action-links .back-link { margin:0 }
.profile-desktop-links { align-self:end; justify-content:space-between; flex-wrap:nowrap; gap:8px; min-height:48px; font-size:16px; font-weight:600 }
.profile-desktop-links .button { flex:none; min-height:48px; padding:10px 18px; font-size:inherit; font-weight:inherit }
.profile-desktop-links .back-link { flex:none; font-size:inherit; font-weight:inherit; white-space:nowrap }
.profile-action-links form { margin:0 }
.profile-logout { border:0; padding:0; background:none; cursor:pointer; font:inherit }
.profile-desktop-links .profile-logout,.profile-actions .profile-action-links .profile-logout { font-weight:400 }
@media(max-width:1150px) and (min-width:681px) { .profile-desktop-links { gap:4px; font-size:14px }.profile-desktop-links .button { padding-inline:10px } }
.profile-dialog .dialog-content { padding-top:42px }
.profile-dialog .dialog-content h2 { text-align:left; margin:12px 0 }
.profile-dialog .dialog-content h2:focus { outline:none }
.profile-dialog .dialog-close { display:grid; place-items:center; padding:0; background:transparent }
.profile-dialog .dialog-close svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round }
.profile-dialog .dialog-close:hover { background:var(--blue); color:white }
.profile-dialog .dialog-close:focus-visible { outline:0; box-shadow:0 2px 0 var(--black) }
.profile-dialog .dialog-content > p { color:var(--muted) }
.profile-dialog .profile-dialog-error { color:#b42318; margin:12px 0 }
.profile-dialog form { margin-top:22px }
.profile-dialog form .button { width:100%; margin-top:16px }
.profile-dialog input { font-size:17px }
.profile-dialog #profile-code { letter-spacing:.25em; font-variant-numeric:tabular-nums }
.messages { max-width:1160px; margin:auto; padding:8px 20px; color:var(--blue) }
.embedded-page { padding:0 }
.embedded-page .document { width:calc(100% - 60px); padding-block:15px 45px; max-width:none }
.embedded-page .prose { font-size:18px }
@media(max-width:1150px) and (min-width:981px) {
  .header-inner { padding-inline:28px; gap:16px }
  .brand { font-size:22px }
  .header-navigation { gap:14px; font-size:13px }
  .social-links { gap:8px }
  .social-mail { display:none }
  .contact-layout { grid-template-columns:1fr 1fr; gap:40px }
}
@media(max-width:1450px) and (min-width:981px) {
  .header-navigation { display:none }
  .mobile-menu { display:block; flex:none; position:relative }
  .mobile-menu summary { list-style:none; display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:var(--blue); cursor:pointer; font-size:24px; line-height:1 }
  .mobile-menu summary::-webkit-details-marker { display:none }
  .mobile-menu nav { position:fixed; top:var(--header-height); right:20px; z-index:48; display:flex; flex-direction:column; min-width:230px; max-height:calc(100dvh - var(--header-height) - 20px); overflow-y:auto; padding:8px; border-radius:14px; background:white; box-shadow:0 10px 32px #0003 }
  .mobile-menu nav a { padding:10px 15px; border-radius:10px; font-size:15px; font-weight:600 }
  .mobile-menu nav a:hover { background:var(--soft) }
  .mobile-menu nav a[aria-current="page"] { background:var(--soft); color:var(--blue) }
}
@media(max-width:980px) {
  :root { --header-height:52px }
  body { padding-bottom:calc(var(--bottom-height) + env(safe-area-inset-bottom)) }
  .floating-instructions,.floating-feedback { display:none }
  .floating-contents { top:calc(var(--header-height) + 12px); right:16px }
  .course-contents-dialog { inset:0; width:100vw; height:100dvh; max-height:100dvh; border-radius:0 }
  .course-contents-header { padding-top:calc(26px + env(safe-area-inset-top)) }
  .course-contents-header .dialog-close { top:calc(8px + env(safe-area-inset-top)) }
  .desktop-navigation,.floating-trail { display:none }
  .instructions-page .floating-trail { position:static; display:flex; width:calc(100% - 40px); margin:18px auto 0; transform:none; justify-content:flex-start }
  .instructions-page .floating-previous { width:auto; min-width:0; padding:9px 12px }
  .instructions-page .floating-previous span { position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto }
  .instructions-page .document { padding-top:8px }
  .mobile-breadcrumbs { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; width:calc(100% - 40px); margin:20px auto 0; color:var(--muted); font-size:13px; line-height:1.5 }
  .mobile-breadcrumbs a { color:var(--blue) }
  .mobile-breadcrumbs a::after { content:"/"; margin-left:6px; color:#a2a7b1 }
  .mobile-breadcrumbs a:last-child::after { content:none }
  .mobile-breadcrumbs span { overflow-wrap:anywhere }
  .header-inner { min-height:52px; padding:10px 20px; gap:12px }
  .brand { font-size:20px; letter-spacing:-.04em }
  .header-actions,.social-mail { display:none }
  .header-navigation { display:none }
  .social-links { gap:14px }
  .mobile-menu { display:none }
  .social-max { order:1 }.social-vk { order:2 }.social-telegram { order:3 }.social-phone { order:4 }
  .mobile-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:fixed; bottom:0; left:0; right:0; z-index:45; align-items:stretch; padding:1px max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left)); min-height:var(--bottom-height); border-top:1px solid var(--line); background:rgba(255,255,255,.97); box-shadow:0 -8px 28px #101d3a0d; -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px) }
  .mobile-actions .mobile-action { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; min-width:0; min-height:48px; padding:2px 2px 4px; border:0; border-radius:12px; background:transparent; color:#535866; font-size:10px; font-weight:600; line-height:1.1; text-align:center; cursor:pointer; transition:color var(--motion-fast),background-color var(--motion-fast),transform var(--motion-fast) }
  .mobile-actions .mobile-action svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform var(--motion-fast) var(--motion-ease) }
  .mobile-actions .mobile-action[aria-current="page"],.mobile-more[open] > summary { color:var(--blue); background:#1f5bff0d }
  @media(hover:hover) { .mobile-actions .mobile-action:hover { color:var(--blue); background:#1f5bff0d } .mobile-actions .mobile-action:hover svg { transform:translateY(-2px) } }
  .mobile-more[open] > summary svg { transform:translateY(-2px) }
  .mobile-actions:has(.mobile-more[open]) > .mobile-action[aria-current="page"] { color:#535866; background:transparent }
  .mobile-more { min-width:0 }
  .mobile-more > summary { list-style:none }
  .mobile-more > summary::-webkit-details-marker { display:none }
  .mobile-more-panel { position:absolute; bottom:calc(100% + 10px); right:max(8px,env(safe-area-inset-right)); width:min(360px,calc(100vw - 16px)); max-height:min(72dvh,650px); overflow-y:auto; overscroll-behavior:contain; padding:13px; border:1px solid var(--line); border-radius:20px; background:white; box-shadow:0 18px 55px #10204b2c; animation:vipbez-sheet-in 260ms var(--motion-ease) }
  .mobile-more-heading { margin:10px 12px 6px; font-size:12px; font-weight:700; line-height:1.3; letter-spacing:.1em; text-transform:uppercase; color:var(--muted) }
  .mobile-more-panel a,.mobile-more-panel button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:47px; padding:10px 12px; border:0; border-radius:11px; background:white; color:var(--black); font-size:15px; font-weight:600; line-height:1.35; text-align:left; text-decoration:none }
  .mobile-more-panel a:hover,.mobile-more-panel button:hover,.mobile-more-panel a[aria-current="page"] { background:var(--soft); color:var(--blue) }
  .mobile-more-panel a span,.mobile-more-panel button span { color:var(--blue); font-size:18px; font-weight:400 }
  .mobile-more-panel form { margin:0 }
  @keyframes vipbez-sheet-in { from { opacity:0; transform:translateY(12px) scale(.98) } to { opacity:1; transform:translateY(0) scale(1) } }
  .container { width:calc(100% - 40px) }
  .hero { padding:75px 0 0 }
  .process { padding-top:50px }
  .timeline { margin-top:45px }
  .information-ticker { margin-top:45px }
  .information h2 { margin-bottom:45px }
  .document-accordion-grid { column-gap:20px }
  .contact-layout { grid-template-columns:1fr 1fr; gap:40px }
  .dashboard-heading-row { align-items:flex-start; flex-direction:column; gap:16px }
  .dashboard-heading-actions { flex-direction:row; justify-content:flex-start; width:100% }
  .cookie-note { left:50%; right:auto; bottom:calc(var(--bottom-height) + 18px + env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(338px,calc(100% - 28px)); padding:7px 9px; display:flex; align-items:center; gap:8px; font-size:12px; line-height:1.2; border-radius:14px }
  .cookie-note p { flex:1; min-width:0 }
  .cookie-note .button { flex:none; margin:0; min-height:26px; padding:5px 10px; font-size:12px }
  .cookie-close { display:none }
  .footer-inner { grid-template-columns:1.5fr 1fr; gap:30px }
  .footer-inner > div:last-child { grid-column:1/-1 }
  .footer-inner .footer-identifiers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:8px }
  .footer-inner .legal-identifier { display:flex; flex-direction:column; min-width:0; white-space:normal }
  .footer-feedback-trigger { display:block!important }
  .contact-dialog,.instruction-contact-dialog { inset:0; margin:0; width:100vw; height:100dvh; max-height:100dvh; border-radius:0; transform-origin:bottom center }
  .contact-dialog .dialog-content,.instruction-contact-dialog .dialog-content { padding:calc(26px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)); min-height:100% }
  .contact-dialog .dialog-content h2,.instruction-contact-dialog .dialog-content h2 { text-align:center; margin-bottom:32px }
  .contact-dialog .brand-form .form-field,.instruction-contact-dialog .brand-form .form-field { margin-bottom:20px }
  .contact-dialog .brand-form .button,.instruction-contact-dialog .brand-form .button { min-height:52px }
  .contact-dialog .brand-form textarea,.instruction-contact-dialog .brand-form textarea { min-height:100px }
  .embedded-page { padding:0 }
}
@media(max-width:680px) {
  .document-accordion-grid,.content-management-grid,.lecture-import-fields { grid-template-columns:1fr }
  .document-accordion-grid .instruction-link-row { grid-template-columns:1fr; gap:8px; min-height:60px; padding:16px 0; font-size:17px }
  .document-accordion-grid .document-link { min-height:60px; padding:16px 4px; font-size:17px; border-bottom:0!important }
  .document-accordion-grid .document-link:nth-child(4) { border-bottom:1px solid #eee!important }
  .contacts-grid { grid-template-columns:1fr }
  .contacts-page { padding-bottom:65px }
  .contacts-heading { margin-bottom:26px }
  .contacts-heading p { font-size:16px }
  .contacts-card,.contacts-form-panel { padding:22px }
  .contacts-direct { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px }
  .contacts-direct a { font-size:clamp(12px,3.5vw,16px) }
  .contacts-direct > span { font-size:17px }
  .contacts-channels { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); column-gap:8px }
  .contacts-channels a { gap:6px; font-size:12px }
  .contacts-channels a .social-svg { width:22px; height:22px }
  .contacts-requisites { gap:8px; font-size:12px }
  .contacts-requisite-row { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:8px }
  .profile-page { padding-block:35px 65px }
  .profile-panel { grid-template-columns:1fr; gap:28px; padding:24px 18px }
  .profile-name-grid { grid-template-columns:1fr }
  .profile-desktop-links { display:none }
  .profile-contacts { padding-top:28px; border-top:1px solid var(--line) }
  .profile-actions { display:flex; align-items:center; flex-direction:row; flex-wrap:nowrap; gap:8px }
  .profile-actions > .button { flex:none; min-height:44px; padding:9px 16px; font-size:clamp(13px,3.6vw,14px) }
  .profile-action-links { flex-direction:column; align-items:flex-end; justify-content:center; flex-wrap:nowrap; gap:10px; text-align:right }
  .profile-actions .back-link { font-size:clamp(13px,3.6vw,14px); font-weight:600; line-height:1.3; white-space:nowrap }
  .profile-contact-field input[readonly] { padding-right:48px }
  .profile-contact-field button { display:grid; place-items:center; width:36px; min-height:36px; padding:7px }
  .profile-edit-label { display:none }
  .profile-edit-icon { display:block }
  .profile-dialog .dialog-content { padding:36px 22px 26px }
  .header-inner { padding-inline:16px; gap:10px }
  .brand { font-size:clamp(16px,4.8vw,20px) }
  .social-links { gap:10px }
  .social-phone { display:none }
  .hero h1 { font-size:28px; line-height:1.23; letter-spacing:-.025em }
  .process h2 { font-size:28px; max-width:350px; margin-inline:auto; line-height:1.35 }
  .timeline::before { left:25px; bottom:60px }
  .timeline li,.timeline li:nth-child(even) { width:100%; margin:0; min-height:84px; padding:5px 0 28px 70px; text-align:left }
  .timeline li::before,.timeline li:nth-child(even)::before { left:0; right:auto }
  .timeline strong { font-size:18px }
  .timeline small { font-size:12px; margin-top:8px; line-height:1.5 }
  .timeline li::before { font-size:18px }
  .information h2,.contact-section > .container > h2 { font-size:30px; line-height:1.3 }
  .information { padding-top:55px }
  .document-accordion summary { min-height:60px; padding:13px 0; font-size:20px }
  .accordion-icon { width:30px; height:30px }
  .accordion-icon::before,.accordion-icon::after { left:3px; top:14.5px }
  .accordion-content { font-size:18px; padding-right:25px }
  .contact-section { padding-block:55px 60px }
  .contact-description { font-size:20px; margin-bottom:40px }
  .contact-layout { grid-template-columns:1fr; gap:35px }
  .site-footer { padding:35px 0 26px }
  .footer-inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 16px; font-size:13px }
  .footer-inner > div:first-child { grid-column:1/-1 }
  .footer-inner > nav,.footer-inner > div:last-child { min-width:0 }
  .footer-inner > div:last-child a { overflow-wrap:anywhere }
  .footer-identifiers { font-size:clamp(10px,2.8vw,12px) }
  .home-identifiers { font-size:14px }
  .legal-identifiers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:8px }
  .legal-identifier { display:flex; flex-direction:column; min-width:0; white-space:normal }
  .legal-identifier-value { font-size:clamp(10px,2.7vw,12px); letter-spacing:-.01em }
  .contact-details { font-size:18px }
  .contact-links { font-size:24px }
  .brand-form .form-field { margin-bottom:20px }
  .brand-form input:not([type=checkbox]):not([type=hidden]),.brand-form textarea,.auth-card input:not([type=checkbox]):not([type=hidden]) { min-height:56px; padding-block:15px }
  .brand-form .button { width:100%; min-height:56px }
  .auth-page,.auth-shell { padding-block:40px 65px }
  .auth-card { padding:20px 0 }
  .auth-card h1 { font-size:30px }
  .dialog-content { padding:35px 20px 25px }
  .dialog-content h2 { font-size:30px; margin-bottom:25px }
  .brand-dialog { width:calc(100% - 28px); max-height:calc(100dvh - 28px) }
  .course-contents-dialog { width:100vw; height:100dvh; max-height:100dvh }
  .contact-dialog,.instruction-contact-dialog { width:100vw; height:100dvh; max-height:100dvh }
  .document-dialog { width:calc(100% - 20px); height:88dvh; max-height:88dvh }
  .document-dialog-header { padding-left:18px; height:70px; gap:6px }
  .document-dialog-header h2 { font-size:17px; line-height:1.2 }
  .round-control { width:34px; height:34px }
  .document-frame { height:calc(100% - 70px) }
  .form-caption { font-size:13px }
  .document,.portal,.lesson { padding-block:35px 65px }
  .portal h1 { font-size:clamp(21px,6.6vw,26px) }
  .prose { font-size:18px }
  .prose h2 { font-size:24px }
  .article-card,.course-card,.empty-state,.outline-section,.activity-card { padding:20px }
  .material-navigation { flex-wrap:wrap }
  .material-nav-link { white-space:normal }
  .portal-heading { align-items:flex-start; flex-direction:column; gap:20px }
  .portal-heading-actions { flex-direction:column; align-items:stretch; width:100% }
  .portal-heading-actions .button { width:100%; min-width:0; white-space:normal }
  .dashboard-heading-actions { flex-direction:row; align-items:stretch; justify-content:flex-start }
  .dashboard-heading-actions > a,.dashboard-heading-actions > form { flex:1; min-width:0 }
  .dashboard-heading-actions .button { width:100%; height:100% }
  .portal .course-card { min-height:190px; padding:21px }
  .portal .course-card h2,.portal .course-card h3 { font-size:18px }
  .mobile-actions .mobile-action { font-size:10px }
  .guide-screenshot { margin:22px 0 36px }
  .outline-section li { flex-wrap:wrap; gap:10px }
  .outline-section li small { margin-left:27px; width:calc(100% - 27px) }
  .activity-card fieldset { padding:15px }
  .activity-card legend { font-size:17px }
  .review-list a { grid-template-columns:1fr }
  .section-navigation { gap:18px; padding-top:15px; font-size:13px }
  .footer-inner > div:last-child { grid-column:auto }
  .embedded-page .document { width:calc(100% - 36px); padding-top:10px }
}
@media(min-width:981px) and (max-width:1366px) and (any-pointer:coarse) {
  .footer-inner .footer-identifiers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:8px }
  .footer-inner .legal-identifier { display:flex; flex-direction:column; min-width:0; white-space:normal }
}
@media(max-width:360px) {
  .header-inner { padding-inline:12px; gap:8px }
  .brand { font-size:16px }
  .social-links { gap:8px }
  .social-link,.social-svg { width:28px; height:28px }
  .hero h1 { font-size:25px }
  .process h2 { font-size:25px }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important }
  .ticker-track { animation:none!important; transform:none!important }
}
/* Original compact country flag, without clipping the selected country name. */
.phone-country-flag { position:absolute; left:16px; top:50%; transform:translateY(-50%); font-size:18px; pointer-events:none }
.phone-control select { opacity:0; left:4px; width:52px; height:48px; min-height:48px; z-index:1 }
.phone-control:has(select:focus-visible) { outline:3px solid var(--blue); outline-offset:4px; border-radius:12px }
.form-caption a { color:var(--blue); font-weight:600 }
.form-caption a:hover { color:var(--black) }
.registration-form .form-caption { font-size:14px }
.contact-form .form-caption { font-size:13px; text-align:left; margin-top:20px }
.feedback-dialog,.auth-dialog { max-height:calc(100dvh - 72px) }
.auth-dialog > .dialog-close,.feedback-dialog > .dialog-close { position:absolute; top:12px; right:12px; width:40px; height:40px; color:var(--black); background:var(--soft); border-radius:50% }
.auth-dialog > .dialog-close:hover,.feedback-dialog > .dialog-close:hover { color:white; background:var(--blue) }
.auth-dialog .dialog-content { padding-top:35px }
.auth-eyebrow { display:block; color:var(--blue); text-align:center; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px }
.auth-dialog .dialog-content h2 { margin-bottom:12px }
.auth-intro { margin:0 0 22px; color:var(--muted); text-align:center; font-size:15px }
.auth-stage label { display:block; font-size:14px; font-weight:600; margin-bottom:7px }
.auth-stage input:not([type=hidden]):not([type=checkbox]) { width:100%; min-height:60px; border:1px solid #c9c9c9; border-radius:var(--radius-input); padding:17px 20px; font-size:16px; outline-offset:2px }
.auth-stage input:focus { border-color:var(--blue) }
.auth-stage .button { width:100%; min-height:60px; margin-top:14px }
.auth-status { min-height:22px; margin:8px 0 0; font-size:13px; color:var(--blue); text-align:center }
.auth-error { color:#bb2929; font-size:14px; line-height:1.4; margin:9px 0; text-align:center }
.auth-back { display:inline-block; border:0; background:none; color:var(--blue); padding:0; font-size:14px; font-weight:600; margin-bottom:14px }
.auth-back:hover { color:var(--black) }
.auth-email-summary { display:block; margin:0 0 20px; padding:10px 15px; border-radius:10px; background:var(--soft); color:var(--black); font-weight:600; text-align:center; overflow-wrap:anywhere }
.auth-recovery { display:block; text-align:center; color:var(--blue); font-size:14px; font-weight:600; margin-top:18px }
.auth-recovery:hover { color:var(--black) }
.auth-recovery-resend { width:100%; border:0; background:none; cursor:pointer; font-family:inherit }
.auth-stage .registration-form .form-field { margin-bottom:16px }
.auth-stage .registration-form .button { margin-top:0 }
.document-dialog[data-closing=true]::backdrop { animation:vipbez-backdrop-out 350ms ease forwards }
@keyframes vipbez-backdrop-out { to { background:transparent } }
@media(max-width:360px) { .social-links { gap:8px }.social-link,.social-svg { width:28px; height:28px } }
@media(max-width:360px) { .auth-dialog .dialog-content { padding-top:54px } }
@media(max-width:360px) { .profile-actions > .button { padding-inline:10px; font-size:13px } }
@media(max-width:680px) {
  .auth-dialog > .dialog-close,.feedback-dialog > .dialog-close { top:8px; right:8px; width:40px; height:40px }
  .auth-dialog .dialog-content { padding-top:32px }
}

@media(min-width:361px) and (max-width:420px) { .hero h1 { font-size:26px } }
@media(max-width:360px) { .hero h1 { font-size:clamp(23px,7.5vw,25px) } }
