:root {
  --cpop-blue: #2859f5;
  --cpop-blue-hover: #4f7cff;
  --cpop-ink: #121a30;
  --cpop-muted: #66718a;
  --cpop-bg: #f5f7fb;
  --cpop-line: #dbe2ee;
  --cpop-soft: #edf3ff;
  --cpop-mint: #eaf8f2;
  --cpop-warn: #fff6e7;
  --cpop-danger: #bc2d3b;
  --cpop-whatsapp: #25d366;
  --cpop-whatsapp-hover: #1fb65a;
  --cpop-white: #fff;
  --cpop-radius: 20px;
  --cpop-shadow: 0 16px 45px rgba(25, 42, 79, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body.cpop-page {
  margin: 0;
  background: var(--cpop-bg);
  color: var(--cpop-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.cpop-page button, .cpop-page input, .cpop-page select, .cpop-page textarea { font: inherit; }
.cpop-page button, .cpop-page a { -webkit-tap-highlight-color: transparent; }
.cpop-skip { position: fixed; left: 12px; top: -60px; z-index: 99999; padding: 10px 16px; background: #fff; color: var(--cpop-ink); border-radius: 10px; }
.cpop-skip:focus { top: 12px; }
.cpop-topbar {
  position: relative;
  z-index: 10;
  min-height: 62px;
  padding: 12px max(18px, env(safe-area-inset-right)) 12px max(18px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--cpop-line);
}
.cpop-brand { color: var(--cpop-ink); text-decoration: none; font-size: 14px; font-weight: 800; }
.cpop-topbar nav { display: flex; gap: 18px; align-items: center; }
.cpop-topbar nav a { color: var(--cpop-ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.cpop-topbar nav a:hover { color: var(--cpop-blue); }
.cpop-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 80px; }
.cpop-hero { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.cpop-eyebrow { margin: 0 0 10px; color: var(--cpop-blue); font-size: 12px; font-weight: 850; letter-spacing: .13em; }
.cpop-hero h1, .cpop-how h2 { margin: 0; letter-spacing: -.04em; line-height: 1.06; }
.cpop-hero h1 { font-size: clamp(34px, 4.2vw, 50px); }
body.cpop-page main#cpop-app .cpop-hero p.cpop-intro {
  display: block !important;
  max-width: 720px !important;
  margin: 15px auto 0 !important;
  padding: 0 !important;
  color: var(--cpop-muted) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
}
.cpop-disclaimer { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 14px auto 0 !important; padding: 7px 11px !important; color: #526079 !important; background: #edf1f8 !important; border: 1px solid #dce3ef !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 650 !important; line-height: 1.35 !important; }
.cpop-disclaimer span { display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; color: var(--cpop-blue); background: #fff; border-radius: 50%; font-size: 11px; font-weight: 850; }
.cpop-progress { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; width: min(620px, 100%); margin: 0 auto 25px; }
.cpop-progress button { display: flex; align-items: center; gap: 8px; padding: 5px; border: 0; background: transparent; color: #98a2b7; cursor: pointer; }
.cpop-progress button:disabled { cursor: not-allowed; }
.cpop-progress button span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--cpop-line); border-radius: 50%; background: #fff; font-size: 12px; font-weight: 850; }
.cpop-progress button strong { font-size: 12px; }
.cpop-progress button.is-active { color: var(--cpop-blue); }
.cpop-progress button.is-active span { color: #fff; background: var(--cpop-blue); border-color: var(--cpop-blue); box-shadow: 0 0 0 4px rgba(40,89,245,.10); }
.cpop-progress button.is-complete { color: var(--cpop-ink); }
.cpop-progress button.is-complete span { color: var(--cpop-blue); background: var(--cpop-soft); border-color: #c9d6ff; }
.cpop-progress i { display: block; height: 2px; margin: 0 8px; background: var(--cpop-line); }
.cpop-progress i.is-complete { background: #9eb5ff; }
.cpop-panel {
  margin: 18px 0;
  padding: 30px;
  background: var(--cpop-white);
  border: 1px solid var(--cpop-line);
  border-radius: var(--cpop-radius);
  box-shadow: var(--cpop-shadow);
}
.cpop-flow-panel { transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cpop-flow-panel.is-active { border-color: #cbd7fb; box-shadow: 0 18px 50px rgba(25,42,79,.10); }
.cpop-flow-panel.is-locked { padding-top: 22px; padding-bottom: 22px; background: #f8f9fc; border-style: dashed; box-shadow: none; opacity: .65; }
.cpop-flow-panel.is-locked .cpop-panel-head { margin-bottom: 0; }
.cpop-flow-panel.is-complete:not(.is-active) { padding-top: 22px; padding-bottom: 22px; background: #fbfdfc; box-shadow: 0 8px 24px rgba(25,42,79,.04); }
.cpop-flow-panel.is-complete:not(.is-active) .cpop-panel-head { margin-bottom: 0; }
.cpop-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cpop-panel-head > div { display: flex; align-items: center; gap: 12px; }
.cpop-panel-head > div > div { min-width: 0; }
.cpop-panel h2 { margin: 0; font-size: 22px; letter-spacing: -.025em; }
.cpop-step-summary { margin: 2px 0 0; color: var(--cpop-muted); font-size: 12px; }
.cpop-panel-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.cpop-edit-step { min-height: 36px; padding: 7px 11px; color: var(--cpop-blue); background: var(--cpop-soft); border: 0; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 800; }
.cpop-edit-step:hover, .cpop-edit-step:focus-visible { color: var(--cpop-blue); background: #dce7ff; }
body.cpop-page button.cpop-edit-step:hover, body.cpop-page button.cpop-edit-step:focus-visible { color: var(--cpop-blue) !important; background: #dce7ff !important; border-color: transparent !important; }
.cpop-step { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--cpop-soft); color: var(--cpop-blue); font-size: 13px; font-weight: 850; }
.cpop-save-state, .cpop-count { padding: 7px 11px; border-radius: 999px; background: var(--cpop-mint); color: #167153; font-size: 12px; font-weight: 750; }
.cpop-order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cpop-order-grid label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 750; }
.cpop-order-grid small { color: var(--cpop-muted); font-size: 12px; font-weight: 500; }
.cpop-field, .cpop-table td { position: relative; }
.cpop-field input, .cpop-field select, .cpop-table td input, .cpop-table td select { padding-right: 46px; }
.cpop-check {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 39px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #20ad78;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(18, 112, 80, .22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: scale(.72);
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}
.cpop-field.has-select .cpop-check { right: 35px; }
.cpop-field.is-valid .cpop-check, .cpop-table td.is-valid .cpop-check { opacity: 1; transform: scale(1); }
.cpop-table td .cpop-check { top: 50%; right: 15px; transform: translateY(-50%) scale(.72); }
.cpop-table td.has-select .cpop-check { right: 27px; }
.cpop-table td.is-valid .cpop-check { transform: translateY(-50%) scale(1); }
.cpop-step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--cpop-line); }
.cpop-step-actions p { margin: 0 auto 0 0; color: var(--cpop-muted); font-size: 13px; }
.cpop-page input, .cpop-page select, .cpop-page textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--cpop-ink); background: #fff; border: 1px solid #cfd8e8; border-radius: 11px; outline: 0;
}
.cpop-page input:focus, .cpop-page select:focus, .cpop-page textarea:focus { border-color: var(--cpop-blue); box-shadow: 0 0 0 3px rgba(40,89,245,.12); }
.cpop-help { margin: -10px 0 18px; color: var(--cpop-muted); font-size: 14px; }
.cpop-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cpop-actions-top { justify-content: flex-end; margin-bottom: 18px; }
.cpop-button {
  min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 800; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.cpop-button:hover { transform: translateY(-1px); }
.cpop-button:disabled { color: #8d97aa; background: #e9edf4; border-color: #e1e6ee; cursor: not-allowed; transform: none; }
.cpop-primary { background: var(--cpop-blue); color: #fff; }
.cpop-primary:hover, .cpop-primary:focus-visible { background: var(--cpop-blue-hover); color: #fff; border-color: var(--cpop-blue-hover); box-shadow: 0 6px 16px rgba(40,89,245,.16); }
.cpop-secondary { background: #fff; color: var(--cpop-ink); border-color: var(--cpop-line); }
.cpop-secondary:hover, .cpop-secondary:focus-visible { color: var(--cpop-blue); background: var(--cpop-soft); border-color: #9eb5ff; box-shadow: none; }
.cpop-quiet { background: transparent; color: var(--cpop-danger); }
.cpop-quiet:hover, .cpop-quiet:focus-visible { color: var(--cpop-danger); background: #fff0f1; border-color: #f3bbc1; box-shadow: none; }
body.cpop-page .cpop-button:disabled, body.cpop-page .cpop-button:disabled:hover, body.cpop-page .cpop-button:disabled:focus { color: #8d97aa !important; background: #e9edf4 !important; border-color: #e1e6ee !important; box-shadow: none !important; transform: none !important; }
body.cpop-page button.cpop-primary:hover, body.cpop-page button.cpop-primary:focus-visible { color: #fff !important; background: var(--cpop-blue-hover) !important; border-color: var(--cpop-blue-hover) !important; }
body.cpop-page button.cpop-secondary:hover, body.cpop-page button.cpop-secondary:focus-visible { color: var(--cpop-blue) !important; background: var(--cpop-soft) !important; border-color: #9eb5ff !important; }
body.cpop-page button.cpop-quiet:hover, body.cpop-page button.cpop-quiet:focus-visible { color: var(--cpop-danger) !important; background: #fff0f1 !important; border-color: #f3bbc1 !important; }
.cpop-table-wrap { overflow-x: auto; border: 1px solid var(--cpop-line); border-radius: 15px; }
.cpop-table { width: 100%; min-width: 1020px; border-collapse: collapse; table-layout: fixed; }
.cpop-table th { padding: 13px 10px; color: var(--cpop-muted); background: #f8faff; border-bottom: 1px solid var(--cpop-line); text-align: left; font-size: 12px; line-height: 1.25; }
.cpop-table th span { font-weight: 500; }
.cpop-table th:nth-child(1) { width: 18%; }
.cpop-table th:nth-child(2) { width: 11%; }
.cpop-table th:nth-child(3) { width: 10%; }
.cpop-table th:nth-child(4) { width: 23%; }
.cpop-table th:nth-child(5) { width: 27%; }
.cpop-table th:nth-child(6) { width: 11%; }
.cpop-table td { padding: 12px 8px; border-bottom: 1px solid var(--cpop-line); vertical-align: middle; }
.cpop-table tr:last-child td { border-bottom: 0; }
.cpop-table input, .cpop-table select { min-height: 44px; padding: 9px 10px; }
.cpop-row-actions { display: flex; justify-content: flex-end; gap: 5px; }
.cpop-icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--cpop-line); border-radius: 10px; background: #fff; color: var(--cpop-muted); cursor: pointer; font-size: 17px; }
.cpop-icon-button:hover, .cpop-icon-button:focus-visible { background: var(--cpop-soft); color: var(--cpop-blue); border-color: #b9caff; }
.cpop-icon-button.cpop-delete:hover, .cpop-icon-button.cpop-delete:focus-visible { background: #fff0f1; color: var(--cpop-danger); border-color: #ffcbd0; }
body.cpop-page button.cpop-icon-button:hover, body.cpop-page button.cpop-icon-button:focus-visible { color: var(--cpop-blue) !important; background: var(--cpop-soft) !important; border-color: #b9caff !important; }
body.cpop-page button.cpop-icon-button.cpop-delete:hover, body.cpop-page button.cpop-icon-button.cpop-delete:focus-visible { color: var(--cpop-danger) !important; background: #fff0f1 !important; border-color: #ffcbd0 !important; }
.cpop-people-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.cpop-add-bottom { margin: 0; }
.cpop-empty { padding: 34px 16px; border: 1px dashed #b9c5d9; border-radius: 14px; text-align: center; }
.cpop-empty strong, .cpop-empty span { display: block; }
.cpop-empty span { margin-top: 5px; color: var(--cpop-muted); font-size: 14px; }
.cpop-summary-panel { background: linear-gradient(135deg, #fff 0%, #f5f8ff 100%); }
.cpop-ready-message { display: flex; align-items: center; gap: 13px; margin: 0 0 15px; padding: 15px 17px; color: #126646; background: var(--cpop-mint); border: 1px solid #bde8d7; border-radius: 13px; }
.cpop-ready-message > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: #fff; background: #20ad78; border-radius: 50%; font-size: 16px; font-weight: 900; }
.cpop-ready-message strong { display: block; font-size: 16px; }
.cpop-ready-message p { margin: 2px 0 0; color: #39725e; font-size: 13px; }
.cpop-order-recap { margin: 0 0 15px; padding: 13px 15px; color: var(--cpop-ink); background: var(--cpop-soft); border-radius: 11px; font-size: 13px; font-weight: 700; }
.cpop-summary-grid { display: grid; grid-template-columns: .7fr .7fr 1.6fr; gap: 14px; }
.cpop-stat { min-height: 104px; padding: 18px; background: #fff; border: 1px solid var(--cpop-line); border-radius: 14px; }
.cpop-stat span { display: block; color: var(--cpop-muted); font-size: 13px; }
.cpop-stat strong { display: block; margin-top: 7px; font-size: 28px; line-height: 1.2; }
.cpop-stat-wide strong { font-size: 19px; }
.cpop-validation { margin: 16px 0; padding: 13px 15px; border-radius: 11px; font-size: 14px; font-weight: 650; }
.cpop-validation.is-ok { color: #16684d; background: var(--cpop-mint); border: 1px solid #bde8d7; }
.cpop-validation.is-warning { color: #86530f; background: var(--cpop-warn); border: 1px solid #f2d9ae; }
.cpop-export-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.cpop-whatsapp { color: #fff; background: var(--cpop-whatsapp); }
.cpop-whatsapp:hover, .cpop-whatsapp:focus-visible { color: #fff; background: var(--cpop-whatsapp-hover); border-color: var(--cpop-whatsapp-hover); box-shadow: 0 6px 16px rgba(31,182,90,.16); }
body.cpop-page button.cpop-whatsapp:hover, body.cpop-page button.cpop-whatsapp:focus-visible { color: #fff !important; background: var(--cpop-whatsapp-hover) !important; border-color: var(--cpop-whatsapp-hover) !important; }
.cpop-whatsapp span { display: inline-block; margin-right: 5px; font-size: 9px; }
.cpop-privacy { margin: 16px 0 0; color: var(--cpop-muted); font-size: 12px; }
.cpop-how { padding: 70px 0 10px; text-align: center; }
.cpop-how h2 { font-size: clamp(30px, 4vw, 46px); }
.cpop-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; text-align: left; }
.cpop-how article { padding: 24px; background: #fff; border: 1px solid var(--cpop-line); border-radius: 16px; }
.cpop-how article > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--cpop-soft); color: var(--cpop-blue); font-size: 13px; font-weight: 850; }
.cpop-how h3 { margin: 15px 0 7px; font-size: 17px; }
.cpop-how article p { margin: 0; color: var(--cpop-muted); font-size: 14px; }
.cpop-toast { position: fixed; z-index: 99999; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 11px; background: var(--cpop-ink); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: .2s ease; }
.cpop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  body.cpop-page { font-size: 15px; }
  .cpop-topbar { min-height: 54px; padding-top: 9px; padding-bottom: 9px; }
  .cpop-brand { max-width: 150px; font-size: 12px; line-height: 1.15; }
  .cpop-topbar nav { gap: 12px; }
  .cpop-topbar nav a { font-size: 11px; }
  .cpop-topbar nav a:first-child { display: none; }
  .cpop-shell { width: min(100% - 20px, 620px); padding: 24px 0 48px; }
  .cpop-hero { margin-bottom: 20px; text-align: left; }
  .cpop-eyebrow { margin-bottom: 7px; font-size: 10px; }
  .cpop-hero h1 { font-size: clamp(31px, 10vw, 38px); line-height: 1.02; }
  body.cpop-page main#cpop-app .cpop-hero p.cpop-intro {
    margin-top: 11px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }
  .cpop-disclaimer { justify-content: flex-start; width: 100%; margin-top: 12px !important; padding: 8px 10px !important; border-radius: 11px !important; text-align: left !important; }
  .cpop-progress { width: 100%; margin-bottom: 15px; padding: 10px 9px; background: #fff; border: 1px solid var(--cpop-line); border-radius: 14px; }
  .cpop-progress button { flex-direction: column; gap: 3px; padding: 0; }
  .cpop-progress button span { width: 27px; height: 27px; }
  .cpop-progress button strong { font-size: 10px; }
  .cpop-progress i { margin: -14px 6px 0; }
  .cpop-panel { margin: 12px 0; padding: 18px; border-radius: 16px; box-shadow: 0 8px 26px rgba(25,42,79,.06); }
  .cpop-flow-panel.is-locked, .cpop-flow-panel.is-complete:not(.is-active) { padding-top: 15px; padding-bottom: 15px; }
  .cpop-panel-head { align-items: flex-start; margin-bottom: 17px; }
  .cpop-panel-head > div { gap: 9px; }
  .cpop-panel h2 { font-size: 19px; }
  .cpop-save-state { display: none; }
  .cpop-count { padding: 5px 8px; white-space: nowrap; font-size: 10px; }
  .cpop-step-summary { max-width: 210px; font-size: 11px; line-height: 1.3; }
  .cpop-order-grid { grid-template-columns: 1fr; gap: 15px; }
  .cpop-page input, .cpop-page select, .cpop-page textarea { min-height: 50px; font-size: 16px; }
  .cpop-step-actions { display: block; margin-top: 19px; padding-top: 17px; }
  .cpop-step-actions p { margin-bottom: 10px; font-size: 12px; }
  .cpop-step-actions .cpop-button { width: 100%; }
  .cpop-actions-top .cpop-button { width: 100%; }
  .cpop-table-wrap { overflow: visible; border: 0; }
  .cpop-table, .cpop-table tbody, .cpop-table tr, .cpop-table td { display: block; width: 100%; min-width: 0; }
  .cpop-table thead { display: none; }
  .cpop-table tbody { display: grid; gap: 12px; }
  .cpop-table tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(92px, .62fr); column-gap: 10px; padding: 46px 13px 14px; background: #fbfcff; border: 1px solid var(--cpop-line); border-radius: 14px; }
  .cpop-table tr::before { content: "Persona " attr(data-index); position: absolute; top: 14px; left: 14px; color: var(--cpop-ink); font-weight: 850; font-size: 13px; }
  .cpop-table td { padding: 0 0 12px; border: 0; }
  .cpop-table td:nth-child(1), .cpop-table td:nth-child(4), .cpop-table td:nth-child(5), .cpop-table td:nth-child(6) { grid-column: 1 / -1; }
  .cpop-table td .cpop-check { top: 42px; transform: scale(.72); }
  .cpop-table td.is-valid .cpop-check { transform: scale(1); }
  .cpop-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--cpop-muted); font-size: 11px; font-weight: 750; }
  .cpop-table td:last-child { padding: 2px 0 0; }
  .cpop-table td:last-child::before { display: none; }
  .cpop-row-actions { justify-content: flex-start; }
  .cpop-icon-button { width: auto; min-width: 44px; padding: 0 12px; }
  .cpop-icon-button::after { margin-left: 6px; font-size: 12px; font-weight: 750; }
  .cpop-duplicate::after { content: "Duplicar"; }
  .cpop-delete::after { content: "Eliminar"; }
  .cpop-people-actions { display: grid; grid-template-columns: 1fr; }
  .cpop-people-actions .cpop-button { width: 100%; }
  .cpop-summary-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cpop-stat { min-height: 88px; padding: 14px; }
  .cpop-stat strong { font-size: 24px; }
  .cpop-stat-wide { grid-column: 1 / -1; }
  .cpop-stat-wide strong { font-size: 17px; }
  .cpop-ready-message { align-items: flex-start; padding: 14px; }
  .cpop-ready-message strong { font-size: 15px; }
  .cpop-export-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cpop-export-actions .cpop-button { padding-left: 8px; padding-right: 8px; font-size: 13px; }
  .cpop-export-actions .cpop-whatsapp { grid-column: 1 / -1; min-height: 52px; font-size: 14px; }
  .cpop-export-actions .cpop-quiet { grid-column: 1 / -1; }
  .cpop-how { padding-top: 52px; }
  .cpop-how h2 { font-size: 32px; }
  .cpop-how-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .cpop-shell { width: calc(100% - 16px); }
  .cpop-panel { padding: 15px; }
  .cpop-step-summary { max-width: 170px; }
  .cpop-topbar nav a { font-size: 10px; }
  .cpop-summary-grid { grid-template-columns: 1fr; }
  .cpop-stat-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
