/* ================================================================
   Legacy League Membership Plugin — Frontend Styles
   Matches the Manrope / navy / #F2F2F0 design system from templates
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS Variables ---- */
.ll-wrap, .ll-section, .ll-section-alt, .ll-dir-hero,
.ll-filters-bar, .ll-chat-shell, [class^="ll-"] {
  --ll-bg:        #FFFFFF;
  --ll-bg-alt:    #F2F2F0;
  --ll-navy:      #131B3F;
  --ll-navy-deep: #0B1130;
  --ll-ink:       #0A0F1F;
  --ll-ink-2:     #3A4055;
  --ll-muted:     #6B7280;
  --ll-line:      #E5E5E5;
  --ll-line-lt:   #EDEDED;
  --ll-pill:      #ECECEC;
  --ll-green:     #2A9D5F;
  --ll-sans:      'Manrope', system-ui, sans-serif;
}

/* ---- Reset for plugin scope ---- */
.ll-wrap *, .ll-section *, .ll-section-alt *, .ll-chat-shell * {
  box-sizing: border-box;
  font-family: var(--ll-sans);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.ll-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================================================
   PILL / BADGE
   ================================================================ */
.ll-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ll-pill);
  color: var(--ll-navy);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.ll-dot {
  width: 8px; height: 8px;
  background: var(--ll-navy);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
   NOTICE
   ================================================================ */
.ll-notice {
  background: var(--ll-bg-alt);
  border-left: 3px solid var(--ll-navy);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--ll-ink-2);
  font-weight: 500;
}
.ll-notice--success { border-color: var(--ll-green); }
.ll-notice--info    { border-color: #3B82F6; }

/* ================================================================
   BUTTONS
   ================================================================ */
.ll-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 13px 22px !important;
  border-radius: 6px !important;
  border: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  letter-spacing: -0.005em !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
.ll-btn-primary {
  background: var(--ll-navy) !important;
  color: #fff !important;
}
.ll-btn-primary:hover {
  background: var(--ll-navy-deep);
  transform: translateX(2px);
}
.ll-btn-secondary {
  background: #fff !important;
  color: var(--ll-ink) !important;
  border: 1px solid var(--ll-line) !important;
}
.ll-btn-secondary:hover { border-color: var(--ll-ink-2) !important; }
.ll-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.ll-btn-ghost:hover { border-color: #fff; }

/* ================================================================
   HERO (intake + directory)
   ================================================================ */
.ll-form-hero,
.ll-dir-hero {
  padding: 80px 0 50px;
}
.ll-form-hero .ll-pill,
.ll-dir-hero  .ll-pill {
  margin-bottom: 28px;
}
.ll-hero-h1 {
  font-size: clamp(46px, 6vw, 76px) !important;
  font-weight: 800 !important;
  line-height: 1.0 !important;
  letter-spacing: -0.03em !important;
  color: var(--ll-ink) !important;
  margin-bottom: 24px !important;
  max-width: 16ch !important;
}
.ll-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ll-ink-2);
  max-width: 680px;
  padding-left: 32px;
  border-left: 1.5px solid var(--ll-ink);
  font-weight: 400;
}
.ll-dir-meta {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ll-muted);
  font-weight: 500;
}
.ll-dir-meta strong { color: var(--ll-ink); }

/* ================================================================
   PROGRESS RAIL
   ================================================================ */
.ll-progress-wrap {
  background: var(--ll-bg-alt);
  border-radius: 20px;
  padding: 24px;
  margin: 50px 0 70px;
}
.ll-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px 18px;
  font-size: 13px;
  color: var(--ll-muted);
  font-weight: 600;
}
.ll-progress-meta strong { color: var(--ll-ink); font-weight: 700; }
.ll-progress-bar {
  height: 8px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 12px 24px;
}
.ll-progress-fill {
  height: 100%;
  background: var(--ll-navy);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.ll-progress-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.ll-progress-step {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.ll-progress-step.active { border-color: var(--ll-navy); }
.ll-progress-step.completed {
  background: var(--ll-navy);
  border-color: var(--ll-navy);
}
.ll-progress-step.completed .ll-step-num,
.ll-progress-step.completed .ll-step-title { color: rgba(255,255,255,0.75); }
.ll-step-check {
  display: none;
  align-items: center;
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  margin-top: 4px;
}
.ll-progress-step.completed .ll-step-check {
  display: flex;
}

/* Sticky progress */
.ll-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--ll-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ll-progress-step.active .ll-step-num { color: var(--ll-navy); }
.ll-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ll-ink);
  letter-spacing: -0.01em;
}

