/* PWA empleado: layout mobile-first con bottom tabs. */
#root { max-width: 640px; margin: 0 auto; padding-bottom: 72px; }
.app-header {
  position: sticky; top: 0; z-index: 5; background: var(--primary); color: #fff;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-top)); display: flex;
  justify-content: space-between; align-items: center;
}
.app-header h1 { font-size: 1.1rem; margin: 0; }
.view { padding: 1rem; }
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--card);
  border-top: 1px solid var(--border); display: flex; justify-content: space-around;
  padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom)); z-index: 10;
}
.tabbar button {
  background: none; color: var(--muted); font-size: .7rem; display: flex; flex-direction: column;
  align-items: center; gap: 2px; padding: .3rem .6rem; font-weight: 500;
}
.tabbar button.active { color: var(--primary); }
.tabbar .ico { font-size: 1.3rem; line-height: 1; }
.banner { background: linear-gradient(135deg, #2563EB, #7c3aed); color: #fff; border: none; }
.banner h3 { color: #fff; }
.post-body { white-space: pre-wrap; margin: .4rem 0; }
.post-actions { display: flex; gap: 1rem; margin-top: .6rem; }
.post-actions button { background: none; color: var(--muted); padding: .2rem; font-weight: 600; }
.post-actions button.liked { color: var(--primary); }
.recog { border-left: 3px solid var(--primary); }
.scale { display: flex; gap: .4rem; }
.scale button { flex: 1; background: var(--card); border: 1px solid var(--border); color: var(--text); }
.scale button.sel { background: var(--primary); color: #fff; }
