/* xmstore: page CSS that sits inside the visuals only (the xmstore screens drawn as live HTML).
   Built on the UI kit's tokens (assets/ui/base.css: --u-*), 13px text, 12px meta, one accent touch a screen. */

/* a small photograph inside a list row, in place of an avatar */
.ui .xm-thumb { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; flex: none; display: block; background: var(--u-fill-2); }
.ui-win__row > .xm-thumb { grid-row: span 2; align-self: center; }

/* ------------------------------------------------ the shop: the agency's own image search (hero window) */
.xm-shop { width: 100%; }
.xm-shop__body { padding: 16px; display: grid; gap: 12px; }
.xm-shop__search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--u-r2); background: var(--u-bg); box-shadow: inset 0 0 0 1px var(--u-line-2); font-size: 13px; color: var(--u-ink); }
.xm-shop__search .ui-icon { width: 14px; height: 14px; color: var(--u-muted); }
.xm-shop__search b { font-weight: 500; }
.xm-shop__count { margin-left: auto; font-size: 12px; color: var(--u-muted); white-space: nowrap; }
.xm-shop__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.xm-tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 12px; color: var(--u-text-2); background: var(--u-fill-2); white-space: nowrap; }
.xm-tag i { font-style: normal; color: var(--u-muted); }
.xm-tag--on { background: var(--u-tint); color: var(--u-accent-text); }
.xm-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.xm-item { display: grid; gap: 6px; min-width: 0; }
.xm-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--u-r3); display: block; background: var(--u-fill-2); }
.xm-item__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--u-muted); white-space: nowrap; }
.xm-item__meta b { font-weight: 500; color: var(--u-ink); }
@container (max-width: 420px) { .xm-shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xm-shop { container-type: inline-size; }

/* ------------------------------------------------ one media item in the approval (app frame's open pane) */
.xm-media { width: 100%; background: var(--u-bg); font-size: 13px; color: var(--u-ink); }
.xm-media__bar { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--u-line); }
.xm-media__bar b { font-weight: 500; }
.xm-media__bar span { color: var(--u-muted); font-size: 12px; }
.xm-media__state { position: relative; margin-left: auto; display: inline-grid; }
.xm-media__state > .ui-chip { grid-area: 1 / 1; justify-self: end; }
.xm-media__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px; }
.xm-media__photo { display: grid; gap: 12px; align-content: start; }
.xm-media__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--u-r3); display: block; }
.xm-stars { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--u-muted); }
.xm-stars span { letter-spacing: 2px; color: var(--u-ink); font-size: 13px; }
.xm-field { display: grid; gap: 4px; }
.xm-field > span { font-size: 12px; color: var(--u-muted); }
.xm-field > div { min-height: 32px; padding: 6px 10px; border-radius: var(--u-r3); box-shadow: inset 0 0 0 1px var(--u-line-2); line-height: 1.5; }
.xm-fields { display: grid; gap: 12px; align-content: start; }
.xm-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; }
.xm-dl dt, .xm-dl dd { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--u-line); line-height: 1.4; }
.xm-dl dt { color: var(--u-muted); font-size: 12px; }
.xm-kw { display: flex; flex-wrap: wrap; gap: 4px; }
.xm-kw > span { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--u-fill-2); font-size: 12px; }
.xm-actions { display: flex; gap: 8px; }
.xm-actions .ui-btn { height: 28px; padding: 0 12px; }
.xm-actions .ui-btn--ink { background: var(--u-ink); color: var(--u-bg); }
@container (max-width: 520px) { .xm-media__body { grid-template-columns: minmax(0, 1fr); } }
.app__pane--open { container-type: inline-size; }

/* the approval's one loop (data-m-loop, motion.md): the editor presses Freigeben, the item turns Freigegeben */
@keyframes xm-press { 0%, 34% { transform: none; } 38% { transform: scale(.96); } 44%, 100% { transform: none; } }
@keyframes xm-state-a { 0%, 40% { opacity: 1; } 46%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes xm-state-b { 0%, 40% { opacity: 0; } 46%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
[data-m-loop] .xm-press { animation: xm-press var(--m-cycle) var(--ease) infinite; }
[data-m-loop] .xm-state-a { animation: xm-state-a var(--m-cycle) linear infinite; }
[data-m-loop] .xm-state-b { animation: xm-state-b var(--m-cycle) linear infinite; }
.xm-state-b { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .xm-state-a { opacity: 0; } .xm-state-b { opacity: 1; } }

/* ------------------------------------------------ prices by resolution (a feature card) */
.xm-prices { width: 100%; }
.xm-prices__list { list-style: none; margin: 0; padding: 4px 0; }
.xm-prices__row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 16px; font-size: 13px; }
.xm-prices__row + .xm-prices__row { border-top: 1px solid var(--u-line); }
.xm-prices__row small { display: block; font-size: 12px; color: var(--u-muted); }
.xm-prices__row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.xm-radio { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.xm-prices__row.is-sel { background: var(--u-tint); }
.xm-prices__row.is-sel .xm-radio { box-shadow: inset 0 0 0 5px var(--u-accent); }
.xm-prices__foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 12px; border-top: 1px solid var(--u-line); font-size: 12px; color: var(--u-muted); }

/* ------------------------------------------------ rights by group (tour tab 1) */
.xm-rights { width: 100%; font-size: 13px; }
.xm-rights table { width: 100%; border-collapse: collapse; }
.xm-rights th, .xm-rights td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--u-line); white-space: nowrap; }
.xm-rights th { font-weight: 400; font-size: 12px; color: var(--u-muted); }
.xm-rights td:first-child { font-weight: 500; }
.xm-rights td + td, .xm-rights th + th { text-align: center; }
.xm-ok, .xm-no { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; }
.xm-ok { background: var(--u-ink); color: var(--u-bg); }
.xm-ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xm-no { box-shadow: inset 0 0 0 1.5px var(--u-line-2); }
.xm-rights tr.is-sel td { background: var(--u-tint); }
.xm-rights__note { padding: 12px 14px; font-size: 12px; color: var(--u-muted); }

