/* JuriVerso · Definiciones contextuales en todas las lecciones. */
:is(.jcl-article,.lesson-content) .jgl-term{
  display:inline;
  appearance:none;
  border:0;
  border-bottom:1.5px dashed #da8e3c;
  border-radius:4px;
  padding:0 2px;
  margin:0;
  background:linear-gradient(180deg,transparent 38%,#fff0d4 38%);
  color:#a85419;
  font:inherit;
  font-weight:800;
  line-height:inherit;
  text-align:inherit;
  cursor:pointer;
  text-decoration:none;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  transition:background .15s,color .15s;
}
:is(.jcl-article,.lesson-content) .jgl-term:hover,:is(.jcl-article,.lesson-content) .jgl-term:focus-visible,:is(.jcl-article,.lesson-content) .jgl-term[aria-expanded="true"]{
  background:#ffdf9b;
  color:#71320e;
  border-bottom-color:#b76418;
}
:is(.jcl-article,.lesson-content) .jgl-term:focus-visible{outline:2px solid #f5ac4c;outline-offset:2px}
.jgl-lesson-hint{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 14px;
  padding:12px 15px;
  background:linear-gradient(120deg,#fff9e9,#f1fbf2);
  border:1px solid #efe2c9;
  border-radius:13px;
  color:#6c5b40;
  font:500 12px/1.6 Manrope,system-ui,sans-serif;
}
.jgl-lesson-hint strong{color:#5f4b29}
.jgl-hint-word{color:#b25a21;font-weight:800;border-bottom:1.5px dashed #da8e3c}
.jgl-popover{
  position:fixed;
  z-index:100100;
  width:min(360px,calc(100vw - 24px));
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  box-sizing:border-box;
  padding:18px 19px 16px;
  border:1px solid #e7d5ae;
  border-radius:17px;
  background:#fffdf8;
  box-shadow:0 17px 45px #2b241c30,0 3px 12px #705a3c1a;
  color:#263d43;
  line-height:1.55;
  text-align:left;
}
.jgl-popover[hidden]{display:none!important}
.jgl-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.jgl-topline>span{font:900 10px/1.2 Manrope,system-ui,sans-serif;letter-spacing:.12em;color:#b06b28}
.jgl-popover h3{font:900 20px/1.24 Manrope,system-ui,sans-serif;letter-spacing:-.025em;color:#253c42;margin:0 0 9px}
.jgl-definition{font:500 13px/1.65 Manrope,system-ui,sans-serif;color:#43565b;margin:0 0 13px}
.jgl-example{padding:11px 12px;background:#edf9ed;border:1px solid #d6e9d6;border-radius:11px}
.jgl-example strong{display:block;font:900 11px/1.5 Manrope,system-ui,sans-serif;color:#337354;margin-bottom:3px}
.jgl-example p{font:500 12px/1.6 Manrope,system-ui,sans-serif;color:#426254;margin:0}
.jgl-help{display:block;margin-top:10px;color:#927555;font:600 10px/1.5 Manrope,system-ui,sans-serif}
.jgl-close{background:#fff3e5;border:1px solid #ead8c0;color:#8e6444;border-radius:50%;width:29px;height:29px;font:800 13px system-ui;cursor:pointer;display:grid;place-items:center}
.jgl-close:hover,.jgl-close:focus-visible{background:#ffe0b8;color:#6c3e1c}
.jgl-popover[data-mode="preview"] .jgl-close{display:none}
.jgl-popover[data-mode="pinned"] .jgl-help{display:none}
@media(max-width:600px){
  .jgl-popover{padding:15px 16px;border-radius:14px}
  .jgl-popover h3{font-size:18px}
  .jgl-lesson-hint{font-size:11px}
  :is(.jcl-article,.lesson-content) .jgl-term{font-weight:800}
}
@media(prefers-reduced-motion:reduce){:is(.jcl-article,.lesson-content) .jgl-term{transition:none}}
