/* Imported from the standalone kasbman_channel.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:#1976D2;--green-light:#1976D2;
  --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;
  --orange-bg:#FDF0E7;--orange-text:#7A3A0A;
  --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%;overflow-x:hidden}
.tool-body {font-family:'IRANYekan','IranYekan','Vazirmatn',Tahoma,sans-serif;background:#F3F4F1;color:var(--text-primary);-webkit-font-smoothing:antialiased;line-height:1.6;padding-bottom:env(safe-area-inset-bottom)}
.tool-body .page {width:min(100%,760px);margin:0 auto;min-height:100vh;background:var(--bg-card);box-shadow:0 0 40px rgba(0,0,0,0.06);overflow:hidden}
.tool-body .w {padding:0 1.25rem 2.5rem}

.tool-body .brand {display:flex;align-items:center;direction:rtl;gap:12px;margin:0 -1.25rem 1.5rem;padding:1.15rem 1.25rem 1rem;border-bottom:1px solid var(--border);background:#fff}
.tool-body .brand-logo {width:92px;height:auto;max-height:30px;border:0;border-radius:0;background:none;display:block;object-fit:contain;object-position:center;flex:0 0 auto}
.tool-body .brand-name {font-size:17px;font-weight:800;line-height:1.35}.tool-body .brand-sub {font-size:12px;color:var(--text-secondary);margin-top:1px;line-height:1.5}
.tool-body .tool-heading {margin-bottom:1.35rem}
.tool-body .tool-title {font-size:20px;font-weight:800;margin-bottom:6px;line-height:1.5}
.tool-body .tool-sub {font-size:13px;color:var(--text-secondary);margin-bottom:0;line-height:1.9}

/* steps nav */
.tool-body .steps-nav {display:flex;gap:4px;margin-bottom:1.75rem}
.tool-body .step-dot {flex:1;height:4px;border-radius:4px;background:#EDEDE8;transition:background 0.3s}
.tool-body .step-dot.active {background:var(--green-light)}.tool-body .step-dot.done {background:var(--green)}
.tool-body .step-label {font-size:12px;color:var(--text-secondary);margin-bottom:1rem}

.tool-body .section-card {background:#F8F9F6;border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:16px;margin-bottom:1rem;display:none}
.tool-body .section-card.active {display:block;animation:fadeIn 0.3s ease}
@keyframes fadeIn {from {opacity:0;transform:translateY(8px)}to {opacity:1;transform:translateY(0)}}
.tool-body .section-icon {width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;margin-bottom:10px}
.tool-body .section-title {font-size:15px;font-weight:700;margin-bottom:4px}
.tool-body .section-desc {font-size:12.5px;color:var(--text-secondary);line-height:1.7;margin-bottom:14px}

/* inputs */
.tool-body .input-group {margin-bottom:12px}
.tool-body .input-label {font-size:12.5px;color:var(--text-secondary);margin-bottom:6px;display:block;font-weight:500}
.tool-body .input-row {display:flex;align-items:center;gap:6px}
.tool-body .inp {flex:1;border:1.5px solid var(--border-strong);border-radius:var(--radius-md);padding:13px 13px;font-size:16px;font-family:'IRANYekan','IranYekan','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(25,118,210,0.12)}
.tool-body .inp-suffix {font-size:12.5px;color:var(--text-secondary);font-weight:500;white-space:nowrap;background:#F0F0EC;border:1.5px solid var(--border-strong);border-radius:var(--radius-md);padding:13px 10px;flex-shrink:0}
.tool-body .field-error {font-size:12px;color:var(--danger-text);margin-top:5px;display:none}.tool-body .field-error.show {display:block}

/* auto chip */
.tool-body .auto-chip {background:var(--good-bg);border-radius:var(--radius-md);padding:11px 13px;display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.tool-body .auto-chip-label {font-size:12px;color:var(--good-text)}
.tool-body .auto-chip-value {font-size:14px;font-weight:700;color:var(--good-sub)}
.tool-body .auto-chip.warn {background:var(--warn-bg)}.tool-body .auto-chip.warn .auto-chip-label {color:var(--warn-text)}.tool-body .auto-chip.warn .auto-chip-value {color:var(--warn-sub)}
.tool-body .auto-chip.danger {background:var(--danger-bg)}.tool-body .auto-chip.danger .auto-chip-label {color:var(--danger-text)}.tool-body .auto-chip.danger .auto-chip-value {color:var(--danger-sub)}

/* options */
.tool-body .q-text {font-size:14px;font-weight:700;color:var(--text-primary);line-height:1.6;margin-bottom:12px}
.tool-body .options {display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.tool-body .option {border:1.5px solid var(--border-strong);border-radius:var(--radius-md);padding:12px 13px;cursor:pointer;font-size:13px;font-weight:500;color:var(--text-secondary);background:#fff;text-align:right;font-family:'IRANYekan','IranYekan','Vazirmatn',sans-serif;width:100%;transition:all 0.15s;display:flex;align-items:center;gap:10px;line-height:1.5}
.tool-body .option.selected {border-color:var(--green-light);background:#EAF3DE;color:var(--green)}
.tool-body .option-bullet {width:18px;height:18px;border-radius:50%;border:1.5px solid var(--border-strong);flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all 0.15s}
.tool-body .option.selected .option-bullet {background:var(--green);border-color:var(--green)}
.tool-body .selection-check {display:none;color:#fff;font-size:12px;font-weight:800;line-height:1}
.tool-body .option.selected .selection-check {display:inline-block}

/* live strip */
.tool-body .live-strip {background:linear-gradient(135deg,var(--green),#0D47A1);border-radius:var(--radius-lg);padding:14px 16px;margin-bottom:1.25rem;display:flex;justify-content:space-between;align-items:center}
.tool-body .live-strip-label {font-size:12px;color:rgba(255,255,255,0.75)}
.tool-body .live-strip-value {font-size:18px;font-weight:700;color:#fff}

/* nav */
.tool-body .nav-row {display:flex;gap:8px;margin-top:1.25rem}
.tool-body .nav-btn {flex:1;padding:14px;border-radius:var(--radius-md);font-size:14.5px;font-weight:700;font-family:'IRANYekan','IranYekan','Vazirmatn',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;border:none;transition: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(13,71,161,0.28)}
.tool-body .nav-btn.back {background:#F4F4F1;color:var(--text-secondary);flex:0 0 90px}
.tool-body .nav-btn:disabled {opacity:0.4;pointer-events:none}

/* result */
.tool-body .result {display:none}.tool-body .result.show {display:block;animation:fadeIn 0.35s ease}

.tool-body .score-hero {border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1.25rem}
.tool-body .score-hero-top {padding:22px 20px;text-align:center}
.tool-body .score-hero-label {font-size:12.5px;color:rgba(255,255,255,0.8);margin-bottom:6px}
.tool-body .score-hero-num {font-size:52px;font-weight:700;color:#fff;line-height:1;margin-bottom:6px}
.tool-body .score-hero-title {font-size:18px;font-weight:700;color:#fff;margin-bottom:10px}
.tool-body .score-hero-body {font-size:12.5px;color:rgba(255,255,255,0.85);line-height:1.85}
.tool-body .score-hero-bottom {background:#F4F4F1;padding:14px 16px;display:flex;justify-content:space-around}
.tool-body .shb-item {text-align:center}
.tool-body .shb-label {font-size:11px;color:var(--text-secondary);margin-bottom:3px}
.tool-body .shb-value {font-size:15px;font-weight:700;direction:ltr}

.tool-body .level-crisis .score-hero-top {background:linear-gradient(135deg,#7B1D1D,#D85A30)}
.tool-body .level-weak .score-hero-top {background:linear-gradient(135deg,#7A3A0A,#C47A1E)}
.tool-body .level-mid .score-hero-top {background:linear-gradient(135deg,#5A4A00,#B8971A)}
.tool-body .level-good .score-hero-top {background:linear-gradient(135deg,#1B4D0A,#3B8A12)}

/* kpi cards */
.tool-body .kpi-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:1.25rem}
.tool-body .kpi-card {background:#F4F4F1;border-radius:var(--radius-md);padding:13px 12px}
.tool-body .kpi-label {font-size:11.5px;color:var(--text-secondary);margin-bottom:4px;display:flex;align-items:center;gap:5px}
.tool-body .kpi-label i {font-size:13px}
.tool-body .kpi-value {font-size:16px;font-weight:700;direction:ltr}
.tool-body .kpi-value.danger {color:var(--danger-sub)}.tool-body .kpi-value.warn {color:var(--warn-sub)}.tool-body .kpi-value.ok {color:var(--good-sub)}
.tool-body .kpi-sub {font-size:11px;color:var(--text-tertiary);margin-top:3px}

/* indicator bars */
.tool-body .ind-section {background:#F4F4F1;border-radius:var(--radius-lg);padding:14px;margin-bottom:1.25rem}
.tool-body .ind-title {font-size:13px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:6px}
.tool-body .ind-title i {color:var(--green);font-size:15px}
.tool-body .ind-rows {display:flex;flex-direction:column;gap:12px}
.tool-body .ind-row-top {display:flex;justify-content:space-between;margin-bottom:5px}
.tool-body .ind-row-label {font-size:12.5px;font-weight:600}
.tool-body .ind-row-val {font-size:12px;font-weight:700}
.tool-body .ind-track {height:7px;background:#DEDEDD;border-radius:7px;overflow:hidden}
.tool-body .ind-fill {height:100%;border-radius:7px;transition:width 0.6s ease}

/* alert band */
.tool-body .alert-band {border-radius:var(--radius-md);padding:13px 14px;margin-bottom:1.25rem;display:flex;gap:10px;align-items:flex-start}
.tool-body .alert-band i {font-size:17px;margin-top:2px;flex-shrink:0}
.tool-body .alert-band p {font-size:12.5px;line-height:1.8}
.tool-body .alert-band.danger {background:var(--danger-bg);color:var(--danger-text)}
.tool-body .alert-band.warn {background:var(--warn-bg);color:var(--warn-text)}
.tool-body .alert-band.ok {background:var(--good-bg);color:var(--good-text)}

/* result risk bands */
.tool-body .risk-band {display:flex;gap:10px;align-items:flex-start;border-radius:var(--radius-lg);padding:14px;margin-bottom:1.25rem;background:#F4F4F1;border:1px solid var(--border)}
.tool-body .risk-band-icon {width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#fff;flex-shrink:0;color:var(--green);font-size:17px}
.tool-body .risk-band-title {font-size:13px;font-weight:800;margin-bottom:4px}
.tool-body .risk-band-text, .tool-body .risk-band-q {font-size:12px;line-height:1.85;color:var(--text-secondary)}
.tool-body .risk-band-q {margin-top:7px;color:var(--text-primary);font-weight:600}
.tool-body .risk-band.danger {background:var(--danger-bg);border-color:rgba(113,43,19,.12);color:var(--danger-text)}
.tool-body .risk-band.danger .risk-band-icon {color:var(--danger-sub)}
.tool-body .risk-band.warn {background:var(--warn-bg);border-color:rgba(99,56,6,.12);color:var(--warn-text)}
.tool-body .risk-band.warn .risk-band-icon {color:var(--warn-sub)}
.tool-body .risk-band.ok {background:var(--good-bg);border-color:rgba(39,80,10,.12);color:var(--good-text)}
.tool-body .risk-band.ok .risk-band-icon {color:var(--good-sub)}

/* next steps */
.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:flex;gap:8px}
.tool-body .next-steps li::before {content:'';width:5px;height:5px;border-radius:50%;background:var(--green-light);margin-top:8px;flex-shrink:0}
.tool-body .next-steps li strong {display:block;font-size:12.5px}.tool-body .next-steps li span {display:block;color:var(--text-secondary)}

.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;border-radius:var(--radius-md);cursor:pointer;font-family:'IRANYekan','IranYekan','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}
.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));position:relative;animation:slideUp 0.25s ease}
@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-close {position:absolute;top:14px;left:14px;background:none;border:none;color:var(--text-secondary);font-size:18px;cursor:pointer;padding:6px}
.tool-body .pdf-render-area {position:fixed;left:-9999px;top:0}
@media(max-width:600px) {
  .tool-body .w {padding:0 .9rem 2rem}
  .tool-body .brand {margin:0 -.9rem 1.25rem;padding:1rem .9rem .9rem}
  .tool-body .tool-title {font-size:18px}
  .tool-body .tool-sub {font-size:12.5px}
  .tool-body .section-card {padding:14px}
  .tool-body .option {min-height:48px;padding:12px 13px;font-size:13px;line-height:1.8;align-items:flex-start}
  .tool-body .option-bullet {margin-top:3px}
  .tool-body .nav-row {position:sticky;bottom:0;z-index:20;margin-left:-14px;margin-right:-14px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1px solid var(--border)}
  .tool-body .nav-btn {min-height:48px}
  .tool-body .nav-btn.back {flex-basis:82px}
  .tool-body .radar-wrap {min-height:280px}
  .tool-body .radar-svg {max-width:100%}
  .tool-body .actions {flex-direction:column}
  .tool-body .act-btn {width:100%;min-width:0}
}
@media(max-width:360px) {
  .tool-body .w {padding:0 .75rem 2rem}
  .tool-body .brand {margin-left:-.75rem;margin-right:-.75rem;padding-left:.75rem;padding-right:.75rem}
  .tool-body .section-card {padding:13px}
  .tool-body .nav-row {margin-left:-13px;margin-right:-13px;padding-left:13px;padding-right:13px}
}

/* ===== 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:#1976D2;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:#1976D2;
  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}
@media(max-width:480px) {.tool-body .dashboard-subvalue {font-size:10px}}

/* ===== Dynamic Radar Chart ===== */
.tool-body .radar-section {background:#F4F4F1;border-radius:16px;padding:16px;margin-bottom:1.25rem}
.tool-body .radar-title {font-size:13px;font-weight:700;margin-bottom:4px}
.tool-body .radar-sub {font-size:11px;color:var(--text-secondary);margin-bottom:8px}
.tool-body .radar-wrap {display:flex;justify-content:center;align-items:center;width:100%;min-height:290px}
.tool-body .radar-svg {width:min(100%,330px);height:auto;overflow:visible}
.tool-body .radar-label {font-family:'IRANYekan','IranYekan','Vazirmatn',Tahoma,sans-serif;font-size:10px;font-weight:700;fill:#5F5E5A}
.tool-body .radar-value {font-family:'IRANYekan','IranYekan','Vazirmatn',Tahoma,sans-serif;font-size:9px;font-weight:800;fill:#1A1A18}


/* Radar is the single visual representation of the four result dimensions. */
.tool-body .kpi-grid, .tool-body .ind-section { display:none !important; }


/* Final result layout: Radar is the only visualization for execution dimensions. */
.tool-body .kpi-grid, .tool-body .ind-section {display:none!important}
.tool-body .radar-section {margin-top:14px;margin-bottom:14px}
.tool-body .radar-wrap {display:flex;justify-content:center;align-items:center;overflow:visible;min-height:320px}
.tool-body .radar-wrap .radar-svg {display:block;max-width:100%;height:auto}
.tool-body #action-kpis {display:grid !important;}


/* Separate section/page experience */
.tool-body .section-card {min-height:calc(100vh - 190px);display:none;flex-direction:column;justify-content:flex-start}
.tool-body .section-card.active {display:flex}
.tool-body #calc-form {display:block}
.tool-body .result {min-height:calc(100vh - 160px)}
.tool-body .page-section-break {page-break-before:always}
@media(max-width:600px) {
  .tool-body .section-card {min-height:calc(100vh - 175px)}
  .tool-body .result {min-height:calc(100vh - 145px)}
}

/* Product goals: explicit multi-select */
.tool-body .product-goals {display:flex!important;flex-direction:column!important;gap:8px!important}
.tool-body .product-goal-option {position:relative}
.tool-body .product-goal-option.selected {
  border-color:var(--green-light)!important;
  background:#EAF3DE!important;
  color:var(--green)!important;
}
.tool-body .product-goal-option.selected .option-bullet {
  background:var(--green)!important;
  border-color:var(--green)!important;
}
.tool-body .product-goal-option.selected .option-bullet::after {
  content:'✓'!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
}


/* Blue selected ellipse for product capability Yes/No */
.tool-body .capability-option.selected {
  border-color:#1976D2 !important;
  background:#EAF3FF !important;
  color:#1976D2 !important;
}
.tool-body .capability-option.selected .option-bullet {
  background:#1976D2 !important;
  border-color:#1976D2 !important;
}
.tool-body .capability-option.selected .option-bullet::after {
  content:'✓' !important;
  width:auto !important;
  height:auto !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:800 !important;
}


/* Full-view transitions: result is a separate screen, never appended below questions. */
.tool-body #calc-form[aria-hidden="true"] {display:none!important}
.tool-body #result[aria-hidden="true"] {display:none!important}
.tool-body #result.show[aria-hidden="false"] {display:block!important;min-height:100vh}
.tool-body.result-page .steps-nav, .tool-body.result-page .step-label, .tool-body.result-page #calc-form {display:none!important}
.tool-body.result-page #result {display:block!important;min-height:100vh}

/* Section 4: make every selected answer unmistakable */
.tool-body #step-3 .option.selected, .tool-body #step-3 .option[aria-selected="true"] {
  border-color:#1976D2 !important;
  background:#EAF3FF !important;
  color:#1976D2 !important;
  box-shadow:0 0 0 1px rgba(25,118,210,.12) !important;
}
.tool-body #step-3 .option.selected .option-bullet, .tool-body #step-3 .option[aria-selected="true"] .option-bullet {
  background:#1976D2 !important;
  border-color:#1976D2 !important;
}
.tool-body #step-3 .selection-check {display:none !important;color:#fff !important;font-size:12px !important;font-weight:800 !important;line-height:1 !important}
.tool-body #step-3 .option.selected .selection-check, .tool-body #step-3 .option[aria-selected="true"] .selection-check {display:inline-block !important}



.tool-body .q-card {background:#F8F9F6;border:1.5px solid var(--border);border-radius:var(--radius-lg);padding:16px;margin-bottom:1rem}
.tool-body .q-card .q-title {font-size:15px;font-weight:800;margin-bottom:5px}.tool-body .q-card .q-desc {font-size:12.5px;color:var(--text-secondary);line-height:1.8;margin-bottom:15px}
.tool-body .q-question {margin-bottom:18px}.tool-body .q-question:last-child {margin-bottom:2px}.tool-body .q-question-title {font-size:13.5px;font-weight:800;line-height:1.8;margin-bottom:10px}
.tool-body .option-grid {display:grid;grid-template-columns:1fr 1fr;gap:8px}.tool-body .option-grid .option {min-height:52px}
.tool-body .result-heading {margin-top:4px}.tool-body .result-intro {background:#F8F9F6;border:1px solid var(--border);border-radius:14px;padding:13px 15px;font-size:12.5px;color:var(--text-secondary);line-height:2;margin-bottom:14px}
.tool-body .result-summary {display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:16px}.tool-body .summary-card {border:1px solid var(--border);background:#fff;border-radius:14px;padding:13px;min-height:112px}.tool-body .summary-icon {width:34px;height:34px;border-radius:10px;background:#EEF4FB;color:#1976D2;display:flex;align-items:center;justify-content:center;margin-bottom:8px}.tool-body .summary-title {font-size:12.5px;font-weight:800}.tool-body .summary-status {font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:4px}
.tool-body .result-section {margin:0 0 16px}.tool-body .result-section-title {font-size:16px;font-weight:900;margin-bottom:8px}.tool-body .result-section-desc {font-size:12.5px;color:var(--text-secondary);line-height:1.9;margin-bottom:10px}
.tool-body .insight-card {background:#fff;border:1px solid var(--border);border-radius:14px;padding:15px;margin-bottom:9px}.tool-body .insight-card:last-child {margin-bottom:0}.tool-body .insight-head {display:flex;align-items:flex-start;gap:9px}.tool-body .insight-badge {font-size:12px;font-weight:800;line-height:1.7}.tool-body .insight-body {font-size:12.5px;line-height:2;margin-top:7px}.tool-body .insight-action {margin-top:9px;padding-top:9px;border-top:1px dashed #D9D9D4;font-size:12px;line-height:1.9;color:#3F3F3A}.tool-body .state-good {background:#EAF3DE;border-color:#C9DEAE}.tool-body .state-good .insight-badge {color:#27500A}.tool-body .state-warn {background:#FAEEDA;border-color:#E5D3A5}.tool-body .state-warn .insight-badge {color:#633806}.tool-body .state-danger {background:#FAECE7;border-color:#E6B7A7}.tool-body .state-danger .insight-badge {color:#712B13}.tool-body .state-info {background:#EEF4FB;border-color:#C8D9ED}.tool-body .state-info .insight-badge {color:#24527A}
.tool-body .factor-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.tool-body .factor-card {border:1px solid var(--border);border-radius:13px;padding:13px;background:#fff}.tool-body .factor-title {font-size:12.5px;font-weight:800;margin-bottom:5px}.tool-body .factor-score {font-size:18px;font-weight:900;color:#1976D2}.tool-body .factor-text {font-size:11.8px;color:var(--text-secondary);line-height:1.9;margin-top:5px}
.tool-body .gate-list, .tool-body .action-list, .tool-body .channel-role-list {display:flex;flex-direction:column;gap:9px}.tool-body .gate-card {border-radius:14px;padding:14px;border:1px solid}.tool-body .gate-card .gate-title {font-weight:900;font-size:13px}.tool-body .gate-card .gate-text, .tool-body .action-card .action-why, .tool-body .action-card .action-do {font-size:12.3px;line-height:2;margin-top:6px}
.tool-body .path-box {background:#F8F9F6;border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:12px}.tool-body .path-text {font-size:12.5px;line-height:2}.tool-body .role-block {border:1px solid var(--border);border-radius:14px;padding:14px;background:#fff;margin-bottom:10px}.tool-body .role-title {font-size:14px;font-weight:900;margin-bottom:8px}.tool-body .channel-cards {display:grid;grid-template-columns:1fr 1fr;gap:9px}.tool-body .channel-card {border:1px solid var(--border);border-radius:12px;padding:12px;background:#FAFAF8}.tool-body .channel-name {font-size:13px;font-weight:900}.tool-body .channel-fit {font-size:11.5px;color:#1976D2;margin-top:3px;font-weight:700}.tool-body .channel-meta {font-size:11.7px;line-height:1.9;color:var(--text-secondary);margin-top:5px}.tool-body .channel-meta b {color:#3F3F3A}.tool-body .status-pill {display:inline-flex;border-radius:999px;padding:3px 8px;font-size:10.5px;font-weight:800;margin-top:7px}.tool-body .pill-good {background:#EAF3DE;color:#27500A}.tool-body .pill-warn {background:#FAEEDA;color:#633806}.tool-body .pill-info {background:#E8F1FB;color:#24527A}.tool-body .pill-danger {background:#FAECE7;color:#712B13}.tool-body .pill-neutral {background:#F0F0EC;color:#5F5E5A}
.tool-body .action-card {border:1px solid var(--border);border-radius:14px;padding:14px;background:#fff}.tool-body .action-title {font-size:13.5px;font-weight:900}.tool-body .action-why {color:#5F5E5A}.tool-body .action-do {font-weight:600}.tool-body .no-action {background:#EAF3DE;border:1px solid #C9DEAE;border-radius:14px;padding:15px;color:#27500A;font-size:12.8px;font-weight:800;line-height:1.9}
.tool-body .current-grid {display:flex;flex-direction:column;gap:8px}.tool-body .current-item {border:1px solid var(--border);border-radius:12px;padding:11px 13px;background:#fff}.tool-body .current-name {font-weight:800;font-size:12.5px}.tool-body .current-reason {font-size:11.7px;color:var(--text-secondary);line-height:1.9;margin-top:4px}
.tool-body .result-actions {display:flex;gap:8px;margin-top:18px}.tool-body .result-actions .act-btn {flex:1}
@media(max-width:640px) {.tool-body .result-summary {grid-template-columns:1fr 1fr}.tool-body .factor-grid {grid-template-columns:1fr}.tool-body .channel-cards {grid-template-columns:1fr}.tool-body .option-grid {grid-template-columns:1fr}.tool-body .result-actions {flex-direction:column}}
