/* Direção visual Company TB — camada OPCIONAL, carregar após os estilos existentes.
   Não modifica geometria do palco, fluxos, estados, dados ou autenticação.
   Acesso: regras limitadas a .tb-auth, com seletores reais de Prisma.
   Sem seletores globais de formulário. */
:root {
  --dv-ink: #edf0f2;
  --dv-muted: #acb5bf;
  --dv-gold: #e5c084;
  --dv-border: #303842;
  --dv-surface: #121921;
  --dv-display: var(--f-display, 'Segoe UI', system-ui, sans-serif);
  --dv-ui: var(--f-ui, 'Segoe UI', system-ui, sans-serif);
}
/* Shell: hierarquia editorial, navegação compacta, sem reduzir o palco. */
#app #topbar {
  background: #10151b;
  border-bottom-color: var(--dv-border);
  column-gap: 20px;
}
#app .brand-txt strong {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.3px;
}
#app .brand-txt span {
  color: var(--dv-muted);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1.2px;
}
#app .office-heading h1 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.7px;
  margin-block: 5px 7px;
}
#app .office-heading p { line-height: 1.5; color: var(--dv-muted); }
#app .eyebrow { font-size: 10px; letter-spacing: 1.5px; color: var(--dv-gold); }
#app #office-nav { gap: 8px; background: #10151b; }
#app .nav-logo { margin-bottom: 12px; }
#app #office-tools { gap: 3px; }
#app #office-tools .btn,
#app .office-link {
  min-height: 58px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .1px;
  font-weight: 600;
  border-radius: 10px;
  color: #b7bfc8;
  transition: background-color .15s ease, color .15s ease;
}
#app .office-link.active,
#app .office-link[aria-current="page"],
#app #office-tools .btn[aria-current="page"] {
  background: #e5c08416;
  color: #efd3a4;
  box-shadow: inset 2px 0 #d5b37c;
}
#app #office-tools .btn:hover { background: #ffffff08; color: var(--dv-ink); transform: none; }
#app #ui-new-order {
  min-height: 44px;
  border-radius: 10px;
  box-shadow: 0 2px 8px #0002;
  background: linear-gradient(135deg, #ecd0a0, #dfb66f);
}
#app .order-metrics > div { border-color: #303842; background: #11171e; }
#app .order-metrics b { font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -.4px; }
#app .order-metrics span { color: #b1b9c3; line-height: 1.5; }
#app #orders-state { color: #acb5bf; line-height: 1.4; }
#app #panel { background: #11171e; border-left-color: var(--dv-border); }
#app .tabs { gap: 4px; padding-inline: 14px; }
#app .tab { text-transform: none; font-size: 13px; letter-spacing: 0; padding-block: 14px; }
#app .panehead h2 { text-transform: none; font-size: 15px; letter-spacing: -.1px; line-height: 1.4; }
#app #team-search { font-size: 14px; min-height: 44px; border-color: #39424e; }
#app #team-search::placeholder { color: #aab3be; opacity: 1; }
#app .mini { min-height: 36px; padding-inline: 12px; }
#app .card { background: #1a232d; border-color: #303c49; padding: 12px; }
#app .card:hover { background: #202b36; transform: none; border-color: #66727f; }
#app .card::before { box-shadow: none; }
#app .card .nm { font-size: 14px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
#app .card .rl { color: #b5bec8; line-height: 1.45; }
#app .card .ac { line-height: 1.5; }
#app .roomlegend .rl { box-shadow: none; border-color: #35404c; font-size: 10px; }
#app .roomlegend .dot { box-shadow: none; }
#app .nav-footer { letter-spacing: .8px; }
#app .nav-footer small { line-height: 1.5; }
/* Acesso: seletores reais do HTML de Prisma; ajustes visuais localizados.
   auth.css continua responsável pelo layout, pelos estados e pelo responsivo. */
.tb-auth .auth-card { max-width: 440px; }
.tb-auth .auth-card #auth-title {
  font-family: var(--dv-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.7px;
  margin-block: 10px 12px;
  text-wrap: balance;
}
.tb-auth .auth-description { max-width: 38ch; font-size: 14px; line-height: 1.65; margin-bottom: 24px; }
.tb-auth .auth-editorial h1 { letter-spacing: -1.1px; line-height: 1.08; text-wrap: balance; }
.tb-auth .auth-editorial p { max-width: 38ch; line-height: 1.7; }
.tb-auth .auth-eyebrow { font-size: 10px; letter-spacing: 1.6px; line-height: 1.5; }
.tb-auth .auth-card :is(input, .auth-primary) { min-height: 48px; border-radius: 9px; }
.tb-auth .auth-card input { min-height: 52px; font-size: 16px; line-height: 1.4; }
.tb-auth .auth-card label { font-size: 13px; font-weight: 600; line-height: 1.5; }
.tb-auth .auth-password { min-width: 0; }
.tb-auth .auth-password input { min-width: 0; }
.tb-auth .auth-password button { min-width: 64px; min-height: 44px; font-size: 12px; }
.tb-auth .auth-help, .tb-auth #auth-password-help { font-size: 12px; line-height: 1.65; }
.tb-auth .auth-status { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.tb-auth .auth-status:empty { margin-block: 0; padding-block: 0; }
.tb-auth .auth-primary { font-weight: 700; font-size: 14px; letter-spacing: .1px; }
.tb-auth .auth-access { min-width: 0; }
.tb-auth .auth-footer { font-size: 11px; line-height: 1.5; letter-spacing: .3px; }
/* Não altera display dos formulários: hidden e estados continuam de Prisma. */
@media (max-width: 700px) {
  #app .brand-txt strong { font-size: 14px; }
  #app .brand-txt span { font-size: 8px; letter-spacing: .8px; }
  #app .office-heading h1 { font-size: 25px; }
  #app #office-nav { gap: 3px; }
  #app #office-tools .btn, #app .office-link { min-height: 58px; font-size: 10px; }
  #app .office-link.active { box-shadow: inset 0 -2px #d5b37c; }
  #app #ui-new-order { min-height: 42px; padding-inline: 10px; font-size: 12px; }
  .tb-auth .auth-card #auth-title { font-size: 28px; }
  .tb-auth .auth-editorial h1 { letter-spacing: -.7px; }
}
@media (prefers-reduced-motion: reduce) {
  #app #office-tools .btn, #app .office-link { transition: none; }
}
