/* ══════ IELTS practice (ielts.js) ══════ */
#ieltsSection { max-width: 1240px; margin: 0 auto; }

/* the four skills, as tabs */
.ie-kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.ie-kind { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.ie-kind[aria-selected="true"] { border-color: var(--primary-border); background: var(--primary-soft); }
.ie-kind-icon { grid-row: span 2; font-size: 1.6em; }
.ie-kind-name { font-weight: 700; color: var(--text); }
.ie-kind-meta { font-size: .82em; color: var(--muted); }
.ie-kind-note { margin: 0 0 14px; }
.ie-about { margin-top: 20px; font-size: .85em; }
.ie-kinds { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ie-kind-mock { border-style: dashed; }
.ie-kind-note .primary { margin-left: 6px; }
.ie-part-filter[hidden] { display: none; }
.ie-part-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; }
.ie-part-filter button { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: .88em; cursor: pointer; }
.ie-part-filter button[aria-pressed="true"] { border-color: var(--primary-border); background: var(--primary-soft); color: var(--primary-text); font-weight: 700; }
.ie-chip-part { background: var(--primary-soft); color: var(--primary-text); font-weight: 600; }
.ie-chip-full { background: var(--success-soft); color: var(--success-text); font-weight: 700; }

/* mock tests */
.ie-mock-parts { margin: 0; padding-left: 18px; font-size: .85em; color: var(--text-2); display: grid; gap: 2px; }
.ie-mock-parts li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-builder { width: min(720px, 100%); max-height: 90vh; overflow-y: auto; }
.ie-builder-skill { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; }
.ie-builder-skill legend { font-weight: 700; padding: 0 4px; }
.ie-builder-list { display: grid; gap: 2px; max-height: 180px; overflow-y: auto; }
.ie-builder-list label { display: flex; gap: 8px; align-items: baseline; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.ie-builder-list label:hover { background: var(--surface-2); }
.ie-builder-list label:has(input:checked) { background: var(--primary-soft); }
.ie-builder-share { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 4px 0; }
.ie-builder .fc-modal-footer { align-items: center; }
.ie-builder #ieBuilderKind { margin-right: auto; font-weight: 700; }
.ie-mock-bar { margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--primary-border); border-radius: 12px; background: var(--primary-soft); }
.ie-mock-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ie-mock-actions { margin-left: auto; display: flex; gap: 6px; }
.ie-mock-steps { display: flex; gap: 4px; list-style: none; margin: 8px 0 0; padding: 0; overflow-x: auto; }
.ie-mock-steps li { flex: none; display: flex; gap: 4px; align-items: center; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); font-size: .8em; color: var(--muted); }
.ie-mock-steps li.on { border-color: var(--primary); color: var(--primary-text); font-weight: 700; }
.ie-mock-steps li.done { border-color: var(--success-border); color: var(--success-text); }
.ie-mock-steps li.skipped { text-decoration: line-through; }
.ie-mock-results { max-width: 860px; }
.ie-mock-result { margin-bottom: 20px; }
.ie-mock-bands { display: flex; flex-wrap: wrap; gap: 10px; }
.ie-mock-bands div { display: flex; flex-direction: column; align-items: center; min-width: 90px; padding: 6px 10px; border-radius: 10px; background: var(--surface); }
.ie-mock-bands span { font-size: .8em; color: var(--muted); }
.ie-mock-bands b { font-size: 1.4em; font-variant-numeric: tabular-nums; }
.ie-mock-table { width: 100%; border-collapse: collapse; font-size: .92em; }
.ie-mock-table th, .ie-mock-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.ie-mock-table th { color: var(--muted); font-weight: 600; }

/* the tests of a skill */
.ie-tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ie-empty { grid-column: 1 / -1; }
.ie-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.ie-card h3 { margin: 0; font-size: 1.02em; line-height: 1.35; }
.ie-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82em; color: var(--muted); }
.ie-chip { padding: 1px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
.ie-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .88em; }
.ie-card-actions { display: flex; gap: 6px; }

/* doing a test */
.ie-bar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.ie-test-title { font-weight: 700; }
.ie-clock { font-weight: 800; font-variant-numeric: tabular-nums; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); }
.ie-clock-low { color: var(--danger-text); background: var(--danger-soft); }
.ie-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
/* reading: two panes, each scrolling on its own, and the bar of question numbers */
.ie-reading { font-size: calc(var(--ie-fs, 1) * 1rem); }
.ie-panes { display: grid; grid-template-columns: minmax(0, var(--ie-left, 52%)) 12px minmax(0, 1fr);
  height: calc(100dvh - 176px); min-height: 420px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.ie-panes.ie-resizing { cursor: col-resize; user-select: none; }
.ie-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.ie-pane-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 22px 24px; overscroll-behavior: contain; }
.ie-questions .ie-pane-body { background: var(--bg); }
.ie-pane-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 12px; border-bottom: 1px solid var(--border);
  background: var(--surface-2); font-size: .85rem; }
