/* GiftMatch pages: the tag card, kraft shelf, plan, report, people, groups, charts. Tokens come from app.css. */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2.top, .grid3.top { align-items: start; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); } .warnline { display: flex; gap: 8px; align-items: flex-start; color: var(--warn); font-weight: 600; font-size: .9rem; }
.chips-tight { gap: 6px; }

/* ---- kraft shelf ---- */
.kraft { --hole: var(--kraft); background: var(--kraft); background-image: repeating-linear-gradient(92deg, rgba(90,60,25,.07) 0 1px, transparent 1px 7px), repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 5px); border-radius: var(--r); }
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 6px 22px; padding: 18px 18px 26px; align-items: start; }
.empty-tag { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--on-brand); font-weight: 600; }

/* ---- the gift tag ---- */
.tag-wrap { --hole: var(--hole-c, var(--bg)); position: relative; padding-top: 34px; transform-origin: 50% 0; filter: drop-shadow(0 7px 7px rgba(60,38,10,.22)); min-width: 0; }
.kraft .tag-wrap { --hole-c: var(--kraft); }
.tag-wrap::after { content: ""; position: absolute; z-index: 3; top: 4px; left: 50%; width: 46px; height: 46px; margin-left: -23px; border: 2.5px solid var(--string); border-bottom: 0; border-radius: 46px 46px 0 0; pointer-events: none; clip-path: inset(0 0 0 0); }
@media (hover: hover) { .tag-wrap:hover { animation: swing 1.4s ease-in-out; } }
@keyframes swing { 0%, 100% { transform: rotate(0); } 22% { transform: rotate(-1.4deg); } 55% { transform: rotate(1deg); } 80% { transform: rotate(-.4deg); } }
.tag { --k: var(--line-2); padding: 1.5px; background: var(--k); clip-path: polygon(26px 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%, 0 26px); }
.tag[data-kind="physical"] { --k: var(--kraft-2); } .tag[data-kind="experience"] { --k: var(--brand); } .tag[data-kind="diy"] { --k: var(--ok); } .tag[data-kind="digital"] { --k: var(--ev-observed); }
.tag-body { position: relative; background: var(--surface); padding: 38px 20px 18px; clip-path: polygon(24.6px 0, calc(100% - 24.6px) 0, 100% 24.6px, 100% 100%, 0 100%, 0 24.6px); display: grid; gap: 12px; }
.tag-body::before { content: ""; position: absolute; top: 12px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--hole); box-shadow: inset 0 1px 2px rgba(0,0,0,.35), 0 0 0 3px color-mix(in srgb, var(--k) 70%, var(--surface)); }
.tag-head { display: flex; gap: 12px; align-items: flex-start; }
.tag-head h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
.tag-rank { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 700 1rem var(--serif); }
.kind { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); } .kind .i { width: 14px; height: 14px; }
.score { flex: none; text-align: right; font-family: var(--serif); line-height: 1; } .score b { font-size: 1.8rem; font-weight: 600; } .score span { color: var(--muted); font-size: .8rem; font-family: var(--sans); }
.tag-why p { margin: 0 0 6px; } .specifics { color: var(--ink-2); font-size: .92rem; }
.src-badge { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); padding: 1px 8px; border-radius: 999px; }
.match-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-soft.match { background: var(--ev-user_confirmed-bg); color: var(--ev-user_confirmed); display: inline-flex; gap: 4px; align-items: center; } .chip-soft.match .i { width: 12px; height: 12px; }
.chip-soft.adj { background: var(--ev-possible-bg); color: var(--ev-possible); } .chip-soft.no { background: var(--bad-bg); color: var(--bad); }
.band-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); }
.band-line b { font: 600 1.1rem var(--serif); }
.estimate { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border: 1.5px dashed var(--ev-possible); color: var(--ev-possible); border-radius: 4px; }
.fit { font-size: .8rem; font-weight: 700; } .fit.within { color: var(--ok); } .fit.stretch { color: var(--warn); }
.timing { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; } .timing.tight { color: var(--warn); }
.ev-title { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-bottom: -4px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ev-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; } .ev-list li > .ev { flex: none; margin-top: 1px; } .ev-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.src { color: var(--muted); }
.books h4 { font: 700 .8rem var(--sans); margin-bottom: 6px; } .books ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .books li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.breakdown { font-size: .88rem; } .breakdown summary { cursor: pointer; font-weight: 700; color: var(--ink-2); min-height: 32px; display: flex; align-items: center; }
.bd-rows { display: grid; gap: 6px; margin: 8px 0; } .bd-row { display: grid; grid-template-columns: 74px 1fr 30px 34px; gap: 8px; align-items: center; }
.bd-track { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .bd-track i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.tag-actions { display: grid; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.react { display: flex; gap: 6px; } .react-btn { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 700 .84rem var(--sans); cursor: pointer; }
.react-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); } .react-btn[data-r="love"][aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.check.cmp { min-height: 40px; font-size: .88rem; font-weight: 700; }
.tag-wrap.compact .tag-body { gap: 9px; }
.sway { animation: sway 5s ease-in-out infinite alternate; } .sway.s2 { animation-delay: -1.7s; animation-duration: 6s; } .sway.s3 { animation-delay: -3.1s; animation-duration: 5.5s; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }

/* ribbon slider */
.ribbon-box { display: grid; gap: 6px; } .ribbon-ends { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--muted); }
.ribbon { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
.ribbon::-webkit-slider-runnable-track { height: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line-2) var(--p)); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); }
.ribbon::-moz-range-track { height: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--brand) var(--p), var(--line-2) var(--p)); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%); }
.ribbon::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.3), inset 0 0 0 5px var(--brand); }
.ribbon::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); border: 3px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.ribbon:focus-visible { outline: none; box-shadow: none; } .ribbon:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--focus); outline-offset: 2px; } .ribbon:focus-visible::-moz-range-thumb { outline: 3px solid var(--focus); outline-offset: 2px; }
.ribbon-word { font: italic 600 1.05rem var(--serif); color: var(--ink-2); }

