/* ═══════════════════════════════════════════════
   AUTHOR LAUNCHPAD WORKBOOK — WordPress CSS
   Scoped under .al-workbook to avoid conflicts
   ═══════════════════════════════════════════════ */

.al-workbook * { box-sizing: border-box; margin: 0; padding: 0; }

.al-workbook {
  font-family: 'Segoe UI', Arial, sans-serif;
  max-width: 780px;
  margin: 0 auto;
  background: #FDF6EC;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(44,26,14,0.12);
}

/* ── HEADER ── */
.al-header {
  background: #2C1A0E;
  padding: 20px 24px;
  text-align: center;
  border-bottom: 4px solid #C9943A;
}
.al-header h2 {
  color: #C9943A !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  margin: 0 0 4px !important;
}
.al-header p {
  color: #F5DFA8;
  font-size: 13px;
  margin: 0 !important;
}

/* ── PROGRESS ── */
.al-progress-wrap {
  background: #2C1A0E;
  padding: 8px 20px 14px;
}
.al-progress-bar {
  height: 6px;
  background: #5C3D1E;
  border-radius: 3px;
}
.al-progress-fill {
  height: 6px;
  background: #C9943A;
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0%;
}
.al-progress-text {
  color: #F5DFA8;
  font-size: 11px;
  text-align: right;
  margin-top: 5px;
}

/* ── STEP NAV ── */
.al-step-nav {
  background: #3D2512;
  padding: 10px 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid #5C3D1E;
}
.al-step-btn {
  padding: 5px 10px;
  font-size: 11px;
  border: 1px solid #5C3D1E;
  border-radius: 20px;
  background: transparent;
  color: #B8A898;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.al-step-btn.active {
  background: #C9943A;
  border-color: #C9943A;
  color: #2C1A0E;
  font-weight: 700;
}
.al-step-btn.done {
  border-color: #C9943A;
  color: #C9943A;
}

/* ── MAIN BODY ── */
.al-main {
  padding: 20px 20px 40px;
  background: #FDF6EC;
}

/* ── CARDS ── */
.al-card {
  background: #fff;
  border: 1px solid #E8D5B0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(44,26,14,0.06);
}
.al-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F5DFA8;
}
.al-card h2 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #2C1A0E !important;
  margin: 0 !important;
}
.al-card h3 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #3D2512 !important;
  margin: 0 0 10px !important;
}

