/* Civil 0.6 · Las relaciones jurídicas se comprenden viendo sus posiciones. */
.jcr{color:#284438}
.jcr-hero{background:linear-gradient(118deg,#e0f4e8 0%,#fff0d8 51%,#eee5fa 100%);border-color:#cbdccc}
.jcr-hero:after{content:'↔';font-family:Georgia,serif;font-weight:600;color:#9acdbb5c;right:9%;top:-83px;font-size:300px;transform:rotate(-19deg)}
.jcr-hero h1 em{color:#a65d4b}
.jcr-hero .jch-hero-art>span{color:#486b58;background:#fff7e7;border-color:#c6c39a}
.jcr .jch-progress-circle strong{color:#47775f}
.jcr .jcl-article{font-size:14px;line-height:1.9}
.jcr .jcl-article a{font-weight:800;color:#966145;text-decoration-color:#cda285;text-underline-offset:3px;overflow-wrap:anywhere}
.jcr .jcl-article a:hover{color:#286e55}
.jcr-lesson-note{background:linear-gradient(125deg,#e0f5e9,#fff1dc 57%,#edeafa);border-color:#cbded0}
.jcr-chapter-panel{background:linear-gradient(128deg,#dcf4e9,#fff0d9 57%,#ebe6f8);border-color:#c9dfd0}
.jcr-chapter-panel .jcl-chapter-top{border-bottom-color:#d6dfd1}
.jcr-chapter-panel .jcl-chapter-top h3{color:#3e6a57}
.jcr-chapter-panel .jcl-chapter-topic:hover{background:#eff9e9}
.jcr-cards .jcl-card:nth-child(2),.jcr-cards .jcl-card:nth-child(6){background:linear-gradient(145deg,#def3e7,#effbe9)}
.jcr-cards .jcl-card:nth-child(3),.jcr-cards .jcl-card:nth-child(7){background:linear-gradient(145deg,#eee7fa,#f8effd)}
.jcr-lab{margin:28px 0 41px;padding:29px 27px 27px;background:linear-gradient(133deg,#e7f6ec,#fff5e7 51%,#f0ebfa);border:1px solid #cddfcf;border-radius:25px;box-shadow:0 15px 28px rgba(38,65,50,.045)}
.jcr-lab .jcl-section-head{margin:0 0 19px}
.jcr-lab .jcl-section-head h2{color:#315b48}
.jcr-scenario-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0 0 13px}
.jcr-scenario{border:1px solid #d5ddcf;border-radius:16px;background:#fffdf9;color:#3d594e;min-width:0;min-height:98px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:13px 8px;box-shadow:0 5px 0 #d7d9cc45;transition:transform .15s,border-color .15s,background .15s}
.jcr-scenario span{font-size:27px;line-height:1}
.jcr-scenario strong{font-size:12px;line-height:1.2;font-weight:800}
.jcr-scenario:hover:not(.active){border-color:#bc8e68;transform:translateY(-2px)}
.jcr-scenario.active{color:#fff;background:#3e715c;border-color:#3e715c;box-shadow:0 10px 19px rgba(46,102,77,.18);transform:translateY(-2px)}
.jcr-scenario:focus-visible{outline:3px solid #8b78d1;outline-offset:3px}
.jcr-map-detail{background:#fffdf8;border:1px solid #e2ded0;border-radius:21px;padding:24px;min-height:290px;box-shadow:0 7px 20px #324d4110}
.jcr-map-heading>span{display:inline-block;color:#986548;font-weight:900;font-size:10px;letter-spacing:.085em}
.jcr-map-heading h3{font-size:21px;line-height:1.28;margin:7px 0 19px;color:#31594b}
.jcr-relation-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,.76fr) minmax(0,1fr);align-items:center;gap:12px;margin-bottom:16px}
.jcr-party{min-height:103px;border-radius:15px;padding:15px 14px;display:flex;flex-direction:column;justify-content:center;gap:8px}
.jcr-party small{font-weight:900;font-size:9px;letter-spacing:.095em;line-height:1.45}
.jcr-party strong{font-size:14px;font-weight:850;line-height:1.4}
.jcr-party.is-active{background:#dcf3e5;border:1px solid #b7d7c2;color:#315e4e}
.jcr-party.is-passive{background:#fff0da;border:1px solid #ebd1ad;color:#7f5942}
.jcr-relation-link{align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;color:#7c6592}
.jcr-relation-link b{font-size:38px;line-height:1.1;font-family:Georgia,serif}
.jcr-relation-link span{font-weight:750;font-size:11px;line-height:1.4}
.jcr-map-analysis{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.jcr-map-analysis>div{background:#f7faf5;border:1px solid #e0e8dd;border-radius:13px;padding:12px 15px}
.jcr-map-analysis b{display:block;font-size:12px;color:#356a54;margin-bottom:4px}
.jcr-map-analysis p{font-size:12px;line-height:1.6;color:#556a5e}
.jcr-map-warning{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px dashed #dac6a3;background:#fff5e7;border-radius:14px;padding:7px 13px 7px 16px;margin-top:12px;color:#7e5938;font-size:12px;font-weight:750;line-height:1.55}
.jcr-map-warning img{width:58px;height:65px;object-fit:contain;image-rendering:pixelated;flex:none;filter:drop-shadow(0 5px 5px #6e50331a)}
.jcr .jcl-case-hidden{margin:23px 0 8px;padding:17px 18px;border:1px solid #c7dfcf;border-radius:15px;background:#eaf7ed}
.jcr .jcl-case-hidden summary{font-weight:900;cursor:pointer;color:#365c4c;font-size:13px}
.jcr .jcl-case-hidden>div{margin-top:20px}
@media(max-width:1080px){.jcr-scenario-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.jcr-scenario{min-height:87px}}
@media(max-width:700px){.jcr-lab{padding:19px 13px 18px}.jcr-scenario-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.jcr-scenario{min-height:80px;padding:10px 6px}.jcr-scenario span{font-size:24px}.jcr-scenario strong{font-size:11px}.jcr-map-detail{padding:16px 12px}.jcr-map-heading h3{font-size:18px}.jcr-relation-flow{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);gap:5px}.jcr-party{padding:11px 8px;min-height:112px}.jcr-party small{font-size:8px}.jcr-party strong{font-size:11px}.jcr-relation-link b{font-size:27px}.jcr-relation-link span{font-size:9px;overflow-wrap:anywhere}.jcr-map-analysis{grid-template-columns:1fr;gap:8px}.jcr-map-analysis>div{padding:10px 11px}.jcr-map-warning img{width:46px;height:54px}.jcr-hero:after{right:-5%;top:4%;font-size:175px}.jcr .jcl-article{font-size:13px;line-height:1.77}}
@media(max-width:360px){.jcr-scenario-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.jcr *{animation:none!important;transition:none!important}}
