/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --navy: #1c1a2e;
  --navy-deep: #131122;
  --navy-light: #2e2b46;
  --teal: #6358a0;
  --teal-light: #7e72ba;
  --teal-dark: #504587;
  --teal-glow: rgba(99, 88, 160, 0.10);
  --amber: #c98f3d;
  --amber-light: #daa85c;
  --red: #d45c5c;
  --green: #4aad78;
  --bg: #f9f7f3;
  --bg-warm: #f1eee6;
  --bg-card: #ffffff;
  --text: #2b2838;
  --text-light: #6e687c;
  --text-muted: #9c96aa;
  --border: #e3dfd6;
  --border-light: #edebe3;
  --shadow-sm: 0 1px 3px rgba(28,26,46,0.05);
  --shadow-md: 0 4px 18px rgba(28,26,46,0.07);
  --shadow-lg: 0 12px 40px rgba(28,26,46,0.10);
  --shadow-xl: 0 24px 60px rgba(28,26,46,0.13);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --nav-height: 72px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

img { max-width: 100%; display: block; }

button {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

/* ========================================
   BACKGROUND TEXTURE
   ======================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(99,88,160,0.025) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 2px 8px rgba(99,88,160,0.25);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  justify-content: center;
  padding: 0 8px;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}

.nav-link:hover .nav-link-num,
.nav-link.active .nav-link-num {
  background: var(--teal);
  color: white;
}

.nav-link:hover {
  color: var(--teal);
  background: var(--teal-glow);
}

.nav-link.active {
  color: var(--teal);
  background: var(--teal-glow);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-auth-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: var(--navy);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-auth-btn:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.nav-auth-btn svg { width: 16px; height: 16px; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 24px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.nav-user:hover { border-color: var(--teal); }

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
}

.nav-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.nav-user-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-user-dropdown a,
.nav-user-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition);
  text-decoration: none;
  text-align: left;
}

.nav-user-dropdown a:hover,
.nav-user-dropdown button:hover {
  background: var(--bg-warm);
}

.nav-user-dropdown .divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition);
}

.nav-hamburger:hover { background: var(--bg-warm); }

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: all var(--transition);
}

.nav-hamburger span::before,
.nav-hamburger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

.nav-hamburger span::before { top: -6px; }
.nav-hamburger span::after { top: 6px; }

.nav-hamburger.open span { background: transparent; }
.nav-hamburger.open span::before { top: 0; transform: rotate(45deg); }
.nav-hamburger.open span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--teal);
  background: var(--teal-glow);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  z-index: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: url('assets/hero-path.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(249, 247, 243, 0.84) 0%,
    rgba(249, 247, 243, 0.76) 30%,
    rgba(249, 247, 243, 0.88) 70%,
    rgba(249, 247, 243, 0.96) 100%
  );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--teal-glow) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(28,26,46,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-glow);
  border: 1px solid rgba(99, 88, 160, 0.2);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 32px;
  animation: fadeSlideUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.6s ease 0.1s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  animation: fadeSlideUp 0.6s ease 0.2s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  transition: all var(--transition);
  animation: fadeSlideUp 0.6s ease 0.3s both;
  box-shadow: 0 4px 20px rgba(28,26,46,0.3);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(28,26,46,0.4);
  color: white;
}

.hero-cta svg { width: 18px; height: 18px; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  animation: fadeSlideUp 0.6s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.hero-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ========================================
   SECTION CARDS (LANDING)
   ======================================== */
.sections-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 100px;
}

.sections-grid-header {
  text-align: center;
  margin-bottom: 56px;
}

.sections-grid-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.sections-grid-header p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--amber));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 0;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card:hover::before { opacity: 1; }

.card-step {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-glow), rgba(99,88,160,0.06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
  font-family: var(--font-display);
  font-weight: 400;
}

.card-arrow {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}

.card:hover .card-arrow { gap: 10px; }

/* ========================================
   HERO PATH SVG
   ======================================== */
.hero-path-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-path-wrap svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  opacity: 0.18;
}

.hero-path-main {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawPath 3s ease forwards 0.5s;
  stroke-linecap: round;
}

.hero-path-dots {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 6 10;
  opacity: 0.5;
  stroke-dashoffset: 2000;
  animation: drawPath 3s ease forwards 0.8s;
}

.hero-path-marker {
  fill: var(--teal);
  opacity: 0;
  animation: markerPop 0.4s ease forwards;
}

.hero-path-marker:nth-child(3) { animation-delay: 1.5s; }
.hero-path-marker:nth-child(4) { animation-delay: 2s; }
.hero-path-marker:nth-child(5) { animation-delay: 2.5s; }
.hero-path-marker:nth-child(6) { animation-delay: 3s; }

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes markerPop {
  0% { opacity: 0; r: 0; }
  50% { r: 8; }
  100% { opacity: 1; r: 5; }
}

.hero > * { position: relative; z-index: 1; }

/* ========================================
   ROADMAP TIMELINE (replaces card grid)
   ======================================== */
