/* Lectio */
  .llm{
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
 color: inherit;
  line-height: inherit;
  }

   .llm-card{
    max-width:1080px;
    margin:0 auto;
    border:none;
    border-radius:16px;
    padding:16px;
    background:transparent;
    box-sizing:border-box;
    overflow:visible;
  }

  @media (max-width:760px){
    .llm-card{ padding:14px; }
  }

  /* =========================================================
     Lectio section — FULL-WIDTH BLACK FIELD
     From top to bottom, edge to edge inside card
  ========================================================= */

  #ll-strength-lectio .llm-lectio{
  margin:-16px -16px -16px -16px;
  padding:20px 16px 22px 16px;
  box-shadow:none;
  background:transparent;
  color:inherit;
  box-sizing:border-box;
}


  #ll-strength-lectio .llm-lectioGrid{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
    align-items:start;
  }

  #ll-strength-lectio .llm-lectioRight{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  /* =========================================================
     Lectio actions (bottom buttons)
  ========================================================= */

#ll-strength-lectio .llm-lectioActions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.22);
}

#ll-strength-lectio .llm-assessWrap{
  margin-top:18px;
  padding:16px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:18px;
  background:transparent;
  box-sizing:border-box;
}

#ll-strength-lectio .llm-assessWrap{
  color:#111;
}

#ll-strength-lectio .llm-assessWrap button,
#ll-strength-lectio .llm-assessWrap p{
  color:#fff;
}

#ll-strength-lectio .llm-assess,
#ll-strength-lectio .llm-assessResults{
  border:none;
  padding:0;
  margin:0;
}

  #ll-strength-lectio .llm-lectioBtn{
    appearance:none;
    border:1px solid rgba(255,255,255,.28);
    background:transparent;
    color:#fff;
    border-radius:999px;
    padding:10px 14px;
    font-size:13px;
    font-weight:850;
    letter-spacing:-0.01em;
    cursor:pointer;
    line-height:1;
  }

  #ll-strength-lectio .llm-lectioBtn:hover{
    background:rgba(255,255,255,.08);
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    transform:translateY(-1px);
  }

  #ll-strength-lectio .llm-lectioBtn:active{
    transform:translateY(0);
    box-shadow:0 6px 14px rgba(0,0,0,.16);
  }

  @media (prefers-reduced-motion:reduce){
    #ll-strength-lectio .llm-lectioBtn:hover,
    #ll-strength-lectio .llm-lectioBtn:active{
      transform:none;
    }
  }

  /* =========================================================
     Strength Assessment (isolated styling block)
     NOTE: Blind UI (no domain/topic labels shown in flows)
  ========================================================= */

  #ll-strength-lectio .llm-assessTop{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin:0 0 12px 0;
  }

  #ll-strength-lectio .llm-assessKicker{
    margin:0 0 4px 0;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.78;
  }