/* ------------------------------------------------ the multi-editor (tour tab 2) */
.xm-multi { width: 100%; font-size: 13px; }
.xm-multi__tools { display: flex; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--u-line); align-items: center; }
.xm-multi__tools .ui-btn { height: 28px; }
.xm-multi__tools span { margin-left: auto; font-size: 12px; color: var(--u-muted); }
.xm-multi__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.xm-multi__col { display: grid; gap: 8px; align-content: start; padding: 8px; border-radius: var(--u-r2); box-shadow: inset 0 0 0 1px var(--u-line-2); }
.xm-multi__col.is-sel { box-shadow: inset 0 0 0 1.5px var(--u-accent); }
.xm-multi__col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--u-r3); display: block; }
.xm-multi__col .xm-field > div { min-height: 28px; padding: 4px 8px; font-size: 12px; }

/* ------------------------------------------------ the single view with prices (tour tab 3) */
.xm-detail { width: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); font-size: 13px; }
.xm-detail__photo { padding: 16px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--u-line); }
.xm-detail__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--u-r3); display: block; }
.xm-detail__tools { display: flex; gap: 6px; }
.xm-detail__side { padding: 16px; display: grid; gap: 12px; align-content: start; }
.xm-detail__side h4 { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.35; }
.xm-detail__side .xm-prices__row { padding: 8px 10px; border-radius: var(--u-r3); }
.xm-detail__side .ui-btn { height: 28px; justify-content: center; }
@container (max-width: 480px) { .xm-detail { grid-template-columns: minmax(0, 1fr); } .xm-detail__photo { border-right: 0; } }
.xm-detail-host { container-type: inline-size; width: 100%; }

/* the tour's screens on the dark band sit in one frame; each is a window cut by the frame's right and bottom */
.xm-screen { width: 100%; }

/* ------------------------------------------------ a whole back-office window: bar, sidebar, main (the tour's screens) */
.xm-app { width: 100%; min-height: 660px; display: grid; grid-template-rows: auto minmax(0, 1fr); font-size: 13px; color: var(--u-ink); }
.xm-app__body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 0; }
.xm-app__side { padding: 12px 8px; border-right: 1px solid var(--u-line); display: grid; gap: 2px; align-content: start; }
.xm-app__side > span { padding: 6px 10px; border-radius: 6px; color: var(--u-text-2); white-space: nowrap; }
.xm-app__side > span.is-on { background: var(--u-fill-2); color: var(--u-ink); font-weight: 500; }
.xm-app__side > em { padding: 12px 10px 4px; font-style: normal; font-size: 12px; color: var(--u-muted); }
.xm-app__main { min-width: 0; display: grid; align-content: start; }
.xm-app__title { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--u-line); }
.xm-app__title b { font-weight: 500; }
.xm-app__title span { margin-left: auto; font-size: 12px; color: var(--u-muted); }
.xm-log { list-style: none; margin: 0; padding: 0; }
.xm-log li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--u-line); }
.xm-log li span:first-child { color: var(--u-muted); font-variant-numeric: tabular-nums; }
.xm-log li span:last-child { color: var(--u-muted); font-size: 12px; }
.xm-app__main > .ui-stat { border: 0; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--u-line); }
.xm-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0 16px 16px; }
.xm-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--u-r3); display: block; }
.xm-strip-head { padding: 4px 16px 10px; font-size: 12px; color: var(--u-muted); }
.xm-prices__group { padding: 10px 16px 6px; font-size: 12px; color: var(--u-muted); border-top: 1px solid var(--u-line); }
@container (max-width: 520px) { .xm-app__body { grid-template-columns: minmax(0, 1fr); } .xm-app__side { display: none; } }
.xm-app { container-type: inline-size; }
/* a narrow shop window (a phone): two columns, four pictures */
@container (max-width: 420px) { .xm-shop__grid > .xm-item:nth-child(n+5) { display: none; } .xm-shop__filters > .xm-tag:nth-child(n+3) { display: none; } }
@container (max-width: 420px) {
  .xm-shop__grid > .xm-item:nth-child(n+3) { display: none; }
  .xm-shop .ui-win__bar > .xm-tag { display: none; }
}
@container (max-width: 520px) { .xm-media__photo > .xm-stars, .xm-media__photo > .xm-field { display: none; } }
@container (max-width: 520px) { .xm-media__body > .xm-fields { display: none; } }

