#data-response,#teacher-data-response-marking{max-width:1200px;margin:0 auto;padding:52px 48px 72px}.q18-head,.q18-question-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.q18-head h1{margin:4px 0 8px;font-size:52px;letter-spacing:-.055em}.q18-head span,.q18-question-head span{color:#68778e}.q18-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.q18-summary article,.q18-filter,.q18-list,.q18-shell>article,.q18-mark-desk main>section,.q18-mark-desk aside{background:#fff;border:1px solid #dfe5ef;border-radius:18px}.q18-summary article{padding:22px}.q18-summary span,.q18-list .eyebrow,.q18-part .eyebrow,.q18-meta b,.q18-mark-desk .eyebrow{color:#5868d5;font-size:12px;font-weight:850;letter-spacing:.06em}.q18-summary b{display:block;margin:11px 0 6px;font-size:34px}.q18-summary small{color:#738097}.q18-filter{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:14px;padding:17px 20px;margin-bottom:20px;align-items:end}.q18-filter p{margin:0 0 6px}.q18-filter label{display:grid;gap:6px;color:#67768e;font-size:12px;font-weight:800}.q18-filter select,.q18-filter input{height:40px;border:1px solid #d3dbe8;border-radius:10px;padding:0 10px;background:#fff;font:inherit}.q18-list>header{padding:24px 28px;border-bottom:1px solid #e6ebf2}.q18-list>header p{margin:0}.q18-list>header h2{margin:7px 0 0;font-size:27px}.q18-card{display:grid;grid-template-columns:1fr 180px;gap:20px;padding:23px 28px;border-bottom:1px solid #e8edf3}.q18-card:last-child{border-bottom:0}.q18-card p{margin:0 0 8px;color:#5968d7;font-size:13px;font-weight:850}.q18-card h3{margin:0 0 8px}.q18-card>div>span{display:block;color:#65748b;line-height:1.55}.q18-card footer{display:flex;gap:8px;margin-top:12px}.q18-card i{padding:5px 9px;border-radius:99px;background:#f0f3f8;color:#596a81;font-size:12px;font-style:normal;font-weight:800}.q18-card aside{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:12px}.q18-card em,.q18-history span{font-style:normal;color:#748097;background:#f3f5f8;border-radius:99px;padding:5px 9px;font-size:12px}.q18-card em.marked{color:#237143;background:#edf8f0}.q18-card em.pending{color:#9b6617;background:#fff5e7}.q18-card button,.q18-question-head button,.q18-file button,.q18-actions button{border:1px solid #ced6e4;border-radius:11px;background:#fff;color:#5463ce;padding:11px 15px;font-weight:850}.q18-empty{padding:28px;color:#718098}.q18-shell{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(500px,1.1fr);gap:18px;align-items:start}.q18-extract{position:sticky;top:20px;max-height:calc(100vh - 42px);overflow:auto}.q18-extract header{display:flex;justify-content:space-between;gap:15px;padding:18px 23px;border-bottom:1px solid #e6ebf2}.q18-extract header p{margin:0;color:#5968d7;font-size:12px;font-weight:850}.q18-extract header b{color:#708097}.q18-extract>div{padding:23px 26px;color:#2c3a4e;line-height:1.65}.q18-extract h3,.q18-extract h4{font-size:20px}.q18-work{padding:26px}.q18-meta{display:flex;justify-content:space-between;gap:12px}.q18-meta span{color:#927027;font-size:13px;font-weight:800}.q18-part{padding:22px 0;border-bottom:1px solid #e5eaf1}.q18-part h2{margin:13px 0 15px;font-size:23px;line-height:1.35}.q18-part h2 p{margin:0}.q18-citation{margin-top:14px;padding:11px 13px;border-left:4px solid #7583e8;background:#f5f6ff;color:#475cc2;line-height:1.5}.q18-citation p{margin:0}.q18-planner{margin:16px 0;padding:0 16px 16px;border:1px solid #dee4ee;border-radius:13px;background:#fbfcff}.q18-planner summary{padding:14px 0;cursor:pointer;color:#5263cb;font-weight:850}.q18-planner>div{display:grid;gap:10px}.q18-planner label,.q18-answer{display:grid;gap:6px;color:#43536a;font-size:13px;font-weight:800}.q18-planner input{height:41px;border:1px solid #d3dce9;border-radius:9px;padding:0 10px;font:inherit}.q18-answer textarea{min-height:155px;border:1px solid #ccd6e5;border-radius:11px;padding:13px;font:15px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.q18-file{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:19px 0;border-bottom:1px solid #e5eaf1}.q18-file b,.q18-file span{display:block}.q18-file span{margin-top:4px;color:#748097;font-size:13px}.q18-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:17px}.q18-actions .q18-primary,.q18-primary{border-color:#17191f;background:#17191f;color:#fff}.q18-history{margin-top:23px;padding-top:18px;border-top:1px solid #e6ebf2}.q18-history>p{margin:0;color:#5868d5;font-size:12px;font-weight:850}.q18-history article{padding:13px 0;border-top:1px solid #edf0f4}.q18-history article:first-of-type{margin-top:12px}.q18-history b,.q18-history span{display:block}.q18-history p{margin:8px 0 0;line-height:1.5}.q18-mark-desk{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px}.q18-mark-desk main{display:grid;gap:18px}.q18-mark-desk main>section,.q18-mark-desk aside{padding:22px}.q18-mark-desk h2{line-height:1.35}.q18-mark-desk details{margin-top:14px}.q18-mark-desk details summary{cursor:pointer;color:#5263cb;font-weight:850}.q18-mark-desk details>div{margin-top:14px;line-height:1.55}.q18-mark-desk pre{white-space:pre-wrap;font:15px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.q18-mark-desk form{display:grid;gap:13px}.q18-mark-desk form label{display:grid;gap:6px;font-weight:800;color:#3a4a61}.q18-mark-desk input,.q18-mark-desk textarea{border:1px solid #d2dbe8;border-radius:10px;padding:10px;font:inherit}.q18-mark-desk textarea{min-height:130px}@media(max-width:900px){#data-response,#teacher-data-response-marking{padding:32px 20px 54px}.q18-summary,.q18-shell,.q18-mark-desk{grid-template-columns:1fr}.q18-filter{grid-template-columns:1fr 1fr}.q18-filter>div{grid-column:1/-1}.q18-extract{position:static;max-height:none}.q18-card{grid-template-columns:1fr}.q18-card aside{align-items:flex-start}}@media(max-width:560px){.q18-head,.q18-question-head,.q18-file,.q18-actions{flex-direction:column}.q18-head h1{font-size:40px}.q18-summary,.q18-filter{grid-template-columns:1fr}.q18-filter>div{grid-column:auto}.q18-work{padding:18px}.q18-card{padding:20px}.q18-meta{flex-direction:column}.q18-part h2{font-size:20px}}
.q18-tabs{display:flex;gap:28px;margin:26px 0 18px;border-bottom:1px solid #dce2ec}.q18-tabs button{padding:0 0 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:#68778e;font-size:16px;font-weight:850}.q18-tabs button.active{border-color:#6472df;color:#4e5fc9}

/* Data tables and graphs need reading width: Q18 follows Q21's vertical flow. */
.q18-shell{grid-template-columns:1fr;max-width:1160px}.q18-extract{position:static;max-height:none;overflow:visible}.q18-extract>div{overflow-x:auto}.q18-extract img,.q18-extract .fig{display:block;max-width:min(100%,620px)!important;width:auto!important;height:auto!important;margin:16px auto}.q18-extract table{max-width:100%;border-collapse:collapse}.q18-extract th,.q18-extract td{padding:8px 10px;border:1px solid #d8deea;text-align:left}.q18-work{max-width:100%}
