.customer-tips-page {
    margin: 0;
    background: var(--tip-page, #f8f9fc);
    color: var(--tip-body, #444444);
    font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.customer-tips-page * { box-sizing: border-box; }
.customer-tips-page [hidden] { display: none !important; }
.tip-shell { max-width: 610px; margin: 0 auto; padding: 32px 20px; }
.tip-brand { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.tip-brand a { color: var(--tip-brand-text); font-weight: 700; text-decoration: none; font-size: 18px; overflow-wrap: anywhere; }
.tip-brand span { color: var(--tip-page-muted); font-size: 12px; white-space: nowrap; }
.tip-card { padding: 32px; background: var(--tip-surface, #ffffff); border: 1px solid var(--tip-border); border-top: 3px solid var(--tip-primary); border-radius: 14px; box-shadow: 0 8px 28px rgb(0 0 0 / 4%); }
.tip-eyebrow { color: var(--tip-muted); font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.tip-order-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.tip-order-total { margin: 0; color: var(--tip-muted); font-size: 13px; }
.tip-order-total strong { color: var(--tip-body); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tip-card h1 { color: var(--tip-heading); font-size: 32px; line-height: 1.2; letter-spacing: -.6px; font-weight: 700; margin: 8px 0 12px; }
.tip-card h2 { color: var(--tip-heading); }
.tip-description { margin: 0 0 25px; color: var(--tip-body); overflow-wrap: anywhere; }
.tip-card fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.tip-card legend, .tip-card label { display: block; margin: 0 0 8px; color: var(--tip-body); font-size: 14px; font-weight: 600; }
.tip-card legend { width: 100%; margin-bottom: 12px; }
.tip-presets { display: flex; gap: 10px; margin-bottom: 20px; }
.tip-preset { min-width: 0; flex: 1; padding: 12px 7px; overflow-wrap: anywhere; border: 1px solid var(--tip-input-border); border-radius: var(--tip-button-radius); background: var(--tip-surface); color: var(--tip-body); font: inherit; font-weight: 650; cursor: pointer; }
.tip-preset[aria-pressed=true] { padding: 11px 6px; border: 2px solid var(--tip-soft-accent); background: var(--tip-soft); color: var(--tip-soft-accent); }
.tip-card input[type=text], .tip-card textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--tip-input-border); border-radius: 7px; background: var(--tip-surface); color: var(--tip-body); font: inherit; }
.tip-card input::placeholder, .tip-card textarea::placeholder { color: var(--tip-muted); opacity: 1; }
.tip-amount-wrap { position: relative; }
.tip-amount-wrap > span { position: absolute; top: 11px; left: 14px; color: var(--tip-muted); }
.tip-amount-wrap input[type=text] { padding-left: 30px; }
.tip-card textarea { min-height: 78px; resize: vertical; }
.tip-help { margin: 7px 0 20px; color: var(--tip-muted); font-size: 12px; }
.tip-optional { color: var(--tip-muted); font-weight: 400; }
.tip-card .tip-cover { display: flex; gap: 11px; align-items: flex-start; margin-top: 20px; padding: 14px; border: 1px solid var(--tip-border); border-radius: 8px; background: var(--tip-soft); color: var(--tip-soft-text); }
.tip-cover input { flex-shrink: 0; width: 19px; height: 19px; margin: 2px 0; accent-color: var(--tip-soft-accent); }
.tip-cover strong { font-size: 14px; }
.tip-cover small { display: block; color: var(--tip-soft-muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.tip-totals { margin: 22px 0; padding-top: 13px; border-top: 1px solid var(--tip-border); font-size: 14px; }
.tip-totals > div { display: flex; justify-content: space-between; gap: 15px; margin: 7px 0; }
.tip-totals dt { font-weight: 400; }
.tip-totals dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tip-totals .tip-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--tip-border); color: var(--tip-heading); font-size: 19px; font-weight: 700; }
.tip-total dt { font-weight: 700; }
.tip-card-entry { min-height: 45px; margin-top: 10px; border-radius: 7px; }
.tip-card-entry.StripeElement { padding: 14px; border: 1px solid var(--tip-input-border); background: #ffffff; }
.tip-submit { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: var(--tip-button-radius); background: var(--tip-button); color: var(--tip-button-text); font: inherit; font-weight: 650; text-align: center; text-decoration: none; cursor: pointer; }
.tip-submit:disabled { opacity: .55; cursor: not-allowed; }
.tip-secondary { display: block; width: 100%; margin-top: 10px; padding: 11px; border: 1px solid var(--tip-input-border); border-radius: var(--tip-button-radius); background: var(--tip-surface); color: var(--tip-accent-text); font: inherit; cursor: pointer; }
.tip-fine-print, .tip-footer { font-size: 12px; text-align: center; }
.tip-fine-print { margin: 15px 0 0; color: var(--tip-muted); line-height: 1.6; }
.tip-footer { margin-top: 22px; color: var(--tip-page-muted); }
.tip-status { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--tip-border); border-radius: 8px; background: var(--tip-soft); color: var(--tip-soft-text); font-size: 14px; overflow-wrap: anywhere; }
.tip-status.is-error { border-color: #e9bab5; background: #fff3f1; color: #92271f; }
.tip-receipt { padding: 22px 0; text-align: center; }
.tip-receipt h2 { font-size: 25px; }
.tip-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--tip-soft); color: var(--tip-soft-accent); font-size: 29px; }
.tip-muted { color: var(--tip-muted); font-size: 13px; }
.tip-receipt a { color: var(--tip-accent-text); }
.tip-wallet-section { margin-bottom: 16px; }
.tip-wallet-button { display: block; width: 100%; height: 48px; border: 0; border-radius: 6px; background: #000000; color: #ffffff; font: inherit; cursor: pointer; -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black; }
.tip-wallet-button:disabled { opacity: .55; cursor: not-allowed; }
#tip-stripe-wallet { min-width: 0; }
.tip-wallet-divider { display: flex; align-items: center; gap: 12px; margin: 17px 0; color: var(--tip-muted); font-size: 12px; }
.tip-wallet-divider::before, .tip-wallet-divider::after { content: ""; flex: 1; border-top: 1px solid var(--tip-border); }
.tip-preset:focus-visible, .tip-submit:focus-visible, .tip-secondary:focus-visible, .tip-wallet-button:focus-visible, .tip-card input:focus-visible, .tip-card textarea:focus-visible, .tip-brand a:focus-visible { outline: 3px solid var(--tip-accent-text); outline-offset: 3px; }
@media (max-width: 480px) {
    .tip-shell { padding: 22px 12px; }
    .tip-card { padding: 24px 20px; border-radius: 12px; }
    .tip-card h1 { font-size: 29px; }
    .tip-brand { padding: 0 4px; }
    .tip-brand a { font-size: 16px; }
    .tip-presets { gap: 8px; }
}