/* ── BADGES ── */
.al-mine-badge {
  background: #2C1A0E;
  color: #C9943A;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.al-step-badge {
  background: #C9943A;
  color: #2C1A0E;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── QUOTE BOX ── */
.al-quote {
  background: #FDF6EC;
  border-left: 4px solid #C9943A;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #5C3D1E;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ── FORM ELEMENTS ── */
.al-workbook label {
  font-size: 13px;
  color: #5C3D1E;
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.al-workbook textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1.5px solid #E8D5B0 !important;
  border-radius: 8px !important;
  background: #FFFEF9 !important;
  color: #1A1A1A !important;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.2s;
  box-shadow: none !important;
}
.al-workbook textarea:focus {
  outline: none;
  border-color: #C9943A !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(201,148,58,0.12) !important;
}
.al-workbook input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1.5px solid #E8D5B0 !important;
  border-radius: 8px !important;
  background: #FFFEF9 !important;
  color: #1A1A1A !important;
  font-family: inherit;
  transition: border-color 0.2s;
  box-shadow: none !important;
  height: auto !important;
}
.al-workbook input[type="text"]:focus {
  outline: none;
  border-color: #C9943A !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(201,148,58,0.12) !important;
}

/* ── INSIGHT BOX ── */
.al-insight-box {
  background: #FDF6EC;
  border: 1.5px solid #C9943A;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
}
.al-insight-box h4 {
  font-size: 11px !important;
  color: #C9943A !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  margin: 0 0 6px !important;
  text-transform: uppercase;
}
.al-insight-text {
  font-size: 14px;
  color: #2C1A0E;
  line-height: 1.7;
  min-height: 22px;
}
.al-highlight { color: #C9943A; font-weight: 700; }

/* ── LAYOUT HELPERS ── */
.al-row-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.al-row-num {
  width: 30px;
  height: 30px;
  background: #C9943A;
  color: #2C1A0E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.al-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.al-col3 {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.al-section-label {
  font-size: 11px;
  color: #C9943A;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.al-divider {
  border: none;
  border-top: 1px solid #E8D5B0;
  margin: 16px 0;
}
.al-summary-block {
  border-left: 4px solid #C9943A;
  padding: 8px 12px;
  background: #FDF6EC;
  border-radius: 0 8px 8px 0;
  margin-bottom: 8px;
  font-size: 13px;
  color: #3D2512;
  line-height: 1.6;
}

/* ── TOC ROW ── */
.al-toc-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.al-toc-circle {
  width: 32px;
  height: 32px;
  border: 2px solid #C9943A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #C9943A;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── WORD COUNT ── */
.al-wc-bar {
  height: 5px;
  background: #E8D5B0;
  border-radius: 3px;
  margin-top: 8px;
}
.al-wc-fill {
  height: 5px;
  border-radius: 3px;
  transition: width 0.3s, background 0.3s;
}
.al-wc-info {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 12px;
  color: #888;
}

/* ── BUTTONS ── */
.al-nav-btns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: space-between;
}
.al-btn {
  padding: 10px 22px;
  font-size: 14px;
  border: 1.5px solid #C9943A !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #C9943A !important;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: none !important;
  text-decoration: none !important;
}
.al-btn:hover {
  background: #FDF6EC !important;
  color: #C9943A !important;
}
.al-btn-gold {
  background: #C9943A !important;
  color: #2C1A0E !important;
  border-color: #C9943A !important;
}
.al-btn-gold:hover {
  background: #B8832A !important;
  color: #2C1A0E !important;
}

/* ── RESULT PAGE ── */
.al-result-page {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #C9943A;
  overflow: hidden;
  margin-bottom: 20px;
}
.al-result-header {
  background: #2C1A0E;
  padding: 24px;
  text-align: center;
}
.al-result-header h2 {
  color: #C9943A !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
}
.al-result-header p {
  color: #F5DFA8;
  font-size: 13px;
  margin: 0 !important;
}
.al-result-body { padding: 20px 24px; }
.al-result-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F5DFA8;
}
.al-result-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.al-result-label {
  font-size: 11px;
  color: #C9943A;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.al-result-value {
  font-size: 15px;
  color: #1A1A1A;
  line-height: 1.7;
  background: #FDF6EC;
  border-radius: 8px;
  padding: 12px;
}
.al-result-one-line {
  font-size: 16px;
  color: #2C1A0E;
  font-weight: 600;
  line-height: 1.7;
  background: #FDF6EC;
  border-radius: 8px;
  padding: 14px;
  border-left: 4px solid #C9943A;
}
.al-toc-result-item {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.al-toc-result-item:nth-child(odd) { background: #FDF6EC; }
.al-toc-result-item:nth-child(even) { background: #fff; border: 1px solid #F5DFA8; }
.al-toc-num-r { color: #C9943A; font-weight: 700; min-width: 40px; font-size: 13px; }
.al-transformation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.al-before-box { background: #FCEBEB; border-radius: 8px; padding: 12px; }
.al-after-box  { background: #EAF3DE; border-radius: 8px; padding: 12px; }
.al-trans-label { font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.al-before-box .al-trans-label { color: #A32D2D; }
.al-after-box  .al-trans-label { color: #3B6D11; }
.al-trans-item { font-size: 13px; color: #1A1A1A; padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.06); line-height: 1.5; }
.al-expertise-tag {
  display: inline-block;
  background: #2C1A0E;
  color: #C9943A;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px;
}

/* ── DOWNLOAD SECTION ── */
.al-dl-section {
  background: #2C1A0E;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.al-dl-section h3 {
  color: #C9943A !important;
  font-size: 16px !important;
  margin: 0 0 6px !important;
}
.al-dl-section p {
  color: #F5DFA8;
  font-size: 13px;
  margin: 0 0 16px !important;
  line-height: 1.6;
}
.al-dl-btns { display: flex; flex-direction: column; gap: 10px; }
.al-dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  border: none !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
  box-shadow: none !important;
}
.al-dl-btn-pdf { background: #C9943A !important; color: #2C1A0E !important; }
.al-dl-btn-pdf:hover { background: #B8832A !important; }
.al-dl-btn-txt { background: #5C3D1E !important; color: #F5DFA8 !important; }
.al-dl-btn-txt:hover { background: #3D2512 !important; }
.al-dl-btn-copy { background: #3D2512 !important; color: #F5DFA8 !important; border: 1px solid #5C3D1E !important; }
.al-dl-btn-copy:hover { background: #2C1A0E !important; }
.al-dl-icon { font-size: 22px; flex-shrink: 0; }
.al-dl-info { flex: 1; }
.al-dl-info span { display: block; font-size: 12px; font-weight: 400; opacity: 0.8; margin-top: 2px; }
.al-success-msg {
  background: #EAF3DE;
  border: 1px solid #97C459;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  color: #27500A;
  text-align: center;
  margin-top: 10px;
  display: none;
}

/* ── INTRO SCREEN ── */
.al-intro-screen { text-align: center; padding: 30px 16px; }
.al-intro-screen h2 {
  font-size: 24px !important;
  color: #2C1A0E !important;
  margin: 0 0 10px !important;
}
.al-intro-screen p {
  font-size: 15px;
  color: #5C3D1E;
  margin: 0 0 20px !important;
  line-height: 1.7;
}
.al-intro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.al-intro-badge {
  background: #2C1A0E;
  color: #C9943A;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .al-two-col { grid-template-columns: 1fr; }
  .al-col3    { grid-template-columns: 1fr; }
  .al-transformation { grid-template-columns: 1fr; }
  .al-main { padding: 14px 12px 40px; }
  .al-card { padding: 14px; }
}
