/* ==========================================================================
   GEMA Cognitive Assessments — Design System
   Palette + type derived from GEMA's own brand deck (teal / cream / orange).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=Cairo:wght@400;500;600;700;800&display=swap');

/* Qomra Arabic — licensed brand typeface (خط قمرة الطباعي).
   This font is commercial and NOT bundled with this prototype for licensing reasons.
   Once GEMA purchases/owns the licensed files, drop them into /assets/fonts/ using these
   exact names and the whole Arabic site switches to Qomra automatically — no other change
   required. Until then, Cairo (an open, visually-close modern Arabic sans) is used as the
   fallback so the site looks complete out of the box. See README.ar.md. */
@font-face{
  font-family:'Qomra Arabic';
  src: url('../assets/fonts/Qomra-Regular.woff2') format('woff2'),
       url('../assets/fonts/Qomra-Regular.woff') format('woff');
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'Qomra Arabic';
  src: url('../assets/fonts/Qomra-Bold.woff2') format('woff2'),
       url('../assets/fonts/Qomra-Bold.woff') format('woff');
  font-weight:700; font-style:normal; font-display:swap;
}

:root{
  /* Brand colour tokens */
  --cream:        #EFEFE3;
  --cream-soft:   #F7F7EF;
  --ink:          #3C3C36;
  --ink-soft:     #63635A;
  --teal:         #2E8B85;
  --teal-dark:    #1C5450;
  --teal-deep:    #123B38;
  --teal-tint:    #E4F1EF;
  --orange:       #EE9B52;
  --orange-soft:  #F7CBA0;
  --orange-tint:  #FCEEDD;
  --white:        #FFFFFF;
  --line:         #DEDED0;
  --danger:       #C1452D;
  --danger-tint:  #FBEAE5;
  --success:      #3B8A5B;
  --success-tint: #E8F3EB;
  --shadow: 0 1px 2px rgba(28,84,80,.06), 0 8px 24px -12px rgba(28,84,80,.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display-ar: 'Qomra Arabic', 'Cairo', 'Tahoma', sans-serif;
  --font-body-ar: 'Qomra Arabic', 'Cairo', 'Tahoma', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
html[lang="ar"] body{ font-family:var(--font-body-ar); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .brand-word, html[lang="ar"] .btn, html[lang="ar"] .eyebrow{
  font-family:var(--font-display-ar);
}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

/* ---------------------------------------------------------------------- */
/* RTL support — Arabic is the default/primary language of this site      */
/* ---------------------------------------------------------------------- */
html[dir="rtl"] .review-table td:first-child{ text-align:right; }
html[dir="rtl"] .foot-bottom, html[dir="rtl"] .admin-topbar, html[dir="rtl"] .panel-head,
html[dir="rtl"] .form-actions{ flex-direction:row-reverse; }
html[dir="rtl"] .progress-step .piece{ transform:rotate(6deg); }
html[dir="rtl"] .progress-step.active .piece{ transform:rotate(0deg) scale(1.08); }
html[dir="rtl"] .skip-link{ left:auto; right:-999px; }
html[dir="rtl"] .skip-link:focus{ left:auto; right:16px; }
html[dir="rtl"] .conditional{ padding-left:0; padding-right:2px; }

/* Language toggle pill in header */
.lang-switch{ display:inline-flex; align-items:center; gap:2px; background:var(--cream-soft); border:1px solid var(--line); border-radius:999px; padding:3px; }
.lang-switch button{
  border:none; background:transparent; padding:6px 13px; border-radius:999px; font-weight:800;
  font-size:.76rem; cursor:pointer; color:var(--ink-soft); font-family:var(--font-body);
}
.lang-switch button.active{ background:var(--teal-deep); color:#fff; }
img{ max-width:100%; display:block; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--teal-deep);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
}
h1{ font-size:clamp(2rem, 4vw, 3.1rem); font-weight:600; letter-spacing:-.01em; }
h2{ font-size:clamp(1.5rem, 2.6vw, 2.1rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }

.container{ max-width:1120px; margin:0 auto; padding:0 24px; }
.container-narrow{ max-width:760px; margin:0 auto; padding:0 24px; }

/* Skip link / focus visibility ------------------------------------------ */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--teal-deep); color:#fff; padding:10px 16px; border-radius:8px; z-index:200;
}
.skip-link:focus{ left:16px; top:16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                           */
/* ---------------------------------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(239,239,227,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand svg{ width:34px; height:34px; }
.brand-word{ font-family:var(--font-display); font-weight:600; font-size:1.35rem; color:var(--ink); letter-spacing:.02em; }
.brand-word small{ display:block; font-family:var(--font-body); font-weight:600; font-size:.56rem; letter-spacing:.16em; color:var(--teal); text-transform:uppercase; margin-top:-2px; }

.main-nav{ display:flex; align-items:center; gap:28px; }
.main-nav a{ text-decoration:none; font-weight:600; font-size:.92rem; color:var(--ink-soft); }
.main-nav a:hover{ color:var(--teal-dark); }
.nav-cta{
  background:var(--teal-deep); color:#fff !important; padding:10px 18px; border-radius:999px;
  font-size:.86rem !important;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn{
  appearance:none; border:none; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  padding:14px 26px; border-radius:999px; text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  line-height:1;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--teal-deep); color:#fff; box-shadow:var(--shadow); }
.btn-primary:hover{ background:var(--teal-dark); }
.btn-orange{ background:var(--orange); color:var(--teal-deep); box-shadow:var(--shadow); }
.btn-orange:hover{ background:#e8893a; }
.btn-ghost{ background:transparent; color:var(--teal-deep); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--teal); background:var(--teal-tint); }
.btn-text{ background:none; color:var(--teal-dark); padding:8px 4px; text-decoration:underline; text-underline-offset:3px; }
.btn[disabled]{ opacity:.45; cursor:not-allowed; }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 16px; font-size:.82rem; border-radius:999px; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero{ padding:64px 0 40px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--teal-dark);
  background:var(--teal-tint); padding:7px 14px; border-radius:999px; margin-bottom:18px;
}
.hero p.lead{ font-size:1.12rem; max-width:52ch; }
.hero-actions{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.hero-art{ position:relative; }
.puzzle-brain{ width:100%; height:auto; }

/* ---------------------------------------------------------------------- */
/* Route selection cards                                                  */
/* ---------------------------------------------------------------------- */
.route-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:36px; }
.route-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px 26px; display:flex; flex-direction:column; gap:14px; box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.route-card:hover{ transform:translateY(-4px); box-shadow:0 18px 34px -16px rgba(28,84,80,.28); }
.route-card .icon-badge{
  width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  background:var(--teal-tint); color:var(--teal-deep); flex-shrink:0;
}
.route-card:nth-child(2) .icon-badge{ background:var(--orange-tint); color:#b1601f; }
.route-card:nth-child(3) .icon-badge{ background:#EAE6F5; color:#5B3F9E; }
.route-card h3{ margin-bottom:2px; }
.route-card p{ font-size:.93rem; flex-grow:1; }
.route-card .btn{ align-self:flex-start; }

/* ---------------------------------------------------------------------- */
/* Section shells                                                         */
/* ---------------------------------------------------------------------- */
.section{ padding:64px 0; }
.section-alt{ background:var(--cream-soft); }
.section-teal{ background:var(--teal-deep); color:#fff; }
.section-teal h2, .section-teal h3{ color:#fff; }
.section-teal p{ color:#CFE7E4; }
.section-head{ max-width:640px; margin-bottom:36px; }
.section-head .eyebrow{ margin-bottom:14px; }

/* Pathway cards (Mind Spark / Next Move / Master Fit) -------------------- */
.pathway-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pathway-card{
  background:var(--white); border-radius:var(--radius-lg); padding:26px; border:1px solid var(--line);
  display:flex; flex-direction:column; gap:12px;
}
.pathway-card .age-pill{
  align-self:flex-start; font-weight:700; font-size:.72rem; letter-spacing:.06em;
  padding:5px 12px; border-radius:999px; background:var(--teal-tint); color:var(--teal-dark);
}
.pathway-card ul{ margin:6px 0 0; padding-left:18px; font-size:.88rem; color:var(--ink-soft); }
.pathway-card ul li{ margin-bottom:5px; }
.pathway-card .btn{ margin-top:auto; }

/* Service level cards ----------------------------------------------------*/
.service-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.service-card{
  background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius-lg);
  padding:28px; cursor:pointer; transition:border-color .15s, box-shadow .15s;
}
.service-card.is-selected{ border-color:var(--teal); box-shadow:0 0 0 4px var(--teal-tint); }
.service-card.premium{ background:linear-gradient(180deg,#fff,var(--orange-tint) 220%); }
.service-badge{ font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); }
.service-card ul{ margin:12px 0 0; padding-left:18px; font-size:.9rem; color:var(--ink-soft); }
.service-card li{ margin-bottom:6px; }
.service-price-note{
  margin-top:14px; font-size:.82rem; color:var(--teal-dark); background:var(--teal-tint);
  padding:10px 12px; border-radius:10px;
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                  */
/* ---------------------------------------------------------------------- */
.form-shell{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:40px; box-shadow:var(--shadow);
}
@media (max-width:640px){ .form-shell{ padding:22px; } }

.field{ margin-bottom:22px; }
.field label, .field legend{
  display:block; font-weight:700; font-size:.92rem; color:var(--ink); margin-bottom:7px;
}
.field .hint{ font-size:.8rem; color:var(--ink-soft); margin-top:5px; }
.req::after{ content:" *"; color:var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=number], input[type=url], select, textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line);
  font-family:var(--font-body); font-size:.96rem; color:var(--ink); background:#fff;
  transition:border-color .15s;
}
textarea{ min-height:110px; resize:vertical; }
input:focus, select:focus, textarea:focus{ border-color:var(--teal); }
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color:var(--danger); }
.error-msg{ color:var(--danger); font-size:.8rem; margin-top:6px; display:none; }
.field.has-error .error-msg{ display:block; }

fieldset{ border:none; padding:0; margin:0 0 22px; }
.choice-list{ display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.choice{
  display:flex; align-items:flex-start; gap:10px; padding:12px 14px; border:1.5px solid var(--line);
  border-radius:10px; cursor:pointer; font-size:.94rem; transition:border-color .15s, background .15s;
}
.choice:hover{ border-color:var(--teal); }
.choice input{ margin-top:3px; accent-color:var(--teal-dark); width:auto; }
.choice.checked{ border-color:var(--teal); background:var(--teal-tint); }
.choice-list.inline{ flex-direction:row; flex-wrap:wrap; }
.choice-list.inline .choice{ flex:1 1 160px; }

.consent-box{
  background:var(--cream-soft); border:1px solid var(--line); border-radius:12px; padding:16px 18px;
  margin-bottom:12px;
}
.consent-box .choice{ border:none; padding:6px 0; }
.consent-box .choice:hover{ background:none; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:640px){ .two-col{ grid-template-columns:1fr; } }

.conditional{ display:none; margin-top:12px; padding-left:2px; }
.conditional.show{ display:block; animation:fadeIn .2s ease; }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(-4px);} to{ opacity:1; transform:none; } }

/* Card-select (pathway / service pick inside forms) */
.pick-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:760px){ .pick-grid{ grid-template-columns:1fr; } }
.pick-card{
  border:1.5px solid var(--line); border-radius:var(--radius); padding:20px; cursor:pointer;
  background:#fff; transition:border-color .15s, box-shadow .15s;
}
.pick-card:hover{ border-color:var(--teal); }
.pick-card.checked{ border-color:var(--teal); box-shadow:0 0 0 4px var(--teal-tint); }
.pick-card h4{ font-family:var(--font-display); margin:8px 0 4px; color:var(--teal-deep); }
.pick-card .age-pill{ font-size:.68rem; font-weight:800; letter-spacing:.05em; color:var(--teal-dark); background:var(--teal-tint); padding:3px 10px; border-radius:999px; }
.pick-card ul{ margin:10px 0 0; padding-left:16px; font-size:.82rem; color:var(--ink-soft); }

.notice-banner{
  display:flex; gap:12px; align-items:flex-start; background:var(--orange-tint);
  border:1px solid var(--orange-soft); border-radius:12px; padding:14px 16px; margin:18px 0; font-size:.88rem; color:#7a4a1c;
}
.info-banner{
  display:flex; gap:12px; align-items:flex-start; background:var(--teal-tint);
  border:1px solid #bfe0dc; border-radius:12px; padding:14px 16px; margin:18px 0; font-size:.88rem; color:var(--teal-deep);
}

/* Progress — puzzle-piece step tracker (brand signature motif) ---------- */
.progress-track{ display:flex; align-items:center; gap:0; margin-bottom:36px; overflow-x:auto; padding-bottom:6px; }
.progress-step{
  display:flex; flex-direction:column; align-items:center; gap:8px; min-width:74px; position:relative; flex:1;
}
.progress-step .piece{
  width:34px; height:34px; border-radius:9px 9px 9px 2px; background:var(--white); border:2px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.78rem; color:var(--ink-soft);
  transform:rotate(-6deg);
}
.progress-step.done .piece{ background:var(--teal); border-color:var(--teal); color:#fff; }
.progress-step.active .piece{ background:var(--orange); border-color:var(--orange); color:#fff; transform:rotate(0deg) scale(1.08); }
.progress-step .step-label{ font-size:.68rem; text-align:center; color:var(--ink-soft); font-weight:600; line-height:1.2; }
.progress-step.active .step-label{ color:var(--teal-deep); }
.progress-line{ position:absolute; top:17px; left:50%; width:100%; height:2px; background:var(--line); z-index:-1; }
.progress-step:last-child .progress-line{ display:none; }
.progress-step.done .progress-line{ background:var(--teal); }

.form-step{ display:none; }
.form-step.active{ display:block; animation:fadeIn .25s ease; }

.form-actions{ display:flex; justify-content:space-between; align-items:center; margin-top:32px; gap:12px; }

/* Review table */
.review-table{ width:100%; border-collapse:collapse; margin-top:10px; }
.review-table tr{ border-bottom:1px solid var(--line); }
.review-table td{ padding:12px 4px; font-size:.9rem; vertical-align:top; }
.review-table td:first-child{ color:var(--ink-soft); width:44%; font-weight:600; }
.review-table td:last-child{ color:var(--ink); font-weight:600; }

/* Confirmation page */
.confirm-card{ text-align:center; padding:56px 40px; }
.confirm-icon{
  width:76px; height:76px; border-radius:50%; background:var(--success-tint); color:var(--success);
  display:flex; align-items:center; justify-content:center; margin:0 auto 22px;
}
.ref-box{
  display:inline-flex; flex-direction:column; gap:2px; background:var(--teal-tint); border:1.5px dashed var(--teal);
  padding:16px 30px; border-radius:14px; margin:20px 0;
}
.ref-box .ref-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color:var(--teal-dark); font-weight:700; }
.ref-box .ref-value{ font-family:var(--font-display); font-size:1.5rem; color:var(--teal-deep); font-weight:600; }

/* Status badges (admin) */
.badge{ display:inline-block; padding:4px 11px; border-radius:999px; font-size:.72rem; font-weight:700; white-space:nowrap; }
.badge-teal{ background:var(--teal-tint); color:var(--teal-dark); }
.badge-orange{ background:var(--orange-tint); color:#a15a1c; }
.badge-green{ background:var(--success-tint); color:var(--success); }
.badge-red{ background:var(--danger-tint); color:var(--danger); }
.badge-gray{ background:#EDEDE3; color:#6b6b60; }

/* Steps overview strip */
.journey-strip{ display:flex; gap:0; margin-top:40px; }
.journey-step{ flex:1; text-align:center; position:relative; padding:0 10px; }
.journey-step .num{
  width:44px; height:44px; border-radius:50%; background:var(--white); border:2px solid var(--teal);
  color:var(--teal-deep); display:flex; align-items:center; justify-content:center; font-weight:800;
  margin:0 auto 10px; font-family:var(--font-display);
}
.journey-step p{ font-size:.82rem; }

/* Pain-point bubbles (from GEMA campaign artwork) ------------------------ */
.pain-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.pain-bubble{
  display:flex; gap:14px; align-items:flex-start; background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:20px 22px;
}
.pain-bubble .dot{
  width:40px; height:40px; border-radius:50%; background:var(--teal-tint); color:var(--teal-deep);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.pain-bubble p{ margin:0; font-weight:700; color:var(--ink); font-size:.98rem; }

.feature-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:34px; }
.feature-4 .item{ text-align:center; }
.feature-4 .item .ico{
  width:56px; height:56px; border-radius:16px; background:var(--teal-tint); color:var(--teal-deep);
  display:flex; align-items:center; justify-content:center; margin:0 auto 14px;
}
.feature-4 .item h4{ font-size:1rem; margin-bottom:4px; }
.feature-4 .item p{ font-size:.85rem; }

.audience-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.audience-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:22px 20px; }
.audience-card h4{ font-size:.98rem; margin-bottom:6px; }
.audience-card p{ font-size:.85rem; margin:0; }

.approach-strip{ display:flex; justify-content:center; gap:0; flex-wrap:wrap; margin:30px 0; }
.approach-word{
  font-family:var(--font-display); font-size:clamp(1.3rem,3vw,2.1rem); color:var(--teal-deep);
  padding:0 22px; position:relative;
}
html[lang="ar"] .approach-word{ font-family:var(--font-display-ar); }
.approach-word:not(:last-child)::after{ content:"→"; position:absolute; inset-inline-end:-14px; color:var(--orange); }
html[dir="rtl"] .approach-word:not(:last-child)::after{ content:"←"; }

.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testimonial-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; }
.testimonial-card p{ font-style:italic; color:var(--ink); font-size:.94rem; }
.testimonial-card .who{ font-weight:700; color:var(--teal-dark); font-size:.85rem; margin-top:10px; }

.trust-strip{ display:flex; justify-content:center; gap:40px; flex-wrap:wrap; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin:36px 0; }
.trust-item{ text-align:center; font-size:.8rem; color:var(--ink-soft); font-weight:600; max-width:150px; }
.trust-item strong{ display:block; color:var(--teal-deep); font-size:.88rem; margin-bottom:2px; }

.contact-shell{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }

@media (max-width:900px){
  .pain-grid, .feature-4, .audience-grid, .testimonial-grid, .contact-shell{ grid-template-columns:1fr; }
}

footer.site-footer{ background:var(--teal-deep); color:#CFE7E4; padding:48px 0 28px; margin-top:60px; }
footer.site-footer a{ color:#fff; text-decoration:none; }
footer.site-footer .foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:32px; margin-bottom:32px; }
footer.site-footer h4{ color:#fff; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
footer.site-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; font-size:.9rem; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.15); padding-top:20px; font-size:.8rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* Responsive ------------------------------------------------------------ */
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .route-grid, .pathway-grid, .service-grid{ grid-template-columns:1fr; }
  .main-nav{ display:none; }
  footer.site-footer .foot-grid{ grid-template-columns:1fr; }
  .journey-strip{ flex-direction:column; gap:22px; }
}

/* Admin dashboard --------------------------------------------------------*/
.admin-shell{ display:grid; grid-template-columns:240px 1fr; min-height:100vh; }
.admin-sidebar{ background:var(--teal-deep); color:#fff; padding:26px 18px; }
.admin-sidebar .brand-word{ color:#fff; }
.admin-nav{ list-style:none; padding:0; margin:26px 0 0; display:flex; flex-direction:column; gap:4px; }
.admin-nav a{
  display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:10px; text-decoration:none;
  color:#CFE7E4; font-size:.9rem; font-weight:600;
}
.admin-nav a.active, .admin-nav a:hover{ background:rgba(255,255,255,.1); color:#fff; }
.admin-main{ padding:32px 36px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:12px; }
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px; }
.stat-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; }
.stat-card .num{ font-family:var(--font-display); font-size:1.8rem; color:var(--teal-deep); }
.stat-card .label{ font-size:.8rem; color:var(--ink-soft); font-weight:600; }
.panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; margin-bottom:24px; overflow-x:auto; }
.panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
table.data-table{ width:100%; border-collapse:collapse; font-size:.86rem; min-width:760px; }
table.data-table th{ text-align:left; padding:10px 12px; color:var(--ink-soft); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; border-bottom:1.5px solid var(--line); }
table.data-table td{ padding:12px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.data-table tr:hover td{ background:var(--cream-soft); }
.status-select{ padding:6px 10px; border-radius:8px; border:1.5px solid var(--line); font-size:.78rem; font-weight:600; }
.pill-tabs{ display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.pill-tab{ padding:8px 16px; border-radius:999px; border:1.5px solid var(--line); background:#fff; font-size:.82rem; font-weight:700; cursor:pointer; color:var(--ink-soft); }
.pill-tab.active{ background:var(--teal-deep); color:#fff; border-color:var(--teal-deep); }
.empty-state{ text-align:center; padding:40px 20px; color:var(--ink-soft); }
.login-shell{ min-height:100vh; display:flex; align-items:center; justify-content:center; }
.login-card{ background:#fff; border-radius:var(--radius-lg); padding:44px; width:100%; max-width:400px; box-shadow:var(--shadow); text-align:center; }
.no-access{ background:var(--danger-tint); color:var(--danger); padding:12px 14px; border-radius:10px; font-size:.85rem; margin-bottom:16px; display:none; }

/* Utility */
.mt-0{margin-top:0} .mb-0{margin-bottom:0} .text-center{text-align:center}
.small{font-size:.82rem;color:var(--ink-soft)}
