/* ---- Info pages (components/info/InfoPage.astro): pricing, support, portfolio, about, contact, updates, legal ----
   Same header and hero grammar as the module pages, on the ground colour; the blocks below follow the page's order.
   Type steps 13 / 15 / 17 / 28 / 34, weights 400 / 600, corners 12 / 18 / 22 / pill (DESIGN.md). */

.field-ground { background: var(--ground); color: var(--ink); --field-2: var(--ink-2); --card-glow: rgba(15,42,48,.45); }
.field-ground .header .logo { color: var(--teal); }

/* ---- Hero ---- */
.ihero { border-radius: 0 0 22px 22px; padding-bottom: 8px; }
.ihero-text { padding: 36px 16px 40px; } /* no colour block to frame the title: it gets more room under the header (Bo) */
.ihero-text h1 { margin-bottom: 12px; }
.ihero .lead { color: var(--field-2); max-width: 34em; }
.ihero .actions, .ihero .chat-actions { margin-top: 24px; }

/* the price beside the hero text */
.iprice { margin: 0 16px 24px; padding: 20px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.iprice .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; line-height: 1.15; }
.iprice .price b { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.01em; color: var(--teal); }
.iprice .price span { font-size: 15px; font-weight: 600; }
.iprice .price .price-tax { color: var(--ink-2); font-weight: 400; }
.iprice ul { list-style: none; padding: 0; margin: 14px 0 0; }
.iprice li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.iprice li b { color: var(--ink); font-weight: 600; }

