/* ── Business Strategy Builder — strategy.css ──────────────────────────── */

.strat-intro p { font-size: 14px; color: #555; line-height: 1.6; margin: 0 0 16px; }

/* Progress */
.strat-progress { padding: 14px 20px 0; }
.strat-progress-inner { display: flex; align-items: center; }
.strat-step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; }
.strat-step-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: #e2e8f0; color: #999;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.strat-step--active .strat-step-dot { background: #1F3A5F; color: #fff; }
.strat-step--done   .strat-step-dot { background: #27AE60; color: #fff; }
.strat-step-label { font-size: 10px; color: #888; font-weight: 600; text-align: center; }
.strat-step--active .strat-step-label { color: #1F3A5F; }
.strat-step--done   .strat-step-label { color: #27AE60; }
.strat-step-line { flex: 1; height: 2px; background: #e2e8f0; margin-bottom: 18px; }

/* Section title */
.strat-section-title {
  font-size: 13px; font-weight: 700; color: #1F3A5F;
  border-left: 3px solid #E8532A; padding-left: 8px; margin: 0 0 12px;
}

/* Fields */
.strat-fields { display: flex; flex-direction: column; gap: 12px; }
.strat-field  { display: flex; flex-direction: column; gap: 4px; }
.strat-label  { font-size: 13px; font-weight: 600; color: #333; }
.strat-input  {
  padding: 9px 12px; border: 1.5px solid #d0d5dd;
  border-radius: 8px; font-family: inherit; font-size: 13px;
  transition: border-color 0.15s;
}
.strat-input:focus  { outline: none; border-color: #1F3A5F; }
.strat-textarea     { resize: vertical; min-height: 68px; }

/* Sector grid */
.strat-sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }
.strat-sector-card {
  padding: 10px 12px; background: #f8f9fb;
  border: 1.5px solid #e2e8f0; border-radius: 7px;
  cursor: pointer; font-size: 12px; font-weight: 600; color: #333; text-align: left;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.strat-sector-card:hover, .strat-sector-card.strat-sector--active {
  border-color: #1F3A5F; background: #1F3A5F; color: #fff;
}

/* Horizon */
.strat-horizon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.strat-horizon-card {
  padding: 12px; background: #f8f9fb;
  border: 2px solid #e2e8f0; border-radius: 8px;
  cursor: pointer; text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.strat-horizon-card:hover, .strat-horizon-card.strat-horizon--active { border-color: #1F3A5F; background: #EEF4FA; }
.strat-horizon-label { font-size: 15px; font-weight: 700; color: #1F3A5F; margin-bottom: 4px; }
.strat-horizon-desc  { font-size: 10px; color: #666; line-height: 1.3; }

/* MVV guide cards */
.strat-mvv-guide { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.strat-mvv-card  { border-radius: 8px; padding: 12px 14px; border-left: 4px solid; }
.strat-mvv-mission { background: #EEF4FA; border-left-color: #1F3A5F; }
.strat-mvv-vision  { background: #F0FFF4; border-left-color: #27AE60; }
.strat-mvv-values  { background: #FFF8F0; border-left-color: #E67E22; }
.strat-mvv-badge   { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #1F3A5F; margin-bottom: 4px; }
.strat-mvv-badge--vision { color: #27AE60; }
.strat-mvv-badge--values { color: #E67E22; }
.strat-mvv-def { font-size: 12px; color: #333; margin-bottom: 5px; }
.strat-mvv-eg  { font-size: 11px; color: #888; font-style: italic; }
.strat-mvv-tip {
  background: #EEF4FA; border-left: 3px solid #1F3A5F; border-radius: 6px;
  padding: 10px 14px; font-size: 12px; color: #444; margin-top: 14px;
}

/* SWOT grid */
.strat-swot-intro p { font-size: 13px; color: #555; margin: 0 0 12px; }
.strat-swot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.strat-swot-cell { border-radius: 8px; padding: 12px; border: 1.5px solid #e2e8f0; }
.strat-swot-s { background: #F0FFF4; border-color: #27AE60; }
.strat-swot-w { background: #FFF0EE; border-color: #C0392B; }
.strat-swot-o { background: #EEF4FA; border-color: #1F3A5F; }
.strat-swot-t { background: #FFF8F0; border-color: #E67E22; }
.strat-swot-label { font-size: 12px; font-weight: 700; color: #333; margin-bottom: 6px; }
.strat-swot-hint  { font-size: 10px; color: #888; margin-bottom: 6px; }
.strat-swot-input {
  width: 100%; box-sizing: border-box;
  padding: 8px 10px; border: 1.5px solid #d0d5dd;
  border-radius: 7px; font-family: inherit; font-size: 12px; background: #fff;
  resize: vertical; transition: border-color 0.15s;
}
.strat-swot-input:focus { outline: none; border-color: #1F3A5F; }

/* Theme grid */
.strat-theme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.strat-theme-card {
  padding: 10px 12px; background: #f8f9fb;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  cursor: pointer; text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.strat-theme-card:hover, .strat-theme-card.strat-theme--active { border-color: #1F3A5F; background: #EEF4FA; }
.strat-theme-label { font-size: 12px; font-weight: 700; color: #1F3A5F; margin-bottom: 3px; }
.strat-theme-hint  { font-size: 10px; color: #666; }

/* Info box */
.strat-info-box {
  background: #EEF4FA; border-left: 3px solid #1F3A5F;
  border-radius: 6px; padding: 10px 14px;
  font-size: 12px; color: #444; line-height: 1.7; margin: 14px 0;
}

/* Error */
.strat-error {
  background: #FFF0EE; border: 1px solid #FCCCC7;
  border-radius: 6px; color: #C0392B;
  font-size: 13px; padding: 10px 12px; margin-top: 8px;
}

/* Nav row */
.strat-nav-row {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 20px; padding-top: 14px; border-top: 1px solid #eee;
}

/* Spinner */
.strat-spinner {
  width: 44px; height: 44px; border: 4px solid #e2e8f0;
  border-top-color: #1F3A5F; border-radius: 50%;
  animation: strat-spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes strat-spin { to { transform: rotate(360deg); } }
.strat-loading-sub { font-size: 12px; color: #888; margin-top: 4px; }

/* Result */
.strat-result { padding: 4px 0 20px; }
.strat-result-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 2px solid #1F3A5F; padding-bottom: 12px; margin-bottom: 16px;
  flex-wrap: wrap; gap: 8px;
}
.strat-result-company { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; font-weight: 600; }
.strat-result-title   { font-size: 18px; font-weight: 700; color: #1F3A5F; line-height: 1.2; }
.strat-result-sub     { font-size: 11px; color: #888; margin-top: 3px; }
.strat-result-meta    { font-size: 12px; color: #555; text-align: right; line-height: 2; }

.strat-result-section { margin: 16px 0; }
.strat-result-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #1F3A5F; border-left: 3px solid #1F3A5F; padding-left: 8px; margin-bottom: 10px;
}
.strat-label--orange { border-left-color: #E67E22; color: #E67E22; }
.strat-label--green  { border-left-color: #27AE60; color: #27AE60; }

.strat-result-content { font-size: 13px; color: #333; line-height: 1.6; }
.strat-narrative { font-size: 13px; color: #333; line-height: 1.7; margin: 0; }

/* MVV result */
.strat-mvv-result { display: flex; flex-direction: column; gap: 8px; }
.strat-mvv-result-block { border-radius: 8px; padding: 12px 14px; border-left: 4px solid; }
.strat-mvv-m    { background: #EEF4FA; border-left-color: #1F3A5F; }
.strat-mvv-v    { background: #F0FFF4; border-left-color: #27AE60; }
.strat-mvv-vals { background: #FFF8F0; border-left-color: #E67E22; }
.strat-mvv-result-block p { font-size: 13px; color: #333; margin: 0; line-height: 1.6; }
.strat-mvv-result-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #1F3A5F; margin-bottom: 5px; }
.strat-tag-vision { color: #27AE60; }
.strat-tag-values { color: #E67E22; }
.strat-values-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.strat-value-chip {
  background: #fff; border: 1.5px solid #E67E22; border-radius: 16px;
  color: #E67E22; font-size: 11px; font-weight: 700; padding: 3px 10px;
}

/* SWOT result */
.strat-swot-result { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.strat-swot-result-cell { border-radius: 8px; padding: 12px; border-top: 3px solid; }
.strat-swot-result-label { font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.strat-swot-insight {
  font-size: 12px; color: #555; font-style: italic;
  background: #f8f9fb; border-radius: 6px; padding: 8px 12px; margin-top: 6px;
}
.strat-ul { margin: 0; padding-left: 16px; }
.strat-ul li { font-size: 12px; color: #333; line-height: 1.6; margin-bottom: 3px; }

/* Pillars */
.strat-pillars { display: flex; flex-direction: column; gap: 14px; }
.strat-pillar-card {
  border: 1.5px solid #e2e8f0; border-left: 4px solid; border-radius: 8px; padding: 14px;
}
.strat-pillar-header {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; margin-bottom: 6px;
}
.strat-pillar-num {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  color: #fff; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.strat-pillar-desc { font-size: 12px; color: #555; margin: 0 0 10px; line-height: 1.5; }
.strat-objectives-list { display: flex; flex-direction: column; gap: 8px; }
.strat-objective {
  background: #f8f9fb; border-radius: 6px; padding: 10px 12px;
  border-left: 2px solid #e2e8f0;
}
.strat-obj-title  { font-size: 13px; font-weight: 600; color: #222; margin-bottom: 5px; }
.strat-obj-kpi, .strat-obj-target, .strat-obj-owner { font-size: 11px; color: #555; margin-bottom: 2px; }

/* Roadmap */
.strat-roadmap-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.strat-roadmap-table th, .strat-roadmap-table td { border: 1px solid #d0d5dd; padding: 7px 9px; }
.strat-roadmap-table th { background: #EEF4FA; font-weight: 600; color: #1F3A5F; }

/* F4N box */
.strat-f4n-box {
  background: #EEF4FA; border: 1.5px solid #1F3A5F; border-radius: 8px;
  padding: 12px 14px; margin: 14px 0;
}
.strat-f4n-label { font-size: 12px; font-weight: 700; color: #1F3A5F; margin-bottom: 6px; }
.strat-f4n-box p { font-size: 12px; color: #444; margin: 0; line-height: 1.6; }

/* Sign-off */
.strat-signoff { margin-top: 18px; }
.strat-signoff-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.strat-signoff-table th, .strat-signoff-table td { border: 1px solid #ccc; padding: 8px 10px; }
.strat-signoff-table th { background: #EEF4FA; font-weight: 600; color: #1F3A5F; }

/* Footer */
.strat-result-footer {
  margin-top: 16px; text-align: center; font-size: 11px; color: #bbb;
  border-top: 1px solid #eee; padding-top: 10px;
}

/* Action row */
.strat-action-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee;
}