.roadmap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.roadmap::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--teal) 0%,
    var(--amber) 50%,
    var(--teal) 100%
  );
  opacity: 0.2;
  border-radius: 2px;
}

.roadmap-start,
.roadmap-end {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  z-index: 1;
}

.roadmap-start .roadmap-marker,
.roadmap-end .roadmap-marker {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-start .roadmap-marker {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 0 0 6px var(--teal-glow), 0 4px 16px rgba(99,88,160,0.25);
}

.roadmap-start .roadmap-marker svg,
.roadmap-end .roadmap-marker svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roadmap-start-label,
.roadmap-end-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.roadmap-end .roadmap-marker {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  box-shadow: 0 0 0 6px rgba(201,143,61,0.15), 0 4px 16px rgba(201,143,61,0.25);
}

.roadmap-end .roadmap-marker svg { stroke: white; }
.roadmap-end-label { color: var(--amber); }

.roadmap-destination {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-destination img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.roadmap-destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(28,26,46,0.85) 0%, rgba(28,26,46,0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.roadmap-destination-text {
  color: white;
}

.roadmap-destination-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.roadmap-destination-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.roadmap-destination-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--amber);
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roadmap-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 12px 0;
  text-decoration: none;
  z-index: 1;
}

.roadmap-waypoint {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
  z-index: 2;
}

.roadmap-item:hover .roadmap-waypoint {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-glow);
  box-shadow: 0 0 0 6px var(--teal-glow);
  transform: scale(1.1);
}

.roadmap-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--border);
  transition: border-color var(--transition);
}

.roadmap-card::after {
  content: '';
  position: absolute;
  left: -9px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--bg-card);
}

.roadmap-item:hover .roadmap-card {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.roadmap-item:hover .roadmap-card::before {
  border-right-color: var(--teal);
}

.roadmap-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.roadmap-card-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal-glow), rgba(99,88,160,0.06));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roadmap-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.roadmap-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
  font-family: var(--font-display);
  font-weight: 400;
}

.roadmap-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}

.roadmap-item:hover .roadmap-card-footer { gap: 10px; }

/* ========================================
   STEP PROGRESS TRACKER (section pages)
   ======================================== */
.step-tracker {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
  animation: fadeSlideUp 0.4s ease both;
}

.step-tracker::-webkit-scrollbar { display: none; }

.step-tracker-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.step-tracker-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition);
  position: relative;
}

.step-tracker-node.completed {
  background: var(--teal);
  color: white;
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.step-tracker-node.current {
  background: var(--navy);
  color: white;
  box-shadow: 0 0 0 4px rgba(28,26,46,0.2);
  transform: scale(1.15);
}

.step-tracker-node.upcoming {
  background: var(--bg-warm);
  color: var(--text-muted);
  border: 2px solid var(--border);
}

.step-tracker-item:hover .step-tracker-node.upcoming {
  border-color: var(--teal);
  color: var(--teal);
}

.step-tracker-item:hover .step-tracker-node.completed {
  transform: scale(1.1);
}

.step-tracker-connector {
  width: 24px;
  height: 3px;
  flex-shrink: 0;
  border-radius: 2px;
  transition: background var(--transition);
}

.step-tracker-connector.done {
  background: var(--teal);
}

.step-tracker-connector.pending {
  background: var(--border);
  background-image: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 4px,
    transparent 4px,
    transparent 8px
  );
  background-color: transparent;
}

.step-tracker-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.step-tracker-item:hover .step-tracker-label,
.step-tracker-node.current + .step-tracker-label { opacity: 1; }
.step-tracker-node.current ~ .step-tracker-label { color: var(--navy); }

/* ========================================
   SECTION PAGE
   ======================================== */
.section-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.section-header {
  margin-bottom: 40px;
  animation: fadeSlideUp 0.4s ease both;
}

.section-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.section-breadcrumb a:hover { color: var(--teal); }

.section-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 20px;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.5;
}

/* ========================================
   CHAT WIDGET
   ======================================== */
.chat-widget {
  background: var(--navy-deep);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow-xl);
  animation: fadeSlideUp 0.4s ease 0.1s both;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Collapsed state -single-line search bar look */
.chat-widget.collapsed .chat-header,
.chat-widget.collapsed .chat-messages,
.chat-widget.collapsed .chat-typing,
.chat-widget.collapsed .chat-footer-note {
  display: none;
}

.chat-widget.collapsed {
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.chat-widget.collapsed .chat-input-area {
  border-top: none;
  padding: 6px;
  background: transparent;
}

.chat-widget.collapsed .chat-input {
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}

.chat-widget.collapsed .chat-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.chat-collapsed-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 6px;
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.chat-collapsed-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--teal);
  opacity: 0.6;
}

.chat-widget:not(.collapsed) .chat-collapsed-hint {
  display: none;
}

/* Expand animation */
@keyframes chatExpand {
  0% {
    max-height: 80px;
    border-radius: 18px;
  }
  100% {
    max-height: 700px;
    border-radius: var(--radius-xl);
  }
}

