/* Release candidate only: fixed three-column lesson layout. */
.school-company-panel{box-sizing:border-box;background:#eef5f2;border:1px solid #d4e5df;border-radius:12px;padding:18px;color:#203d37}
.school-company-link{display:block;margin-top:12px;font-size:.9rem;font-weight:600;color:#174f45;text-decoration:underline;text-underline-offset:3px}.school-company-link:focus-visible{outline:3px solid #174f45;outline-offset:3px}
.school-company-panel h2{font-size:1.1rem;margin:0 0 10px}.school-company-panel p{font-size:.9rem;line-height:1.5}
.school-ad-slot{box-sizing:border-box;margin-top:16px;min-height:180px;padding:20px 12px;border:1px dashed #a6bbb5;border-radius:12px;color:#536f68;text-align:center;background:#f7faf9}
@media(min-width:1280px){
 html body.school-release-layout{display:block!important;padding:0!important}
 html body.school-release-layout>header,html body.school-release-layout>main{box-sizing:border-box!important;width:auto!important;max-width:none!important;margin-left:calc(21vw + 22px)!important;margin-right:calc(19vw + 22px)!important;min-width:0!important}
 html body.school-release-layout>header{padding:22px 10px!important}
 html body.school-release-layout>main{padding:12px 10px!important}
 html body.school-release-layout>.school-left-rail{position:fixed!important;top:20px!important;left:12px!important;right:auto!important;width:calc(21vw - 20px)!important;max-height:calc(100vh - 40px);overflow:auto;z-index:3}
 html body.school-release-layout>.lesson-toc{box-sizing:border-box!important;display:block!important;position:fixed!important;top:20px!important;right:12px!important;left:auto!important;width:calc(19vw - 20px)!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;margin:0!important;z-index:4}
}
@media(max-width:1279px){html body.school-release-layout>.school-left-rail{max-width:940px;margin:18px auto;padding:0 16px}html body.school-release-layout>.lesson-toc{position:relative!important;left:auto!important;right:auto!important;top:auto!important;max-width:940px;margin:12px auto!important}html body.school-release-layout>main{max-width:940px;margin-left:auto!important;margin-right:auto!important}}

/* In release-candidate layout the dedicated left rail replaces the legacy shared-layout sponsor aside. Avoid a full-viewport sticky layer hiding navigation. */
html body.school-release-layout>.sponsor-preview{display:none!important}

/* ES-SÄK-001: readable, accessible supplementary legal layer; hide no information.
   The compact summary remains visibly available even when the long notice is closed. */
html body.school-release-layout .school-safety-disclosure{display:block;box-sizing:border-box;max-width:100%;margin:14px 0 24px;border:1px solid #d6c8aa;border-left:4px solid #b47c35;background:#fffbf3;border-radius:9px;color:#3e3930;overflow:visible}
html body.school-release-layout .school-safety-disclosure>summary{display:list-item;cursor:pointer;margin:0;padding:11px 17px;font-weight:600;font-size:.94rem;line-height:1.55;color:#644918;list-style-position:inside}
html body.school-release-layout .school-safety-disclosure>summary:hover{background:#f8f1e3}
html body.school-release-layout .school-safety-disclosure>summary:focus-visible{outline:3px solid #276e6b;outline-offset:3px}
html body.school-release-layout .school-safety-disclosure[open]>summary{border-bottom:1px solid #e3d6bb}
html body.school-release-layout .school-safety-disclosure>[data-policy="ES-SÄK-001"]{box-sizing:border-box;max-width:100%;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;padding:14px 19px!important;box-shadow:none!important}
html body.school-release-layout .school-safety-disclosure h2{font-size:1.05rem;line-height:1.45;margin:0 0 12px}
html body.school-release-layout .school-safety-disclosure p{font-size:.94rem;line-height:1.65}
html body.school-release-layout .school-safety-disclosure a{overflow-wrap:anywhere}
@media(max-width:600px){html body.school-release-layout .school-safety-disclosure{margin:12px 0 19px}html body.school-release-layout .school-safety-disclosure>summary{padding:10px 12px}html body.school-release-layout .school-safety-disclosure>[data-policy="ES-SÄK-001"]{padding:12px 14px!important}}
/* Keep instructional tables scrollable within the lesson on narrow phones. */
@media(max-width:600px){html body.school-release-layout main table{display:block!important;max-width:100%!important;overflow-x:auto!important;box-sizing:border-box!important}html body.school-release-layout main{min-width:0;overflow-wrap:break-word}}

/* G. Eriksson Mekaniska: original logotype and low-key workshop contact, shown on all lessons. */
.school-company-logo-link{display:block;width:fit-content;max-width:100%;margin:0 0 12px;border-radius:4px}
.school-company-logo{display:block;width:200px;max-width:100%;height:auto;object-fit:contain}
.school-company-logo-link:focus-visible{outline:3px solid #174f45;outline-offset:3px}
.school-company-panel h2{font-size:1.05rem;line-height:1.3;margin:10px 0 9px;color:#173b35}
.school-company-contact{display:inline-block;margin-top:13px;padding:10px 12px;border-radius:7px;background:#194b3e;color:#fff!important;font-weight:600;font-size:.88rem;text-decoration:none}
.school-company-contact:hover{background:#0f342a}
.school-company-contact:focus-visible{outline:3px solid #174f45;outline-offset:3px}
@media(max-width:1279px){.school-company-panel{max-width:100%}}

/* Legacy mobile rules hid the original company aside; keep replacement visible. */
html body.school-release-layout>.school-left-rail>.school-company-panel{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important}
/* Integrated course education rather than a stand-alone legal disclaimer. */
html body.school-release-layout .course-safety-lesson{border:1px solid #bfd8ce;border-left:5px solid #26765d;background:#eef7f2;border-radius:10px;padding:14px 18px;margin:18px 0 24px}
html body.school-release-layout .course-safety-lesson h2{font-size:1.11rem;margin:0 0 6px;color:#174c3b}
html body.school-release-layout .course-safety-lesson p{margin:7px 0;line-height:1.5}
html body.school-release-layout .course-safety-lesson a{font-weight:700;color:#145b43;text-underline-offset:3px}

@media(max-width:720px){html body.school-release-layout main table{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important}html body.school-release-layout main caption{max-width:100%;white-space:normal;word-break:normal}html body.school-release-layout main{overflow-x:clip!important}}

/* Old review-class boxes remain truthful source limitations, but not yellow editorial banners. */
html body.school-release-layout main .kontrollera{background:#f4f7f6!important;color:#425e58!important;border:1px solid #d6e3de!important;border-left:3px solid #9fbdb1!important;border-radius:8px!important;padding:11px 14px!important;margin:12px 0!important;font-size:.92em!important;box-shadow:none!important}
html body.school-release-layout main .kontrollera strong{color:inherit!important}

/* SCHOOL_LESSON_NAVIGATION_V1_BEGIN */
html body.school-release-layout main .school-lesson-nav{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
 padding:0!important;margin:18px 0 24px!important;max-width:100%;box-sizing:border-box;
}
html body.school-release-layout main .school-lesson-nav-end{margin:32px 0 22px!important}
html body.school-release-layout main .school-lesson-step{
 display:flex!important;flex-direction:column;justify-content:center;gap:4px;
 padding:13px 16px!important;background:#eef6f2!important;border:1px solid #bed8cd!important;
 border-radius:10px!important;text-decoration:none!important;color:#174a39!important;
 min-height:77px;min-width:0;overflow-wrap:anywhere;
}
html body.school-release-layout main .school-lesson-step strong{
 color:#15543e!important;font-size:.96rem;line-height:1.35;
}
html body.school-release-layout main .school-lesson-step span{
 color:#46675b!important;font-size:.82rem;line-height:1.4;
}
html body.school-release-layout main .school-lesson-step-next{text-align:right}
html body.school-release-layout main .school-lesson-step:hover{
 background:#e0f1e8!important;border-color:#41866b!important;
}
html body.school-release-layout main .school-lesson-step:focus-visible{
 outline:3px solid #2b8865!important;outline-offset:3px!important
}
@media(max-width:580px){
 html body.school-release-layout main .school-lesson-nav{gap:8px;margin:15px 0 20px!important}
 html body.school-release-layout main .school-lesson-step{padding:11px 9px!important;min-height:80px}
 html body.school-release-layout main .school-lesson-step strong{font-size:.86rem}
 html body.school-release-layout main .school-lesson-step span{font-size:.73rem}
}
/* SCHOOL_LESSON_NAVIGATION_V1_END */