#ll-strength-lectio .llm-assessTitle{
  margin:0 0 4px 0;
  font-size:15px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#fff;
}

  #ll-strength-lectio .llm-assessGuide{
  margin:6px 0 0 0;
  font-size: var(--portal-body-copy-size);
  line-height:1.45;
  opacity:.85;
}

  #ll-strength-lectio .llm-assessFresh{
    appearance:none;
    border:1px solid rgba(255,255,255,.28);
    background:transparent;
    color:#fff;
    border-radius:999px;
    padding:9px 12px;
    font-size:12px;
    font-weight:850;
    letter-spacing:-0.01em;
    cursor:pointer;
    line-height:1;
    flex:0 0 auto;
  }

  #ll-strength-lectio .llm-assessList{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    margin:0 0 12px 0;
  }

  @media (max-width:760px){
    #ll-strength-lectio .llm-assessList{
      grid-template-columns:repeat(2, minmax(0, 1fr));
    }
  }

  #ll-strength-lectio .llm-assessRow{
    border-radius:14px;
  }

  #ll-strength-lectio .llm-assessPromptBtn{
    appearance:none;
    width:100%;
    text-align:left;

    border:1px solid rgba(255,255,255,.22);
    border-radius:14px;

    padding:12px 12px;
    font-size:13px;
    line-height:1.35;
    font-weight:750;
    letter-spacing:-0.005em;

    min-height:calc(2.7em + 24px);
    display:flex;
    align-items:center;

    cursor:pointer;
    transition:transform 160ms ease, box-shadow 160ms ease, background-color 180ms ease, color 180ms ease;
  }

  @media (max-width:680px){
    #ll-strength-lectio .llm-assessPromptBtn{
      min-height:calc(5.4em + 24px);
      align-items:center;
    }
  }

  #ll-strength-lectio .llm-assessPromptBtn[data-state="E"]{
    background:#000;
    color:#fff;
    border-color:rgba(255,255,255,.22);
  }

  #ll-strength-lectio .llm-assessPromptBtn[data-state="P"]{
    background:#6b6b6b;
    color:#fff;
    border-color:rgba(255,255,255,.22);
  }

  #ll-strength-lectio .llm-assessPromptBtn[data-state="A"]{
    background:#fff;
    color:#111;
    border-color:rgba(255,255,255,.22);
  }

  #ll-strength-lectio .llm-assessPromptBtn:hover{
    box-shadow:none;
    transform:none;
  }

  #ll-strength-lectio .llm-assessPromptBtn:active{
    box-shadow:none;
    transform:none;
  }

  #ll-strength-lectio .llm-assessNav{
    display:flex;
    gap:10px;
    justify-content:flex-end;
  }

  #ll-strength-lectio .llm-assessBtn{
    appearance:none;
    border:1px solid rgba(255,255,255,.28);
    background:transparent;
    color:#fff;
    border-radius:999px;
    padding:10px 14px;
    font-size:13px;
    font-weight:850;
    letter-spacing:-0.01em;
    cursor:pointer;
    line-height:1;
  }

  #ll-strength-lectio .llm-assessBtn[disabled]{
    opacity:.45;
    cursor:not-allowed;
  }

  #ll-strength-lectio .llm-assessBtnPrimary{
    background:rgba(255,255,255,.12);
  }

  #ll-strength-lectio .llm-assessResultsTop{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin:0 0 12px 0;
  }

  #ll-strength-lectio .llm-assessActions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  #ll-strength-lectio .llm-assessRespGrid2{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    margin:0 0 12px 0;
  }

  #ll-strength-lectio .llm-assessRespGrid3{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    margin:0 0 12px 0;
  }

  @media (max-width:760px){
    #ll-strength-lectio .llm-assessRespGrid2,
    #ll-strength-lectio .llm-assessRespGrid3{
      grid-template-columns:1fr;
    }
  }

  #ll-strength-lectio .llm-assessRespBox{
    border:1px solid rgba(255,255,255,.22);
    border-radius:14px;
    padding:12px 12px;
    background:rgba(255,255,255,.04);
  }

  #ll-strength-lectio .llm-assessRespTitle{
  margin:0 0 10px 0;
  font-size:14px;
  line-height:1.35;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
  opacity:.92;
}

  #ll-strength-lectio .llm-assessLine{
  margin:0 0 8px 0;
  font-size:14px;
  line-height:1.45;
  opacity:.92;
}

  #ll-strength-lectio .llm-assessCommitLabel{
    margin:10px 0 6px 0;
    font-size:12px;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
    opacity:.86;
  }

  #ll-strength-lectio .llm-assessCommitTA{
  width:100%;
  min-height:78px;
  resize:vertical;
  padding:10px 11px;

  background:#f2f2f2;
  color:#111;

  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;

  font:inherit;
  font-size:15px;
  line-height:1.4;
  box-sizing:border-box;
}

  #ll-strength-lectio .llm-assessCommitTA:focus{
    outline:none;
    border-color:rgba(255,255,255,.40);
  }

  #ll-strength-lectio .llm-strengthReflections,
  #ll-strength-lectio .llm-strengthReflection{
    display:grid;
    gap:10px;
  }

  #ll-strength-lectio .llm-strengthReflection textarea{
    width:100%;
    min-height:96px;
    box-sizing:border-box;
    font:inherit;
  }

  #ll-strength-lectio .llm-strengthSort{
    display:flex;
    gap:6px;
  }

  #ll-strength-lectio [data-strength-sort][aria-pressed="true"]{
    font-weight:bold;
  }

/* Heart/Soul/Mind-aligned reflection system */
#ll-strength-lectio .llm-lectio{
  margin:0;
  padding:0;
}

#ll-strength-lectio .llm-lectioGrid{
  gap:18px;
}

#ll-strength-lectio .llm-lectioLeft h2,
#ll-strength-lectio .llm-lectioPrintNote h2{
  margin:0 0 10px;
  font-size:20px;
  font-weight:650;
  line-height:1.25;
}

#ll-strength-lectio .llm-lectioLeft p,
#ll-strength-lectio .llm-lectioPrintNote p{
  margin:0 0 12px;
  font-size: var(--portal-body-copy-size);
  line-height:1.5;
}

#ll-strength-lectio .llm-lectioLeft p:last-child,
#ll-strength-lectio .llm-lectioPrintNote p:last-child{
  margin-bottom:0;
}

#ll-strength-lectio .llm-strengthReflections{
  gap:14px;
}

#ll-strength-lectio .llm-strengthReflection{
  gap:12px;
  padding:16px;
  border:1px solid currentColor;
  border-radius:14px;
  background:transparent;
}

#ll-strength-lectio .llm-strengthQuestion,
#ll-strength-lectio .llm-alternateQuestions{
  min-width:0;
}

#ll-strength-lectio .llm-strengthReflectionTitle{
  margin:0;
  font-size:15px;
  font-weight:650;
  line-height:1.4;
}

#ll-strength-lectio .llm-miniPrompt,
#ll-strength-lectio .llm-alternateOutput{
  margin:0;
  font-size: var(--portal-body-copy-size);
  line-height:1.5;
}

#ll-strength-lectio .llm-alternateControls{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:8px;
}

#ll-strength-lectio .llm-alternateNav{
  display:flex;
  align-items:center;
  gap:2px;
}

#ll-strength-lectio .llm-alternateControls button{
  width:28px;
  height:28px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
}