/* how to reach us, beside the hero text */
.icontact { margin: 0 16px 24px; padding: 6px 20px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.icontact div { padding: 13px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.icontact div:first-child { border-top: 0; }
.icontact dt { font-size: 13px; color: var(--ink-3); }
.icontact dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.icontact dd a { color: var(--teal); text-decoration: none; }
.icontact dd a:hover { text-decoration: underline; }
.icontact-note { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }

/* ---- Blocks ---- */
.iblock { padding: 72px 16px 0; }
.iblock-head { margin-bottom: 24px; }
.iblock-head h2, .ifaq h2, .isites h2 { margin-bottom: 12px; }
.iblock-head p { color: var(--ink-2); max-width: 36em; }
main > .iblock:last-child { padding-bottom: 96px; }
.ihero + .iblock { padding-top: 32px; }
.ihero + .iphoto, .ihero + .icta { margin-top: 32px; }

.icards-grid { list-style: none; padding: 0; display: grid; gap: 0; }
.icards-grid li { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.icards-grid h3 { margin-bottom: 6px; }
.icards-grid p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.icards-grid p b { color: var(--ink); font-weight: 600; }
.icards-grid a { color: var(--teal); }

.imodules ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.imodules a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 14px 14px 12px;
  border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink);
  transition: box-shadow .24s cubic-bezier(.4, 0, .6, 1);
}
.imodules a:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.imodule-text { display: grid; gap: 1px; }
.imodule-text b { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.imodule-text span { font-size: 15px; color: var(--ink-2); }
.imodule-go { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.ifaq-list { display: grid; }
.ifaq details { border-top: 1px solid var(--line); }
.ifaq details:last-child { border-bottom: 1px solid var(--line); }
.ifaq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.35;
}
.ifaq summary::-webkit-details-marker { display: none; }
.ifaq summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .32s cubic-bezier(.25, .1, .3, 1); }
.ifaq details[open] summary svg { transform: rotate(180deg); }
.ifaq details p { padding: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.ifaq details p a { color: var(--teal); }

.ichat .chat { max-width: 560px; }
.ihero-chat { margin: 0 16px 24px; }
.ihero-chat-note { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* two ways to make a change: the dashboard card and the conversation, each under its own words */
.iways h2 { margin-bottom: 24px; }
.iways-grid { display: grid; gap: 40px; }
.iway h3 { margin-bottom: 6px; }
.iway p { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.iway-card { margin-top: 20px; }
.iway-card .vg { max-width: 360px; }
.iway-card .chat { max-width: 560px; }

.iphoto { margin: 72px 16px 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--teal-soft); }
.iphoto img { width: 100%; height: auto; }

.isites ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.isites a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.isite-frame {
  display: block; aspect-ratio: 160 / 310; border-radius: 18px; overflow: hidden; background: #fff; margin-bottom: 6px;
  box-shadow: 0 16px 36px -18px rgba(15,42,48,.45), 0 1px 2px rgba(15,42,48,.08), inset 0 0 0 1px rgba(15,42,48,.1);
}
.isite-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.isite-name { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.isite-city { font-size: 13px; color: var(--ink-3); }
.isites-note { margin-top: 20px; }

.iupdates { display: grid; gap: 56px; }
.iupdate-date { font-size: 13px; font-weight: 600; color: var(--teal); letter-spacing: .02em; margin-bottom: 6px; }
.iupdate h2 { margin-bottom: 8px; }
.iupdate ul { list-style: none; padding: 0; display: grid; }
.iupdate li { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.iupdate li:first-child { border-top: 0; }
.iupdate h3 { margin-bottom: 4px; }
.iupdate p { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.iupdate-link { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--teal); text-decoration: none; }
.iupdate-link:hover { text-decoration: underline; }
/* Earlier updates fold under a disclosure whose summary matches the FAQ's; every entry stays in the HTML */
.iupdates-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.iupdates-more summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--teal);
}
.iupdates-more summary::-webkit-details-marker { display: none; }
.iupdates-more summary .num { font-weight: 400; color: var(--ink-3); margin-left: 6px; margin-right: auto; }
.iupdates-more summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .32s cubic-bezier(.25, .1, .3, 1); }
.iupdates-more[open] summary svg { transform: rotate(180deg); }
.iupdates-more[open] summary { border-bottom: 1px solid var(--line); }
.iupdates-earlier { display: grid; gap: 56px; padding: 40px 0 16px; }

.iprose > * { max-width: 44em; }
.iprose-updated { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.iprose section { padding-top: 32px; }
.iprose h2 { font-size: 22px; margin-bottom: 10px; }
.iprose p, .iprose li { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.iprose p + p, .iprose p + ul, .iprose ul + p { margin-top: 10px; }
.iprose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.iprose a { color: var(--teal); overflow-wrap: anywhere; }
.iprose b { color: var(--ink); font-weight: 600; }

.icta { margin: 72px 16px 0; padding: 32px 20px; border-radius: 22px; background: var(--teal-soft); }
.icta h2 { margin-bottom: 10px; }
.icta p { color: var(--ink-2); margin-bottom: 24px; max-width: 34em; }
.icta-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 15px; color: var(--teal); }
main > .icta:last-child { margin-bottom: 96px; padding-bottom: 32px; }
.iphoto.iblock { padding: 0; }

@media (min-width: 900px) {
  .ihero {
    margin: 12px 12px 0; border-radius: 22px; padding: 0 max(28px, calc((100% - var(--wrap)) / 2 - 12px)) 88px;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "header" "text";
  }
  .ihero-aside { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "header header" "text aside"; column-gap: 80px; align-items: start; }
  .ihero .header { grid-area: header; height: 96px; padding: 0; }
  .ihero .header .logo .mark { width: 92px; }
  .ihero .header .nav-inline { margin-left: auto; }
  .ihero .header-actions { display: none; }
  /* The same room above every title on the ground colour, and the price, contact card or conversation aligned
     with the top of the title rather than centred against it (Bo, 2026-09-28: the title sat right under the header) */
  .ihero-text { grid-area: text; padding: 80px 0 0; max-width: 46em; }
  .ihero-text h1 { margin-bottom: 20px; }
  .ihero .lead { font-size: 21px; line-height: 1.43; }
  .iprice, .icontact { grid-area: aside; margin: 80px 0 0; padding-inline: 28px; }
  .ihero-chat { grid-area: aside; margin: 80px 0 0; }
  .iprice { padding-block: 28px; }

  .iblock, .iphoto, .icta { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
  .iblock { padding: 120px 0 0; }
  main > .iblock:last-child { padding-bottom: 136px; }
  .ihero + .iblock { padding-top: 96px; }
  .iblock-head { margin-bottom: 36px; }
  .iblock-head p { font-size: 19px; line-height: 1.47; }
  .icards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .icards-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  .imodules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ifaq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 88px; align-items: start; }
  .ichat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 88px; align-items: start; }
  .ichat .chat { max-width: none; }
  .iways h2 { margin-bottom: 36px; }
  .iways-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
  /* the two columns share their rows, so the two cards start on the same line whatever the length of the text above */
  .iway { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .iway-card .chat { max-width: none; }
  .iphoto { margin-top: 120px; }
  .isites ul { grid-template-columns: repeat(3, minmax(0, 260px)); gap: 40px; }
  .iupdates { gap: 88px; }
  .iupdates-earlier { gap: 88px; padding-top: 56px; }
  .iupdates > * { max-width: 52em; }
  .iprose > * { max-width: 46em; }
  .icta { margin-top: 120px; padding: 56px 64px; }
  main > .icta:last-child { margin-bottom: 136px; padding-bottom: 56px; }
  .iphoto { padding: 0; }
}

/* ---- Pricing: five modules side by side, each with a toggle and all its features; the total beside them
   (components/info/PricingPlans.astro) ---- */
.iplans-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 10px; color: var(--ink); }
.iplans-total b { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -.01em; color: var(--teal); line-height: 1.1; }
.iplans-total span { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.iplans-layout { display: grid; gap: 12px; }
.iplans-cols { display: grid; gap: 12px; }

.iplan { padding: 0 14px 4px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .24s cubic-bezier(.4, 0, .6, 1); }
/* the picked ring is drawn over the card (the tinted head would cover an inset ring at the top; Bo, 2026-11-15).
   Phones and tablets only: on wide screens the card is display: contents and the tab head carries the ring. */
@media (max-width: 1099px) {
  .iplan { position: relative; }
  /* the name never breaks; the guest-engagement badge sits under the price, not beside it (Bo, 2026-11-15) */
  .iplan .iplan-head h3 { overflow-wrap: anywhere; }
  .iplan .iplan-head { grid-template-areas: "tile name price" "blurb blurb blurb" "count count badge" "add add add"; }
  .iplan .iplan-head .iplan-price { display: contents; }
  .iplan .iplan-price b { grid-area: price; justify-self: end; white-space: nowrap; }
  .iplan .iplan-badge { grid-area: badge; justify-self: end; align-self: center; white-space: nowrap; }
  .iplan[data-on]::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--teal); pointer-events: none; }
}
.iplan-head { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 10px 10px; align-items: center; margin: 0 -14px; padding: 14px; border-radius: 18px 18px 0 0; background: var(--ground); transition: background-color .24s cubic-bezier(.4, 0, .6, 1); }
.iplan-head { background: var(--plan-tint, var(--teal-soft)) !important; }
.iplan--presence { --plan-tint: var(--tint-presence); } .iplan--reservation { --plan-tint: var(--tint-reservation); }
.iplan--ordering { --plan-tint: var(--tint-ordering); } .iplan--dinein { --plan-tint: var(--tint-dinein); } .iplan--loyalty { --plan-tint: var(--tint-loyalty); }
/* phones: the six most important features; the full list sits behind "see all" (Bo, 2026-11-15) */
.iplan-top { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; gap: 7px; }
.iplan-top li { position: relative; padding-inline-start: 22px; font-size: 15px; line-height: 1.35; }
.iplan-top li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.iplan-names { display: none; }
.iplan-tile { width: 36px; height: 36px; border-radius: 9px; background: var(--white); color: var(--teal); display: grid; place-items: center; }
.iplan-tile .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.iplan-view { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.iplan-view::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.iplan-view:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
/* phones: a compact head — icon and name with the price on one line, the line, the count, the button */
.iplan-head { grid-template-columns: auto 1fr auto; grid-template-areas: "tile name price" "blurb blurb blurb" "count count count" "add add add"; gap: 6px 10px; }
.iplan-tile { grid-area: tile; }
.iplan-head h3 { grid-area: name; }
.iplan-blurb { grid-area: blurb; }
.iplan-count { grid-area: count; }
.iplan-price { grid-area: price; justify-self: end; }
.iplan-add { grid-area: add; }
/* the add button: a clear pill on every module, "+ 加入" → "✓ 已加入" (Bo, 2026-11-15: the small tick was not seen) */
.iplan-add { position: relative; z-index: 1; display: grid; height: 46px; margin-top: 4px; padding: 0 16px; border: 0; border-radius: 99px;
  background: var(--white); color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background-color .2s, color .2s, transform .15s; }
.iplan-add > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: opacity .2s; }
.iplan-add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.iplan-add-on { opacity: 0; }
.iplan-add[aria-pressed="true"] { background: var(--teal); color: var(--white); }
.iplan-add[aria-pressed="true"] .iplan-add-off { opacity: 0; }
.iplan-add[aria-pressed="true"] .iplan-add-on { opacity: 1; }
.iplan-add:hover { transform: translateY(-1px); }
.iplan-add:active { transform: scale(.98); }
.iplan-add:disabled { cursor: default; }
.iplan-add:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.iplan-head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.iplan-blurb { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.iplan-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.iplan-price b { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--teal); }
.iplan-badge { padding: 3px 9px; border-radius: 999px; background: var(--sunny-soft); color: var(--sunny-deep); font-size: 13px; font-weight: 600; line-height: 1.3; }
.iplan-count { display: flex; align-items: baseline; gap: 8px; line-height: 1.1; }
.iplan-count b { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--teal); }
.iplan-count span { font-size: 15px; font-weight: 600; }
.iplan-body { padding-top: 4px; }
.iplan-names { margin: 16px 0 0; columns: 2; column-gap: 18px; }
.iplan-g { break-inside: avoid; padding-bottom: 14px; }
.iplan-g h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.iplan-g ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.iplan-g li { position: relative; padding-inline-start: 19px; font-size: 15px; line-height: 1.35; }
.iplan-g li::before {
  content: ""; position: absolute; inset-inline-start: 1px; top: .28em; width: 9px; height: 5px;
  border-inline-start: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}
