/* Altura Café: the order-ahead app (app slot). Brand tokens only; layout by container queries on demo. */

/* the board: phones on Cereza, the cup seal behind them */
.d-app { background: var(--b-primary); }
.d-app[data-variant="hero"] { background: var(--b-paper); }
.d-app .a-board { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-evenly; gap: 20px; padding: 14px 28px; overflow: hidden; }
.d-app .a-seal { position: absolute; left: -7%; bottom: -30%; height: 86%; width: auto; max-width: none; opacity: .13; pointer-events: none; }
.d-app .a-board > .x-phone { position: relative; height: min(calc(100% - 28px), calc((100cqw - 120px) / 4 * 2.1)); width: auto; aspect-ratio: 300 / 630; padding: 9px; }
@container demo (max-width: 1499px) { .d-app .a-board > .x-phone { height: min(calc(100% - 28px), calc((100cqw - 110px) / 3 * 2.1)); } }
@container demo (max-width: 1099px) { .d-app .a-board > .x-phone { height: min(calc(100% - 28px), calc((100cqw - 100px) / 2 * 2.1)); } }
.d-app .a-board > .p0, .d-app .a-board > .p2 { transform: translateY(-14px); }
.d-app .a-board > .p1, .d-app .a-board > .p3 { transform: translateY(14px); }
@container demo (max-width: 1499px) { .d-app .a-board > .p2 { transform: translateY(14px); } .d-app .a-board > .p3 { transform: translateY(-14px); } }

/* one screen */
.d-app .a-scr { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--b-paper); color: var(--b-ink); font-size: 14px; line-height: 1.35; }
.d-app .a-sb { flex: none; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 26px; font-weight: 700; font-size: 13px; }
.d-app .a-sig { width: 40px; height: 12px; fill: currentColor; }
.d-app .a-sig .a-batt { fill: none; stroke: currentColor; stroke-width: 1.2; }
.d-app .a-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.d-app .a-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 4px 16px 16px; }
.d-app .a-body::-webkit-scrollbar { display: none; }
.d-app .a-body.has-bar { padding-bottom: 70px; }
.d-app svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.d-app .a-sig, .d-app .a-qr, .d-app .a-art svg { stroke: none; }

.d-app .a-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 12px; }
.d-app .a-hi { font-size: 13px; color: var(--b-muted); }
.d-app .a-h { font-size: 22px; line-height: 1.1; }
.d-app .a-av { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--b-accent); color: var(--b-on-accent); font-weight: 700; font-size: 13px; }
.d-app .a-lab { margin: 14px 0 7px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b-muted); }
.d-app .a-desc { margin: 4px 0 2px; font-size: 13px; color: var(--b-muted); }

.d-app .a-branch { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; margin-bottom: 12px; padding: 7px 12px; border: 1px solid var(--b-line); border-radius: 999px; background: var(--b-surface); font-size: 13px; }
.d-app .a-branch svg { flex: none; width: 16px; height: 16px; color: var(--b-link); }
.d-app .a-branch > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-app .a-branch em { font-style: normal; font-weight: 700; color: var(--b-link); }

.d-app .a-pic { display: block; flex: none; background-color: var(--b-line); background-repeat: no-repeat; }
.d-app .a-art { display: grid; place-items: center; background: var(--b-accent); }
.d-app .a-art svg { width: 84%; height: 84%; }
.d-app .a-cut { position: relative; overflow: hidden; }
.d-app .a-cut img { position: absolute; inset: 0; width: auto; height: 88%; max-width: 92%; margin: auto; object-fit: contain; }
/* a branded cup is tall and narrow: its detail band grows so the whole cup, straw and lid included, reads large */
.d-app .a-det-pic:has(.a-cut) { height: 236px; }
.d-app .a-det-pic .a-cut img { height: 92%; top: 4%; bottom: auto; }
.d-app .f-glass { fill: var(--b-surface); }
.d-app .f-coffee { fill: var(--b-secondary); }
.d-app .t-milk .f-coffee { fill: var(--b-c4); }
.d-app .f-milk, .d-app .f-cream { fill: var(--b-paper); }
.d-app .a-art:not(.t-milk) .f-milk { display: none; }
.d-app .t-cream .f-coffee { fill: var(--b-c4); }
.d-app .f-straw { fill: var(--b-primary); }
.d-app .f-ice { fill: var(--b-surface); opacity: .75; }
.d-app .f-drizzle { fill: none; stroke: var(--b-secondary); stroke-width: 2; stroke-linecap: round; }

