/* Partner screens, including the support view. Loaded after legacy mobile rules. */
.modal-card.gc-partner-form{box-sizing:border-box;max-width:calc(100vw - 16px)!important;width:min(590px,100%)!important;padding:12px!important;border-radius:14px!important}
.gc-partner-form #modal-content{min-width:0}
.gc-partner-form .modal-label{font-size:10px!important;padding:3px 7px!important;min-height:0!important;margin:0 0 6px!important}
.gc-partner-form h2{font-size:17px!important;line-height:1.25!important;margin:4px 0 10px!important}
.gc-partner-form .modal-close{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;font-size:19px!important;top:10px!important;right:10px!important;border-radius:7px!important}
.gc-partner-form .ask-form{gap:8px!important;margin-top:10px!important}
.gc-partner-form .ask-form label{display:grid!important;gap:4px!important;min-width:0!important;font-size:11px!important;line-height:1.3!important;margin:0!important}
.gc-partner-form .ask-form :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;min-height:30px!important;height:30px!important;padding:4px 7px!important;margin:0!important;font-size:13px!important;line-height:20px!important;font-weight:400!important;border-radius:7px!important}
.gc-partner-form #personal-sale-form textarea,.gc-partner-form #ask-form textarea,.gc-partner-form #material-request-form textarea{height:44px!important;min-height:44px!important;resize:vertical}
.gc-partner-form .ask-form input[type=date]{appearance:none;-webkit-appearance:none;display:block;text-align:left}
.gc-partner-form input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:20px}
.gc-partner-form input[type=date]::-webkit-datetime-edit{min-width:0;padding:0;display:inline-flex}
.gc-partner-form .modal-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.gc-partner-form .ask-form small{font-size:10px!important;line-height:1.35!important;margin:0!important}
.gc-partner-form .received-date-field{padding:8px!important;border-radius:9px!important}
.gc-partner-form .sale-status-note{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;padding:7px 8px!important;margin:8px 0!important;font-size:11px!important;line-height:1.4!important;border-radius:9px!important}
.gc-partner-form .status-pill{padding:3px 6px!important;min-height:0!important;font-size:10px!important;white-space:nowrap}
.gc-partner-form .ask-form .primary-button{min-height:32px!important;padding:6px 10px!important;font-size:12px!important;border-radius:7px!important}
.gc-partner-form .order-journey-panel{padding:8px!important;margin:0 0 8px!important;border-radius:9px!important}
.gc-partner-form .order-journey-head{gap:6px!important;margin-bottom:8px!important}
.gc-partner-form .order-journey-head small{font-size:9px!important;line-height:1.3!important}
.gc-partner-form .order-journey-head b{font-size:12px!important;line-height:1.3!important}
.gc-partner-form .order-journey-head>span{font-size:10px!important;padding:3px 6px!important;white-space:nowrap}
.gc-partner-form .order-journey-scroll{overflow:visible!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
.gc-partner-form .order-journey{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 6px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.gc-partner-form .order-journey li{display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;gap:4px!important;width:auto!important;min-width:0!important;padding:0!important;align-items:start!important}
.gc-partner-form .order-journey li::before{display:none!important}
.gc-partner-form .journey-marker{width:16px!important;height:16px!important;min-width:16px!important;font-size:9px!important;border-width:1px!important;box-shadow:none!important}
.gc-partner-form .order-journey li :is(b,small){display:block!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere!important}
.gc-partner-form .order-journey li b{font-size:9px!important;line-height:1.25!important}
.gc-partner-form .order-journey li small{font-size:8px!important;line-height:1.3!important;margin-top:2px!important}
html body #app-main.workspace .personal-sales-table td.gc-empty-actions{display:none!important}
html body #app-main.workspace .personal-sales-table .personal-sale-edit{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:none!important;height:26px!important;min-height:26px!important;gap:4px!important;padding:3px 6px!important;border-radius:6px!important;font-size:10px!important;white-space:nowrap!important}
html body #app-main.workspace .personal-sales-table .personal-sale-edit svg{width:12px!important;height:12px!important;flex:0 0 12px!important}
html body #app-main.workspace .personal-sales-table .personal-sale-edit span{display:inline!important;font-size:10px!important;line-height:1.2!important}
html body #app-main.workspace .personal-sale-query{display:inline-flex!important;min-width:0!important;min-height:26px!important;height:26px!important;gap:4px!important;padding:3px 6px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:var(--paper)!important;color:var(--ink)!important;font-size:10px!important;line-height:1.2!important;width:auto!important;cursor:pointer}
@media(max-width:760px){
 #modal-backdrop:has(.gc-partner-form){align-items:center!important;padding:8px!important;box-sizing:border-box!important}
 #modal-backdrop .modal-card.gc-partner-form{max-height:calc(100dvh - 16px)!important}
 #modal-backdrop:has(.gc-install-compact){align-items:center!important;padding:8px!important;box-sizing:border-box!important}
 #modal-backdrop .modal-card.gc-install-compact{max-height:calc(100dvh - 16px)!important}
 html{ -webkit-text-size-adjust:100%;text-size-adjust:100% }
 body html body #app-main.workspace{font-size:12px!important}
 html body #app-main.workspace :is(.page-view[data-view=knowledge],.page-view[data-view=course],.page-view[data-view=media],.page-view[data-view=news],.page-view[data-view=profile],.page-view[data-view=payments],.page-view[data-view=sales]){min-width:0;padding-top:8px!important;gap:10px!important}
 html body #app-main.workspace :is(.page-hero,.compact-page-heading,.page-heading){min-height:0!important;padding:10px 12px!important;margin-bottom:10px!important;border-radius:10px!important;gap:8px!important}
 html body #app-main.workspace :is(.page-hero,.compact-page-heading,.page-heading) h1{font-size:21px!important;line-height:1.15!important;margin:2px 0 4px!important}
 html body #app-main.workspace :is(.page-hero,.compact-page-heading,.page-heading) :is(p,.lead){font-size:12px!important;line-height:1.4!important;margin:0!important}
 html body #app-main.workspace :is(.eyebrow,.hero-kicker){font-size:9px!important;letter-spacing:.06em!important}
 html body #app-main.workspace .knowledge-hero .hero-stat{display:none!important}
 html body #app-main.workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){box-sizing:border-box!important;width:100%;max-width:100%!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:4px 7px!important;font-size:12px!important;line-height:20px!important;font-weight:400!important;border-radius:7px!important}
 html body #app-main.workspace input[type=date]{-webkit-appearance:none;appearance:none;display:block}
 html body #app-main.workspace input[type=date]::-webkit-date-and-time-value{text-align:left}
 html body #app-main.workspace select{padding-right:26px!important;background-position:right 8px center!important}
 html body #app-main.workspace textarea{min-height:58px!important;height:58px!important}
 html body #app-main.workspace label{min-width:0;font-size:11px!important;line-height:1.35!important;gap:4px!important}
 html body #app-main.workspace :is(.primary-button,.secondary-button,.filter-chip,.sort-button,.text-button,.filter-button){box-sizing:border-box;min-height:28px!important;height:auto!important;padding:5px 8px!important;font-size:11px!important;line-height:1.3!important;border-radius:7px!important;gap:4px!important}
 html body #app-main.workspace :is(.filter-chips,.knowledge-toolbar,.result-heading,.profile-form,.profile-form-grid,.payments-filters,.sales-filters){gap:6px!important;margin-top:6px!important;margin-bottom:8px!important}
 html body #app-main.workspace .knowledge-search{min-height:32px!important;padding:0 7px!important;border-radius:8px!important;gap:6px!important}
 html body #app-main.workspace .knowledge-search input{background:transparent!important}
 html body #app-main.workspace .page-view:is([data-view=profile],[data-view=sales],[data-view=payments],[data-view=knowledge],[data-view=media],[data-view=course],[data-view=news]) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-height:30px!important;height:30px!important;font-size:12px!important;padding:4px 7px!important;margin-top:0!important;font-weight:400!important;line-height:20px!important}
 html body #app-main.workspace :is(#sales-insight-search,#personal-sales-status,#personal-sales-channel,#knowledge-search,#knowledge-sort,#material-sort,#profile-contact-method,#profile-contact-value,#forecast-month){min-height:30px!important;height:30px!important;font-size:12px!important;line-height:20px!important;padding:4px 7px!important}
 html body #app-main.workspace :is(#personal-sales-status,#personal-sales-channel,#knowledge-sort,#material-sort,#profile-contact-method,#forecast-month){padding-right:26px!important}
 html body #app-main.workspace .page-view .knowledge-search{height:32px!important;min-height:32px!important}
 html body #app-main.workspace .knowledge-toolbar{padding-top:4px!important;padding-bottom:4px!important}
 html body #app-main.workspace .result-heading{min-height:0!important;height:auto!important}
 html body #app-main.workspace .filter-chips{display:flex!important;flex-wrap:wrap!important}
 html body #app-main.workspace .filter-chip{flex:none!important;min-width:0!important}
 html body #app-main.workspace .result-heading{display:flex!important;align-items:center!important;justify-content:space-between!important}
 html body #app-main.workspace .result-heading :is(b,span){font-size:10px!important}
 html body #app-main.workspace #knowledge-sort{width:auto!important;max-width:190px!important;font-size:11px!important;padding-right:25px!important;background-size:10px!important;white-space:nowrap!important}
 html body #app-main.workspace .knowledge-card{padding:10px!important;border-radius:10px!important;min-height:0!important;gap:6px!important}
 html body #app-main.workspace .knowledge-card h2{font-size:13px!important;line-height:1.3!important;margin:4px 0!important}
 html body #app-main.workspace .knowledge-card p{font-size:12px!important;line-height:1.45!important;margin:4px 0!important}
 html body #app-main.workspace .knowledge-card :is(small,.access-mark,.topic-pill,.knowledge-card-footer){font-size:10px!important;line-height:1.3!important}
 html body #app-main.workspace #knowledge-grid{gap:8px!important}
 html body #app-main.workspace :is(.branch-banner,.gc-training-course,.partner-video-guide,.manual-search){padding:9px!important;gap:6px!important;margin:8px 0!important;border-radius:9px!important}
 html body #app-main.workspace .branch-banner{grid-template-columns:28px minmax(0,1fr)!important;min-height:0!important}
 html body #app-main.workspace .branch-banner .branch-icon{width:28px!important;height:28px!important;font-size:9px!important}
 html body #app-main.workspace .branch-banner :is(b,strong){font-size:12px!important;line-height:1.35!important}
 html body #app-main.workspace .branch-banner p{font-size:11px!important;line-height:1.4!important;margin:3px 0!important}
 html body #app-main.workspace .gc-training-course{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}
 html body #app-main.workspace .gc-training-course b{font-size:12px!important;line-height:1.3!important}
 html body #app-main.workspace .gc-training-course small{grid-column:1/-1;font-size:10px!important;line-height:1.4!important}
 html body #app-main.workspace .gc-training-course button{min-height:26px!important;padding:4px 6px!important;font-size:10px!important;white-space:nowrap!important}
 html body #app-main.workspace .gc-training-archive summary{font-size:10px!important;line-height:1.3!important;padding:4px 0!important}
 html body #app-main.workspace .program-course-banner a{display:inline!important;min-height:0!important;padding:0!important;font-size:11px!important;line-height:1.4!important;background:none!important;border:0!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px}
 html body #app-main.workspace #course-source-link{display:inline-flex!important;min-height:0!important;padding:0!important;font-size:11px!important;line-height:1.5!important;background:none!important;border:0!important;box-shadow:none!important;text-decoration:underline;grid-column:2}
 html body #app-main.workspace .module-item{display:grid!important;grid-template-columns:26px minmax(0,1fr) auto!important;min-height:58px!important;gap:7px!important;padding:8px!important;border-radius:9px!important}
 html body #app-main.workspace .module-number{width:26px!important;height:26px!important;font-size:11px!important;border-radius:6px!important}
 html body #app-main.workspace .module-item h2{font-size:12px!important;line-height:1.3!important;margin:0 0 3px!important}
 html body #app-main.workspace .module-item p{font-size:10px!important;line-height:1.35!important;white-space:normal!important;margin:0!important}
 html body #app-main.workspace .module-item :is(button,.primary-button,.secondary-button){grid-column:3!important;grid-row:1!important;min-width:0!important;width:auto!important;min-height:25px!important;padding:4px 6px!important;font-size:10px!important;align-self:start!important}
 html body #app-main.workspace #module-list{gap:6px!important}
 html body #app-main.workspace .course-overview{padding:8px!important;gap:8px!important}
 html body #app-main.workspace .featured-news{grid-template-columns:46px minmax(0,1fr)!important;padding:10px!important;gap:8px!important;min-height:0!important}
 html body #app-main.workspace .news-date{box-sizing:border-box!important;width:46px!important;min-width:46px!important;min-height:44px!important;height:auto!important;padding:5px 2px!important;border-radius:8px!important}
 html body #app-main.workspace .news-date b{font-size:13px!important;line-height:1.3!important;letter-spacing:0!important;white-space:normal!important}
 html body #app-main.workspace :is(.featured-news,.news-list article) :is(h2,h3){font-size:14px!important;line-height:1.3!important;margin:4px 0!important}
 html body #app-main.workspace :is(.featured-news,.news-list article) p{font-size:12px!important;line-height:1.45!important;margin:4px 0!important}
 html body #app-main.workspace .news-list article{min-height:0!important;padding:10px!important;border-radius:9px!important}
 html body #app-main.workspace :is(.profile-card,.recipient-card,.profile-section,.payments-card,.payment-card,.settings-card){padding:10px!important;gap:8px!important;border-radius:10px!important}
 html body #app-main.workspace :is(.profile-form,.profile-form-grid,.form-grid,.modal-form-grid){column-gap:8px!important;row-gap:8px!important}
 html body #app-main.workspace [data-view=profile] .form-grid input,html body #app-main.workspace [data-view=profile] .form-grid select{margin-top:0!important}
 html body #app-main.workspace [data-view=profile] label:has(:is(#profile-contact-method,#profile-contact-value)){grid-template-rows:auto 30px auto!important}
 html body #app-main.workspace .personal-sales-table td[data-label="Действия"]{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;padding-top:5px!important}
 html body #app-main.workspace .personal-sales-table td[data-label="Действия"]::before{flex:1!important;font-size:9px!important;text-align:left!important}
 html body #app-main.workspace .personal-sales-table td.gc-empty-actions{display:none!important}
 html body #app-main.workspace .personal-sales-table td{padding:5px!important;font-size:11px!important;line-height:1.35!important;min-height:0!important}
 html body #app-main.workspace .personal-sales-table td :is(b,small){font-size:inherit!important;line-height:1.35!important}
 html body #app-main.workspace .personal-sales-table .status-pill{font-size:10px!important;padding:2px 5px!important;min-height:0!important}
 html body #app-main.workspace .personal-sales-table tr{padding:6px!important;border-radius:9px!important;margin-bottom:8px!important}
 html body #app-main.workspace .nav-item{min-width:62px!important;min-height:46px!important;padding:5px 6px!important;font-size:10px!important;line-height:1.15!important;gap:3px!important}
 html body #app-main.workspace .nav-item svg{width:17px!important;height:17px!important}
 body:not(.admin-mode) .app-shell .nav-item{min-width:62px!important;min-height:46px!important;padding:5px 6px!important;font-size:10px!important;line-height:1.15!important;gap:3px!important}
 body:not(.admin-mode) .app-shell .nav-item svg{width:17px!important;height:17px!important}
 #partner-support-session-banner{padding:6px 10px!important;font-size:10px!important;line-height:1.4!important}
 #partner-support-session-banner button{min-height:26px!important;padding:4px 7px!important;font-size:10px!important}
 .gc-install-compact{max-height:calc(100dvh - 20px)!important;overflow:auto!important;padding:12px!important}
 .gc-install-compact :is(h2,h3){font-size:16px!important;line-height:1.3!important;margin:5px 0!important}
 .gc-install-compact :is(p,li,small){font-size:11px!important;line-height:1.4!important;margin:5px 0!important}
 .gc-install-compact :is(button,a){min-height:28px!important;font-size:11px!important;padding:5px 8px!important}
 .gc-install-compact :is(.install-grid,.install-steps,.install-platforms){gap:6px!important}
 .gc-install-compact .install-guides{gap:6px!important;margin:8px 0!important;grid-template-columns:1fr!important}
 .gc-install-compact .install-guides section{padding:8px!important;border-radius:8px!important}
 .gc-install-compact .install-guides ol{margin:5px 0 0!important;padding-left:18px!important}
 .gc-manual-fold{margin:7px 0;font-size:11px;line-height:1.4}
 .gc-manual-fold>summary{cursor:pointer;color:var(--muted);padding:4px 0}
 /* Keeping 16px on focus prevents Safari from zooming the whole page. */
 html body #app-main.workspace :is(input,select,textarea):focus,.gc-partner-form :is(input,select,textarea):focus{font-size:16px!important}
 html body #app-main.workspace .page-view :is(input,select,textarea):focus,html body #app-main.workspace :is(#sales-insight-search,#personal-sales-status,#personal-sales-channel,#knowledge-search,#knowledge-sort,#material-sort,#profile-contact-method,#profile-contact-value,#forecast-month):focus{font-size:16px!important}
}
