/* Styles for the turkey defrost and cooking-time calculator, scoped so they
   do not restyle the rest of the site. */
.tcalc {
  --tcalc-muted: #5c4a3e;
  --tcalc-card: #fffdf8;
  --tcalc-accent: #8a1f1f;
  --tcalc-accent-dark: #6b1515;
  --tcalc-line: #e2d4c4;
  --tcalc-warn-bg: #fff4e5;
  --tcalc-warn-line: #e6c48a;
  --tcalc-safe-bg: #f8ebe6;
  --tcalc-err: #8a1f1f;
}
.tcalc * { box-sizing: border-box; }
.tcalc .card {
  background: var(--tcalc-card);
  border: 1px solid var(--tcalc-line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.2rem;
  margin: 0 0 1rem;
  display: block;
  text-decoration: none;
  color: inherit;
  gap: unset;
}
.tcalc .card:hover { box-shadow: none; }
.tcalc fieldset { border: 0; padding: 0; margin: 0 0 0.85rem; }
.tcalc legend { font-weight: 700; padding: 0; margin: 0 0 0.45rem; }
.tcalc label { display: block; font-weight: 600; margin: 0.65rem 0 0.3rem; }
.tcalc .hint { display: block; font-weight: 400; color: var(--tcalc-muted); font-size: 0.9rem; }
.tcalc input, .tcalc select, .tcalc button[type="submit"] {
  font: inherit;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #c9b8a8;
  border-radius: 8px;
  background: #fff;
}
.tcalc input:focus, .tcalc select:focus, .tcalc button:focus {
  outline: 3px solid #e2a3a3;
  outline-offset: 2px;
}
.tcalc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
@media (max-width: 560px) { .tcalc .row { grid-template-columns: 1fr; } }
.tcalc .choices label { font-weight: 500; display: flex; align-items: center; gap: 0.5rem; margin: 0.35rem 0; }
.tcalc .choices input { width: auto; min-height: 1.25rem; }
.tcalc button[type="submit"] {
  background: var(--tcalc-accent);
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.6rem;
}
.tcalc button[type="submit"]:hover { background: var(--tcalc-accent-dark); }
.tcalc .error { color: var(--tcalc-err); font-weight: 600; margin: 0.5rem 0 0; }
.tcalc .error[hidden], .tcalc .results[hidden] { display: none; }
.tcalc h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.tcalc .out dt { font-weight: 700; margin: 0.7rem 0 0.15rem; }
.tcalc .out dd { margin: 0; }
.tcalc .countdown {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.tcalc .safety, .tcalc .notice {
  background: var(--tcalc-safe-bg);
  border: 1px solid #e3c4b8;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.tcalc .notice { background: var(--tcalc-warn-bg); border-color: var(--tcalc-warn-line); }
.tcalc a { color: var(--tcalc-accent-dark); }
.tcalc .tool-note { font-size: 0.9rem; color: var(--tcalc-muted); }
.tcalc ul { padding-left: 1.2rem; }
