/* ============================================================
   Event Helfer – Main Stylesheet
   Design: Soft teal / mint · Clean cards · Bold typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --eh-bg:          #e8f4f4;
  --eh-bg-2:        #d4ecec;
  --eh-surface:     #ffffff;
  --eh-surface-2:   #f0fafa;
  --eh-teal:        #0d5c5c;
  --eh-teal-mid:    #1a8080;
  --eh-teal-light:  #2ebfb3;
  --eh-teal-pale:   #b8e8e4;
  --eh-teal-xpale:  #e0f5f3;
  --eh-mint:        #4dd9cc;
  --eh-accent:      #00b4a0;
  --eh-navy:        #0a2e2e;
  --eh-dark:        #0d3b3b;
  --eh-text:        #0a2e2e;
  --eh-text-mid:    #2a5454;
  --eh-text-muted:  #6a9696;
  --eh-border:      #c8e4e2;
  --eh-shadow:      0 2px 12px rgba(13,92,92,.10);
  --eh-shadow-lg:   0 8px 32px rgba(13,92,92,.15);
  --eh-radius:      14px;
  --eh-radius-lg:   20px;
  --eh-radius-sm:   8px;
  --eh-font:        'Sora', sans-serif;
  --eh-font-body:   'DM Sans', sans-serif;
  --eh-nav-w:       240px;
  --eh-transition:  0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
.eh-app *, .eh-onboarding * {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
.eh-app, .eh-onboarding {
  font-family: var(--eh-font-body);
  color: var(--eh-text);
  background: var(--eh-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════════════════════════════ */

.eh-app {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar Nav ───────────────────────────────────────────── */
.eh-nav {
  width: var(--eh-nav-w);
  background: var(--eh-surface);
  border-right: 1px solid var(--eh-border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  flex-shrink: 0;
}

.eh-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 20px;
  border-bottom: 1px solid var(--eh-border);
  margin-bottom: 20px;
}
.eh-nav-logo {
  width: 36px; height: 36px;
  background: var(--eh-teal);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.eh-nav-title { font-family: var(--eh-font); font-weight: 700; font-size: 15px; color: var(--eh-navy); }
.eh-nav-sub   { font-size: 11px; color: var(--eh-text-muted); margin-top: 1px; }

.eh-nav-links { list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.eh-nav-links li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--eh-text-mid); font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: var(--eh-transition);
}
.eh-nav-links li a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.eh-nav-links li a:hover { background: var(--eh-teal-xpale); color: var(--eh-teal); }
.eh-nav-links li.active a { background: var(--eh-teal-xpale); color: var(--eh-teal); font-weight: 600; }

.eh-nav-progress { margin-top: auto; padding: 16px 4px 8px; }
.eh-nav-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--eh-text-muted); margin-bottom: 6px; }
.eh-nav-progress-bar { height: 5px; background: var(--eh-border); border-radius: 3px; overflow: hidden; }
.eh-nav-progress-fill { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); border-radius: 3px; transition: width 0.6s ease; }

.eh-nav-bottom { padding-top: 12px; border-top: 1px solid var(--eh-border); margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.eh-nav-link-sm { display: block; font-size: 12px; color: var(--eh-text-muted); text-decoration: none; padding: 6px 8px; border-radius: 6px; transition: var(--eh-transition); }
.eh-nav-link-sm:hover { color: var(--eh-teal); background: var(--eh-teal-xpale); }

/* ── Main area ─────────────────────────────────────────────── */
.eh-main { flex: 1; overflow: auto; min-width: 0; }
.eh-page { min-height: 100vh; display: flex; flex-direction: column; }
.eh-page-content { padding: 32px; flex: 1; max-width: 1280px; }

/* ── Topbar ────────────────────────────────────────────────── */
.eh-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: var(--eh-surface);
  border-bottom: 1px solid var(--eh-border);
  position: sticky; top: 0; z-index: 50;
}
.eh-topbar-left { display: flex; align-items: center; gap: 12px; }
.eh-breadcrumb { font-family: var(--eh-font); font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--eh-text-mid); }
.eh-breadcrumb a { text-decoration: none; color: var(--eh-teal); font-weight: 600; }
.eh-breadcrumb span { color: var(--eh-text-muted); }
.eh-topbar-right { display: flex; align-items: center; gap: 12px; }
.eh-icon-btn { background: none; border: 1px solid var(--eh-border); border-radius: 10px; padding: 8px; cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; transition: var(--eh-transition); }
.eh-icon-btn:hover { background: var(--eh-teal-xpale); border-color: var(--eh-teal-pale); }
.eh-icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--eh-text-mid); stroke-width: 1.8; stroke-linecap: round; }
.eh-notif-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; background: var(--eh-mint); border-radius: 50%; border: 1px solid white; }
.eh-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--eh-teal-pale); cursor: pointer; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */

.eh-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--eh-dark); color: white;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--eh-font); font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--eh-transition);
}
.eh-btn-primary:hover { background: var(--eh-teal-mid); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(13,92,92,.25); }
.eh-btn-primary.loading { opacity: .7; cursor: wait; }
.eh-btn-primary.success { background: var(--eh-accent); }

.eh-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--eh-text-mid);
  padding: 12px 24px; border-radius: 50px;
  font-weight: 500; font-size: 14px; text-decoration: none;
  border: 1.5px solid var(--eh-border); cursor: pointer;
  transition: var(--eh-transition);
}
.eh-btn-ghost:hover { border-color: var(--eh-teal-pale); color: var(--eh-teal); background: var(--eh-teal-xpale); }

.eh-btn-dark {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--eh-dark); color: white;
  padding: 12px 22px; border-radius: var(--eh-radius-sm);
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: none; cursor: pointer; transition: var(--eh-transition);
}
.eh-btn-dark:hover { background: var(--eh-teal-mid); }
.eh-btn-dark-full { width: 100%; justify-content: center; }

.eh-btn-sm {
  display: inline-flex; align-items: center;
  background: var(--eh-teal-xpale); color: var(--eh-teal);
  padding: 7px 16px; border-radius: 50px;
  font-weight: 600; font-size: 13px; text-decoration: none;
  border: none; cursor: pointer; transition: var(--eh-transition);
}
.eh-btn-sm:hover { background: var(--eh-accent); color: white; }
.eh-btn-sm.success { background: var(--eh-accent); color: white; }
.eh-btn-full { width: 100%; justify-content: center; margin-top: 12px; }

.eh-btn-outline {
  background: transparent; color: var(--eh-teal);
  padding: 10px 20px; border-radius: var(--eh-radius-sm);
  border: 1.5px solid var(--eh-teal-pale); cursor: pointer;
  font-weight: 500; font-size: 13px; transition: var(--eh-transition);
}
.eh-btn-outline:hover { background: var(--eh-teal-xpale); }
.eh-btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--eh-dark);
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--eh-font); font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid var(--eh-dark); cursor: pointer;
  transition: var(--eh-transition);
}
.eh-btn-outline-dark:hover { background: var(--eh-dark); color: white; }
.eh-btn-outline-full { width: 100%; }
.eh-btn-danger { background: #dc3545; color: white; padding: 10px 20px; border-radius: var(--eh-radius-sm); border: none; cursor: pointer; font-weight: 500; font-size: 13px; }
.eh-link-btn { background: none; border: none; color: var(--eh-teal); font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: underline; }
.eh-link-arrow { color: var(--eh-teal); text-decoration: none; font-weight: 600; font-size: 13px; }
.eh-link-arrow:hover { color: var(--eh-accent); }

/* ══════════════════════════════════════════════════════════════
   ONBOARDING
   ══════════════════════════════════════════════════════════════ */

.eh-onboarding {
  display: flex;
  min-height: 100vh;
}

.eh-ob-sidebar {
  width: 260px;
  background: var(--eh-surface);
  border-right: 1px solid var(--eh-border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.eh-ob-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eh-ob-brand-icon { width: 38px; height: 38px; background: var(--eh-teal); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.eh-ob-brand-title { font-family: var(--eh-font); font-weight: 700; font-size: 16px; color: var(--eh-navy); }
.eh-ob-brand-sub { font-size: 11px; color: var(--eh-text-muted); }

.eh-ob-steps { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.eh-ob-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--eh-text-muted);
  transition: var(--eh-transition);
}
.eh-ob-step-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--eh-bg); display: flex; align-items: center; justify-content: center; font-size: 14px; border: 1.5px solid var(--eh-border); }
.eh-ob-step.active { background: var(--eh-teal-xpale); color: var(--eh-teal); font-weight: 600; }
.eh-ob-step.active .eh-ob-step-icon { background: var(--eh-teal); color: white; border-color: var(--eh-teal); }
.eh-ob-step.done { color: var(--eh-text-mid); }
.eh-ob-step.done .eh-ob-step-icon { background: var(--eh-teal-pale); border-color: var(--eh-teal-pale); }

.eh-ob-sidebar-progress { margin-top: auto; background: var(--eh-teal-xpale); border-radius: var(--eh-radius-sm); padding: 14px; }
.eh-ob-sp-label { font-size: 11px; font-weight: 600; color: var(--eh-teal); letter-spacing: .05em; margin-bottom: 8px; }
.eh-ob-sp-bar { height: 5px; background: var(--eh-teal-pale); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.eh-ob-sp-fill { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); border-radius: 3px; transition: width .8s ease; }
.eh-ob-sp-pct { font-size: 12px; color: var(--eh-text-mid); }

.eh-ob-quote { font-size: 12px; font-style: italic; color: var(--eh-text-muted); background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 12px; margin-top: 16px; border-left: 3px solid var(--eh-teal-pale); }

/* Onboarding Main */
.eh-ob-main { flex: 1; padding: 40px 60px; overflow-y: auto; background: var(--eh-bg); }
.eh-ob-panel { max-width: 680px; animation: eh-fadein .4s ease both; }

@keyframes eh-fadein { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

.eh-step-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--eh-teal-xpale); color: var(--eh-teal);
  padding: 6px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 20px;
}
.eh-ob-h1 {
  font-family: var(--eh-font);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--eh-navy);
  margin-bottom: 16px;
}
.eh-ob-h1 em { color: var(--eh-teal-mid); font-style: normal; }
.eh-ob-desc { font-size: 16px; color: var(--eh-text-mid); line-height: 1.6; margin-bottom: 32px; max-width: 520px; }

