/* Painel Pita Cells OS — mobile-first, botoes grandes (1-toque) */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', system-ui, Arial, sans-serif; background: #0f172a; color: #e2e8f0; }
a { color: #38bdf8; text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #1e293b; padding: 10px 16px; position: sticky; top: 0; z-index: 10; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 18px; color: #fff; }
.top nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.top nav .who { color: #94a3b8; font-size: 13px; }
.top nav .sair { color: #f87171; }
main { max-width: 960px; margin: 0 auto; padding: 16px; }
h1 { font-size: 20px; margin: 4px 0 14px; }
h2 { font-size: 15px; color: #94a3b8; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: .5px; }

.card { background: #1e293b; border-radius: 12px; padding: 18px; margin-bottom: 16px; }
.login { max-width: 340px; margin: 8vh auto; }
label { display: block; font-size: 13px; color: #cbd5e1; margin-bottom: 10px; }
input, select, textarea { width: 100%; margin-top: 4px; padding: 12px; border-radius: 8px;
  border: 1px solid #334155; background: #0f172a; color: #e2e8f0; font-size: 16px; }
.linha { display: flex; gap: 12px; flex-wrap: wrap; }
.linha > label { flex: 1 1 220px; }
.erro { background: #7f1d1d; color: #fecaca; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.dica { color: #64748b; font-size: 12px; font-weight: normal; }

.btn { display: inline-block; border: 0; border-radius: 8px; padding: 12px 16px; font-size: 15px;
  color: #fff; background: #334155; cursor: pointer; font-weight: 600; }
.btn.primario { background: #2563eb; }
.btn.grande { width: 100%; padding: 15px; font-size: 17px; margin-top: 8px; }
.btn.mini { padding: 8px 10px; font-size: 13px; }
.btn.ghost { background: transparent; border: 1px solid #475569; }

.kanban-head { display: flex; align-items: center; justify-content: space-between; }
.cont { font-size: 13px; color: #94a3b8; font-weight: normal; }
.os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.os-card { background: #1e293b; border-radius: 10px; padding: 12px; }
.os-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.os-head .cod { font-weight: 800; font-size: 16px; letter-spacing: 1px; }
.badge { font-size: 11px; padding: 3px 8px; border-radius: 20px; color: #fff; }
.os-body { font-size: 14px; line-height: 1.4; }
.os-body small { color: #94a3b8; }
.os-body .mot { color: #fbbf24; }
.os-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vazio { color: #94a3b8; }

.tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.tab th, .tab td { text-align: left; padding: 8px; border-bottom: 1px solid #334155; }
.tab .r { text-align: right; } .tab .c { text-align: center; }
.preco-inline { width: 100px; text-align: right; padding: 6px; display: inline-block; }
.sugbox { background: #0f172a; border: 1px solid #334155; border-radius: 8px; margin-top: 4px; }
.sugitem { display: block; width: 100%; text-align: left; background: transparent; border: 0;
  color: #e2e8f0; padding: 8px 12px; cursor: pointer; border-bottom: 1px solid #1e293b; }
.sugitem:hover { background: #1e293b; }
.add-linha { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 20px; }
.add-linha input { width: auto; flex: 1 1 130px; margin-top: 0; }
.add-linha button { flex: 0 0 auto; }
.preco-inline.est { width: 70px; text-align: center; }
.assinatura { text-align: center; padding: 20px; margin-top: 28px; font-size: 13px; color: #64748b; letter-spacing: 2px; border-top: 1px solid #1e293b; }
.assinatura b { background: linear-gradient(90deg, #38bdf8, #818cf8, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; letter-spacing: 1px; }
