/* ── CARDS ───────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 14px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.card-header {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: #F9F8F5;
}

/* ── CHECKLIST ───────────────────────────────── */
.ci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .14s;
  border-bottom: 1px solid #F2EFE9;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ci:last-child { border-bottom: none; }
.ci:hover { background: #FAF9F5; }
.ci:active { background: #F4F1EA; }

.ci-box {
  width: 18px; height: 18px;
  border: 1.5px solid #D1CCBA;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.ci.checked .ci-box { background: #1A6B47; border-color: #1A6B47; }
.ci.checked .ci-box::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
  display: block;
}

.ci-content { flex: 1; min-width: 0; }

.ci-label { font-size: 14px; color: var(--text); line-height: 1.45; transition: color .18s; }
.ci.checked .ci-label { text-decoration: line-through; color: var(--muted); }

.ci-note { font-size: 12px; color: var(--muted); font-weight: 300; margin-top: 2px; font-style: italic; }

.ci-tags { display: flex; gap: 5px; margin-top: 4px; flex-wrap: wrap; }

.tag {
  font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 10px;
}
.tag-opt { background: var(--border); color: var(--muted); }
.tag-cond { background: var(--gold-lt); color: #7A4F00; }
.tag-rec { background: #E0F0EC; color: #1A6B47; }

/* ── INFO ITEMS ──────────────────────────────── */
.ii {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #F2EFE9;
}
.ii:last-child { border-bottom: none; }

.ii-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

.ii-text { font-size: 14px; color: var(--text); line-height: 1.5; }

/* ── OUTCOMES ────────────────────────────────── */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
}

.outcome {
  border-radius: var(--r-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.outcome.ok { background: #F0FAF5; border-color: #A8D9BE; }
.outcome.ko { background: #FFF3F3; border-color: #FFBBBB; }

.outcome-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 5px;
}
.outcome.ok .outcome-label { color: #1A6B47; }
.outcome.ko .outcome-label { color: #8B0000; }

.outcome-text { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.4; }

/* ── ALERT BOXES ─────────────────────────────── */
.alert-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  margin-bottom: 14px;
  border: 1px solid;
}
.alert-box.warning { background: #FFFBEF; border-color: #EDD57E; }
.alert-box.danger  { background: #FFF3F3; border-color: #FFBBBB; }

.alert-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }

.alert-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 4px;
}
.alert-box.warning .alert-title { color: #7A5000; }
.alert-box.danger  .alert-title { color: #7A0000; }

.alert-text { font-size: 13px; font-weight: 300; line-height: 1.5; }
.alert-box.warning .alert-text { color: #6B4400; }
.alert-box.danger  .alert-text { color: #6B0000; }

/* ── DEADLINE BOXES ──────────────────────────── */
.deadline-box {
  background: var(--navy);
  border-radius: var(--r);
  padding: 16px 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
}

.deadline-icon { font-size: 20px; flex-shrink: 0; line-height: 1; margin-top: 1px; }

.deadline-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.deadline-text { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.55; font-weight: 300; }

/* ── NAVIGATION ──────────────────────────────── */
.phase-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  letter-spacing: .02em;
}
.nav-btn:hover { border-color: var(--navy); background: #EFECE5; }
.nav-btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-btn.primary:hover { background: var(--navy-mid); }
.nav-btn.hidden { visibility: hidden; }

.nav-progress { font-size: 12px; color: var(--muted); font-weight: 300; }

/* ── ANIMATION ───────────────────────────────── */
.fade-up { animation: fadeUp .28s ease forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