/* menu */
.d-app .a-promo { display: grid; grid-template-columns: 1fr 44%; width: 100%; min-height: 118px; margin-bottom: 14px; overflow: hidden; border-radius: var(--b-radius); background: var(--b-secondary); color: var(--b-on-secondary); }
.d-app .a-promo-tx { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 10px 12px 14px; }
.d-app .a-promo small { font-size: 13px; font-weight: 700; color: var(--b-accent); }
.d-app .a-promo b { font-family: var(--b-font-display); font-weight: 600; font-size: 19px; line-height: 1.08; }
.d-app .a-promo em { align-self: flex-start; margin-top: 7px; padding: 5px 12px; border-radius: 999px; background: var(--b-primary); color: var(--b-on-primary); font-style: normal; font-weight: 700; font-size: 13px; }
.d-app .a-promo-pic { height: 100%; }
.d-app .a-cats { display: flex; gap: 6px; }
.d-app .a-cats button { flex: 1 1 auto; min-height: 38px; padding: 0 10px; border: 1px solid var(--b-line); border-radius: 999px; background: var(--b-surface); font-weight: 700; font-size: 13px; text-align: center; white-space: nowrap; }
.d-app .a-cats [aria-selected="true"] { border-color: var(--b-secondary); background: var(--b-secondary); color: var(--b-on-secondary); }
.d-app .a-list li { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--b-line); }
.d-app .a-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.d-app .a-thumb { width: 58px; height: 58px; border-radius: 14px; }
.d-app .a-it { display: flex; flex-direction: column; min-width: 0; }
.d-app .a-it b { font-family: var(--b-font-display); font-weight: 600; font-size: 16px; line-height: 1.12; }
.d-app .a-it small { font-size: 13px; color: var(--b-muted); }
.d-app .a-pr { margin-top: 2px; font-weight: 700; font-size: 13px; }
.d-app .a-add { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--b-primary); color: var(--b-on-primary); transition: transform .15s ease-out; }
.d-app .a-add svg { width: 18px; height: 18px; stroke-width: 2.4; }
.d-app .a-add:active, .d-app .a-cta:active, .d-app .a-cbar:active { transform: scale(.96); }
.d-app .a-cbar { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 74px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 10px; border: 3px solid var(--b-paper); border-radius: 999px; background: var(--b-primary); color: var(--b-on-primary); font-weight: 700; }
.d-app .a-cbar-n { min-width: 26px; height: 26px; display: grid; place-items: center; border-radius: 13px; background: var(--b-on-primary); color: var(--b-primary); font-size: 13px; }
.d-app .a-cbar b { margin-left: auto; }

/* tabs */
.d-app .a-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 4px 10px; border-top: 1px solid var(--b-line); background: var(--b-surface); }
.d-app .a-tabs button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; justify-content: center; font-weight: 700; font-size: 13px; color: var(--b-muted); }
.d-app .a-tabs [aria-pressed="true"] { color: var(--b-link); }
.d-app .a-ic { position: relative; display: block; }
.d-app .a-ic svg { width: 22px; height: 22px; }
.d-app .a-tabs em { position: absolute; left: 14px; top: -6px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px; background: var(--b-secondary); color: var(--b-on-secondary); font-style: normal; font-size: 13px; line-height: 1; }
.d-app .a-dot { position: absolute; right: -3px; top: -2px; width: 9px; height: 9px; border: 2px solid var(--b-surface); border-radius: 50%; background: var(--b-primary); }

/* product */
.d-app .a-det { padding-top: 0; }
.d-app .a-det-pic { position: relative; height: 188px; margin: 0 -16px 14px; }
.d-app .a-det-img { width: 100%; height: 100%; }
.d-app .a-back { position: absolute; left: 12px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--b-surface); color: var(--b-ink); }
.d-app .a-back svg { width: 20px; height: 20px; }
.d-app .a-det-name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.d-app .a-det-name b { flex: none; white-space: nowrap; font-size: 16px; } /* the price stays whole; a long name wraps instead */
.d-app .a-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.d-app .a-seg button { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-surface); font-weight: 700; font-size: 13px; line-height: 1.15; text-align: center; }
.d-app .a-seg small, .d-app .a-chips small { font-weight: 500; font-size: 13px; color: var(--b-muted); }
.d-app .a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d-app .a-chips button { min-height: 36px; padding: 0 12px; border: 1px solid var(--b-line); border-radius: 999px; background: var(--b-surface); font-weight: 700; font-size: 13px; }
.d-app .a-seg [aria-checked="true"], .d-app .a-chips [aria-checked="true"] { border-color: var(--b-primary); background: var(--b-primary); color: var(--b-on-primary); }
.d-app [aria-checked="true"] small { color: inherit; }
.d-app .a-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; border-top: 1px solid var(--b-line); background: var(--b-surface); }
.d-app .a-qty { flex: none; display: flex; align-items: center; border: 1px solid var(--b-line); border-radius: 999px; }
.d-app .a-qty button { width: 40px; height: 40px; display: grid; place-items: center; }
.d-app .a-qty button:disabled { opacity: .35; cursor: default; }
.d-app .a-qty svg { width: 16px; height: 16px; stroke-width: 2.4; }
.d-app .a-qty span { min-width: 16px; text-align: center; font-weight: 800; }
.d-app .a-cta { flex: 1; min-height: 46px; padding: 0 14px; border-radius: 999px; background: var(--b-primary); color: var(--b-on-primary); font-weight: 800; font-size: 14px; text-align: center; transition: transform .15s ease-out; }
/* a narrow phone frame (an unmaximised 1366 window): the add button breaks cleanly into "Agregar" over its price */
.d-app .a-bar { container: abar / inline-size; }
@container abar (max-width: 260px) {
  .d-app .a-cta { padding: 4px 10px; line-height: 1.15; }
  .d-app .a-cta .a-sep { display: none; }
  .d-app .a-cta .a-sep + .x-num { display: block; }
}

