.law-screen{--law-red:#ff3131;--law-action:#bb212b;--law-surface:#fff;--law-soft:#f1f1f1;--law-line:#e4e4e4;--law-ink:#212121;--law-muted:#626262;width:min(100% - 36px,740px);color:var(--law-ink);margin-inline:auto;padding-block:clamp(22px,4vw,46px) 24px;line-height:1.5}.law-back{align-items:center;gap:8px;min-height:44px;margin-block-end:14px;font-weight:800;display:inline-flex}.law-back svg{color:var(--law-action);transform:scaleX(-1)}[dir=rtl] .law-back svg{transform:none}[dir=rtl] .law-next svg{transform:scaleX(-1)}.law-next{color:var(--law-action)}.law-stage{margin-block-end:18px}.law-stage h1{overflow-wrap:anywhere;font-size:clamp(1.5rem,4vw,2rem);font-weight:750}.law-stage p,.law-course-heading p{color:var(--law-muted)}.law-stage-teacher h1{font-weight:900}.law-year-title{margin-block:22px 12px;font-size:1.13rem}.law-years,.law-subjects,.law-teachers,.law-lectures{margin:0;padding:0;list-style:none}.law-years,.law-subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.law-years{max-width:460px;margin-inline:auto}.law-years a,.law-subjects a,.law-teachers a{border:1px solid var(--law-line);background:var(--law-surface);border-radius:24px;min-width:0;height:100%;transition:border-color .16s,background-color .16s;display:flex}.law-years a:hover,.law-subjects a:hover,.law-teachers a:hover{border-color:var(--law-red)}.law-years a{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:max(130px,min(100vw - 36px,460px)/2 - 6px);padding:12px}.law-year-number,.law-lecture-icon{background:var(--law-soft);border-radius:50%;place-items:center;display:grid}.law-year-number{width:56px;height:56px;color:var(--law-action);font-size:1.65rem;font-weight:850}.law-search{color:var(--law-action);border:1px solid var(--law-line);background:#f8f8f8;border-radius:16px;align-items:center;gap:12px;margin-block-end:16px;padding-inline:15px;display:flex}.law-search input{color:var(--law-ink);font:inherit;background:0 0;border:0;width:100%;min-width:0;min-height:52px}.law-search input:focus{outline:none}.law-search:focus-within{outline:2px solid var(--law-action);outline-offset:2px}.law-subjects a{flex-direction:column;overflow:hidden}.law-subject-cover{aspect-ratio:4/5;background:var(--law-soft);display:block}.law-subject-cover img{object-fit:contain;width:100%;height:100%;display:block}.law-subject-label{overflow-wrap:anywhere;gap:4px;padding:clamp(10px,2.4vw,18px);display:grid}.law-subject-label strong{font-size:clamp(.9rem,3vw,1.1rem);font-weight:850}.law-subject-label small{color:var(--law-muted)}.law-cover-fallback{background:var(--law-soft);color:#a26c16;place-items:center;height:100%;min-height:110px;display:grid}.law-teachers{gap:12px;display:grid}.law-teachers a{align-items:center;gap:12px;min-height:108px;padding:clamp(12px,3vw,24px)}.law-teacher-icon{border:1px solid var(--law-line);background:var(--law-soft);color:#8a5b10;border-radius:15px;flex:none;place-items:center;width:48px;height:48px;display:grid}.law-teacher-name{overflow-wrap:anywhere;flex:1;gap:4px;display:grid}.law-teacher-name strong{font-size:1.08rem;font-weight:850}.law-teacher-name span{color:var(--law-muted)}.law-course-heading{border:1px solid var(--law-line);background:var(--law-surface);border-radius:24px;overflow:hidden}.law-course-heading img{object-fit:contain;background:var(--law-soft);width:100%;max-height:clamp(220px,52vw,430px);display:block}.law-course-heading>div:last-child{padding:15px 19px}.law-course-heading h1{font-size:clamp(1.25rem,4vw,1.65rem);font-weight:850}.law-sections{margin-block-start:18px}.law-tab-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;display:grid}.law-tab-list label{text-align:center;background:var(--law-soft);cursor:pointer;border:1px solid #0000;border-radius:17px;align-content:center;justify-items:center;gap:4px;min-height:80px;padding:6px 2px;font-size:clamp(.69rem,2.9vw,.92rem);font-weight:800;display:grid}.law-tab-list small{color:var(--law-muted);font-weight:500}.law-panel,.law-half{display:none}.law-panel{margin-block-start:20px}.law-panel h2{font-size:1.24rem;font-weight:850}.law-view-note{color:var(--law-muted);margin-block:5px 13px;font-size:.9rem}.law-view-note a{color:var(--law-action);font-weight:750;text-decoration:underline}#law-section-lectures:checked~.law-panel-lectures,#law-section-summaries:checked~.law-panel-summaries,#law-section-challenge:checked~.law-panel-challenge,#law-section-court:checked~.law-panel-court,#law-half-first:checked~.law-half-first,#law-half-final:checked~.law-half-final{display:block}#law-section-lectures:checked~.law-tab-list [for=law-section-lectures],#law-section-summaries:checked~.law-tab-list [for=law-section-summaries],#law-section-challenge:checked~.law-tab-list [for=law-section-challenge],#law-section-court:checked~.law-tab-list [for=law-section-court]{background:#fae5e6;border-color:#f6a6aa}.law-segmented{border:1px solid var(--law-line);background:var(--law-surface);border-radius:14px;grid-template-columns:repeat(2,1fr);gap:4px;margin-block-end:12px;padding:4px;display:grid}.law-segmented label{text-align:center;cursor:pointer;border-radius:10px;place-items:center;min-height:42px;padding:5px;font-weight:760;display:grid}#law-half-first:checked~.law-segmented [for=law-half-first],#law-half-final:checked~.law-segmented [for=law-half-final]{background:var(--law-action);color:#fff}#law-section-lectures:focus-visible~.law-tab-list [for=law-section-lectures],#law-section-summaries:focus-visible~.law-tab-list [for=law-section-summaries],#law-section-challenge:focus-visible~.law-tab-list [for=law-section-challenge],#law-section-court:focus-visible~.law-tab-list [for=law-section-court],#law-half-first:focus-visible~.law-segmented [for=law-half-first],#law-half-final:focus-visible~.law-segmented [for=law-half-final]{outline:2px solid var(--law-action);outline-offset:2px}.law-lectures{gap:9px;display:grid}.law-lectures li{border:1px solid var(--law-line);background:var(--law-surface);overflow-wrap:anywhere;border-radius:17px;align-items:center;gap:10px;min-height:66px;padding:9px 12px;display:flex}.law-lecture-icon{width:38px;height:38px;color:var(--law-action);flex:none}.law-lecture-app{color:var(--law-muted);margin-inline-start:auto}.law-empty{border:1px solid var(--law-line);background:var(--law-surface);color:var(--law-muted);border-radius:16px;padding:16px}@media (width<=280px){.law-years,.law-subjects,.law-tab-list{grid-template-columns:1fr}}@media (prefers-color-scheme:dark){.law-screen{--law-action:#ff9b9e;--law-surface:#262222;--law-soft:#352f2f;--law-line:#514747;--law-ink:#f6eded;--law-muted:#d6c7c7}.law-search{background:var(--law-surface)}.law-cover-fallback,.law-teacher-icon{color:#f2c777}#law-section-lectures:checked~.law-tab-list [for=law-section-lectures],#law-section-summaries:checked~.law-tab-list [for=law-section-summaries],#law-section-challenge:checked~.law-tab-list [for=law-section-challenge],#law-section-court:checked~.law-tab-list [for=law-section-court]{background:#572f33;border-color:#ad555b}#law-half-first:checked~.law-segmented [for=law-half-first],#law-half-final:checked~.law-segmented [for=law-half-final]{color:#251719}}@media (prefers-reduced-motion:reduce){.law-years a,.law-subjects a,.law-teachers a{transition:none}}
