/* Planet Heroes starter components. Requires tokens.css (new names --ph-color-*, --ph-space-*...).
   Starting point, not a library: rename or map classes when a host project has its own components.
   AA everywhere (decision 2026-11-16): every text pair >= 4.5:1, every control border and focus ring >= 3:1. */

.ph-theme { background: var(--ph-color-bg); color: var(--ph-color-text); font: var(--ph-font-weight-regular) var(--ph-font-size-base)/var(--ph-font-line-height-body) var(--ph-font-family-base); -webkit-font-smoothing: antialiased; }
.ph-theme *, .ph-theme *::before, .ph-theme *::after { box-sizing: border-box; }
.ph-theme img { max-width: 100%; display: block; }
:where(.ph-theme) a { color: var(--ph-color-link); text-underline-offset: 3px; } /* low specificity so .ph-btn / .ph-gc links keep their colours */
:where(.ph-theme) :where(.ph-mist, .ph-tag, .ph-sample-note, .ph-alert--info, .ph-alert--warning, .ph-date) a { color: var(--ph-color-action-hover); } /* #2563EB fails on pastels and mist (4.14-4.33:1) */
.ph-theme :focus-visible { outline: 3px solid var(--ph-color-focus); outline-offset: 3px; }

.ph-container { width: min(100% - 2 * var(--ph-space-gutter), var(--ph-size-container)); margin-inline: auto; }
.ph-section { padding-block: var(--ph-space-section); }

/* type - every heading weight 600 */
.ph-display, .ph-h1, .ph-h2, .ph-h3 { font-family: var(--ph-font-family-display); font-weight: var(--ph-font-weight-semibold); letter-spacing: var(--ph-font-tracking-display); color: var(--ph-color-text); margin: 0; text-wrap: balance; }
.ph-h1 { font-size: var(--ph-font-size-h1); line-height: var(--ph-font-line-height-h1); letter-spacing: var(--ph-font-tracking-h1); max-width: var(--ph-size-h1-measure); margin-bottom: var(--ph-size-h1-gap); } /* decision 2026-11-15 */
.ph-h1--detail { font-size: var(--ph-font-size-h1-detail); line-height: var(--ph-font-line-height-heading); max-width: var(--ph-size-h1-detail-measure); margin-bottom: var(--ph-size-h1-detail-gap); overflow-wrap: break-word; } /* decision 2026-11-16: every detail screen */
.ph-h1--long { max-width: 22ch; } /* superseded 2026-11-16 by .ph-h1--detail; kept so older files still render */
.ph-h2 { font-size: var(--ph-font-size-h2); line-height: 1.1; }
.ph-h3 { font-size: var(--ph-font-size-h3); line-height: var(--ph-font-line-height-snug); letter-spacing: -0.01em; }
.ph-h2--account { font-size: var(--ph-font-size-h2-account); } /* decision 2026-11-16 */
.ph-eyebrow { font: var(--ph-font-weight-semibold) var(--ph-font-size-sm)/1.4 var(--ph-font-family-base); letter-spacing: var(--ph-font-tracking-eyebrow); text-transform: uppercase; color: var(--ph-color-eyebrow); margin: 0 0 12px; } /* #475569: 6.75 bg, 7.58 white */
.ph-lead { font-size: var(--ph-font-size-lead); line-height: 1.65; color: var(--ph-color-text-secondary); max-width: 36em; }
.ph-meta { font: var(--ph-font-weight-medium) var(--ph-font-size-sm)/1.5 var(--ph-font-family-base); color: var(--ph-color-text-secondary); }

