/* Padrão dos demos (2026-10-20): marca HostMindAI, formulário de entrada do demo e aviso de somente leitura. Sem estilo inline (CSP). */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("atkinson-hyperlegible-next-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("atkinson-hyperlegible-next-700.woff2") format("woff2"); }
.hm-marca { display: flex; flex-direction: column; align-items: flex-start; margin: 0; font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif; }
.hm-marca strong { font-size: 1.8rem; font-weight: 700; letter-spacing: -.05em; line-height: 1.05; color: #202c27; }
.hm-marca span { margin-top: .3rem; font-size: 1rem; font-weight: 400; line-height: 1.2; color: #53605a; }
:root[data-theme="dark"] .hm-marca strong { color: #f1f5f2; }
:root[data-theme="dark"] .hm-marca span { color: #b9c6bf; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hm-marca strong { color: #f1f5f2; }
  :root:not([data-theme="light"]) .hm-marca span { color: #b9c6bf; }
}
@media (max-width: 600px) { .hm-marca strong { font-size: 1.45rem; } .hm-marca span { font-size: .85rem; } }
/* no cadre: barra lateral no desktop; abaixo de 900px ela vira barra de baixo e a marca vai para o topo */
.side .hm-marca { padding: 6px 8px 16px; }
.hm-marca.topo { margin-right: 12px; flex: 0 0 auto; }
@media (min-width: 901px) { .hm-marca.topo { display: none; } }
@media (max-width: 900px) { .hm-marca.topo + .busca-cx { flex-basis: 100%; } }
/* tela de entrada */
.ent5 .ent-topo .hm-marca { flex: 0 0 auto; }
.ent5 .ent-topo .ent-marca { flex: 1 1 auto; }
.ent-demo-form[hidden] { display: none; }
.ent-demo-form { max-width: 28rem; margin: 12px auto; display: grid; gap: 10px; }
.ent-demo-form label { display: grid; gap: 4px; font-weight: 700; }
.ent-demo-form input { min-height: 44px; padding: 8px 10px; font: inherit; }
/* aviso global de somente leitura */
.demo-aviso { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: min(28rem, calc(100vw - 32px)); }
.demo-aviso[hidden] { display: none; }
.demo-aviso-cx { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #202c27; color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.demo-aviso-cx button { min-height: 36px; padding: 4px 12px; border-radius: 8px; border: 1px solid #fff; background: transparent; color: #fff; }
/* login da janela (sem barra lateral): a marca do topo fica sempre visível */
body.sem-shell:not(.tela-entrar) .hm-marca.topo { display: flex; }
body.tela-entrar .hm-marca.topo { display: none; }
/* telas estreitas: a marca ocupa a própria linha e o nome da escola não é espremido em coluna */
@media (max-width: 600px) {
  .ent5 .ent-topo { flex-wrap: wrap; }
  .ent5 .ent-topo .hm-marca { flex-basis: 100%; }
  .ent5 .ent-topo .ent-marca { flex: 1 1 0; min-width: 0; }
}
