/* Long-label geometry for Armenian. Pure presentation, no data translation. */
@media screen {
 html .erp-body .module-rail__item>.chat-unread-badge{position:static;margin-inline-start:auto;align-self:center}
 html[lang="hy"] .erp-body :is(.page-heading,.page-head,[data-ui-page-heading]){flex-wrap:wrap;align-items:center}
 html[lang="hy"] .erp-body :is(.page-heading__main,.page-head__main){flex:1 1 20rem;min-width:0;max-width:100%}
 html[lang="hy"] .erp-body .page-heading__main>div{min-width:0}
 html[lang="hy"] .erp-body :is(.page-heading__actions,.page-actions,.page-head .page-actions){flex:0 1 auto;min-width:0;max-width:100%;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:7px}
 html[lang="hy"] .erp-body :is(.page-heading,.page-head,[data-ui-page-heading]) h1{word-break:normal;overflow-wrap:break-word}
 html[lang="hy"] .erp-body .btn{min-width:0;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:break-word;line-height:1.55;block-size:auto}
 html[lang="hy"] .erp-body :is(.form-actions,.sticky-form-actions,.smart-form-actions,.page-actions,.filter-actions){flex-wrap:wrap;gap:8px}
 html[lang="hy"] .erp-body :is(.module-context-group,.crm-context-menu){height:auto!important;min-height:0;align-self:stretch}
 html[lang="hy"] .erp-body :is(.module-context-group__trigger,.crm-context-menu>summary){height:auto!important;min-height:52px;max-width:100%;padding:9px 10px;line-height:1.55;white-space:normal;word-break:normal;overflow-wrap:break-word}
 html[lang="hy"] .erp-body .module-context-bar__links{align-content:start}
 html[lang="hy"] .erp-body .module-context-bar__module{min-width:0;align-self:stretch}
 html[lang="hy"] .erp-body .module-context-bar__module>span{flex-shrink:0}
 html[lang="hy"] .erp-body .module-context-bar__module :is(strong,small){overflow-wrap:break-word;word-break:normal}
 html[lang="hy"] .erp-body .module-rail__item>span{white-space:normal;overflow:visible;text-overflow:clip;word-break:normal;overflow-wrap:break-word}
 html[lang="hy"] .erp-body .module-rail__item{height:auto;min-height:40px;line-height:1.5;padding-block:7px}
 html[lang="hy"] .erp-body .module-rail__item>i{align-self:center}
 html[lang="hy"] .erp-body :is(.primary-cell strong,.entity-cell strong,.lead-card h2 a,.lead-card__identity h2,.ve-schedule-title h2,.ve-schedule-title span){white-space:normal;overflow:visible;text-overflow:clip;word-break:normal;overflow-wrap:break-word}
 html[lang="hy"] .erp-body :is(.data-table,.table) th{white-space:normal;line-height:1.6}
 html[lang="hy"] .erp-body :is(.settings-card,.settings-link,.dashboard-card,.module-tile,.stat-card,.metric-card){min-width:0}
 html[lang="hy"] .erp-body label:not(.visually-hidden){white-space:normal;line-height:1.6;word-break:normal;overflow-wrap:break-word}
 html[lang="hy"] .erp-body .lead-card__identity>div{flex-wrap:wrap;gap:6px}
 html[lang="hy"] .erp-body .lead-card__identity h2{flex:1 1 100%}
 html[lang="hy"] .erp-body .analytics-metric-grid>article{min-width:0}
 html[lang="hy"] .erp-body .analytics-metric-grid :is(h2,code,dd){overflow-wrap:anywhere;min-width:0;max-width:100%}
 html[lang="hy"] .erp-body .searchable-select__input{min-width:0;text-overflow:ellipsis}
}
@media screen and (min-width:1101px){
 html[lang="hy"] .erp-body .module-context-bar{display:grid;grid-template-columns:minmax(190px,220px) minmax(0,1fr) auto;align-items:stretch;gap:0 12px;min-height:64px;padding-block:0}
 html[lang="hy"] .erp-body .module-context-bar__module{grid-column:1;grid-row:1;padding-block:10px}
 html[lang="hy"] .erp-body .module-context-bar__links{grid-column:2;grid-row:1;display:flex;flex:initial;flex-wrap:wrap;align-items:stretch;min-width:0;gap:0 3px}
 html[lang="hy"] .erp-body .module-context-bar__links>:is(.module-context-group,.crm-context-menu,a){flex:1 1 13rem;min-width:0;max-width:100%;margin:0;white-space:normal;height:auto!important;overflow-wrap:break-word;align-self:stretch}
 html[lang="hy"] .erp-body .module-context-bar__back{grid-column:3;grid-row:1 / 3;align-self:center;margin-inline-start:0}
 html[lang="hy"] .erp-body .module-context-bar:has(>.finance-year-switcher,>.payroll-period-picker) .module-context-bar__links{grid-row:1 / 3}
 html[lang="hy"] .erp-body .module-context-bar .finance-year-switcher label{display:none}
 html[lang="hy"] .erp-body .module-context-bar .finance-year-switcher__control{min-width:0;width:100%}
 html[lang="hy"] .erp-body .module-context-bar .finance-year-switcher select{min-width:0;width:100%}
 html[lang="hy"] .erp-body .module-context-bar .payroll-period-picker__trigger{width:100%;min-width:0;gap:6px}
 html[lang="hy"] .erp-body .module-context-bar .payroll-period-picker__trigger>span:first-of-type{flex:1}
 html[lang="hy"] .erp-body .module-context-bar>:is(.finance-year-switcher,.payroll-period-picker){grid-column:1;grid-row:2;justify-self:stretch;align-self:start;margin:0 8px 8px;min-width:0;max-width:100%}
 html[lang="hy"] .erp-body .module-context-bar:has(>.finance-year-switcher){grid-template-columns:minmax(170px,200px) minmax(0,1fr) minmax(160px,200px) auto}
 html[lang="hy"] .erp-body .module-context-bar:has(>.finance-year-switcher) .module-context-bar__links{grid-row:1;flex-wrap:nowrap}
 html[lang="hy"] .erp-body .module-context-bar:has(>.finance-year-switcher) .module-context-bar__links>.module-context-group{flex:1 1 0}
 html[lang="hy"] .erp-body .module-context-bar>.finance-year-switcher{grid-column:3;grid-row:1;align-self:center;margin:6px 0}
 html[lang="hy"] .erp-body .module-context-bar:has(>.finance-year-switcher) .module-context-bar__back{grid-column:4;grid-row:1}
}
@media screen and (min-width:701px) and (max-width:1100px){
 html[lang="hy"] .erp-body .module-context-bar__links{flex-basis:100%;order:3;flex-wrap:wrap}
 html[lang="hy"] .erp-body .module-context-bar__links>:is(.module-context-group,.crm-context-menu,a){flex:1 1 10rem;min-width:0;white-space:normal;height:auto!important}
}
@media screen and (max-width:700px){
 html[lang="hy"] .erp-body :is(.page-heading__main,.page-head__main){flex-basis:100%}
 html[lang="hy"] .erp-body :is(.page-heading__actions,.page-actions){width:100%;justify-content:flex-start;flex-basis:auto}
 html[lang="hy"] .erp-body :is(.page-heading__actions,.page-actions)>.btn{flex:1 1 140px}
 html[lang="hy"] .erp-body :is(.filter-row,.filter-bar,.list-toolbar,.search-form){min-width:0;max-width:100%}
}
/* Fluid payroll navigation also protects longer English tab labels. */
@media screen and (min-width:1101px){
 html[lang="en"] .erp-body .module-context-bar.is-payroll{display:grid;grid-template-columns:minmax(170px,190px) minmax(0,1fr) auto;gap:0 12px;height:auto;align-items:stretch}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .module-context-bar__module{grid-column:1;grid-row:1;min-width:0;padding-block:10px}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .module-context-bar__links{grid-column:2;grid-row:1 / 3;display:flex;flex:initial;flex-wrap:wrap;align-items:stretch;align-content:start;min-width:0;height:auto;gap:0 4px}
 html[lang="en"] .erp-body .module-context-bar.is-payroll :is(.module-context-group,.module-context-group__trigger){height:auto!important;min-height:52px}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .module-context-bar__links>:is(.module-context-group,a){flex:1 1 10rem;min-width:0;max-width:100%;height:auto!important;align-self:stretch}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .module-context-group{min-height:0;align-items:stretch}
 html[lang="en"] .erp-body .module-context-bar.is-payroll :is(.module-context-group__trigger,.module-context-direct){min-width:0;max-width:100%;white-space:normal;line-height:1.5;overflow-wrap:break-word}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .payroll-period-picker{grid-column:1;grid-row:2;min-width:0;max-width:100%;margin:0 0 8px}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .payroll-period-picker__trigger{min-width:0;max-width:100%}
 html[lang="en"] .erp-body .module-context-bar.is-payroll .module-context-bar__back{grid-column:3;grid-row:1 / 3;align-self:center;margin-inline-start:0}
}
@media screen {
 html[lang="en"] .crm-body .lead-card__identity>div{flex-wrap:wrap;gap:6px}
 html[lang="en"] .crm-body .lead-card__identity h2{flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word}
}
@media screen and (min-width:1101px){
 html[lang="hy"] .erp-body .ve-schedule-list>article{grid-template-columns:34px minmax(0,1fr) auto;gap:10px 14px;align-items:start}
 html[lang="hy"] .erp-body .ve-schedule-state{grid-column:1;grid-row:1}
 html[lang="hy"] .erp-body .ve-schedule-main{grid-column:2 / -1;grid-row:1;grid-template-columns:minmax(240px,1.7fr) minmax(140px,1fr) minmax(140px,1fr)}
 html[lang="hy"] .erp-body .ve-schedule-next{display:flex}
 html[lang="hy"] .erp-body .ve-schedule-health{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;align-items:center}
 html[lang="hy"] .erp-body .ve-schedule-list footer{grid-column:3;grid-row:2;flex-wrap:wrap;align-self:center}
}

/* Short contextual captions size by their content, in every interface locale. */
@media screen and (min-width:1101px){
 html[lang] .crm-body .module-context-bar .module-context-bar__links{flex-wrap:nowrap}
 html[lang] .crm-body .module-context-bar .module-context-bar__links>:is(a,.crm-context-menu){flex:1 1 auto;min-width:0}
 html[lang] .crm-body .module-context-bar .module-context-bar__links>a,
 html[lang] .crm-body .module-context-bar .crm-context-menu>summary{white-space:normal}
 html[lang] .crm-body .module-context-bar .module-context-bar__links>:is(a,.crm-context-menu)>span,
 html[lang] .crm-body .module-context-bar .crm-context-menu>summary>span{min-width:0;white-space:normal;overflow-wrap:break-word}
}
