.v167-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 24, 43, .56);
}
.v167-dialog {
  display: flex;
  width: min(1240px, 98vw);
  max-height: 94vh;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(7, 20, 38, .28);
}
.v167-dialog > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #d9e4ec;
}
.v167-dialog > header span {
  color: #4f94c5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.v167-dialog > header h2 {
  margin: 4px 0;
  color: #142441;
  font-family: Cinzel, Georgia, serif;
  font-weight: 500;
}
.v167-dialog > header p,
.v167-summary span {
  margin: 0;
  color: #75879a;
  font-size: 12px;
}
.v167-dialog > header button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #eef4f8;
  color: #29465e;
  font-size: 22px;
  cursor: pointer;
}
.v167-summary {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
  background: #f6f9fb;
}
.v167-list {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 14px 24px 20px;
}
.v167-list > article {
  border: 1px solid #d5e2eb;
  border-radius: 11px;
  padding: 12px;
}
.v167-main {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 12px;
}
.v167-main time {
  color: #5f7387;
  font-weight: 700;
}
.v167-main b {
  color: #1e3550;
  font-size: 13px;
}
.v167-main small {
  display: block;
  margin-top: 3px;
  color: #8191a1;
}
.v167-main strong.in { color: #23815b; }
.v167-main strong.out { color: #9c354e; }
.v167-decision {
  display: grid;
  grid-template-columns: .9fr 1.35fr 1fr 1.25fr;
  gap: 10px;
  margin-top: 11px;
}
.v167-decision label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #60748a;
  font-size: 11px;
  font-weight: 700;
}
.v167-decision select,
.v167-decision input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c5d7e3;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}
.v167-candidate {
  opacity: .62;
}
.v167-candidate.active {
  opacity: 1;
}
.v167-candidate.empty {
  opacity: .45;
}
.v167-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 24px;
  border-top: 1px solid #d9e4ec;
}
.v167-cancel-imported {
  border-color: #d9a9b6 !important;
  color: #8b3552 !important;
}
@media (max-width: 850px) {
  .v167-main,
  .v167-decision { grid-template-columns: 1fr; }
}
/* V201 - identificação de movimentações já importadas */
.v167-list > article.v201-already-imported {
  border-color: #b9c9d6;
  background: #f5f8fa;
}
.v201-import-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #e8eef3;
  color: #466178;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}
.v201-import-status.conciliado {
  border: 1px solid #8fd0ad;
  background: #dcf5e7;
  color: #08753f;
}
.v201-import-status.confirmado {
  background: #e4effa;
  color: #27658f;
}
.v201-import-status.ignorado {
  background: #f0ece7;
  color: #775f46;
}
.v167-list > article.v201-already-imported .v167-decision {
  opacity: .72;
}
.v2414-import-adjustments{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(95px,1fr));gap:8px;padding:12px;border:1px solid #cddde9;border-radius:9px;background:#f7fafc}.v2414-import-adjustments[hidden]{display:none}.v2414-import-adjustments>strong,.v2414-import-adjustments>p{grid-column:1/-1}.v2414-import-adjustments>strong{color:#193b62;font-size:11px}.v2414-import-adjustments>p{margin:0;padding:7px 9px;border-radius:6px;background:#fff1da;color:#95621a;font-size:10px;font-weight:700}.v2414-import-adjustments>p.ok{background:#e5f4eb;color:#287450}@media(max-width:900px){.v2414-import-adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}}
.v167-list > article.v201-already-imported select:disabled,
.v167-list > article.v201-already-imported input:disabled {
  cursor: not-allowed;
  background: #edf2f5;
  color: #52677a;
}
.v167-list > article.v201-already-imported .v183-create-account:disabled {
  border-color: #cbd7df;
  background: #edf2f5;
  color: #81919e;
  cursor: not-allowed;
  opacity: .72;
}
