/* Editor · barra de estado.
   Troceado de `compact_workspace.css` (lote C3). Carga en `head_extra` de
   editor/editor.html, ANTES del núcleo: ante una regla del núcleo con la misma
   especificidad, pierde. El orden entre módulos lo fija tests/css_manifest.py. */
/* ---- Word-style bottom status bar ----
   A discreet strip, not a second toolbar: slimmer height/padding/font and
   tighter gaps than the rest of the chrome, while keeping every piece of
   information (engine, page, words, saved state, occurrence count, spell
   toggle, language, zoom) legible. */
.editor-statusbar {
  flex:0 0 auto; display:flex; align-items:center; justify-content:space-between;
  gap:8px; width:100%; min-height:26px; margin-top:0; padding:3px 10px;
  color:var(--insp-muted); background:#f4f7fb; border:0; border-top:1px solid #dde5ef;
  border-radius:0; font:500 10.5px var(--font-heading, inherit);
}
.statusbar-left, .statusbar-right { display:flex; align-items:center; gap:6px; min-width:0; }
.statusbar-left { overflow:hidden; }
.statusbar-left > span { flex:0 0 auto; white-space:nowrap; }
.statusbar-sep { width:1px; height:10px; background:var(--insp-line); }
.statusbar-dirty { flex:0 1 auto !important; min-width:0; max-width:230px; overflow:hidden; color:#b45309; font-weight:600; text-overflow:ellipsis; }
.statusbar-lang { padding:0 6px; color:var(--insp-ink); background:var(--insp-surface-2); border-radius:5px; font-weight:700; letter-spacing:.03em; }
.statusbar-right .badge { flex:0 0 auto; padding:1px 8px; font-size:10px; }
/* Selector de modo de vista (diseño de impresión / diseño web). Vive en la
   barra de estado, a la izquierda del zoom: es donde Word pone el cambio de
   vista y, sobre todo, es la misma clase de propiedad que el zoom — cómo se
   presenta el documento en pantalla, no qué contiene ni qué paneles hay
   abiertos. Por eso no va en el grupo de acciones de vista de la cabecera,
   que es de visibilidad de carriles, ni en un menú «Ver» nuevo.
   Misma pastilla de dos segmentos que .rail-marks-switch, para que se lea
   como un conmutador y no como dos botones sueltos. */
.statusbar-zoom { display:flex; align-items:center; gap:4px; }
.statusbar-zoom .icon-tool { width:22px; height:22px; }
.statusbar-zoom .icon-tool svg { width:13px; height:13px; }
.statusbar-zoom .editor-zoom-label { min-width:34px; font-size:10.5px; text-align:right; }
.zoom-slider { width:78px; accent-color:var(--insp-primary); cursor:pointer; }

@media (max-width: 1279px) {
  /* Same specificity as the base rules above (both scoped under
     [data-public-editor]), so these still win at this breakpoint instead of
     silently losing to the unscoped base rule now that it outranks a bare
     analytics.css same-name selector. */
  [data-public-editor] .agent-editor-frame { height:auto; min-height:calc(100vh - 96px); }
  [data-public-editor] .editor-document-card { min-height:52vh; }
}