/* ------------------------------------------------ tour 1: templates, texts, a page's address */
.ui .xm-ficon { width: 24px; height: 24px; flex: none; grid-row: span 2; align-self: center; }
.xm-sm.ui-btn { height: 24px; font-size: 12px; margin-left: auto; }
.xm-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px; }
.xm-tpl { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px; border-radius: var(--u-r2); box-shadow: inset 0 0 0 1px var(--u-line-2); }
.xm-tpl.is-on { box-shadow: inset 0 0 0 1.5px var(--u-accent); }
.xm-tpl__name { font-weight: 500; }
.xm-tpl__shot { grid-column: 1 / -1; aspect-ratio: 4 / 3; border-radius: var(--u-r3); overflow: hidden; background: var(--u-fill); display: grid; gap: 3px; padding: 6px; }
.xm-tpl__shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; display: block; min-height: 0; }
.xm-tpl__shot--grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.xm-tpl__shot--list { grid-template-columns: 2fr 3fr; grid-template-rows: 1fr 1fr; align-items: center; }
.xm-tpl__shot--list i { height: 6px; border-radius: 3px; background: var(--u-fill-3); }
.xm-tpl__shot--hero { grid-template-rows: 1fr; }
.xm-texts { width: 100%; font-size: 13px; }
.xm-texts__list { list-style: none; margin: 0; padding: 0; }
.xm-texts__list li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--u-line); }
.xm-texts__list li span:first-child { color: var(--u-muted); }
.xm-texts__list li.is-sel { background: var(--u-tint); }
.xm-texts__edit { position: relative; box-shadow: inset 0 0 0 1px var(--u-accent); border-radius: 5px; padding: 0 6px; margin: -2px -6px; background: var(--u-bg); }
.xm-texts__edit i { display: inline-block; width: 1px; height: 14px; background: var(--u-ink); vertical-align: -2px; margin-left: 1px; }
.xm-seo { width: 100%; font-size: 13px; }
.xm-seo__url { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--u-line); background: var(--u-fill); color: var(--u-muted); }
.xm-seo__url .ui-icon { width: 14px; height: 14px; }
.xm-seo__url b { color: var(--u-ink); font-weight: 500; }
.xm-seo__body { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: start; }
.xm-seo__body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--u-r3); display: block; }
@container (max-width: 380px) { .xm-seo__body { grid-template-columns: minmax(0, 1fr); } }
.xm-seo { container-type: inline-size; }
@container (max-width: 520px) { .xm-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); } .xm-tpls > .xm-tpl:nth-child(3) { display: none; } .xm-tpl > .ui-chip { display: none; } .xm-sm.ui-btn { display: none; } }

/* ------------------------------------------------ tour 2: upload, note card, multi-editor, crop, watermark, keyword entry */
.xm-up { list-style: none; margin: 0; padding: 0; }
.xm-up li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--u-line); }
.xm-up li > span:nth-child(2) { display: grid; min-width: 0; }
.xm-up b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xm-up small { font-size: 12px; color: var(--u-muted); }
.xm-up__st { font-size: 12px; color: var(--u-muted); white-space: nowrap; }
.xm-up__st.is-done { color: var(--u-ink); }
.xm-up__bar { width: 96px; height: 4px; border-radius: 2px; background: var(--u-fill-3); overflow: hidden; }
.xm-up__bar i { display: block; height: 100%; width: calc(var(--k) * 100%); background: var(--u-accent); }
.ui .xm-thumb--icon { object-fit: contain; padding: 4px; background: var(--u-fill); }
.xm-note { width: 100%; padding: 14px 16px; display: grid; gap: 8px; font-size: 13px; }
.xm-note__head { display: flex; align-items: center; gap: 8px; }
.xm-note__head b { font-weight: 500; }
.xm-note__head .ui-chip { margin-left: auto; }
.xm-note p { margin: 0; display: flex; gap: 8px; align-items: center; }
.xm-note p i { font-style: normal; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--u-fill-2); font-size: 11px; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; border-radius: var(--u-r, 12px); }
.xm-medit { width: 100%; background: var(--u-bg); font-size: 13px; color: var(--u-ink); }
.xm-medit__body { display: grid; gap: 12px; padding: 16px; }
.xm-medit__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 96px; gap: 12px; align-items: start; }
.xm-medit__lbl { color: var(--u-muted); font-size: 12px; padding-top: 7px; }
.xm-medit__in { min-height: 32px; padding: 6px 10px; border-radius: var(--u-r3); box-shadow: inset 0 0 0 1px var(--u-line-2); line-height: 1.5; }
.xm-medit__mode { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--u-muted); padding-top: 8px; }
.xm-medit__mode i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--u-line-2); margin-left: 4px; }
.xm-medit__mode i.is-on { box-shadow: inset 0 0 0 4px var(--u-ink); }
.xm-medit .xm-actions { padding-left: 122px; }
@container (max-width: 520px) { .xm-medit__row { grid-template-columns: minmax(0, 1fr); gap: 4px; } .xm-medit__mode, .xm-medit__lbl { padding-top: 0; } .xm-medit .xm-actions { padding-left: 0; } .xm-medit__row:nth-child(n+5) { display: none; } }
.xm-crop, .xm-wm, .xm-kwdb { width: 100%; font-size: 13px; }
.xm-crop__img, .xm-wm__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--u-line); }
.xm-crop__img img, .xm-wm__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xm-crop__img img { transform: scale(2.2); }
.xm-crop__lens { position: absolute; left: 12px; top: 12px; padding: 2px 8px; border-radius: 6px; background: var(--u-bg); font-size: 12px; font-weight: 500; }
.xm-crop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.xm-crop__mail { padding: 10px 14px 14px; color: var(--u-muted); font-size: 12px; border-top: 1px solid var(--u-line); }
.xm-wm__mark { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; fill: none; stroke: rgb(255 255 255 / .7); stroke-width: 4; stroke-linecap: round; pointer-events: none; }
@container (max-width: 380px) { .xm-crop__foot { flex-direction: column; align-items: flex-start; } }
.xm-crop { container-type: inline-size; }
.xm-wm__sizes { list-style: none; margin: 0; padding: 4px 0; }
.xm-wm__sizes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; }
.xm-wm__sizes li + li { border-top: 1px solid var(--u-line); }
.xm-wm__sizes span { color: var(--u-muted); }
.xm-wm__sizes b { font-weight: 500; }
.xm-kwdb__dl { padding: 4px 16px 12px; }

