/* Imported from the standalone franchise.html by
   app/bin/import_tool_html.php. Every selector is scoped to .tool-body so
   the tool cannot restyle the shared header and footer, and its custom
   properties cannot leak out of its own subtree. Edit this file, not the
   original document. */

.tool-body {
  --green:#E61933;
  --green-light:#FE233E;
  --bg-page:#F3F4F1;
  --bg-card:#FFFFFF;
  --text-primary:#1A1A18;
  --text-secondary:#5F5E5A;
  --text-tertiary:#888780;
  --border:rgba(0,0,0,0.09);
  --border-strong:rgba(0,0,0,0.16);
  --danger-bg:#FAECE7; --danger-text:#712B13; --danger-sub:#993C1D;
  --warn-bg:#FAEEDA; --warn-text:#633806; --warn-sub:#854F0B;
  --good-bg:#EAF3DE; --good-text:#27500A; --good-sub:#3B6D11;
  --radius-md:10px; --radius-lg:16px;
}
.tool-body * {box-sizing:border-box;margin:0;padding:0}
.tool-body {height:100%}
.tool-body {
  font-family:'Vazirmatn', Tahoma, sans-serif;
  background:var(--bg-page);
  color:var(--text-primary);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  padding-bottom:env(safe-area-inset-bottom);
}

.tool-body .w {padding:1.5rem 1.25rem 2.5rem}

.tool-body .brand {display:flex;align-items:center;gap:10px;margin-bottom:1.75rem;padding-bottom:1.25rem;border-bottom:1px solid var(--border)}
.tool-body .brand-logo {width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--green-light),var(--green));display:flex;align-items:center;justify-content:center;color:#fff;font-size:15px;font-weight:700;flex-shrink:0}
.tool-body .brand-name {font-size:16px;font-weight:700;color:var(--text-primary)}
.tool-body .brand-sub {font-size:12.5px;color:var(--text-secondary);margin-top:1px}

.tool-body .tool-title {font-size:19px;font-weight:700;color:var(--text-primary);margin-bottom:6px;line-height:1.45}
.tool-body .tool-sub {font-size:13.5px;color:var(--text-secondary);margin-bottom:1.5rem;line-height:1.8}

