/* Complete methods, presented as deliberate subsections rather than crowded summaries. */
.view-samples .slide-body,.view-criteria .slide-body{justify-content:flex-start}
.ms-sections{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;gap:16px}
.ms-tabs{display:flex;gap:8px;flex:none;border-bottom:1px solid var(--edge);padding-bottom:12px}
.ms-tabs button{font-size:13px;padding:10px 18px;border:1px solid #cdd8c7;border-radius:4px;color:#526c5c;display:flex;gap:12px;align-items:center}
.ms-tabs small{font:10px Arial,sans-serif;opacity:.65}
.ms-tabs button[aria-selected=true]{background:var(--green);border-color:var(--green);color:var(--paper)}
#ms-panel{outline:none;flex:1;min-height:0;display:flex;flex-direction:column;justify-content:safe center;gap:18px}
#ms-panel h2{font-size:clamp(23px,2vw,32px);font-weight:550;line-height:1.5;margin:13px 0 18px}
#ms-panel h3{font-size:clamp(16px,1.3vw,21px);font-weight:550;line-height:1.5;margin:0 0 10px}
#ms-panel p{font-size:clamp(12px,1vw,16px);line-height:1.8;margin:0;color:#607265}
#ms-panel small{font-size:10px;color:#788c72}
#ms-panel .ms-note{font-size:11px;line-height:1.7;background:#e8ede2;border-left:3px solid var(--green);padding:10px 14px;flex:none;color:#3a5446}
#ms-panel .ms-small{font-size:10px;line-height:1.7;color:#74806d}
.ms-status{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#7b8975;border-top:1px solid var(--edge);padding-top:10px;flex:none}
.ms-design{display:grid;grid-template-columns:.9fr 1.2fr;gap:40px}
.ms-design-core{background:#e9eee3;padding:24px 28px;border:1px solid #d0dcc8;border-radius:8px}
.ms-design-core dl{margin:20px 0 0;display:grid;gap:13px}
.ms-design-core dl>div{display:grid;grid-template-columns:40px 1fr;gap:16px;border-top:1px solid #ced8c8;padding-top:10px;font-size:12px;line-height:1.7}
.ms-design-core dt{color:#78916a}.ms-design-core dd{margin:0;color:#3c5847}
.ms-design-rounds>small{display:block;margin-bottom:8px}
.ms-design-rounds article,.ms-pattern-steps article{display:grid;grid-template-columns:34px 1fr;gap:15px;padding:17px 0;border-bottom:1px solid var(--edge)}
.ms-design-rounds article>span,.ms-pattern-steps article>span{font:20px Arial,sans-serif;color:#93a68c}
.ms-design-rounds h3{margin-top:6px!important}
.ms-sample-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.ms-sample-counts article{border-top:2px solid var(--green);padding:14px 0}
.ms-sample-counts strong{font:clamp(38px,4vw,64px)/1.2 Arial,sans-serif;font-weight:300;color:var(--green)}
#ms-panel .ms-sample-counts h3{font-size:15px;margin:10px 0 7px}
#ms-panel .ms-sample-counts p{font-size:11px}
.ms-scope-bottom{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px}
.ms-tools{margin:0}
.ms-tools>div{display:grid;grid-template-columns:145px 1fr;gap:15px;border-bottom:1px solid var(--edge);padding:10px 0;font-size:12px;line-height:1.7}
.ms-tools dt{color:#7c8e71}.ms-tools dd{margin:0}
.ms-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:clamp(11px,1vw,15px);line-height:1.7}
.ms-table thead th{background:var(--green);color:var(--paper);font-weight:500;padding:12px 15px;text-align:left}
.ms-table td,.ms-table tbody th{padding:15px;border-bottom:1px solid #d1d9cc;text-align:left;vertical-align:middle;font-weight:400;color:#4c6454}
.ms-table tbody th{color:var(--green);font-weight:550;background:#e9eee3}
.ms-table td b{font-weight:550;color:#294c3a}
.ms-table thead th:first-child{width:17%}
.ms-conditions{font-size:12px}
.ms-conditions thead th,.ms-conditions tbody th,.ms-conditions td{padding:6px 12px;text-align:center}
.ms-qualifications{display:grid;grid-template-columns:1fr 1fr;gap:30px}
#ms-panel .ms-qualifications p{font-size:12px}
.ms-qualifications b{color:var(--green);margin-right:10px}
.ms-procedure{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ms-procedure>div{padding:12px 0;border-bottom:1px solid #b6c8ac;display:flex;gap:12px;align-items:baseline;font-size:12px}
.ms-pattern{display:grid;grid-template-columns:.85fr 1.15fr;gap:40px}
.ms-pattern-core{background:#e9eee3;padding:28px;border:1px solid #d0dcc8;border-radius:8px}
.ms-rating{display:flex;align-items:baseline;gap:16px;color:var(--green);margin:15px 0 22px}
.ms-rating b{font:64px/1 Arial,sans-serif}.ms-rating span{font-size:14px}
.ms-perception{padding:13px 0;margin:16px 0 8px;border-top:1px solid #c3d1b8;font-size:18px;color:var(--green)}
.ms-pattern-steps h3{font-size:16px!important;margin:0 0 5px!important}
.ms-pattern-steps p{font-size:12px!important}
.ms-pattern-steps article{padding:15px 0}
.ms-later-criteria{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.ms-later-criteria article{border-top:2px solid var(--green);padding:20px 0}
.ms-later-criteria h3{font-size:23px!important;margin:20px 0!important}
.ms-later-criteria p{font-size:17px!important;line-height:2!important}
.ms-citation{font-size:10px;color:#6a8260;line-height:1.7;margin-top:20px}
.ms-score{display:flex;justify-content:center;align-items:center;gap:30px;background:#e8ede2;padding:18px;color:var(--green);font-size:13px}
.ms-score b{font:28px Arial,sans-serif;margin:0 8px}
.ms-score i{font-style:normal;color:#93a38a}
@media(min-width:751px) and (max-height:800px){
 .view-samples .lead,.view-criteria .lead{font-size:12px;margin-bottom:10px}
 .ms-sections{gap:10px}.ms-tabs{padding-bottom:8px}.ms-tabs button{padding:7px 14px;font-size:11px}
 #ms-panel{gap:11px}#ms-panel h2{font-size:23px;margin:9px 0 12px}#ms-panel h3{font-size:15px;margin-bottom:6px}#ms-panel p{font-size:12px;line-height:1.7}
 .ms-design-core,.ms-pattern-core{padding:18px 22px}.ms-design-core dl{margin-top:12px;gap:8px}.ms-design-core dl>div{font-size:11px;padding-top:7px}
 .ms-design-rounds article,.ms-pattern-steps article{padding:10px 0}
 .ms-sample-counts article{padding:8px 0}.ms-sample-counts strong{font-size:36px}#ms-panel .ms-sample-counts h3{font-size:13px;margin:5px 0}#ms-panel .ms-sample-counts p{font-size:10px}
 .ms-tools>div{padding:7px 0;font-size:11px}.ms-table{font-size:11px}.ms-table td,.ms-table tbody th,.ms-table thead th{padding:10px 12px}.ms-conditions td,.ms-conditions tbody th,.ms-conditions thead th{padding:4px 10px}
 #ms-panel .ms-note{padding:7px 10px;font-size:10px}.ms-procedure>div{font-size:11px;padding:8px 0}.ms-rating{margin:12px 0}.ms-rating b{font-size:48px}.ms-perception{font-size:16px;margin-top:12px}
 .ms-later-criteria article{padding:12px 0}.ms-later-criteria h3{font-size:20px!important;margin:14px 0!important}.ms-later-criteria p{font-size:14px!important}.ms-citation{font-size:9px;margin-top:12px}.ms-score{padding:12px}.ms-score b{font-size:25px}.ms-status{font-size:9px;padding-top:7px}
}
@media(max-width:750px){.ms-sections{height:auto}.ms-tabs{flex-wrap:wrap}.ms-tabs button{font-size:11px;padding:9px 12px;gap:7px}#ms-panel{gap:24px}.ms-design,.ms-scope-bottom,.ms-pattern,.ms-qualifications{grid-template-columns:1fr;gap:24px}.ms-sample-counts{grid-template-columns:repeat(2,1fr)}.ms-table-wrap{overflow-x:auto}.ms-table:not(.ms-conditions){min-width:720px}.ms-procedure{grid-template-columns:1fr 1fr}.ms-later-criteria{grid-template-columns:1fr 1fr;gap:20px}.ms-score{flex-wrap:wrap;gap:12px}.ms-status{display:block;line-height:1.8}.ms-status span{display:block}.ms-tools>div{grid-template-columns:110px 1fr}.ms-design-core,.ms-pattern-core{padding:24px}.ms-rating b{font-size:52px}}

/* Subsection pagination sits beside the source control, outside slide content. */
.view-samples .slide-body,.view-criteria .slide-body{min-height:min-content}
.ms-sections{height:auto;flex:1;min-height:min-content}
#ms-panel{min-height:min-content}
#subpages[hidden]{display:none}
#subpages{display:flex;align-items:center;padding-right:14px;border-right:1px solid var(--edge)}
#subpages .ms-tabs,#subpages .conclusion-tabs{display:flex;align-items:center;gap:5px;border:0;padding:0;margin:0;background:none;flex-wrap:nowrap}
#subpages [role=tablist]::before{content:'세부 페이지';font-size:10px;color:var(--muted);margin-right:5px;white-space:nowrap}
#subpages [role=tab]{font-size:0;display:flex;align-items:center;justify-content:center;gap:0;width:30px;height:30px;min-width:0;padding:0;border:1px solid var(--edge);border-radius:3px;background:transparent;color:var(--green)}
#subpages [role=tab]>small,#subpages [role=tab]>span{font:11px Arial,sans-serif;opacity:1;margin:0;color:inherit}
#subpages [role=tab][aria-selected=true]{background:var(--green);border-color:var(--green);color:var(--paper)}
@media(max-width:750px){#subpages{padding-right:8px}#subpages [role=tablist]::before{display:none}#subpages [role=tab]{width:25px;height:30px}.footer:has(#subpages:not([hidden])) .progress,.footer:has(#subpages:not([hidden])) #footerchapter{display:none}.footer:has(#subpages:not([hidden])){padding-inline:12px;gap:8px}.footer:has(#subpages:not([hidden])) .footeractions{gap:5px}.footer:has(#subpages:not([hidden])) .footeractions #sourcebtn{margin-right:0;font-size:9px}}

/* One-page research scope: samples above, participants and context below. */
.ms-scope-summary{display:flex;flex-direction:column;gap:24px}
.ms-scope-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.ms-scope-counts article{border-top:2px solid var(--green);padding:14px 0 0;display:flex;align-items:center;gap:17px}
.ms-scope-counts strong{font:400 clamp(32px,3.2vw,54px)/1 Arial,sans-serif;color:var(--green)}
#ms-panel .ms-scope-counts h3{font-size:14px;margin:0 0 4px}
#ms-panel .ms-scope-counts p{font-size:10px;line-height:1.6}
.ms-scope-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:36px;align-items:start}
#ms-panel .ms-scope-grid>section>h3{font-size:18px;margin:0 0 13px}
.ms-scope-participants{font-size:clamp(12px,1vw,16px);line-height:1.7}
.ms-scope-participants thead th:first-child{width:19%}
.ms-scope-participants thead th:nth-child(2){width:35%}
.ms-scope-participants td,.ms-scope-participants tbody th,.ms-scope-participants thead th{padding:12px 11px}
#ms-panel .ms-scope-participants small{font-size:10px;color:#607265}
#ms-panel .ms-scope-eligibility{font-size:10px;line-height:1.7;margin-top:10px}
.ms-scope-eligibility b{color:var(--green);margin-right:8px}
.ms-scope-conditions{padding:0 0 13px;margin-bottom:15px;border-bottom:1px solid var(--edge);display:grid;gap:7px}
#ms-panel .ms-scope-conditions p{display:flex;gap:18px;font-size:12px;line-height:1.6}
.ms-scope-conditions b{min-width:68px;font-weight:550;color:var(--green)}
.ms-scope-context .ms-tools>div{grid-template-columns:100px 1fr;gap:12px;font-size:clamp(11px,.95vw,15px);padding:9px 0}
#ms-panel .ms-scope-boundary{border-top:1px solid var(--edge);padding-top:10px;font-size:10px;color:#6c7771;line-height:1.7}
@media(min-width:751px) and (max-height:800px){.ms-scope-summary{gap:16px}.ms-scope-counts article{padding-top:10px;gap:11px}.ms-scope-counts strong{font-size:32px}#ms-panel .ms-scope-counts h3{font-size:12px}.ms-scope-grid{gap:28px}#ms-panel .ms-scope-grid>section>h3{font-size:15px;margin-bottom:9px}.ms-scope-participants{font-size:10px}.ms-scope-participants td,.ms-scope-participants tbody th,.ms-scope-participants thead th{padding:8px 9px}#ms-panel .ms-scope-participants small{font-size:9px}.ms-scope-context .ms-tools>div{font-size:10px;padding:6px 0;grid-template-columns:85px 1fr}#ms-panel .ms-scope-conditions p{font-size:11px}.ms-scope-conditions{gap:5px;padding-bottom:10px;margin-bottom:10px}#ms-panel .ms-scope-eligibility,#ms-panel .ms-scope-boundary{font-size:9px}}
@media(max-width:750px){.ms-scope-grid{grid-template-columns:1fr;gap:25px}.ms-scope-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}.ms-scope-counts article{display:block}.ms-scope-counts strong{display:block;margin-bottom:10px}#ms-panel .ms-scope-counts h3{font-size:13px}.ms-scope-participants{min-width:0!important;font-size:10px}.ms-scope-participants td,.ms-scope-participants tbody th,.ms-scope-participants thead th{padding:9px 6px;overflow-wrap:anywhere}.ms-scope-participants thead th:first-child{width:21%}.ms-scope-participants thead th:nth-child(2){width:34%}.ms-scope-context .ms-tools>div{font-size:12px}.ms-scope-summary{gap:25px}}
