/* ================================================================
   Practice Hub test pages — /practice/<slug>.html
   Layout from the owner's mockup of 2026-12-01: hero with a book stack, icon
   cards, the test box with two buttons, a progress card, range tabs and
   question cards in two columns. Also the additions the test engine needs on
   top of practice.css (typed answers, several answers, exam review).
   Colours come from be-shell.css. Text sizes follow the site scale in
   typography.css (13 / 15 / 17 / 19 / 21 / 24 / 32 px), weights 400-700 only.
   ================================================================ */
.pqx { --pq-shadow: 0 14px 34px -22px rgba(109, 40, 217, .45); padding-bottom: 50px; }
.pqx .i { width: 1.15em; height: 1.15em; flex: none; }

/* ---- hero ---- */
.pqx-hero { padding: 22px 0 6px; }
.pqx-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; }
.pqx-h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 12px 0 10px; color: var(--ink); max-width: 20em; }
.pqx-h1 .gg { background: linear-gradient(90deg, #7c3aed, #c026d3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pqx-h1 .l2 { display: block; }
.pqx-h1 .sub { display: block; font-size: 1.1875rem; font-weight: 500; color: #3b3355; margin-top: 6px; }
.pqx-lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink); margin: 0 0 16px; max-width: 46em; }
.pqx-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.pqx-facts li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid #efe9fc; border-radius: 16px; padding: 8px 16px 8px 10px; box-shadow: var(--pq-shadow); font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pqx-facts b { display: block; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.pqx-facts .fi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; }
.pqx-facts .fi .i { width: 18px; height: 18px; }
.f-level .fi { background: #dbeafe; color: #2563eb; }
.f-count .fi { background: #ede9fe; color: #7c3aed; }
.f-time .fi { background: #dcfce7; color: #16a34a; }
.f-format .fi { background: #ffedd5; color: #ea580c; }
.pqx-art svg { display: block; width: 100%; height: auto; font-family: inherit; }

/* ---- cards, icon tiles, the little sparks in a corner ---- */
.pqx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.pqx-card { position: relative; background: var(--card); border: 1px solid #efe9fc; border-radius: 22px; padding: 22px 24px; box-shadow: var(--pq-shadow); }
.pqx h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3125rem; font-weight: 700; line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
.pqx-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; }
.pqx-ic .i { width: 22px; height: 22px; }
.t-pink { background: #fce7f3; color: #db2777; }
.t-amber { background: #fef3c7; color: #d97706; }
.t-purple { background: #ede9fe; color: #7c3aed; }
.t-blue { background: #dbeafe; color: #2563eb; }
.t-red { background: #fee2e2; color: #dc2626; }
.has-spark::after { content: ""; position: absolute; right: 18px; top: 14px; width: 34px; height: 28px; pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 28' fill='none' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M6 6l7 7' stroke='%23f472b6'/%3E%3Cpath d='M20 4l-1 9' stroke='%23fb923c'/%3E%3Cpath d='M30 14l-9 4' stroke='%23f472b6'/%3E%3C/svg%3E"); }
.pqx-card p { font-size: 1.0625rem; line-height: 1.6; margin: 0 0 12px; }
.pqx-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pqx-ticks li { position: relative; padding-left: 32px; font-size: 1.0625rem; line-height: 1.5; }
.pqx-ticks li::before { content: ""; position: absolute; left: 0; top: .12em; width: 22px; height: 22px; border-radius: 50%; background: #22c55e
  no-repeat center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.pqx-mis { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pqx-mis li { background: #faf8ff; border: 1px solid #f1ecfd; border-radius: 14px; padding: 10px 14px; }
.pqx-mis p { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 1.0625rem; line-height: 1.5; font-weight: 600; }
.pqx-mis .tag { display: inline-flex; align-items: center; gap: 4px; min-width: 5.4em; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; flex: none; }
.pqx-mis .tag .i { width: 15px; height: 15px; stroke-width: 3; align-self: center; }
.pqx-mis .no .tag, .pqx-mis .no b { color: #dc2626; }
.pqx-mis .yes .tag, .pqx-mis .yes b { color: #16a34a; }
.pqx-mis .no { color: #3b3355; font-weight: 500; }
.pqx-mis small, .pqx-hi { display: block; font-size: .9375rem; color: #4c4670; }
.pqx-mis small { margin-top: 4px; }
.pqx-hi span { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--purple); margin-right: 8px; }

/* ---- the test box: start panel and question panel share one place, so nothing below jumps while it loads ---- */
.pqx-app { margin: 20px 0 0; scroll-margin-top: 92px; }
.pqx-start { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: center; min-height: 224px;
  background: linear-gradient(120deg, #f7f2ff, #fdf2fa); border: 1px solid #ece4fd; border-radius: 24px; padding: 20px 26px; box-shadow: var(--pq-shadow); }
.pqx-start-art { display: block; width: 100%; height: auto; }
.pqx-start p { font-size: 1.0625rem; line-height: 1.6; margin: 0 0 16px; max-width: 60ch; }
.pqx-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 14px 22px; }
.pqx-modes .pq-btn { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 1.0625rem; padding: 14px 20px; }
.pqx-modes .pq-btn.ghost { background: #fff; border: 2px solid #c4b5fd; color: #6d28d9; }
.pqx-modes small { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: #4c4670; text-align: center; }
.pqx-app .pq-panel { margin: 0; border-radius: 24px; }
.pqx-app .pq-top h2 { font-size: 1.3125rem; font-weight: 700; margin: 0; display: block; }
.pqx-app .pq-q { font-weight: 700; }
.pqx-app .pq-opt { font-size: 1.0625rem; }
.pqx-app .pq-opt .k { font-weight: 700; }
.pqx-app .pq-opt[aria-pressed="true"] { border-color: var(--purple); background: #f5f0ff; }
.pqx-app .pq-opt[aria-pressed="true"] .k { background: var(--purple); color: #fff; }
.pqx-app .pq-opt.is-right { border-color: #059669; background: #ecfdf5; }
.pqx-app .pq-opt.is-right .k { background: #059669; color: #fff; }
.pqx-app .pq-opt.is-wrong { border-color: #dc2626; background: #fef2f2; }
.pqx-app .pq-opt.is-wrong .k { background: #dc2626; color: #fff; }
.pqx-app .pq-opts.is-tf { grid-template-columns: repeat(2, minmax(0, 220px)); }
.pqx-app .pq-round { font-weight: 700; margin-left: 10px; vertical-align: middle; }
.pqx-app .pq-round.is-exam { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.pqx-app .pq-fb .verdict, .pqx-app .pq-stat b, .pqx-app .pq-done h3, .pqx-app .pq-fb .lbl { font-weight: 700; }
.pqx-app .pq-fb .others li::before { content: "×"; }
.pqx-app .pq-btn { font-size: 1.0625rem; }
.pqx-hint { font-size: .9375rem; color: var(--muted); margin: -6px 0 10px; }
.pqx-fill { display: grid; gap: 6px; max-width: 420px; }
.pqx-lbl { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.pqx-in { font: inherit; font-size: 1.1875rem; font-weight: 600; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); }
.pqx-in:focus { outline: none; border-color: var(--purple); }
.pqx-in.is-right { border-color: #059669; background: #ecfdf5; }
.pqx-in.is-wrong { border-color: #dc2626; background: #fef2f2; }
.pqx-right { display: flex; flex-wrap: wrap; gap: 10px; }
.pqx-h3 { font-size: 1.1875rem; font-weight: 700; margin: 22px 0 10px; }
.pqx-review { padding-left: 0; counter-reset: rv; }
.pqx-review li { counter-increment: rv; }
.pqx-review li.is-right { background: #f0fdf4; border-color: #bbf7d0; }
.pqx-review .q::before { content: counter(rv) ". "; color: var(--muted); }
.pqx-app .pq-wrong .blank { display: inline-block; min-width: 2.8em; border-bottom: 2px dashed var(--purple); margin: 0 .15em; }
.pqx-mark { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; margin-right: 8px; color: #b91c1c; background: #fee2e2; }
.is-right .pqx-mark { color: #047857; background: #d1fae5; }
.pqx-app .pq-wrong .a small.pqx-hi { color: #4c4670; }
.pqx-next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.pqx-next .lbl { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pqx-next a { color: var(--purple); font-weight: 600; }

/* ---- every question with its answer ---- */
.pqx-sec { margin-top: 30px; }
.pqx-qhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pqx-qtitle { display: flex; gap: 14px; align-items: flex-start; }
.pqx-qtitle h2 { margin: 0 0 4px; }
.pqx-qtitle p { font-size: 1.0625rem; line-height: 1.55; margin: 0; color: #4c4670; max-width: 46em; }
.pqx-progress { flex: none; width: 280px; background: var(--card); border: 1px solid #efe9fc; border-radius: 16px; padding: 12px 16px; box-shadow: var(--pq-shadow); }
.pqx-progress p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: .9375rem; }
.pqx-progress p b { font-weight: 700; }
.pqx-progress p span { font-weight: 700; color: var(--ink); }
.pqx-progress .row { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; color: var(--purple); }
.pqx-progress .bar { flex: 1; height: 10px; border-radius: 999px; background: #ede9fe; overflow: hidden; }
.pqx-progress .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #ec4899); transition: width .3s ease; }
.pqx-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 0; padding: 5px; background: var(--card); border: 1px solid #efe9fc; border-radius: 999px; box-shadow: var(--pq-shadow); }
.pqx-tabs button { font: inherit; font-size: .9375rem; font-weight: 700; color: #6d28d9; background: transparent; border: 0; border-radius: 999px; padding: 9px 20px; cursor: pointer; }
.pqx-tabs button:hover { background: #f5f0ff; }
.pqx-tabs button.is-on { color: #fff; background: linear-gradient(90deg, #7c3aed, #c026d3); }
.pqx-tabs button:focus-visible, .pqx-o li[role]:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.pqx-list { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: q; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pqx-q { counter-increment: q; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; background: var(--card); border: 1px solid #efe9fc; border-radius: 18px; padding: 14px 16px; box-shadow: var(--pq-shadow); }
.pqx-q[hidden] { display: none; }
.pqx-q::before { content: counter(q); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #ede9fe; color: #6d28d9; font-size: .9375rem; font-weight: 700; }
.pqx-t { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.pqx-o { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.pqx-o li { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 3px 12px 3px 3px; border: 1.5px solid transparent; border-radius: 10px; }
.pqx-o b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none; font-size: .8125rem; font-weight: 700; background: #f1ecfd; color: #6d28d9; }
.pqx-o li[role] { cursor: pointer; }
.pqx-o li[role]:hover { border-color: #c4b5fd; background: #faf8ff; }
.pqx-o li.is-right { border-color: #86efac; background: #f0fdf4; }
.pqx-o li.is-right b { background: #16a34a; color: #fff; }
.pqx-o li.is-wrong { border-color: #fca5a5; background: #fef2f2; }
.pqx-o li.is-wrong b { background: #dc2626; color: #fff; }
.pqx-q.is-locked .pqx-o li[role] { cursor: default; }
.pqx-q.is-locked .pqx-o li[role]:hover:not(.is-right):not(.is-wrong) { border-color: transparent; background: none; }
.pqx-type { font-size: .9375rem; color: var(--muted); margin: 0 0 8px; }
.pqx-typed { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.pqx-typed input { font: inherit; font-size: 1.0625rem; width: min(100%, 300px); padding: 8px 12px; border: 1.5px solid #ddd6fe; border-radius: 10px; background: #fff; color: var(--ink); }
.pqx-typed input:focus { outline: none; border-color: var(--purple); }
.pqx-typed input.is-right { border-color: #16a34a; background: #f0fdf4; }
.pqx-typed input.is-wrong { border-color: #dc2626; background: #fef2f2; }
.pqx-typed button { font: inherit; font-size: .9375rem; font-weight: 700; color: #6d28d9; background: #f1ecfd; border: 0; border-radius: 10px; padding: 8px 16px; cursor: pointer; }
.pqx-a summary { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; list-style: none; font-size: .9375rem; font-weight: 700; color: var(--purple); }
.pqx-a summary::-webkit-details-marker { display: none; }
.pqx-a summary::after { content: ""; width: 8px; height: 8px; margin: -4px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.pqx-a[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.pqx-a summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.pqx-a p { font-size: 1.0625rem; line-height: 1.5; margin: 8px 0 0; }
.pqx-a .ans b { color: #047857; }

/* ---- banner, worksheet, links, FAQ ---- */
.pqx-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(90deg, #fdf4ff, #f5f0ff); border: 1px solid #ece4fd; border-radius: 20px; padding: 14px 20px; box-shadow: var(--pq-shadow); }
.pqx-banner p { flex: 1; margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.pqx-banner .pq-btn, .pqx-pdf .pq-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; font-size: 1.0625rem; }
.pqx-pdf { display: grid; grid-template-columns: 56px minmax(0, 1fr) 150px auto; gap: 18px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.pqx-pdf .pqx-ic { width: 56px; height: 56px; border-radius: 16px; }
.pqx-pdf .pqx-ic .i { width: 30px; height: 30px; }
.pqx-pdf h2 { margin-bottom: 4px; }
.pqx-pdf p { margin: 0; }
.pqx-pdf img { display: block; width: 150px; height: auto; }
.pqx-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pqx-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pqx-links a { display: inline-flex; align-items: center; gap: 6px; color: #6d28d9; font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
.pqx-links a .i { width: 16px; height: 16px; }
.pqx-links a:hover { text-decoration: underline; }
.pqx-faq { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 20px; align-items: center; }
.pqx-faq h3 { font-size: 1.0625rem; font-weight: 700; margin: 14px 0 4px; }
.pqx-faq p { font-size: 1.0625rem; line-height: 1.6; margin: 0; }
.pqx-faq img { display: block; width: 170px; height: auto; }

@media (max-width: 1020px) {
  .pqx-hero-in { grid-template-columns: minmax(0, 1fr) 260px; }
  .pqx-pdf { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .pqx-pdf img { display: none; }
}
@media (max-width: 860px) {
  .pqx-hero-in, .pqx-grid, .pqx-list, .pqx-links, .pqx-start, .pqx-faq { grid-template-columns: 1fr; }
  .pqx-art { max-width: 280px; margin: 0 auto; }
  .pqx-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .pqx-facts li { padding-right: 10px; }
  .pqx-start-art { max-width: 190px; margin: 0 auto; }
  .pqx-start { padding: 18px; min-height: 0; }
  .pqx-modes { grid-template-columns: 1fr; }
  .pqx-h1 { font-size: 1.5rem; }
  .pqx-h1 .sub { font-size: 1.0625rem; }
  .pqx-qhead { flex-direction: column; }
  .pqx-progress { width: 100%; }
  .pqx-tabs { display: flex; border-radius: 18px; }
  .pqx-tabs button { flex: 1 1 auto; padding: 9px 12px; }
  .pqx-banner { flex-direction: column; align-items: flex-start; }
  .pqx-pdf { grid-template-columns: 56px minmax(0, 1fr); }
  .pqx-pdf .pq-btn { grid-column: 1 / -1; justify-content: center; white-space: normal; }
  .pqx-faq img { display: none; }
  .pqx-app { scroll-margin-top: 80px; }
  .pqx-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pqx-progress .bar i, .pqx-a summary::after { transition: none; } }
@media print {
  .topbar, .site-footer, .pqx-app, .hub-back, .pqx-links, .pqx-pdf, .pqx-banner, .pqx-tabs, .pqx-progress, .pqx-art { display: none !important; }
  .pqx-list { display: block; }
  .pqx-q { break-inside: avoid; margin-bottom: 8px; box-shadow: none; }
  .pqx-q[hidden] { display: grid; }
}

/* ================= the Practice Hub itself (/practice.html): every test by module, as compact lists ================= */
.pqh-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pqh-jump a { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid #efe9fc; border-radius: 999px; padding: 9px 16px; box-shadow: var(--pq-shadow); font-size: .9375rem; font-weight: 700; color: #6d28d9; text-decoration: none; }
.pqh-jump a:hover { border-color: #c4b5fd; }
.pqh-jump small { font-size: .8125rem; font-weight: 700; color: var(--muted); background: #f1ecfd; border-radius: 999px; padding: 1px 8px; }
.pqh-mod { scroll-margin-top: 96px; }
.pqh-mod h2 small { font-size: .8125rem; font-weight: 700; color: var(--muted); background: #f1ecfd; border-radius: 999px; padding: 3px 10px; }
.pqh-mod > p { color: #4c4670; }
.pqh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 26px; }
.pqh-list li { padding: 10px 0; border-top: 1px solid #f1ecfd; }
.pqh-list a { display: block; font-size: 1.0625rem; font-weight: 700; color: #6d28d9; text-decoration: none; }
.pqh-list a:hover { text-decoration: underline; }
.pqh-list span { display: block; font-size: .9375rem; line-height: 1.45; color: #3b3355; margin-top: 2px; }
.pqh-list small { display: block; font-size: .8125rem; font-weight: 600; color: var(--muted); margin-top: 3px; }
.pqh .pqx-faq a { color: #6d28d9; font-weight: 600; }
@media (max-width: 1020px) { .pqh-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pqh-list { grid-template-columns: 1fr; } }

/* ---- "What this test checks" + "Common mistakes" cards (owner mockup, 2026-12-01): a tinted header strip on each card,
   bold lead words with square green ticks, a book-stack picture in the corner of the left card, Wrong/Right pills in
   one column and the Hinglish note in its own soft strip ---- */
.pqx-grid { gap: 24px; margin-top: 28px; align-items: stretch; }
.pqx-grid > .pqx-card { display: flex; flex-direction: column; padding: 0 26px 24px; overflow: hidden; }
.pqx-grid > .pqx-card > h2 { margin: 0 -26px 18px; padding: 18px 26px; font-size: 1.375rem;
  background: linear-gradient(100deg, #f1eafe 0%, #f8f4ff 60%, #fff 100%); }
.pqx-grid > .pqx-card:last-child > h2 { background: linear-gradient(100deg, #fff1dc 0%, #fff8ee 60%, #fff 100%); }
.pqx-grid > .pqx-card > h2 .pqx-ic { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 6px 14px -8px rgba(124,58,237,.45); }
.pqx-grid > .pqx-card > p { margin: 0 0 16px; color: #2e2652; }
.pqx-grid .pqx-ticks { gap: 14px; }
.pqx-grid .pqx-ticks li { padding-left: 40px; color: #2e2652; }
.pqx-grid .pqx-ticks li b { font-weight: 700; color: #1f1640; }
.pqx-grid .pqx-ticks li::before { width: 26px; height: 26px; border-radius: 8px; top: -.05em; background-size: 15px;
  box-shadow: 0 4px 10px -6px rgba(22,163,74,.7); }
.pqx-card-art { display: block; align-self: flex-end; width: 170px; height: auto; margin: auto -6px -6px 0; padding-top: 16px; }
.pqx-grid .pqx-mis { gap: 14px; }
.pqx-grid .pqx-mis li { display: grid; gap: 6px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #ece4fd;
  box-shadow: 0 6px 16px -14px rgba(76,29,149,.5); }
.pqx-grid .pqx-mis p { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; }
.pqx-grid .pqx-mis .tag { justify-content: center; gap: 5px; min-width: 0; padding: 4px 8px; border-radius: 8px; font-size: .8125rem; }
.pqx-grid .pqx-mis .no .tag { background: #fee2e2; }
.pqx-grid .pqx-mis .yes .tag { background: #dcfce7; }
.pqx-grid .pqx-mis small { margin: 4px 0 0; padding: 7px 12px; border-radius: 10px; background: #f4effe; color: #3b3355; }
@media (max-width: 640px) {
  .pqx-grid > .pqx-card { padding: 0 16px 18px; }
  .pqx-grid > .pqx-card > h2 { margin: 0 -16px 16px; padding: 14px 16px; }
  .pqx-grid .pqx-mis p { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
  .pqx-card-art { width: 130px; }
}

/* left card: larger reading text, airier list, a bigger picture on a soft wave (owner mockup) */
.pqx-grid > .pqx-card:first-child { position: relative; }
.pqx-grid > .pqx-card:first-child > p { font-size: 1.125rem; line-height: 1.7; margin-bottom: 22px; }
.pqx-grid > .pqx-card:first-child .pqx-ticks { gap: 20px; position: relative; z-index: 1; }
.pqx-grid > .pqx-card:first-child .pqx-ticks li { font-size: 1.125rem; line-height: 1.55; }
.pqx-grid > .pqx-card:first-child::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: no-repeat bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C120 10 220 110 360 70 S540 30 600 50 V120 H0Z' fill='%23efe7fd'/%3E%3Cpath d='M0 90 C160 60 260 120 420 96 S560 80 600 88 V120 H0Z' fill='%23fdf2e3' opacity='.9'/%3E%3C/svg%3E"); }
.pqx-grid > .pqx-card:first-child .pqx-card-art { position: relative; z-index: 1; width: 230px; }
@media (max-width: 640px) { .pqx-grid > .pqx-card:first-child .pqx-card-art { width: 170px; } .pqx-grid > .pqx-card:first-child::before { height: 80px; } }

/* hero: the hub hero card of the menu hubs (/assets/hub-hero.css), owner's choice 2026-12-01 */
.pqx .hx-hero { padding: 18px 0 4px; }
.pqx .hx-card .ts-h1 { font-size: 2.375rem; letter-spacing: -.01em; }
.pqx .hx-h1sub { display: block; margin-top: 6px; font-size: 1.125rem; font-weight: 600; color: #5b5675; -webkit-text-fill-color: #5b5675; }
.pqx .hx-sub { max-width: 44rem; }
.pqx-hx-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .pqx .hx-card .ts-h1 { font-size: 1.875rem; }
  .pqx .hx-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pqx .hx-stats span { gap: 6px; padding: 8px 10px; font-size: .8125rem; line-height: 1.25; border-radius: 14px; } }