.tool-body .progress-wrap {margin-bottom:1.75rem}
.tool-body .progress-track {height:6px;background:#EDEDE8;border-radius:6px;overflow:hidden}
.tool-body .progress-fill {height:100%;background:linear-gradient(90deg,var(--green-light),var(--green));border-radius:6px;width:0%;transition:width 0.35s ease}
.tool-body .progress-label {font-size:12px;color:var(--text-secondary);margin-top:8px;display:flex;justify-content:space-between}

.tool-body .q-step {display:none}
.tool-body .q-step.active {display:block;animation:fadeIn 0.3s ease}
.tool-body .dimension-page {display:block;animation:fadeIn 0.3s ease}
.tool-body .dimension-page .dimension-head {display:flex;align-items:center;gap:10px;margin-bottom:1.25rem}
.tool-body .dimension-page .dimension-icon {width:42px;height:42px;border-radius:12px;background:var(--green-light);display:flex;align-items:center;justify-content:center;color:#fff;font-size:19px;flex-shrink:0}
.tool-body .dimension-page .dimension-head-title {font-size:16px;font-weight:700;line-height:1.5}
.tool-body .dimension-page .dimension-head-sub {font-size:11.5px;color:var(--text-secondary);margin-top:2px}
.tool-body .dimension-question {background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:15px 14px;margin-bottom:12px}
.tool-body .dimension-question.is-conditional {border-style:dashed}
.tool-body .dimension-question .q-number {font-size:11px;font-weight:700;color:var(--green);margin-bottom:7px}
.tool-body .dimension-question .q-title {font-size:14.5px;margin-bottom:11px}
.tool-body .dimension-question .opt {padding:11px 12px;margin-bottom:8px}
.tool-body .dimension-question .opt:last-child {margin-bottom:0}
.tool-body .dimension-question .opt-text {font-size:13px}
.tool-body .dimension-question .q-help {font-size:11.5px;line-height:1.8;color:var(--text-secondary);background:#F7F7F4;border-radius:10px;padding:9px 11px;margin:0 0 10px}
@keyframes fadeIn {from {opacity:0;transform:translateY(8px)}to {opacity:1;transform:translateY(0)}}
.tool-body .q-icon {width:46px;height:46px;border-radius:14px;background:var(--green-light);display:none;align-items:center;justify-content:center;color:#fff;font-size:21px;margin-bottom:1rem}
.tool-body .q-title {font-size:17px;font-weight:700;margin-bottom:1.25rem;line-height:1.55}

.tool-body .opt {
  display:flex;align-items:center;gap:12px;border:1.5px solid var(--border-strong);border-radius:var(--radius-lg);
  padding:14px 16px;margin-bottom:10px;cursor:pointer;transition:border-color 0.15s, background 0.15s;background:#fff;
}
.tool-body .opt:active {transform:scale(0.99)}
.tool-body .opt.selected {border-color:var(--green-light);background:#F2FAF6}
.tool-body .opt-radio {width:20px;height:20px;border-radius:50%;border:2px solid var(--border-strong);flex-shrink:0;position:relative;transition:border-color 0.15s}
.tool-body .opt.selected .opt-radio {border-color:var(--green-light)}
.tool-body .opt.selected .opt-radio::after {content:'';position:absolute;inset:3px;border-radius:50%;background:var(--green-light)}
.tool-body .opt-text {font-size:14px;font-weight:500;line-height:1.6}

.tool-body .nav-row {display:flex;gap:8px;margin-top:1.5rem}
.tool-body .nav-btn {
  flex:1;padding:14px;border-radius:var(--radius-md);font-size:14.5px;font-weight:700;font-family:'Vazirmatn',sans-serif;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;border:none;transition:opacity 0.15s, transform 0.1s;
}
.tool-body .nav-btn:active {transform:scale(0.98)}
.tool-body .nav-btn.next {background:linear-gradient(135deg,var(--green-light),var(--green));color:#fff;box-shadow:0 4px 14px rgba(15,110,86,0.28)}
.tool-body .nav-btn.back {background:#F4F4F1;color:var(--text-secondary);flex:0 0 90px}
.tool-body .nav-btn:disabled {opacity:0.45;pointer-events:none}

.tool-body .result {display:none}
.tool-body .result.show {display:block;animation:fadeIn 0.35s ease}
.tool-body .divider {border:none;border-top:1px solid var(--border);margin:1.25rem 0}

.tool-body .verdict-hero {border-radius:var(--radius-lg);padding:22px 20px;text-align:center;margin-bottom:1.25rem}
.tool-body .verdict-hero-icon {width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:26px;color:#fff}
.tool-body .verdict-hero-title {font-size:19px;font-weight:700;margin-bottom:8px}
.tool-body .verdict-hero-body {font-size:13.5px;line-height:1.85}

.tool-body .v-danger {background:var(--danger-bg);color:var(--danger-text)} .tool-body .v-danger .verdict-hero-icon {background:#D85A30}
.tool-body .v-warn {background:var(--warn-bg);color:var(--warn-text)} .tool-body .v-warn .verdict-hero-icon {background:#BA7517}
.tool-body .v-ok {background:var(--good-bg);color:var(--good-text)} .tool-body .v-ok .verdict-hero-icon {background:#639922}

.tool-body .breakdown-title {font-size:13px;font-weight:700;color:var(--text-secondary);margin-bottom:10px}
.tool-body .breakdown {display:flex;flex-direction:column;gap:8px;margin-bottom:1.25rem}
.tool-body .bd-row {display:flex;align-items:center;gap:10px;background:#F4F4F1;border-radius:var(--radius-md);padding:10px 12px}
.tool-body .bd-icon {width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;color:#fff;flex-shrink:0}
.tool-body .bd-text {flex:1;font-size:12.5px}
.tool-body .bd-q {color:var(--text-secondary);margin-bottom:2px}
.tool-body .bd-a {font-weight:600;color:var(--text-primary)}

.tool-body .next-steps {background:#F4F4F1;border-radius:var(--radius-lg);padding:16px;margin-bottom:1.25rem}
.tool-body .next-steps-title {font-size:13px;font-weight:700;margin-bottom:10px;display:flex;align-items:center;gap:6px}
.tool-body .next-steps-title i {color:var(--green);font-size:16px}
.tool-body .next-steps ul {list-style:none;display:flex;flex-direction:column;gap:8px}
.tool-body .next-steps li {font-size:12.5px;line-height:1.8;display:block;gap:8px;color:var(--text-primary)}
.tool-body .next-steps li::before {content:'';display:none}

.tool-body .actions {display:flex;gap:8px;flex-wrap:wrap}
.tool-body .act-btn {
  flex:1;min-width:120px;border:1.5px solid var(--border-strong);background:#fff;color:var(--text-secondary);
  font-size:13.5px;font-weight:600;padding:12px 12px;border-radius:var(--radius-md);cursor:pointer;
  font-family:'Vazirmatn',sans-serif;display:flex;align-items:center;justify-content:center;gap:6px;
  transition:background 0.15s;
}
.tool-body .act-btn:active {background:#F4F4F1}
.tool-body .act-btn.primary {background:linear-gradient(135deg,var(--green-light),var(--green));color:#fff;border-color:transparent}

.tool-body .watermark {text-align:center;font-size:12px;color:var(--text-secondary);margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--border)}
.tool-body .watermark span {color:var(--green);font-weight:700}

.tool-body .toast {
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--text-primary);color:#fff;padding:10px 18px;border-radius:30px;font-size:13px;
  opacity:0;pointer-events:none;transition:opacity 0.25s, transform 0.25s;z-index:50;
}
.tool-body .toast.show {opacity:1;transform:translateX(-50%) translateY(0)}

.tool-body .modal-overlay {
  position:fixed;inset:0;background:rgba(20,20,18,0.55);display:none;
  align-items:flex-end;justify-content:center;z-index:100;padding:0;
}
.tool-body .modal-overlay.show {display:flex;animation:fadeIn 0.2s ease}
.tool-body .modal-sheet {
  background:#fff;width:100%;max-width:480px;border-radius:20px 20px 0 0;
  padding:1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  animation:slideUp 0.25s ease;position:relative;
}
@keyframes slideUp {from {transform:translateY(100%)}to {transform:translateY(0)}}
.tool-body .modal-title {font-size:16px;font-weight:700;margin-bottom:6px;display:flex;align-items:center;gap:8px}
.tool-body .modal-title i {color:var(--green);font-size:19px}
.tool-body .modal-sub {font-size:13px;color:var(--text-secondary);line-height:1.8;margin-bottom:1.25rem}
.tool-body .modal-actions {display:flex;gap:8px;margin-top:1.25rem}
.tool-body .modal-actions .act-btn {margin:0}
.tool-body .modal-close {position:absolute;top:14px;left:14px;background:none;border:none;color:var(--text-secondary);font-size:18px;cursor:pointer;padding:6px}
.tool-body .field-error {font-size:12px;color:var(--danger-text);margin-top:6px;display:none}
.tool-body .field-error.show {display:block}

.tool-body .inp {
  flex:1;border:1.5px solid var(--border-strong);border-radius:var(--radius-md);
  padding:13px 14px;font-size:16px;font-family:'Vazirmatn',sans-serif;color:var(--text-primary);
  background:#fff;direction:ltr;text-align:left;width:100%;
  -webkit-appearance:none;appearance:none;
  transition:border-color 0.15s, box-shadow 0.15s;
}
.tool-body .inp:focus {outline:none;border-color:var(--green-light);box-shadow:0 0 0 3px rgba(29,158,117,0.12)}
.tool-body .input-label {font-size:13px;color:var(--text-secondary);margin-bottom:8px;display:block;font-weight:500}

.tool-body .pdf-render-area {position:fixed;left:-9999px;top:0}

@media (max-width:360px) { .tool-body .w {padding:1.25rem 1rem 2rem} }

/* ===== PDF phone gate ===== */
.tool-body .pdf-phone-modal {
  display:none;
  position:fixed;
  inset:0;
  z-index:3000;
  align-items:center;
  justify-content:center;
  padding:16px;
  box-sizing:border-box;
}
.tool-body .pdf-phone-modal.open {display:flex}
.tool-body .pdf-phone-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
}
.tool-body .pdf-phone-card {
  position:relative;
  z-index:1;
  width:min(420px,100%);
  box-sizing:border-box;
  background:#fff;
  border-radius:18px;
  padding:22px 20px 20px;
  box-shadow:0 18px 60px rgba(0,0,0,.2);
  direction:rtl;
  text-align:right;
}
.tool-body .pdf-phone-close {
  position:absolute;
  left:12px;
  top:10px;
  width:32px;
  height:32px;
  border:0;
  background:#F4F4F1;
  border-radius:50%;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.tool-body .pdf-phone-title {
  font-size:18px;
  font-weight:900;
  margin-bottom:7px;
  padding-left:35px;
}
.tool-body .pdf-phone-text {
  font-size:12.5px;
  line-height:1.9;
  color:#666;
  margin-bottom:14px;
}
.tool-body .pdf-phone-label {
  display:block;
  font-size:12px;
  font-weight:800;
  margin-bottom:6px;
}
.tool-body .pdf-phone-input {
  width:100%;
  height:48px;
  box-sizing:border-box;
  border:1px solid #D8D8D2;
  border-radius:11px;
  padding:10px 12px;
  font-family:inherit;
  font-size:16px;
  direction:ltr;
  text-align:left;
  outline:none;
}
.tool-body .pdf-phone-input:focus {border-color:#E61933;box-shadow:0 0 0 3px rgba(230,25,51,.10)}
.tool-body .pdf-phone-error {
  min-height:22px;
  color:#C92A2A;
  font-size:11.5px;
  line-height:1.8;
  margin-top:5px;
}
.tool-body .pdf-phone-submit {
  width:100%;
  min-height:46px;
  border:0;
  border-radius:11px;
  background:#E61933;
  color:#fff;
  font-family:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  margin-top:4px;
}
.tool-body .pdf-phone-submit:active {transform:translateY(1px)}

.tool-body .dashboard-subvalue {font-size:10px;color:#666;line-height:1.7;margin-top:2px}

/* ===== Intent Lead modal ===== */
.tool-body .intent-lead-modal {
  display:none;
  position:fixed;
  inset:0;
  z-index:3100;
  align-items:center;
  justify-content:center;
  padding:16px;
  box-sizing:border-box;
}
.tool-body .intent-lead-modal.open {display:flex}
.tool-body .intent-lead-backdrop {
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.48);
}
.tool-body .intent-lead-card {
  position:relative;
  z-index:1;
  width:min(420px,100%);
  box-sizing:border-box;
  background:#fff;
  border-radius:18px;
  padding:22px 20px 20px;
  box-shadow:0 18px 60px rgba(0,0,0,.2);
  direction:rtl;
  text-align:right;
}
.tool-body .intent-lead-close {
  position:absolute;
  left:12px;
  top:10px;
  width:32px;
  height:32px;
  border:0;
  background:#F4F4F1;
  border-radius:50%;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.tool-body .intent-lead-title {
  font-size:18px;
  font-weight:900;
  margin-bottom:7px;
  padding-left:35px;
}
.tool-body .intent-lead-text {
  font-size:12.5px;
  line-height:1.9;
  color:#666;
  margin-bottom:14px;
}
.tool-body .intent-lead-label {
  display:block;
  font-size:12px;
  font-weight:800;
  margin:10px 0 6px;
}
.tool-body .intent-lead-input {
  width:100%;
  height:48px;
  box-sizing:border-box;
  border:1px solid #D8D8D2;
  border-radius:11px;
  padding:10px 12px;
  font-family:inherit;
  font-size:16px;
  outline:none;
}
.tool-body .intent-lead-input.mobile {
  direction:ltr;
  text-align:left;
}
.tool-body .intent-lead-input:focus {
  border-color:#E61933;
  box-shadow:0 0 0 3px rgba(230,25,51,.10);
}
.tool-body .intent-lead-error {
  min-height:22px;
  color:#C92A2A;
  font-size:11.5px;
  line-height:1.8;
  margin-top:5px;
}
.tool-body .intent-lead-submit {
  width:100%;
  min-height:46px;
  border:0;
  border-radius:11px;
  background:#E61933;
  color:#fff;
  font-family:inherit;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  margin-top:8px;
}
.tool-body .intent-lead-submit:disabled {opacity:.55;cursor:wait}

@media(max-width:480px) {.tool-body .dashboard-subvalue {font-size:10px}}

/* Result screen — responsive four-dimension radar chart */
.tool-body .result-dim-chart {
  margin-top:18px;padding:18px 16px 16px;background:#fff;border:1px solid #E7E7E2;
  border-radius:16px;direction:rtl;overflow:hidden;max-width:100%;
}
.tool-body .result-dim-chart .chart-title {font-size:14px;font-weight:900;margin-bottom:10px;color:#171717;}
.tool-body .result-dim-chart .radar-wrap {width:100%;max-width:500px;margin:0 auto;}
.tool-body .result-dim-chart .radar-svg {display:block;width:100%;height:auto;overflow:visible;}
.tool-body .result-dim-chart .radar-label {font-family:Tahoma,Arial,sans-serif;font-size:12px;font-weight:800;fill:#374151;}
.tool-body .result-dim-chart .radar-value {font-family:Tahoma,Arial,sans-serif;font-size:11px;font-weight:900;fill:#171717;}
.tool-body .result-dim-chart .radar-legend {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:10px auto 0;max-width:700px;padding-top:10px;border-top:1px solid #E7E7E2;}
.tool-body .result-dim-chart .radar-legend-item {display:flex;align-items:center;gap:8px;min-width:0;font-family:Tahoma,Arial,sans-serif;font-size:11.5px;font-weight:800;color:#374151;line-height:1.5;}
.tool-body .result-dim-chart .radar-legend-dot {width:12px;height:12px;min-width:12px;border-radius:50%;display:inline-block;}
@media(max-width:520px) {
  .tool-body .result-dim-chart {padding:15px 10px 12px;margin-top:15px;}
  .tool-body .result-dim-chart .chart-title {font-size:13.5px;margin-bottom:6px;}
  .tool-body .result-dim-chart .radar-wrap {max-width:390px;}
  .tool-body .result-dim-chart .radar-label {font-size:11px;}
  .tool-body .result-dim-chart .radar-legend {grid-template-columns:1fr;gap:7px;}
  .tool-body .result-dim-chart .radar-value {font-size:10px;}
}

/* ===== Ecometaco UI/UX standardization — presentation/navigation only ===== */
.tool-body .eco-header {padding:0 0 16px;margin:0 0 22px;border-bottom:1px solid var(--border);}
.tool-body .eco-header-brand-row {display:flex;align-items:center;justify-content:flex-start;gap:12px;direction:rtl;min-width:0;}
.tool-body .eco-header-logo {width:116px;height:30px;object-fit:contain;object-position:center;display:block;flex:0 0 auto;}
.tool-body .eco-header-brand-block {min-width:0;text-align:right;}
.tool-body .eco-header-brand {font-size:21px;font-weight:900;line-height:1.35;color:var(--text-primary);}
.tool-body .eco-header-tagline {font-size:11.5px;color:var(--text-secondary);line-height:1.55;margin-top:2px;}
.tool-body .tool-title {font-size:20px;font-weight:900;line-height:1.55;margin-bottom:7px;}
.tool-body .tool-sub {font-size:13.5px;line-height:1.9;margin-bottom:20px;}
.tool-body .progress-wrap {margin-bottom:18px;}
.tool-body .progress-label {font-size:12px;margin-top:8px;}
.tool-body .opt {align-items:flex-start;width:100%;min-width:0;overflow:hidden;padding:15px 16px;line-height:1.85;}
.tool-body .opt-text {min-width:0;overflow-wrap:anywhere;word-break:normal;}
.tool-body .q-title {font-size:17.5px;line-height:1.8;margin-bottom:14px;}
.tool-body .nav-row {margin-top:18px;position:sticky;bottom:10px;z-index:8;padding:8px;background:rgba(243,244,241,.92);backdrop-filter:blur(8px);border-radius:14px;}
.tool-body .nav-btn {min-height:48px;}
.tool-body .nav-btn.next {box-shadow:0 5px 16px rgba(230,25,51,.18);}
.tool-body .result.show {max-width:100%;overflow:hidden;}
.tool-body .result-dim-chart {overflow:hidden;max-width:100%;}
.tool-body .breakdown {min-width:0;}
.tool-body .actions {min-width:0;}
.tool-body .act-btn {min-width:0;overflow-wrap:anywhere;line-height:1.7;}
/* Section navigation presentation: four logical sections, without changing scoring or result logic. */
.tool-body .section-nav-ui {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;padding:10px 12px;background:#F7F7F4;border:1px solid var(--border);border-radius:14px;}
.tool-body .section-nav-ui .section-name {font-size:12.5px;font-weight:800;color:var(--text-primary);min-width:0;}
.tool-body .section-nav-ui .section-count {font-size:11.5px;color:var(--text-secondary);white-space:nowrap;}
.tool-body .section-q-steps {display:none;}
.tool-body .section-q-steps.active {display:block;}
.tool-body .section-q-steps .q-step {display:block!important;animation:none;margin-bottom:18px;}
.tool-body .section-q-steps .q-step:last-child {margin-bottom:0;}
.tool-body .section-q-steps .q-icon {display:none;}
.tool-body .section-q-steps .q-title {padding-top:2px;}
.tool-body .section-q-steps .q-title:before {content:'سؤال';display:block;font-size:11px;font-weight:700;color:var(--text-tertiary);margin-bottom:3px;}
.tool-body .section-q-steps .q-step + .q-step {border-top:1px solid var(--border);padding-top:18px;}
.tool-body .result-back-btn {width:100%;margin-bottom:14px;}
@media(max-width:520px) {
  .tool-body .w {padding:1.25rem 1rem 2.25rem;}
  .tool-body .eco-header {margin-bottom:17px;padding-bottom:13px;}
  .tool-body .eco-header-logo {width:92px;height:auto;max-height:30px;}
  .tool-body .eco-header-brand {font-size:18px;}
  .tool-body .eco-header-tagline {font-size:10.5px;}
  .tool-body .tool-title {font-size:18px;}
  .tool-body .tool-sub {font-size:13px;}
  .tool-body .q-title {font-size:16px;}
  .tool-body .opt {padding:13px 12px;}
  .tool-body .opt-text {font-size:13.5px;}
  .tool-body .nav-row {bottom:6px;}
  .tool-body .nav-btn.back {flex:0 0 84px;}
  .tool-body .actions {flex-direction:column;}
  .tool-body .act-btn {width:100%;} 
  .tool-body .section-nav-ui {align-items:flex-start;}
}
@media(max-width:360px) {
  .tool-body .eco-header-brand-row {gap:9px;}
  .tool-body .eco-header-logo {width:82px;}
  .tool-body .eco-header-brand {font-size:17px;}
  .tool-body .eco-header-tagline {font-size:10px;}
  .tool-body .opt-text {font-size:13px;}
}

/* ===== KASBMAN FINAL VISUAL RESKIN — presentation layer only ===== */
.tool-body {
  --green:#0D47A1;
  --green-light:#1976D2;
  --bg-page:#F1F3F6;
  --bg-card:#FFFFFF;
  --text-primary:#172033;
  --text-secondary:#5E6878;
  --text-tertiary:#8993A3;
  --border:rgba(13,71,161,.12);
  --border-strong:rgba(13,71,161,.20);
}
.tool-body {
  font-family:'IranYekan','IRANYekan','Vazirmatn',Tahoma,sans-serif;
  background:#F1F3F6;
  color:var(--text-primary);
}
.tool-body button, .tool-body input {font-family:'IranYekan','IRANYekan','Vazirmatn',Tahoma,sans-serif;}
.tool-body .page {background:#FFFFFF;}
.tool-body .w {background:#FFFFFF;}

.tool-body .eco-header {
  padding:0 0 16px;
  margin:0 0 22px;
  border-bottom:1px solid rgba(13,71,161,.12);
}
.tool-body .eco-header-brand-row {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  direction:rtl;
  min-width:0;
}
.tool-body .eco-header-logo {
  width:120px;
  height:89px;
  max-height:89px;
  object-fit:contain;
  object-position:center;
  display:block;
  flex:0 0 120px;
}
.tool-body .eco-header-brand-block {
  min-width:0;
  text-align:right;
}
.tool-body .eco-header-brand {
  color:#0D47A1;
  font-size:22px;
  font-weight:900;
  line-height:1.35;
}
.tool-body .eco-header-tagline {
  color:#5E6878;
  font-size:11.5px;
  line-height:1.6;
  margin-top:2px;
}

.tool-body .tool-title {color:#0D47A1;}
.tool-body .progress-track {background:#E8EDF4;}
.tool-body .progress-fill {background:linear-gradient(90deg,#64B5F6,#1976D2);}

.tool-body .opt {
  border-color:rgba(13,71,161,.18);
}
.tool-body .opt.selected {
  border-color:#1976D2;
  background:#EEF5FD;
}
.tool-body .opt.selected .opt-radio {border-color:#1976D2;}
.tool-body .opt.selected .opt-radio::after {background:#1976D2;}

.tool-body .nav-row {
  background:rgba(241,243,246,.92);
}
.tool-body .nav-btn.next, .tool-body .act-btn.primary, .tool-body .pdf-phone-submit, .tool-body .intent-lead-submit {
  background:linear-gradient(135deg,#1976D2,#0D47A1);
  box-shadow:0 5px 16px rgba(25,118,210,.20);
}
.tool-body .nav-btn.next:hover, .tool-body .act-btn.primary:hover, .tool-body .pdf-phone-submit:hover, .tool-body .intent-lead-submit:hover {background:#0D47A1;}

.tool-body .nav-btn.back {
  background:#F1F3F6;
  color:#5E6878;
}
.tool-body .act-btn {border-color:rgba(13,71,161,.18);}
.tool-body .act-btn:active {background:#F1F3F6;}

.tool-body .next-steps {
  background:#F1F3F6;
}
.tool-body .next-steps-title i, .tool-body .watermark span {color:#1976D2;}

.tool-body .section-nav-ui {
  background:#F5F8FC;
  border-color:rgba(13,71,161,.12);
}
.tool-body .section-nav-ui .section-name {color:#0D47A1;}

.tool-body .inp, .tool-body .pdf-phone-input, .tool-body .intent-lead-input {
  border-color:rgba(13,71,161,.18);
}
.tool-body .inp:focus, .tool-body .pdf-phone-input:focus, .tool-body .intent-lead-input:focus {
  border-color:#1976D2;
  box-shadow:0 0 0 3px rgba(25,118,210,.11);
}
.tool-body .pdf-phone-close, .tool-body .intent-lead-close {
  background:#F1F3F6;
}
.tool-body .modal-title i {color:#1976D2;}

.tool-body .result-dim-chart {
  border-color:rgba(13,71,161,.12);
}
.tool-body .result-dim-chart .chart-title {color:#0D47A1;}

.tool-body .watermark {
  border-top-color:rgba(13,71,161,.12);
}

/* Restrained gold accent for brand highlights. */
.tool-body .section-nav-ui .section-count::before {
  content:'';
  display:inline-block;
  width:5px;height:5px;border-radius:50%;
  background:#F2B705;
  margin-left:5px;
  vertical-align:middle;
}

.tool-body .pdf-phone-card, .tool-body .intent-lead-card {
  border:1px solid rgba(13,71,161,.10);
}
.tool-body .pdf-phone-title, .tool-body .intent-lead-title {color:#0D47A1;}

@media(max-width:520px) {
  .tool-body .eco-header {
    margin-bottom:17px;
    padding-bottom:13px;
  }
  .tool-body .eco-header-brand-row {gap:10px;}
  .tool-body .eco-header-logo {
    width:100px;
    height:74px;
    max-height:74px;
    flex-basis:100px;
  }
  .tool-body .eco-header-brand {font-size:19px;}
  .tool-body .eco-header-tagline {font-size:10.5px;}
}
@media(max-width:360px) {
  .tool-body .eco-header-brand-row {gap:8px;}
  .tool-body .eco-header-logo {
    width:88px;
    height:66px;
    max-height:66px;
    flex-basis:88px;
  }
  .tool-body .eco-header-brand {font-size:17px;}
  .tool-body .eco-header-tagline {font-size:10px;}
}