/* ------------------------------------------------ tour 3: collage cards, cart, calculator, buyout, rules, the big statement */
.xm-pc { display: grid; gap: 8px; padding: 14px; font-size: 13px; align-content: start; }
.xm-pc b { font-weight: 500; }
.xm-pc .xm-tag { justify-self: start; }
.xm-pc__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--u-line); }
.xm-pc__row.is-sel { color: var(--u-accent-text); font-weight: 500; }
.xm-prices__list--tight .xm-prices__row { padding: 8px 10px; }
.xm-cart { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.xm-cart li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; border-bottom: 1px solid var(--u-line); }
.xm-cart li > img { width: 72px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--u-r3); display: block; }
.xm-cart li > span { display: grid; gap: 2px; }
.xm-cart b { font-weight: 500; }
.xm-cart small { font-size: 12px; color: var(--u-muted); }
.xm-flag { font-style: normal; font-size: 12px; margin-top: 4px; justify-self: start; padding: 2px 6px; border-radius: 5px; background: var(--u-fill-2); }
.xm-flag--deal { background: var(--u-tint); color: var(--u-accent-text); }
.xm-cart__sum { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 13px; }
.xm-cart__sum b { font-weight: 500; }
.xm-cart__act { padding: 0 16px 16px; justify-content: flex-end; }
.xm-calc, .xm-buyout, .xm-rules { width: 100%; font-size: 13px; }
.xm-calc__dl { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0; padding: 4px 16px; }
.xm-calc__dl dt, .xm-calc__dl dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--u-line); }
.xm-calc__dl dt { color: var(--u-muted); font-size: 12px; }
.xm-calc__dl dd { text-align: right; }
.xm-calc__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 16px 16px; }
.xm-calc__sum b { font-size: 18px; font-weight: 500; color: var(--u-accent-text); }
.xm-buyout__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--u-line); }
.xm-buyout__img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: none; }
.xm-buyout__img .ui-chip { position: absolute; left: 12px; top: 12px; background: var(--u-bg); }
.xm-buyout__dl { padding: 4px 16px 12px; }
.xm-rules__list { list-style: none; margin: 0; padding: 0; }
.xm-rules__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--u-line); }
.xm-rules__list li em { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--u-fill-2); font-size: 12px; }
.xm-rules__list li span:last-child { color: var(--u-muted); font-size: 12px; }
.xm-rules__list b { font-weight: 500; }
@container (max-width: 520px) { .xm-cart li:nth-child(n+3) { display: none; } .xm-cart li { grid-template-columns: 56px minmax(0, 1fr) auto; } .xm-cart li > img { width: 56px; } }
/* a window set at its desktop width; a phone gives it the frame less its 16px insets */
.xm-w640 { width: 640px; } .xm-w680 { width: 680px; }
@media (max-width: 639px) { .xm-w640, .xm-w680 { width: calc(100% - 32px); } }