/* Welcome Step */
.eh-ob-hero-img {
  border-radius: var(--eh-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--eh-navy) 0%, var(--eh-teal-mid) 100%);
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
}
.eh-ob-hero-overlay h1 { font-family: var(--eh-font); font-size: 36px; font-weight: 800; color: white; margin-bottom: 12px; }
.eh-ob-hero-overlay p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; margin-bottom: 24px; max-width: 400px; }
.eh-ob-welcome-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.eh-ob-badge { display: inline-flex; background: var(--eh-teal-light); color: white; padding: 5px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-bottom: 16px; }
.eh-ob-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--eh-border); border-radius: var(--eh-radius); overflow: hidden; }
.eh-stat { background: var(--eh-surface); padding: 20px 16px; text-align: center; }
.eh-stat strong { display: block; font-family: var(--eh-font); font-size: 24px; font-weight: 800; color: var(--eh-navy); }
.eh-stat span { font-size: 11px; font-weight: 600; color: var(--eh-text-muted); letter-spacing: .06em; }

/* Forms */
.eh-form { background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 32px; box-shadow: var(--eh-shadow); }
.eh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.eh-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--eh-text-mid); margin-bottom: 8px; }
.eh-input-wrap { position: relative; }
.eh-input-wrap input {
  width: 100%; padding: 13px 42px 13px 16px;
  background: var(--eh-bg); border: 1.5px solid var(--eh-border);
  border-radius: var(--eh-radius-sm); font-size: 14px; color: var(--eh-text);
  font-family: var(--eh-font-body);
  transition: var(--eh-transition);
}
.eh-input-wrap input:focus { outline: none; border-color: var(--eh-teal-light); background: white; box-shadow: 0 0 0 3px rgba(46,191,179,.12); }
.eh-input-wrap input::placeholder { color: var(--eh-text-muted); }
.eh-input-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--eh-text-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.eh-form-hint { font-size: 11px; color: var(--eh-text-muted); margin-top: 5px; }
.eh-form-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--eh-teal-xpale); border-radius: var(--eh-radius-sm);
  padding: 14px 16px; margin-bottom: 24px;
}
.eh-form-notice svg { width: 18px; height: 18px; fill: none; stroke: var(--eh-teal); stroke-width: 1.8; flex-shrink: 0; margin-top: 1px; }
.eh-form-notice p { font-size: 13px; color: var(--eh-text-mid); line-height: 1.5; }
.eh-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Skills Step */
.eh-skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.eh-skill-card {
  background: var(--eh-surface); border: 2px solid var(--eh-border);
  border-radius: var(--eh-radius); padding: 20px;
  cursor: pointer; transition: var(--eh-transition);
  position: relative;
}
.eh-skill-card input { display: none; }
.eh-skill-card:hover { border-color: var(--eh-teal-pale); transform: translateY(-2px); box-shadow: var(--eh-shadow); }
.eh-skill-card.selected { border-color: var(--eh-teal-mid); background: var(--eh-teal-xpale); }
.eh-skill-card-icon { font-size: 28px; margin-bottom: 12px; }
.eh-skill-card-body h3 { font-family: var(--eh-font); font-size: 16px; font-weight: 700; color: var(--eh-navy); margin-bottom: 6px; }
.eh-skill-card-body p { font-size: 13px; color: var(--eh-text-mid); line-height: 1.5; margin-bottom: 12px; }
.eh-skill-card-action { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--eh-teal); }
.eh-skill-check { display: none; }
.eh-skill-card.selected .eh-skill-card-action { color: var(--eh-accent); }
.eh-skill-card.selected .eh-skill-check { display: block; }

.eh-ob-interests { background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 24px; margin-bottom: 28px; }
.eh-ob-interests h3 { font-family: var(--eh-font); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.eh-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.eh-tag-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 50px;
  border: 1.5px solid var(--eh-border);
  background: var(--eh-surface); color: var(--eh-text-mid);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: var(--eh-transition);
}
.eh-tag-chip:hover { border-color: var(--eh-teal-pale); color: var(--eh-teal); }
.eh-tag-chip.active { background: var(--eh-teal-mid); color: white; border-color: var(--eh-teal-mid); }
.eh-tag-add { border-style: dashed; }

/* Complete Step */
.eh-ob-complete .eh-ob-h1 em { font-style: italic; }
.eh-complete-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.eh-complete-card { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 24px; border: 1.5px solid var(--eh-border); }
.eh-cc-icon { font-size: 28px; margin-bottom: 12px; background: var(--eh-teal-xpale); width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.eh-complete-card h3 { font-family: var(--eh-font); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.eh-complete-card p { font-size: 13px; color: var(--eh-text-mid); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════════════════════ */

.eh-dashboard-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.eh-dash-left { min-width: 0; }
.eh-dash-right { display: flex; flex-direction: column; gap: 20px; }

.eh-welcome-title { font-family: var(--eh-font); font-size: 32px; font-weight: 800; color: var(--eh-navy); margin-bottom: 6px; }
.eh-welcome-sub { font-size: 15px; color: var(--eh-text-mid); margin-bottom: 28px; }

/* Next Shift Card */
.eh-next-shift-card {
  background: linear-gradient(135deg, #a8e8e4 0%, #7dd9d3 100%);
  border-radius: var(--eh-radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.eh-next-shift-card::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}
.eh-ns-badge { display: inline-flex; background: var(--eh-dark); color: white; padding: 5px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: .07em; margin-bottom: 12px; }
.eh-next-shift-card h2 { font-family: var(--eh-font); font-size: 24px; font-weight: 800; color: var(--eh-navy); margin-bottom: 12px; }
.eh-ns-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--eh-teal); font-weight: 500; margin-bottom: 24px; }
.eh-next-shift-empty { background: var(--eh-surface); border: 2px dashed var(--eh-border); }
.eh-next-shift-empty h2, .eh-next-shift-empty p { color: var(--eh-text-mid); }

/* Section Header */
.eh-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.eh-section-title { font-family: var(--eh-font); font-size: 20px; font-weight: 700; color: var(--eh-navy); }
.eh-section-sub { font-size: 13px; color: var(--eh-text-muted); margin-top: 3px; }

/* Recommended Grid */
.eh-reco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.eh-reco-card { background: var(--eh-surface); border-radius: var(--eh-radius); overflow: hidden; border: 1px solid var(--eh-border); transition: var(--eh-transition); }
.eh-reco-card:hover { transform: translateY(-3px); box-shadow: var(--eh-shadow-lg); }
.eh-reco-thumb {
  height: 120px; background: var(--eh-teal-mid); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-start; padding: 10px;
}
.eh-reco-no-thumb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.eh-reco-cat-icon { font-size: 32px; }
.eh-reco-cat { background: rgba(0,0,0,.5); color: white; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 50px; letter-spacing: .06em; }
.eh-reco-body { padding: 14px; }
.eh-reco-body h3 { font-family: var(--eh-font); font-size: 14px; font-weight: 700; color: var(--eh-navy); margin-bottom: 6px; line-height: 1.3; }
.eh-reco-date { font-size: 12px; color: var(--eh-text-muted); margin-bottom: 10px; }
.eh-reco-footer { display: flex; align-items: center; justify-content: space-between; }
.eh-reco-slots { font-size: 12px; color: var(--eh-text-mid); font-weight: 500; }
.eh-reco-urgent { font-size: 12px; color: #dc3545; font-weight: 600; }

/* Impact Card */
.eh-impact-card { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 24px; border: 1px solid var(--eh-border); }
.eh-impact-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.eh-impact-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--eh-text-muted); }
.eh-impact-hours { font-family: var(--eh-font); font-size: 44px; font-weight: 800; color: var(--eh-navy); margin-bottom: 6px; }
.eh-impact-hours span { font-size: 20px; font-weight: 500; color: var(--eh-text-mid); }
.eh-impact-level-row { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--eh-text-muted); letter-spacing: .04em; margin-bottom: 8px; }
.eh-impact-bar { height: 6px; background: var(--eh-border); border-radius: 3px; overflow: hidden; }
.eh-impact-fill { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); border-radius: 3px; transition: width .8s ease; }