.chat-widget.expanding {
  animation: chatExpand 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.chat-widget.expanding .chat-header,
.chat-widget.expanding .chat-messages,
.chat-widget.expanding .chat-footer-note {
  animation: fadeIn 0.3s ease 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.chat-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header-dot {
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--teal);
}

.chat-header-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: white;
}

.chat-header-sub {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.chat-header-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(99,88,160,0.12);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.chat-messages {
  height: 360px;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 6px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.chat-msg {
  display: flex;
  gap: 12px;
  max-width: 85%;
  animation: chatMsgIn 0.3s ease both;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.chat-msg.ai .chat-msg-avatar {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}

.chat-msg.user .chat-msg-avatar {
  background: var(--navy-light);
  color: rgba(255,255,255,0.7);
}

.chat-msg-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.chat-msg.ai .chat-msg-bubble {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border-bottom-left-radius: 4px;
  font-family: var(--font-body);
}

.chat-msg.user .chat-msg-bubble {
  background: var(--teal);
  color: white;
  border-bottom-right-radius: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
}

/* Streaming cursor on AI bubble */
.chat-msg-bubble.streaming::after {
  content: '\25CF';
  color: var(--teal-light, #5eadb0);
  animation: cursorBlink 0.8s ease infinite;
  margin-left: 2px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.chat-typing {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0 28px 16px;
}

.chat-typing.active { display: flex; }

.chat-typing-dots {
  display: flex;
  gap: 4px;
}

.chat-typing-dots span {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.chat-typing-label {
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.chat-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 18px;
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  outline: none;
  transition: all var(--transition);
  resize: none;
  min-height: 48px;
  max-height: 120px;
}

.chat-input::placeholder { color: rgba(255,255,255,0.25); }
.chat-input:focus { border-color: var(--teal); background: rgba(255,255,255,0.08); }

.chat-send {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all var(--transition);
}

.chat-send:hover {
  background: var(--teal-dark);
  transform: scale(1.05);
}

.chat-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.chat-send svg { width: 20px; height: 20px; }

.chat-footer-note {
  text-align: center;
  padding: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ========================================
   WIKI CONTENT
   ======================================== */
.wiki-content {
  animation: fadeSlideUp 0.4s ease 0.2s both;
}

.wiki-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.5px;
}

.wiki-paragraph {
  position: relative;
  padding: 20px 24px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.wiki-paragraph:hover {
  background: var(--bg-card);
  border-color: var(--border-light);
}

.wiki-paragraph p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
}

.wiki-paragraph h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

/* Business Entity Comparison Table */
.entity-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0 8px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.entity-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  text-align: left;
  border: none;
}
.entity-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text);
}
.entity-table tbody tr:last-child td { border-bottom: none; }
.entity-table tbody tr:nth-child(even) { background: var(--bg-warm); }
.entity-table tbody tr:hover { background: rgba(99, 88, 160, 0.04); }
.entity-table tbody td:first-child {
  font-weight: 600;
  white-space: nowrap;
  min-width: 140px;
  color: var(--navy);
}
.entity-table tbody td:first-child br { display: block; margin-top: 2px; }
.entity-table tbody td:first-child br + * { font-weight: 400; font-size: 13px; color: var(--text-light); }
tr.entity-recommended {
  background: rgba(74, 173, 120, 0.06) !important;
  border-left: 3px solid var(--green);
}
tr.entity-recommended:hover { background: rgba(74, 173, 120, 0.10) !important; }
td.entity-pick {
  color: var(--green) !important;
  font-weight: 500;
}
td.entity-warning {
  color: var(--red);
  font-weight: 500;
}
@media (max-width: 768px) {
  .entity-table { font-size: 13px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .entity-table thead th, .entity-table tbody td { padding: 10px 12px; }
  .entity-table tbody td:first-child { white-space: normal; min-width: 100px; }
}

.wiki-edit-btn {
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  color: var(--text-light);
  cursor: pointer;
}

.wiki-paragraph:hover .wiki-edit-btn,
.wiki-paragraph:hover .wiki-action-btn { opacity: 1; }
.wiki-edit-btn:hover { border-color: var(--teal); color: var(--teal); }
.wiki-edit-btn svg { width: 16px; height: 16px; }

.wiki-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.wiki-action-btn {
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  color: var(--text-light);
  cursor: pointer;
  position: relative;
}

.wiki-action-btn svg { width: 16px; height: 16px; }
.wiki-action-btn:hover { border-color: var(--teal); color: var(--teal); }
.wiki-action-btn.has-items::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--teal);
  color: white;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiki-action-btn.pending-btn.has-items::after {
  background: var(--amber);
}

/* History & Pending Panels */
.wiki-panel {
  display: none;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  animation: fadeSlideUp 0.25s ease both;
}

.wiki-panel.active { display: block; }

.wiki-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
}

.wiki-panel-header h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wiki-panel-header h4 svg { width: 16px; height: 16px; stroke: var(--teal); }

.wiki-panel-close {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.wiki-panel-close:hover { background: var(--border-light); color: var(--text); }
.wiki-panel-close svg { width: 14px; height: 14px; }

.wiki-panel-body {
  padding: 16px 20px;
  max-height: 400px;
  overflow-y: auto;
}

.wiki-panel-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 13px;
}

/* History items */
.history-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.history-item:last-child { border-bottom: none; }

.history-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.history-item-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-glow);
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.history-item-info {
  flex: 1;
  min-width: 0;
}

.history-item-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.history-item-date {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
}

.history-item-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.history-item-badge.approved { background: rgba(74,173,120,0.1); color: var(--green); }
.history-item-badge.rejected { background: rgba(212,92,92,0.1); color: var(--red); }
.history-item-badge.comment { background: rgba(99,88,160,0.08); color: var(--teal); }

.history-item-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  padding: 10px 14px;
  background: var(--bg-warm);
  border-radius: 8px;
  border-left: 3px solid var(--border);
}

