/* PMLinen · Tema por empresa.
   O modo 'legacy' da PM Hospitality Technology não é afetado por qualquer regra deste ficheiro.
   Na Fase 1, apenas o cliente PM Hospitality Technology está autenticado na aplicação real.
   Temas custom são demonstrados na maquete até existir contexto de tenant no servidor. */
html[data-wl-theme="custom"]{
  --navy:var(--wl-primary);
  --navy2:var(--wl-primary);
  --steel:var(--wl-primary);
  --gold:var(--wl-secondary);
  --gold-d:var(--wl-secondary);
  --bg:var(--wl-background);
  --card:var(--wl-surface);
}
html[data-wl-theme="custom"] body{
  background:var(--wl-background);
  color:var(--wl-primary);
}
html[data-wl-theme="custom"] #login{background:var(--wl-background)}
html[data-wl-theme="custom"] .login-card{background:var(--wl-surface)}
html[data-wl-theme="custom"] .login-card .brand b{color:var(--wl-primary)}
html[data-wl-theme="custom"] .login-card .btn-primary,
html[data-wl-theme="custom"] #login .btn-primary{
  background:var(--wl-primary);color:#fff;
}
html[data-wl-theme="custom"] .btn-gold{background:var(--wl-secondary);color:#171717}
html[data-wl-theme="custom"] .side,
html[data-wl-theme="custom"] .side .top,
html[data-wl-theme="custom"] .side .foot{background:var(--wl-primary);color:#fff}
html[data-wl-theme="custom"] .side .top b,
html[data-wl-theme="custom"] .side .top small,
html[data-wl-theme="custom"] .side .foot .u,
html[data-wl-theme="custom"] .side .foot .r{color:#fff}
html[data-wl-theme="custom"] .side .nav a,
html[data-wl-theme="custom"] .side .nav button{color:#fff}
html[data-wl-theme="custom"] .side .nav a.active,
html[data-wl-theme="custom"] .side .nav button.active{
  background:var(--wl-surface);color:var(--wl-primary);
  box-shadow:inset 3px 0 0 var(--wl-secondary);
}
html[data-wl-theme="custom"] .head{background:var(--wl-surface)}
html[data-wl-theme="custom"] .card{background:var(--wl-surface)}
html[data-wl-theme="custom"] .head h1{color:var(--wl-primary)}
html[data-wl-theme="custom"] .wl-powered{color:var(--wl-primary)}
/* Cabeçalho de impressão do corpo principal, oculto na interface normal. */
.wl-print-header{display:none!important}
@media print{
  #app:not(.hidden){display:block!important}
  #app:not(.hidden) > .wl-print-header{
    display:flex!important;align-items:center;gap:14px;
    border-bottom:2px solid var(--wl-secondary,#c8a24a);
    padding:0 0 12px;margin:0 0 18px;break-inside:avoid;
  }
  .wl-print-header [data-wl-print-logo]{
    display:block;width:110px;max-height:62px;object-fit:contain;
  }
  .wl-print-header .wl-print-heading{font-size:17px;font-weight:700}
  .wl-print-header .wl-print-brand{font-size:11px;color:#64716d}
}