/* buttons - pill 999px, 52 / 42 px (decision 2026-11-17) */
.ph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ph-size-control-md); padding: 0 26px; border-radius: var(--ph-radius-pill); border: 2px solid transparent; font: var(--ph-font-weight-semibold) var(--ph-font-size-base)/1 var(--ph-font-family-base); text-decoration: none; cursor: pointer; background: var(--ph-color-action); color: var(--ph-color-on-action); box-shadow: var(--ph-shadow-action); transition: background-color var(--ph-duration-base) ease, color var(--ph-duration-base) ease, border-color var(--ph-duration-base) ease, box-shadow var(--ph-duration-base) ease, transform var(--ph-duration-base) var(--ph-ease-standard); }
.ph-btn:hover { background: var(--ph-color-action-hover); transform: translateY(-1px); } /* white 6.70:1 */
.ph-btn--ghost { background: transparent; color: var(--ph-color-text); border-color: var(--ph-color-border-field); box-shadow: none; } /* #7C8799 3.63 white / 3.24 bg */
.ph-btn--ghost:hover { background: transparent; border-color: var(--ph-color-text); }
.ph-btn--inverse { background: var(--ph-color-surface); color: var(--ph-color-text); box-shadow: none; }
.ph-btn--inverse:hover { background: var(--ph-color-bg); }
.ph-btn--danger { background: var(--ph-color-error); box-shadow: none; }
.ph-btn--danger:hover { background: var(--ph-color-error-hover); }
.ph-btn--sm { min-height: var(--ph-size-control-sm); padding: 0 18px; font-size: 15px; }
.ph-btn--block { width: 100%; }
.ph-btn[disabled], .ph-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.ph-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* tags (small, pastel, not interactive) */
.ph-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--ph-radius-pill); font: var(--ph-font-weight-semibold) var(--ph-font-size-xs)/1.4 var(--ph-font-family-base); color: var(--ph-color-ink); background: var(--ph-color-sky); white-space: nowrap; }
.ph-tag--mint { background: var(--ph-color-mint); }
.ph-tag--sky { background: var(--ph-color-sky); }
.ph-tag--sand { background: var(--ph-color-sand); }
.ph-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* filters (larger, interactive; active = ink) */
.ph-filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
.ph-filter { flex: none; min-height: var(--ph-size-filter); padding: 0 16px; border-radius: var(--ph-radius-pill); border: 1px solid var(--ph-color-border-field); background: var(--ph-color-surface); color: var(--ph-color-text); font: var(--ph-font-weight-semibold) var(--ph-font-size-md)/1 var(--ph-font-family-base); cursor: pointer; transition: background-color var(--ph-duration-base) ease, color var(--ph-duration-base) ease; }
.ph-filter:hover { border-color: var(--ph-color-text); }
.ph-filter[aria-pressed="true"], .ph-filter[aria-current="true"], .ph-filter[aria-current="page"] { background: var(--ph-color-inverse); border-color: var(--ph-color-inverse); color: var(--ph-color-on-inverse); }

/* status pills - icon + text, never colour alone */
.ph-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border-radius: var(--ph-radius-pill); font: var(--ph-font-weight-semibold) var(--ph-font-size-xs)/1.4 var(--ph-font-family-base); }
.ph-status svg { width: 14px; height: 14px; flex: none; }
.ph-status--live, .ph-status--ok { background: var(--ph-color-status-success-bg); color: var(--ph-color-status-success); } /* 6.49:1 */
.ph-status--pilot { background: var(--ph-color-sky); color: var(--ph-color-ink); border: 1px dashed var(--ph-color-ink); padding-block: 3px; }
.ph-status--wait { background: var(--ph-color-status-muted); color: var(--ph-color-ink); }       /* 12.79:1 */
.ph-status--rejected { background: var(--ph-color-status-error-bg); color: var(--ph-color-status-error); } /* 5.45:1 - always with the reason next to it */
.ph-status--soon { background: var(--ph-color-sky); color: var(--ph-color-ink); }
.ph-status--ended { background: var(--ph-color-status-muted); color: var(--ph-color-ink); }   /* "Zakończone" is a status, not a tag (decision B5 2026-11-29) */   /* "Wkrótce": the only marker of a not-yet-live activity (rule 10) */
.ph-status--private { background: var(--ph-color-status-muted); color: var(--ph-color-ink); } /* with a lock icon; replaces the join button */
.ph-status--warning { background: var(--ph-color-warning-bg); color: var(--ph-color-warning); } /* 5.94:1 */

