/* ============================================================
   GUIDE PAGE STYLES — Move to France Guide
   ============================================================ */

html { scroll-behavior: auto; }

/* Guide shorthand aliases */
:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --gray: #4b5563;
  --gray-dark: #030213;
  --gray-light: #6b7280;
  --orange: #C75B00;
  --green: #16a34a;
  --bg: #f5f5f5;
  --white: #ffffff;
  --border: #e5e7eb;
}

a.src { color: var(--blue); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; font-weight: 500; }
a.src:hover { text-decoration-style: solid; }

/* LAYOUT */
.layout { display: flex; min-height: 100vh; }

/* ============================================================
   SIDEBAR — Figma Make style
   ============================================================ */
.sidebar {
  width: 256px; flex-shrink: 0; position: fixed; top: 0; left: 0; bottom: 0;
  background: #f5f7fa; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 100; transition: transform 0.2s ease;
}
.sidebar-header { padding: 24px 24px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.sidebar-logo {
  text-decoration: none; display: flex; align-items: center; gap: 12px;
}
.sidebar-logo .logo-icon {
  width: 40px; height: 40px; border-radius: 0.5rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sidebar-logo .logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar-logo-text { display: flex; flex-direction: column; }
.sidebar-logo-title { display: flex; align-items: baseline; gap: 6px; }
.sidebar-logo-title .brand { font-size: 1.25rem; font-weight: 700; color: #111827; letter-spacing: -0.02em; }
.sidebar-logo-title .brand-accent { font-size: 1.25rem; font-weight: 700; color: var(--blue); letter-spacing: -0.02em; }
.sidebar-tagline {
  font-size: 0.625rem; color: #6b7280; margin-top: 2px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500;
}
.sidebar-scroll { flex: 1; overflow-y: auto; padding: 16px 16px 8px; }
.sidebar-scroll::-webkit-scrollbar { width: 3px; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.06); border-radius: 2px; }
.sidebar-group { margin-bottom: 24px; }
.sidebar-group-label {
  font-size: 0.75rem; font-weight: 600; color: #6b7280;
  padding: 0 8px; margin-bottom: 8px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px; font-size: 0.875rem; color: #374151;
  text-decoration: none; transition: all 0.1s; cursor: pointer;
  border-radius: 0.375rem; font-weight: 400;
}
.sidebar-item:hover { background: rgba(0,0,0,0.04); color: #111827; }
.sidebar-item.active { background: #eff6ff; color: #1d4ed8; font-weight: 500; }
.sidebar-item-icon {
  width: 16px; height: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: inherit; opacity: 0.7;
}
.sidebar-item-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-item-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-item.locked { color: #6b7280; cursor: not-allowed; }
.sidebar-item.locked:hover { background: transparent; color: #6b7280; }
.sidebar-lock-icon { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.5; }
.sidebar-lock-icon svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }

.sidebar-cta { padding: 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.sidebar-cta a {
  display: block; text-align: center; background: var(--blue); color: #fff;
  padding: 9px 16px; font-size: 0.875rem; font-weight: 500;
  text-decoration: none; border-radius: 0.375rem; transition: background 0.15s;
}
.sidebar-cta a:hover { background: var(--blue-dark); }
.sidebar-cta-sub { font-size: 0.75rem; color: #6b7280; text-align: center; margin-top: 8px; }
.sidebar-cta-rate a { background: #fff; color: var(--blue); border: 1px solid var(--border); }
.sidebar-cta-rate a:hover { background: #f3f4f6; }

.sidebar-toggle {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 200;
  width: 36px; height: 36px; background: var(--white); border: 1px solid var(--border);
  border-radius: 0.375rem; cursor: pointer; align-items: center; justify-content: center; font-size: 1rem;
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 90; }
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); z-index: 10000; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: flex; }
  .sidebar-overlay.open { display: block; z-index: 9999; }
  .main-content { margin-left: 0 !important; }
}

/* MAIN */
.main-content { margin-left: 256px; flex: 1; min-width: 0; }

/* ============================================================
   HEADER — search + filter dropdowns (Figma Make style)
   ============================================================ */
.search-bar {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 12px 24px; display: flex; align-items: center; gap: 12px;
  max-width: none;
}
.search-bar-inner {
  flex: 1; width: 100%;
  display: flex; align-items: center; gap: 12px;
}
.search-input {
  flex: 1; padding: 7px 12px 7px 34px; font-size: 0.8125rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: 0.375rem; background: #f9fafb;
  color: var(--gray-dark); outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 10px center;
}
.search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.search-input::placeholder { color: #6b7280; }
.guide-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.guide-header-signin { padding: 6px 16px; background: #2563eb; color: #fff; font-size: 0.75rem; font-weight: 600; font-family: inherit; border: none; border-radius: 6px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.15s; }
.guide-header-signin:hover { background: #1d4ed8; }
.guide-header-profile { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #374151; font-size: 0.8125rem; font-weight: 500; white-space: nowrap; }
.guide-header-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.guide-header-avatar-placeholder { width: 28px; height: 28px; border-radius: 50%; background: #dbeafe; color: #2563eb; display: flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 700; }

.filter-select {
  height: 36px; padding: 0 28px 0 10px; font-size: 0.75rem; font-family: inherit;
  border: 1px solid var(--border); border-radius: 0.375rem; background: #f9fafb;
  color: #374151; outline: none; width: 160px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
  transition: border-color 0.15s;
}
.filter-select:focus { border-color: var(--blue); }
.filter-select optgroup { font-size: 0.6875rem; color: #6b7280; font-weight: 500; font-style: normal; padding: 6px 0 4px; }
.filter-select option { font-weight: 400; color: #374151; padding: 4px 0; }

.search-results {
  position: absolute; top: 100%; left: 24px; right: 24px;
  background: var(--white); border: 1px solid var(--border); border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); max-height: 320px; overflow-y: auto;
  display: none; z-index: 60;
}
.search-results.open { display: block; }
.search-result-item {
  padding: 10px 16px; font-size: 0.8125rem; cursor: pointer;
  border-bottom: 1px solid #f3f4f6; color: var(--gray-dark);
  text-decoration: none; display: block;
}
.search-result-item:hover { background: var(--blue-light); color: var(--blue); }
.search-result-item:last-child { border-bottom: none; }
.search-result-section { font-size: 0.6875rem; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.search-highlight { background: #FEF3C7; padding: 0 2px; border-radius: 2px; }

/* PERSONA FILTER (hidden now, replaced by dropdowns in header) */
.persona-bar { display: none; }

/* ============================================================
   CONTENT AREA — preserved from original design
   ============================================================ */
.content-area { max-width: 700px; margin: 0 auto; padding: 48px 40px 80px; }
.guide-hero { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.guide-hero h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.25; margin-bottom: 12px; color: #212121; }
.guide-hero p { font-size: 1rem; color: var(--gray); line-height: 1.75; }

/* GUIDE SECTIONS */
.gs { padding: 48px 0; border-bottom: 1px solid var(--border); }
.gs:last-of-type { border-bottom: none; }
.gs-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.gs-title { font-size: 1.5rem; font-weight: 800; line-height: 1.25; margin-bottom: 14px; color: #212121; }
.gs-intro { font-size: 1rem; color: var(--gray); line-height: 1.75; margin-bottom: 24px; }
.gs-sub {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-light);
}
.gs-sub-inner {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: #374151; margin: 24px 0 10px;
}
.gs p { font-size: 1rem; color: var(--gray-dark); line-height: 1.75; margin-bottom: 16px; }
.gs p strong { color: #212121; font-weight: 600; }

/* TOPIC LIST */
.tl { list-style: none; margin: 16px 0; padding-left: 0; }
.tl li {
  padding: 10px 0; border-bottom: 1px solid #F5F5F5;
  font-size: 0.95rem; display: flex; gap: 12px; color: var(--gray-dark);
}
.tl li:last-child { border-bottom: none; }
.dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  margin-top: 10px; background: var(--blue);
}
.dot-gray { background: #D1D5DB; }
.tl-body { flex: 1; min-width: 0; }
.sub-list { list-style: none; padding-left: 18px; margin-top: 6px; }
.sub-list li { font-size: 0.88rem; padding: 3px 0; border-bottom: none; color: var(--gray); display: block; }

/* CALLOUTS */
.callout {
  padding: 18px 20px; border-radius: 0.5rem; margin: 20px 0;
  font-size: 0.92rem; line-height: 1.65; display: flex; gap: 12px; align-items: flex-start;
}
.callout-icon { flex-shrink: 0; font-size: 1rem; margin-top: 2px; }
.callout-body { flex: 1; }
.callout-body strong { font-weight: 600; }
.callout-blue { background: var(--blue-light); color: var(--blue-dark); border-left: 3px solid var(--blue); }
.callout-orange { background: #FFF7ED; color: #9A3412; border-left: 3px solid var(--orange); }
.callout-green { background: #ECFDF5; color: #065F46; border-left: 3px solid var(--green); }
.callout-gov {
  background: var(--blue-light); border-radius: 0.375rem;
  padding: 14px 18px; margin: 16px 0; font-size: 0.85rem;
  display: flex; align-items: center; gap: 10px; color: var(--gray-dark);
}
.callout-gov a { color: var(--blue); font-weight: 600; text-decoration: none; }
.callout-gov a:hover { text-decoration: underline; }

/* DATA CARDS */
.data-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.data-card { background: var(--white); border-radius: 0.5rem; padding: 20px 16px; text-align: center; border: 1px solid var(--border); }
.data-val { font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 4px; }
.data-label { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.data-note { font-size: 0.6875rem; color: #6b7280; margin-top: 6px; text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.4; }
.data-footnote { font-size: 0.75rem; color: #6b7280; margin: 8px 0 0; font-style: italic; line-height: 1.4; }

/* CHECKLISTS */
.checklist { list-style: none; margin: 16px 0; padding-left: 0; }
.checklist li {
  padding: 10px 0 10px 30px; border-bottom: 1px solid #F3F4F6;
  font-size: 0.92rem; position: relative; line-height: 1.6; color: var(--gray-dark);
}
.checklist li:last-child { border-bottom: none; }
.check-box { width: 18px; height: 18px; border: 2px solid #D1D5DB; border-radius: 4px; position: absolute; left: 0; top: 12px; }

/* LOCKED CONTENT */
.locked-topic { opacity: 0.35; }
.locked-topic .dot { background: #D1D5DB; }
.locked-section { position: relative; padding: 40px 0; border-bottom: 1px solid var(--border); min-height: 260px; }
.locked-blur { filter: blur(3px); pointer-events: none; user-select: none; opacity: 0.4; }
.locked-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 10; }
.locked-card {
  background: var(--white);
  padding: 36px 40px; text-align: center; max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-radius: 0.625rem;
}
.locked-card-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.locked-card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #111827; }
.locked-card-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 18px; line-height: 1.6; }
.btn-unlock {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 9px 24px; font-size: 0.8125rem; font-weight: 500;
  text-decoration: none; border-radius: 0.375rem; transition: background 0.15s;
}
.btn-unlock:hover { background: var(--blue-dark); }
.locked-card-price { font-size: 0.75rem; color: #6b7280; margin-top: 8px; }

.unlock-inline {
  margin: 24px 0; padding: 24px; background: var(--blue-light);
  border: 1px solid #dbeafe; border-radius: 0.5rem; text-align: center;
}
.unlock-inline p { font-size: 0.92rem; color: var(--gray-dark); margin-bottom: 8px; }
.unlock-inline .extras { font-size: 0.82rem; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

/* NATIVE AD */
.native-ad {
  background: #FFFBF5; border: 1px solid #FDE68A; border-radius: 0.5rem;
  padding: 22px 24px; margin: 32px 0; display: flex; gap: 14px; align-items: flex-start;
}
.native-ad-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--blue); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; }
.native-ad-body { flex: 1; }
.native-ad-label { font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: #6b7280; font-weight: 600; margin-bottom: 3px; }
.native-ad-title { font-size: 0.92rem; font-weight: 600; color: #111827; margin-bottom: 3px; }
.native-ad-desc { font-size: 0.82rem; color: var(--gray); line-height: 1.55; margin-bottom: 8px; }
.native-ad-cta { font-size: 0.78rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.native-ad-cta:hover { text-decoration: underline; }

/* AFFILIATE GRID */
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.aff-card { border: 1px solid var(--border); border-radius: 0.5rem; padding: 18px; text-decoration: none; color: #111827; transition: all 0.15s; background: var(--white); position: relative; overflow: hidden; }
.aff-card:hover { border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.aff-card.top-pick { border-color: #bfdbfe; background: #f8fbff; }
.aff-card.top-pick::before { content: '\2B50 We use this'; position: absolute; top: 0; right: 0; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 3px 8px; border-bottom-left-radius: 8px; }
.aff-icon { width: 24px; height: 24px; margin-bottom: 6px; display: block; border-radius: 4px; object-fit: contain; }
.aff-name { font-size: 0.875rem; font-weight: 600; margin-bottom: 3px; }
.aff-desc { font-size: 0.875rem; color: var(--gray); line-height: 1.5; }

/* CITY CARDS */
.city-cards-container { display: flex; flex-direction: column; gap: 16px; }
.city-card { border: 1px solid var(--border); border-radius: 12px; background: var(--white); transition: box-shadow 0.2s; overflow: hidden; }
.city-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.city-card-photo { width: 100%; height: 100px; object-fit: cover; display: block; }
.city-card-body { padding: 24px; }
.city-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.city-card-name a { font-size: 1.2rem; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.city-card-name a:hover { color: #1e40af; }
.city-card-tagline { font-size: 0.8125rem; color: #6b7280; margin-top: 2px; }
.city-card-score { text-align: right; }
.city-card-score-val { font-size: 1.5rem; font-weight: 700; color: var(--blue); line-height: 1; }
.city-card-score-label { font-size: 0.6875rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }

.city-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; margin-bottom: 16px; }
.city-stat { display: flex; flex-direction: column; gap: 2px; }
.city-stat-label { font-size: 0.6875rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; display: flex; align-items: center; gap: 3px; }
.city-info { position: relative; cursor: help; color: #6b7280; font-style: normal; font-size: 0.625rem; }
.city-info:hover::after { content: attr(data-tip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #1f2937; color: #fff; font-size: 0.6875rem; font-weight: 400; text-transform: none; letter-spacing: 0; white-space: normal; width: max-content; max-width: 220px; padding: 6px 10px; border-radius: 6px; z-index: 10; pointer-events: none; margin-bottom: 4px; text-align: center; line-height: 1.4; }
.city-info:hover::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border: 4px solid transparent; border-top-color: #1f2937; z-index: 10; }
.city-card-grid .city-stat:nth-child(4n) .city-info:hover::after { left: auto; right: 0; transform: none; }
.city-card-grid .city-stat:nth-child(4n) .city-info:hover::before { left: auto; right: 6px; transform: none; }
.city-card-grid .city-stat:nth-child(4n+1) .city-info:hover::after { left: 0; right: auto; transform: none; }
.city-card-grid .city-stat:nth-child(4n+1) .city-info:hover::before { left: 6px; right: auto; transform: none; }
.city-stat-val { font-size: 0.875rem; font-weight: 600; color: #111827; }
.city-stat-val.good { color: #059669; }
.city-stat-val.mid { color: #d97706; }
.city-stat-val.poor { color: #dc2626; }

.city-card-narrative { font-size: 0.875rem; color: #374151; line-height: 1.7; margin: 12px 0; }

.city-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 20px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.01em; opacity: 0.7; transition: opacity 0.2s, box-shadow 0.2s; }
.pill.glow { opacity: 1; box-shadow: 0 0 0 2px rgba(37,99,235,0.25); }
.pill-family { background: #dbeafe; color: #1e40af; }
.pill-retiree { background: #fce4ec; color: #880e4f; }
.pill-freelance { background: #e8eaf6; color: #283593; }
.pill-jobs { background: #f3e8ff; color: #7c3aed; }
.pill-walkable { background: #e0f2fe; color: #0369a1; }
.pill-sunny { background: #fff8e1; color: #e65100; }
.pill-safe { background: #f3e5f5; color: #6a1b9a; }
.pill-connected { background: #e1f5fe; color: #01579b; }
.pill-nature { background: #e8f5e9; color: #1b5e20; }
.pill-beach { background: #e0f7fa; color: #006064; }

@media (max-width: 640px) {
  .city-card-grid { grid-template-columns: repeat(2, 1fr); }
  .city-card-header { flex-direction: column; }
  .city-card-score { text-align: left; }
}

/* COMPARISON TABLE */
.compare-table { margin: 20px 0; overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.6; }
.compare-table th, .compare-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--blue); background: var(--bg); border-bottom: 2px solid var(--border); }
.compare-table tbody td:first-child { font-weight: 500; color: #374151; white-space: nowrap; }
.compare-table tbody td { color: var(--gray-dark); }
.compare-table a { color: var(--blue); text-decoration: none; font-weight: 600; }
.compare-table a:hover { text-decoration: underline; }

/* FEEDBACK */
.feedback-section {
  max-width: 560px; margin: 48px auto 0; padding: 32px 40px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  text-align: center;
}
.feedback-title { font-size: 1.1rem; font-weight: 600; color: #1F2937; margin: 0 0 6px; }
.feedback-sub { font-size: 0.875rem; color: #6b7280; margin: 0 0 20px; line-height: 1.5; }
.feedback-quick { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.feedback-prompt { font-size: 0.875rem; font-weight: 500; color: #374151; }
.feedback-btn {
  padding: 7px 18px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; font-size: 0.8125rem; font-weight: 500; color: #374151;
  cursor: pointer; transition: all 0.15s;
}
.feedback-btn:hover { border-color: var(--blue); color: var(--blue); }
.feedback-btn.selected { background: var(--blue); color: #fff; border-color: var(--blue); }
.feedback-thanks p { font-size: 0.875rem; color: #059669; font-weight: 500; margin: 0; }
.feedback-form {
  margin-top: 20px; text-align: left; display: flex; flex-direction: column; gap: 10px;
}
.feedback-label { font-size: 0.8125rem; font-weight: 500; color: #374151; margin-bottom: -4px; }
.feedback-select, .feedback-textarea, .feedback-email {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.875rem; color: #1F2937; background: #fff; font-family: inherit;
  transition: border-color 0.15s;
}
.feedback-select:focus, .feedback-textarea:focus, .feedback-email:focus {
  outline: none; border-color: var(--blue);
}
.feedback-textarea { resize: vertical; min-height: 60px; }
.feedback-submit {
  align-self: flex-start; padding: 10px 24px; border: none; border-radius: 8px;
  background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: background 0.15s;
}
.feedback-submit:hover { background: #1a4fd4; }

/* Star rating */
.feedback-stars { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.star-row { display: flex; gap: 6px; }
.star-btn {
  background: none; border: none; font-size: 2rem; color: #D1D5DB;
  cursor: pointer; transition: color 0.12s, transform 0.12s; line-height: 1; padding: 2px 4px;
}
.star-btn.star-hover, .star-btn.star-active { color: #FBBF24; transform: scale(1.15); }

/* Trustpilot redirect */
.feedback-tp-icon { font-size: 1.5rem; color: #00B67A; letter-spacing: 2px; margin-bottom: 8px; }
.feedback-tp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 8px; border: none;
  background: #00B67A; color: #fff; font-size: 0.9375rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background 0.15s;
}
.feedback-tp-btn:hover { background: #00a06a; }
.tp-logo { font-weight: 700; letter-spacing: 0.5px; }
.feedback-skip {
  display: block; margin: 14px auto 0; background: none; border: none;
  font-size: 0.8125rem; color: #9CA3AF; cursor: pointer; text-decoration: underline;
  transition: color 0.15s;
}
.feedback-skip:hover { color: #6b7280; }

/* Done state */
.feedback-done-icon {
  width: 40px; height: 40px; border-radius: 50%; background: #059669; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 12px;
}

/* GUIDE FOOTER */
.guide-footer { padding: 32px 40px; border-top: 1px solid var(--border); max-width: 700px; margin: 0 auto; }
.guide-footer p { font-size: 0.75rem; color: #6b7280; text-align: center; }
.guide-footer a { color: var(--gray); text-decoration: none; }

/* MOBILE RATE BUTTON */
.mobile-rate-btn {
  display: none; position: fixed; bottom: 20px; right: 20px; z-index: 200;
  width: 48px; height: 48px; background: var(--blue); color: #fff;
  border-radius: 50%; font-size: 1.25rem; line-height: 48px; text-align: center;
  text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.15s;
}
.mobile-rate-btn:hover { background: var(--blue-dark); }

/* SIDEBAR PROFILE */
.sidebar-profile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.profile-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profile-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.profile-text {
  min-width: 0;
}
.profile-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-plan {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.profile-signout {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.6875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
  transition: color 0.15s;
}
.profile-signout:hover { color: #ef4444; }

/* SECTION GATING (partial plan) - uses guide.html's own locked-section / locked-blur classes */

/* RESPONSIVE */
@media (max-width: 900px) { .content-area { padding: 32px 20px 60px; } .search-bar { padding: 10px 16px 10px 56px; } .mobile-rate-btn { display: block; } }
@media (max-width: 640px) { .native-ad { flex-direction: column; } .locked-card { padding: 24px 20px; margin: 0 12px; } .data-row { grid-template-columns: repeat(2, 1fr); } }
