/* Aprumo · rdo.css — tela "RDO" (usa também as peças eq-* da Equipe) */
.eq.rd { width: 100%; }
.eq-kpi.roxo { border-top-color: #7c3aed; } .eq-selo.rx { background: #ede9fe; color: #6d28d9; }
.rd-obra { height: 40px; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 0 10px; font: 13.5px 'DM Sans', system-ui, sans-serif; background: #fff; color: #0f172a; min-width: 260px; max-width: 100%; }
.rd-mes { display: flex; align-items: center; gap: 8px; } .rd-mes b { min-width: 150px; text-align: center; font-size: 15px; text-transform: capitalize; }
.rd-grade { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.rd-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.rd-cal-s { font-size: 11.5px; font-weight: 700; color: #64748b; text-align: center; }
.rd-dia { height: 84px; text-align: left; background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid #cbd5e1; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 3px; font: inherit; color: inherit; cursor: pointer; min-width: 0; overflow: hidden; }
button.rd-dia:hover { box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.rd-dia b { font-size: 14px; } .rd-dia small { font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-dia-t { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-dia-t.vc { color: #b91c1c; } .rd-dia-t.ven { color: #b45309; } .rd-dia-t.az { color: #1d4ed8; } .rd-dia-t.rx { color: #6d28d9; } .rd-dia-t.ok { color: #15803d; } .rd-dia-t.cz { color: #64748b; }
.rd-dia.sem { border-left-color: #dc2626; } .rd-dia.rasc { border-left-color: #d97706; } .rd-dia.fech { border-left-color: #2563eb; } .rd-dia.entr { border-left-color: #7c3aed; } .rd-dia.ass { border-left-color: #16a34a; }
.rd-dia.hoje, .rd-dia.prazo { border-left-color: #2563eb; } .rd-dia.nao { background: #f8fafc; } .rd-dia.futuro { background: none; border: 1px dashed #e2e8f0; color: #cbd5e1; cursor: default; }
.rd-dia.hj { outline: 2.5px solid #2563eb; outline-offset: -1px; }
.rd-lado { display: flex; flex-direction: column; gap: 12px; }
.rd-pend { display: flex; flex-direction: column; padding: 0 8px 10px; } .rd-pend button { display: flex; gap: 8px; align-items: center; text-align: left; border: 0; background: none; padding: 7px 8px; border-radius: 8px; font: 13px 'DM Sans', system-ui, sans-serif; color: #0f172a; cursor: pointer; }
.rd-pend button:hover { background: #f1f5f9; } .rd-pend small { padding: 4px 8px; color: #64748b; }
.rd-como { padding: 14px 16px; font-size: 12.5px; color: #475569; } .rd-como ol { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.rd-lista { display: flex; flex-direction: column; gap: 8px; }
.rd-lin { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 14px; gap: 10px; align-items: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.rd-lin-d b { display: block; font-size: 15px; } .rd-lin-d small { color: #64748b; font-size: 11.5px; } .rd-lin-t { font-size: 13.5px; font-weight: 600; } .rd-lin > i { color: #94a3b8; }
/* dia */
.rd-cab { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 18px; }
.rd-cab-t { flex: 1; min-width: 260px; } .rd-cab-t h1 { margin: 0; font: 700 21px Outfit, 'DM Sans', sans-serif; } .rd-cab-t p { margin: 2px 0 0; font-size: 13px; color: #64748b; }
.rd-step { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.rd-step span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #94a3b8; } .rd-step span + span::before { content: ''; width: 22px; height: 2px; background: #e2e8f0; margin-right: 4px; }
.rd-step i { width: 22px; height: 22px; border-radius: 50%; background: #e2e8f0; color: #fff; font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 11.5px; }
.rd-step .atual { color: #b45309; } .rd-step .atual i { background: #d97706; } .rd-step .feito { color: #15803d; } .rd-step .feito i { background: #16a34a; }
.rd-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-aviso { border-radius: 12px; padding: 10px 14px; font-size: 13px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.rd-aviso.ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; } .rd-aviso.az { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; } .rd-aviso.rx { background: #f5f3ff; border-color: #ddd6fe; color: #5b21b6; }
.rd-aviso a { color: inherit; font-weight: 700; }
.rd-dois { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.rd-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rd-pad { padding: 4px 16px 14px; } .rd-clima + .rd-clima { margin-top: 10px; } .rd-clima small { display: block; font-size: 11.5px; color: #64748b; margin-bottom: 4px; }
.rd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rd-chips button { height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: #f1f5f9; color: #475569; font: 600 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.rd-chips button.on { background: #2563eb; color: #fff; } .rd-chips button:disabled { cursor: default; }
.rd-salvo { display: block; padding: 0 16px 10px; font-size: 12px; color: #15803d; min-height: 4px; }
.rd-pes { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-top: 1px solid #f1f5f9; font-size: 13px; cursor: pointer; }
.rd-pes input { width: 18px; height: 18px; accent-color: #2563eb; } .rd-pes b { flex: 1; font-weight: 600; min-width: 0; } .rd-pes > span:not(.eq-selo) { color: #64748b; }
.rd-pes.aus { opacity: .55; }
.rd-terc { display: grid; grid-template-columns: auto 80px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 16px; border-top: 1px solid #f1f5f9; font-size: 13px; }
.rd-terc input, .rd-pad textarea { height: 36px; border: 1.5px solid #cbd5e1; border-radius: 9px; padding: 0 9px; font: 13.5px 'DM Sans', system-ui, sans-serif; min-width: 0; }
.rd-pad textarea { width: 100%; height: auto; padding: 9px 10px; resize: vertical; box-sizing: border-box; }
.rd-serv { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #f1f5f9; font-size: 13px; }
.rd-serv b { display: block; font-weight: 600; } .rd-serv small { color: #64748b; font-size: 12px; } .rd-av { font-weight: 700; color: #15803d; white-space: nowrap; }
.rd-fotos { display: flex; gap: 4px; } .rd-fotos img { width: 44px; height: 34px; object-fit: cover; border-radius: 6px; display: block; }
.rd-oc { display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #f1f5f9; font-size: 13px; } .rd-oc > span:nth-child(2) { flex: 1; }
.rd-eq { display: flex; flex-wrap: wrap; gap: 6px; } .rd-eq .eq-selo { white-space: normal; }
.rd-excluir { align-self: flex-start; color: #b91c1c; border-color: #fecaca; }
.rd-txt { margin: 0; padding: 16px; font-size: 14px; line-height: 1.5; }
.rd-foto { cursor: pointer; } .rd-foto input { margin-top: 6px; }
.rd-prev { height: 200px; border: 2px dashed #94a3b8; border-radius: 12px; background: #f8fafc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #475569; overflow: hidden; }
.rd-prev i { font-size: 28px; } .rd-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rd-logo { padding: 16px; display: flex; flex-direction: column; gap: 12px; } .rd-logo .rd-txt { padding: 0; font-size: 13px; color: #475569; }
.rd-logo-prev { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; font-family: Arial, Helvetica, sans-serif; }
.rd-logo-cab { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.rd-logo-img { height: 64px; display: flex; align-items: center; } .rd-logo-img img { max-width: 170px; max-height: 64px; object-fit: contain; } .rd-semlogo { font-size: 12px; color: #94a3b8; }
.rd-logo-emp { display: flex; flex-direction: column; font-size: 11px; color: #333; border-left: 1px solid #cbd5e1; padding-left: 12px; } .rd-logo-emp b { font-size: 12px; color: #111; }
.rd-logo-tit { text-align: right; } .rd-logo-tit b { display: block; font-size: 14px; } .rd-logo-tit small { font-size: 11px; color: #333; }
.rd-logo-linha { border-bottom: 2px solid #0f3d6e; margin-top: 10px; }
.rd-logo-bts { display: flex; gap: 8px; } .rd-logo-bts input { display: none; } .rd-logo-bts label { cursor: pointer; }
@media (max-width: 1100px) { .rd-grade { grid-template-columns: 1fr; } .rd-dois { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .rd-obra { min-width: 0; flex: 1 1 100%; } .rd-mes { flex: 1; justify-content: space-between; }
  .rd-cab { padding: 14px; } .rd-cab-t h1 { font-size: 18px; } .rd-acoes { width: 100%; } .rd-acoes .eq-bt { flex: 1 1 auto; }
  .rd-chips { display: grid; grid-template-columns: 1fr 1fr; } .rd-chips button { height: 40px; }
  .rd-terc { grid-template-columns: auto 70px; } .rd-terc input[type=text], .rd-terc b { grid-column: 1 / -1; }
  .rd-serv { grid-template-columns: minmax(0, 1fr) auto; } .rd-serv > div { grid-column: 1 / -1; }
  .rd-pes { padding: 11px 14px; } .rd-pes input { width: 22px; height: 22px; }
  .rd-logo-cab { grid-template-columns: 1fr; } .rd-logo-tit { text-align: left; }
}
