/* Separate proposal: examples below uploads, account alongside both rows. */
@media(min-width:1000px){
 #question-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(300px,.95fr)}
 #question-entry #question-form{grid-column:1/3;grid-row:3;display:flex;min-width:0}
 #question-entry .entry-actions{width:100%;margin:0;align-items:stretch}
 #question-entry .entry-actions>.entry-card,#question-entry .entry-actions>.screenshot-hint{justify-content:center}
 #question-entry .worked-examples{grid-column:1/3;grid-row:4;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
 #question-entry .worked-examples-mobile-label{display:block;grid-column:1/-1;text-align:center;font:400 23px/1.3 Georgia,serif;color:#dcecf7;padding:4px 0 6px}
 #question-entry .worked-examples .example-label{display:none}
 #question-entry .worked-example-card{padding:14px 12px;min-height:205px;gap:10px}
 #question-entry .worked-example-card strong{font-size:18px;overflow-wrap:normal}
 #question-entry .worked-example-card>span:not(.example-label){font-size:11px;line-height:1.45}
 #question-entry .worked-example-card small{font-size:10px;align-self:flex-start}
 #question-entry .entry-account{grid-column:3;grid-row:3/5;align-self:stretch;align-content:space-between;padding:28px;gap:26px 18px}
 #question-entry .entry-account .tutor-entry-account-links{width:100%;grid-column:1/-1;grid-template-columns:minmax(0,1fr)}
 #question-entry .tutor-entry-account-links #homepage-signup{width:100%;min-height:62px}
}
@media(min-width:1000px) and (max-height:800px){
 #question-entry{padding-block:20px;row-gap:14px}
 #question-entry h1{font-size:46px}
 #question-entry .entry-description{margin-bottom:0}
 #question-entry .entry-card{min-height:190px;padding:20px}
 #question-entry .entry-account{padding:24px;gap:20px 16px}
 #question-entry .worked-examples-mobile-label{font-size:21px;padding:0}
 #question-entry .worked-example-card{min-height:190px}
}

/* Keep upload actions compact; their height must not follow the account panel. */
@media(min-width:1000px){
 #question-entry{min-height:0;height:100%;max-height:none;padding:24px 28px;grid-template-rows:max-content max-content 210px max-content;row-gap:16px;align-content:center;overflow:visible}
 #question-entry #question-form{height:210px;align-self:start}
 #question-entry .entry-actions{height:210px;min-height:0}
 #question-entry .entry-actions>.entry-card{height:210px;min-height:0;padding:16px;gap:8px}
 #question-entry .entry-actions>.screenshot-hint{height:210px;min-height:0;padding:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;align-content:center}
 #question-entry .screenshot-card-heading,#question-entry .screenshot-ready{grid-column:1/-1}
 #question-entry .screenshot-card-heading{gap:3px;margin:0}
 #question-entry .screenshot-card-heading svg{width:24px;height:24px}
 #question-entry .screenshot-card-heading strong{font-size:18px}
 #question-entry .screenshot-step{padding:6px;gap:5px;min-width:0;align-items:flex-start}
 #question-entry .screenshot-step>span:last-child{gap:4px;min-width:0}
 #question-entry .screenshot-step strong{font-size:10px}
 #question-entry .screenshot-step kbd{font-size:9px;padding:3px;white-space:normal}
 #question-entry .screenshot-ready{margin:0;font-size:10px;line-height:1.35}
 #question-entry .entry-account{min-height:0}
 #question-entry .worked-example-card{min-height:190px}
}
@media(min-width:1000px) and (max-height:800px){
 #question-entry{padding-block:16px;row-gap:12px}
 #question-entry h1{font-size:42px}
 #question-entry .entry-description{margin:0}
 #question-entry .worked-example-card{min-height:180px;padding:12px 10px;gap:7px}
 #question-entry .worked-examples-mobile-label{font-size:20px}
}

/* Preserve the original account grouping instead of distributing spare height. */
@media(min-width:1000px){
 #question-entry .entry-account{align-content:center;gap:22px 18px}
 #question-entry .entry-account .tutor-entry-account-links{gap:12px;padding-top:6px}
}
@media(min-width:1000px){
 #question-entry .attach.entry-card input{inset:0;margin:0;width:100%;height:100%;max-width:none}
}