.history-item-text.is-edit {
  border-left-color: var(--teal);
}

.history-item-text.is-rejected {
  border-left-color: var(--red);
}

/* Pending items */
.pending-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.pending-item:last-child { border-bottom: none; }

.pending-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pending-item-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201,143,61,0.15);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pending-item-info { flex: 1; min-width: 0; }

.pending-item-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.pending-item-date {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
}

.pending-item-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(201,143,61,0.15);
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pending-item-diff {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  padding: 10px 14px;
  background: var(--bg-warm);
  border-radius: 8px;
  border-left: 3px solid var(--amber);
}

.pending-item-diff del {
  background: rgba(212,92,92,0.1);
  color: var(--red);
  text-decoration: line-through;
}

.pending-item-diff ins {
  background: rgba(74,173,120,0.1);
  color: var(--green);
  text-decoration: none;
}

/* Verified provider badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(99, 88, 160, 0.10);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px 2px 5px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1;
}

.verified-badge svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

/* Comments section */
.wiki-comments-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color var(--transition);
  margin-left: 16px;
  border: none;
  background: none;
}

.wiki-comments-toggle:hover {
  color: var(--teal);
}

.wiki-comments-toggle svg {
  width: 13px;
  height: 13px;
}

.wiki-comments-toggle .toggle-count {
  background: var(--border-light);
  color: var(--text-muted);
  padding: 1px 6px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  transition: all var(--transition);
}

.wiki-comments-toggle:hover .toggle-count {
  background: var(--teal-glow);
  color: var(--teal);
}

.wiki-comments {
  display: none;
  margin-top: 10px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-light);
}

.wiki-comments.active {
  display: block;
  animation: fadeSlideUp 0.25s ease both;
}

.comment-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.comment-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.comment-date {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
}

.comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

.comment-footer {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.comment-thumbs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 100px;
  transition: all var(--transition);
  border: none;
  background: none;
}

.comment-thumbs:hover {
  background: var(--teal-glow);
  color: var(--teal);
}

.comment-thumbs.liked {
  background: var(--teal-glow);
  color: var(--teal);
}

.comment-thumbs svg {
  width: 13px;
  height: 13px;
}

.comment-add-wrap {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.comment-add-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition);
  background: white;
  color: var(--text);
}

.comment-add-input:focus {
  border-color: var(--teal);
}

.comment-add-btn {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: var(--teal);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.comment-add-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.wiki-edit-meta {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wiki-editor {
  display: none;
}

.wiki-editor.active {
  display: block;
}

.wiki-editor textarea {
  width: 100%;
  min-height: 150px;
  padding: 16px;
  border: 2px solid var(--teal);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: white;
  resize: vertical;
  outline: none;
}

.wiki-editor-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}

.btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-warm);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-danger {
  background: rgba(212,92,92,0.1);
  color: var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: white;
}

.btn-success {
  background: rgba(74,173,120,0.1);
  color: var(--green);
}

.btn-success:hover {
  background: var(--green);
  color: white;
}

.wiki-signin-prompt {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--teal-glow);
  border: 1px solid rgba(99,88,160,0.18);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--teal-dark);
  margin-top: 12px;
}

/* ========================================
   TIME ESTIMATE BANNER
   ======================================== */
.time-estimate-banner {
  margin-bottom: 36px;
  animation: fadeSlideUp 0.4s ease 0.05s both;
}

.time-estimate-inner {
  background: linear-gradient(160deg, rgba(99, 88, 160, 0.04) 0%, rgba(201,143,61,0.03) 50%, rgba(99, 88, 160, 0.02) 100%);
  border: 1px solid rgba(99, 88, 160, 0.10);
  border-radius: 4px var(--radius-lg) var(--radius-lg) 4px;
  border-left: 4px solid var(--teal);
  padding: 24px 28px;
}

.time-estimate-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.time-estimate-header svg {
  stroke: var(--teal);
  flex-shrink: 0;
}