/* Add/remove card buttons */
.ll-add-card-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ll-navy) !important;
  background: var(--ll-pill) !important;
  border: 1.5px dashed var(--ll-line) !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  cursor: pointer !important;
  margin: 12px 0 32px !important;
  transition: all 0.2s ease !important;
  letter-spacing: -0.005em !important;
}
.ll-add-card-btn:hover {
  background: var(--ll-navy);
  color: #fff;
  border-color: var(--ll-navy);
}
.ll-remove-card {
  background: none;
  border: 0;
  font-size: 20px;
  color: var(--ll-muted);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s ease;
}
.ll-remove-card:hover { color: #e53e3e; }

/* ================================================================
   FORM SECTIONS
   ================================================================ */
.ll-form-section {
  padding: 80px 0;
  border-top: 1px solid var(--ll-line-lt);
}
.ll-form-section:first-of-type { border-top: 0; padding-top: 30px; }

.ll-section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
  align-items: start;
}
.ll-section-head h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ll-ink);
  margin-bottom: 14px;
}
.ll-section-head h2 em {
  font-style: normal;
  color: var(--ll-muted);
  font-weight: 700;
}
.ll-section-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ll-ink-2);
  max-width: 560px;
  font-weight: 400;
}

/* ================================================================
   FORM CARD
   ================================================================ */
.ll-form-card {
  background: var(--ll-bg-alt);
  border-radius: 20px;
  padding: 48px;
}
.ll-form-card + .ll-form-card { margin-top: 24px; }

/* ================================================================
   FIELDS
   ================================================================ */
.ll-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.ll-field:last-child { margin-bottom: 0; }
.ll-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 25px;
}
.ll-field-row .ll-field { margin-bottom: 0; }

.ll-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ll-ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  letter-spacing: -0.005em;
}
.ll-hint {
  font-size: 13px;
  color: var(--ll-muted);
  font-weight: 500;
}
.ll-req { color: var(--ll-navy); font-weight: 700; }

.ll-field input[type="text"],
.ll-field input[type="email"],
.ll-field input[type="url"],
.ll-field input[type="tel"],
.ll-field select,
.ll-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--ll-line);
  padding: 16px 18px;
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  outline: none;
  letter-spacing: -0.005em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ll-field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.ll-field textarea.large { min-height: 180px; }
.ll-field input:focus,
.ll-field textarea:focus,
.ll-field select:focus {
  border-color: var(--ll-navy);
  box-shadow: 0 0 0 4px rgba(19,27,63,0.06);
}
.ll-field input::placeholder,
.ll-field textarea::placeholder { color: var(--ll-muted); font-weight: 400; }
.ll-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23131B3F' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.ll-helper {
  font-size: 13px;
  color: var(--ll-muted);
  line-height: 1.5;
  font-weight: 500;
}
.ll-char-count {
  font-size: 12px;
  color: var(--ll-muted);
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.02em;
}

/* ================================================================
   UPLOAD
   ================================================================ */
.ll-upload-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.ll-upload-zone {
  border: 2px dashed var(--ll-line);
  background: #fff;
  aspect-ratio: 4/5;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}
.ll-upload-zone:hover { border-color: var(--ll-navy); }
.ll-upload-icon {
  width: 48px; height: 48px;
  background: var(--ll-pill);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--ll-navy);
  font-size: 24px;
}
.ll-upload-label { font-size: 14px; font-weight: 700; color: var(--ll-ink); margin-bottom: 6px; }
.ll-upload-specs { font-size: 12px; color: var(--ll-muted); line-height: 1.5; font-weight: 500; }
.ll-upload-info h4 { font-size: 18px; font-weight: 700; color: var(--ll-ink); margin-bottom: 10px; }
.ll-upload-info ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.ll-upload-info li {
  font-size: 14px; color: var(--ll-ink-2); font-weight: 500;
  display: flex; gap: 10px; align-items: flex-start;
}
.ll-upload-info li::before {
  content: ""; display: block;
  width: 6px; height: 6px;
  background: var(--ll-navy); border-radius: 50%;
  margin-top: 8px; flex-shrink: 0;
}

