﻿:root {
  --bg: #FAFAF8;
  --panel: #FFFFFFFFF;
  --panel-2: #f3f4f6;
  --border: #E8E0D8;
  --text: #1A1A1A;
  --muted: #6B6459;
  --accent: #E8642A;
  --accent-2: #C44E1A;
  --green: #10b981;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.site-header {
  text-align: center;
  padding: 28px 20px 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo {
  color: var(--accent);
  font-size: 22px;
}

.tagline {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
}

/* ====== MAIN NAV WITH DROPDOWNS ====== */
.main-nav {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 56px;
}
.nav-home-btn {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 6px 10px; border-radius: 8px;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-home-btn:hover { background: var(--panel-2); color: var(--text); }
.nav-brand-btn {
  background: none;
  border: none;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 0;
  white-space: nowrap;
  margin-right: 8px;
  letter-spacing: -0.02em;
}
.nav-brand-btn .logo { color: var(--accent); }

.nav-groups {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* Group button */
.nav-group { position: relative; }
.nav-group-btn {
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-group-btn:hover { color: var(--text); }
.nav-group-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav-group.open .nav-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px;
  z-index: 200;
  animation: dropdownIn 0.15s ease;
}
.nav-group.open .nav-dropdown { display: block; }
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown items */
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}
.nav-item:hover { background: var(--panel-2); }
.nav-item.active { background: rgba(232,100,42,0.08); }
.nav-item.active .ni-text strong { color: var(--accent); }
.ni-icon { font-size: 20px; flex-shrink: 0; }
.ni-text { display: flex; flex-direction: column; gap: 1px; }
.ni-text strong { font-size: 13.5px; font-weight: 700; color: var(--text); }
.ni-text span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }

/* TAB CONTENT */
.tab-content {
  display: none;
  min-height: 60vh;
}
.tab-content.active {
  display: block;
  animation: tabFadeIn 0.22s ease;
}

/* ====== MOBILE DRAWER ====== */
.drawer-group { margin-bottom: 4px; }
.drawer-group-label {
  padding: 10px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.drawer-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 11px 20px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.12s, border-color 0.12s;
}
.drawer-item:hover { background: var(--panel-2); }
.drawer-item.active {
  color: var(--accent);
  font-weight: 700;
  border-left-color: var(--accent);
  background: rgba(232,100,42,0.06);
}

/* LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 22px;
  align-items: start;
}

@media (max-width: 880px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* PANELS */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

/* FIELDS */
.field {
  display: block;
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.field-label em {
  color: var(--accent);
  font-style: normal;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.small {
  font-size: 12.5px;
}

/* INPUTS */
textarea,
.text-input {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea:focus,
.text-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 100, 42, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.select {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 100, 42, 0.15);
}

/* DROPZONE — compact label, single click, no double-open */
.dropzone-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  background: var(--panel-2);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  margin-bottom: 8px;
  user-select: none;
}
.dropzone-label:hover, .dropzone-label.dragover {
  border-color: var(--accent);
  background: rgba(232,100,42,0.06);
  color: var(--accent);
}
.dropzone-label input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dz-icon { font-size: 16px; flex-shrink: 0; }
.dz-text { font-size: 13px; line-height: 1.3; }

.file-status {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 12.5px;
}

.file-status.ok {
  color: var(--green);
}

.file-status.err {
  color: var(--red);
}

.file-status.loading-text {
  color: var(--muted);
}

/* BUTTONS */
.primary-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  transition: transform 0.08s, opacity 0.15s;
}

.primary-btn:hover {
  opacity: 0.93;
}

.primary-btn:active {
  transform: translateY(1px);
}

.primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.action-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.08s;
  flex: 1;
  min-width: 120px;
}

.action-btn:hover {
  opacity: 0.9;
}

.action-btn:active {
  transform: translateY(1px);
}

.error {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 13.5px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
}

/* RESULTS */
.empty-state,
.loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.empty-state p {
  margin: 4px 0;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* RESULT BLOCKS */
.result-block {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.result-block:first-child {
  border-top: none;
  padding-top: 0;
}

.block-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.score-block {
  display: flex;
  gap: 20px;
  align-items: center;
}

.score-ring {
  --val: 0;
  position: relative;
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(closest-side, var(--panel) 71%, transparent 72%),
    conic-gradient(var(--accent) calc(var(--val) * 1%), var(--border) 0);
}

.score-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.score-max {
  font-size: 12px;
  color: var(--muted);
}

.score-meta h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.score-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.score-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--muted);
}
.score-badge strong { color: var(--text); }
.interview-high strong, .interview-very-high strong { color: var(--green); }
.interview-low strong { color: var(--red); }
.interview-medium strong { color: var(--amber); }

.kw.gap {
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.3);
  color: var(--red);
}

.ranking {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--green);
  font-size: 15px;
}

.rationale {
  margin: 0;
  font-size: 13.5px;
}

/* BULLET LISTS */
.bullet-list {
  margin: 0;
  padding-left: 20px;
}

.bullet-list li {
  margin-bottom: 7px;
  font-size: 14px;
}

.steps-list {
  margin: 0;
  padding-left: 22px;
}

.steps-list li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}

/* SECTIONS ANALYSIS */
.sections-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
}

.section-card.critical {
  border-left-color: var(--red);
}

.section-card.high {
  border-left-color: var(--amber);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
}

