/* ISO-style ordered steps and choice pool, scoped to order questions. */
.geo-session .iso-order { margin: 20px 0; }
.geo-session .iso-order-label { color: #555; font-size: 15px; font-weight: 800; margin: 16px 0 8px; }
.geo-session .iso-order-slots { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.geo-session .iso-order-slots > li { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; min-height: 58px; padding: 8px 10px; border: 2px solid #99e5ef; border-radius: 13px; background: #f2fbfc; }
.geo-session .iso-order-slots > .iso-order-empty { border-style: dashed; color: #666; background: #fff; }
.geo-session .iso-order-number { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 8px; background: #fff; border: 2px solid #99e5ef; font-weight: 800; }
.geo-session .iso-order-placed button { display: flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 8px; color: #222; background: transparent; text-align: left; }
.geo-session .iso-order-placed button > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.geo-session .iso-order-placed button > b { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.geo-session .iso-order-result { flex-basis: 100%; padding-left: 40px; font-size: 14px; font-weight: 800; }
.geo-session .iso-order-placed.is-position-correct { border-color: #00a2b7; background: #e3f8fa; }
.geo-session .iso-order-placed.is-position-wrong { border-color: #d28b35; background: #fff4e5; }
.geo-session .iso-order-pool { display: grid; gap: 8px; }
.geo-session .iso-order-choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 12px; border: 2px solid #ddd; border-bottom-width: 4px; border-radius: 13px; color: #222; background: white; text-align: left; }
.geo-session .iso-order-choice > b { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 8px; background: #e8f8fa; color: #007b8c; font-size: 20px; }
.geo-session .iso-order-choice > span { min-width: 0; overflow-wrap: anywhere; }
.geo-session .iso-order-choice:active, .geo-session .iso-order-placed button:not(:disabled):active { transform: translateY(2px); }
.geo-session .iso-order button:focus-visible { outline: 3px solid #222; outline-offset: 3px; }
@media (max-width: 600px) { .geo-session .iso-order-slots > li { min-height: 54px; padding: 6px 8px; } }
@media (prefers-reduced-motion: reduce) { .geo-session .iso-order button { transition: none; } }
/* ISO .order-slots/.empty-order/.order-item presentation. */
.geo-session .iso-order-slots { border:2px dashed #e5e5e5; border-radius:14px; padding:10px; min-height:85px; margin-bottom:16px; background:#fafafa; }
.geo-session .iso-order-slots > .iso-order-empty { display:flex; align-items:center; justify-content:center; min-height:62px; border:0; color:#777; background:transparent; text-align:center; }
.geo-session .iso-order-choice { border-color:var(--maqua-blue40,#99e5ef); }
/* Reuse ISO .order-item / .placed treatment for the live geography arrange
   interaction while retaining its existing drag-to-reorder behavior. */
.geo-session .quiz-content .arrange-list { display:grid; gap:12px; }
.geo-session .quiz-content .arrange-list > li {
  display:flex; align-items:center; gap:12px; min-height:64px;
  background:#fff; color:#4b4b4b; border:2px solid var(--maqua-blue40,#99e5ef);
  border-bottom-width:4px; border-radius:12px; padding:12px 15px;
  transition:background .15s,border-color .15s,box-shadow .15s;
}
.geo-session .quiz-content .arrange-list > li > b {
  display:grid; place-items:center; width:26px; height:26px; flex:0 0 26px;
  border:2px solid var(--maqua-blue60,#66d8e6); border-radius:6px;
  color:#007f90; font-size:14px;
}
.geo-session .quiz-content .arrange-list > li.arrange-picked {
  background:var(--maqua-blue20,#ccf2f7); border-color:var(--maqua-blue80,#33cbde);
}
@media (max-width:600px) {
  .geo-session .quiz-content .arrange-list { gap:8px; }
  .geo-session .quiz-content .arrange-list > li { min-height:54px; padding:10px 13px; }
}
/* Four-card exercises on short phones keep the complete list above the footer. */
@media (max-width:600px) and (max-height:740px) {
  .geo-session .quiz-content:has(.arrange-list) h1 { margin:4px 0 6px; }
  .geo-session .quiz-content:has(.arrange-list) .chapter-question-figure { flex:1 1 130px; min-height:130px; max-height:150px; }
  .geo-session .quiz-content .arrange-list { gap:6px; margin:4px 0; }
  .geo-session .quiz-content .arrange-list > li { min-height:48px; padding:7px 12px; }
}
