/* Shared stylesheet for the free payroll calculators under /tools. */

.tool-hero { padding-bottom: 32px; }
.tool-hero .hero-title { font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.15; }
.tool-crumb { font-size: 0.85rem; color: var(--text-2); margin-bottom: 18px; }
.tool-crumb a { color: var(--brand-orange); text-decoration: none; }
.tool-crumb span[aria-hidden] { margin: 0 6px; color: #c4c4c4; }
.tool-meta { font-size: 0.88rem; color: var(--text-2); margin-top: 12px; }

.tool-panel {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.tool-panel-title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.tool-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.tool-panel .form-control,
.tool-panel .form-select { min-height: 46px; border-radius: 12px; }
.tool-help { font-size: 0.82rem; color: var(--text-2); margin-top: 6px; }
.tool-error { font-size: 0.85rem; color: #b42318; margin-top: 6px; }

.tool-result { background: var(--paper-cream); }
.tool-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tool-result-grid div { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; }
.tool-result-grid span { display: block; font-size: 0.82rem; color: var(--text-2); }
.tool-result-grid strong { display: block; font-size: 1.25rem; color: var(--ink); margin-top: 4px; overflow-wrap: anywhere; }
.tool-steps { font-size: 0.9rem; color: var(--text); margin: 16px 0 0; }
.tool-disclaimer { font-size: 0.82rem; color: var(--text-2); margin: 12px 0 0; }

.tool-sub { margin-left: 0; max-width: 760px; }
.tool-table-wrap { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; }
.tool-table { width: 100%; min-width: 520px; border-collapse: collapse; background: #fff; font-size: 0.92rem; }
.tool-table th,
.tool-table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.tool-table thead th { background: var(--ink); color: #fff; font-weight: 600; }
.tool-table tbody th { font-weight: 600; color: var(--ink); }
.tool-source { font-size: 0.82rem; color: var(--text-2); margin-top: 10px; }
.tool-list { color: var(--text); padding-left: 20px; max-width: 820px; line-height: 1.7; }

.tool-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.tool-btn-ghost:hover { color: #fff; border-color: #fff; }

@media (max-width: 575.98px) {
  .tool-result-grid { grid-template-columns: 1fr; }
  .tool-panel { padding: 22px 16px; }
}

.tool-hero-img { max-width: 420px; width: 100%; height: auto; }