/* Badge Card */
.eh-badge-card { background: #e8eaf8; border-radius: var(--eh-radius); padding: 20px; }
.eh-badge-card h3 { font-family: var(--eh-font); font-size: 16px; font-weight: 700; color: #3d3d8f; margin-bottom: 6px; }
.eh-badge-card p { font-size: 13px; color: #5a5a9f; margin-bottom: 14px; line-height: 1.5; }
.eh-badge-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.5); border-radius: var(--eh-radius-sm); padding: 10px 14px; font-size: 12px; font-weight: 700; color: #3d3d8f; letter-spacing: .05em; }
.eh-badge-icon { font-size: 20px; }

/* ══════════════════════════════════════════════════════════════
   EVENTS LIST
   ══════════════════════════════════════════════════════════════ */

.eh-page-head { margin-bottom: 24px; }
.eh-page-head h1 { font-family: var(--eh-font); font-size: 28px; font-weight: 800; color: var(--eh-navy); }
.eh-page-head p { color: var(--eh-text-mid); font-size: 15px; }

.eh-event-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.eh-filter-btn {
  padding: 8px 18px; border-radius: 50px;
  border: 1.5px solid var(--eh-border);
  background: var(--eh-surface); color: var(--eh-text-mid);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: var(--eh-transition);
}
.eh-filter-btn:hover, .eh-filter-btn.active { background: var(--eh-teal-mid); color: white; border-color: var(--eh-teal-mid); }

.eh-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.eh-event-card { background: var(--eh-surface); border-radius: var(--eh-radius-lg); overflow: hidden; border: 1px solid var(--eh-border); transition: var(--eh-transition); }
.eh-event-card:hover { transform: translateY(-4px); box-shadow: var(--eh-shadow-lg); }
.eh-event-thumb {
  height: 160px; background: var(--eh-teal-mid); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 12px;
}
.eh-event-thumb-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 48px; }
.eh-event-status-badge {
  padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
}
.eh-status-coming_soon { background: var(--eh-teal-mid); color: white; }
.eh-status-open { background: #28a745; color: white; }
.eh-status-full { background: #dc3545; color: white; }
.eh-status-closed { background: #6c757d; color: white; }

.eh-event-body { padding: 18px; }
.eh-event-cat { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--eh-teal); display: block; margin-bottom: 8px; }
.eh-event-body h2 { font-family: var(--eh-font); font-size: 17px; font-weight: 700; color: var(--eh-navy); margin-bottom: 8px; line-height: 1.3; }
.eh-event-date, .eh-event-loc { font-size: 13px; color: var(--eh-text-muted); margin-bottom: 4px; }
.eh-event-slots-bar { height: 4px; background: var(--eh-border); border-radius: 2px; overflow: hidden; margin: 10px 0 4px; }
.eh-event-slots-fill { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); }
.eh-event-slots-label { font-size: 11px; color: var(--eh-text-muted); }

.eh-empty-state { text-align: center; padding: 60px 20px; }
.eh-empty-icon { font-size: 56px; display: block; margin-bottom: 16px; }
.eh-empty-state h2 { font-family: var(--eh-font); font-size: 20px; color: var(--eh-text-mid); margin-bottom: 8px; }
.eh-empty-state p { color: var(--eh-text-muted); font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   EVENT DETAIL
   ══════════════════════════════════════════════════════════════ */

.eh-event-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.eh-event-detail-left { min-width: 0; }

.eh-breadcrumb-page { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--eh-text-muted); margin-bottom: 16px; }
.eh-breadcrumb-page a { color: var(--eh-teal); text-decoration: none; font-weight: 600; }

.eh-event-detail-left h1 { font-family: var(--eh-font); font-size: 32px; font-weight: 800; color: var(--eh-navy); margin-bottom: 8px; }
.eh-event-detail-sub { font-size: 16px; color: var(--eh-text-mid); margin-bottom: 28px; }

/* App Steps */
.eh-app-steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.eh-app-step { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.eh-app-step span { width: 36px; height: 36px; border-radius: 50%; background: var(--eh-border); color: var(--eh-text-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.eh-app-step small { font-size: 11px; color: var(--eh-text-muted); }
.eh-app-step.active span { background: var(--eh-dark); color: white; }
.eh-app-step-line { flex: 1; height: 2px; background: var(--eh-border); margin: 0 8px; margin-bottom: 16px; }

.eh-event-detail-section { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 24px; margin-bottom: 20px; border: 1px solid var(--eh-border); }
.eh-event-detail-section h2 { font-family: var(--eh-font); font-size: 20px; font-weight: 700; color: var(--eh-navy); margin-bottom: 12px; }
.eh-event-content { font-size: 14px; color: var(--eh-text-mid); line-height: 1.7; margin-bottom: 16px; }
.eh-event-meta-pills { display: flex; gap: 12px; flex-wrap: wrap; }
.eh-meta-pill { background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 12px 16px; flex: 1; min-width: 160px; }
.eh-mp-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--eh-text-muted); margin-bottom: 4px; }

/* Shifts List */
.eh-shifts-list { display: flex; flex-direction: column; gap: 10px; }
.eh-shift-item { display: flex; align-items: center; justify-content: space-between; background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 14px 16px; gap: 12px; }
.eh-shift-item.full { opacity: .6; }
.eh-shift-info { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--eh-text-mid); flex: 1; }
.eh-shift-info strong { font-weight: 700; color: var(--eh-navy); font-size: 14px; }
.eh-shift-slots { display: flex; align-items: center; gap: 8px; }
.eh-full-badge, .eh-slots-badge { padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.eh-full-badge { background: #f8d7da; color: #721c24; }
.eh-slots-badge { background: var(--eh-teal-xpale); color: var(--eh-teal); }

/* Application Form */
.eh-apply-checks { margin-bottom: 20px; }
.eh-apply-checks h3 { font-size: 14px; font-weight: 600; color: var(--eh-text-mid); margin-bottom: 12px; }
.eh-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eh-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 10px 12px; font-size: 13px; border: 1.5px solid var(--eh-border); transition: var(--eh-transition); }
.eh-checkbox:hover { border-color: var(--eh-teal-pale); }
.eh-checkbox input { accent-color: var(--eh-teal); }

.eh-apply-role label, .eh-apply-motivation label { display: block; font-size: 13px; font-weight: 600; color: var(--eh-text-mid); margin-bottom: 8px; }
.eh-apply-role select, .eh-apply-motivation textarea {
  width: 100%; padding: 12px 16px;
  background: var(--eh-bg); border: 1.5px solid var(--eh-border);
  border-radius: var(--eh-radius-sm); font-size: 14px; font-family: var(--eh-font-body);
  color: var(--eh-text);
}
.eh-apply-role { margin-bottom: 16px; }
.eh-apply-motivation { margin-bottom: 20px; }
.eh-apply-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* Detail Sidebar */
.eh-event-detail-card { background: var(--eh-surface); border-radius: var(--eh-radius); overflow: hidden; border: 1px solid var(--eh-border); margin-bottom: 16px; }
.eh-event-detail-thumb { height: 180px; background: var(--eh-teal-mid); background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-start; padding: 12px; }
.eh-event-detail-card-body { padding: 16px; }
.eh-event-detail-card-body h3 { font-family: var(--eh-font); font-size: 18px; font-weight: 700; color: var(--eh-navy); margin-bottom: 8px; }
.eh-edc-row { font-size: 13px; color: var(--eh-text-mid); margin-bottom: 4px; }
.eh-addr { color: var(--eh-text-muted); font-size: 12px; }

.eh-app-health-card { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 18px; border: 1px solid var(--eh-border); margin-bottom: 16px; }
.eh-app-health-card h3 { font-family: var(--eh-font); font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--eh-text-muted); margin-bottom: 12px; }
.eh-ah-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.eh-health-bar { height: 8px; background: var(--eh-border); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.eh-health-fill { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); }
.eh-ah-deadline { font-size: 12px; color: #dc3545; margin-bottom: 12px; font-weight: 500; }
.eh-ah-tip { background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 12px; font-size: 12px; color: var(--eh-text-mid); line-height: 1.5; }
.eh-ah-tip strong { color: var(--eh-text); }

.eh-event-help-card { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 16px; border: 1px solid var(--eh-border); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eh-help-icon { font-size: 24px; background: var(--eh-teal-xpale); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eh-event-help-card h4 { font-size: 14px; font-weight: 700; color: var(--eh-navy); }
.eh-event-help-card p { font-size: 12px; color: var(--eh-text-muted); }
.eh-login-prompt { text-align: center; padding: 24px; }
.eh-login-prompt p { color: var(--eh-text-mid); margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════════════
   PLANNER
   ══════════════════════════════════════════════════════════════ */

.eh-planner-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.eh-planner-head h1 { font-family: var(--eh-font); font-size: 28px; font-weight: 800; color: var(--eh-navy); }
.eh-planner-head p { font-size: 14px; color: var(--eh-text-mid); }
.eh-planner-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.eh-view-toggle { display: flex; background: var(--eh-surface); border-radius: var(--eh-radius-sm); border: 1px solid var(--eh-border); overflow: hidden; }
.eh-view-toggle button { padding: 8px 18px; background: none; border: none; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--eh-text-mid); }
.eh-view-toggle button.active { background: var(--eh-dark); color: white; }

.eh-planner-legend {
  display: flex; align-items: center; gap: 20px;
  background: var(--eh-surface); border-radius: var(--eh-radius-sm);
  padding: 12px 20px; margin-bottom: 20px; flex-wrap: wrap;
  border: 1px solid var(--eh-border);
}
.eh-legend-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--eh-text-mid); }
.eh-dot { width: 8px; height: 8px; border-radius: 50%; }
.eh-dot-available { background: var(--eh-accent); }
.eh-dot-assigned { background: var(--eh-navy); }
.eh-dot-full { background: var(--eh-text-muted); }
.eh-planner-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--eh-text-mid); }
.eh-planner-nav button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--eh-border); background: var(--eh-surface); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.eh-planner-nav button:hover { background: var(--eh-teal-xpale); border-color: var(--eh-teal-pale); }

/* Week Grid */
.eh-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--eh-border); border-radius: var(--eh-radius); overflow: hidden; margin-bottom: 24px; min-height: 360px; }
.eh-week-col { background: var(--eh-surface); }
.eh-week-col.today { background: var(--eh-teal-xpale); }
.eh-week-col-head { padding: 12px; text-align: center; border-bottom: 1px solid var(--eh-border); }
.eh-week-day { font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--eh-text-muted); text-transform: uppercase; }
.eh-week-date { font-family: var(--eh-font); font-size: 22px; font-weight: 800; color: var(--eh-navy); }
.eh-week-col.today .eh-week-date { color: var(--eh-teal-mid); }

