/* One click company selection, separate space for the eye-mode button. */
.company-menu .company-choices{margin:0;display:grid;gap:4px}
.company-menu .company-choice{width:100%;display:flex;justify-content:space-between;text-align:left;gap:10px;padding:10px;min-height:44px;background:transparent;color:var(--ink);border:1px solid transparent;border-radius:7px}
.company-choice>span:first-child{min-width:0;flex:1}
.company-choice strong{display:block;white-space:normal;overflow-wrap:anywhere;font-size:13px}
.company-choice small{font-size:11px;font-weight:400}
.company-menu .company-choice:hover,.company-menu .company-choice.is-current{background:#edf4ff;border-color:#b5cff5;color:#173d77}
.header-tools{flex-shrink:0;align-items:center}
.header-tools .eye-mode-toggle{order:2;position:relative;flex-shrink:0;min-height:38px}
.header-tools .user-menu{order:4}
@media(min-width:761px){.app-header{flex-wrap:wrap;height:auto;min-height:58px}.header-tools{max-width:100%;flex-wrap:wrap}.header-tools .eye-mode-toggle{margin:0}}
@media(max-width:760px){
 .app-header .header-tools{grid-template-columns:minmax(0,1fr) 40px 40px!important;grid-template-areas:'company eye account' 'admin admin admin'!important;gap:5px!important}
 .header-tools .eye-mode-toggle{grid-area:eye!important;width:40px!important;min-width:40px!important;height:44px!important;padding:8px!important;margin:0!important}
 .header-tools .user-menu-summary{width:40px!important;min-width:40px!important;max-width:40px!important}
 .header-tools .user-menu-summary .user-avatar{width:36px!important;min-width:36px!important;height:36px!important}
 .header-tools .company-menu{min-width:0!important;max-width:none!important}
 .header-tools .company-menu summary{min-width:0!important;max-width:100%!important}
}
html[data-eye-mode=soft] .company-menu .company-choice{background:#223247!important;color:#e5edf7!important;border-color:#526781!important}
html[data-eye-mode=soft] .company-menu .company-choice.is-current,html[data-eye-mode=soft] .company-menu .company-choice:hover{background:#295b83!important;border-color:#9aceff!important;color:#fff!important}

/* Compact company name with the current plan on its own line. */
.header-tools .company-menu summary{display:flex!important;align-items:center;gap:8px;height:44px!important;padding:5px 10px!important}
.header-tools .company-menu .header-company-copy{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;flex:1;line-height:1.15;overflow:hidden}
.header-company-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}
.header-tools .company-menu .header-plan-badge{display:block!important;margin:0!important;padding:0!important;font-size:9px!important;line-height:1.1;letter-spacing:.04em;color:#536b91;background:transparent!important}
.header-company-caret{flex:none}
@media(min-width:761px){.header-tools .company-menu{width:200px!important;max-width:200px!important;flex:0 0 200px}.header-tools .company-menu summary{width:100%!important;min-width:0!important;max-width:100%!important}}
html[data-eye-mode=soft] .header-tools .company-menu .header-plan-badge{color:#b7d8ff!important}
.eye-mode-toggle[aria-pressed=true]{box-shadow:inset 0 0 0 2px currentColor}
