/* Ladies of Legacy v0.6.1 — integrated social + legacy system.
   This file layers on top of the stable v0.5.2 Facebook-style shell. */

#lol-app-root .lol-integrated-lens,
#lol-app-root .lol-method-strip,
#lol-app-root .lol-circle-builder,
#lol-app-root .lol-integrated-section,
#lol-app-root .lol-circle-hub-head {
  background:#fff;
  border:1px solid var(--lol-v04-line);
  border-radius:16px;
  box-shadow:var(--lol-v04-shadow);
  padding:16px;
  margin:0 0 12px;
  min-width:0;
}

#lol-app-root .lol-integrated-lens__intro {
  display:grid;
  gap:4px;
  margin-bottom:12px;
}
#lol-app-root .lol-integrated-lens__intro strong {
  color:var(--lol-v04-plum);
  font-family:Georgia,"Times New Roman",serif;
  font-size:1rem;
  line-height:1.35;
}

#lol-app-root .lol-key-chips {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
#lol-app-root .lol-key-chip {
  border:1px solid var(--lol-v04-line)!important;
  background:var(--lol-v04-cream)!important;
  color:var(--lol-v04-plum)!important;
  border-radius:12px!important;
  padding:9px 8px!important;
  min-width:0;
  cursor:pointer;
  text-align:left;
  box-shadow:none!important;
}
#lol-app-root .lol-key-chip span,
#lol-app-root .lol-key-chip small { display:block; }
#lol-app-root .lol-key-chip span { font-size:.76rem;font-weight:900; }
#lol-app-root .lol-key-chip small { margin-top:3px;font-size:.64rem;line-height:1.3;color:var(--lol-v04-muted);font-weight:650; }
#lol-app-root .lol-key-chip:hover { background:#eee5ef!important; }

#lol-app-root .lol-composer-prompts--interactive button,
#lol-app-root .lol-opportunity-prompt {
  border:1px solid var(--lol-v04-line)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--lol-v04-muted)!important;
  padding:7px 10px!important;
  font-size:.72rem!important;
  font-weight:780!important;
  cursor:pointer;
  line-height:1.2!important;
}
#lol-app-root .lol-composer-prompts--interactive button:hover,
#lol-app-root .lol-opportunity-prompt:hover { color:var(--lol-v04-plum)!important;background:#f4eef5!important; }
#lol-app-root .lol-opportunity-prompt { color:var(--lol-v04-plum)!important;border-color:rgba(210,170,85,.45)!important;background:#fffaf0!important; }

#lol-app-root .lol-circle-builder {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:start;
}
#lol-app-root .lol-circle-builder h2,
#lol-app-root .lol-integrated-section h2,
#lol-app-root .lol-circle-hub-head strong {
  color:var(--lol-v04-plum);
  font-family:Georgia,"Times New Roman",serif;
}
#lol-app-root .lol-circle-builder h2,
#lol-app-root .lol-integrated-section h2 { margin:5px 0 7px!important;font-size:1.24rem!important; }
#lol-app-root .lol-circle-builder p,
#lol-app-root .lol-integrated-section p { color:var(--lol-v04-muted);margin:0; }
#lol-app-root .lol-circle-create-details { min-width:220px; }
#lol-app-root .lol-circle-create-details summary {
  list-style:none;
  cursor:pointer;
  border-radius:999px;
  background:var(--lol-v04-plum);
  color:#fff;
  padding:10px 14px;
  font-size:.8rem;
  font-weight:850;
  text-align:center;
}
#lol-app-root .lol-circle-create-details[open] { grid-column:1/-1; }
#lol-app-root .lol-circle-create-details[open] summary { width:max-content;margin-left:auto; }
#lol-app-root .lol-integrated-form { display:grid;gap:11px;margin-top:14px; }
#lol-app-root .lol-integrated-form label { display:grid;gap:5px;color:var(--lol-v04-plum);font-size:.78rem;font-weight:800; }
#lol-app-root .lol-integrated-form input,
#lol-app-root .lol-integrated-form textarea,
#lol-app-root .lol-integrated-form select {
  width:100%;
  max-width:100%;
  border:1px solid var(--lol-v04-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--lol-v04-ink)!important;
  padding:10px 11px!important;
  box-shadow:none!important;
}