.time-estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.time-estimate-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.time-estimate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.time-estimate-card.active-time::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.time-estimate-card.waiting-time::before {
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.time-estimate-icon {
  margin-bottom: 8px;
}

.time-estimate-card.active-time .time-estimate-icon svg {
  stroke: var(--teal);
}

.time-estimate-card.waiting-time .time-estimate-icon svg {
  stroke: var(--amber);
}

.time-estimate-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.time-estimate-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.time-estimate-card.active-time .time-estimate-label {
  color: var(--teal);
}

.time-estimate-card.waiting-time .time-estimate-label {
  color: var(--amber);
}

.time-estimate-desc {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.4;
}

.time-estimate-encouragement {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-dark);
  padding: 12px 16px;
  background: white;
  border-radius: 3px var(--radius-sm) var(--radius-sm) 3px;
  border-left: 3px solid var(--amber);
  line-height: 1.5;
}

/* ========================================
   SECTION CALLOUT CARDS
   ======================================== */
.section-callout {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(99, 88, 160, 0.04) 0%, rgba(201,143,61,0.03) 100%);
  border: 1px solid rgba(99, 88, 160, 0.10);
  border-radius: 4px 10px 10px 4px;
  border-left: 4px solid var(--teal);
  position: relative;
}

.section-callout-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(99, 88, 160, 0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.section-callout-icon svg {
  stroke: var(--teal);
  width: 15px;
  height: 15px;
}

.section-callout-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-dark);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .time-estimate-grid {
    grid-template-columns: 1fr;
  }

  .time-estimate-inner {
    padding: 20px;
  }

  .time-estimate-value {
    font-size: 20px;
  }

  .section-callout {
    padding: 14px 16px;
  }

  .section-callout-text {
    font-size: 14px;
  }
}

/* ========================================
   STICKY NOTE TODO LIST
   ======================================== */
.todo-sticky {
  position: relative;
  background: #fef9e7;
  border-radius: 2px 2px var(--radius-md) var(--radius-md);
  padding: 0 24px 20px;
  margin-bottom: 36px;
  box-shadow:
    0 2px 12px rgba(180, 160, 90, 0.12),
    0 1px 3px rgba(0,0,0,0.06);
  transform: rotate(-0.5deg);
  animation: fadeSlideUp 0.4s ease 0.08s both;
  border: 1px solid rgba(200, 180, 100, 0.18);
  max-width: 520px;
}

.todo-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: linear-gradient(135deg, rgba(99, 88, 160, 0.18), rgba(99, 88, 160, 0.10));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.todo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 12px;
  border-bottom: 1px dashed rgba(180, 160, 100, 0.3);
}

.todo-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.todo-header-left svg {
  stroke: var(--teal);
  flex-shrink: 0;
}

.todo-header h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.todo-count {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(99, 88, 160, 0.10);
  padding: 2px 8px;
  border-radius: 100px;
  min-width: 22px;
  text-align: center;
}

.todo-list {
  padding: 4px 0;
  min-height: 8px;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(180, 160, 100, 0.18);
  animation: fadeSlideUp 0.2s ease both;
  position: relative;
}

.todo-item:last-child {
  border-bottom: none;
}

.todo-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(180, 160, 100, 0.35);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
  padding: 0;
}

.todo-check:hover {
  border-color: var(--green);
  background: rgba(74, 173, 120, 0.08);
}

.todo-check.checked {
  border-color: var(--green);
  background: var(--green);
}

.todo-check.checked svg {
  opacity: 1;
}

.todo-check svg {
  width: 12px;
  height: 12px;
  stroke: white;
  stroke-width: 3;
  opacity: 0;
  transition: opacity var(--transition);
}

.todo-text-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.todo-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  cursor: text;
  word-break: break-word;
}

.todo-item.completed .todo-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.todo-badge-chat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(99, 88, 160, 0.08);
  padding: 1px 6px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.todo-badge-default {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  color: var(--amber);
  background: rgba(201, 143, 61, 0.10);
  padding: 1px 6px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.todo-chat-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed rgba(180, 160, 100, 0.25);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  opacity: 0.7;
  line-height: 1.4;
}

.todo-chat-hint svg {
  flex-shrink: 0;
  stroke: var(--teal);
  opacity: 0.8;
}

.todo-delete {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-top: 1px;
  padding: 0;
}

.todo-item:hover .todo-delete {
  opacity: 0.5;
}

.todo-delete:hover {
  opacity: 1 !important;
  background: rgba(212, 92, 92, 0.1);
  color: var(--red);
}

.todo-delete svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
}

.todo-edit-input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: white;
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 4px 8px;
  outline: none;
  line-height: 1.4;
}

.todo-add {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(180, 160, 100, 0.3);
  margin-top: 4px;
}

.todo-add-input {
  flex: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(180, 160, 100, 0.25);
  border-radius: 6px;
  padding: 8px 12px;
  outline: none;
  transition: border-color var(--transition);
}