/* Green Coin - always <img src="coin.svg">; never style the img itself */
.ph-coin { display: block; flex: none; aspect-ratio: 1; object-fit: contain; width: var(--ph-size-coin-counter); height: auto; }
.ph-coin--marker { width: var(--ph-size-coin-marker); }
.ph-coin--nav { width: var(--ph-size-coin-nav); }
.ph-coin--hero { width: var(--ph-size-coin-hero); }
.ph-coin--float { animation: ph-float 6s ease-in-out infinite; }
.ph-coin--hit { animation: ph-hit .6s var(--ph-ease-standard) both; width: 72px; }
@keyframes ph-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes ph-hit { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* GC marker pill (on card images) */
.ph-gc { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: var(--ph-radius-pill); background: var(--ph-color-surface); color: var(--ph-color-text); font: 700 var(--ph-font-size-xs)/1.3 var(--ph-font-family-base); white-space: nowrap; }

/* counter (balance, team total) */
.ph-tally { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 16px; background: var(--ph-color-surface); box-shadow: var(--ph-shadow-card); }
.ph-tally__label { font: var(--ph-font-weight-semibold) var(--ph-font-size-xs)/1.3 var(--ph-font-family-base); letter-spacing: .04em; text-transform: uppercase; color: var(--ph-color-text-secondary); }
.ph-tally__value { font: var(--ph-font-weight-semibold) 24px/1.15 var(--ph-font-family-display); letter-spacing: var(--ph-font-tracking-display); }

/* cards - borderless */
.ph-grid { display: grid; gap: var(--ph-space-gap); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ph-card { display: flex; flex-direction: column; background: var(--ph-color-surface); border-radius: var(--ph-radius-card); box-shadow: var(--ph-shadow-card); overflow: hidden; color: inherit; text-decoration: none; }
.ph-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--ph-color-mint); }
.ph-card__media > img { width: 100%; height: 100%; object-fit: cover; } /* direct child only: never the coin marker */
.ph-card__media .ph-gc { position: absolute; left: 12px; bottom: 12px; }
.ph-card__media .ph-tag { position: absolute; right: 12px; top: 12px; }
.ph-card__media .ph-tag--mint { background: var(--ph-color-mint-solid); } /* translucent mint must not take its colour from the photo */
@media (max-width: 560px) { .ph-card__media { aspect-ratio: 16 / 10; } }
.ph-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.ph-card__title { font: var(--ph-font-weight-semibold) var(--ph-font-size-lg)/1.3 var(--ph-font-family-display); letter-spacing: -0.01em; margin: 0; }
.ph-card__body .ph-tags { margin-top: auto; padding-top: 4px; }