#ll-strength-lectio .llm-alternateControls svg{
  display:block;
  width:20px;
  height:20px;
  margin:auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@keyframes llmStrengthSlideFromLeft{
  from{ opacity:0; transform:translateX(-8px); }
  to{ opacity:1; transform:translateX(0); }
}

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

#ll-strength-lectio .llm-slideFromLeft{
  animation:llmStrengthSlideFromLeft 180ms ease;
}

#ll-strength-lectio .llm-slideFromRight{
  animation:llmStrengthSlideFromRight 180ms ease;
}

#ll-strength-lectio .llm-strengthReflection textarea{
  width:100%;
  min-height:78px;
  margin:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:12px;
  background:#f2f2f2;
  color:#111;
  box-sizing:border-box;
  font:inherit;
  font-size:16px;
  line-height:1.5;
  resize:vertical;
}

#ll-strength-lectio .llm-strengthSort{
  display:flex;
  gap:8px;
}

#ll-strength-lectio [data-strength-sort]{
  appearance:none;
  padding:7px 11px;
  border:1px solid currentColor;
  border-radius:999px;
  background:transparent;
  color:inherit;
  font:inherit;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

#ll-strength-lectio [data-strength-sort][aria-pressed="true"]{
  border-color:#fff;
  background:#fff;
  color:#111;
  font-weight:650;
}

#ll-strength-lectio .llm-revealedMap{
  margin-top:32px;
  padding:20px;
  color:#000;
  background:#fff;
  border-radius:14px;
}

#ll-strength-lectio .llm-revealedMap #ll-strength-map.llm-filledReveal .llm-moreText{
  display:none !important;
}

/* Shared reflection action menu */
#ll-strength-lectio .llm-actionMenu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-top:32px;
  padding-top:20px;
  border-top:1px solid rgba(0,0,0,.22);
}

#ll-strength-lectio .llm-actionIcon{
  appearance:none;
  width:40px;
  height:40px;
  padding:7px;
  border:1px solid currentColor;
  border-radius:999px;
  background:transparent;
  color:inherit;
  cursor:pointer;
  transition:transform 160ms ease, filter 160ms ease, color 160ms ease, opacity 160ms ease;
}

#ll-strength-lectio .llm-actionIcon:hover{
  transform:translateY(-2px);
  filter:drop-shadow(0 4px 3px rgba(0,0,0,.22));
}

#ll-strength-lectio .llm-actionIcon:disabled{
  cursor:default;
}

#ll-strength-lectio .llm-actionIcon svg{
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#ll-strength-lectio .llm-actionIcon.llm-startFresh svg{
  transform:translateX(.5px);
}

#ll-strength-lectio .llm-actionIcon.llm-copySuccess{
  color:#8a6d00;
}

#ll-strength-lectio .llm-actionIcon.llm-copyFailed{
  opacity:.5;
}

@media (max-width:760px){
  #ll-strength-lectio .llm-revealedMap{
    padding:14px;
  }
}

/* Final Strength reflection grouping + sorting stage */
#ll-strength-lectio .llm-lectioGrid{
  gap:32px;
}

#ll-strength-lectio .llm-strengthReflectionShell,
#ll-strength-lectio .llm-strengthSorting{
  padding:20px;
  border:1px solid currentColor;
  border-radius:14px;
  background:transparent;
}

#ll-strength-lectio .llm-strengthReflectionShell .llm-lectioRight{
  margin-top:24px;
}

#ll-strength-lectio .llm-strengthReflectionShell .llm-strengthReflections{
  gap:24px;
}

#ll-strength-lectio .llm-strengthReflectionShell .llm-strengthReflection{
  padding:0;
  border:0;
  border-radius:0;
}

#ll-strength-lectio .llm-strengthStageActions{
  display:flex;
  justify-content:flex-end;
  margin-top:18px;
}

#ll-strength-lectio .llm-strengthSorting:not([hidden]){
  display:block;
}

#ll-strength-lectio .llm-strengthSortList{
  margin-top:20px;
  border-top:1px solid rgba(255,255,255,.22);
}

#ll-strength-lectio .llm-strengthSortItem{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:18px;
  row-gap:6px;
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.22);
}

#ll-strength-lectio .llm-strengthSortAnswer{
  grid-column:1;
  margin:0;
  font-size:16px;
  line-height:1.5;
  white-space:pre-wrap;
}

#ll-strength-lectio .llm-strengthSortAnswer.llm-empty{
  opacity:.62;
}

#ll-strength-lectio .llm-strengthSortItem .llm-strengthSort{
  grid-column:2;
  grid-row:1 / span 2;
  align-self:center;
}

#ll-strength-lectio .llm-strengthSorting .llm-revealedMap{
  margin-top:32px;
}

#ll-strength-lectio .llm-lectioPrintNote{
  margin-top:0;
}

@media (max-width:680px){
  #ll-strength-lectio .llm-strengthSortItem{
    grid-template-columns:1fr;
  }

  #ll-strength-lectio .llm-strengthSortItem .llm-strengthSort{
    grid-column:1;
    grid-row:auto;
  }
}