#lol-app-root .lol-integrated-section__head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}
#lol-app-root .lol-integrated-section__head > span {
  display:inline-flex;
  min-width:34px;
  min-height:34px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f3edf4;
  color:var(--lol-v04-plum);
  font-weight:850;
  font-size:.78rem;
}
#lol-app-root .lol-circle-leader { margin:12px 0 5px;color:var(--lol-v04-muted);font-size:.78rem; }
#lol-app-root .lol-circle-leader strong { color:var(--lol-v04-plum); }

#lol-app-root .lol-circle-hub-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
#lol-app-root .lol-circle-hub-head > div { display:grid;gap:2px; }
#lol-app-root .lol-circle-hub-head > div > span { color:var(--lol-v04-muted);font-size:.78rem; }
#lol-app-root .lol-circle-hub-head .lol-copy-link { width:auto; }

#lol-app-root .lol-integrated-tabs {
  display:flex;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:thin;
  margin:0 0 12px;
  padding:1px 0 4px;
}
#lol-app-root .lol-integrated-tabs a {
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:999px;
  border:1px solid var(--lol-v04-line);
  background:#fff;
  color:var(--lol-v04-muted);
  font-size:.75rem;
  font-weight:800;
}
#lol-app-root .lol-integrated-tabs a.is-active { background:var(--lol-v04-plum);color:#fff;border-color:var(--lol-v04-plum); }

#lol-app-root .lol-integrated-people-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
#lol-app-root .lol-integrated-person {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:10px;
  border:1px solid var(--lol-v04-line);
  border-radius:13px;
  color:var(--lol-v04-ink);
  background:#fff;
}
#lol-app-root .lol-integrated-person img { width:46px;height:46px;border-radius:50%;object-fit:cover;flex:0 0 auto; }
#lol-app-root .lol-integrated-person span { min-width:0; }
#lol-app-root .lol-integrated-person strong,
#lol-app-root .lol-integrated-person small { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
#lol-app-root .lol-integrated-person strong { color:var(--lol-v04-plum);font-size:.82rem; }
#lol-app-root .lol-integrated-person small { color:var(--lol-v04-muted);font-size:.68rem;margin-top:2px; }

#lol-app-root .lol-integrated-stats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin:14px 0;
}
#lol-app-root .lol-integrated-stats > div {
  background:var(--lol-v04-cream);
  border:1px solid rgba(49,17,56,.06);
  border-radius:13px;
  padding:12px;
  min-width:0;
}
#lol-app-root .lol-integrated-stats span,
#lol-app-root .lol-integrated-stats strong { display:block; }
#lol-app-root .lol-integrated-stats span { color:var(--lol-v04-muted);font-size:.68rem;font-weight:750; }
#lol-app-root .lol-integrated-stats strong { color:var(--lol-v04-plum);font-size:.98rem;margin-top:4px;overflow-wrap:anywhere; }