/* ================================================================
   TAG INPUT
   ================================================================ */
.ll-tag-input-wrap {
  background: #fff;
  border: 1px solid var(--ll-line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 60px;
}
.ll-tag-input-wrap:focus-within {
  border-color: var(--ll-navy);
  box-shadow: 0 0 0 4px rgba(19,27,63,0.06);
}
.ll-tag-chip {
  background: var(--ll-navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ll-x { cursor: pointer; opacity: 0.7; font-size: 14px; line-height: 1; }
.ll-x:hover { opacity: 1; }
.ll-tag-input {
  background: transparent;
  border: 0;
  color: var(--ll-ink);
  font-family: var(--ll-sans);
  font-size: 14px;
  outline: none;
  flex: 1;
  min-width: 160px;
  padding: 6px;
  font-weight: 500;
}

/* ================================================================
   CHECK CARDS
   ================================================================ */
.ll-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ll-check-card {
  background: #fff;
  border: 1px solid var(--ll-line);
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ll-ink-2);
  transition: all 0.2s ease;
  user-select: none;
}
.ll-check-card:hover { border-color: var(--ll-ink-2); color: var(--ll-ink); }
.ll-check-card.selected { border-color: var(--ll-navy); color: var(--ll-navy); }
.ll-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--ll-line);
  border-radius: 5px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}
.ll-check-card.selected .ll-box {
  background: var(--ll-navy);
  border-color: var(--ll-navy);
}
.ll-check-card.selected .ll-box::after {
  content: "";
  position: absolute;
  top: 2px; left: 5px;
  width: 4px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ================================================================
   PROJECT BLOCKS
   ================================================================ */
.ll-project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ll-line-lt);
}
.ll-project-header h4 { font-size: 16px; font-weight: 700; color: var(--ll-ink); }
.ll-optional {
  font-size: 12px;
  color: var(--ll-muted);
  font-weight: 600;
  background: var(--ll-pill);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ================================================================
   SUBMIT BAR
   ================================================================ */
.ll-submit-bar {
  background: var(--ll-navy);
  color: #fff;
  border-radius: 20px;
  padding: 50px;
  margin: 60px 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}
.ll-submit-bar h3 {
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 14px !important;
  color: #fff !important;
}
.ll-submit-bar p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.75); }
.ll-submit-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.ll-btn-save-draft {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 14px 26px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  letter-spacing: -0.005em !important;
}
.ll-btn-save-draft:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.ll-btn-save-draft:disabled { opacity: 0.6; cursor: default; }

.ll-btn-submit-review {
  background: #fff !important;
  color: var(--ll-navy) !important;
  border: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 14px 26px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1 !important;
  letter-spacing: -0.005em !important;
}
.ll-btn-submit-review:hover {
  background: var(--ll-bg-alt);
  transform: translateX(2px);
}
.ll-btn-submit-review:disabled { opacity: 0.6; cursor: default; transform: none; }
.ll-btn-submit-review svg { flex-shrink: 0; }

/* ================================================================
   PROFILE HERO
   ================================================================ */
.ll-hero { padding: 60px 0 80px; }
.ll-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  gap: 80px;
  align-items: start;
}
.ll-portrait-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ll-bg-alt);
}
.ll-portrait-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ll-portrait-placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 80px;
  font-weight: 800;
  color: var(--ll-muted);
}
.ll-portrait-overlay {
  position: absolute;
  left: 0; bottom: 0;
  background: var(--ll-navy);
  color: #fff;
  padding: 26px 32px;
  border-radius: 0 20px 0 20px;
  max-width: 75%;
}
.ll-portrait-quote { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 14px; }
.ll-seat-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }

