/* tools.css: styles only for the five free tool pages. No network dependency. */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tool-grid > * { min-width: 0; }
.tool-grid.wide-form { grid-template-columns: 1.1fr 1fr; }
.tool-form, .tool-panel { background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 24px; box-shadow: 0 2px 12px rgba(22,50,79,0.07); }
.tool-form h2, .tool-panel h2 { font-size: 19px; color: #16324f; margin-bottom: 6px; }
.tool-form > p, .tool-panel > p { font-size: 14.5px; line-height: 1.6; color: #5b6b7c; margin-bottom: 16px; }
.tool-form fieldset { border: 1px solid #e9edf1; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.tool-form legend { font-size: 14px; font-weight: 800; color: #16324f; padding: 0 8px; }
.tool-form label { display: block; font-size: 13.5px; font-weight: 700; color: #33475c; margin: 12px 0 5px; }
.tool-form label:first-child { margin-top: 0; }
.tool-form input, .tool-form select, .tool-form textarea { width: 100%; border: 1px solid #cdd6df; border-radius: 8px; padding: 10px 12px; font-size: 15px; font-family: inherit; color: #1c2b3a; background: #fff; }
.tool-form input.file-hidden { width: 1px; height: 1px; position: absolute; left: 0; padding: 0; border: none; opacity: 0; overflow: hidden; }
.tool-form input:focus, .tool-form select:focus, .tool-form textarea:focus { outline: 2px solid #c9a227; border-color: #16324f; }
.tool-form textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.tool-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn-tool { flex: 1; min-width: 170px; text-align: center; font-size: 15px; font-weight: 800; padding: 13px 16px; border-radius: 10px; border: none; cursor: pointer; background: #16324f; color: #fff; font-family: inherit; }
.btn-tool.gold { background: #c9a227; color: #1c2b3a; }
.btn-tool.ghost { background: #eef2f5; color: #16324f; }
.btn-tool:hover { opacity: 0.92; }
.note { margin-top: 16px; font-size: 14px; line-height: 1.6; color: #33475c; background: #eef2f5; border: 1px solid #e3e8ee; border-radius: 10px; padding: 14px 16px; }
.note b { color: #16324f; }
.hint { font-size: 13.5px; color: #5b6b7c; line-height: 1.55; margin-top: 6px; }
.preview-note { font-size: 13.5px; color: #5b6b7c; margin-bottom: 12px; }
.letter-box { background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 24px 26px; font-size: 14.5px; line-height: 1.65; color: #33475c; white-space: pre-wrap; word-wrap: break-word; }
.letter-box p { margin: 0 0 12px; }
.letter-box p:last-child { margin-bottom: 0; }
.cv-empty { font-size: 13.5px; color: #8a9aa8; font-style: italic; }
.ph { color: #8a9aa8; }
.score-box { display: flex; align-items: center; gap: 18px; background: #eef2f5; border: 1px solid #e3e8ee; border-radius: 12px; padding: 18px 20px; margin-top: 16px; }
.score-num { font-size: 34px; font-weight: 800; color: #16324f; white-space: nowrap; }
.score-box p { font-size: 14.5px; line-height: 1.55; color: #33475c; }
.findings { list-style: none; margin-top: 16px; }
.findings li { background: #fff; border: 1px solid #e3e8ee; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.6; color: #33475c; }
.findings li b { color: #16324f; }
.findings li.ok { border-left: 5px solid #1a7f4b; }
.findings li.warn { border-left: 5px solid #c9a227; }
.findings .mark { font-weight: 800; margin-right: 6px; }
.findings li.ok .mark { color: #1a7f4b; }
.findings li.warn .mark { color: #8a6d1f; }
.findings .tip { display: block; margin-top: 5px; font-size: 13.5px; color: #5b6b7c; }
.counter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.counter { flex: 1; min-width: 140px; background: #eef2f5; border: 1px solid #e3e8ee; border-radius: 10px; padding: 14px 16px; }
.counter b { display: block; font-size: 26px; color: #16324f; }
.counter span { font-size: 13.5px; color: #5b6b7c; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
table.tracker { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.tracker th, table.tracker td { text-align: left; padding: 11px 10px; border-bottom: 1px solid #eef2f5; vertical-align: top; line-height: 1.5; }
table.tracker th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.5px; color: #16324f; background: #eef2f5; white-space: nowrap; }
table.tracker select { border: 1px solid #cdd6df; border-radius: 6px; padding: 6px 8px; font-size: 13.5px; font-family: inherit; }
table.tracker .del { background: none; border: none; color: #9b2c2c; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit; padding: 4px 0; }
.status-pill { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #eef2f5; color: #16324f; }
.status-pill.eingeladen { background: #e4f2ea; color: #1a7f4b; }
.status-pill.zusage { background: #e4f2ea; color: #1a7f4b; }
.status-pill.abgesagt { background: #fbeaea; color: #9b2c2c; }
.empty-table { font-size: 14.5px; color: #5b6b7c; line-height: 1.6; margin-top: 14px; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.job-card { background: #fff; border: 1px solid #e3e8ee; border-radius: 14px; padding: 24px; box-shadow: 0 2px 10px rgba(22,50,79,0.06); display: flex; flex-direction: column; }
.job-card h3 { font-size: 18px; color: #16324f; }
.job-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: #5b6b7c; flex: 1; }
.job-card a.job-link { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 800; color: #fff; background: #16324f; padding: 11px 18px; border-radius: 8px; text-align: center; }
.job-card a.job-link:hover { background: #1f4e79; }
.job-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; color: #1a7f4b; background: #e4f2ea; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.faqwrap { margin-top: 8px; }
.copy-feedback { font-size: 13.5px; font-weight: 700; color: #1a7f4b; margin-top: 10px; min-height: 18px; }
@media (max-width: 760px) {
  .tool-grid, .tool-grid.wide-form, .job-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row, .field-row.three { grid-template-columns: 1fr; }
  .tool-form, .tool-panel { padding: 18px; }
  .letter-box { padding: 18px; }
  .score-box { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media print {
  body * { visibility: hidden; }
  #printArea, #printArea * { visibility: visible; }
  #printArea { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; border: none; }
}