/* ---- plan ---- */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.plan-main { display: grid; gap: 18px; min-width: 0; } .plan-form { display: grid; } .plan-pane { display: grid; gap: 18px; } .plan-pane[hidden] { display: none; }
.plan-summary { position: sticky; top: 16px; } .sum-row { display: grid; gap: 4px; font-size: .9rem; } .sum-row > span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .sum-row b { font-weight: 600; overflow-wrap: anywhere; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; left: 12%; right: 12%; top: 19px; border-top: 2px dashed var(--line-2); } .stepper::after { content: ""; position: absolute; left: 12%; top: 18px; height: 4px; border-radius: 2px; background: var(--brand); width: calc(var(--sp, 0%) * .76); transition: width .4s ease; }
.stage-wrap { display: contents; }
.plan-grid { --sp: 0%; }
.step-dot { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: 700 .8rem var(--sans); color: var(--muted); position: relative; z-index: 1; min-height: 44px; }
.step-dot .n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); font: 700 1rem var(--serif); color: var(--ink); }
.stepper li.on .n { background: var(--ink); color: var(--bg); border-color: var(--ink); } .stepper li.done .n { background: var(--brand); border-color: var(--brand); color: var(--on-brand); } .stepper li.on .l { color: var(--ink); }
.plan-nav { display: flex; justify-content: space-between; gap: 10px; } .plan-nav .btn[hidden] + .btn { margin-left: auto; } .plan-nav .btn.cta:only-of-type { margin-left: auto; }
.understood { display: grid; gap: 14px; } .notes { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .92rem; }
.write-box { display: grid; gap: 10px; justify-items: start; padding: 18px; border: 2px dashed var(--line-2); border-radius: var(--r); background: var(--surface); }
.progress-card { padding: clamp(18px, 4vw, 40px); display: grid; justify-items: center; } .progress-card .tag-wrap { width: min(520px, 100%); }
.steps-live { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .steps-live li { display: flex; gap: 10px; align-items: center; color: var(--faint); } .steps-live li .i { opacity: .25; }
.steps-live li.on { color: var(--ink); font-weight: 700; } .steps-live li.on .i { opacity: 1; animation: pulse 1s infinite alternate; } .steps-live li.done { color: var(--ok); } .steps-live li.done .i { opacity: 1; }
@keyframes pulse { to { transform: scale(1.3); } }
.nowrap-row { flex-wrap: nowrap; }

/* ---- report ---- */
.rep-head { display: grid; gap: 14px; } .recap { display: flex; flex-wrap: wrap; gap: 8px; }
.checks { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; background: var(--surface); } .checks.has-fail { border-color: var(--bad); background: var(--bad-bg); }
.checks summary, .left-out summary, .whatif-card summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; min-height: 40px; list-style-position: inside; }
.check-list { list-style: none; margin: 10px 0 2px; padding: 0; display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); font-size: .9rem; }
.check-list li { display: flex; gap: 8px; align-items: baseline; } .check-list .pass .i { color: var(--ok); } .check-list .fail { color: var(--bad); font-weight: 700; } .check-list .fail .i { color: var(--bad); }
.check-list b { text-transform: capitalize; font-weight: 700; }
.banner.whatif { background: var(--ev-observed-bg); border-color: var(--ev-observed); border-style: dashed; }
.whatif-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px 18px; } .whatif-card summary h2 { display: inline; }
.cmp-bar { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 999px; width: fit-content; margin: 8px auto 0; box-shadow: var(--shadow); } .cmp-bar .btn.ghost { color: var(--bg); }
.cmp-table th, .cmp-table td { min-width: 150px; vertical-align: top; } .cmp-table thead th { font: 600 1rem var(--serif); text-transform: none; letter-spacing: 0; color: var(--ink); } .cmp-table tbody th { text-transform: none; letter-spacing: 0; font-size: .82rem; }
.note { margin: 0; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 8px 8px 0; font: italic 1.05rem/1.55 var(--serif); }
.wrap-row { display: flex; gap: 16px; align-items: flex-start; } .swatch { flex: none; position: relative; width: 84px; height: 84px; border-radius: 6px; overflow: hidden; background: var(--w1); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 2px 3px 8px rgba(0,0,0,.18); transform: rotate(-3deg); }
.swatch i { position: absolute; inset: 0; background-image: radial-gradient(var(--w2) 22%, transparent 24%), linear-gradient(90deg, transparent 44%, var(--w3) 44% 56%, transparent 56%), linear-gradient(0deg, transparent 44%, var(--w3) 44% 56%, transparent 56%); background-size: 16px 16px, 100% 100%, 100% 100%; }
.swatch[data-wrap="newsprint"] i { background-image: repeating-linear-gradient(0deg, var(--w2) 0 1px, transparent 1px 5px), linear-gradient(90deg, transparent 44%, var(--w3) 44% 56%, transparent 56%); background-size: 100% 100%; }
.swatch[data-wrap="map"] i { background-image: repeating-linear-gradient(35deg, var(--w2) 0 1px, transparent 1px 14px), repeating-linear-gradient(-50deg, var(--w3) 0 1px, transparent 1px 18px); }
.swatch[data-wrap="monochrome"] i { background-image: repeating-linear-gradient(45deg, var(--w2) 0 6px, transparent 6px 12px), linear-gradient(90deg, transparent 44%, var(--w3) 44% 56%, transparent 56%); }
.swatch[data-wrap="starry"] i { background-size: 22px 22px, 100% 100%, 100% 100%; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.reminders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .reminders li { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px dashed var(--line-2); } .rem-date { display: inline-flex; align-items: center; gap: 8px; min-width: 150px; }
.unknowns ul, .out-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .unknowns li { display: flex; gap: 10px; align-items: flex-start; } .out-list li { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: baseline; }
.left-out { padding: 10px 16px; border: 1px solid var(--line); } .left-out summary h2 { font-size: 1.1rem; }
.danger-zone { justify-content: flex-end; margin-top: 12px; }

/* ---- lists ---- */
.rows { list-style: none; margin: 0; padding: 0; display: grid; } .rows > li { border-bottom: 1px solid var(--line); } .rows > li:last-child { border-bottom: 0; }
.rep-row { display: flex; align-items: center; gap: 6px; } .row-link { display: flex; gap: 12px; align-items: center; flex: 1; min-width: 0; padding: 12px 6px; color: var(--ink); text-decoration: none; flex-wrap: wrap; }
a.row-link:hover { background: var(--surface-2); } .row-link .sub { display: block; }
.rows.big .row-link { padding: 14px 10px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .filters .input { width: auto; min-width: 150px; } .filters .field { min-width: 220px; }
.people-grid, .groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 8px 24px; padding: 6px 4px; } .groups-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.people-grid > .empty, .groups-grid > .empty { grid-column: 1 / -1; }
.avatar.sm { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--kraft); color: var(--on-brand); font: 700 .85rem var(--sans); }
.drawer-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(8,22,21,.5); display: flex; justify-content: flex-end; }
.drawer { width: min(460px, 100%); height: 100%; overflow-y: auto; background: var(--bg); padding: 20px; border-left: 1px solid var(--line-2); animation: slidein .25s ease-out; } @keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.gift-add { padding-top: 12px; border-top: 1px dashed var(--line-2); }
.group-card { grid-template-columns: auto 1fr; align-items: start; gap: 16px; } .jar-box { display: grid; gap: 8px; justify-items: center; }
.jar-empty { fill: var(--surface-2); } .jar-pledged { fill: var(--kraft); } .jar-paid { fill: var(--brand); } .jar-glass { fill: none; stroke: var(--ink-2); stroke-width: 2.5; } .jar-lid { fill: var(--ink); } .jar-shine { fill: none; stroke: #fff; stroke-opacity: .5; stroke-width: 3; stroke-linecap: round; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px 16px; margin: 0; } .facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--muted); } .facts dd { margin: 0; font: 600 1.05rem var(--serif); } .facts.wide { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pledges { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; } .pledges li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.mini-jars { display: grid; gap: 10px; } .mini-jar { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); } .mini-jar > span { display: grid; }
.onboard { padding: 18px; } .onboard .tag-wrap { max-width: 640px; margin: 0 auto; }
.data-row { padding: 10px 0; border-top: 1px dashed var(--line-2); gap: 14px; } .data-row:first-child { border-top: 0; }

/* ---- charts ---- */
.chart { margin: 0; } .chart-svg { width: 100%; height: auto; display: block; } .chart .grid { stroke: var(--line); stroke-width: 1; } .chart .ax { fill: var(--muted); font: 11px var(--sans); }
.chart .bar { fill: var(--ink); } .chart .bar:hover { fill: var(--brand); } .chart .ln { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; } .chart .area { fill: color-mix(in srgb, var(--kraft) 40%, transparent); } .chart .dot { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .hbars li { display: grid; grid-template-columns: minmax(90px, 40%) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hb-track { height: 12px; border-radius: 6px; background: var(--surface-2); overflow: hidden; } .hb-track i { display: block; height: 100%; background: var(--kraft-2); border-radius: 6px; }

/* ---- documents (privacy, share) ---- */
.doc { max-width: 780px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) 18px; display: grid; gap: 14px; } .doc h1 { margin-bottom: 4px; } .doc h2 { margin-top: 18px; } .doc .lead { font-size: 1.1rem; color: var(--ink-2); } .doc ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.doc-table th, .doc-table td { border-bottom: 1px solid var(--line-2); } .doc.share { max-width: 1100px; } .share-head { display: grid; gap: 8px; margin-bottom: 14px; } .share .card { margin-top: 18px; }
.pubbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(16px, 4vw, 40px); max-width: 1240px; margin: 0 auto; } .pubbar-actions { display: flex; align-items: center; gap: 10px; } .pub-link { font-weight: 700; text-decoration: none; padding: 10px 6px; }

@media (max-width: 1000px) { .plan-grid { grid-template-columns: 1fr; } .plan-summary { position: static; order: -1; } .plan-summary .sum-row:nth-child(n+4) { display: none; } }
@media (max-width: 720px) {
  .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); } .grid2 > *, .grid3 > * { min-width: 0; } svg { max-width: 100%; } .tag-grid { padding: 10px 8px 20px; } .tag-body { padding: 38px 14px 16px; }
  .stepper .l { font-size: .68rem; } .group-card { grid-template-columns: 1fr; } .jar-box { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
  .bd-row { grid-template-columns: 64px 1fr 28px; } .bd-row > span:last-child { display: none; }
  .wrap-row { flex-direction: column; } .filters .input, .filters .field { width: 100%; }
  .cmp-bar { border-radius: 14px; width: calc(100% - 16px); bottom: 78px; }
}
@media print {
  .tag-wrap { filter: none; } .tag-wrap::after, .tag-body::before { display: none; } .kraft { background: none !important; } .tag { clip-path: none; border: 1px solid #999; background: #fff; } .tag-body { clip-path: none; padding-top: 14px; }
  .tag-grid { grid-template-columns: 1fr 1fr; } .tag-wrap, .card { break-inside: avoid; } .whatif-card, .banner, .checks[open] .check-list { } body { font-size: 11pt; }
}
.row-link > .grow { flex: 1 1 200px; }
@media (max-width: 1000px) {
  .plan-summary .tag-body { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 36px 14px 12px; gap: 8px 12px; }
  .plan-summary .tag-body > h3, .plan-summary .tag-body > .hint, .plan-summary .tag-body > .sum-chips, .plan-summary .tag-body > p { grid-column: 1 / -1; }
  .plan-summary .tag-body > .hint { display: none; } .plan-summary .tag-body > .sum-row:nth-of-type(n+4) { display: none; }
}

/* grid and flex children may shrink below their content, so wide charts never widen the page */
.stack, .settled { min-width: 0; } .stack > *, .settled > * { min-width: 0; max-width: 100%; }