.ll-hero-content { padding-top: 8px; }
.ll-hero-content .ll-pill { margin-bottom: 28px; }
.ll-name {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--ll-ink);
}
.ll-role-line {
  font-size: 21px;
  font-weight: 500;
  color: var(--ll-ink-2);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.ll-role-line strong { font-weight: 700; color: var(--ll-ink); }

.ll-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 36px;
}
.ll-stat {
  padding: 20px 24px 4px 0;
  border-top: 1px solid var(--ll-ink);
  margin-right: 24px;
}
.ll-stat:last-child { margin-right: 0; }
.ll-stat-num { font-size: 34px; font-weight: 700; color: var(--ll-ink); letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; }
.ll-stat-label { font-size: 15px; font-weight: 600; color: var(--ll-ink); }
.ll-stat-sub { font-size: 13px; color: var(--ll-muted); font-weight: 500; margin-top: 4px; }

.ll-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.ll-crumb-bar { padding: 24px 0; border-bottom: 1px solid var(--ll-line-lt); }
.ll-crumb-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ll-crumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ll-muted); font-weight: 500; }
.ll-crumb a:hover { color: var(--ll-navy); }
.ll-crumb-sep { color: var(--ll-line); }
.ll-file-tag { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ll-muted); font-weight: 600; letter-spacing: 0.04em; }
.ll-verified {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ll-pill); padding: 8px 14px; border-radius: 999px; color: var(--ll-navy);
}

/* ================================================================
   PROFILE SECTIONS
   ================================================================ */
.ll-section {
  padding: 90px 0;
  border-top: 1px solid var(--ll-line-lt);
}
.ll-section-alt { background: var(--ll-bg-alt); }

.ll-bio-block {
  padding-left: 32px;
  border-left: 1.5px solid var(--ll-ink);
  max-width: 780px;
}
.ll-bio-block p { font-size: 17px; line-height: 1.7; color: var(--ll-ink); font-weight: 400; text-align: justify; }
.ll-bio-block p + p { margin-top: 18px; }

.ll-build-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ll-build-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--ll-line-lt);
  transition: all 0.2s ease;
}
.ll-build-card:hover { border-color: var(--ll-line); transform: translateY(-2px); }
.ll-project-status {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--ll-navy); background: var(--ll-pill);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 20px; letter-spacing: -0.005em;
}
.ll-build-card h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--ll-ink); line-height: 1.15; }
.ll-build-card p { font-size: 15px; line-height: 1.6; color: var(--ll-ink-2); }