/* Consistent upload-card icons; screenshot instructions remain sequential. */
@media(min-width:1000px){
 #question-entry .entry-actions>.entry-card,
 #question-entry .entry-actions>.screenshot-hint{position:relative;padding:16px}
 #question-entry .entry-actions>.entry-card{justify-content:center;padding-top:54px}
 #question-entry .entry-actions>.entry-card>svg,
 #question-entry .screenshot-card-heading>svg{position:absolute;left:16px;top:16px;width:26px;height:26px;margin:0;fill:none;stroke:#bfe8fb;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
 #question-entry .entry-actions>.screenshot-hint{display:flex;flex-direction:column;justify-content:flex-start;gap:5px;padding-top:50px}
 #question-entry .screenshot-card-heading{display:block;margin:0}
 #question-entry .screenshot-card-heading strong{font-size:18px;line-height:1.2}
 #question-entry .screenshot-card-heading>span{display:none}
 #question-entry .screenshot-step{width:100%;padding:5px 7px;align-items:center;gap:7px}
 #question-entry .screenshot-step>span:last-child{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:1;gap:6px}
 #question-entry .screenshot-step strong{font-size:11px;white-space:nowrap}
 #question-entry .screenshot-step kbd{font-size:9px;white-space:nowrap}
 #question-entry .screenshot-ready{font-size:10px;line-height:1.3;margin:0}
}

/* Restore the original capture-then-paste arrangement and explanatory text. */
@media(min-width:1000px){
 #question-entry .entry-actions>.screenshot-hint{padding:16px;gap:7px}
 #question-entry .screenshot-card-heading{padding-left:38px;min-height:32px}
 #question-entry .screenshot-card-heading strong{font-size:17px}
 #question-entry .screenshot-card-heading>span{display:block;margin-top:3px;font-size:10px}
 #question-entry .screenshot-step{padding:6px 8px}
 #question-entry .screenshot-step:has(.screenshot-step-number:first-child)>span:last-child{align-items:flex-start}
 #question-entry .screenshot-step:has(#screenshot-shortcut)>span:last-child{flex-direction:column;gap:4px}
 #question-entry .screenshot-step:has(#screenshot-paste-shortcut)>span:last-child{flex-direction:row;align-items:center}
}

/* One shared heading position across all three upload choices. */
@media(min-width:1000px){
 #question-entry .entry-actions>.entry-card{justify-content:flex-start;padding:16px;gap:3px}
 #question-entry .entry-actions>.entry-card>strong{margin-left:38px;font-size:18px;line-height:1.2}
 #question-entry .entry-actions>.entry-card>span{margin-left:38px;font-size:11px;line-height:1.4}
 #question-entry .screenshot-card-heading strong{font-size:18px;line-height:1.2}
 #question-entry .screenshot-card-heading>span{font-size:11px;line-height:1.4}
}

/* Photo and upload labels return to the middle; icons keep their shared corner. */
@media(min-width:1000px){
 #question-entry .entry-actions>.entry-card{justify-content:center;padding:48px 16px 16px;gap:8px}
 #question-entry .entry-actions>.entry-card>strong,
 #question-entry .entry-actions>.entry-card>span{margin-left:0}
}

/* Restore the original centered icon-and-label groups for photo and upload. */
@media(min-width:1000px){
 #question-entry .entry-actions>.entry-card{justify-content:center;padding:16px;gap:8px}
 #question-entry .entry-actions>.entry-card>svg{position:static;inset:auto;width:26px;height:26px;margin:0 0 8px}
}

/* Matching screenshot/paste rows, with shortcut badges on the right. */
@media(min-width:1000px){
 #question-entry .screenshot-step{min-height:34px;height:34px;padding:5px 8px;align-items:center}
 #question-entry .screenshot-step:has(#screenshot-shortcut)>span:last-child,
 #question-entry .screenshot-step:has(#screenshot-paste-shortcut)>span:last-child{flex-direction:row;align-items:center;justify-content:space-between;gap:6px;width:100%}
 #question-entry .screenshot-step kbd{margin-left:auto;flex:none;min-height:20px;display:flex;align-items:center}
}

/* Keep complete shortcut names and the established card hover treatment. */
@media(min-width:1000px){
 #question-entry .screenshot-step kbd{flex:0 1 auto;min-width:0;white-space:normal;line-height:10px;text-align:center;justify-content:center;min-height:22px}
}
#question-entry .worked-example-card:hover,
#question-entry .worked-example-card:focus-visible{border-color:#a4d7ee;background:radial-gradient(ellipse at 50% 0,#73499a25,transparent 75%),#132737}
@media(min-width:1000px){
 #question-entry .screenshot-step{height:40px;min-height:40px}
}