.iplan:has(.iplan-all[open]) :is(.iplan-names, .iplan-top) { display: none; }
.iplan-all { border-top: 1px solid var(--line); }
.iplan:has(.iplan-all[open]) .iplan-all { margin-top: 14px; }
.iplan-all summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--teal);
}
.iplan-all summary::-webkit-details-marker { display: none; }
.iplan-all summary svg, .iplan-links svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iplan-all summary svg { transition: transform .32s cubic-bezier(.16, 1, .3, 1); }
.iplan-all[open] summary svg { transform: rotate(180deg); }
.iplan-full { display: grid; gap: 18px; padding: 4px 0 16px; }
.iplan-group h4 { margin-bottom: 6px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.iplan-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.iplan-group li { display: grid; gap: 1px; font-size: 15px; line-height: 1.4; }
.iplan-group li b { font-weight: 600; }
.iplan-group li span { font-size: 13px; color: var(--ink-2); }
.iplan-links { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.iplan-links a { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; }
.iplan-links a:hover { text-decoration: underline; }

/* the total: a bar that follows the bottom of the screen on phones, a panel beside the columns on wide screens */
.isum {
  position: sticky; bottom: 12px; z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px;
  padding: 12px 14px; border-radius: 18px; background: var(--teal); color: var(--white);
  box-shadow: 0 10px 28px -12px rgba(4, 75, 83, .55);
}
.isum-pay { grid-column: 1; font-size: 13px; opacity: .85; }
.isum-price { grid-column: 1; display: flex; align-items: baseline; gap: 8px; line-height: 1.1; }
.isum-price b { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.isum-price s { font-size: 15px; opacity: .7; }
.isum-label { grid-column: 1; display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 13px; }
.isum-label span:first-child { font-weight: 600; }
.isum-save { opacity: .9; }
.isum-cta { grid-column: 2; grid-row: 1 / span 3; align-self: center; white-space: nowrap; }
.isum-lines, .isum-receipt, .isum-guest { display: none; }

@media (min-width: 700px) {
  .iplans-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iplan-names { columns: 1; }
}
@media (min-width: 1100px) {
  .iplans.iblock { width: min(1400px, calc(100% - 48px)); }
  .iplans .iblock-head { width: min(var(--wrap), 100%); margin-inline: auto; }
  .iplans-layout { grid-template-columns: minmax(0, 1fr) 268px; gap: 16px; align-items: start; }
  /* five tabs in a row, the picked tab's features below them across the full width */
  .iplans-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
  .iplan { display: contents; }
  .iplan-head { grid-row: 1; margin: 0; padding: 14px 14px 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
  .iplan[data-on] .iplan-head { box-shadow: inset 0 0 0 2px var(--teal); }
  .iplan-add { height: 40px; font-size: 15px; margin-top: 8px; }
  /* every tab's button on the same line: the line keeps two lines' room, a spring row above the button */
  .iplan-head { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto 1fr auto; grid-template-areas: "tile" "name" "blurb" "count" "price" "." "add"; }
  .iplan-blurb { min-height: 2.9em; }
  .iplan-tile { justify-self: start; }
  .iplan-price { justify-self: start; }
  .iplan-count b { font-size: 34px; }
  .iplan[data-view] .iplan-head::after {
    content: ""; position: absolute; left: 50%; bottom: -8px; width: 14px; height: 14px; margin-left: -7px;
    background: var(--teal); transform: rotate(45deg); border-radius: 2px;
  }
  .iplan-head h3 { font-size: 20px; }
  .iplan-body { grid-column: 1 / -1; grid-row: 2; display: none; margin-top: 8px; padding: 24px 28px 8px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
  .iplan[data-view] .iplan-body { display: block; }
  .iplan-names { display: block; columns: 4; column-gap: 28px; margin-top: 4px; }
  .iplan-top { display: none; }
  .iplan-full { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; padding-bottom: 22px; }
  .iplan-all summary { font-size: 15px; padding: 14px 0; }
  .iplan-links a { font-size: 15px; }
  .isum {
    position: sticky; top: calc(var(--bar-h) + 20px); bottom: auto; display: grid; grid-template-columns: 1fr; gap: 0;
    padding: 22px 20px 20px; border-radius: 22px; background: var(--white); color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -28px rgba(15, 42, 48, .35);
  }
  .isum-pay { font-size: 15px; font-weight: 600; opacity: 1; color: var(--ink-2); }
  .isum-price { margin-top: 6px; }
  .isum-price b { font-size: 34px; color: var(--teal); }
  .isum-price s { color: var(--ink-3); opacity: 1; }
  .isum-label { margin-top: 6px; font-size: 15px; display: grid; gap: 2px; }
  .isum-save { color: var(--basil); font-weight: 600; opacity: 1; }
  .isum-lines { display: grid; list-style: none; padding: 0; margin: 16px 0 0; }
  .isum-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
  .isum-lines li[hidden] { display: none; }
  .isum-lines li span:last-child { color: var(--ink-2); white-space: nowrap; }
  .isum-receipt { display: block; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; font-weight: 600; }
  .isum-cta { grid-column: 1; grid-row: auto; margin-top: 16px; justify-self: stretch; text-align: center; white-space: normal; }
  .isum-guest { display: block; margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
}