.eh-week-shifts { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.eh-week-empty { font-size: 11px; color: var(--eh-text-muted); text-align: center; padding: 20px 8px; }

.eh-shift-block {
  border-radius: var(--eh-radius-sm); padding: 10px 12px;
  font-size: 12px; cursor: pointer;
  transition: var(--eh-transition);
}
.eh-shift-available { background: var(--eh-bg); border: 1px solid var(--eh-border); }
.eh-shift-available:hover { border-color: var(--eh-teal-pale); background: var(--eh-teal-xpale); }
.eh-shift-assigned { background: var(--eh-navy); color: white; }
.eh-shift-full { background: var(--eh-border); color: var(--eh-text-muted); }
.eh-shift-high { background: #fff3cd; border: 1px solid #ffc107; }

.eh-shift-priority-tag { display: block; font-size: 9px; font-weight: 700; letter-spacing: .07em; margin-bottom: 4px; color: #856404; }
.eh-assigned-tag { color: rgba(255,255,255,.6) !important; }
.eh-shift-block-title { font-weight: 700; color: var(--eh-navy); margin-bottom: 3px; font-size: 13px; }
.eh-shift-assigned .eh-shift-block-title { color: white; }
.eh-shift-block-time { color: var(--eh-text-muted); font-size: 11px; }
.eh-shift-assigned .eh-shift-block-time { color: rgba(255,255,255,.7); }
.eh-shift-full-note { font-size: 11px; color: var(--eh-text-muted); margin-top: 4px; }
.eh-shift-join-btn { margin-top: 6px; width: 100%; background: var(--eh-teal-xpale); color: var(--eh-teal); border: none; border-radius: 4px; padding: 5px; font-size: 11px; font-weight: 600; cursor: pointer; transition: var(--eh-transition); }
.eh-shift-join-btn:hover { background: var(--eh-accent); color: white; }

/* Planner Footer */
.eh-planner-footer-cards { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.eh-impact-progress-card { background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 28px; border: 1px solid var(--eh-border); }
.eh-impact-progress-card h2 { font-family: var(--eh-font); font-size: 22px; font-weight: 800; color: var(--eh-navy); margin-bottom: 8px; }
.eh-impact-progress-card p { font-size: 14px; color: var(--eh-text-mid); line-height: 1.6; margin-bottom: 16px; }
.eh-progress-bar-big { height: 8px; background: var(--eh-border); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.eh-progress-fill-big { height: 100%; background: linear-gradient(90deg, var(--eh-accent), var(--eh-mint)); }
.eh-progress-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--eh-text-muted); }

.eh-lead-card { background: var(--eh-teal-xpale); border-radius: var(--eh-radius-lg); padding: 28px; text-align: center; }
.eh-lead-icon { font-size: 32px; margin-bottom: 12px; background: var(--eh-teal-pale); width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.eh-lead-card h3 { font-family: var(--eh-font); font-size: 18px; font-weight: 800; color: var(--eh-navy); margin-bottom: 8px; }
.eh-lead-card p { font-size: 13px; color: var(--eh-text-mid); line-height: 1.5; margin-bottom: 16px; }

/* ══════════════════════════════════════════════════════════════
   PROFILE
   ══════════════════════════════════════════════════════════════ */

.eh-profile-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.eh-profile-head h1 { font-family: var(--eh-font); font-size: 28px; font-weight: 800; color: var(--eh-navy); }
.eh-profile-head p { font-size: 14px; color: var(--eh-text-mid); }

.eh-profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.eh-profile-left { display: flex; flex-direction: column; gap: 16px; }
.eh-profile-right { display: flex; flex-direction: column; gap: 20px; }

.eh-profile-card { background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 28px; border: 1px solid var(--eh-border); text-align: center; }
.eh-profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: 14px; }
.eh-profile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--eh-teal-pale); }
.eh-avatar-edit-btn { position: absolute; bottom: 0; right: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--eh-teal); color: white; border: 2px solid white; cursor: pointer; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.eh-profile-name { font-family: var(--eh-font); font-size: 20px; font-weight: 800; color: var(--eh-navy); margin-bottom: 4px; }
.eh-profile-role { font-size: 13px; color: var(--eh-text-muted); margin-bottom: 20px; }
.eh-profile-fields { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.eh-profile-field { display: flex; flex-direction: column; gap: 3px; }
.eh-pf-label { font-size: 10px; font-weight: 700; letter-spacing: .07em; color: var(--eh-text-muted); }
.eh-profile-input { width: 100%; padding: 8px 12px; background: var(--eh-bg); border: 1.5px solid var(--eh-border); border-radius: 6px; font-size: 13px; font-family: var(--eh-font-body); color: var(--eh-text); }
.eh-profile-input:focus { outline: none; border-color: var(--eh-teal-light); }

.eh-hours-badge-card { background: var(--eh-teal-mid); border-radius: var(--eh-radius); padding: 20px; display: flex; align-items: center; gap: 12px; }
.eh-hb-hours { font-family: var(--eh-font); font-size: 36px; font-weight: 800; color: white; }
.eh-hb-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.eh-hb-icon { margin-left: auto; font-size: 28px; background: rgba(255,255,255,.2); width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.eh-profile-section { background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 24px; border: 1px solid var(--eh-border); }
.eh-profile-section h2 { font-family: var(--eh-font); font-size: 18px; font-weight: 700; color: var(--eh-navy); }
.eh-section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; }
.eh-section-desc { font-size: 13px; color: var(--eh-text-muted); margin-bottom: 16px; }

/* Skills Grid */
.eh-skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.eh-skill-tag {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--eh-radius-sm);
  border: 1.5px solid var(--eh-border); background: var(--eh-bg);
  cursor: pointer; transition: var(--eh-transition); position: relative;
}
.eh-skill-tag:hover { border-color: var(--eh-teal-pale); }
.eh-skill-tag.active { border-color: var(--eh-teal-light); background: var(--eh-teal-xpale); }
.eh-st-icon { font-size: 22px; }
.eh-st-label { font-size: 13px; font-weight: 600; color: var(--eh-navy); }
.eh-st-sub { font-size: 11px; color: var(--eh-text-muted); }
.eh-st-check, .eh-st-add { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--eh-teal); }
.eh-st-add { color: var(--eh-text-muted); }

/* Availability */
.eh-availability-table { display: flex; flex-direction: column; gap: 8px; }
.eh-avail-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--eh-radius-sm); background: var(--eh-bg); border: 1.5px solid var(--eh-border); transition: var(--eh-transition); }
.eh-avail-row.active { border-color: var(--eh-teal-pale); background: var(--eh-teal-xpale); }
.eh-avail-check input { accent-color: var(--eh-teal); width: 16px; height: 16px; cursor: pointer; }
.eh-avail-day { font-size: 14px; font-weight: 600; color: var(--eh-navy); min-width: 80px; }
.eh-avail-times { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.eh-time-range { background: white; border: 1px solid var(--eh-border); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--eh-teal); }
.eh-unavail { font-size: 13px; color: var(--eh-text-muted); font-style: italic; }
.eh-avail-action { background: none; border: 1px solid var(--eh-border); border-radius: 6px; width: 28px; height: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.eh-avail-action:disabled { opacity: .4; cursor: default; }
.eh-advanced-btn { margin-top: 12px; background: none; border: none; color: var(--eh-teal); font-size: 13px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 4px; }

.eh-view-toggle-sm { display: flex; background: var(--eh-bg); border-radius: 6px; border: 1px solid var(--eh-border); overflow: hidden; }
.eh-view-toggle-sm button { padding: 6px 14px; background: none; border: none; font-size: 12px; font-weight: 500; cursor: pointer; color: var(--eh-text-muted); }
.eh-view-toggle-sm button.active { background: var(--eh-dark); color: white; }

.eh-profile-footer { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: var(--eh-surface); border-radius: var(--eh-radius); margin-top: 8px; border: 1px solid var(--eh-border); flex-wrap: wrap; gap: 12px; }
.eh-profile-footer p { font-size: 13px; color: var(--eh-text-muted); }
.eh-profile-footer-btns { display: flex; gap: 10px; }

/* ══════════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════════ */

.eh-team-header { display: flex; align-items: flex-start; gap: 20px; background: var(--eh-surface); border-radius: var(--eh-radius-lg); padding: 24px; border: 1px solid var(--eh-border); margin-bottom: 20px; }
.eh-team-header-thumb { position: relative; width: 80px; height: 80px; border-radius: var(--eh-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--eh-teal-mid); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.eh-team-header-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eh-verified-badge { position: absolute; bottom: 2px; right: 2px; width: 20px; height: 20px; background: var(--eh-teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; border: 2px solid white; }
.eh-team-header-info h1 { font-family: var(--eh-font); font-size: 22px; font-weight: 800; color: var(--eh-navy); margin-bottom: 2px; }
.eh-team-header-info h2 { font-family: var(--eh-font); font-size: 15px; font-weight: 600; color: var(--eh-teal); margin-bottom: 6px; }
.eh-team-header-info p { font-size: 13px; color: var(--eh-text-mid); line-height: 1.5; margin-bottom: 10px; }
.eh-team-stats { display: flex; gap: 20px; font-size: 13px; color: var(--eh-text-mid); }
.eh-team-stats strong { color: var(--eh-navy); }

.eh-team-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--eh-border); margin-bottom: 20px; }
.eh-team-tab { padding: 12px 20px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 14px; font-weight: 500; color: var(--eh-text-muted); cursor: pointer; transition: var(--eh-transition); }
.eh-team-tab.active { color: var(--eh-teal); border-bottom-color: var(--eh-teal); font-weight: 700; }

.eh-team-body { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.eh-team-section { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 20px; border: 1px solid var(--eh-border); margin-bottom: 16px; }
.eh-team-section h2 { font-family: var(--eh-font); font-size: 17px; font-weight: 700; color: var(--eh-navy); }
.eh-new-badge { background: var(--eh-accent); color: white; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 50px; margin-left: 6px; }

.eh-team-shift-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--eh-border); }
.eh-team-shift-item:last-child { border-bottom: none; }
.eh-ts-date { width: 40px; text-align: center; background: var(--eh-teal-xpale); border-radius: var(--eh-radius-sm); padding: 6px; }
.eh-ts-date strong { display: block; font-family: var(--eh-font); font-size: 18px; font-weight: 800; color: var(--eh-teal); }
.eh-ts-date span { font-size: 10px; font-weight: 700; color: var(--eh-text-muted); letter-spacing: .05em; }
.eh-ts-info { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--eh-text-mid); }
.eh-ts-info strong { font-size: 14px; font-weight: 700; color: var(--eh-navy); }

/* Announcements */
.eh-announcement { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--eh-border); }
.eh-announcement:last-of-type { border-bottom: none; }
.eh-ann-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.eh-ann-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.eh-ann-meta strong { font-size: 14px; font-weight: 700; color: var(--eh-navy); }
.eh-ann-body p { font-size: 14px; color: var(--eh-text-mid); line-height: 1.6; margin-bottom: 8px; }
.eh-ann-attachment { background: var(--eh-bg); border-radius: 6px; padding: 8px 12px; font-size: 13px; color: var(--eh-text-mid); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.eh-ann-actions { display: flex; gap: 8px; }
.eh-ann-like { background: none; border: 1px solid var(--eh-border); border-radius: 50px; padding: 4px 12px; font-size: 12px; cursor: pointer; color: var(--eh-text-mid); }
.eh-ann-like:hover { background: var(--eh-bg); }

.eh-post-message { background: var(--eh-bg); border-radius: var(--eh-radius-sm); padding: 12px; margin-top: 8px; border: 1.5px solid var(--eh-border); }
.eh-post-message textarea { width: 100%; background: none; border: none; font-size: 14px; font-family: var(--eh-font-body); color: var(--eh-text); resize: none; height: 60px; }
.eh-post-message textarea:focus { outline: none; }
.eh-post-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.eh-btn-icon-send { width: 32px; height: 32px; border-radius: 50%; background: var(--eh-dark); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Team Sidebar */
.eh-team-members-card { background: var(--eh-surface); border-radius: var(--eh-radius); padding: 18px; border: 1px solid var(--eh-border); }
.eh-team-members-card h3 { font-family: var(--eh-font); font-size: 15px; font-weight: 700; color: var(--eh-navy); }
.eh-member-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--eh-border); }
.eh-member-row:last-of-type { border-bottom: none; }
.eh-member-avatar { width: 34px; height: 34px; border-radius: 50%; }
.eh-member-info strong { display: block; font-size: 13px; font-weight: 700; color: var(--eh-navy); }
.eh-member-role { font-size: 11px; color: var(--eh-text-muted); }