/* ------------------------------------------------ tour 4: invoice, payment choice, tax, credit notes */
.xm-inv { width: 100%; font-size: 13px; }
.xm-inv .ui-win__crumb img { vertical-align: -2px; margin-right: 4px; }
.xm-inv__page { padding: 22px 24px 28px; display: grid; gap: 16px; }
.xm-inv__head { display: flex; justify-content: space-between; align-items: start; }
.xm-inv__head b { display: block; font-size: 16px; font-weight: 500; }
.xm-inv__head small, .xm-inv__to small { font-size: 12px; color: var(--u-muted); }
.xm-inv__to { display: grid; gap: 2px; }
.xm-inv__t, .xm-credit__t { width: 100%; border-collapse: collapse; }
.xm-inv__t th, .xm-credit__t th { font-weight: 400; font-size: 12px; color: var(--u-muted); text-align: left; padding: 6px 0; border-bottom: 1px solid var(--u-line); }
.xm-inv__t td, .xm-credit__t td { padding: 10px 0; border-bottom: 1px solid var(--u-line); vertical-align: middle; }
.xm-inv__t th:last-child, .xm-inv__t td:last-child, .xm-credit__t th:last-child, .xm-credit__t td:last-child { text-align: right; }
.xm-inv__t td:first-child { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; align-items: center; }
.xm-inv__t td:first-child > span { display: grid; }
.xm-inv__t td:first-child small { font-size: 12px; color: var(--u-muted); }
.xm-inv__t td:first-child .xm-flag { grid-column: 2; }
.xm-inv__sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 0; justify-self: end; min-width: 240px; }
.xm-inv__sum dt { color: var(--u-muted); } .xm-inv__sum dd { margin: 0; text-align: right; }
.xm-inv__sum b { font-weight: 500; font-size: 15px; }
.xm-inv__paid { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--u-r3); background: var(--u-tint); color: var(--u-accent-text); }
@container (max-width: 480px) { .xm-inv__t th:nth-child(2), .xm-inv__t td:nth-child(2) { display: none; } .xm-inv__t tr:nth-child(n+2) { display: none; } .xm-inv__page { padding: 16px; } }
.xm-inv { container-type: inline-size; }
.xm-order__dl { padding: 0 16px 16px; }
.xm-pay, .xm-tax, .xm-credit { width: 100%; font-size: 13px; }
.xm-pay__list { list-style: none; margin: 0; padding: 0; }
.xm-pay__list li { display: grid; grid-template-columns: 16px 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--u-line); }
.xm-pay__list li.is-sel { background: var(--u-tint); }
.xm-pay__list li.is-sel .xm-radio { box-shadow: inset 0 0 0 5px var(--u-accent); }
.xm-pay__list li > span:last-child { display: grid; }
.xm-pay__list b { font-weight: 500; } .xm-pay__list small { font-size: 12px; color: var(--u-muted); }
.xm-pay__ic { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--u-tile); box-shadow: var(--u-tile-edge); }
.xm-pay__ic .ui-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.xm-tax__list { list-style: none; margin: 0; padding: 0; }
.xm-tax__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--u-line); }
.xm-tax__list span { color: var(--u-muted); } .xm-tax__list b { font-weight: 500; }
.xm-credit__t { padding: 0 16px; } .xm-credit .xm-credit__t { width: calc(100% - 32px); margin: 0 16px 12px; }
.xm-credit__t tr.is-sel td { color: var(--u-accent-text); font-weight: 500; }
.xm-marquee { font-size: var(--t-lead); }
.xm-dl-area, .xm-export { width: 100%; font-size: 13px; }
.xm-dl-area .xm-cart li { align-items: center; }
.xm-dl-area .ui-btn { height: 28px; }
.xm-dl-area__inv { margin: 0; display: flex; align-items: center; gap: 8px; padding: 12px 16px 16px; color: var(--u-muted); }
.xm-export__list { list-style: none; margin: 0; padding: 0; }
.xm-export__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--u-line); }
.xm-export__list li > span { display: grid; } .xm-export__list b { font-weight: 500; } .xm-export__list small { font-size: 12px; color: var(--u-muted); }
.mo-pc__visual > .ui, .mo-pc__visuals > .ui { width: min(100%, 520px); }
@container (max-width: 520px) { .xm-order__dl { display: none; } }
.xm-inv__page { max-width: 548px; }

/* the two transition moments (iris-opens on the homepage's tour band, line-carries-colour on tour 1's rights band):
   the cover runs edge to edge, with no gutter and no card corners, so the dark ground never shows as a frame round it;
   and once open the stage stays laid out but hidden (the kit sets display: none, which the moment then measures as
   0 x 0 when the visitor scrolls back up: the cover flashed shut instead of closing with the scroll) */
html section.mo-io, html section.mo-lc { --mo-gap: 0px; }
html .mo-io > .mo-io__stage, html .mo-lc > .mo-lc__stage { border-radius: 0; }
html .mo-io.is-open > .mo-io__stage, html .mo-lc.is-open > .mo-lc__stage { display: block; visibility: hidden; }

