﻿/* Shared visual language with the home: navy, brand green, white cards and slate sections. */
.tools-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 8px;
  background: #22c55e;
  color: #0b1d35;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px #22c55e26;
  transition: background .2s, transform .2s;
}
.tools-hero-cta:hover { background: #4ade80; transform: translateY(-2px); }
.tools-hero-cta:focus-visible { outline: 3px solid #0b1d35; outline-offset: 4px; }
.smb-tools {
  --ink: #0b1d35;
  --green: #15803d;
  --brand-green: #22c55e;
  --line: #e2e8f0;
  color: var(--ink);
  background: #fff;
  padding: 48px 24px 96px;
  scroll-margin-top: 96px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.65;
}
.tools-wrap { max-width: 1100px; margin: 0 auto; }
.tools-hub-intro { margin-bottom: 40px; }
.smb-tools * { box-sizing: border-box; }
.smb-tools [hidden] { display: none !important; }
.smb-tools a { text-underline-offset: 4px; }
.smb-tools :is(h1, h2, h3, h4, legend) { font-family: Manrope, sans-serif; }
.tools-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #64748b; margin-bottom: 32px; }
.tools-breadcrumb a { color: var(--green); text-decoration: underline; }
.tools-intro { display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.tools-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #15803d;
  font-size: 11px;
  letter-spacing: .09em;
  font-weight: 700;
  margin: 0 0 20px;
}
.tools-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--brand-green); border-radius: 50%; flex-shrink: 0; }
.smb-tools h1, .tools-intro h2, .tools-section-heading h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  max-width: 820px;
}
.tools-section-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.tools-section-heading h2, .tools-section-heading .tools-lead { margin-left: auto; margin-right: auto; }
.tools-section-heading h2 span, .tools-help h2 span { color: var(--brand-green); }
.tools-lead { font-size: 15px; color: #64748b; max-width: 760px; margin: 0 0 20px; line-height: 1.75; }
.tools-intro-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 72px; height: 72px; background: var(--ink); color: var(--brand-green); border-radius: 16px; }
.tools-intro-icon svg { width: 34px; height: 34px; }
.tools-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 12px; font-weight: 600; margin: 6px 0 24px; color: #475569; }
.tools-badges span::before { content: '✓'; color: var(--green); margin-right: 8px; }
.tools-note { font-size: 12px; color: #64748b; line-height: 1.75; max-width: 950px; margin: 16px 0 30px; }
.tools-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tools-panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 30px; min-width: 0; box-shadow: 0 2px 12px #0b1d3506; }
.tools-panel-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tools-panel-heading h3 { font-size: 18px; font-weight: 800; margin: 0; }
.tools-panel-heading > span { font-size: 9px; letter-spacing: .08em; color: #64748b; font-weight: 700; }
.tools-output-panel .tools-panel-heading { border-bottom-color: #bbf7d0; }
.tools-output-panel .tools-panel-heading h3::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-green); margin-right: 9px; vertical-align: middle; }
.tools-field { display: block; margin: 0 0 20px; font-size: 13px; font-weight: 700; }
.tools-field small { display: block; font-weight: 400; font-size: 12px; color: #64748b; margin: 5px 0 8px; }
.smb-tools input:not([type=file]), .smb-tools textarea, .smb-tools select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  margin-top: 7px;
  min-height: 46px;
}
.smb-tools textarea { resize: vertical; line-height: 1.65; }
.smb-tools :is(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #15803d; outline-offset: 3px; }
.smb-tools fieldset { border: 1px solid var(--line); padding: 20px; border-radius: 12px; margin: 0 0 24px; min-width: 0; }
.smb-tools legend { font-size: 14px; font-weight: 800; padding: 0 8px; }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tools-primary, .tools-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 8px;
  min-height: 46px;
  line-height: 1.4;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.smb-tools .tools-primary { color: #fff; background: var(--brand-green); border: 1px solid var(--brand-green); text-decoration: none; box-shadow: 0 8px 18px #22c55e1a; }
.smb-tools .tools-primary:hover { background: #4ade80; transform: translateY(-1px); }
.tools-secondary { background: #fff; border: 1px solid #cbd5e1; color: #475569; }
.tools-secondary:hover { background: #f0fdf4; border-color: #86efac; }
.tools-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.tools-small { font-size: 11px; color: #64748b; line-height: 1.7; margin: 8px 0 14px; }
.tools-step { font-family: Manrope, sans-serif; font-size: 13px; color: var(--ink); font-weight: 800; margin: 24px 0 14px; }
.tools-report-label { display: block; font-size: 13px; font-weight: 800; margin-top: 24px; }
.smb-tools #result-report { font-family: inherit; font-size: 12px; min-height: 280px; background: #f8fafc; }
.tools-metric { font-family: Manrope, sans-serif; font-size: 48px; line-height: 1.1; letter-spacing: -.04em; font-weight: 900; color: var(--green); margin-bottom: 10px; }
.tools-metric-caption { font-size: 13px; color: #64748b; margin-bottom: 20px; }
.tools-summary-box { padding: 18px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; margin-bottom: 16px; }
.tools-summary-box strong { display: block; font-family: Manrope, sans-serif; font-size: 15px; }
.tools-summary-box p { font-size: 12px; margin: 7px 0 0; color: #475569; }
.tools-contact { background: #1a3e72; padding: 24px; border-radius: 12px; color: white; margin: 28px 0 0; }
.tools-contact h4 { font-size: 19px; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.tools-contact p { font-size: 13px; margin: 0 0 20px; color: #e2e8f0; }
.tools-contact .tools-small { margin: 14px 0 0; color: #e2e8f0; font-size: 11px; }
.tools-contact .tools-primary { width: 100%; }
.tools-limit { border-top: 1px solid var(--line); margin: 24px 0 0; padding-top: 18px; font-size: 11px; }
.tools-method { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 26px 30px; margin: 32px 0; box-shadow: 0 2px 12px #0b1d3506; }
.tools-method summary { cursor: pointer; font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.tools-method p { font-size: 13px; margin: 16px 0; color: #64748b; line-height: 1.8; }
.tools-related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 30px; }
.tools-related h2 { grid-column: 1 / -1; font-size: 24px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; }
.tools-related a { font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: border-color .2s, box-shadow .2s; }
.tools-related a:hover { border-color: #86efac; box-shadow: 0 8px 20px #0b1d350a; }
.tools-related a span { color: var(--green); }
.tools-error { color: #a32121 !important; font-size: 13px; }
.tools-print { display: none; }
.tools-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 28px; }
.tools-cards li { min-width: 0; }
.tools-cards a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: white; border-radius: 16px; padding: 28px; text-decoration: none; box-shadow: 0 1px 3px #0b1d3508; transition: transform .25s, box-shadow .25s; }
.tools-cards a:hover { transform: translateY(-4px); box-shadow: 0 20px 35px #0b1d3514; }
.tools-card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 11px; color: #64748b; margin-bottom: 22px; }
.tools-card-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 16px; background: var(--brand-green); color: var(--ink); width: 56px; height: 56px; }
.tools-cards h3 { font-size: 19px; font-weight: 800; line-height: 1.4; margin: 0 0 12px; }
.tools-cards p { font-size: 13px; color: #64748b; margin: 0 0 24px; line-height: 1.8; }
.tools-card-link { font-size: 12px; font-weight: 800; color: var(--green); display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.tools-card-link > span { display: flex; align-items: center; justify-content: center; border-radius: 50%; width: 28px; height: 28px; background: #f0fdf4; }
.tools-arrow { flex-shrink: 0; }
.tools-help { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px; background: #1a3e72; border-radius: 16px; color: white; margin-top: 48px; }
.tools-help .tools-eyebrow { background: #ffffff1a; color: #f8fafc; border-color: #ffffff33; font-size: 10px; }
.tools-help h2 { font-size: 28px; line-height: 1.25; font-weight: 900; letter-spacing: -.02em; margin-bottom: 12px; }
.tools-help p:not(.tools-eyebrow) { color: #e2e8f0; font-size: 13px; max-width: 540px; }
.tools-help .tools-primary { flex-shrink: 0; }
.tools-remove { font-size: 11px; padding: 8px 12px; min-height: 38px; }
.tools-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tools-action-details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0 0 20px; }
.tools-action-details summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.tools-action-details-content { padding-top: 16px; }
.tools-action-details-content > :last-child { margin-bottom: 0; }
.tools-live-hint { font-size: 11px; color: #64748b; margin-top: 12px; }
.tools-stage { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tools-stage .tools-grid .tools-field { display: flex; flex-direction: column; }
.tools-stage .tools-grid .tools-field small { flex-grow: 1; }
#tool-result { scroll-margin-top: 100px; }
@media screen and (min-width: 901px) {
  .tools-output-panel {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 128px);
    max-height: calc(100dvh - 128px);
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}
@media (max-width: 900px) {
  .smb-tools { padding-top: 48px; padding-bottom: 80px; }
  .tools-workspace { grid-template-columns: 1fr; }
  .tools-intro { gap: 20px; }
  .tools-help { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .smb-tools { padding: 48px 16px 64px; }
  .tools-hero-cta { width: 100%; padding: 14px 24px; }
  .tools-intro { display: block; }
  .tools-intro-icon { display: none; }
  .tools-panel { padding: 24px 20px; }
  .tools-grid, .tools-related, .tools-cards { grid-template-columns: 1fr; }
  .tools-result-actions > * { width: 100%; }
  .tools-section-heading { margin-bottom: 32px; }
  .tools-cards a { padding: 24px; }
  .tools-method { padding: 22px 20px; }
  .tools-breadcrumb { font-size: 11px; }
  .tools-input-panel fieldset { padding: 14px; }
  .tools-eyebrow { font-size: 10px; padding: 6px 12px; }
  .tools-help { padding: 28px 24px; }
  .tools-help h2 { font-size: 26px; }
  .tools-help .tools-primary { width: 100%; }
  .smb-tools input:not([type=file]), .smb-tools textarea, .smb-tools select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tools-hero-cta, .tools-cards a, .tools-primary, .tools-secondary, .tools-related a { transition: none; }
  .tools-hero-cta:hover, .tools-cards a:hover, .smb-tools .tools-primary:hover { transform: none; }
}
@media print {
  body { padding: 0 !important; background: white !important; }
  body * { visibility: hidden !important; }
  body header, body footer, body > div, body > button, .hero-gradient, .tools-wrap, .smb-tools script { display: none !important; }
  .smb-tools { padding: 0 !important; background: white !important; }
  .tools-print, .tools-print * { visibility: visible !important; }
  .tools-print { display: block !important; position: absolute; left: 0; top: 0; width: 100%; font: 11pt/1.5 sans-serif; color: #000; padding: 10mm; }
  .tools-print h1 { font-size: 20pt; margin: 0 0 12pt; }
  .tools-print pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 10pt/1.5 sans-serif; }
  .tools-print p { font-size: 9pt; margin: 12pt 0; }
  @page { size: A4; margin: 12mm; }
}