.todo-add-input::placeholder {
  color: rgba(150, 140, 100, 0.5);
}

.todo-add-input:focus {
  border-color: var(--teal);
  background: white;
}

.todo-add-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all var(--transition);
}

.todo-add-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.05);
}

.todo-signin-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(150, 140, 100, 0.7);
}

.todo-signin-hint svg {
  flex-shrink: 0;
  stroke: rgba(150, 140, 100, 0.5);
}

.todo-empty {
  text-align: center;
  padding: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: rgba(150, 140, 100, 0.6);
}

/* Resolution note on completed tasks */
.todo-resolution {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #4aad78;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.85;
}
.todo-resolution::before {
  content: '\2192\0020';
  opacity: 0.6;
}

@media (max-width: 768px) {
  .todo-sticky {
    transform: none;
    max-width: 100%;
  }
}

/* ========================================
   TODO + RECS SIDE-BY-SIDE LAYOUT
   ======================================== */
.todo-and-recs {
  display: block;
}

.todo-and-recs.has-recs {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.todo-and-recs.has-recs .todo-sticky {
  flex-shrink: 0;
}

/* ========================================
   EMR RECOMMENDATIONS PANEL
   ======================================== */
.emr-recs {
  position: relative;
  background: #f0f4f8;
  border-radius: 2px 2px var(--radius-md) var(--radius-md);
  padding: 0 22px 20px;
  margin-bottom: 36px;
  box-shadow:
    0 2px 12px rgba(60, 80, 120, 0.10),
    0 1px 3px rgba(0,0,0,0.05);
  transform: rotate(0.4deg);
  animation: fadeSlideUp 0.4s ease 0.16s both;
  border: 1px solid rgba(100, 120, 160, 0.15);
  flex: 1;
  min-width: 0;
}

.emr-recs-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: linear-gradient(135deg, rgba(74, 173, 120, 0.22), rgba(74, 173, 120, 0.10));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.emr-recs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 0 12px;
  border-bottom: 1px dashed rgba(100, 120, 160, 0.25);
}

.emr-recs-header svg {
  stroke: var(--teal);
  flex-shrink: 0;
}

.emr-recs-header h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.emr-recs-caveat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(99, 88, 160, 0.06);
  border: 1px dashed rgba(99, 88, 160, 0.2);
  border-radius: var(--radius-sm);
}

.emr-recs-caveat svg {
  flex-shrink: 0;
  stroke: var(--teal);
  margin-top: 2px;
}

.emr-recs-caveat span {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-light);
}

.emr-recs-caveat strong {
  color: var(--teal);
  font-weight: 600;
}

.emr-recs-list {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emr-rec-card {
  background: #fff;
  border: 1px solid rgba(100, 120, 160, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: all var(--transition);
}

.emr-rec-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.emr-rec-card.featured {
  background: linear-gradient(135deg, #fefcf5, #faf7ee);
  border-color: rgba(201, 143, 61, 0.3);
  box-shadow: 0 2px 12px rgba(201, 143, 61, 0.08);
}

.emr-rec-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--amber);
  background: rgba(201, 143, 61, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.emr-rec-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.emr-rec-name a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

.emr-rec-name a:hover {
  color: var(--teal);
}

.emr-rec-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.emr-rec-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
}

.emr-rec-pros-cons {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.emr-rec-pros,
.emr-rec-cons {
  flex: 1;
  min-width: 0;
}

.emr-rec-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.emr-rec-pros .emr-rec-label {
  color: var(--green);
}

.emr-rec-cons .emr-rec-label {
  color: var(--red);
}

.emr-rec-pros ul,
.emr-rec-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.emr-rec-pros li,
.emr-rec-cons li {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-light);
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
}

.emr-rec-pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.emr-rec-cons li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
}

.emr-rec-best-for {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-light);
  padding-top: 8px;
  border-top: 1px dashed rgba(100, 120, 160, 0.15);
}

.emr-rec-best-for strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.emr-recs-disclaimer {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  padding-top: 12px;
  font-style: italic;
}

@media (max-width: 1024px) {
  .todo-and-recs.has-recs {
    flex-direction: column;
  }
  .todo-and-recs.has-recs .todo-sticky {
    max-width: 520px;
  }
  .emr-recs {
    transform: none;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .emr-recs {
    transform: none;
  }
  .emr-rec-pros-cons {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   SECTION NAV FOOTER (prev/next milestone)
   ======================================== */
.section-nav-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px dashed var(--border);
}

.section-nav-prev,
.section-nav-next {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
  max-width: 48%;
}

.section-nav-next {
  margin-left: auto;
  text-align: right;
}

.section-nav-prev:hover,
.section-nav-next:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.section-nav-prev svg,
.section-nav-next svg {
  flex-shrink: 0;
  color: var(--teal);
}

.section-nav-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 2px;
}

.section-nav-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 768px) {
  .section-nav-footer { flex-direction: column; }
  .section-nav-prev, .section-nav-next { max-width: 100%; }
  .section-nav-next { text-align: left; margin-left: 0; }
}

