


.cad-bt + .cad-bt { margin-left:6px; }
.cad-bt.ret { color:#B3331F; border-color:#E7C9C3; }
.cad-bt.ret:hover { border-color:#B3331F; }
.cad-bt.ret-cheio { background:#B3331F; border-color:#B3331F; color:#fff; }
.cad-baixa { margin-left:6px; }
.cc-barra { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:8px 10px 6px 16px; }
.cc-barra .cad-est { margin-left:0; }
.cc-barra .dir { margin-left:auto; }
.cc-conf td { background:#fdf6e3 !important; border-bottom:1px solid #EADFB8 !important; padding:10px 12px !important; }
.cc-conf-box { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; font-size:13px; color:#6B5310; }
.cc-conf-box p { margin:0; flex:1 1 420px; line-height:1.45; font-weight:600; }
.cc-conf-box p i { display:inline-flex; width:18px; height:18px; border-radius:50%; background:#C98A1B; color:#fff; font-style:normal; font-size:12px; font-weight:800;
  align-items:center; justify-content:center; margin-right:6px; vertical-align:-3px; }
.cc-conf-box .bts { display:flex; gap:6px; }
.cc-fazconf { margin:2px 10px 8px 16px; background:#fdf6e3; border:1px solid #EADFB8; border-radius:10px; padding:10px 12px; }
.cc-ret { margin:12px 0 6px 16px; max-width:720px; }
.cc-ret h4, .cc-fret h4, .cad-copos h3 { margin:0 0 4px; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#6B7566; }
.cc-ret-l { display:grid; grid-template-columns:minmax(0,1fr) 96px auto; gap:6px 14px; align-items:center; padding:5px 0; border-bottom:1px dashed #D8DED3; font-size:12px; color:#6B7566; }
.cc-ret-l b { color:#1F2A1D; font-weight:600; }
.cc-ret-l .num { text-align:right; }
.cc-ret-l .cad-est { grid-column:1/-1; margin:0; }
.cc-ret-l .cad-est:empty { display:none; }
.cc-ret-l.cc-novo { background:#FBF6E6; transition:background 1.2s; }
.cc-fret { margin-top:16px; max-width:640px; background:#fff; border:1px solid #D8DED3; border-radius:10px; padding:10px 12px; }
.cc-fret .cc-ret-l { grid-template-columns:minmax(0,1fr) 110px auto; }
td.cc-mudou { animation:cc-pisca 2.4s ease-out; }
@keyframes cc-pisca { 0% { background:#CFE8D4; } 100% { background:transparent; } }
.cc-dif { font-weight:600; font-size:12px; color:#6B7566; margin-left:8px; }
 
.tabela th.cad-sg-h { text-align:left; }
.tabela td.cad-sg-td { text-align:left; white-space:nowrap; }
.cad-sg { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:26px; padding:0 9px; border-radius:6px; font:inherit; font-weight:800;
  letter-spacing:.06em; color:#2E6B3A; background:#E8F4EA; border:1px solid transparent; }
.cad-sg.vazia { background:#fff; border:1px dashed #D8DED3; color:#6B7566; font-weight:600; letter-spacing:0; font-size:12px; }
button.cad-sg { cursor:pointer; } button.cad-sg:hover { border-color:#2E6B3A; }
.cad-sg-in { width:56px; height:28px; text-align:center; font:inherit; font-weight:800; letter-spacing:.08em; text-transform:uppercase; border:1.5px solid #2E6B3A; border-radius:6px; margin-right:6px; }
.cad-sg-in.cad-erro { border-color:#B3331F; }
tr.cad-sg-err > td { background:#FFF8F7; }
.cad-sg-msg { font-size:12.5px; margin-top:6px; color:#B3331F; white-space:normal; }
.cad-sg-msg:empty { display:none; }
.cad-sg-msg .ex { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:#B3331F; color:#fff; font-size:12px; font-weight:800; margin-right:6px; }
.cad-sg-prev { margin-top:6px; white-space:normal; max-width:420px; }
.cad-sg-cods { display:flex; flex-wrap:wrap; gap:6px; align-items:center; font-size:12.5px; }
.cad-sg-rot { color:#6B7566; }
.cad-sg-cod { font-weight:700; padding:2px 8px; border-radius:5px; background:#F2F5EE; }
.cad-sg-cod s { color:#6B7566; font-weight:500; margin-right:4px; }
.cad-sg-cod.novo { background:#E8F4EA; color:#2E6B3A; }
.cad-sg-aviso { background:#fdf6e3; border-radius:6px; padding:6px 10px; font-size:12.5px; margin-top:6px; }
.cad-sg-ok { margin-left:8px; }
 
.cad-copos { margin-top:16px; background:#fff; border:1px solid #D8DED3; border-radius:10px; padding:10px 12px; max-width:1100px; }
.cc-chips { display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 10px; }
.cc-chips .cad-bt + .cad-bt { margin-left:0; }
.cc-copos { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:14px; align-items:start; }
.cc-mapa { height:460px; border-radius:10px; background:#22301f; overflow:hidden; }
.cc-lado { font-size:13px; }
.cc-dica { margin:0 0 8px; color:#6B7566; }
.cc-lista { display:flex; flex-direction:column; gap:4px; max-height:250px; overflow:auto; }
.cc-item { display:flex; justify-content:space-between; gap:10px; text-align:left; font:inherit; font-size:13px; background:#fff; border:1px solid #D8DED3; border-radius:6px; padding:5px 9px; cursor:pointer; }
.cc-item span { color:#6B7566; font-size:12px; }
.cc-item.sel { border-color:#C98A1B; background:#FFF8E1; }
.cc-cconf { margin-top:10px; display:flex; flex-direction:column; gap:8px; }
.cc-cconf[hidden] { display:none; }
.cc-dist { font-weight:700; color:#1F2A1D; }
.cc-aviso { background:#fdf6e3; border-radius:6px; padding:8px 10px; color:#6B5310; font-weight:600; }
.cc-bts { display:flex; gap:6px; }
.cc-bts .cad-bt + .cad-bt { margin-left:0; }
.cc-arrasta { background:#FFD23F; border:2px solid #fff; border-radius:50%; box-shadow:0 0 0 2px rgba(0,0,0,.35); cursor:grab; }
.leaflet-tooltip.cc-rot { background:rgba(11,46,31,.82); color:#fff; border:0; box-shadow:none; font-weight:700; font-size:11px; padding:1px 5px; }
.leaflet-tooltip.cc-rot::before { display:none; }
@media (prefers-reduced-motion:reduce) { td.cc-mudou { animation:none; } }
@media (max-width:760px) { .cc-copos { grid-template-columns:1fr; } .cc-mapa { height:320px; } }
