.treatment-view-selector{margin:4px 0 18px;padding:6px 14px;border:1px solid #92748d;border-radius:10px;background:#221e30}
.treatment-mode-switch{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;cursor:pointer}
.treatment-mode-name{flex:1;min-width:0;max-width:250px;color:#c5b4ca;font-size:15px;font-weight:550;line-height:1.35}
.treatment-mode-name:first-child{text-align:right}.treatment-mode-name:last-child{text-align:left}
.treatment-mode-name.active{color:#f2c9e1;font-weight:750}
.treatment-mode-control{position:relative;display:flex;align-items:center;flex:0 0 52px;width:52px;height:44px}
.treatment-mode-control input{position:absolute;inset:0;width:52px;height:44px;margin:0;opacity:0;cursor:pointer;z-index:1}
.treatment-mode-track{display:block;width:52px;height:30px;border:1px solid #b491aa;border-radius:20px;background:#4b3c55;transition:background .15s}
.treatment-mode-track>span{display:block;width:22px;height:22px;margin:3px;border-radius:50%;background:#f0d5e7;box-shadow:0 2px 5px #0c091e66;transition:transform .15s}
.treatment-mode-control input:checked+.treatment-mode-track{background:#568c83;border-color:#a9dbd2}
.treatment-mode-control input:checked+.treatment-mode-track>span{transform:translateX(22px);background:#e3f5ee}
.treatment-mode-control input:focus-visible+.treatment-mode-track{outline:3px solid #b8eee2;outline-offset:4px}
.case-exam-badge{display:inline-flex;align-items:center;max-width:100%;width:fit-content;margin:8px 0;padding:5px 9px;border:1px solid #df98c4;border-radius:7px;background:#5c294c;color:#ffe7f6;font-size:11px;font-weight:750;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.case-study-choice.case-exam-choice{border-color:#c882ad;box-shadow:inset 3px 0 #c882ad}
.case-study-choice>.case-exam-badge,.management-case-choice .case-exam-badge{display:inline-flex;color:#ffe7f6;background:#5c294c;margin:8px 0;font-size:11px;line-height:1.4}
.section-audio-picker .playlist-topic-option .case-exam-badge{display:inline-flex;color:#ffe7f6;background:#5c294c;border-color:#c882ad;margin:7px 0 4px;font-size:11px;font-weight:750;line-height:1.4}
.case-exam-origin{margin:0 0 16px;padding:12px 14px;border:1px solid #ad6b98;border-radius:10px;background:#382137}
.case-exam-origin .case-exam-badge{margin:0 0 7px}
.case-study-header .case-exam-origin p{margin:0;color:#efd4e6;font-size:13px;line-height:1.55}
.case-study-sheet:has(.case-exam-origin){border-color:#d99cc0}
@media(max-width:600px){.treatment-view-selector{padding:6px 10px}.treatment-mode-switch{gap:10px}.treatment-mode-name{font-size:14px}}
@media(prefers-reduced-motion:reduce){.treatment-mode-track,.treatment-mode-track>span{transition:none}}
.case-study-lead{font-size:15px;line-height:1.75;color:#dccadb;margin:0 0 23px;max-width:1000px}
.case-study-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:23px;align-items:start}
.case-study-browser{position:sticky;top:100px;border:1px solid #7f617b;border-radius:16px;background:#211c2e;padding:19px;min-width:0}
.case-study-browser label{display:block;color:#e8cfe1;font-size:13px;font-weight:650;line-height:1.5;margin:0 0 7px}
.case-study-browser input,.case-study-browser select{width:100%;max-width:100%;min-height:46px;padding:11px 12px;margin:0 0 15px;border:1px solid #a27c97;border-radius:9px;background:#151321;color:#f9eafa;font:inherit;font-size:14px}
.case-study-count{color:#c9b6cb;font-size:12px;line-height:1.5;margin:0 0 10px}
.case-study-list{display:flex;flex-direction:column;gap:8px;max-height:calc(100dvh - 360px);min-height:130px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b78da9 #211b2e}
.case-study-choice{display:block;width:100%;text-align:left;flex-shrink:0;padding:13px;border:1px solid #75566e;border-radius:10px;background:#302639;color:#f7e7f4;font:inherit}
.case-study-choice.selected{border-color:#e7adc9;background:#51374c;box-shadow:inset 3px 0 #e7adc9}
.case-study-choice strong{display:block;font-size:14px;line-height:1.5}
.case-study-choice>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#c9b9cd;font-size:12px;line-height:1.6;margin-top:5px}
.case-study-choice small{display:block;color:#b8dcd6;font-size:11px;line-height:1.5;margin-top:8px}
.case-study-sheet{border:1px solid #b18aa5;border-radius:18px;background:#211c2d;color:#f0e6f1;overflow:hidden;min-width:0;scroll-margin-top:100px}
.case-study-header{padding:28px 30px;background:linear-gradient(125deg,#3b2b40,#292335);border-bottom:1px solid #8d6882}
.case-study-kicker{font-size:11px!important;letter-spacing:.1em;font-weight:700;line-height:1.5!important;color:#d9a6c8!important;margin:0 0 10px!important}
.case-study-sheet h2{font-size:clamp(26px,3vw,38px);line-height:1.25;color:#f0c4df;margin:0 0 15px;overflow-wrap:anywhere}
.case-study-sheet h3{font-size:clamp(22px,2.5vw,27px);line-height:1.4;color:#f0c5df;margin:0 0 17px}
.case-study-sheet h4{font-size:19px;line-height:1.5;color:#efd2e5;margin:0 0 13px}
.case-study-sheet p{font-size:16px;line-height:1.85;margin:0 0 18px;overflow-wrap:anywhere}
.case-study-header>p:not(.case-study-kicker),.case-study-intro{color:#d4bfd6;font-size:14px!important;line-height:1.75!important}
.case-study-actions{display:flex;flex-wrap:wrap;gap:10px;margin:21px 0 8px}
.case-study-actions button{min-height:48px;font-size:14px;padding:11px 16px;border-radius:10px}
.case-study-actions .primary{background:#e6b1ce;color:#291e2f;border:1px solid #f0c9df}
.case-study-actions .secondary{background:#211a2b;color:#edd3e8;border:1px solid #b489a7}
.case-study-jumps{display:flex;flex-wrap:wrap;gap:8px;padding:17px 28px;border-bottom:1px solid #765970;background:#2a2134}
.case-study-jumps a{color:#e9c9e1;font-size:12px;font-weight:650;text-decoration:none;border:1px solid #8a6580;border-radius:25px;padding:9px 12px;line-height:1.5}
.case-study-presentation,.case-study-impacts,.case-study-management{padding:28px 30px;scroll-margin-top:100px}
.case-study-presentation{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;background:#2d2335}
.case-study-presentation figure{margin:0;min-width:0}
.case-study-presentation img{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;border-radius:12px;background:#100c17}
.case-study-presentation figcaption{font-size:11px;line-height:1.6;color:#c7afc8;margin-top:8px}
.case-study-reference{font-size:11px!important;line-height:1.65!important;color:#c1a5bf!important;margin:12px 0 0!important}
.case-study-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #a27b98;border-radius:11px;overflow:hidden}
.case-study-table caption{text-align:left;padding:0 0 11px;font-size:14px;font-weight:650;color:#c4e4dd;line-height:1.5}
.case-study-impacts{min-width:0;container-type:inline-size}
.case-study-table th,.case-study-table td{padding:17px 16px;vertical-align:top;text-align:left;border-bottom:1px solid #785771;border-right:1px solid #785771;overflow-wrap:anywhere}
.case-study-table th:last-child,.case-study-table td:last-child{border-right:0}
.case-study-table tr:last-child>*{border-bottom:0}
.case-study-table thead th{font-size:13px;line-height:1.5;color:#f4daeb;background:#4a3246}
.case-study-table thead th:first-child{width:19%}
.case-study-table tbody th{font-size:13px;line-height:1.7;background:#35283d;color:#e7c5dd}
.case-study-table td{background:#282132}
.case-study-table td p{font-size:14px;line-height:1.85;margin-bottom:10px}
.case-study-table td p:last-child{margin-bottom:0}
.case-study-source-limit{background:#30283a!important}
.case-study-step{border:1px solid #806079;border-left:4px solid #bd8ba8;border-radius:12px;background:#2c2234;margin:0 0 19px;padding:22px}
.case-study-step p:last-child{margin-bottom:0}
.case-study-footer{padding:24px 30px 30px;border-top:1px solid #765970;background:#2b2234}
.case-study-footer>a{color:#bde3db;font-size:14px;line-height:1.6}
.case-study-footer details{margin-top:20px;color:#cbb6ce;font-size:13px;line-height:1.7}
.case-study-footer summary{cursor:pointer;font-weight:650}
.case-study-footer details p{font-size:13px;margin:12px 0 0}
.management-case-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid #72526b;padding-right:10px}
.management-case-row .management-case-choice{border-bottom:0}
.management-case-open{color:#c0e3dc;text-decoration:none;border:1px solid #8b6d85;border-radius:8px;font-size:11px;line-height:1.4;padding:10px;min-height:44px;display:flex;align-items:center;white-space:nowrap}
@media(min-width:1250px){.case-study-presentation{grid-template-columns:minmax(0,1fr) minmax(240px,.85fr);align-items:start}}
@media(max-width:1050px){.case-study-layout{grid-template-columns:235px minmax(0,1fr);gap:17px}.case-study-header,.case-study-presentation,.case-study-impacts,.case-study-management,.case-study-footer{padding:24px}.case-study-table th,.case-study-table td{padding:13px 11px}}
@media(max-width:800px){
 .case-study-layout{grid-template-columns:minmax(0,1fr)}.case-study-browser{position:static;padding:17px}.case-study-list{min-height:0;max-height:225px}
 .case-study-sheet{border-radius:14px}.case-study-header,.case-study-presentation,.case-study-impacts,.case-study-management,.case-study-footer{padding:23px 18px}.case-study-jumps{padding:15px 18px}
 .case-study-table,.case-study-table tbody,.case-study-table tr,.case-study-table tbody th,.case-study-table td{display:block;width:100%}
 .case-study-table{border:0;overflow:visible}.case-study-table caption{display:block;width:100%;white-space:normal;overflow-wrap:normal}.case-study-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .case-study-table tr{border:1px solid #936c89;border-radius:11px;overflow:hidden;margin-bottom:16px}.case-study-table tbody th{border:0;border-bottom:1px solid #936c89;padding:13px 16px;font-size:15px}
 .case-study-table td{border-right:0;padding:17px 16px}.case-study-table td::before{content:attr(data-label);display:block;color:#bde1d9;font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:10px}
 .case-study-table td p{font-size:15px}.case-study-step{padding:19px 16px}.case-study-actions button{flex:1 1 210px}
 .management-case-row{grid-template-columns:minmax(0,1fr);padding:0 0 10px}.management-case-open{margin:0 12px;justify-content:center}
}
/* A nested oral/mission panel can be narrow even in a landscape viewport. */
@container(max-width:640px){
 .case-study-table,.case-study-table tbody,.case-study-table tr,.case-study-table tbody th,.case-study-table td{display:block;width:100%}
 .case-study-table{border:0;overflow:visible}
 .case-study-table caption{display:block;width:100%;white-space:normal;overflow-wrap:normal}
 .case-study-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .case-study-table tr{border:1px solid #936c89;border-radius:11px;overflow:hidden;margin-bottom:16px}
 .case-study-table tbody th{border:0;border-bottom:1px solid #936c89;padding:13px 16px;font-size:15px}
 .case-study-table td{border-right:0;padding:17px 16px}
 .case-study-table td::before{content:attr(data-label);display:block;color:#bde1d9;font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:10px}
 .case-study-table td p{font-size:15px}
}
