/* Bilingual controls use the existing SPEG Co. palette and motion. */
.language-switch{display:inline-flex;align-items:center;flex-shrink:0;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--canvas)}
.language-switch button{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:30px;padding:4px 6px;border-radius:5px;color:var(--text-secondary);font-size:11px;font-weight:650;letter-spacing:.3px;transition:background-color 160ms ease,color 160ms ease,box-shadow 160ms ease}
.language-switch button:hover{background:var(--line);color:var(--text)}
.language-switch button[aria-pressed=true]{background:var(--speg-white);color:var(--speg-accent);box-shadow:0 1px 3px color-mix(in srgb,var(--speg-charcoal) 10%,transparent)}
.language-switch button:focus-visible{outline:2px solid var(--speg-accent);outline-offset:2px}
.control-login-main{position:relative}
.language-switch-login{position:absolute;right:24px;top:22px}
.language-switch-dialog{margin-left:auto}
.dialog-header>div:first-child{min-width:0;overflow-wrap:anywhere}
.dialog-header h2{line-height:1.35}
.breadcrumbs{min-width:0}.breadcrumbs #breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[lang=el] .stat-number .unit{font-size:11px}
html[lang=el] .stat-bottom{flex-wrap:wrap;line-height:1.5}
html[lang=el] .drawer-tabs button{white-space:normal}
html[lang=el] .page-heading h1{line-height:1.2}
html[lang=el] .workspace-switch strong{font-size:12px}
html[lang=el] .nav-item{gap:10px}
@media(max-width:800px){.control-login-main{padding-top:76px}.language-switch-login{top:20px;right:24px}}
@media(max-width:550px){
  .topbar-actions{gap:7px}.topbar-actions .preview-tag{display:none}
  .language-switch{padding:2px}.language-switch button{min-width:29px;min-height:30px;padding:3px 5px}
  html[lang=el] .sidebar .nav-item{gap:4px}
  html[lang=el] .sidebar .nav-item>span:not(.nav-count){font-size:clamp(8px,2.15vw,10px)}
  html[lang=el] .page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}
  html[lang=el] .page-heading>div:first-child{min-width:0}
  html[lang=el] .heading-actions .button{white-space:normal}
  html[lang=el] .table-footer{align-items:flex-start;flex-wrap:wrap}
  html[lang=el] .stat{min-width:0}.stat-top{gap:7px}
  .dialog-header{flex-wrap:wrap}.dialog-header>div:first-child{flex-basis:calc(100% - 42px);order:0}
  .dialog-header>.icon-button{order:1}.dialog-header>.language-switch{order:2;flex-basis:auto;margin:0}
  .webmail-top{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .webmail-top>div:first-child{grid-column:1;grid-row:1}
  .webmail-top>.icon-button{grid-column:2;grid-row:1}.webmail-top>.language-switch{grid-column:1 / -1;grid-row:2;justify-self:end;margin:0}
}
@media(prefers-reduced-motion:reduce){.language-switch button{transition:none}}
