/* Age Tools Suite — self-contained styles for all four tools. No dependency on cac-style.css. */
.ats-tool { max-width: 720px; margin: 1.5rem auto; font-family: inherit; color: inherit; }
.ats-form { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid #d9dee3; border-radius: 12px; background: #fbfcfe; }
.ats-field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.ats-field input, .ats-field select { width: 100%; padding: 0.6rem 0.75rem; font-size: 1rem; border: 1px solid #b9c2cc; border-radius: 8px; background: #fff; box-sizing: border-box; }
.ats-help { margin: 0.35rem 0 0; font-size: 0.875rem; color: #5a6572; }
.ats-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ats-btn { padding: 0.65rem 1.25rem; font-size: 1rem; font-weight: 700; border: none; border-radius: 8px; background: #0e5f40; color: #fff; cursor: pointer; }
.ats-btn:hover { background: #0b4d34; }
.ats-btn.ats-secondary { background: #e8edf1; color: #22303c; }
.ats-btn.ats-secondary:hover { background: #d8e0e7; }
.ats-error { margin: 0; color: #a32020; font-weight: 600; }
.ats-error:empty { display: none; }
.ats-result { margin-top: 1rem; padding: 1.25rem; border: 1px solid #cfe3d8; border-radius: 12px; background: #f2f8f4; }
.ats-result[hidden] { display: none; }
.ats-result-label { margin: 0 0 0.75rem; font-weight: 700; }
.ats-big { margin: 0 0 1rem; font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.ats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.ats-item { padding: 0.75rem; border-radius: 8px; background: #fff; border: 1px solid #d9e6dc; }
.ats-item span { display: block; font-size: 0.875rem; color: #5a6572; margin-bottom: 0.25rem; }
.ats-item strong { font-size: 1.05rem; }
.ats-note { margin: 1rem 0 0; font-size: 0.9rem; color: #44505c; }
.ats-empty { margin-top: 1rem; padding: 1.25rem; border: 1px dashed #b9c2cc; border-radius: 12px; color: #5a6572; text-align: center; }
.ats-empty[hidden] { display: none; }
@media (max-width: 600px) {
  .ats-form, .ats-result { padding: 1rem; }
  .ats-big { font-size: 1.4rem; }
  .ats-actions .ats-btn { width: 100%; }
}
