/* Shared, restrained elevation and hover movement for both portal interfaces. */
:root{--portal-shadow:0 2px 8px rgba(29,27,49,.035);--portal-shadow-raised:0 5px 14px rgba(29,27,49,.055)}
.sidebar{overflow-y:hidden!important;scrollbar-width:none;-ms-overflow-style:none}
.sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.consent-compact{display:grid;gap:3px}
.consent-details-link{justify-self:start;margin-left:28px;font-size:.75rem;font-weight:600;line-height:1.5;color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.consent-dialog{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:500px;max-height:calc(100dvh - 40px);box-sizing:border-box;padding:30px 26px 24px;border:1px solid var(--line,#eae8f0);border-radius:24px;background:var(--surface,#fff);color:var(--text,#252334);box-shadow:0 6px 24px rgba(29,27,49,.09);overflow-y:auto;overscroll-behavior:contain;font-family:inherit}
.consent-dialog::backdrop{background:rgba(25,23,43,.38)}
.consent-dialog h2{padding-right:30px;margin:0 0 18px;font-size:22px;line-height:1.3;letter-spacing:-.02em;text-wrap:balance}
.consent-dialog p{margin:0 0 24px;font-size:14px;line-height:1.65;overflow-wrap:break-word}
.consent-dialog p a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.consent-dialog-close{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:44px;height:44px;padding:12px;border:0;border-radius:50%;background:transparent;color:var(--muted,#737b8e);cursor:pointer}
.consent-dialog-close svg{display:block}
.consent-dialog button:focus-visible,.consent-details-link:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:380px){.consent-dialog{padding:26px 20px 20px}.consent-dialog h2{font-size:20px}}
.auth-form-wrap .check.login-remember{display:flex;align-items:center;gap:10px;align-self:start;justify-self:start;min-height:40px;margin:-2px 0;padding:4px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--muted);font-size:13px;cursor:pointer}
.login-remember input[type=checkbox]{width:19px;height:19px;flex:0 0 19px;margin:0;border-radius:6px;accent-color:var(--primary);cursor:pointer}
.login-remember>span{font-size:13px;line-height:1.4;font-weight:500}
.login-remember:has(input:checked)>span{color:var(--text)}
.login-remember input:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.auth-form-wrap .consent-check{display:flex;align-items:flex-start;gap:10px;padding:6px 0;border:0;border-radius:0;min-height:0;background:transparent;box-shadow:none}
.auth-form-wrap .consent-check:hover,.auth-form-wrap .consent-check:has(input:checked){background:transparent;border-color:transparent;box-shadow:none}
.auth-form-wrap .consent-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}
.auth-form-wrap .consent-check>span{min-width:0;font-size:.75rem;line-height:1.45;font-weight:400;overflow-wrap:break-word}
.auth-form-wrap .consent-check a{font-size:inherit;line-height:inherit;color:var(--primary);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.auth-contact-sites{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.auth-contact-sites .auth-contact-site{width:auto;margin:0;white-space:nowrap}
.auth-contact{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px;background:rgba(255,255,255,.09);align-items:start}
.auth-contact-main{display:contents}
.auth-contact{grid-template-columns:minmax(0,1.15fr) minmax(130px,.85fr) minmax(250px,1.3fr)}
.auth-contact-main>div{min-width:0}
.auth-contact-main>div>span,.auth-contact-phones>span{display:block;margin:0 0 10px;color:rgba(255,255,255,.8);font-size:12px;line-height:1.4;font-weight:600}
.auth-contact p{margin:0 0 8px;font-size:13px;line-height:1.65;color:#fff}
.auth-contact a{font-size:13px}
.auth-contact-phones{gap:9px;align-content:start}
.auth-contact-phones>span{margin-bottom:1px}
.auth-contact-phones a span{font-size:12px;color:rgba(255,255,255,.8)}
.auth-contact-phones a strong{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.auth-contact-sites{grid-column:1/-1;padding-top:16px;border-top:1px solid rgba(255,255,255,.18);gap:12px 24px}
.auth-contact-sites>span{font-size:12px;color:rgba(255,255,255,.8);font-weight:500}
.auth-contact-sites .auth-contact-site{font-size:13px}
@media(min-width:901px) and (max-width:1450px){.auth-contact{grid-template-columns:1fr 1fr;gap:20px;padding:20px}.auth-contact-phones{grid-column:1/-1}.auth-contact-phones>a:not(.auth-contact-site){display:grid;grid-template-columns:minmax(0,1fr) auto}.auth-contact-sites{gap:10px 18px}}
.max-grid{align-items:stretch}
.max-card-connect{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.max-card-connect .max-steps{flex:1;display:grid;align-content:stretch}
.max-card-connect .max-steps>li{align-items:center}
.max-card-connect .max-cta{margin-top:auto;padding-top:18px}
.max-card-connect{background:var(--surface,#fff);gap:20px;padding:26px}
.max-card-connect .max-card-head{padding-bottom:18px;border-bottom:1px solid var(--line);margin:0}
.max-card-connect .max-steps{position:relative;padding:0;margin:0;gap:0;list-style:none}
.max-card-connect .max-steps::before{content:"";position:absolute;top:29px;bottom:30px;left:18px;width:1px;background:#e5e0f1;pointer-events:none}
.max-card-connect .max-steps>li{position:relative;display:flex;gap:16px;padding:17px 0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;align-items:flex-start}
.max-card-connect .max-step-num{position:relative;z-index:1;display:grid;place-items:center;width:37px;height:37px;flex:0 0 37px;margin:0;border:1px solid #e4ddf3;border-radius:12px;background:#f5f2fc;color:#6a51b7;box-shadow:none;font-size:13px;font-weight:700}
.max-card-connect .max-steps li>div{padding-top:1px;min-width:0}
.max-card-connect .max-step-num{color:#6a51b7!important}
.max-card-connect .max-steps::before{display:none}
.max-card-connect .max-steps>li{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:16px;align-items:start}
.max-card-connect .max-steps>li:not(:last-child)::after{content:"";position:absolute;left:18.5px;top:55px;bottom:-17px;width:1px;background:#e5e0f1;pointer-events:none}
.max-card-connect .max-step-num{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:38px;height:38px;padding:0;font-family:'Golos Text',sans-serif;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;letter-spacing:0;text-align:center}
.max-card-connect .max-steps li>div{padding-top:0}
.max-card-connect .max-steps strong{min-height:20px;line-height:20px}
@media(max-width:480px){.max-card-connect .max-steps>li{column-gap:12px}.max-card-connect .max-steps>li:not(:last-child)::after{top:52px;bottom:-14px}}
.max-card-connect .max-steps strong{font-size:15px;line-height:1.35}
.max-card-connect .max-steps li>div>span{margin-top:6px;font-size:13px;line-height:1.5}
.max-card-connect>.alert{margin:0;padding:12px 15px;border-radius:14px;font-size:13px;line-height:1.45}
.max-card-connect .max-cta{margin-top:auto;padding-top:0}
.max-card-connect .max-cta .button{min-height:48px;font-size:14px}
.max-card.max-card-side{align-self:start;padding:0;border:0;background:transparent;box-shadow:none!important;display:grid;gap:16px}
.max-card-side .max-feature{margin:0;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--surface,#fff)}
.max-card-side .max-feature+.max-feature{margin-top:0}
.max-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.max-capability{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;padding:16px;border-radius:16px;background:color-mix(in srgb,var(--accent-soft) 45%,#fff)}
.max-capability svg{width:22px;height:22px;color:var(--primary);margin-bottom:4px}
.max-capability strong{font-size:14px;line-height:1.3;color:var(--text)}
.max-capability>span{font-size:13px;line-height:1.5;color:var(--muted)}
.max-card-side .max-feature:last-child{background:color-mix(in srgb,var(--success-soft,#e8f5ee) 35%,#fff)}
.max-card-side .max-feature p{margin:12px 0 0;font-size:13px;line-height:1.55}
@media(max-width:480px){.max-card-side .max-feature{padding:18px;border-radius:22px}.max-capability{padding:13px;gap:6px}.max-capability strong{font-size:13px}.max-capability>span{font-size:12px}}
@media(max-width:900px){.max-card-connect{height:auto}.max-card-connect .max-steps{flex:0 0 auto}.max-card-connect .max-cta{margin-top:0;padding-top:0}}
@media(max-width:480px){.max-card-connect{padding:20px;gap:16px}.max-card-connect .max-card-head{padding-bottom:16px}.max-card-connect .max-steps>li{gap:12px;padding:14px 0}.max-card-connect .max-steps strong{font-size:14px}.max-card-connect .max-steps li>div>span{font-size:13px}}
.workspace-body{padding-bottom:20px!important}
.content>*:last-child,.rail>*:last-child{margin-bottom:0}
@media(max-width:900px){
 body.app-body{padding-bottom:0!important}
 .workspace-body{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
}
.certificate-order-hero .certificate-order-kicker{font-family:var(--font-accent);font-size:22px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.9);margin-bottom:8px}
.certificate-order-layout{width:100%;max-width:none;margin-inline:0;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr)}
.certificate-order-hero .back-link{position:relative;top:-6px}
.certificate-summary-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.certificate-summary-heading .certificate-order-summary-icon{flex:0 0 48px;width:48px;height:48px;margin:0;border-radius:16px}
.certificate-summary-title{min-width:0}
.certificate-summary-title .eyebrow{margin:0 0 5px;font-size:20px;line-height:1.15}
.certificate-summary-title h2{font-size:clamp(19px,1.6vw,24px);line-height:1.25;overflow-wrap:break-word}
.certificate-order-summary>.certificate-summary-heading+p{margin-top:0;line-height:1.55}
@media(max-width:680px){.certificate-summary-heading{gap:12px;margin-bottom:14px}.certificate-summary-title h2{font-size:20px}.certificate-summary-title .eyebrow{font-size:19px}}
.certificate-period-fieldset{min-inline-size:0;width:100%;box-sizing:border-box;margin:0;padding:16px 18px 18px;border-radius:20px}
.certificate-period-fieldset legend{padding:0 6px;margin-inline-start:0;font-size:.8125rem;line-height:1.4}
.certificate-period-fieldset>p{margin:2px 0 16px;font-size:.8125rem;line-height:1.5}
.certificate-period-grid{gap:16px;align-items:start;min-width:0}
.certificate-period-grid>.field{min-width:0;gap:8px}
.certificate-month-selects{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:8px;min-width:0}
.certificate-month-selects>.fancy-select-wrap{min-width:0}
.certificate-order-form-card .certificate-month-selects .fancy-select-trigger,
.certificate-order-form-card .certificate-month-selects select.fancy-select:not(.fancy-select-native){height:50px;min-height:50px;border-radius:13px;background-color:#fff;padding-left:12px;font-size:.875rem}
.certificate-month-selects .fancy-select-value{line-height:1.4}
.certificate-order-period-note{align-items:flex-start;gap:10px;padding:14px;border-radius:14px}
.certificate-order-period-note .certificate-period-bolt{display:flex;flex:0 0 18px;align-items:center;justify-content:center;width:18px;height:20px;margin-top:1px;line-height:1}
.certificate-period-bolt svg{display:block;width:18px;height:18px;transform:rotate(180deg);max-width:none}
.certificate-order-period-note p{min-width:0;margin:0;font-size:.8125rem;line-height:1.55;color:var(--muted);overflow-wrap:break-word}
.certificate-order-period-note strong{font-weight:700;color:var(--text)}
.certificate-month-selects .fancy-select-menu{max-height:min(240px,40dvh)}
@media(max-width:680px){
 .certificate-period-fieldset{padding:14px 14px 16px;border-radius:18px}
 .certificate-period-fieldset>p{margin:0 0 14px}
 .certificate-period-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .certificate-order-form-card .certificate-month-selects .fancy-select-trigger,
 .certificate-order-form-card .certificate-month-selects select.fancy-select:not(.fancy-select-native){height:48px;min-height:48px}
}
/* Keep the native first paint identical to the enhanced certificate selects. */
.certificate-order-form-card select.fancy-select:not(.fancy-select-native){height:54px;min-height:54px;border-radius:15px;padding:11px 36px 11px 14px;background-color:#fbfbfd;font-family:inherit;font-size:14px;font-weight:600;line-height:1.55;transition:none}
.certificate-month-selects select.fancy-select:not(.fancy-select-native){padding-left:12px;background-color:#fff}
.certificate-order-form-card{overflow:visible;position:relative}
.certificate-order-form-card:has(.fancy-select-wrap.is-open){z-index:20;transform:none!important}
.certificate-order-form-card .fancy-select-wrap.is-open{z-index:30}
.certificate-order-form-card .fancy-select-menu{max-height:min(320px,50dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(max-width:680px){.certificate-order-form-card select.fancy-select:not(.fancy-select-native){height:52px;min-height:52px}}
@media(max-width:900px){.certificate-order-layout{grid-template-columns:minmax(0,1fr);max-width:none}}
@media(max-width:680px){.certificate-order-hero .certificate-order-kicker{font-size:20px}}
img,picture{-webkit-user-drag:none;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
@media(max-width:900px){
 .mobile-topbar-brand{min-width:0;flex:1;gap:9px;align-items:center}
 .mobile-topbar-brand>span{min-width:0}
 .mobile-topbar-brand img{width:36px;height:36px;flex:0 0 36px;object-fit:contain}
 .mobile-topbar-brand strong{display:block;font-size:calc(clamp(.6875rem,2.6vw,.9375rem) + 2px);font-weight:700;letter-spacing:-.025em;line-height:1.3;white-space:nowrap;text-wrap:initial;overflow-wrap:normal;max-width:none}
 .mobile-topbar-brand strong>span{display:block;white-space:nowrap}
 .mobile-topbar-brand small{display:block;margin-top:4px;font-size:.625rem;line-height:1.2;letter-spacing:.01em}
}
@media(max-width:900px){.mobile-nav{bottom:calc(20px + env(safe-area-inset-bottom,0px))!important}}
:root{--muted:#737b8e;--portal-caption-size:.8125rem;--portal-label-size:.75rem}
/* Native first paint and JS-enhanced selects share the same visual metrics. */
:where(.field) select:where(.fancy-select):not([multiple]):not(.fancy-select-native){
 height:auto;min-height:45px;width:100%;box-sizing:border-box;
 padding:11px 42px 11px 14px;border-radius:12px;
 font-family:inherit;font-size:14px;font-weight:600;line-height:1.55;
 background-color:#fff;background-size:18px;background-position:right 12px center;
 color:var(--text);transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.field .fancy-select-trigger{box-sizing:border-box;line-height:1.55}
@media(max-width:680px){
 .field select.fancy-select:not([multiple]):not(.fancy-select-native),.field .fancy-select-trigger{font-size:16px}
}
/* Secondary text stays readable without enlarging titles or primary metrics. */
:is(.field small,.summary-box small,.summary-box>span,.stat-card small,.request-cell small,.request-date span,.requests-table td>small,.status-description,.request-period,.lesson-person>div>span,.user-copy>span,.user-profile-list dt,.user-popover-note p,.profile-sync-row span,.form-footer,.field-error-tip,.portal-search-card small,.certificate-order-help p,.certificate-order-summary>p,.certificate-period-fieldset>p,.certificate-order-period-note p,.max-card small,.max-card-head p,.max-step span,.feedback-card small,.announcement-card small){font-size:var(--portal-caption-size);line-height:1.5;font-weight:500}
:is(.requests-table th,.lesson-table th,.nav-caption,.card-kicker,.tag,.status-pill,.button.small,.field>span,.stat-card>span,.certificate-order-limit span){font-size:var(--portal-label-size);line-height:1.4}
:is(.request-cell small,.requests-table td>small,.request-date span,.lesson-person>div>span,.stat-card small,.user-profile-list dt,.user-popover-note p,.profile-sync-row span,.muted-text,.status-description){color:var(--muted)}
.requests-table td,.lesson-table td{font-size:.875rem;line-height:1.5}
.request-date strong,.request-cell strong,.lesson-person strong{font-size:.875rem;font-variant-numeric:tabular-nums}
.status-description{max-width:26ch;overflow-wrap:break-word}
.requests-table td.table-actions:has(form){text-align:center}
.requests-table td.table-actions form{display:flex;justify-content:center;width:100%;margin:0}
@media(min-width:901px){.requests-table th:last-child{text-align:center}}
@media(max-width:900px){
 .requests-table td.table-actions:has(form){text-align:center}
 .requests-table td.table-actions form{display:flex;justify-content:center;width:100%;margin:0}
 .requests-table td.table-actions form .button{width:auto;min-width:110px}
}
@media(max-width:900px){
 .requests-table td[data-label="Статус"]>.status-description{
  grid-column:2;
  width:100%;
  max-width:none;
  margin-top:0;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  overflow-wrap:break-word;
 }
 .requests-table td[data-label="Статус"]>.status-pill{grid-column:2;justify-self:start}
 .requests-table td[data-label="Статус"]::before{grid-column:1;grid-row:1}
}
.request-cell small{max-width:100%}
.request-id-row{min-width:0}.request-id-row small{overflow-wrap:anywhere}
@media(max-width:680px){
 .requests-table td::before,.lesson-table td::before{font-size:var(--portal-label-size);line-height:1.4}
 .request-id-row small{white-space:normal;overflow:visible;text-overflow:clip}
 .request-cell>div{min-width:0}.status-description{max-width:100%}
 .field input,.field select,.field textarea{font-size:1rem}
 .certificate-order-help p,.certificate-order-summary>p,.field small{line-height:1.55}
}
.app-topbar,.app-topbar.is-scrolled{background:var(--bg,#f4f4f6)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.avatar.certificate-avatar{width:44px;height:44px;background:transparent;overflow:visible;box-shadow:none}
.certificate-avatar img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
/* Desktop column percentages must not constrain stacked mobile table cells. */
@media(max-width:900px){
 .lesson-table,.lesson-table tbody,.lesson-table tr{display:block;width:100%;min-width:0}
 .lesson-table thead{display:none}
 .lesson-table tr{padding:16px 0;border-bottom:1px solid var(--line)}
 .lesson-table tr:last-child{border-bottom:0}
 .lesson-table td:nth-child(n){display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:12px;width:100%;max-width:100%;min-width:0;padding:9px 16px;overflow:visible;white-space:normal;text-overflow:clip;border-bottom:0;box-sizing:border-box}
 .lesson-table td::before{content:attr(data-label);padding-top:2px}
 .lesson-table td>*{min-width:0;max-width:100%}
 .lesson-person{gap:9px;align-items:center}
 .lesson-person>div{min-width:0}
 .lesson-person strong{overflow-wrap:anywhere}
 .lesson-person .certificate-avatar{flex:0 0 38px;width:38px;height:38px}
 .lesson-action-inner{justify-content:flex-start;flex-wrap:wrap;gap:8px}
 .lesson-table .tag{white-space:normal;overflow-wrap:break-word;width:fit-content;max-width:100%}
}
:is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.survey-thanks,.certificate-order-summary,.certificate-order-help,.requests-table-wrap,.hero-banner,.portal-page-hero,.max-hero,.auth-form-wrap){box-shadow:var(--portal-shadow)!important}
:is(.user-popover,.appearance-panel,.mobile-more-sheet,.mobile-appearance-panel,.fancy-select-menu,.fancy-datetime-panel,.field-error-tip){box-shadow:0 5px 18px rgba(29,27,49,.075)!important}
.app-topbar.is-scrolled,.mobile-bottom-nav,.mobile-nav{box-shadow:0 2px 10px rgba(29,27,49,.045)!important}
.button.primary,.button.secondary,.icon-btn{box-shadow:0 2px 6px rgba(29,27,49,.055)!important}
@media(hover:hover) and (pointer:fine){
 :is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.certificate-order-summary,.certificate-order-help){transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important}
 :is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.certificate-order-summary,.certificate-order-help):hover{transform:translateY(-2px)!important;--interaction-transform:translateY(-2px);box-shadow:var(--portal-shadow-raised)!important}
 .button:not(:disabled):hover,.icon-btn:hover{transform:translateY(-1px)!important;box-shadow:0 3px 8px rgba(29,27,49,.07)!important}
}
@keyframes portal-panel-in{from{opacity:0;transform:translate3d(0,-3px,0)}to{opacity:1;transform:none}}
@keyframes popover-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 :is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.certificate-order-summary,.certificate-order-help):hover{transform:none!important}
}

/* Keep reveal rules from dropping the transform transition on hover. */
@media(prefers-reduced-motion:no-preference){
 .motion-ready .motion-reveal,
 :is(.button,.icon-btn,.nav-item,.mobile-nav-item,.mentor-row,.follow-btn,.theme-choice,.avatar-choice,.ui-mode-choice,.mobile-more-grid>a){
  transition:transform .28s cubic-bezier(.25,.1,.25,1),box-shadow .28s ease,border-color .2s ease,background-color .2s ease,color .2s ease!important;
 }
 :is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.certificate-order-summary,.certificate-order-help){
  transition:transform .28s cubic-bezier(.25,.1,.25,1),box-shadow .28s ease,border-color .2s ease!important;
 }
 :is(.button,.icon-btn,.follow-btn,.theme-choice,.avatar-choice,.ui-mode-choice,.mobile-more-grid>a):active:not(:disabled){transform:scale(.985)!important}
 .nav-item .nav-ico,.mobile-nav-ico,.mobile-more-ico{transition:transform .24s ease,color .2s ease!important}
 .nav-item:hover .nav-ico,.nav-item.active .nav-ico{transform:translateX(1px)}
 .mobile-nav-item.active .mobile-nav-ico{transform:translateY(-1px)}
 .mobile-nav-item:active{transform:scale(.985)}
}
@media(hover:none){
 :is(.certificate-card,.progress-card,.watch-card,.stat-card,.stat-panel,.mentor-panel,.max-card,.feedback-card,.announcement-card,.survey-list-card,.survey-question,.portal-search-card,.info-block,.form-card,.list-card,.certificate-order-summary,.certificate-order-help):hover{
  transform:none!important;--interaction-transform:translateY(0);
 }
}
@media(prefers-reduced-motion:reduce){
 .motion-ready .motion-reveal,:is(.button,.icon-btn,.nav-item,.mobile-nav-item,.mentor-row,.follow-btn,.theme-choice,.avatar-choice,.ui-mode-choice,.mobile-more-grid>a){transition:none!important}
 :is(.button,.icon-btn,.mobile-nav-item,.follow-btn,.theme-choice,.avatar-choice,.ui-mode-choice,.mobile-more-grid>a):active{transform:none!important}
}
.certificate-copies{min-width:0;margin:0;padding:0;border:0}
.certificate-copies legend{padding:0;margin-bottom:12px;font-size:13px;font-weight:700;color:var(--text,#252334)}
.certificate-copies-options{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}
.certificate-copy-option{position:relative;cursor:pointer;min-width:0}
.certificate-copy-option input{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%)}
.certificate-copy-option span{display:grid;place-items:center;min-height:46px;border:1px solid var(--line,#e1e5ee);border-radius:12px;background:var(--surface,#fff);color:var(--text,#252334);font-size:15px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.certificate-copy-option input:checked+span{background:var(--primary,#24486f);border-color:var(--primary,#24486f);color:#fff}
.certificate-copy-option input:focus-visible+span{outline:2px solid var(--primary,#24486f);outline-offset:3px}
.certificate-copies p{margin:10px 0 0;font-size:13px;line-height:1.5;color:var(--muted,#737b8e)}
@media(hover:hover){.certificate-copy-option:hover span{border-color:var(--primary,#24486f)}}
@media(max-width:680px){.certificate-copies-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.certificate-copy-option span{min-height:44px}}
.request-copies{display:flex;align-items:center;gap:7px;margin-top:7px;font-size:13px;color:var(--muted)}
.request-copies strong{font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}
@media(max-width:900px){
 .requests-table td[data-label="Назначение"]>.request-purpose-text{grid-column:2;min-width:0;overflow-wrap:anywhere}
 .requests-table td[data-label="Назначение"]>.request-copies{display:grid;grid-column:1/-1;grid-template-columns:subgrid;margin:4px 0 0;gap:inherit;align-items:center}
 .request-copies>span{font-size:var(--portal-label-size,11px);line-height:1.4;text-transform:uppercase;color:var(--muted)}
 .request-copies>strong{font-size:14px;line-height:1.5;justify-self:start}
 .requests-table td[data-label="Назначение"]>.request-period{grid-column:2;margin-top:0}
}
a.dashboard-section-link::after{content:none}