.ll-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ll-tag {
  background: #fff; border: 1px solid var(--ll-line);
  padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ll-ink); letter-spacing: -0.005em;
  transition: all 0.2s ease;
}
.ll-tag:hover { border-color: var(--ll-navy); color: var(--ll-navy); }
.ll-tag.featured { background: var(--ll-navy); color: #fff; border-color: var(--ll-navy); }

.ll-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ll-twocol-card { background: #fff; border-radius: 16px; padding: 36px; border: 1px solid var(--ll-line-lt); }
.ll-twocol-card h4 {
  font-size: 13px; font-weight: 700; color: var(--ll-navy);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-bottom: 16px; border-bottom: 1px solid var(--ll-line); margin-bottom: 6px;
}
.ll-twocol-card ul { list-style: none; }
.ll-twocol-card li {
  display: flex; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--ll-line-lt);
  font-size: 16px; line-height: 1.5; color: var(--ll-ink); font-weight: 500; letter-spacing: -0.01em;
}
.ll-twocol-card li:last-child { border-bottom: 0; }
.ll-num { font-size: 13px; font-weight: 700; color: var(--ll-muted); flex-shrink: 0; padding-top: 2px; letter-spacing: 0.02em; }

.ll-connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ll-connect-card {
  background: #fff; border-radius: 14px; padding: 24px 28px;
  border: 1px solid var(--ll-line-lt);
  display: flex; align-items: center; gap: 18px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ll-connect-card:hover { border-color: var(--ll-navy); transform: translateY(-2px); }
.ll-connect-icon {
  width: 44px; height: 44px; background: var(--ll-bg-alt);
  border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--ll-navy);
}
.ll-connect-label { font-size: 12px; color: var(--ll-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.ll-connect-value { font-size: 15px; font-weight: 600; color: var(--ll-ink); letter-spacing: -0.01em; }

.ll-cta-banner {
  background: var(--ll-navy); color: #fff; border-radius: 20px;
  padding: 60px; margin: 80px 0;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: center;
}
.ll-cta-banner h3 { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 16px; color: #fff !important; }
.ll-cta-banner p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.75); }
.ll-cta-banner .ll-actions { justify-content: flex-end; }
.ll-cta-banner .ll-btn-primary { background: #fff; color: var(--ll-navy); }
.ll-cta-banner .ll-btn-primary:hover { background: var(--ll-bg-alt); }

/* ================================================================
   DIRECTORY
   ================================================================ */
.ll-filters-bar {
  padding: 0 0 40px;
}
.ll-filters-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ll-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.ll-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ll-muted);
}
.ll-search-input {
  width: 100% !important;
  padding: 14px 18px 14px 48px !important;
  border: 1px solid var(--ll-line) !important;
  border-radius: 10px !important;
  font-family: var(--ll-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ll-ink) !important;
  background: #fff !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
}
.ll-search-input:focus { border-color: var(--ll-navy); }
.ll-filter-select {
  padding: 14px 36px 14px 16px;
  border: 1px solid var(--ll-line);
  border-radius: 10px;
  font-family: var(--ll-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ll-ink);
  background: #fff;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23131B3F' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.ll-industry-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ll-industry-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ll-ink-2);
  background: var(--ll-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
}
.ll-industry-pill:hover, .ll-industry-pill.active {
  background: var(--ll-navy);
  color: #fff;
}

/* Member grid */
.ll-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding-bottom: 80px;
}
.ll-member-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--ll-line-lt);
  overflow: hidden;
  transition: all 0.2s ease;
}
.ll-member-card:hover { border-color: var(--ll-line); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.ll-card-photo-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ll-bg-alt);
}
.ll-card-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.ll-member-card:hover .ll-card-photo { transform: scale(1.02); }
.ll-card-photo--placeholder {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  font-size: 60px;
  font-weight: 800;
  color: var(--ll-muted);
}
.ll-card-seat {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(19,27,63,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 6px;
}
.ll-card-body { padding: 24px; }
.ll-card-industry { font-size: 11px; font-weight: 700; color: var(--ll-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.ll-card-name { display: block !important; font-size: 20px !important; font-weight: 800 !important; color: var(--ll-ink) !important; letter-spacing: -0.02em !important; text-decoration: none !important; margin-bottom: 4px !important; }
.ll-card-name:hover { color: var(--ll-navy) !important; }
.ll-card-headline { font-size: 14px; font-weight: 500; color: var(--ll-ink-2); margin-bottom: 4px; }
.ll-card-company { font-size: 13px; font-weight: 600; color: var(--ll-muted); margin-bottom: 4px; }
.ll-card-location {
  font-size: 12px; color: var(--ll-muted); font-weight: 500;
  display: flex; align-items: center; gap: 4px; margin-bottom: 16px;
}
.ll-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.ll-card-tag {
  font-size: 12px; font-weight: 600; color: var(--ll-navy);
  background: var(--ll-pill); padding: 5px 10px; border-radius: 999px;
}
.ll-card-actions { display: flex; gap: 8px; }
.ll-card-btn {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  font-size: 13px !important; font-weight: 700 !important;
  color: var(--ll-navy) !important; background: var(--ll-pill) !important;
  padding: 10px 16px !important; border-radius: 6px !important;
  text-decoration: none !important; transition: all 0.2s ease !important; border: 0 !important; cursor: pointer !important;
}
.ll-card-btn:hover { background: var(--ll-navy) !important; color: #fff !important; }
.ll-card-btn--ghost {
  background: var(--ll-bg-alt) !important;
  color: var(--ll-muted) !important;
  padding: 10px 12px !important;
}
.ll-card-btn--ghost:hover { background: var(--ll-navy) !important; color: #fff !important; }

.ll-empty-state {
  text-align: center;
  padding: 80px 40px;
  color: var(--ll-muted);
}
.ll-empty-icon { font-size: 48px; margin-bottom: 20px; }
.ll-empty-state h3 { font-size: 24px; font-weight: 700; color: var(--ll-ink); margin-bottom: 10px; }

/* ================================================================
   CHAT
   ================================================================ */
.ll-chat-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: 680px;
  border: 1px solid var(--ll-line-lt);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 80px;
  background: #fff;
}

/* Sidebar */
.ll-chat-sidebar {
  border-right: 1px solid var(--ll-line-lt);
  display: flex;
  flex-direction: column;
  background: var(--ll-bg-alt);
}
.ll-chat-sidebar-head {
  padding: 24px;
  border-bottom: 1px solid var(--ll-line-lt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
.ll-chat-sidebar-head h3 { font-size: 16px; font-weight: 700; color: var(--ll-ink); letter-spacing: -0.01em; }
.ll-chat-new-btn {
  width: 32px; height: 32px;
  background: var(--ll-navy); color: #fff;
  border: 0; border-radius: 8px; cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.ll-chat-new-btn:hover { background: var(--ll-navy-deep); }

.ll-chat-inbox { flex: 1; overflow-y: auto; }
.ll-chat-loading, .ll-chat-inbox-empty { padding: 24px; font-size: 14px; color: var(--ll-muted); text-align: center; font-weight: 500; }

.ll-inbox-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--ll-line-lt);
}
.ll-inbox-item:hover { background: rgba(255,255,255,0.7); }
.ll-inbox-item.active { background: #fff; }
.ll-inbox-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ll-navy); color: #fff;
  font-size: 16px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0; overflow: hidden;
}
.ll-inbox-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ll-inbox-meta { flex: 1; min-width: 0; }
.ll-inbox-name {
  font-size: 14px; font-weight: 700; color: var(--ll-ink);
  letter-spacing: -0.01em; margin-bottom: 3px;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ll-unread-dot { width: 8px; height: 8px; background: var(--ll-navy); border-radius: 50%; flex-shrink: 0; }
.ll-inbox-preview { font-size: 13px; color: var(--ll-muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-inbox-item.unread .ll-inbox-preview { color: var(--ll-ink-2); font-weight: 600; }
.ll-inbox-time { font-size: 12px; color: var(--ll-muted); font-weight: 500; flex-shrink: 0; align-self: flex-start; padding-top: 2px; }

/* Main thread area */
.ll-chat-main {
  display: flex;
  flex-direction: column;
}
.ll-chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--ll-muted);
}
.ll-chat-empty-icon { font-size: 48px; margin-bottom: 20px; }
.ll-chat-empty h3 { font-size: 22px; font-weight: 700; color: var(--ll-ink); margin-bottom: 10px; }
.ll-chat-empty p { font-size: 15px; font-weight: 500; }

.ll-chat-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ll-chat-thread-head {
  padding: 20px 28px;
  border-bottom: 1px solid var(--ll-line-lt);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  flex-shrink: 0;
}
.ll-thread-avatar {
  width: 44px; height: 44px;
  border-radius: 50%; background: var(--ll-navy);
  color: #fff; font-size: 16px; font-weight: 700;
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.ll-thread-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ll-thread-meta { flex: 1; }
.ll-thread-name { font-size: 15px; font-weight: 700; color: var(--ll-ink); letter-spacing: -0.01em; }
.ll-thread-role { font-size: 13px; color: var(--ll-muted); font-weight: 500; }
.ll-thread-profile-link { font-size: 13px; font-weight: 600; color: var(--ll-navy); text-decoration: none; white-space: nowrap; }
.ll-thread-profile-link:hover { text-decoration: underline; }

.ll-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}
.ll-msgs-empty { text-align: center; font-size: 14px; color: var(--ll-muted); font-weight: 500; padding: 40px 0; }

.ll-msg { display: flex; flex-direction: column; max-width: 72%; }
.ll-msg--mine { align-self: flex-end; align-items: flex-end; }
.ll-msg--theirs { align-self: flex-start; align-items: flex-start; }
.ll-msg-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.ll-msg--mine .ll-msg-bubble { background: var(--ll-navy); color: #fff; border-radius: 18px 18px 4px 18px; }
.ll-msg--theirs .ll-msg-bubble { background: #fff; color: var(--ll-ink); border: 1px solid var(--ll-line); border-radius: 18px 18px 18px 4px; }
.ll-msg-time { font-size: 12px; color: var(--ll-muted); font-weight: 500; margin-top: 4px; padding: 0 4px; }

.ll-chat-composer {
  padding: 16px 20px;
  border-top: 1px solid var(--ll-line-lt);
  display: flex;
  gap: 12px;
  align-items: flex-end;
  background: #fff;
  flex-shrink: 0;
}
#ll-message-input {
  flex: 1;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--ll-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ll-ink);
  resize: none;
  outline: none;
  line-height: 1.5;
  max-height: 160px;
  transition: border-color 0.2s ease;
}
#ll-message-input:focus { border-color: var(--ll-navy); }
.ll-send-btn {
  width: 48px; height: 48px;
  background: var(--ll-navy);
  color: #fff;
  border: 0; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background 0.2s ease;
}
.ll-send-btn:hover { background: var(--ll-navy-deep); }

/* Modal */
.ll-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,31,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ll-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.ll-modal-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--ll-line-lt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.ll-modal-head h3 { font-size: 18px; font-weight: 700; color: var(--ll-ink); letter-spacing: -0.01em; }
.ll-modal-close {
  background: 0; border: 0; font-size: 24px; cursor: pointer; color: var(--ll-muted); line-height: 1; padding: 4px;
}
.ll-modal-search {
  margin: 20px 24px;
  padding: 14px 18px;
  border: 1px solid var(--ll-line);
  border-radius: 10px;
  font-family: var(--ll-sans);
  font-size: 14px; font-weight: 500; color: var(--ll-ink);
  outline: none; transition: border-color 0.2s ease; flex-shrink: 0;
}
.ll-modal-search:focus { border-color: var(--ll-navy); }
.ll-modal-list { flex: 1; overflow-y: auto; padding: 0 12px 12px; }
.ll-modal-member {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ll-modal-member:hover { background: var(--ll-bg-alt); }
.ll-modal-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ll-navy); color: #fff;
  font-size: 16px; font-weight: 700;
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.ll-modal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ll-modal-name { font-size: 15px; font-weight: 700; color: var(--ll-ink); letter-spacing: -0.01em; margin-bottom: 3px; }
.ll-modal-role { font-size: 13px; color: var(--ll-muted); font-weight: 500; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 980px) {
  .ll-wrap { padding: 0 24px; }
  .ll-section-head, .ll-hero-grid, .ll-build-grid, .ll-twocol, .ll-connect-grid, .ll-cta-banner, .ll-submit-bar {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ll-progress-steps { grid-template-columns: repeat(3, 1fr); }
  .ll-form-card { padding: 28px; }
  .ll-field-row, .ll-check-grid, .ll-upload-row { grid-template-columns: 1fr; gap: 20px; }
  .ll-submit-actions { justify-content: flex-start; }
  .ll-stat-grid { grid-template-columns: 1fr 1fr; }
  .ll-chat-shell { grid-template-columns: 1fr; height: auto; }
  .ll-chat-sidebar { height: 240px; }
  .ll-chat-messages { min-height: 300px; }
  .ll-cta-banner .ll-actions { justify-content: flex-start; }
  .ll-member-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}
@media (max-width: 600px) {
  .ll-hero-h1 { font-size: 36px; }
  .ll-member-grid { grid-template-columns: 1fr 1fr; }
  .ll-chat-shell { border-radius: 12px; }
}

/* ----------------------------------------------------------------
   Form validation states
---------------------------------------------------------------- */
.ll-field-error input,
.ll-field-error select,
.ll-field-error textarea {
  border-color: #e53e3e !important;
  background-color: #fff5f5;
}
.ll-field-error label {
  color: #e53e3e;
}
.ll-validation-msg {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #e53e3e;
  font-weight: 500;
}


/* ---------------------------------------------------------------
 * Locked / prefilled fields (logged-in users)
 * ------------------------------------------------------------- */
.ll-field-locked {
    background-color: var(--ll-surface, #f5f5f5) !important;
    color: var(--ll-ink-muted, #888) !important;
    cursor: not-allowed !important;
    border-color: transparent !important;
    opacity: 0.75;
}
.ll-field-locked:focus {
    outline: none !important;
    box-shadow: none !important;
}