#lol-app-root .lol-rank-journey {
  background:#fff;
  border:1px solid var(--lol-v04-line);
  border-radius:16px;
  box-shadow:var(--lol-v04-shadow);
  padding:16px;
  margin:0 0 12px;
  overflow:hidden;
}
#lol-app-root .lol-rank-track { display:flex;gap:0;overflow-x:auto;padding:13px 2px 4px;scrollbar-width:thin; }
#lol-app-root .lol-rank-step { position:relative;flex:0 0 150px;padding:18px 10px 8px 0;border-top:2px solid #ddd1df; }
#lol-app-root .lol-rank-step > span { position:absolute;top:-7px;left:0;width:12px;height:12px;border-radius:50%;background:#d8ccd9;border:2px solid #fff;box-shadow:0 0 0 1px #d8ccd9; }
#lol-app-root .lol-rank-step strong,
#lol-app-root .lol-rank-step small { display:block; }
#lol-app-root .lol-rank-step strong { color:var(--lol-v04-plum);font-size:.78rem; }
#lol-app-root .lol-rank-step small { color:var(--lol-v04-muted);font-size:.63rem;margin-top:3px; }
#lol-app-root .lol-rank-step.is-earned { border-top-color:#caa84e; }
#lol-app-root .lol-rank-step.is-earned > span { background:#caa84e;box-shadow:0 0 0 1px #caa84e; }
#lol-app-root .lol-rank-step.is-current { border-top-color:var(--lol-v04-plum); }
#lol-app-root .lol-rank-step.is-current > span { background:var(--lol-v04-plum);box-shadow:0 0 0 4px rgba(49,17,56,.12); }

#lol-app-root .lol-method-strip {
  padding:13px 15px;
}
#lol-app-root .lol-method-strip__grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin-top:9px;
}
#lol-app-root .lol-method-strip__grid > div {
  padding:9px;
  border-radius:11px;
  background:var(--lol-v04-cream);
  min-width:0;
}
#lol-app-root .lol-method-strip__grid strong,
#lol-app-root .lol-method-strip__grid span { display:block; }
#lol-app-root .lol-method-strip__grid strong { color:var(--lol-v04-plum);font-size:.73rem; }
#lol-app-root .lol-method-strip__grid span { color:var(--lol-v04-muted);font-size:.61rem;line-height:1.3;margin-top:2px; }

#lol-app-root .lol-method-card__line { line-height:1.55!important; }
#lol-app-root .lol-method-card__line strong { color:var(--lol-v04-plum); }

#lol-app-root .lol-opportunity-lens { display:grid;gap:9px;margin-top:12px; }
#lol-app-root .lol-opportunity-lens > div { background:var(--lol-v04-cream);border-radius:12px;padding:11px; }
#lol-app-root .lol-opportunity-lens span { display:block;color:#a0782b;font-size:.62rem;font-weight:900;letter-spacing:.09em; }
#lol-app-root .lol-opportunity-lens p { margin:4px 0 0!important;color:var(--lol-v04-ink)!important;font-size:.82rem!important;line-height:1.5; }
#lol-app-root .lol-mini-list a small { display:block;color:#a0782b;font-size:.58rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;margin-bottom:1px; }

/* Keep all new components inside the established center column. */
#lol-app-root .lol-integrated-lens,
#lol-app-root .lol-method-strip,
#lol-app-root .lol-circle-builder,
#lol-app-root .lol-integrated-section,
#lol-app-root .lol-circle-hub-head,
#lol-app-root .lol-rank-journey,
#lol-app-root .lol-opportunity-lens { max-width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere; }

@media (max-width:1080px) {
  #lol-app-root .lol-key-chips,
  #lol-app-root .lol-method-strip__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:820px) {
  #lol-app-root .lol-key-chips,
  #lol-app-root .lol-method-strip__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #lol-app-root .lol-circle-builder { grid-template-columns:1fr; }
  #lol-app-root .lol-circle-create-details { min-width:0; }
  #lol-app-root .lol-circle-create-details[open] summary { margin-left:0; }
  #lol-app-root .lol-integrated-stats { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  #lol-app-root .lol-key-chips,
  #lol-app-root .lol-method-strip__grid,
  #lol-app-root .lol-integrated-people-grid { grid-template-columns:1fr; }
  #lol-app-root .lol-circle-hub-head { align-items:flex-start;flex-direction:column; }
  #lol-app-root .lol-circle-hub-head .lol-copy-link { width:100%; }
}
