/* Small, consistent reduction; mobile text fields retain a readable 16 px. */
body.public-body{--public-copy-size:16px;--public-secondary-size:13px;font-size:14px}
body.public-body #public-main .hero h1{font-size:clamp(32px,3.7vw,50px)}
body.public-body #public-main :is(.page-hero,.engineers-offer-copy,.article-page,.profile-copy) h1{font-size:clamp(30px,3.5vw,42px)}
body.public-body #public-main h2,body.public-body :is(.project-team,.project-credentials,.congress-results) h2{font-size:clamp(25px,2vw,30px)}
body.public-body #public-main h3,body.public-body :is(.project-team,.project-credentials,.congress-results) h3{font-size:19px}
body.public-body #public-main :is(.doc-card,.news-card,.contact-card,.filter-panel,.about-panel,.list-panel) h2{font-size:21px}
body.public-body #public-main .region-card .region-title{font-size:19px}
body.public-body #public-main .region-card strong{font-size:22px}
body.public-body .site-header :is(.main-nav a,.header-login-primary,.public-sound-toggle){font-size:14px}
body.public-body .okir-partners-v17 .site-partner-copy>span{font-size:13px}
body.public-body :is(.site-widget-panel,.engineer-consultation-dialog,.visitor-lead-modal) h2{font-size:23px}
body.public-body footer.site-footer :is(p,a){font-size:13px}
body.console-body{font-size:14px}
body.console-body .console-topbar h1{font-size:clamp(28px,2.5vw,36px)}
body.console-body :is(.admin-panel-head,.console-section-head,.cabinet-panel-head,.cabinet-subsection-head) h2{font-size:19px}
body.console-body .cabinet-focus-card>h2{font-size:23px}
body.console-body .cabinet-plan-price{font-size:39px}
body.console-body .cabinet-workflow-counts strong{font-size:36px}
body.console-body .cabinet-overview-metrics strong{font-size:34px}
body.console-body .admin-card>strong{font-size:33px}
body.console-body .cabinet-version2-banner p{font-size:13px;line-height:1.6}
body.console-body .cabinet-version2-dialog h2{font-size:25px}
body.console-body .cabinet-version2-dialog p{font-size:14px;line-height:1.65}
body.console-body .catalog-offer-dialog>header h2{font-size:21px}
body.quick-card-body{font-size:14px}
@media(max-width:680px){
 body.public-body{--public-copy-size:16px;--public-secondary-size:13px}
 body.public-body #public-main .hero h1{font-size:clamp(28px,7.4vw,35px)}
 body.public-body #public-main :is(.page-hero,.engineers-offer-copy,.article-page,.profile-copy) h1{font-size:28px}
 body.public-body #public-main h2{font-size:24px}
 body.public-body #public-main .region-card .region-title{font-size:18px}
 body.public-body #public-main .region-card strong{font-size:21px}
 body.console-body .console-topbar h1{font-size:27px}
 body:is(.public-body,.console-body,.quick-card-body) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]),select,textarea){font-size:16px}
}

/* Legacy card shadows must not become repeated stripes on comparison cells. */
body.public-body #public-main .engineers-tariff-grid .tariff-comparison-table :is(th,td){box-shadow:none}
body.public-body #public-main .engineers-tariff-grid .tariff-comparison-table thead th.tariff-premium{box-shadow:inset 0 3px 0 #b68622}
body.public-body #public-main .engineers-tariff-grid .tariff-comparison-table thead th.tariff-maximum{box-shadow:inset 0 3px 0 #d43149}
body.public-body #public-main .engineers-tariff-grid .tariff-comparison-table thead th.tariff-standard{box-shadow:inset 0 3px 0 #226cd5}