/* cart */
.d-app .a-lines li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "pic name price" "pic name step"; align-items: center; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--b-line); }
.d-app .a-lthumb { grid-area: pic; width: 44px; height: 44px; border-radius: 12px; }
.d-app .a-ln { grid-area: name; display: flex; flex-direction: column; min-width: 0; }
.d-app .a-ln b { font-weight: 700; font-size: 14px; line-height: 1.2; }
.d-app .a-ln small { font-size: 13px; color: var(--b-muted); }
.d-app .a-lp { grid-area: price; justify-self: end; font-size: 14px; }
.d-app .a-step { grid-area: step; justify-self: end; display: flex; align-items: center; gap: 2px; border: 1px solid var(--b-line); border-radius: 999px; background: var(--b-surface); }
.d-app .a-step button { width: 30px; height: 30px; display: grid; place-items: center; }
.d-app .a-step button:disabled { opacity: .35; cursor: default; }
.d-app .a-step svg { width: 14px; height: 14px; stroke-width: 2.4; }
.d-app .a-step span { min-width: 12px; text-align: center; font-weight: 800; font-size: 13px; }
.d-app .a-tot { margin-top: 12px; font-size: 13px; }
.d-app .a-tot div { display: flex; justify-content: space-between; padding: 2px 0; }
.d-app .a-tot dt { color: var(--b-muted); }
.d-app .a-tot .t { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--b-line); font-size: 16px; font-weight: 800; }
.d-app .a-tot .t dt { color: var(--b-ink); }
.d-app .a-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 10px; border-radius: 12px; background: var(--b-accent); color: var(--b-on-accent); font-weight: 700; font-size: 13px; }
.d-app .a-note img { width: 20px; height: 20px; }
.d-app .a-pay { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; max-width: 34%; font-size: 13px; color: var(--b-muted); line-height: 1.2; }
.d-app .a-pay svg { width: 20px; height: 20px; color: var(--b-ink); }
.d-app .a-empty-in { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 6px; text-align: center; }
.d-app .a-empty-in img { width: 110px; height: 110px; }
.d-app .a-empty-in b { display: block; font-family: var(--b-font-display); font-size: 18px; font-weight: 600; }
.d-app .a-empty-in p { font-size: 13px; color: var(--b-muted); }
.d-app .a-empty-in b { color: var(--b-ink); }
.d-app .a-empty-in .a-cta { flex: none; width: 100%; }