/* ========================================
   ADMIN PANEL
   ======================================== */
.admin-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 100px;
}

.admin-header {
  margin-bottom: 40px;
}

.admin-header h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.admin-header p {
  color: var(--text-light);
  font-size: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.admin-stat-card .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.admin-stat-card .label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.admin-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--bg-warm);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  vertical-align: top;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: var(--bg-warm); }

.admin-diff {
  background: var(--navy-deep);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  max-height: 120px;
  overflow-y: auto;
  margin: 8px 0;
}

.admin-diff .removed {
  color: #e06b6b;
  text-decoration: line-through;
  opacity: 0.7;
}

.admin-diff .added {
  color: #6dcf89;
}

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

.admin-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-badge.pending {
  background: rgba(201,143,61,0.15);
  color: var(--amber);
}

.admin-badge.approved {
  background: rgba(74,173,120,0.12);
  color: var(--green);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  padding: 60px 24px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 300px;
  font-family: var(--font-display);
  font-weight: 400;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  margin-left: 24px;
}

/* ========================================
   LEGAL PAGES (Privacy & Terms)
   ======================================== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-header {
  margin-bottom: 48px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-breadcrumb a { color: var(--teal); }
.legal-breadcrumb span:not(:last-child) { color: var(--text-muted); }

.legal-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-updated {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-section p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-section ul {
  margin: 8px 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li {
  line-height: 1.7;
}

.legal-section li strong {
  color: var(--navy);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-display);
  font-size: 14px;
}

.legal-table th {
  background: var(--bg-warm);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  color: var(--navy);
  border-bottom: 2px solid var(--border);
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-callout {
  display: flex;
  gap: 14px;
  background: rgba(212, 92, 92, 0.06);
  border: 1px solid rgba(212, 92, 92, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 12px 0;
  line-height: 1.7;
}

.legal-callout svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}

.legal-callout strong {
  color: var(--red);
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 0 24px 24px;
  animation: cookieSlideUp 0.4s ease both;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner.dismissing {
  animation: cookieSlideDown 0.3s ease both;
}

.cookie-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(28, 26, 46, 0.25);
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
}

.cookie-banner-text svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--amber);
}

.cookie-banner-text a {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: white;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.cookie-btn-accept {
  background: var(--teal);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--teal-light);
}

.cookie-btn-decline {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cookieSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(30px); }
}

/* ========================================
   TOAST / NOTIFICATIONS
   ======================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease both;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--teal); }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

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

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .hero { padding: 60px 20px 60px; }
  .hero-path-wrap svg { width: 500px; height: 300px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 24px; }

  .cards { grid-template-columns: 1fr; }

  .roadmap::before { left: 20px; }
  .roadmap-waypoint { width: 40px; height: 40px; font-size: 14px; }
  .roadmap-start .roadmap-marker,
  .roadmap-end .roadmap-marker { width: 40px; height: 40px; }
  .roadmap-start .roadmap-marker svg,
  .roadmap-end .roadmap-marker svg { width: 18px; height: 18px; }
  .roadmap-card { padding: 20px 16px; }
  .roadmap-card::before, .roadmap-card::after { display: none; }
  .roadmap-item { gap: 12px; }
  .roadmap-destination img { height: 160px; }
  .roadmap-destination-overlay { padding: 16px 20px; }

  .step-tracker-node { width: 26px; height: 26px; font-size: 10px; }
  .step-tracker-connector { width: 16px; }

  .section-page, .admin-page { padding: 32px 16px 80px; }

  .chat-messages { height: 280px; padding: 16px; }
  .chat-msg { max-width: 92%; }

  .wiki-paragraph { padding: 16px; }
  .wiki-paragraph .wiki-edit-btn,
  .wiki-paragraph .wiki-action-btn { opacity: 0.5; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 600px; }

  .nav-user-name { display: none; }

  .legal-page { padding: 32px 16px 60px; }
  .legal-header h1 { font-size: 28px; }

  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-text { flex-direction: column; align-items: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 16px; }

  .chat-widget { border-radius: var(--radius-lg); }
  .chat-widget.collapsed { border-radius: 14px; }
  .chat-header { padding: 14px 16px; }
  .chat-input-area { padding: 12px; }
  .chat-widget.collapsed .chat-input-area { padding: 5px; }
}

/* ========================================
   PROFILE MODAL
   ======================================== */
.profile-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 46, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-modal-overlay.active {
  display: flex;
}

.profile-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-modal-header {
  padding: 28px 28px 0;
}

.profile-modal-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.profile-modal-header p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
}

.profile-modal-body {
  padding: 24px 28px;
}

.profile-field {
  margin-bottom: 18px;
}

.profile-field:last-child {
  margin-bottom: 0;
}

.profile-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.profile-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.profile-field-row {
  display: flex;
  gap: 8px;
}

.profile-field-row input {
  flex: 1;
}