.impact-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
}

.impact-badge.critical {
  background: rgba(239, 68, 68, 0.18);
  color: var(--red);
}

.impact-badge.high {
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber);
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-content p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.5;
}

/* FOCUS AREAS */
.focus-areas-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.focus-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 13px 15px;
}

.focus-card.critical {
  border-left-color: var(--red);
}

.focus-card.important {
  border-left-color: var(--amber);
}

.focus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.focus-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.urgency-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--border);
  color: var(--muted);
}

.urgency-badge.critical {
  background: rgba(239, 68, 68, 0.18);
  color: var(--red);
}

.urgency-badge.important {
  background: rgba(245, 158, 11, 0.18);
  color: var(--amber);
}

.focus-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.focus-why,
.focus-how {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

/* KEYWORDS */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.kw {
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.kw.present {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
}

.kw .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* REVISED RESUME */
.revised-resume-block {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), rgba(232, 100, 42, 0.07));
  border: 1px solid rgba(232, 100, 42, 0.3);
}

.revised-resume-text {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-family: "Courier New", monospace;
  line-height: 1.6;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: var(--text);
  max-height: 600px;
  overflow-y: auto;
}

.revised-resume-text p {
  margin: 0 0 8px;
  padding: 0;
}

.resume-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* JOB SEARCH */
.job-search-panel {
  max-width: 800px;
  margin: 28px auto;
}

.job-search-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

@media (max-width: 680px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.job-results {
  margin-top: 20px;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-card {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.job-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(232, 100, 42, 0.12);
  background: rgba(232, 100, 42, 0.03);
}

.job-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.1s;
}

.job-favorite:hover {
  opacity: 1;
}

.job-favorite.saved {
  opacity: 1;
}

.job-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.job-company {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 600;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.job-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(232, 100, 42, 0.12);
  color: var(--accent);
}

.job-location {
  font-size: 13px;
  color: var(--muted);
}

.job-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

/* PROMPTS */
.prompts-panel {
  max-width: 1000px;
  margin: 28px auto;
}

.prompts-search {
  margin-bottom: 24px;
}

.prompts-container {
  display: grid;
  gap: 24px;
}

.prompt-section h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}

.prompt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.prompt-card-item {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-card-item h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.prompt-card-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.copy-prompt-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.copy-prompt-btn:hover {
  opacity: 0.9;
}

/* LINKEDIN OPTIMIZER */
.linkedin-panel {
  max-width: 1000px;
  margin: 28px auto;
}

.linkedin-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.linkedin-item {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.linkedin-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.linkedin-item p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.optimize-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.optimize-btn:hover {
  opacity: 0.9;
}

.prompt-output {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
}

#linkedinPromptText,
#postPromptText {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* CAREER POSTS */
.posts-panel {
  max-width: 900px;
  margin: 28px auto;
}

.post-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.post-type-item {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.post-type-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.post-type-item p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.post-prompt-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.post-prompt-btn:hover {
  opacity: 0.9;
}

.tips {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-top: 20px;
}

.tips h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.tips ul {
  margin: 0;
  padding-left: 20px;
}

.tips li {
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text);
}

/* ANALYTICS */
.analytics-panel {
  max-width: 1200px;
  margin: 28px auto;
}

.analytics-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.analytics-card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.analytics-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.metric:last-child {
  border-bottom: none;
}

.metric .label {
  font-size: 13px;
  color: var(--muted);
}

.metric .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.gaps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 13px;
}

.gap-item.critical {
  border-left: 3px solid var(--red);
}

.gap-item.important {
  border-left: 3px solid var(--amber);
}

.keyword-stats {
  display: flex;
  gap: 12px;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 8px;
  background: var(--bg);
  border-radius: 6px;
}

.stat span:first-child {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
}

.action-list {
  margin: 0;
  padding-left: 20px;
}

.action-list li {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text);
}