.ie-tool-group { display: inline-flex; }
.ie-tool-group .ie-tool:first-child { border-radius: 8px 0 0 8px; }
.ie-tool-group .ie-tool:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
.ie-tool { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.ie-tool:hover { background: var(--bg); }
.ie-switch:has(input:checked) { border-color: var(--primary-border); background: var(--primary-soft); color: var(--primary-text); }
.ie-tools-hint { margin-left: auto; font-size: .92em; }
.ie-resizer { position: relative; cursor: col-resize; background: var(--surface-2); border-inline: 1px solid var(--border); touch-action: none; }
.ie-resizer::after { content: ""; position: absolute; inset: 50% 3px auto; height: 36px; transform: translateY(-50%); border-radius: 3px;
  background: repeating-linear-gradient(to bottom, var(--border-strong) 0 2px, transparent 2px 5px); }
.ie-resizer:hover, .ie-resizer:focus-visible, .ie-resizing .ie-resizer { background: var(--primary-soft); outline: none; }
.ie-passage { line-height: 1.75; }
.ie-passage h2 { margin: 0 0 14px; font-size: 1.3em; }
.ie-q-flash { animation: ie-flash 1.2s ease-out; }
@keyframes ie-flash { from { box-shadow: 0 0 0 3px var(--primary-border); } to { box-shadow: 0 0 0 3px transparent; } }
.ie-nav { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); font-size: 1rem; }
.ie-nav-nums { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
.ie-nav-nums button { flex: none; min-width: 2.1em; height: 2.1em; padding: 0 4px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; font-size: .85em; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.ie-nav-nums button:hover { border-color: var(--primary-border); }
.ie-nav-nums .ie-nav-done { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary-text); }
.ie-nav-nums .ie-nav-right { background: var(--success-soft); border-color: var(--success-border); color: var(--success-text); }
.ie-nav-nums .ie-nav-wrong { background: var(--danger-soft); border-color: var(--danger-border, var(--danger)); color: var(--danger-text); }
.ie-nav-count { flex: none; font-size: .85em; font-variant-numeric: tabular-nums; }
.ie-passage p { margin: 0 0 12px; transition: background .4s; border-radius: 6px; }
.ie-para { display: inline-block; min-width: 1.6em; margin-right: 6px; color: var(--primary-text); }
.ie-para-hit { background: var(--warn-soft); }
.ie-passage mark { background: var(--warn-soft); color: inherit; outline: 2px solid var(--warn-border); border-radius: 3px; }
.ie-passage mark.ie-hl { background: rgba(250, 204, 21, .45); outline: none; border-radius: 2px; cursor: pointer; }
.ie-passage mark.ie-hl:hover { background: rgba(250, 204, 21, .65); }
.ie-credit { font-size: .8em; color: var(--muted); word-break: break-word; }
.ie-questions { min-width: 0; }
.ie-group { margin-bottom: 18px; }
.ie-group h3 { margin: 0 0 4px; font-size: 1em; }
.ie-instr { margin: 0 0 10px; font-size: .9em; color: var(--text-2); }
.ie-q { display: flex; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.ie-q-body { flex: 1; min-width: 0; }
.ie-q-body > p { margin: 0 0 6px; line-height: 1.55; }
.ie-qn { flex: none; width: 1.8em; height: 1.8em; display: grid; place-items: center; border-radius: 50%; font-size: .85em; font-weight: 700; background: var(--surface-2); }
.ie-options { display: grid; gap: 4px; }
.ie-option { display: flex; gap: 8px; align-items: baseline; padding: 4px 6px; border-radius: 8px; cursor: pointer; }
.ie-option:hover { background: var(--surface-2); }
.ie-gap { width: 11em; max-width: 100%; margin: 0 4px; padding: 2px 8px; border: 0; border-bottom: 2px solid var(--primary-border); background: var(--surface-2); border-radius: 4px; font: inherit; }
.ie-right { border-color: var(--success-border); }
.ie-right .ie-qn { background: var(--success-soft); color: var(--success-text); }
.ie-wrong { border-color: var(--danger-border, var(--danger)); }
.ie-wrong .ie-qn { background: var(--danger-soft); color: var(--danger-text); }
.ie-q-result { margin-top: 8px; font-size: .9em; line-height: 1.5; }
.ie-q-result blockquote { margin: 6px 0; padding: 4px 10px; border-left: 3px solid var(--border-strong); color: var(--text-2); font-style: italic; }
.ie-q-result p { margin: 4px 0 0; }
.link-btn { border: 0; background: none; padding: 0; color: var(--primary-text); cursor: pointer; font: inherit; text-decoration: underline; }
.ie-submit { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.ie-score { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px; margin: 12px 0; border-radius: 14px;
  border: 1px solid var(--primary-border); background: var(--primary-soft); line-height: 1.5; }
.ie-score > div:last-child { flex: 1; min-width: 200px; }
.ie-band { display: flex; flex-direction: column; align-items: center; padding: 6px 16px; border-radius: 12px; background: var(--surface); }
.ie-band span { font-size: .75em; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ie-band b { font-size: 2.2em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ie-timeup { width: 100%; margin: 0; font-weight: 700; }
.ie-tries { margin-top: 16px; font-size: .9em; }
.ie-tries ul { margin: 8px 0 0; padding-left: 18px; }

/* listening */
.ie-listen { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.ie-side { order: 2; position: sticky; top: 56px; height: calc(100vh - 72px); display: flex; flex-direction: column; gap: 12px; }
.ie-audio { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.ie-notes { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); }
.ie-notes-head { display: flex; gap: 10px; align-items: baseline; font-size: .9em; }
.ie-notes-head label { font-weight: 700; margin-right: auto; }
.ie-notes textarea { flex: 1; min-height: 160px; width: 100%; resize: none; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: inherit; font: inherit; line-height: 1.6; }
.ie-audio audio { width: 100%; }
.ie-audio p { margin: 6px 0 0; font-size: .85em; }
.ie-once { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: .9em; }
.ie-transcript { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); line-height: 1.6; }

/* writing */
.ie-writing { max-width: 860px; }
.ie-prompt { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 12px; }
.ie-prompt blockquote { margin: 10px 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-weight: 600; line-height: 1.55; }
.ie-prompt details p { margin: 8px 0 0; line-height: 1.55; }
.ie-essay { width: 100%; min-height: 360px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; line-height: 1.7; resize: vertical; box-sizing: border-box; }
.ie-error { color: var(--danger-text); }
.ie-criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 12px 0; }
.ie-criterion { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.ie-criterion-head { display: flex; justify-content: space-between; gap: 8px; }
.ie-criterion-head span { font-weight: 800; font-variant-numeric: tabular-nums; }
.ie-criterion p { margin: 8px 0 0; font-size: .9em; line-height: 1.5; }
.ie-meter { height: 6px; margin-top: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ie-meter > div { height: 100%; background: var(--primary); border-radius: 999px; }
.ie-fixes { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.ie-fixes li { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: .92em; }
.ie-fix-old { color: var(--danger-text); text-decoration: line-through; text-decoration-thickness: 1px; }
.ie-fix-new { color: var(--success-text); margin-top: 2px; }
.ie-fixes p { margin: 6px 0 0; }
.ie-model { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); line-height: 1.65; }

/* speaking */
/* speaking: the exam's flow, a part at a time */
.ie-sp { max-width: 900px; margin: 0 auto; }
.ie-sp-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.ie-sp-steps li { flex: 1; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); font-weight: 700; font-size: .9em; color: var(--muted); }
.ie-sp-steps li small { font-weight: 400; font-size: .85em; }
.ie-sp-steps li.on { border-color: var(--primary-border); background: var(--primary-soft); color: var(--primary-text); }
.ie-sp-steps li.done { color: var(--success-text); }
.ie-sp-steps li { position: relative; }
.ie-sp-steps li.done::before { content: "✓"; position: absolute; top: 8px; right: 10px; }
.ie-sp-box { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.ie-sp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.ie-sp-head h2 { flex: 1; margin: 0; font-size: 1em; letter-spacing: .03em; text-align: center; }
.ie-sp-head h2 span { color: var(--primary-text); }
.ie-sp-actions { display: flex; gap: 8px; }
.ie-sp-body { min-height: 340px; padding: 28px 24px; display: grid; place-items: center; }
.ie-sp-intro { max-width: 520px; text-align: center; line-height: 1.6; }
.ie-sp-intro h3 { margin: 0 0 10px; color: var(--primary-text); letter-spacing: .06em; }
.ie-sp-intro p { margin: 0 0 12px; }
.ie-sp-q { width: 100%; max-width: 640px; display: grid; gap: 14px; text-align: center; }
.ie-sp-qnum { font-weight: 800; color: var(--primary-text); }
.ie-sp-qnum small { font-weight: 400; color: var(--muted); }
.ie-sp-text { margin: 0; font-size: 1.3em; font-weight: 600; line-height: 1.5; }
.ie-sp-q .ie-cue-card { text-align: left; font-size: 1.05em; }
.ie-sp-notes { display: grid; gap: 4px; text-align: left; font-size: .85em; font-weight: 600; }
.ie-sp-notes textarea { min-height: 90px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: inherit; font: inherit; font-weight: 400; resize: vertical; }
.ie-sp-status { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 2.4em; font-size: 1.05em; }
.ie-sp-time { font-variant-numeric: tabular-nums; font-size: 1.25em; }
.ie-sp-dot { width: 12px; height: 12px; border-radius: 50%; }
.ie-sp-dot.listen { background: var(--primary); animation: ie-pulse 1.2s infinite; }
.ie-sp-dot.rec { background: #e11d48; animation: ie-pulse 1s infinite; }
@keyframes ie-pulse { 50% { opacity: .3; } }
.ie-sp-end { width: 100%; max-width: 720px; }
.ie-sp-end h3 { margin: 4px 0 8px; }
.ie-sp-review { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 12px; }
.ie-sp-review li p { margin: 0 0 6px; }
.ie-sp-review audio { width: min(100%, 360px); height: 36px; vertical-align: middle; margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .ie-sp-dot { animation: none; } }
.ie-cue-card { padding: 12px 16px; margin-bottom: 10px; border-radius: 10px; border: 1px dashed var(--border-strong); background: var(--surface-2); line-height: 1.55; }
.ie-cue-card p { margin: 0 0 4px; }
.ie-cue-card ul { margin: 0 0 4px; }

@media (max-width: 900px) {
  .ie-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ie-kind-mock { grid-column: 1 / -1; }
  .ie-split { grid-template-columns: minmax(0, 1fr); }
  .ie-panes { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; overflow: visible; border: 0; background: none; }
  .ie-resizer, .ie-tools-hint { display: none; }
  .ie-pane { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
  .ie-passage { margin-bottom: 14px; }
  .ie-pane-tools { position: sticky; top: 56px; z-index: 3; border-radius: 14px 14px 0 0; }
  .ie-pane-body { overflow: visible; padding: 14px 16px 18px; }
  .ie-questions { border: 0; background: none; }
  .ie-questions .ie-pane-body { padding: 0; background: none; }
  /* stacked: the audio stays at the top while scrolling, the notes under it, then the questions */
  .ie-side { display: contents; }
  .ie-audio { order: -2; position: sticky; top: 56px; z-index: 4; }
  .ie-notes { order: -1; }
  .ie-notes textarea { min-height: 120px; height: 120px; resize: vertical; }
}
@media (max-width: 600px) {
  .ie-sp-steps li small { display: none; }
  .ie-sp-body { padding: 20px 14px; min-height: 280px; }
  .ie-sp-head h2 { text-align: left; }
  .ie-kind { padding: 10px; }
  .ie-kind-icon { font-size: 1.3em; }
  .ie-tests { grid-template-columns: minmax(0, 1fr); }
  .ie-essay { min-height: 260px; }
}

/* An admin's group of questions: the box of options its questions choose from (sentence endings, headings…), and
   each question's letter picked from a list in front of it */
.ie-box { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0 0 12px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.ie-box dt, .ie-box dd { margin: 0; padding: 8px 12px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.ie-box dt { font-weight: 700; }
.ie-box dt:nth-last-of-type(1), .ie-box dd:last-of-type { border-bottom: 0; }
.ie-match { display: flex; gap: 10px; align-items: baseline; }
.ie-q:has(.ie-match) .ie-qn { margin-top: .3em; }   /* level with the list beside it, not above it */
.ie-pick { flex: none; min-width: 4.5em; padding: 4px 8px; border: 1px solid var(--primary-border); border-radius: 8px; background: var(--surface); color: inherit; font: inherit; }

/* A table to complete, a matching box as a table of rows, a plan with its picture */
.ie-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.ie-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.ie-table th, .ie-table td { padding: 8px 10px; border: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.5; }
.ie-table th { background: var(--surface-2); font-weight: 700; }
.ie-cell { display: inline-grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 0; margin: 0; border: 0; background: none; border-radius: 0; }
.ie-cell .ie-gap { width: 100%; min-width: 6em; margin: 0; }
.ie-cell .ie-q-result { grid-column: 1 / -1; margin-top: 4px; font-size: .85em; }
.ie-cell .ie-q-body { margin: 0; }
.ie-cell .ie-q-body > p { display: inline; }
.ie-right.ie-cell, .ie-wrong.ie-cell { border: 0; }
.ie-match-table th:not(:first-child), .ie-match-table .ie-pick-cell { width: 3em; text-align: center; vertical-align: middle; }
.ie-match-table .ie-pick-cell input { width: 1.2em; height: 1.2em; cursor: pointer; }
.ie-plan { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.ie-plan-img { flex: 1 1 280px; min-width: 0; }
.ie-plan-img img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); background: #fff; }
.ie-plan-qs { flex: 1 1 240px; min-width: 0; }