/* orders */
.d-app .a-live { position: relative; overflow: hidden; padding: 14px 14px 16px; border-radius: var(--b-radius); background: var(--b-secondary); color: var(--b-on-secondary); transition: background-color .5s ease-out, color .5s ease-out; }
.d-app .a-live-top { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.d-app .a-live-top b { font-size: 14px; }
.d-app .a-live h4 { position: relative; z-index: 1; margin: 12px 0 3px; font-family: var(--b-font-display); font-weight: 600; font-size: 21px; line-height: 1.08; }
.d-app .a-live-s { position: relative; z-index: 1; max-width: 86%; font-size: 13px; }
.d-app .a-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; font-weight: 700; font-size: 13px; }
.d-app .a-steps i { display: block; height: 6px; margin-bottom: 5px; overflow: hidden; border-radius: 3px; background: var(--b-muted); }
.d-app .a-steps i::after { content: ""; display: block; height: 100%; border-radius: inherit; background: var(--b-accent); transform: scaleX(0); transform-origin: left; }
.d-app .a-steps .done i::after { transform: none; }
.d-app .a-steps .now i::after { transform: scaleX(.55); }
.d-app .a-steps li:not(.done):not(.now) { opacity: .7; }
.d-app .a-live-seal { position: absolute; right: -30px; top: -26px; width: 128px; height: 128px; opacity: .16; }
.d-app .a-live.ready { background: var(--b-accent); color: var(--b-on-accent); }
.d-app .a-live.ready .a-steps i { background: var(--b-surface); }
.d-app .a-live.ready .a-steps i::after { background: var(--b-primary); transform: none; }
.d-app .a-live.ready .a-live-seal { opacity: .3; }
.d-app .a-lines-s li { grid-template-columns: 1fr auto; grid-template-areas: "name price"; padding: 8px 0; }
.d-app .a-place { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.d-app .a-place svg { flex: none; width: 16px; height: 16px; color: var(--b-link); }
.d-app .a-past li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: var(--b-surface); font-size: 13px; }
.d-app .a-past li > span { display: flex; flex-direction: column; min-width: 0; }
.d-app .a-past-r { gap: 6px; }
.d-app .a-past .a-mini { min-height: 32px; padding: 0 12px; }
.d-app .a-past small { font-size: 13px; color: var(--b-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-app .a-past-r { align-items: flex-end; flex: none; }

/* stamps */
.d-app .a-card { position: relative; overflow: hidden; padding: 14px; border-radius: var(--b-radius); background: var(--b-accent); color: var(--b-on-accent); }
.d-app .a-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.d-app .a-card-top > span { display: flex; flex-direction: column; }
.d-app .a-card-top small { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.d-app .a-card-top b { font-family: var(--b-font-display); font-weight: 600; font-size: 18px; line-height: 1.2; }
.d-app .a-card-top img { flex: none; width: 60px; height: 60px; }
.d-app .a-card-n { margin: 4px 0 10px; font-family: var(--b-font-display); font-size: 15px; }
.d-app .a-card-n b { font-size: 34px; font-weight: 600; line-height: 1; }
.d-app .a-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.d-app .a-stamps li { aspect-ratio: 1; display: grid; place-items: center; border: 2px dashed var(--b-on-accent); border-radius: 50%; opacity: .45; }
.d-app .a-stamps li.on { border: 0; background: var(--b-surface); opacity: 1; }
.d-app .a-stamps img { width: 64%; height: auto; }
.d-app .a-card-f { margin-top: 10px; font-weight: 700; font-size: 13px; }
.d-app .a-rew li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--b-line); }
.d-app .a-rew .a-lthumb { width: 40px; height: 40px; }
.d-app .a-rew .a-ln { flex: 1; }
.d-app .a-mini { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--b-primary); color: var(--b-on-primary); font-weight: 800; font-size: 13px; }
.d-app .a-mini:disabled { background: var(--b-line); color: var(--b-muted); cursor: default; }
.d-app .a-codebox { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px; border-radius: var(--b-radius); background: var(--b-surface); font-size: 13px; color: var(--b-muted); }
.d-app .a-codebox small { font-size: 13px; }
.d-app .a-qr { flex: none; width: 88px; height: 88px; fill: var(--b-ink); }
.d-app .a-qr-bg { fill: var(--b-surface); }

/* branch sheet and the ready notice */
.d-app .a-sheet { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.d-app .a-scrim { position: absolute; inset: 0; background: var(--b-secondary); opacity: .55; cursor: default; }
.d-app .a-sheet-in { position: relative; max-height: 84%; overflow-y: auto; scrollbar-width: none; padding: 14px 14px 18px; border-radius: 22px 22px 0 0; background: var(--b-paper); }
.d-app .a-sheet-in header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.d-app .a-sheet-in h4 { font-size: 19px; }
.d-app .a-x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--b-surface); }
.d-app .a-x svg { width: 18px; height: 18px; }
.d-app .a-br { width: 100%; display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; padding: 10px 12px; border: 1px solid var(--b-line); border-radius: 14px; background: var(--b-surface); }
.d-app .a-br > span { display: flex; flex-direction: column; min-width: 0; }
.d-app .a-br b { font-family: var(--b-font-display); font-weight: 600; font-size: 16px; }
.d-app .a-br small { font-size: 13px; color: var(--b-muted); }
.d-app .a-br .a-open { color: var(--b-link); font-weight: 700; }
.d-app .a-br-r { align-items: flex-end; flex: none; text-align: right; }
.d-app .a-br-r svg { width: 18px; height: 18px; margin-top: 4px; color: var(--b-link); stroke-width: 2.6; }
.d-app .a-br[aria-checked="true"] { border: 2px solid var(--b-primary); padding: 9px 11px; }
.d-app .a-push { position: absolute; z-index: 6; left: 8px; right: 8px; top: 44px; display: flex; text-align: left; color: var(--b-ink); align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--b-line); border-radius: 18px; background: var(--b-surface); font-weight: 700; font-size: 13px; line-height: 1.25; }
.d-app .a-push img { flex: none; width: 36px; height: 36px; border-radius: 9px; }
.d-app .a-push small { display: block; font-weight: 600; font-size: 13px; color: var(--b-muted); }
.d-app .a-push.out { opacity: 0; transform: translateY(-110%); transition: opacity .35s ease-in, transform .35s ease-in; }

