@layer overrides {

/* Terminal utilities — the `overrides` layer beats every surface rule at any specificity
   (see 000_layers.css), which is why nothing here needs !important. Keep this file tiny:
   a rule belongs here only when it must win against arbitrary surface styling.

   .is-hidden is the title-edit swap (document_title_controller / local_document_title_
   controller toggle it between the display heading and the input). It beat everything via
   !important in the monolith; the layer now provides the same guarantee. Note layers do
   NOT beat inline `style=` — this stays sound because no JS in this codebase writes
   style.display (greppable invariant; el() in ui/dom.js has no style-object path). */

.is-hidden {
  display: none;
}

/* Re-assert the platform's [hidden] semantics over every layered display rule. The UA's
   own `[hidden] { display: none }` loses to ANY author display (origin precedence), a trap
   this stylesheet had hand-patched nine separate times (.editor-find-bar[hidden],
   .editor-dock[hidden], ...) before the overrides layer made the fix global. An element
   with the hidden attribute is hidden, full stop — no per-surface re-assertions needed. */
[hidden] {
  display: none;
}

}