/* ---- real screens: screenshots of demo.xmstore.de (backend and shop) in a plain browser frame ---- */
.xm-shot { display: block; overflow: hidden; background: #fff; border: 1px solid rgba(16, 24, 40, 0.12); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 18px 44px -18px rgba(16, 24, 40, 0.3); }
.xm-shot__bar { display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 12px; background: #f1f3f5; border-bottom: 1px solid rgba(16, 24, 40, 0.08); }
.xm-shot__dots { display: inline-flex; flex: none; gap: 6px; }
.xm-shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8de; }
.xm-shot__url { flex: 1 1 auto; min-width: 0; max-width: 440px; margin: 0 auto; padding: 4px 12px; overflow: hidden; font: 500 12px/1.2 var(--font-text); color: #4b5563; text-align: center; white-space: nowrap; text-overflow: ellipsis; background: #fff; border-radius: 6px; }
.xm-shot img { display: block; width: 100%; height: auto; }
.stage > .xm-at { left: var(--ax, 40px); top: var(--ay, 40px); width: var(--w, 760px); }
@media (max-width: 639px) { .stage > .xm-at { left: 16px; top: 16px; width: var(--w-sm, 520px); } }
/* a whole backend screen under a section's text: fills what the screen leaves, cut at the bottom */
.xm-shot--app { display: flex; flex-direction: column; min-height: 320px; margin-top: var(--s-7); -webkit-mask: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); mask: linear-gradient(to bottom, #000 calc(100% - 64px), transparent); }
.xm-shot--app > img { flex: 1 1 0; min-height: 0; object-fit: cover; object-position: left top; }
/* the video poster is the link */
a.xm-video { color: inherit; }
a.xm-video > .xm-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; color: #fff; background: rgba(0, 99, 181, 0.92); border-radius: 50%; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45); transform: translate(-50%, -50%); transition: transform 0.2s ease, background-color 0.2s ease; }
.xm-play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
a.xm-video:hover > .xm-play { background: #004f91; transform: translate(-50%, -50%) scale(1.06); }
a.xm-video:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* text cards (features, audiences, further tour pages) */
.xm-cards { row-gap: var(--s-5); margin-top: var(--s-7); }
.xm-cards .card p + p { margin-top: var(--s-3); }
/* start steps beside the request form */
.xm-start-list { margin: var(--s-5) 0 0; padding: 0; list-style: none; counter-reset: st; }
.xm-start-list li { position: relative; padding: var(--s-3) 0 var(--s-3) 40px; border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); counter-increment: st; }
.xm-start-list li::before { content: counter(st); position: absolute; left: 0; top: var(--s-3); display: grid; place-items: center; width: 26px; height: 26px; font: 600 13px/1 var(--font-text); color: var(--accent-ink, #fff); background: var(--accent); border-radius: 50%; }
/* picturemaxx: the path of an image from xmstore to the picture desks, set in type (no screen exists) */
.xm-flow { display: grid; gap: 14px; }
.xm-flow__step { display: flex; align-items: center; gap: 14px; padding: 18px 20px; font: 600 18px/1.3 var(--font-text); color: #1f2933; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px -14px rgba(16, 24, 40, 0.35); }
.xm-flow__step small { display: block; margin-top: 2px; font: 400 14px/1.4 var(--font-text); color: #4b5563; }
.xm-flow__n { display: grid; flex: none; place-items: center; width: 36px; height: 36px; font: 600 15px/1 var(--font-text); color: #fff; background: #0063b5; border-radius: 50%; }
.xm-flow__arrow { justify-self: start; margin-left: 32px; width: 2px; height: 18px; background: rgba(16, 24, 40, 0.3); }
/* visible breadcrumb on the tour pages */
.xm-crumbs { margin: 0 0 var(--s-4); font-size: var(--t-small); color: var(--muted); }
.xm-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.xm-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.6; }
.xm-crumbs a { color: inherit; }
.xm-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-6); }
.footer__contact a { color: inherit; }
#pmx-h { hyphens: manual; -webkit-hyphens: manual; }
/* phone: the longer copy keeps each section within two screens */
@media (max-width: 639px) {
  .xm-crumbs { display: none; }
  .xm-cards { row-gap: var(--s-4); margin-top: var(--s-5); }
  .xm-cards .card { padding-block: var(--s-4); }
}
@media (max-width: 639px) { .hero .hero__kicker, .hero .pill { display: none; } }
/* the address sits right after the window dots, so a frame cut by its panel keeps it readable */
.xm-shot__url { flex: 0 1 auto; margin: 0; text-align: left; }
/* a tour card's thumbnail: the real screen of that tour page */
.xm-thumb-shot { overflow: hidden; height: 150px; margin: calc(-1 * var(--c-pad, 24px)) calc(-1 * var(--c-pad, 24px)) var(--s-4); border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.xm-thumb-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 0.4s ease; }
.card:hover .xm-thumb-shot img { transform: scale(1.025); }
/* the audiences beside the dashboard screen; their h3 match the card titles */
.xm-ziel { display: grid; gap: var(--s-4); margin: var(--s-3) 0 0; padding: 0; list-style: none; }
.xm-ziel li { padding-top: var(--s-4); border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }
.xm-ziel h3 { margin: 0 0 6px; font-family: var(--font-text); font-weight: 500; font-size: var(--t-card); line-height: 1.3; letter-spacing: -0.01em; }
.xm-ziel p { font-size: var(--t-small); }
.xm-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.xm-thumb-shot { height: 120px; }
@media (max-width: 639px) { .xm-thumb-shot { height: 96px; } }
@media (max-width: 639px) { #weitere-funktionen .xm-cards .xm-thumb-shot { height: 208px; } }
@media (min-width: 640px) and (max-width: 1023px) {
  :is(#weitere-funktionen, #zielgruppen) .xm-ziel { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); }
  :is(#weitere-funktionen, #zielgruppen) .frame { --ratio: 42%; }
}
/* the tour cards under "Weitere Funktionen": three across from a tablet up, the thumbnail fills the card group */
@media (min-width: 1280px) { #weitere-funktionen .xm-cards .xm-thumb-shot { height: 240px; } }
@media (min-width: 1024px) and (max-width: 1279px) { #weitere-funktionen .xm-cards .xm-thumb-shot { height: 88px; } #weitere-funktionen .xm-cards { margin-top: var(--s-5); } }
@media (min-width: 640px) and (max-width: 1023px) {
  #weitere-funktionen .xm-cards > .card { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-auto-rows: min-content; column-gap: var(--s-5); align-content: start; }
  #weitere-funktionen .xm-cards > .card > :not(.xm-thumb-shot) { grid-column: 2; }
  #weitere-funktionen .xm-cards { margin-top: var(--s-5); row-gap: var(--s-4); }
  #weitere-funktionen .xm-pager { margin-top: var(--s-4); }
  #weitere-funktionen .xm-cards .xm-thumb-shot { grid-column: 1; grid-row: 1 / span 3; height: 120px; margin: 0; border-radius: 8px; border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); }
  .hero--collage .ly-piece--note { display: none; }
}
/* a framed screen always reaches the bottom of its frame or panel (under the fade): on a tall screen the
   frame grows with the section, so the screenshot covers it instead of leaving empty ground below */
.frame > .stage > .xm-at { bottom: calc(-1 * var(--fade-h, 64px)); }
.frame > .stage > .xm-at > .xm-shot { display: flex; flex-direction: column; height: 100%; }
.frame > .stage > .xm-at > .xm-shot > img { flex: 1 1 0; min-height: 0; height: 100%; object-fit: cover; object-position: left top; }
/* a card's panel shows its screenshot at its own size: on a tall screen the panel grows at most a third
   (the card keeps the room above it) instead of blowing the screenshot up */
@media (min-width: 1024px) { .card--open > .panel:has(.xm-shot) { max-height: calc(var(--p-h) * 1.3); } }
/* beside a list the screen runs the list's full height */
@media (min-width: 1024px) { :is(#weitere-funktionen, #zielgruppen) .frame { align-self: stretch; } }
/* heroes: the window's screenshot runs out through the bottom of its frame on any screen height */
.hero--centred .hero__window > .ly-piece { bottom: calc(-1 * var(--s-6)); }
.hero--centred .hero__window > .ly-piece > .xm-shot { display: flex; flex-direction: column; height: 100%; }
.hero--centred .hero__window > .ly-piece > .xm-shot > img { flex: 1 1 0; min-height: 0; object-fit: cover; object-position: left top; }
/* the collage: upload at the top, the image list at the lower right, together they fill the panel */
@media (min-width: 1024px) {
  .hero--collage .hero__art { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-8) 0 0 var(--s-8); }
  .hero--collage .hero__art > .ly-piece > .xm-shot { border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .hero--collage .hero__art > .ly-piece { position: relative; inset: auto; width: 100%; flex: none; }
  .hero--collage .hero__art > .ly-piece--note { flex: 1 1 0; min-height: 160px; }
  .hero--collage .hero__art > .ly-piece--note > .xm-shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .hero--collage .hero__art > .ly-piece--note > .xm-shot { display: flex; flex-direction: column; height: 100%; }
  .hero--collage .hero__art > .ly-piece--note > .xm-shot > img { flex: 1 1 0; min-height: 0; object-fit: cover; object-position: left top; }
}
/* the triptych collage: every set uses the same two boxes, the screenshot fills its box */
.ly-collage .ly-piece:has(> .xm-shot) { overflow: visible; background: none; border-radius: 12px; }
.ly-collage .ly-piece > .xm-shot { display: flex; flex-direction: column; height: 100%; }
.ly-collage .ly-piece > .xm-shot > img { flex: 1 1 0; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* tour 1's breadcrumb sits on the centred hero's axis */
.hero--centred .xm-crumbs ol { justify-content: center; }
/* the tours' further-features screen runs the list's height; on a phone it is tall enough to fill the two screens */
@media (min-width: 1024px) { #weitere-funktionen .frame { align-self: stretch; } }
@media (max-width: 639px) { #weitere-funktionen .frame { --ratio: 150%; } }
/* pinned chapters (tour 4): each step's screenshot fills the shared frame on the lit ground; the one on
   show drifts slowly closer, so the first step moves as well as the change between steps */
[data-moment="pinned-chapters"].is-live .mo-pc__visuals:has(.xm-shot) { aspect-ratio: 16 / 10; background: var(--ground-bg); }
[data-moment="pinned-chapters"] .mo-pc__visual:has(> .xm-shot) { padding: clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px) 0; background: var(--ground-bg); }
[data-moment="pinned-chapters"] .mo-pc__visual > .xm-shot { display: flex; flex-direction: column; height: 100%; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
[data-moment="pinned-chapters"] .mo-pc__visual > .xm-shot > img { flex: 1 1 0; min-height: 0; object-fit: cover; object-position: center top; transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) [data-moment="pinned-chapters"].xm-seen.is-live .mo-pc__visual.is-on > .xm-shot > img { animation: xm-drift 4.5s cubic-bezier(.2, .7, .3, 1) 0.15s 1 both; }
}
@keyframes xm-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
/* compact rhythm (the user's call): every section takes its content's height with a moderate gap, at
   every size; only the scroll scenes keep their screens, their motion depends on them. */
main > :is(section, .section):not(.hero, .section--hero, [data-moment="pinned-chapters"]) {
  height: auto; min-height: 0; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(56px, 6vw, 96px);
}
main > :is(section, .section):not(.hero, .section--hero, [data-moment="pinned-chapters"]) > :is(.wrap, .container) { height: auto; }
main > :is(section, .section).g2:not([data-moment]) > :is(.wrap, .container) { grid-template-rows: auto auto; row-gap: clamp(56px, 7vw, 104px); }
main > :is(section, .section).g2 > .wrap > .grid:last-child,
main > :is(section, .section).g2 > .wrap > .group > .grid:last-child { flex: 0 0 auto; }
main > :is(section, .section) > .wrap > .xm-shot--app.fill { flex: none; height: min(66vh, 720px); }
@media (max-width: 1023px) { main > :is(section, .section) > .wrap > .xm-shot--app.fill { height: min(56vh, 560px); } }
@media (max-width: 639px) { main > :is(section, .section) > .wrap > .xm-shot--app.fill { height: auto; min-height: 0; } main > :is(section, .section) > .wrap > .xm-shot--app.fill > img { flex: none; height: auto; } }
footer.closing { height: auto; min-height: 0; }
/* the hero no longer fills the whole first screen (the user's call): the next section's heading shows
   below it as the cue to scroll, and a tall screen stops it at 820px instead of stretching picture and empty
   ground; words that need more room still grow it. A phone keeps the kit's first-screen hero. */
@media (min-width: 640px) {
  main > :is(.hero, .section--hero) { height: auto; min-height: clamp(520px, 100svh - 180px, 820px); padding-bottom: var(--s-7);
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; }
  main > :is(.hero, .section--hero) > .wrap { height: auto; }
}
/* tour 3 between 1024 and 1279: the kit centres the words on two equal rows, which doubles a hero that
   now takes its content's height; the words start at the top and the collage runs beside them */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero--triptych .hero__grid { grid-template-rows: auto auto minmax(0, 1fr); }
  .hero--triptych .hero__grid > :first-child { align-self: start; }
}
.card--open > .panel:has(.xm-shot) { flex-grow: 0; }
@media (max-width: 639px) {
  /* a 44px tap height from padding, the underline kept on the text (its background drawn from the content box) */
  html .footer .footer__contact a:not([class]) { display: inline-block; padding: 11px 0 13px; margin-block: -11px -13px; background-origin: content-box; }
  .panel > .stage { --fade-h: 28px; }
}
/* a card's screenshot keeps most of a short panel: a shorter fade */
.card--open > .panel > .stage:has(.xm-shot) { --fade-h: 40px; }
@media (max-width: 639px) { .xm-ziel h3 a { display: inline-flex; align-items: center; min-height: 44px; } }
/* hero screens (tours 1 and 4): their frame carries a pause button, so the screenshot pans slowly and
   the button holds it (the kit's [data-m-loop]: paused off screen, on a phone and under reduced motion) */
.ui.xm-shot[data-m-loop] { --m-cycle: 4s; --m-still: 0; padding-bottom: 0; overflow: hidden; }
/* the bar stays on top while the screenshot pans beneath it */
.ui.xm-shot[data-m-loop] > .xm-shot__bar { position: relative; z-index: 1; }
.ui.xm-shot[data-m-loop] > img { transform-origin: 0 0; animation: xm-pan 4s ease-in-out infinite alternate; }
@keyframes xm-pan { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-3%, -3%); } }
/* the scroll cue (js/xm.js): shown only while a hero fills the first screen and the next heading is out of
   view; it fades in after the hero's entrance, nudges down three times and leaves when the page scrolls */
.xm-cue { position: fixed; left: 50%; bottom: var(--s-5); z-index: 5; display: grid; place-items: center; width: 44px; height: 44px;
  margin-left: -22px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  box-shadow: 0 6px 20px rgb(0 0 0 / .08); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.xm-cue.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
.xm-cue svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xm-cue:hover { border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .xm-cue.is-on svg { animation: xm-nudge .9s ease-in-out .6s 3 alternate; }
}
@keyframes xm-nudge { to { transform: translateY(3px); } }
/* the wordmark as in the client's logo: "xm" in the logo blue (the favicon is the same xm on a blue tile) */
.nav__logo .xm-logo-xm { color: var(--p-accent); }
/* a phone: the kit gives every .link a 44px box, so its underline hung far below the words and a link in running
   text pushed its line apart; the box stays as high as its text and an invisible layer gives the 44px tap area */
@media (max-width: 639px) {
  .link { min-height: 0; position: relative; }
  .link::before { content: ""; position: absolute; inset: -12px -4px; }
}
/* a phone: the kit turns the second button into an underlined text link, but the pill look keeps its grey fill,
   so it showed a filled pill with underlined words; it stays a plain pill */
@media (max-width: 639px) { .btn-row > .btn--secondary { text-decoration: none; } }