/* gradients: band under a light hero, CTA block, hero section */
.ph-band { height: var(--ph-size-band); background: var(--ph-color-gradient-band); }
.ph-cta { border-radius: var(--ph-radius-block); padding: clamp(28px, 4vw, 48px); background: var(--ph-color-gradient-cta); color: var(--ph-color-text-on-dark); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.ph-cta__text { max-width: 40%; min-width: 260px; }
.ph-cta .ph-h2 { color: var(--ph-color-text-on-dark); }
.ph-cta__text p { font: 700 19px/1.4 var(--ph-font-family-base); margin: 8px 0 0; } /* large text: worst white contrast in the text column 3.71-3.91:1 passes 3:1 only as large text */
@media (max-width: 860px) { .ph-cta { background: var(--ph-color-gradient-cta-mobile); } .ph-cta__text { max-width: none; } }

/* hero section on the hero gradient (blue -> purple); replaces the band, white text passes 5.17-5.70:1 */
.ph-hero--grad { background: var(--ph-color-gradient-hero); color: var(--ph-color-text-on-dark); }
.ph-hero--grad .ph-h1, .ph-hero--grad .ph-h2 { color: var(--ph-color-text-on-dark); }
.ph-hero--grad .ph-eyebrow { color: var(--ph-color-text-on-dark); }
.ph-hero--grad .ph-lead { color: rgba(255, 255, 255, .92); }
.ph-hero--grad .ph-btn:not(.ph-btn--ghost) { background: var(--ph-color-surface); color: var(--ph-color-text); box-shadow: none; } /* inverse: the action blue has no figure-ground on blue */
.ph-hero--grad .ph-btn--ghost { color: var(--ph-color-text-on-dark); border-color: rgba(255, 255, 255, .7); }
.ph-hero--grad .ph-btn--ghost:hover { border-color: #fff; }
.ph-hero--grad :focus-visible { outline-color: #fff; }

/* cool neutral surface */
.ph-mist { background: var(--ph-color-surface-muted); }

/* progress (eco gradient) */
.ph-progress { height: 8px; border-radius: var(--ph-radius-pill); background: var(--ph-color-surface-muted); overflow: hidden; }
.ph-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--ph-color-gradient-progress); }

/* dark B2B section */
.ph-dark { background: var(--ph-color-ink); color: var(--ph-color-text-on-dark); }
.ph-dark .ph-h2, .ph-dark .ph-h3 { color: var(--ph-color-text-on-dark); }
.ph-dark .ph-eyebrow { color: var(--ph-color-eyebrow-on-dark); } /* #999999 on ink 5.61:1 (Q1) */
.ph-dark .ph-lead { color: rgba(255, 255, 255, .82); }
.ph-dark :focus-visible { outline-color: #fff; }
.ph-stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ph-stat { background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 20px; }
.ph-stat__value { display: block; font: var(--ph-font-weight-semibold) clamp(32px, 4vw, 44px)/1.05 var(--ph-font-family-display); letter-spacing: var(--ph-font-tracking-display); color: var(--ph-color-stat); }
.ph-stat__label { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.ph-stat__source { display: block; margin-top: 10px; font-size: var(--ph-font-size-xs); color: rgba(255, 255, 255, .7); }

/* forms - label always above the field (never placeholder or floating label), field 48 px */
.ph-panel { background: var(--ph-color-surface); border-radius: var(--ph-radius-block); padding: clamp(24px, 3vw, 40px); box-shadow: var(--ph-shadow-card); color: var(--ph-color-text); }
.ph-field { display: flex; flex-direction: column; gap: 6px; }
.ph-field label, .ph-field__label { font: var(--ph-font-weight-semibold) var(--ph-font-size-md)/1.3 var(--ph-font-family-base); color: var(--ph-color-text); }
.ph-field__hint { font: var(--ph-font-weight-regular) var(--ph-font-size-sm)/1.4 var(--ph-font-family-base); color: var(--ph-color-text-secondary); }
.ph-input { min-height: var(--ph-size-field); padding: 10px 14px; border-radius: var(--ph-radius-field); border: 1px solid var(--ph-color-border-field); background: var(--ph-color-surface); color: var(--ph-color-text); font: var(--ph-font-weight-regular) var(--ph-font-size-base)/1.4 var(--ph-font-family-base); width: 100%; }
.ph-input::placeholder { color: var(--ph-color-text-secondary); }
.ph-input:hover { border-color: var(--ph-color-text); }
.ph-input:focus-visible { border-color: var(--ph-color-focus); }
.ph-input[aria-invalid="true"] { border: 2px solid var(--ph-color-error); }
.ph-input:disabled { background: var(--ph-color-surface-muted); color: var(--ph-color-text-secondary); cursor: not-allowed; }
.ph-field__error { font: var(--ph-font-weight-medium) var(--ph-font-size-sm)/1.4 var(--ph-font-family-base); color: var(--ph-color-error); }

/* nav */
.ph-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.ph-nav__links { display: flex; gap: 28px; font: var(--ph-font-weight-medium) 15px/1 var(--ph-font-family-base); }
.ph-nav__links a { color: var(--ph-color-text); text-decoration: none; }
.ph-nav__links a:hover { color: var(--ph-color-link); }
@media (max-width: 860px) { .ph-nav__links { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ph-coin--float, .ph-coin--hit { animation: none; }
  .ph-btn, .ph-filter { transition: none; }
  .ph-btn:hover { transform: none; }
}

/* ---------- patterns from the 2026-11-15/16 prototypes (homepage, profile, event detail, rewards) ---------- */

/* header: guest sees one CTA "Zaloguj"; signed-in person sees "Dodaj akcję ▾" + balance + avatar (decision 2026-11-16) */
.ph-nav-balance { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--ph-radius-pill); background: var(--ph-color-mint-solid); box-shadow: var(--ph-shadow-card); font: var(--ph-font-weight-semibold) var(--ph-font-size-md)/1 var(--ph-font-family-base); color: var(--ph-color-ink); text-decoration: none; } /* mint pill (decision A9 2026-11-29, Q10) */
.ph-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--ph-radius-round); background: var(--ph-color-sky); color: var(--ph-color-ink); font: var(--ph-font-weight-semibold) var(--ph-font-size-md)/1 var(--ph-font-family-display); text-decoration: none; overflow: hidden; } /* avatar on sky, ink initials 13.04:1 (decision A9 2026-11-29, Q10) */
.ph-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ph-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; background: var(--ph-color-surface); border-radius: var(--ph-radius-card); box-shadow: var(--ph-shadow-menu); padding: 8px; z-index: var(--ph-z-dropdown); }
.ph-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ph-color-text); text-decoration: none; }
.ph-menu a:hover, .ph-menu a:focus-visible { background: var(--ph-color-bg); }
@media (max-width: 560px) { .ph-menu { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; } }