.profile-field-row .btn {
  flex-shrink: 0;
  padding: 10px 18px;
}

.npi-result {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.npi-result.active {
  display: block;
}

.npi-result.loading {
  background: rgba(99, 88, 160, 0.06);
  border: 1px solid rgba(99, 88, 160, 0.15);
  color: var(--teal);
}

.npi-result.valid {
  background: rgba(74, 173, 120, 0.06);
  border: 1px solid rgba(74, 173, 120, 0.2);
  color: var(--green);
}

.npi-result.valid .npi-provider-name {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.npi-result.valid .npi-specialty {
  color: var(--text-light);
  font-size: 13px;
}

.npi-result.invalid {
  background: rgba(212, 92, 92, 0.06);
  border: 1px solid rgba(212, 92, 92, 0.2);
  color: var(--red);
}

.profile-modal-actions {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.profile-modal-actions .btn {
  padding: 10px 22px;
  font-size: 14px;
}

.profile-modal-actions .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .profile-modal {
    max-width: 100%;
  }
  .profile-modal-header,
  .profile-modal-body,
  .profile-modal-actions {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ========================================
   RUNWAY CALCULATOR
   ======================================== */
.runway-calc {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 28px 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.runway-calc-header {
  margin-bottom: 20px;
}

.runway-calc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.runway-calc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.runway-calc-subtitle {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 15px;
  margin-top: 4px;
  line-height: 1.5;
}

.runway-calc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(99, 88, 160, 0.06);
  border: 1px solid rgba(99, 88, 160, 0.18);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.runway-calc-toggle:hover {
  background: rgba(99, 88, 160, 0.12);
  border-color: rgba(99, 88, 160, 0.3);
}

.runway-calc-inputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.runway-calc-input-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.runway-input-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
}

.runway-input-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.runway-calc-input-group input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.runway-calc-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--bg-card);
  box-shadow: 0 1px 4px rgba(28,26,46,0.18);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.runway-calc-input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.runway-calc-input-group input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--bg-card);
  box-shadow: 0 1px 4px rgba(28,26,46,0.18);
  cursor: pointer;
}

.runway-input-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.runway-calc-chart-wrap {
  margin: 0 -8px;
}

.runway-calc-chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.runway-axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--text-muted);
}

.runway-axis-title {
  font-family: var(--font-display);
  font-size: 12px;
  fill: var(--text-light);
  font-weight: 500;
}

.runway-zero-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  fill: var(--red);
}

.runway-be-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  fill: var(--green);
}

.runway-low-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  fill: var(--navy);
}

.runway-calc-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.runway-metric {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border-light);
}

.runway-metric-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.runway-metric-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.runway-metric-value.good { color: var(--green); }
.runway-metric-value.ok { color: var(--amber); }
.runway-metric-value.bad { color: var(--red); }

.runway-metric-hint {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.runway-calc-insight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(99, 88, 160, 0.05);
  border: 1px solid rgba(99, 88, 160, 0.12);
  border-radius: var(--radius-md);
}

.runway-insight-icon {
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 1px;
}

.runway-insight-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.runway-insight-text strong {
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 900px) {
  .runway-calc-inputs {
    grid-template-columns: repeat(2, 1fr);
  }
  .runway-calc-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .runway-calc {
    padding: 20px 18px;
    margin-left: 12px;
    margin-right: 12px;
  }
  .runway-calc-title-row {
    flex-direction: column;
    gap: 10px;
  }
  .runway-calc-inputs {
    grid-template-columns: 1fr;
  }
  .runway-calc-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   SITE BANNER
   ======================================== */
.site-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  max-height: 80px;
}

/* When banner is visible, push main content down */
body.has-banner .main {
  margin-top: calc(var(--nav-height) + 40px);
}

.site-banner.dismissing {
  max-height: 0;
  opacity: 0;
}

.site-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-banner-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

.site-banner-text a {
  color: var(--amber-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.site-banner-text a:hover {
  color: #fff;
}

.site-banner-dismiss {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.site-banner-dismiss:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
  .site-banner-text {
    font-size: 13px;
  }
  .site-banner-inner {
    padding: 8px 16px;
  }
}

/* ========================================
   APPLY MODAL
   ======================================== */
.apply-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 46, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.apply-modal-overlay.active {
  display: flex;
}

.apply-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
  position: relative;
}

.apply-modal-header {
  padding: 28px 28px 0;
}

.apply-modal-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.apply-modal-header p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.5;
}

.apply-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}

.apply-modal-close:hover {
  background: var(--bg-warm);
  color: var(--text);
}

.apply-modal-body {
  padding: 24px 28px;
}

.apply-modal-body textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.apply-modal-actions {
  padding: 0 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.apply-modal-actions .btn {
  min-width: 120px;
}

@media (max-width: 600px) {
  .apply-modal {
    max-width: 100%;
  }
  .apply-modal-header,
  .apply-modal-body,
  .apply-modal-actions {
    padding-left: 20px;
    padding-right: 20px;
  }
}
