/* ═══════════════════════════════════════════════════════════
   STYLE CHECK — tela do botão "+"
   ═══════════════════════════════════════════════════════════ */
.chk-wrap, .chk-wrap *, .chk-modal, .chk-modal * {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

.chk-wrap {
  position: fixed; top: 0; bottom: 80px;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 420;
  background: #FAF8F5; display: none; flex-direction: column;
  box-shadow: 0 0 42px rgba(0, 0, 0, .07);
}
.chk-wrap.on { display: flex; }

.chk-top {
  padding: 14px 16px 12px; text-align: center;
  font-size: 15px; font-weight: 600; color: #2A2520;
  background: #FBF9F7; border-bottom: 1px solid rgba(0, 0, 0, .05);
  flex-shrink: 0;
}
.chk-corpo {
  flex: 1; overflow-y: auto; padding: 16px 16px 24px;
  -webkit-overflow-scrolling: touch;
}
.chk-sub {
  text-align: center; font-size: 14.5px; color: #4A423A;
  line-height: 1.45; margin: 0 0 18px;
}

/* cartões */
.chk-card {
  display: block; width: 100%; text-align: center;
  background: #fff; border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 18px; padding: 10px 10px 16px;
  margin-bottom: 14px; cursor: pointer;
  font-family: inherit; transition: opacity .16s;
}
.chk-card:active { opacity: .65; }
.chk-foto {
  width: 100%; aspect-ratio: 16 / 10; border-radius: 12px;
  overflow: hidden; background: #F2ECE5; margin-bottom: 12px;
}
.chk-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chk-foto.chk-sem-foto::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, #EFE6DC 0%, #E4D7CA 100%);
}
.chk-titulo {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 17px; font-weight: 700; color: #2A2520; margin-bottom: 6px;
}
.chk-titulo svg { width: 17px; height: 17px; color: #2A2520; flex-shrink: 0; }
.chk-desc {
  font-size: 13px; color: #6B6055; line-height: 1.45;
  padding: 0 12px;
}

/* ═══ modal ═══ */
.chk-modal {
  position: fixed; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 620;
  background: rgba(42, 37, 32, .45);
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.chk-modal.on { display: flex; animation: chkFade .26s ease; }
@keyframes chkFade { from { opacity: 0; } to { opacity: 1; } }
.chk-modal-card {
  background: #fff; border-radius: 20px; padding: 20px;
  width: 100%; position: relative; text-align: center;
  max-height: 90vh; overflow-y: auto;
  animation: chkSobe .32s cubic-bezier(.22, .9, .3, 1);
}
@keyframes chkSobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.chk-x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px; border: none; background: rgba(255, 255, 255, .85);
  border-radius: 50%; cursor: pointer; color: #6B6055; font-size: 21px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.chk-modal-foto {
  width: 100%; border-radius: 14px; overflow: hidden;
  margin-bottom: 16px; background: #EFE9E1; aspect-ratio: 4 / 5;
}
.chk-modal-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chk-modal-card h2 {
  font-size: 20px; font-weight: 700; color: #2A2520; margin: 0 0 10px;
}
.chk-modal-card p {
  font-size: 14px; color: #4A423A; line-height: 1.5; margin: 0 0 16px;
}
.chk-paleta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: #2A2520; margin-bottom: 16px; flex-wrap: wrap;
}
.chk-editar {
  display: inline-flex; align-items: center; gap: 5px;
  background: #F2ECE5; border: none; border-radius: 99px;
  padding: 6px 12px; font-size: 12.5px; color: #4A423A;
  cursor: pointer; font-family: inherit;
}
.chk-editar svg { width: 12px; height: 12px; }
.chk-btn {
  width: 100%; padding: 16px; border: none; border-radius: 99px;
  background: #C14E1A; color: #fff; font-size: 16px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: opacity .16s;
}
.chk-btn:active { opacity: .7; }

.chk-carregando {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 18px 0 8px; font-size: 14px; color: #6B6055;
}
.chk-spin {
  width: 28px; height: 28px; border: 2.5px solid #EFE7DC;
  border-top-color: #C14E1A; border-radius: 50%;
  animation: chkSpin .85s linear infinite;
}
@keyframes chkSpin { to { transform: rotate(360deg); } }
.chk-analise {
  text-align: left; font-size: 14px; color: #2A2520; line-height: 1.6;
  background: #FAF7F3; border-radius: 14px; padding: 14px; margin-bottom: 16px;
}