/* date tile (event cards and rows): mint; white on a card with its own cover (.ph-date--on-cover, decision B6 2026-11-29) */
.ph-date { flex: none; width: 72px; border-radius: 14px; background: var(--ph-color-mint); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; text-align: center; color: var(--ph-color-ink); }
.ph-date__day { font: var(--ph-font-weight-semibold) 30px/1 var(--ph-font-family-display); letter-spacing: -0.02em; }
.ph-date__mon { font: var(--ph-font-weight-semibold) var(--ph-font-size-xs)/1.2 var(--ph-font-family-base); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.ph-date--sm { width: 56px; } .ph-date--sm .ph-date__day { font-size: 22px; }
.ph-date--on-cover { background: #FFFFFF; }   /* white tile on an event card with its own cover; mint tile when there is none (decision B6 2026-11-29, Q9) */

/* list row (activity history, events, transactions on account screens) */
.ph-row { background: var(--ph-color-surface); border-radius: var(--ph-radius-card); box-shadow: var(--ph-shadow-card); padding: 16px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; }
.ph-row__title { font: var(--ph-font-weight-semibold) var(--ph-font-size-base)/1.35 var(--ph-font-family-display); margin: 0; min-width: 0; }
.ph-row__end { grid-row: 1 / span 2; grid-column: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.ph-row__note { grid-column: 2 / -1; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--ph-color-error-bg); font-size: var(--ph-font-size-md); }
.ph-amount { font: var(--ph-font-weight-semibold) 17px/1.2 var(--ph-font-family-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ph-amount--plus { color: var(--ph-color-success); } .ph-amount--wait { color: var(--ph-color-text-secondary); }
@media (max-width: 560px) { .ph-row { grid-template-columns: auto minmax(0, 1fr); padding: 14px; } .ph-row__end { grid-row: auto; grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; text-align: left; } .ph-row__note { grid-column: 1 / -1; } }

/* Green Coins balance card (PH Card gradient, white text - accepted AA exception, decision A5 2026-11-29) */
.ph-balance-card { background: var(--ph-color-gradient-card); color: var(--ph-color-text-on-dark); border-radius: var(--ph-radius-card); box-shadow: var(--ph-shadow-card); padding: 20px; display: flex; flex-direction: column; gap: 6px; }

/* code box with copy (redeemed rewards, event join link) */
.ph-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px dashed var(--ph-color-border-field); border-radius: 12px; padding: 8px 8px 8px 14px; }
.ph-code code { font: 600 17px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; word-break: break-all; }

/* empty and error states: say why, offer one way out */
.ph-state { background: var(--ph-color-surface); border-radius: var(--ph-radius-card); box-shadow: var(--ph-shadow-card); padding: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.ph-state strong { display: block; font: var(--ph-font-weight-semibold) var(--ph-font-size-lg)/1.3 var(--ph-font-family-display); margin-bottom: 4px; }
.ph-state--error { background: var(--ph-color-error-bg); box-shadow: none; }
.ph-state--error strong { color: var(--ph-color-error); }
.ph-alert { padding: 12px 14px; border-radius: 12px; background: var(--ph-color-error-bg); color: var(--ph-color-error); font: var(--ph-font-weight-medium) 15px/1.45 var(--ph-font-family-base); }
.ph-alert--warning { background: var(--ph-color-warning-bg); color: var(--ph-color-warning); } /* 5.94:1 */
.ph-alert--info { background: var(--ph-color-sky); color: var(--ph-color-info); }          /* 5.47:1 */
.ph-alert--success { background: var(--ph-color-success-bg); color: var(--ph-color-success); } /* 6.49:1 */

/* shelf: a card row that scrolls sideways on mobile only (featured rows, "Ostatnio posprzątane") */
@media (max-width: 560px) {
  .ph-shelf { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--ph-space-gutter)); padding: 4px var(--ph-space-gutter) 18px; scrollbar-width: none; }
  .ph-shelf > * { flex: 0 0 78%; scroll-snap-align: start; }
}

/* dialog (exchange, edit, invite, QR) and toast */
dialog.ph-dialog { width: min(100% - 32px, 520px); max-height: calc(100vh - 32px); border: 0; padding: 0; border-radius: var(--ph-radius-block); background: var(--ph-color-surface); color: var(--ph-color-text); box-shadow: var(--ph-shadow-dialog); }
dialog.ph-dialog::backdrop { background: var(--ph-color-overlay); }
.ph-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ph-color-inverse); color: var(--ph-color-on-inverse); padding: 12px 18px; border-radius: var(--ph-radius-pill); font: var(--ph-font-weight-semibold) 15px/1.4 var(--ph-font-family-base); transition: opacity var(--ph-duration-base), transform var(--ph-duration-base) var(--ph-ease-standard); pointer-events: none; z-index: var(--ph-z-toast); max-width: calc(100% - 32px); }
.ph-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* sample-data note (every prototype with placeholder data) */
.ph-sample-note { padding: 12px 16px; border-radius: 14px; background: var(--ph-color-sand); color: var(--ph-color-ink); font-size: var(--ph-font-size-md); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) { .ph-toast { transition: none; } }