/* INTERVIEW PREP */
.interview-panel { max-width: 900px; margin: 28px auto; }
.interview-setup { margin-bottom: 24px; }
.interview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.interview-header h3 { margin: 0; font-size: 17px; }
.secondary-btn { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--accent); transition: background 0.15s; }
.secondary-btn:hover { background: var(--border); }
.questions-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.question-section { display: flex; flex-direction: column; gap: 10px; }
.q-section-title { margin: 8px 0 4px; font-size: 15px; font-weight: 700; color: var(--accent); }
.question-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.q-header { padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.q-text { margin: 0; font-size: 14.5px; font-weight: 600; flex: 1; line-height: 1.4; }
.q-toggle { background: var(--accent); color: white; border: none; border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.q-answer { padding: 0 16px 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.q-answer.hidden { display: none; }
.q-block { display: flex; flex-direction: column; gap: 4px; }
.q-block strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.q-block p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.q-block.highlight { background: rgba(232,100,42,0.06); border-left: 3px solid var(--accent); padding: 10px 12px; border-radius: 6px; }
.q-block.warning { background: rgba(245,158,11,0.06); border-left: 3px solid var(--amber); padding: 10px 12px; border-radius: 6px; }
.company-research, .closing-advice { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.company-research h4, .closing-advice h4 { margin: 0 0 8px; font-size: 14px; }
.company-research p, .closing-advice p { margin: 0; font-size: 13.5px; color: var(--text); line-height: 1.5; }
.interview-tips { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.interview-tips h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tip-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.tip-card h4 { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.tip-card p, .tip-card ul { margin: 0; font-size: 13px; color: var(--text); line-height: 1.6; }
.tip-card ul { padding-left: 16px; }
.tip-card li { margin-bottom: 4px; }

/* COVER LETTER */
.cover-letter-panel { max-width: 900px; margin: 28px auto; }
.cover-letter-form { display: flex; flex-direction: column; gap: 14px; }
.tone-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tone-btn { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); transition: all 0.15s; }
.tone-btn:hover { border-color: var(--accent); color: var(--accent); }
.tone-btn.active { background: var(--accent); border-color: var(--accent); color: white; }
.cl-result { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cl-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--panel); }
.cl-header h3 { margin: 0; font-size: 15px; }
.cl-actions { display: flex; gap: 8px; }
.cl-actions .action-btn { flex: none; min-width: auto; padding: 7px 12px; font-size: 12px; }
.cl-text { padding: 20px; font-size: 14px; line-height: 1.7; }
.cl-text p { margin: 0 0 12px; }
.cl-tips { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.cl-tips h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.cl-tips ul { margin: 0; padding-left: 20px; }
.cl-tips li { font-size: 13px; margin-bottom: 6px; color: var(--text); }

/* SALARY INTEL */
.salary-panel { max-width: 900px; margin: 28px auto; }
.salary-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.salary-results { display: flex; flex-direction: column; gap: 20px; }
.salary-range-card { background: linear-gradient(135deg, rgba(232,100,42,0.08), rgba(196,78,26,0.08)); border: 1px solid rgba(232,100,42,0.3); border-radius: 14px; padding: 24px; }
.salary-range { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.range-item { text-align: center; }
.range-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.range-value { display: block; font-size: 28px; font-weight: 800; }
.range-item.low .range-value { color: var(--amber); }
.range-item.mid .range-value { color: var(--accent); font-size: 36px; }
.range-item.high .range-value { color: var(--green); }
.salary-context { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.salary-breakdown h3, .negotiation-tips h3, .salary-skills h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; }
.breakdown-row { display: grid; grid-template-columns: 160px 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; font-size: 13.5px; }
.breakdown-row:last-child { border-bottom: none; }
.comp-name { font-weight: 600; }
.comp-range { color: var(--accent); font-weight: 700; }
.neg-tip { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.neg-tip:last-child { border-bottom: none; }
.tip-dot { color: var(--accent); font-weight: 700; }
.market-trend { margin-top: 16px; font-size: 13.5px; }
.trend-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.trend-badge.growing { background: rgba(16,185,129,0.15); color: var(--green); }
.trend-badge.stable { background: rgba(232,100,42,0.15); color: var(--accent); }
.trend-badge.declining { background: rgba(239,68,68,0.15); color: var(--red); }

/* ====== HERO ====== */
.hero {
  background: linear-gradient(135deg, #FFF3E8 0%, #FFF3E8 50%, #f0fdf4 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px 48px;
  text-align: center;
}
.hero-content { max-width: 700px; margin: 0 auto 36px; }
.hero-badge {
  display: inline-block;
  background: rgba(232,100,42,0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(232,100,42,0.25);
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--text);
}
@media (max-width: 600px) { .hero-title { font-size: 28px; } }
.hero-highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 28px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}
.hero-stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.hero-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.08s;
  box-shadow: 0 4px 20px rgba(232,100,42,0.35);
}
.hero-cta:hover { opacity: 0.93; transform: translateY(-1px); }
.hero-cta:active { transform: translateY(1px); }
.hero-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.hero-feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ====== USAGE BAR ====== */
.usage-bar {
  background: #fefce8;
  border-bottom: 1px solid #fde68a;
  padding: 10px 20px;
}
.usage-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}
.upgrade-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.upgrade-link:hover { text-decoration: underline; }

/* ====== APP HEADER ====== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-usage { font-size: 13px; color: var(--muted); font-weight: 500; }
.upgrade-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.upgrade-btn:hover { opacity: 0.9; }

/* ====== MODALS ====== */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal {
  background: var(--panel);
  border-radius: 18px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-icon { font-size: 40px; margin-bottom: 12px; }
.modal h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.modal p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.email-form { display: flex; flex-direction: column; gap: 10px; }
.skip-link {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  margin-top: 10px;
}
.skip-link:hover { color: var(--text); }

/* ====== PRICING ====== */
.upgrade-modal { max-width: 680px; }
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
  text-align: left;
}
@media (max-width: 540px) { .pricing-cards { grid-template-columns: 1fr; } }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.pricing-card.pro {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(232,100,42,0.2);
}
.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.price { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.pricing-card ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.pricing-card li { font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.pricing-card li:last-child { border: none; }
.current-plan {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  padding: 8px;
  background: var(--panel-2);
  border-radius: 8px;
}
.pricing-note { font-size: 12px; color: var(--muted); margin: 0; }

/* tagline below brand for old references */
.tagline { color: var(--muted); margin: 0; font-size: 13px; }

/* ====== DAILY TIP BAR ====== */
.daily-tip-bar {
  background: linear-gradient(135deg, rgba(232,100,42,0.08), rgba(196,78,26,0.08));
  border-bottom: 1px solid rgba(232,100,42,0.15);
  padding: 10px 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
}
.tip-label { font-weight: 700; color: var(--accent); white-space: nowrap; }
.tip-text { color: var(--text); line-height: 1.4; }

/* ====== APPLICATION TRACKER ====== */
.tracker-panel { max-width: 1400px; margin: 28px auto; }
.tracker-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.tracker-header .panel-title { margin-bottom: 2px; }
.add-job-btn { width: auto; padding: 10px 20px; }
.tracker-stats { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.tracker-stat { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; text-align: center; min-width: 90px; }
.tracker-stat span { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.tracker-stat small { font-size: 12px; color: var(--muted); }
.tracker-stat.accent span { color: var(--green); }

.kanban-board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 16px; }
.kanban-col { flex: 0 0 200px; min-width: 200px; }
.kanban-col-header { font-size: 13px; font-weight: 700; padding: 8px 0; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 10px; }
.col-count { margin-left: auto; background: var(--border); color: var(--muted); font-size: 11px; padding: 1px 6px; border-radius: 999px; }
.col-dot { width: 8px; height: 8px; border-radius: 50%; }
.col-dot.saved { background: var(--muted); }
.col-dot.applied { background: var(--accent); }
.col-dot.phone { background: #8b5cf6; }
.col-dot.interview { background: var(--amber); }
.col-dot.offer { background: var(--green); }
.col-dot.rejected { background: var(--red); }

.kanban-cards { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.kanban-card { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px; box-shadow: var(--shadow); }
.kc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.kc-title { font-size: 13.5px; font-weight: 700; flex: 1; line-height: 1.3; }
.kc-delete { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 12px; padding: 0; }
.kc-delete:hover { color: var(--red); }
.kc-company { font-size: 12px; color: var(--accent); font-weight: 600; display: block; }
.kc-date { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; }
.kc-notes { font-size: 12px; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.kc-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.select-sm { flex: 1; font: inherit; font-size: 11px; padding: 4px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel-2); color: var(--text); }
.kc-link { font-size: 11px; color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }

.add-job-form { display: flex; flex-direction: column; gap: 12px; }

/* ====== CAREER TOOLS ====== */
.careertools-panel { max-width: 1200px; margin: 28px auto; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.tool-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tool-icon { font-size: 28px; }
.tool-card h3 { margin: 0; font-size: 16px; font-weight: 700; }
.tool-card > p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tool-btn { margin-top: 4px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool-result { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-top: 4px; }
.error-text { color: var(--red); font-size: 13.5px; margin: 0; }
.copy-result-btn { background: var(--accent); color: white; border: none; border-radius: 6px; padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.copy-result-btn:hover { opacity: 0.9; }

/* Fraud */
.fraud-verdict { border: 2px solid var(--border); border-radius: 10px; padding: 14px; }
.fraud-score { font-size: 17px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.risk-score { font-size: 13px; font-weight: 600; color: var(--muted); }
.flag-list ul { margin: 4px 0 0; padding-left: 20px; font-size: 13px; }
.flag-list li { margin-bottom: 3px; }
.flag-list { margin-top: 10px; }
.recommendation { margin-top: 12px; padding: 10px; background: var(--panel-2); border-radius: 8px; font-size: 13.5px; }

/* Career path */
.career-path-result { display: flex; flex-direction: column; gap: 12px; }
.path-header { display: flex; align-items: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.timeline-badge { background: var(--accent); color: white; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.gap-analysis { margin: 0; font-size: 13.5px; color: var(--muted); }
.milestones { display: flex; flex-direction: column; gap: 10px; }
.milestone-card { background: var(--panel-2); border-left: 3px solid var(--accent); border-radius: 8px; padding: 12px 14px; }
.milestone-card h4 { margin: 0 0 8px; font-size: 13.5px; color: var(--accent); }
.milestone-card ul { margin: 0; padding-left: 18px; font-size: 13px; }
.milestone-card li { margin-bottom: 3px; }
.skills-gained { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skill-pill { background: rgba(232,100,42,0.1); color: var(--accent); border: 1px solid rgba(232,100,42,0.25); padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.critical-skills, .quick-wins { font-size: 13.5px; }
.quick-wins ul { margin: 4px 0 0; padding-left: 20px; }
.quick-wins li { margin-bottom: 4px; }
.path-encouragement { background: linear-gradient(135deg,rgba(16,185,129,0.08),rgba(232,100,42,0.08)); border: 1px solid rgba(16,185,129,0.3); border-radius: 8px; padding: 12px; font-size: 13.5px; font-style: italic; }

/* Personal brand */
.brand-result { display: flex; flex-direction: column; gap: 12px; }
.brand-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.brand-version { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 6px; }
.brand-text { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 6px; line-height: 1.5; }
.brand-use { font-size: 12px; color: var(--muted); }
.brand-keywords { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brand-tip { font-size: 13px; color: var(--muted); font-style: italic; margin: 0; }

/* Networking */
.message-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.msg-version { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.msg-text { font-size: 14px; line-height: 1.55; margin: 0; }
.network-tips ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.network-tips li { margin-bottom: 4px; }

/* Courses */
.course-skill { margin-bottom: 16px; }
.course-skill h4 { margin: 0 0 8px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.level-badge { font-size: 11px; background: var(--panel-2); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; color: var(--muted); }
.courses-list { display: flex; flex-direction: column; gap: 8px; }
.course-item { background: var(--panel-2); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.platform { color: var(--accent); font-weight: 600; }
.course-meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.search-hint { color: var(--accent); font-size: 12px; margin-top: 4px; }
.learning-order { font-size: 13.5px; padding: 10px; background: var(--panel-2); border-radius: 8px; margin-top: 8px; }
.course-tip { font-size: 13px; color: var(--muted); font-style: italic; margin: 8px 0 0; }

/* 30/60/90 plan */
.plan-result { display: flex; flex-direction: column; gap: 14px; }
.plan-overview { margin: 0; font-size: 14px; font-style: italic; color: var(--muted); }
.plan-phase { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.phase-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--panel-2); font-size: 13px; }
.phase-label { font-weight: 700; color: var(--accent); }
.phase-theme { font-size: 12px; color: var(--muted); font-style: italic; }
.phase-goals, .phase-actions { padding: 10px 14px; font-size: 13px; }
.phase-goals { border-bottom: 1px solid var(--border); }
.phase-goals ul, .phase-actions ul { margin: 4px 0 0; padding-left: 18px; }
.phase-goals li, .phase-actions li { margin-bottom: 4px; }
.success-metrics ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; }
.interview-tip { background: rgba(232,100,42,0.08); border: 1px solid rgba(232,100,42,0.2); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; }

/* ====== EMAIL TOOLS ====== */
.emailtools-panel { max-width: 1200px; margin: 28px auto; }
.email-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.email-tool-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.email-tool-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.email-form-fields { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.email-result { margin-top: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.email-output { padding: 14px; }
.email-text { font-size: 13.5px; line-height: 1.7; color: var(--text); white-space: pre-wrap; }

/* ====== LOADING TIPS ====== */
.loading-tips-wrap {
  text-align: center;
  padding: 40px 24px;
}
.lt-icon { font-size: 36px; margin-bottom: 12px; animation: ltBounce 2s ease-in-out infinite; }
@keyframes ltBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.lt-label { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.lt-progress-track {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}
.lt-progress-bar {
  height: 100%;
  width: 30%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  animation: ltSlide 1.8s ease-in-out infinite;
}
@keyframes ltSlide {
  0%   { transform: translateX(-200%); }
  100% { transform: translateX(450%); }
}
.lt-tip {
  background: linear-gradient(135deg, rgba(232,100,42,.06), rgba(196,78,26,.06));
  border: 1px solid rgba(232,100,42,.15);
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lt-tip-text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  transition: opacity 0.3s ease;
}
.lt-tip-text.fading { opacity: 0; }

/* ====== ATS OPTIMIZER ====== */
.ats-panel { max-width: 900px; margin: 28px auto; }
.ats-header { margin-bottom: 20px; }
.ats-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.ats-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .ats-inputs { grid-template-columns: 1fr; } }

.ats-score-hero {
  display: flex;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(232,100,42,0.06), rgba(196,78,26,0.06));
  border: 1px solid rgba(232,100,42,0.2);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
}
@media (max-width: 500px) { .ats-score-hero { flex-direction: column; text-align: center; } }

.ats-ring-wrap { flex-shrink: 0; }
.ats-ring {
  --ats-val: 0;
  --ats-color: #E8642A;
  width: 130px; height: 130px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--panel) 71%, transparent 72%),
    conic-gradient(var(--ats-color) calc(var(--ats-val) * 1%), var(--border) 0);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.ats-score-num { font-size: 38px; font-weight: 800; line-height: 1; }
.ats-score-label { font-size: 12px; color: var(--muted); }

.ats-grade {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.grade-a { color: var(--green); }
.grade-b { color: var(--accent); }
.grade-c { color: var(--amber); }
.grade-d { color: var(--red); }

.ats-verdict { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.ats-pass-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.ats-pass-badge.pass { background: rgba(16,185,129,0.12); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.ats-pass-badge.fail { background: rgba(239,68,68,0.12); color: var(--red); border: 1px solid rgba(239,68,68,0.3); }

.ats-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 12px; margin-bottom: 28px; }
.ats-category { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.cat-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.cat-score { font-size: 16px; font-weight: 800; }
.cat-max { font-size: 11px; color: var(--muted); font-weight: 400; }
.cat-bar { background: var(--border); border-radius: 999px; height: 6px; overflow: hidden; }
.cat-fill { height: 100%; border-radius: 999px; width: 0%; }

.ats-section { margin-bottom: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.ats-section h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }

.criteria-list { display: flex; flex-direction: column; gap: 8px; }
.criterion { background: var(--panel-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.criterion.pass { border-left: 3px solid var(--green); }
.criterion.partial { border-left: 3px solid var(--amber); }
.criterion.fail { border-left: 3px solid var(--red); }
.crit-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.crit-icon { font-size: 14px; }
.crit-name { font-size: 13.5px; font-weight: 600; flex: 1; }
.crit-score { font-size: 14px; font-weight: 800; color: var(--accent); }
.crit-max { font-size: 11px; color: var(--muted); font-weight: 400; }
.crit-finding { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.crit-fix { margin: 0; font-size: 13px; color: var(--accent); background: rgba(232,100,42,0.06); padding: 6px 10px; border-radius: 6px; }

.keyword-analysis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; }
.kw-col h4 { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; }
.kw-pct { font-size: 12px; color: var(--muted); font-weight: 400; }

.format-issue { display: flex; gap: 10px; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; }
.format-issue.critical { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.25); }
.format-issue.warning { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.25); }
.format-issue strong { font-size: 13.5px; display: block; margin-bottom: 3px; }
.format-issue p { margin: 0; font-size: 12.5px; color: var(--muted); }
.issue-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.success-text { color: var(--green); font-size: 14px; font-weight: 600; margin: 0; }

.quick-wins-list { display: flex; flex-direction: column; gap: 8px; }
.quick-win-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); }
.quick-win-item.low { border-left: 3px solid var(--green); }
.quick-win-item.medium { border-left: 3px solid var(--amber); }
.qw-content { display: flex; flex-direction: column; gap: 3px; }
.qw-action { font-size: 13.5px; font-weight: 600; }
.qw-effort { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.qw-effort.low { color: var(--green); }
.qw-effort.medium { color: var(--amber); }
.qw-points { font-size: 14px; font-weight: 800; color: var(--accent); white-space: nowrap; margin-left: 12px; }

.optimized-summary {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.platform-notes { font-size: 14px; color: var(--text); line-height: 1.55; margin: 0; }

/* ====== AUTH — NAV USER MENU ====== */
.sign-in-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.08s;
  margin-left: 8px;
}
.sign-in-btn:hover { opacity: 0.9; }
.sign-in-btn[hidden] { display: none; }

.user-menu {
  position: relative;
  margin-left: 8px;
}
.user-menu[hidden] { display: none; }

.user-avatar-btn {
  background: none;
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s;
}
.user-avatar-btn:hover { border-color: var(--accent-2); }

.user-avatar {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 220px;
  padding: 8px;
  z-index: 300;
  animation: dropdownIn 0.15s ease;
}
.user-dropdown[hidden] { display: none; }

.user-info {
  padding: 8px 10px 10px;
}
.user-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.user-email {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.user-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4px 0;
}
.user-action {
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 9px 10px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.user-action:hover { background: var(--panel-2); }
.user-action.sign-out { color: var(--red); }

/* ====== MOBILE / HAMBURGER ====== */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
}
.drawer-overlay[hidden] { display: none !important; }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--panel);
  z-index: 201;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  font-weight: 800;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
}

.drawer-nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer-tab-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 13px 20px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.drawer-tab-btn:hover { background: var(--panel-2); border-left-color: var(--accent); }

/* Hide hamburger on desktop, show on mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; align-items: center; }
  .nav-groups { display: none; }
  .nav-brand-btn { font-size: 15px; }
}
@media (min-width: 769px) {
  .hamburger { display: none; }
}

/* ====== RESPONSIVE LAYOUT ====== */
@media (max-width: 768px) {
  .site-header { padding: 12px 16px; }
  .hero { padding: 36px 16px 32px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 22px; }
  .hero-cta { font-size: 15px; padding: 14px 24px; }
  .hero-features { gap: 8px; }
  .hero-feature { font-size: 12px; padding: 6px 10px; }

  .layout { grid-template-columns: 1fr; gap: 16px; padding: 0 14px; margin: 16px auto; }
  .results { position: static; }

  .panel { padding: 16px; }
  .panel-title { font-size: 16px; }

  .score-block { flex-direction: column; text-align: center; }
  .score-ring { width: 100px; height: 100px; }
  .score-num { font-size: 28px; }

  .prompt-gallery { grid-template-columns: 1fr 1fr; }

  .ats-score-hero { flex-direction: column; text-align: center; gap: 16px; padding: 20px; }
  .ats-categories { grid-template-columns: 1fr 1fr; }
  .keyword-analysis { grid-template-columns: 1fr; }

  .kanban-board { gap: 10px; }
  .kanban-col { flex: 0 0 160px; min-width: 160px; }

  .tools-grid { grid-template-columns: 1fr; }
  .email-tools-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }

  .resume-actions { flex-direction: column; }
  .action-btn { min-width: unset; }

  .tracker-stats { gap: 10px; }
  .tracker-stat { padding: 10px 12px; }
  .tracker-stat span { font-size: 20px; }

  .job-search-panel { margin: 16px auto; padding: 16px; }

  textarea { min-height: 100px; }

  .daily-tip-bar { flex-direction: column; gap: 4px; font-size: 13px; }

  .cl-actions { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 24px; }
  .ats-categories { grid-template-columns: 1fr; }
  .prompt-gallery { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .kanban-board { gap: 8px; }
  .kanban-col { flex: 0 0 145px; min-width: 145px; }
}

/* ====== WOW FACTOR — ANIMATIONS & POLISH ====== */
/* Fade-in on tab switch */
.tab-content.active { animation: tabFadeIn 0.25s ease; }
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hover lift on cards */
.tool-card:hover, .email-tool-card:hover, .prompt-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tool-card, .email-tool-card, .prompt-card-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Pulsing spinner */
.spinner { animation: spin 0.7s linear infinite; }

/* Score ring glow on high score */
.score-ring[style*="--val: 8"],
.score-ring[style*="--val: 9"] {
  filter: drop-shadow(0 0 8px rgba(16,185,129,0.4));
}

/* Button press feel */
.primary-btn, .action-btn, .optimize-btn, .post-prompt-btn, .tool-btn {
  transition: transform 0.08s, opacity 0.15s, box-shadow 0.15s;
}
.primary-btn:hover { box-shadow: 0 4px 16px rgba(232,100,42,0.3); }

/* Skeleton loading pulse */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--panel-2) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Focus rings for accessibility */
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ====== POWER TOOLS ====== */
.power-panel { max-width: 1200px; margin: 28px auto; }
.power-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 760px) { .power-tools-grid { grid-template-columns: 1fr; } }

.power-card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.power-card:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(232,100,42,.1); }
.power-card-header { display: flex; gap: 14px; align-items: flex-start; }
.power-icon { font-size: 32px; flex-shrink: 0; }
.power-card-header h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.power-card-header p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.power-btn { margin-top: 4px; }
.power-result { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }

/* Tab highlight */
.power-tab { color: var(--accent) !important; font-weight: 700 !important; }
.power-item strong { color: var(--accent) !important; }

/* Ghost detector */
.ghost-verdict { border: 2px solid; border-radius: 10px; padding: 16px; }
.ghost-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ghost-icon-big { font-size: 36px; }
.ghost-title { font-size: 18px; font-weight: 800; }
.ghost-scores { font-size: 13px; color: var(--muted); margin-top: 3px; }
.ghost-summary { font-size: 14.5px; color: var(--text); margin: 0 0 12px; line-height: 1.5; }
.signal-section { margin-top: 10px; font-size: 13px; }
.signal-section.red ul { color: var(--red); }
.signal-section.green ul { color: var(--green); }
.signal-section ul { margin: 4px 0 0; padding-left: 18px; }
.signal-section li { margin-bottom: 3px; }
.ghost-rec { margin-top: 12px; padding: 10px 12px; background: var(--panel-2); border-radius: 8px; font-size: 13.5px; }
.verify-steps { margin-top: 10px; font-size: 13px; }
.verify-steps ol { margin: 4px 0 0; padding-left: 18px; }

/* Chat interface (salary sim + interview coach) */
.sim-setup { display: flex; flex-direction: column; gap: 8px; }
.sim-chat { display: flex; flex-direction: column; gap: 0; }
.chat-messages { min-height: 220px; max-height: 400px; overflow-y: auto; padding: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px 10px 0 0; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-msg.assistant { align-self: flex-start; align-items: flex-start; }
.chat-bubble { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.chat-msg.user .chat-bubble { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; border-radius: 12px 12px 2px 12px; }
.chat-msg.assistant .chat-bubble { background: var(--panel-2); border: 1px solid var(--border); color: var(--text); border-radius: 12px 12px 12px 2px; }
.coach-note { font-size: 12px; color: var(--accent); font-style: italic; margin-top: 5px; background: rgba(232,100,42,.06); border: 1px solid rgba(232,100,42,.15); border-radius: 6px; padding: 6px 10px; max-width: 100%; }
.thinking .chat-bubble { background: var(--panel-2); border: 1px solid var(--border); }
.dots span { animation: dotFade 1.2s infinite; opacity: 0; font-size: 18px; }
.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotFade { 0%,80%,100% { opacity: 0; } 40% { opacity: 1; } }

.chat-input-row { display: flex; border: 1px solid var(--border); border-top: none; border-radius: 0 0 10px 10px; overflow: hidden; }
.chat-input-row .text-input { border: none; border-radius: 0; flex: 1; padding: 11px 14px; }
.chat-input-row .text-input:focus { box-shadow: none; }
.send-btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; border: none; padding: 0 20px; font: inherit; font-weight: 700; cursor: pointer; transition: opacity 0.15s; white-space: nowrap; }
.send-btn:hover { opacity: 0.9; }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.restart-btn { background: none; border: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; padding: 8px 0; text-align: center; }
.restart-btn:hover { color: var(--accent); }

/* Response predictor */
.predictor-result { display: flex; flex-direction: column; gap: 14px; }
.predict-header { display: flex; align-items: center; gap: 20px; }
.predict-pct-ring { --p-color: var(--accent); width: 80px; height: 80px; border-radius: 50%; border: 6px solid var(--p-color); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(232,100,42,.04); }
.predict-pct { font-size: 22px; font-weight: 800; line-height: 1; }
.predict-label-sm { font-size: 10px; color: var(--muted); }
.predict-verdict { font-size: 20px; font-weight: 800; }
.predict-competition { font-size: 13px; color: var(--muted); margin: 2px 0 4px; }
.predict-rec { font-size: 14px; }
.predict-summary { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.predict-signals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .predict-signals { grid-template-columns: 1fr; } }
.sig-col { font-size: 13px; }
.sig-col ul { margin: 4px 0 0; padding-left: 18px; }
.sig-col li { margin-bottom: 3px; }
.sig-col.green strong { color: var(--green); }
.sig-col.red strong { color: var(--red); }
.improve-list { font-size: 13.5px; }
.improve-list ul { margin: 6px 0 0; padding-left: 18px; }
.improve-list li { margin-bottom: 4px; }
.timing-note { font-size: 13px; color: var(--muted); margin: 0; }

/* Humanizer */
.humanize-result { display: flex; flex-direction: column; gap: 14px; }
.humanize-scores { display: flex; align-items: center; gap: 12px; }
.h-score { text-align: center; padding: 10px 16px; border-radius: 10px; }
.h-score.before { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); }
.h-score.after { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); }
.h-score span { display: block; font-size: 22px; font-weight: 800; }
.h-score.before span { color: var(--red); }
.h-score.after span { color: var(--green); }
.h-score small { font-size: 11px; color: var(--muted); }
.h-arrow { font-size: 20px; color: var(--muted); }
.h-label { font-size: 12px; color: var(--muted); margin-left: 4px; }
.humanized-text { background: var(--panel-2); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 10px; padding: 14px; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.changes-list { font-size: 13px; }
.changes-list ul { margin: 4px 0 0; padding-left: 18px; }
.changes-list li { margin-bottom: 4px; }
.ai-phrases { font-size: 13px; color: var(--muted); }
.ai-phrases del { color: var(--red); text-decoration-color: var(--red); }
.humanize-tip { font-size: 13.5px; color: var(--accent); font-style: italic; margin: 0; }

/* DASHBOARD */
.dash-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:16px; }
.dash-welcome { font-size:22px; font-weight:800; margin-bottom:16px; letter-spacing:-.02em; }
.dash-health-card,.dash-stats-card,.dash-tip-card,.dash-quote-card { background:var(--panel-2); border:1px solid var(--border); border-radius:var(--radius); padding:18px; }
.dash-health-ring { width:90px; height:90px; margin:10px auto; --val:0; position:relative; border-radius:50%; background:radial-gradient(closest-side,var(--panel) 71%,transparent 72%),conic-gradient(var(--accent) calc(var(--val)*1%),var(--border) 0); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.dash-stats-card { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-around; }
.dash-stat { text-align:center; }
.dash-stat span { display:block; font-size:28px; font-weight:800; color:var(--text); }
.dash-stat.accent span { color:var(--green); }
.dash-stat small { font-size:11px; color:var(--muted); }
.dash-tip-card h4 { font-size:13px; font-weight:700; margin-bottom:6px; }
.dash-tip-card p { font-size:13.5px; color:var(--muted); line-height:1.55; }
.dash-quote-text { font-size:14.5px; font-style:italic; color:var(--text); margin-bottom:6px; }
.dash-quote-author { font-size:12px; color:var(--muted); }
.dash-quick-actions { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
.dash-quick-action { background:var(--panel-2); border:1px solid var(--border); border-radius:10px; padding:14px; cursor:pointer; font:inherit; text-align:left; transition:border-color .15s,transform .08s; }
.dash-quick-action:hover { border-color:var(--accent); transform:translateY(-1px); }
.dash-quick-action .qa-icon { font-size:22px; margin-bottom:6px; }
.dash-quick-action .qa-title { font-size:13.5px; font-weight:700; display:block; }
.dash-quick-action .qa-desc { font-size:12px; color:var(--muted); }
.dash-activity { display:flex; flex-direction:column; gap:8px; }
.dash-activity-item { display:flex; justify-content:space-between; align-items:center; padding:10px 12px; background:var(--panel-2); border:1px solid var(--border); border-radius:8px; font-size:13.5px; }
/* ANALYTICS */
.analytics-stats-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); gap:12px; }
.analytics-funnel { display:flex; flex-direction:column; gap:8px; }
.funnel-row { display:flex; align-items:center; gap:10px; }
.funnel-label { width:110px; font-size:13px; font-weight:600; flex-shrink:0; }
.funnel-bar-wrap { flex:1; height:20px; background:var(--border); border-radius:999px; overflow:hidden; }
.funnel-bar-fill { height:100%; border-radius:999px; transition:width .8s ease; }
.funnel-count { font-size:13px; color:var(--muted); width:80px; text-align:right; flex-shrink:0; }
.analytics-breakdown { display:flex; flex-wrap:wrap; gap:10px; }
.breakdown-chip { padding:10px 14px; border-radius:10px; text-align:center; background:var(--panel-2); border:1px solid var(--border); }
.breakdown-chip span { display:block; font-size:22px; font-weight:800; }
.breakdown-chip small { font-size:11px; color:var(--muted); }
.breakdown-chip.offer span { color:var(--green); }
.analytics-insight-box { background:var(--panel-2); border:1px solid var(--border); border-radius:10px; padding:14px; }
/* SKILLS CHECKLIST */
.skills-checklist { font-size:13px; }
.skills-check-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:8px; }
.skills-check-grid label { display:flex; align-items:center; gap:6px; font-size:13px; cursor:pointer; }

/* FOOTER */
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  padding: 24px 20px 40px;
}

/* ENCOURAGEMENT */
.encouragement-block {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(108, 140, 255, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.encouragement-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

/* PROMPT GALLERY (Focus areas) */
.prompt-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .prompt-gallery {
    grid-template-columns: 1fr;
  }
}

.prompt-card {
  position: relative;
  text-align: left;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.12s, background 0.12s, transform 0.06s;
}

.prompt-card:hover {
  border-color: var(--accent);
}

.prompt-card:active {
  transform: translateY(1px);
}

.prompt-card.recommended {
  border-color: rgba(232, 100, 42, 0.5);
}

.prompt-card.selected {
  border-color: var(--accent);
  background: rgba(232, 100, 42, 0.12);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.prompt-rec {
  position: absolute;
  top: -8px;
  right: 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.prompt-card h4,
.prompt-card > span:nth-child(2) {
  margin: 0;
  font-weight: 600;
  font-size: 13.5px;
}

.prompt-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

