/* C3 writing presentation only; all answer fields and account controls are retained. */
.c3-practice-box,.hub-panel:has(>.qw){background:#fff;border:1px solid #cfdae2;border-top:5px solid #234e6e;border-radius:12px;padding:28px;min-width:0;container-type:inline-size}
.c3-practice-box .pp-question-head{padding:0;background:transparent;color:#19344f;border-radius:0}
.c3-practice-box .pp-question-head h2{color:#19344f;font-size:24px;margin:9px 0 0}
.c3-practice-box .pp-marks{background:#edf3f7;padding:8px 12px;border-radius:6px}
.c3-practice-box .pp-question{padding:18px 0 22px;border:0;border-radius:0;font-size:18px;line-height:1.65}
.c3-practice-box .pp-source{margin:0;border-top:1px solid #d6e0e7}
.c3-practice-box .pp-source summary{font-size:14px}
.c3-practice-box .pp-xray{margin:0 0 24px;padding:0;border:0;border-top:1px solid #d6e0e7;border-bottom:1px solid #d6e0e7;border-radius:0;background:transparent}
.c3-practice-box .pp-xray dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;background:#f3f6f8;border-radius:8px;padding:18px;margin:0 0 12px}
.c3-practice-box .pp-xray dt{color:#19344f}.c3-practice-box .pp-xray p{margin:12px 0 18px}
.c3-practice-box:has(.qw)>[data-pp-count]{display:none}
.qw{margin:22px 0 0;color:#19344f}
.qw .qw-header>p{font-size:15px;line-height:1.65;margin:0 0 14px}
.qw .qw-header strong{font-weight:750}
.qw .qw-header .c1v-evaluate{font-size:15px;padding:13px 16px;background:#edf3f7;border-left:3px solid #234e6e;border-radius:0}
.qw .qw-switch{margin:18px 0 22px;justify-content:flex-start;gap:8px}
.qw .qw-switch button{min-height:44px;font-size:13px;padding:10px 14px}
.qw .c1v-current{padding:0!important;border:0;border-radius:0;background:transparent}
.qw .cl-task{padding-top:22px}
.qw .cl-task h2{font-size:23px!important}
.qw .cl-task p{font-size:16px!important;margin-bottom:20px}
.qw .qw-map>h3{font-size:14px;letter-spacing:.03em;text-transform:uppercase;margin:0 0 12px;color:#526a7a}
.qw .qw-flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0 0 15px}
.qw .qw-flow>li{display:block;padding:16px 14px;margin:0}
.qw .qw-flow>li h4{font-size:16px;line-height:1.4;margin:11px 0 8px;color:#19344f}
.qw .qw-flow>li p{font-size:14px!important;line-height:1.65}
.qw .qw-flow>li:only-child{display:flex;gap:14px}
.qw .qw-flow:has(>li:only-child){grid-template-columns:1fr}
.qw .qw-flow>li:only-child h4{margin-top:2px}
.qw .qw-flow:has(>li:nth-child(2):last-child){grid-template-columns:1fr 1fr}
.qw .qw-flow:has(>li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.qw .cl-starter{font-size:14px;margin-top:12px;font-weight:650}
.qw-starter-label{font-weight:400}
.qw .qw-map-note{font-size:13px;line-height:1.6;color:#526372;margin:10px 0 24px}
.qw .c1v-writing{margin:0}
.qw .c1v-writing label{font-size:16px;font-weight:750}
.qw .c1v-writing textarea{background:white;min-height:210px;font-size:16px;line-height:1.75;border-color:#8097a9}
.qw .qw-detail{margin:18px 0 0;border:0;border-top:1px solid #d6e0e7;background:transparent;padding:0;border-radius:0}
.qw .qw-detail>summary{padding:15px 0;min-height:48px;cursor:pointer;color:#24577a;font-weight:650;font-size:14px}
.qw .qw-diagram{margin:0;padding:0;border:0}
.qw .qw-diagram p{font-size:14px;line-height:1.65}
.qw .qw-retained{font-size:14px;padding:12px 15px;line-height:1.6}
.qw .c1v-checklist label{font-size:15px;line-height:1.65;min-height:48px}
.qw :is(textarea,button,input,summary):focus-visible{outline:3px solid #2376b4;outline-offset:3px}
.hub-panel:has(>.qw)>.hub-question{border:0;border-radius:0;background:transparent;padding:0;font-size:18px;line-height:1.65}
@container(max-width:760px){.qw .qw-flow{grid-template-columns:1fr 1fr}.qw .qw-flow>li:nth-child(3)::before{content:none}.qw .qw-flow:has(>li:nth-child(3):last-child){grid-template-columns:1fr}.qw .qw-flow:has(>li:nth-child(3):last-child)>li+li::before{content:'↓';left:27px;right:auto;top:-24px}.qw .qw-flow:has(>li:nth-child(3):last-child)>li{display:flex;gap:14px}}
@container(max-width:540px){.qw .qw-flow,.qw .qw-flow:has(>li:nth-child(2):last-child){grid-template-columns:1fr;gap:22px}.qw .qw-flow>li{display:flex;gap:14px}.qw .qw-flow>li h4{margin-top:2px}.qw .qw-flow>li+li::before,.qw .qw-flow>li:nth-child(3)::before{content:'↓';left:27px;right:auto;top:-25px}.qw .qw-switch{display:grid;grid-template-columns:1fr 1fr}.qw .qw-switch button{padding:10px;font-size:12px}.qw .qw-diagram>div{display:grid}.qw .qw-diagram span{display:grid;gap:5px}.qw .qw-diagram i{transform:rotate(90deg);text-align:center}}
@media(max-width:640px){.c3-practice-box,.hub-panel:has(>.qw){padding:20px}.c3-practice-box .pp-xray dl{grid-template-columns:1fr;padding:15px;gap:16px}.c3-practice-box .pp-question{font-size:17px}.qw .cl-task h2{font-size:22px!important}}
@media print{.c3-practice-box{border:0;padding:0}.c3-practice-box:has(.qw)>[data-pp-count]{display:block}}

.qw .qw-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Keep the existing C3 progress rail beside the answer while scrolling. */
body.has-learning-journey #main-content:has(.qw){overflow-x:clip;overflow-y:visible}