/* hover, and motion only when the site allows it */
@media (hover: hover) {
  .d-app .a-row:hover b, .d-app .a-branch:hover b { color: var(--b-link); }
  .d-app .a-add:hover, .d-app .a-cta:hover, .d-app .a-mini:not(:disabled):hover, .d-app .a-cbar:hover { background: var(--b-secondary); color: var(--b-on-secondary); }
  .d-app .a-cats button:not([aria-selected="true"]):hover, .d-app .a-seg button:not([aria-checked="true"]):hover, .d-app .a-chips button:not([aria-checked="true"]):hover, .d-app .a-br:hover { border-color: var(--b-ink); }
  .d-app .a-tabs button:hover { color: var(--b-ink); }
  .d-app .a-promo:hover em { background: var(--b-surface); color: var(--b-link); }
}
.motion .d-app .a-in { animation: a-in .32s cubic-bezier(.2, .7, .2, 1) both; }
.motion .d-app .a-steps .grow i::after { animation: a-grow .8s cubic-bezier(.2, .7, .2, 1) both; }
.motion .d-app .a-stamps .pop, .motion .d-app .a-tabs em.bump { animation: a-pop .5s cubic-bezier(.2, .8, .3, 1.3) both; }
.motion .d-app .a-sheet-in { animation: a-up .32s cubic-bezier(.2, .7, .2, 1) both; }
.motion .d-app .a-scrim { animation: a-fade .25s ease-out both; }
.motion .d-app .a-push:not(.out) { animation: a-drop .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes a-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes a-grow { from { transform: scaleX(0); } }
@keyframes a-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes a-up { from { transform: translateY(100%); } }
@keyframes a-fade { from { opacity: 0; } }
@keyframes a-drop { from { opacity: 0; transform: translateY(-110%); } }

/* sizes: four phones on wide windows, three at 1920, two on medium, one bare screen on a phone */
@container demo (max-width: 1499px) { .d-app .a-board > .p1 { display: none; } }
@container demo (max-width: 1099px) { .d-app .a-board > .p3 { display: none; } }
@container demo (max-width: 599px) {
  .d-app .a-board { display: block; height: 640px; padding: 0; }
  .d-app .a-board > .x-phone:not(.p0), .d-app .a-seal { display: none; }
  .d-app .a-board > .p0 { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; padding: 0; border-radius: 0; background: none; transform: none; }
  .d-app .a-board > .p0::after { display: none; }
  .d-app .a-board .x-scr { border-radius: 0; }
  .d-app .a-board .a-sb { display: none; }
  .d-app .a-board .a-body { padding-top: 14px; }
  .d-app .a-board .a-cats button, .d-app .a-board .a-chips button, .d-app .a-board .a-mini { min-height: 40px; }
  .d-app .a-board .a-step button { width: 40px; height: 40px; }
  .d-app .a-board .a-push { top: 10px; }
}

/* product: what goes well with it, and a note for the bar */
.d-app .a-pair li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--b-line); }
.d-app .a-pair .a-ln { flex: 1; }
.d-app .a-pair .a-add { width: 36px; height: 36px; }
.d-app .a-notef { display: block; }
.d-app .a-notef textarea { display: block; width: 100%; min-height: 64px; padding: 10px 12px; resize: none; border: 1px solid var(--b-line); border-radius: 12px; background: var(--b-surface); font: inherit; font-size: 14px; color: var(--b-ink); }
.d-app .a-notef textarea::placeholder { color: var(--b-muted); }
.d-app .a-notef textarea:focus { outline: 2px solid var(--b-primary); outline-offset: 0; border-color: transparent; }
@container demo (max-width: 599px) { .d-app .a-board .a-pair .a-add { width: 40px; height: 40px; } .d-app .a-board .a-past .a-mini { min-height: 40px; } }