/* Teams list */
.eh-teams-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.eh-team-card-link { text-decoration: none; }
.eh-team-card { display: flex; align-items: center; gap: 14px; background: var(--eh-surface); border-radius: var(--eh-radius); padding: 18px 20px; border: 1px solid var(--eh-border); transition: var(--eh-transition); }
.eh-team-card:hover { border-color: var(--eh-teal-pale); transform: translateX(4px); }
.eh-team-icon { font-size: 28px; }
.eh-team-card h3 { font-family: var(--eh-font); font-size: 16px; font-weight: 700; color: var(--eh-navy); }
.eh-team-card p { font-size: 13px; color: var(--eh-text-muted); }
.eh-team-card > span { margin-left: auto; font-size: 20px; color: var(--eh-teal); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════ */

.eh-muted { color: var(--eh-text-muted); font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .eh-dashboard-grid { grid-template-columns: 1fr; }
  .eh-dash-right { flex-direction: row; flex-wrap: wrap; }
  .eh-dash-right > * { flex: 1; min-width: 240px; }
  .eh-event-detail-grid { grid-template-columns: 1fr; }
  .eh-planner-footer-cards { grid-template-columns: 1fr; }
  .eh-team-body { grid-template-columns: 1fr; }
  .eh-profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .eh-nav { display: none; }
  .eh-page-content { padding: 16px; }
  .eh-ob-main { padding: 24px 20px; }
  .eh-form-grid { grid-template-columns: 1fr; }
  .eh-ob-stats { grid-template-columns: 1fr 1fr; }
  .eh-week-grid { grid-template-columns: repeat(7, minmax(100px,1fr)); overflow-x: auto; }
  .eh-skill-grid { grid-template-columns: 1fr; }
  .eh-check-grid { grid-template-columns: 1fr; }
  .eh-complete-cards { grid-template-columns: 1fr; }
  .eh-topbar { padding: 12px 16px; }
}

/* ═══════════════════════════════════════════
   SHIFT SECTION – Event Detail (v2)
═══════════════════════════════════════════ */
.eh-shifts-count {
    display: inline-block;
    background: var(--eh-teal-light);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    padding: 1px 9px;
    margin-left: 8px;
    vertical-align: middle;
}
.eh-shifts-date-group { margin-bottom: 20px; }
.eh-shifts-date-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--eh-teal);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0eeee;
}
.eh-shift-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1.5px solid #e0eeee;
    background: #fafefe;
    margin-bottom: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.eh-shift-item.enrolled {
    border-color: var(--eh-teal-light);
    background: #f0fdfb;
}
.eh-shift-item.full { opacity: .65; }
.eh-shift-item.urgent { border-color: #f59e0b; background: #fffbeb; }
.eh-shift-item:hover { box-shadow: 0 2px 12px rgba(0,180,160,.12); }

.eh-shift-main { flex: 1; min-width: 0; }
.eh-shift-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.eh-shift-title-row strong { font-size: 14px; color: var(--eh-navy); }
.eh-badge-urgent {
    font-size: 11px; font-weight: 700;
    background: #fef3c7; color: #92400e;
    padding: 1px 8px; border-radius: 20px;
}
.eh-badge-enrolled {
    font-size: 11px; font-weight: 700;
    background: #d1fae5; color: #065f46;
    padding: 1px 8px; border-radius: 20px;
}
.eh-shift-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}
.eh-shift-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.eh-shift-progress-bar {
    flex: 1;
    height: 5px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.eh-shift-progress-fill {
    height: 100%;
    background: var(--eh-teal-light);
    border-radius: 10px;
    transition: width .4s;
}
.eh-shift-slots-label { font-size: 11px; white-space: nowrap; }
.eh-slots-badge  { color: var(--eh-teal); font-weight: 600; }
.eh-full-badge   { color: #dc2626; font-weight: 600; }
.eh-shift-action { flex-shrink: 0; }
.eh-no-shifts {
    text-align: center;
    color: #9ca3af;
    padding: 28px 0;
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   PLANNER SHIFT BLOCK (v2)
═══════════════════════════════════════════ */
.eh-shift-block-event {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eh-shift-block-loc {
    font-size: 10px;
    opacity: .7;
    margin-top: 3px;
}
.eh-shift-leave-btn {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 4px 0;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.2);
    color: inherit;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}
.eh-shift-leave-btn:hover { background: rgba(220,38,38,.25); }

/* ═══════════════════════════════════════════
   TOPBAR – Avatar Dropdown
═══════════════════════════════════════════ */
.eh-topbar-user { position: relative; }

.eh-avatar-link {
    display: block;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35);
    transition: border-color .2s;
    cursor: pointer;
}
.eh-avatar-link:hover { border-color: rgba(255,255,255,.8); }
.eh-avatar-link img { display: block; border-radius: 50%; }

.eh-topbar-user-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    min-width: 220px;
    z-index: 500;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.eh-topbar-user-menu.open { display: block; }

.eh-user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--eh-bg);
    border-bottom: 1px solid #e5e7eb;
}
.eh-user-menu-header img { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.eh-user-menu-name  { font-weight: 700; font-size: 14px; color: var(--eh-navy); }
.eh-user-menu-email { font-size: 11px; color: #888; margin-top: 1px; }

.eh-topbar-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 13px;
    color: var(--eh-navy);
    text-decoration: none;
    transition: background .12s;
}
.eh-topbar-user-menu a:hover { background: var(--eh-bg); }
.eh-user-menu-sep { height: 1px; background: #f0f0f0; margin: 4px 0; }
.eh-user-menu-logout { color: #dc2626 !important; }
.eh-user-menu-logout:hover { background: #fee2e2 !important; }

/* ═══════════════════════════════════════════
   PLANNER – today highlight (v2)
═══════════════════════════════════════════ */
.eh-week-col-head.today {
    background: linear-gradient(135deg, #0d5c5c 0%, #2ebfb3 100%);
    border-radius: 10px 10px 0 0;
    margin: -4px -4px 8px;
    padding: 8px 4px 10px;
}
.eh-week-col-head.today .eh-week-day,
.eh-week-col-head.today .eh-week-date { color: #fff; }

.eh-week-date.today-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.eh-today-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: rgba(255,255,255,.25);
    border-radius: 10px;
    padding: 1px 6px;
    color: #fff;
}

/* Apply status banners */
.eh-apply-status-banner {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}
.eh-apply-status-banner.ok       { background: #d1fae5; color: #065f46; }
.eh-apply-status-banner.pending  { background: #fef9c3; color: #854d0e; }
.eh-apply-status-banner.rejected { background: #fee2e2; color: #991b1b; }

/* Shifts locked */
.eh-shifts-locked {
    padding: 20px;
    background: #f3f4f6;
    border-radius: 10px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   LEAD DASHBOARD
═══════════════════════════════════════════ */
.eh-page-lead { background: var(--eh-bg); }

.eh-lead-hero {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.eh-lead-hero h1 { margin: 0 0 6px; font-size: 26px; }
.eh-lead-hero p  { margin: 0; color: #6b7280; }

.eh-lead-badge-card {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #0d5c5c, #2ebfb3);
    color: #fff; padding: 12px 20px; border-radius: 12px;
    font-weight: 700; font-size: 15px;
}
.eh-lead-crown { font-size: 24px; }

.eh-lead-ressort-block {
    background: #fff; border-radius: 16px; padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    margin-bottom: 24px;
    border-top: 4px solid var(--res-color, #2ebfb3);
}
.eh-lead-ressort-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 16px; margin-bottom: 16px; flex-wrap: wrap;
}
.eh-lead-ressort-header h2 { margin: 0 0 4px; font-size: 20px; color: var(--eh-navy); }
.eh-lead-event-tag {
    display: inline-block; font-size: 12px; color: #6b7280;
    background: var(--eh-bg); padding: 2px 10px; border-radius: 20px;
}
.eh-lead-desc { font-size: 13px; color: #6b7280; margin: 6px 0 0; }

.eh-lead-ressort-stats { display: flex; gap: 20px; }
.eh-lead-stat { text-align: center; }
.eh-lead-stat .num { display: block; font-size: 24px; font-weight: 700; color: var(--res-color, #2ebfb3); }
.eh-lead-stat .lbl { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; }

.eh-lead-progress-row {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
    font-size: 13px; color: #6b7280;
}
.eh-lead-progress-bar {
    flex: 1; height: 8px; background: #e5e7eb; border-radius: 8px; overflow: hidden;
}
.eh-lead-progress-fill {
    height: 100%; background: var(--res-color, #2ebfb3); border-radius: 8px; transition: width .5s;
}

.eh-lead-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f0f0; }
.eh-lead-section h3 { margin: 0 0 14px; font-size: 16px; color: var(--eh-teal); }

.eh-lead-shifts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.eh-lead-shift-card {
    background: var(--eh-bg); border-radius: 10px; padding: 14px 16px;
    border: 1.5px solid #e5e7eb; position: relative;
}
.eh-lead-shift-card.urgent { border-color: #f59e0b; background: #fffbeb; }
.eh-lead-urgent-tag {
    font-size: 10px; font-weight: 700; color: #92400e;
    background: #fef3c7; padding: 1px 7px; border-radius: 20px;
    display: inline-block; margin-bottom: 6px;
}
.eh-lead-shift-title { font-weight: 700; font-size: 14px; color: var(--eh-navy); margin-bottom: 6px; }
.eh-lead-shift-meta { font-size: 12px; color: #6b7280; display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.eh-lead-shift-slots { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.eh-lead-mini-bar { flex: 1; height: 5px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.eh-lead-shift-status { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 20px; }
.eh-lss-open  { background: #d1fae5; color: #065f46; }
.eh-lss-full  { background: #fee2e2; color: #991b1b; }
.eh-lss-done  { background: #e0e7ff; color: #3730a3; }

.eh-lead-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px; }
.eh-lead-member-card {
    display: flex; align-items: center; gap: 12px;
    background: var(--eh-bg); border-radius: 10px; padding: 12px;
}
.eh-lead-member-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #0d5c5c, #2ebfb3);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.eh-lead-member-info { flex: 1; min-width: 0; }
.eh-lead-member-info strong { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-lead-member-level { font-size: 11px; color: #2ebfb3; font-weight: 600; }
.eh-lead-member-skills { display: block; font-size: 10px; color: #9ca3af; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-lead-member-hours { font-size: 13px; font-weight: 700; color: #0d5c5c; flex-shrink: 0; }

.eh-lead-announce-box {
    background: #f9fefe; border: 1.5px solid #d1eeee; border-radius: 12px;
    padding: 16px; margin-top: 4px;
}
.eh-lead-announce-box h4 { margin: 0 0 10px; font-size: 14px; color: var(--eh-teal); }
.eh-lead-announce-box textarea {
    width: 100%; padding: 10px; border: 1px solid #cde8e8;
    border-radius: 8px; font-size: 13px; resize: vertical; box-sizing: border-box;
    margin-bottom: 10px; font-family: inherit;
}

/* ═══════════════════════════════════════════
   RESSORT CARDS in Event Detail
═══════════════════════════════════════════ */
.eh-ressorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.eh-ressort-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1.5px solid #e5e7eb;
    border-top: 3px solid var(--rc, #2ebfb3);
    transition: box-shadow .2s;
}
.eh-ressort-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.eh-ressort-card-head {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px;
}
.eh-ressort-icon { font-size: 24px; flex-shrink: 0; }
.eh-ressort-name { font-weight: 700; font-size: 14px; color: var(--eh-navy); }
.eh-ressort-lead { font-size: 11px; color: #6b7280; margin-top: 2px; }
.eh-ressort-desc { font-size: 12px; color: #6b7280; margin: 0 0 10px; }

.eh-ressort-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; color: #9ca3af; }
.eh-ressort-bar { flex: 1; height: 5px; background: #e5e7eb; border-radius: 5px; overflow: hidden; }
.eh-ressort-bar-fill { height: 100%; background: var(--rc, #2ebfb3); border-radius: 5px; }

.eh-ressort-shifts { border-top: 1px solid #f0f0f0; padding-top: 8px; }
.eh-ressort-shift-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11px; color: #555; padding: 3px 0;
    border-bottom: 1px solid #f8f8f8;
}
.eh-ressort-shift-date { color: #9ca3af; }

/* ═══════════════════════════════════════════
   SHIFT DETAIL PAGE
═══════════════════════════════════════════ */
.eh-page-shift-detail .eh-page-content { padding: 24px; max-width: 1100px; margin: 0 auto; }
.eh-shift-detail-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:10px; }
.eh-shift-status-pills { display:flex; gap:8px; flex-wrap:wrap; }
.eh-shift-status-pill { padding:4px 12px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:.5px; }
.eh-shift-status-pill.confirmed { background:#d1fae5; color:#065f46; }
.eh-shift-status-pill.open      { background:#e0f2fe; color:#0369a1; }
.eh-shift-status-pill.full      { background:#f3f4f6; color:#6b7280; }
.eh-shift-status-pill.upcoming  { background:var(--eh-bg); color:#6b7280; }

.eh-shift-detail-grid { display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; }
@media(max-width:800px) { .eh-shift-detail-grid { grid-template-columns:1fr; } }

.eh-shift-detail-h1 { font-size:clamp(22px,3vw,34px); font-weight:800; margin-bottom:10px; }
.eh-shift-detail-ressort {
    display:inline-flex; align-items:center; gap:6px;
    padding:4px 14px; border-radius:20px; font-size:13px; font-weight:700;
    background:var(--rc,#e8f4f4)22; color:var(--rc,var(--eh-teal-light));
    border:1.5px solid var(--rc,var(--eh-teal-light)); margin-bottom:20px;
}
.eh-shift-detail-meta-pills { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.eh-sdm-pill {
    display:flex; align-items:center; gap:10px;
    background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px 16px;
}
.eh-sdm-pill svg { color:var(--eh-teal-light); flex-shrink:0; }
.eh-sdm-pill span { display:block; font-size:10px; color:#9ca3af; text-transform:uppercase; letter-spacing:.5px; }
.eh-sdm-pill strong { display:block; font-size:14px; font-weight:700; color:var(--eh-navy); }

.eh-shift-detail-section { background:#fff; border-radius:14px; padding:20px 24px; margin-bottom:16px; }
.eh-shift-detail-section h2 { font-size:16px; margin-bottom:14px; color:var(--eh-teal); }

.eh-shift-checklist { display:flex; flex-direction:column; gap:10px; }
.eh-shift-check-item { display:flex; align-items:center; gap:12px; cursor:pointer; padding:10px 14px; border:1.5px solid #e5e7eb; border-radius:9px; font-size:14px; transition:border-color .15s; }
.eh-shift-check-item:has(input:checked) { border-color:var(--eh-teal-light); background:#f0fdfb; }
.eh-shift-check-item input { width:18px; height:18px; accent-color:var(--eh-teal-light); cursor:pointer; }

.eh-shift-sidebar-card { background:#fff; border-radius:14px; padding:20px; margin-bottom:16px; border:1px solid #e5e7eb; }
.eh-shift-sidebar-card h3 { font-size:15px; color:var(--eh-teal); margin-bottom:14px; }
.eh-shift-lead-card { margin-bottom:14px; }
.eh-shift-lead-label { font-size:10px; font-weight:700; color:#9ca3af; letter-spacing:.5px; text-transform:uppercase; margin-bottom:8px; }
.eh-shift-lead-info { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.eh-shift-lead-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--eh-teal),var(--eh-teal-light)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; flex-shrink:0; }
.eh-shift-lead-name { font-weight:700; font-size:14px; }
.eh-shift-lead-role { font-size:12px; color:#9ca3af; }
.eh-shift-lead-actions { display:flex; gap:8px; }
.eh-shift-lead-btn { border:1px solid #d1d5db; background:#f9fafb; color:var(--eh-teal); border-radius:7px; padding:6px 12px; font-size:12px; font-weight:600; cursor:pointer; text-decoration:none; display:inline-block; }

.eh-shift-colleagues { margin-top:14px; padding-top:14px; border-top:1px solid #f0f0f0; }
.eh-shift-colleagues-label { font-size:10px; font-weight:700; color:#9ca3af; letter-spacing:.5px; text-transform:uppercase; margin-bottom:10px; }
.eh-shift-colleague { display:flex; align-items:center; gap:10px; padding:6px 0; }
.eh-shift-colleague-avatar { width:32px; height:32px; border-radius:50%; background:var(--eh-bg); color:var(--eh-teal); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; }

.eh-shift-actions-card { display:flex; flex-direction:column; gap:10px; }
.eh-shift-action-btn { width:100%; padding:13px; border-radius:10px; font-size:15px; font-weight:700; cursor:pointer; font-family:inherit; text-align:center; border:2px solid transparent; transition:opacity .15s; }
.eh-shift-action-btn:hover { opacity:.88; }
.eh-shift-block-link { text-decoration:none; color:inherit; display:block; }
.eh-shift-block-link:hover { text-decoration:underline; text-decoration-color:rgba(255,255,255,.5); }
.eh-shift-detail-link { text-decoration:none; color:var(--eh-navy); font-weight:700; font-size:14px; }
.eh-shift-detail-link:hover { color:var(--eh-teal-light); }


/* ═══════════════════════════════════════════
   GLOBAL MOBILE FIXES
═══════════════════════════════════════════ */

/* Remove WP theme header on ALL plugin pages */
/* Covers common themes: Twenty*, Divi, Elementor, Astra, Kadence, GeneratePress */
body.is-eh-page header:not(.eh-page *),
body.is-eh-page .site-header,
body.is-eh-page #masthead,
body.is-eh-page #site-header,
body.is-eh-page .header-main,
body.is-eh-page .main-header,
body.is-eh-page nav.main-navigation,
body.is-eh-page .top-bar,
body.is-eh-page .header-top,
body.is-eh-page .ast-site-header-wrap,
body.is-eh-page .site-branding,
body.is-eh-page #nv-nav-wrap,
body.is-eh-page .nv-nav-wrap,
body.is-eh-page footer.site-footer,
body.is-eh-page #colophon { display: none !important; }

body.is-eh-page .site-content,
body.is-eh-page .entry-content,
body.is-eh-page .content-area,
body.is-eh-page main.site-main,
body.is-eh-page #primary,
body.is-eh-page #content,
body.is-eh-page .container,
body.is-eh-page .page-content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

body.is-eh-page {
    background: var(--eh-bg, #e8f4f4) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove WP theme header on plugin pages (legacy) */

/* ═══════════════════════════════════════════
   LEFT SIDEBAR NAVIGATION
═══════════════════════════════════════════ */
.eh-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; height: 100vh;
    width: 240px; z-index: 999;
    background: #fff; border-right: 1px solid #e5e7eb;
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    box-shadow: 2px 0 12px rgba(0,0,0,.04);
    scrollbar-width: none;
}
.eh-sidebar::-webkit-scrollbar { display: none; }

/* Brand */
.eh-sb-brand {
    display: flex; align-items: center; gap: 10px;
    padding: 18px 16px 16px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.eh-sb-brand-icon {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--eh-teal, #0d5c5c), var(--eh-teal-light, #2ebfb3));
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.eh-sb-brand-name { font-family: var(--eh-font, 'Sora', sans-serif); font-weight: 700; font-size: 13px; color: var(--eh-navy, #0a2e2e); line-height: 1.2; }
.eh-sb-brand-sub  { font-size: 10px; color: #9ca3af; }

/* Nav links */
.eh-sb-links { list-style: none; padding: 10px 8px; flex: 1; margin: 0; }
.eh-sb-links li { margin-bottom: 2px; }
.eh-sb-links li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 11px; border-radius: 9px;
    color: #6b7280; text-decoration: none;
    font-size: 13px; font-weight: 500; transition: all .12s;
}
.eh-sb-links li a svg {
    width: 17px; height: 17px; flex-shrink: 0;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.eh-sb-links li:hover a   { background: var(--eh-bg, #e8f4f4); color: var(--eh-teal, #0d5c5c); }
.eh-sb-links li.active a  { background: linear-gradient(135deg, rgba(13,92,92,.08), rgba(46,191,179,.06)); color: var(--eh-teal, #0d5c5c); font-weight: 700; }
.eh-sb-links li.active a svg { stroke: var(--eh-teal-light, #2ebfb3); }

/* Divider */
.eh-sb-divider { height: 1px; background: #f0f0f0; margin: 0 8px 10px; flex-shrink: 0; }

/* Progress */
.eh-sb-progress { padding: 10px 12px; margin: 0 8px 10px; background: var(--eh-bg, #e8f4f4); border-radius: 9px; flex-shrink: 0; }
.eh-sb-progress-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.eh-sb-level { font-size: 11px; font-weight: 700; color: var(--eh-teal, #0d5c5c); }
.eh-sb-hours { font-size: 10px; color: #9ca3af; }
.eh-sb-bar   { height: 4px; background: #e5e7eb; border-radius: 4px; overflow: hidden; margin-bottom: 3px; }
.eh-sb-bar-fill { height: 100%; background: linear-gradient(90deg, var(--eh-teal, #0d5c5c), var(--eh-teal-light, #2ebfb3)); border-radius: 4px; transition: width .4s; }
.eh-sb-bar-sub  { font-size: 10px; color: #9ca3af; }

/* Bottom user row */
.eh-sb-bottom { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-top: 1px solid #f0f0f0; flex-shrink: 0; }
.eh-sb-user   { flex: 1; display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.eh-sb-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--eh-bg, #e8f4f4); object-fit: cover; }
.eh-sb-user-info { min-width: 0; }
.eh-sb-user-name { font-size: 12px; font-weight: 700; color: var(--eh-navy, #0a2e2e); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-sb-user-role { font-size: 10px; color: #9ca3af; }
.eh-sb-icon-link {
    color: #9ca3af; display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; transition: all .12s;
}
.eh-sb-icon-link:hover { background: var(--eh-bg, #e8f4f4); color: var(--eh-teal, #0d5c5c); }
.eh-sb-icon-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hamburger */
.eh-sb-hamburger {
    display: none; position: fixed; top: 10px; left: 10px; z-index: 1000;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 7px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.eh-sb-hamburger svg { width: 20px; height: 20px; stroke: var(--eh-teal, #0d5c5c); fill: none; stroke-width: 2.5; stroke-linecap: round; display: block; }

/* Page header (slim, replaces old topbar) */
.eh-page-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px 0; margin-bottom: 16px;
}
.eh-page-title { font-size: clamp(18px, 2.5vw, 24px); font-weight: 800; color: var(--eh-navy, #0a2e2e); margin: 0; }

/* Collapsed sidebar on mobile */
@media (max-width: 768px) {
    .eh-sidebar { left: -260px; transition: left .25s; }
    .eh-sidebar.open { left: 0; box-shadow: 4px 0 30px rgba(0,0,0,.2); }
    .eh-sb-hamburger { display: flex; }
    .eh-page-header { padding-top: 50px; }
}

body.has-eh-sidebar .site-header,
body.has-eh-sidebar header.entry-header,
body.has-eh-sidebar #masthead,
body.has-eh-sidebar #site-header,
body.has-eh-sidebar .header-main,
body.has-eh-sidebar nav.main-navigation {
    display: none !important;
}

/* Full width pages */
body.has-eh-sidebar .site-content,
body.has-eh-sidebar .entry-content,
body.has-eh-sidebar .content-area,
body.has-eh-sidebar main.site-main,
body.has-eh-sidebar #primary,
body.has-eh-sidebar #content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}



/* Page content padding */
.eh-page-content { padding: 16px 20px 40px; }

/* Shift items mobile */
@media (max-width: 680px) {
    .eh-shift-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .eh-shift-action { align-self: flex-end; }
    .eh-event-detail-grid { grid-template-columns: 1fr !important; }
    .eh-shift-detail-grid { grid-template-columns: 1fr !important; }
    .eh-shift-detail-meta-pills { flex-direction: column; }
    .eh-sdm-pill { width: 100%; box-sizing: border-box; }
    .eh-week-grid { overflow-x: auto; }
    .eh-week-grid > div { min-width: 100px; }
    .eh-planner-nav span { font-size: 12px; }
}

/* Dashboard mobile */
@media (max-width: 600px) {
    .eh-page-header { padding: 14px 16px 0; }
    .eh-page-content { padding: 12px 14px 32px; }
    .eh-impact-cards { grid-template-columns: 1fr 1fr !important; }
    .eh-reco-grid { grid-template-columns: 1fr !important; }
}

/* Sidebar mobile overlay */
@media (max-width: 768px) {
    body.has-eh-sidebar { margin-left: 0 !important; }
    .eh-sidebar { left: -260px; }
    .eh-sidebar.open { left: 0; }
    .eh-sb-hamburger { display: flex !important; }
    /* overlay when sidebar open */
    .eh-sidebar.open::after {
        content: '';
        position: fixed;
        inset: 0;
        left: 240px;
        background: rgba(0,0,0,.3);
        z-index: -1;
    }
}

/* ── Shift detail: requirements ─────────────────────────────────────── */
.eh-shift-requirements { display:flex;flex-direction:column;gap:8px; }
.eh-req-item { display:flex;align-items:flex-start;gap:8px;font-size:14px;color:#374151;padding:8px 12px;background:#f0fdf4;border-radius:8px;border-left:3px solid var(--eh-teal-light,#2ebfb3); }

/* ═══════════════════════════════════════════
   RESSORT CARDS v2 – Event Detail
═══════════════════════════════════════════ */
.eh-ressort-clickable {
    cursor: pointer;
    transition: box-shadow .2s, transform .1s;
    border: 1.5px solid #e5e7eb;
}
.eh-ressort-clickable:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); transform: translateY(-1px); }
.eh-ressort-clickable.active { border-color: var(--rc, #2ebfb3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc, #2ebfb3) 15%, transparent); }

.eh-ressort-slots-badge {
    display: flex; flex-direction: column; align-items: center;
    background: var(--eh-bg); border-radius: 10px; padding: 6px 10px;
    min-width: 48px; text-align: center; flex-shrink: 0;
}
.eh-ressort-slots-badge.urgent { background: #fef3c7; }
.eh-ressort-slots-badge.full   { background: #d1fae5; }
.eh-rs-open { font-size: 20px; font-weight: 800; color: var(--eh-teal); line-height: 1; }
.eh-rs-lbl  { font-size: 9px; text-transform: uppercase; color: #9ca3af; letter-spacing: .3px; }
.eh-rs-full { font-size: 18px; color: #10b981; }
.eh-ressort-slots-badge.urgent .eh-rs-open { color: #d97706; }

.eh-ressort-chevron {
    font-size: 12px; color: var(--eh-teal-light); font-weight: 600;
    margin-top: 10px; text-align: right;
}

/* Expanded shift list */
.eh-ressort-shifts-expand {
    margin-top: 14px; padding-top: 14px;
    border-top: 1.5px solid #e5e7eb;
}
.eh-ressort-shift-date-header {
    font-size: 12px; font-weight: 700; color: var(--eh-teal);
    padding: 8px 0 4px; letter-spacing: .3px;
}
.eh-ressort-shift-card {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 9px;
    background: var(--eh-bg); margin-bottom: 6px;
    border: 1.5px solid transparent;
    transition: border-color .15s;
}
.eh-ressort-shift-card:hover { border-color: var(--rc, #2ebfb3); }
.eh-ressort-shift-card.enrolled { background: #f0fdfb; border-color: var(--eh-teal-light); }
.eh-ressort-shift-card.full { opacity: .6; }
.eh-rsc-left { flex: 1; min-width: 0; }
.eh-rsc-title { font-weight: 700; font-size: 13px; color: var(--eh-navy); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
.eh-rsc-prio  { font-size: 12px; }
.eh-rsc-meta  { font-size: 11px; color: #9ca3af; margin-bottom: 5px; }
.eh-rsc-bar   { height: 3px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.eh-rsc-bar-fill { height: 100%; background: var(--eh-teal-light); border-radius: 3px; }
.eh-rsc-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.eh-rsc-slots { text-align: right; line-height: 1; }
.eh-rsc-free  { font-size: 16px; font-weight: 800; color: var(--eh-teal); }
.eh-rsc-tot   { font-size: 10px; color: #9ca3af; }
.eh-rsc-slots.zero .eh-rsc-free { color: #dc2626; }

/* ═══════════════════════════════════════════════════════
   SIDEBAR LAYOUT — Single authoritative block
   All other body.has-eh-sidebar rules below override this
════════════════════════════════════════════════════════ */

/* Desktop: push content right of sidebar */
body.has-eh-sidebar {
    margin-left: 240px !important;
    background: var(--eh-bg, #e8f4f4) !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure all plugin pages fill width */
body.is-eh-page .site-content,
body.is-eh-page .entry-content,
body.is-eh-page .content-area,
body.is-eh-page main.site-main,
body.is-eh-page #primary,
body.is-eh-page #content {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

/* Mobile: no margin, sidebar slides in */
@media (max-width: 768px) {
    body.has-eh-sidebar {
        margin-left: 0 !important;
    }
    .eh-sidebar {
        position: fixed;
        left: -260px;
        transition: left .25s;
    }
    .eh-sidebar.open {
        left: 0;
        box-shadow: 4px 0 30px rgba(0,0,0,.25);
    }
    .eh-sb-hamburger { display: flex !important; }
    .eh-page-header { padding-top: 50px !important; }
}

/* ── Dashboard: My Ressorts & Teams ──────────── */
.eh-my-assignments { margin-bottom: 16px; }
.eh-my-assign-label { font-size: 11px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.eh-my-assign-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.eh-assign-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 13px; border-radius: 20px; font-size: 13px; font-weight: 600;
    text-decoration: none; border: 1.5px solid var(--cc, var(--eh-teal-light));
    color: var(--cc, var(--eh-teal)); background: color-mix(in srgb, var(--cc, #2ebfb3) 8%, white);
    transition: box-shadow .15s;
}
.eh-assign-chip:hover { box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.eh-assign-chip small { font-size: 10px; color: #9ca3af; font-weight: 400; }
.eh-assign-team { cursor: default; }

/* ── Admin: Gruppen/Teams page ───────────────── */
.eh-admin-teams-wrap { max-width: 1100px; }

/* ═══════════════════════════════════════════
   MY SHIFTS STRIP (Event Detail)
═══════════════════════════════════════════ */
.eh-my-shifts-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.eh-my-shift-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: #f0fdfb;
    border: 1.5px solid var(--eh-teal-light, #2ebfb3);
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow .15s, transform .1s;
}
.eh-my-shift-pill:hover {
    box-shadow: 0 3px 12px rgba(13,92,92,.12);
    transform: translateY(-1px);
}
.eh-msp-date {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
    min-width: 90px;
}
.eh-msp-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--eh-teal, #0d5c5c);
    white-space: nowrap;
    min-width: 110px;
}
.eh-msp-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--eh-navy, #0a2e2e);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.eh-my-shifts-section .eh-section-label-row h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--eh-navy, #0a2e2e);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.eh-shifts-count {
    background: var(--eh-teal-light, #2ebfb3);
    color: #fff;
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 600px) {
    .eh-my-shift-pill { flex-wrap: wrap; gap: 4px; }
    .eh-msp-date, .eh-msp-time { min-width: auto; }
}

/* ═══════════════════════════════════════════
   DSGVO CONSENT
═══════════════════════════════════════════ */
.eh-dsgvo-wrap { margin: 12px 0 18px; }
.eh-dsgvo-label {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; background: #f0f9f8;
    border: 1.5px solid var(--eh-teal-light, #2ebfb3);
    border-radius: 10px; cursor: pointer; font-size: 13px;
    color: #374151; line-height: 1.6;
}
.eh-dsgvo-label input[type=checkbox] {
    width: 18px; height: 18px; flex-shrink: 0;
    margin-top: 2px; accent-color: var(--eh-teal, #0d5c5c); cursor: pointer;
}
.eh-dsgvo-label a { color: var(--eh-teal-light, #2ebfb3); font-weight: 600; }

/* ═══════════════════════════════════════════
   MOBILE READY – Global improvements
═══════════════════════════════════════════ */

/* Touch targets min 44px */
.eh-btn-sm, .ehr-btn, .eld-btn { min-height: 36px; }
button, a.eh-btn-primary, a.eh-btn-outline { touch-action: manipulation; }

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; max-width: 100vw; }

/* Cards full width on mobile */
@media (max-width: 480px) {
    .eh-sd-grid { grid-template-columns: 1fr; }
    .eh-sd-pills { flex-direction: column; }
    .eh-sd-pill { min-width: auto; width: 100%; }
    .eh-sd-right { order: -1; }
    .eh-sd-action-card { flex-direction: row; flex-wrap: wrap; }
    .eh-sd-btn { flex: 1; min-width: 140px; }

    .ehr-header { flex-direction: column; }
    .ehr-stats { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }

    .eh-event-detail-grid { grid-template-columns: 1fr !important; }
    .eh-event-detail-right { display: none; }

    .eld-tabs { gap: 2px; }
    .eld-tab { padding: 8px 10px; font-size: 12px; }
    .eld-tab svg { display: none; }

    .eh-ressorts-grid { grid-template-columns: 1fr; }
    .eh-reco-grid { grid-template-columns: 1fr !important; }
    .eh-impact-cards { grid-template-columns: 1fr 1fr !important; }

    /* Shift cards */
    .eld-scard { flex-direction: column; }
    .eld-scard .eld-sc-right { width: 100%; display: flex; justify-content: space-between; }

    /* Onboarding */
    .eh-ob-ressort-grid { grid-template-columns: 1fr 1fr; }
    .eh-quiz-options { grid-template-columns: 1fr; }
}

/* Planner mobile horizontal scroll */
@media (max-width: 768px) {
    .eh-week-grid { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .eh-week-grid > * { min-width: 120px; }
    .eh-planner-nav { flex-wrap: wrap; gap: 8px; }

    .eld-kanban { grid-template-columns: 1fr; }

    .eld-mgrid { grid-template-columns: 1fr; }
    .eld-mfull { grid-column: span 1; }

    .eld-modal { max-height: 95vh; border-radius: 16px 16px 0 0; margin-top: auto; margin-bottom: 0; }
    .eld-mbg { align-items: flex-end; padding: 0; }

    /* Lead dashboard full width */
    .eld-wrap { padding: 0 12px 32px; }
    .eld-stats4 { grid-template-columns: 1fr 1fr; }
    .eld-rgrid { grid-template-columns: 1fr; }
    .eld-team-grid { grid-template-columns: 1fr; }
}

/* Sidebar hamburger always accessible */
.eh-sb-hamburger {
    position: fixed; top: 10px; left: 10px; z-index: 9999;
    display: none;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 7px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
@media (max-width: 768px) {
    .eh-sb-hamburger { display: flex !important; }
}

/* Ressort detail page mobile */
@media (max-width: 640px) {
    .ehr-shift-card { flex-direction: column; }
    .ehr-sc-right { flex-direction: row; justify-content: space-between; align-items: center; padding: 8px 14px; }
    .ehr-filterbar { flex-direction: column; }
    .ehr-filterbar .ehr-input { max-width: none !important; }
}

/* Form inputs larger on mobile */
@media (max-width: 480px) {
    .eld-in, .ehr-input, .eh-auth-field input, .el-auth-field input {
        font-size: 16px !important; /* prevents zoom on iOS */
    }
}

/* Password reset page mobile */
@media (max-width: 480px) {
    .eh-reset-card { padding: 28px 20px; border-radius: 0; min-height: 100vh; }
}

/* Fix iOS safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .eh-sb-bottom { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    body.has-eh-sidebar .eh-page { padding-bottom: env(safe-area-inset-bottom); }
}

/* ═══════════════════════════════════════════
   PROFILE – Extended Sections
═══════════════════════════════════════════ */
.eh-prof-stats-bar {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 20px;
}
.eh-prof-stat {
    background: #fff; border-radius: 12px; padding: 14px; text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.eh-prof-stat strong {
    display: block; font-size: 26px; font-weight: 800;
    color: var(--eh-teal, #0d5c5c); line-height: 1;
}
.eh-prof-stat span { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .3px; }

.eh-prof-card { background: #fff; border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.eh-prof-card-title { font-size: 14px; font-weight: 700; color: var(--eh-teal, #0d5c5c); margin: 0 0 12px; }
.eh-prof-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.eh-prof-tab-row { display: flex; gap: 4px; }
.eh-prof-tab { padding: 5px 12px; border: 1.5px solid #e5e7eb; border-radius: 20px; background: none; font-size: 12px; font-weight: 600; color: #6b7280; cursor: pointer; font-family: inherit; transition: all .12s; }
.eh-prof-tab.active { background: var(--eh-teal, #0d5c5c); border-color: var(--eh-teal, #0d5c5c); color: #fff; }

/* Profile teams list */
.eh-prof-teams-list { display: flex; flex-direction: column; gap: 8px; }
.eh-prof-team-row {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    background: color-mix(in srgb, var(--tc, #2ebfb3) 6%, white);
    border: 1.5px solid color-mix(in srgb, var(--tc, #2ebfb3) 30%, transparent);
    border-radius: 10px; text-decoration: none; transition: box-shadow .15s;
}
.eh-prof-team-row:hover { box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.eh-prof-team-icon { font-size: 22px; flex-shrink: 0; }
.eh-prof-team-info { flex: 1; min-width: 0; }
.eh-prof-team-name { font-size: 13px; font-weight: 700; color: var(--eh-navy, #0a2e2e); }
.eh-prof-team-sub { font-size: 11px; color: #9ca3af; }
.eh-prof-team-badge { font-size: 11px; font-weight: 700; background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 20px; }

/* Profile shift rows */
.eh-prof-shift-row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 12px; margin-bottom: 6px; background: var(--eh-bg, #e8f4f4);
    border-radius: 8px; text-decoration: none; color: inherit; transition: box-shadow .15s;
}
.eh-prof-shift-row:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.eh-prof-shift-past { opacity: .7; }
.eh-prof-shift-title { font-size: 13px; font-weight: 700; color: var(--eh-navy, #0a2e2e); }
.eh-prof-shift-meta { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.eh-prof-checked { font-size: 11px; font-weight: 700; color: #10b981; background: #d1fae5; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }

@media (max-width: 480px) {
    .eh-prof-stats-bar { grid-template-columns: 1fr 1fr; }
    .eh-prof-stat strong { font-size: 20px; }
}

/* ═══════════════════════════════════════════
   RESSORT OVERVIEW (Lead Dashboard)
═══════════════════════════════════════════ */
.eld-ro-card {
    background: #fff; border-radius: 14px; padding: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    border-left: 4px solid var(--rc, #2ebfb3);
}
.eld-ro-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.eld-ro-icon-wrap { flex-shrink: 0; }
.eld-ro-name { font-size: 17px; font-weight: 800; color: var(--eh-navy, #0a2e2e); margin-bottom: 2px; }
.eld-ro-desc { font-size: 12px; color: #9ca3af; }
.eld-ro-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.eld-ro-stat { text-align: center; background: var(--eh-bg, #e8f4f4); border-radius: 9px; padding: 8px 12px; min-width: 52px; }
.eld-ro-stat strong { display: block; font-size: 18px; font-weight: 800; color: var(--eh-teal, #0d5c5c); line-height: 1; }
.eld-ro-stat span { font-size: 10px; color: #9ca3af; text-transform: uppercase; letter-spacing: .3px; }
.eld-ro-stat.eld-ro-warn strong { color: #f59e0b; }
.eld-ro-pbar-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eld-ro-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
@media (max-width: 640px) { .eld-ro-body { grid-template-columns: 1fr; } .eld-ro-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }
.eld-ro-col-title { font-size: 12px; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.eld-ro-teams { display: flex; flex-wrap: wrap; gap: 6px; }
.eld-ro-team-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid #e5e7eb; background: #fff; color: var(--eh-navy, #0a2e2e); text-decoration: none; transition: box-shadow .12s; }
.eld-ro-team-chip:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.eld-ro-team-chip span { background: var(--eh-bg, #e8f4f4); border-radius: 20px; padding: 1px 6px; font-size: 10px; color: var(--eh-teal, #0d5c5c); }
.eld-ro-members { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.eld-ro-member { display: flex; align-items: center; gap: 8px; }
.eld-ro-av { width: 28px; height: 28px; border-radius: 50%; background: var(--eh-bg, #e8f4f4); color: var(--eh-teal, #0d5c5c); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.eld-ro-mname { font-size: 12px; font-weight: 600; color: var(--eh-navy, #0a2e2e); }
.eld-ro-mmeta { font-size: 10px; color: #9ca3af; }
.eld-ro-footer { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid #f0f0f0; }
