/* Existing gifts use the regular BrewPass cream, coffee and pistachio palette. */
.bp-gifts-entry { width:100%;text-align:left;background:transparent;color:inherit;font:inherit; }
.bp-gifts-entry .sc-ico { flex-shrink:0; }
.bp-dialog { color:var(--bp-espresso,#3D2B1A);background:var(--bp-cream,#F2EAD8);border:0;padding:0;position:fixed;inset:0;margin:auto;width:100%;max-width:520px;height:100%;height:100dvh;max-height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;font-family:var(--bp-font,'Manrope',sans-serif);scrollbar-width:thin; }
.bp-dialog::backdrop { background:rgba(39,29,17,.6); }
.bp-shell { box-sizing:border-box;min-width:0;max-width:100%;overflow-wrap:anywhere;padding:max(18px,calc(var(--bp-safe-top,0px) + 12px)) max(20px,env(safe-area-inset-right)) max(32px,calc(var(--bp-safe-bottom,0px) + 24px)) max(20px,env(safe-area-inset-left)); }
.bp-dialog::before { content:'';position:fixed;top:0;left:0;right:0;height:var(--bp-safe-top,0px);background:var(--bp-cream,#F2EAD8);z-index:6;pointer-events:none; }
.bp-top { display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:var(--bp-safe-top,0px);background:var(--bp-cream,#F2EAD8);z-index:5;min-height:60px;padding:8px 0; }
.bp-top h1,.bp-top h2 { font-size:24px;line-height:1.25;letter-spacing:-.7px;font-weight:800;min-width:0;margin:0; }
.bp-top h2 { font-size:20px; }
.bp-close,.bp-close:focus,.bp-close:focus-visible,.bp-close:active { flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;outline:none;box-shadow:none;background:transparent;color:inherit;font:400 28px/1 'Manrope',sans-serif;touch-action:manipulation;-webkit-appearance:none;appearance:none; }
.bp-gifts-intro { font-size:13px;line-height:1.65;color:#796348;margin:10px 0 24px; }
.bp-gifts h2,.bp-gifts-section h2 { font-size:19px;letter-spacing:-.5px;line-height:1.3;margin:0 0 12px; }
.bp-gifts>p,.bp-gift-content>p { font-size:13px;line-height:1.65;color:#796348;margin:10px 0; }
.bp-gift-row { margin-top:12px;padding:18px;border:1px solid #D9CEBA;border-radius:18px;background:var(--bp-milk,#FFFDF7); }
.bp-gift-row>b { display:block;font-size:15px;line-height:1.4; }
.bp-gift-row>p,.bp-gift-record>p { font-size:13px;line-height:1.65;margin-top:8px;color:#796348;white-space:pre-line; }
.bp-gift-row>small,.bp-gift-record>small { display:block;font-size:11px;line-height:1.5;margin-top:8px;color:#796348; }
.bp-gift-action { min-height:48px;display:block;width:100%;padding:12px 16px;background:var(--bp-espresso,#3D2B1A);color:#FFFDF7;border:0;border-radius:999px;margin-top:16px;font:700 13px/1.4 var(--bp-font,'Manrope',sans-serif);transition:transform 160ms ease-out;touch-action:manipulation; }
.bp-gift-action:active { transform:scale(.98); }
.bp-gift-action:disabled { opacity:.55;cursor:default; }
.bp-gift-action:focus-visible,.bp-gifts-entry:focus-visible,.bp-gift-record>summary:focus-visible,.bp-gifts-history>summary:focus-visible { outline:2px solid #6C853B;outline-offset:3px; }
.bp-gift-note { padding:14px;background:#E6E8D6;border-radius:12px;font-size:13px;line-height:1.65;margin:12px 0; }
.bp-gift-content { margin-top:20px; }
.bp-invite-url { box-sizing:border-box;width:100%;min-height:96px;padding:14px;border:1px solid #C6BAA5;border-radius:12px;font:12px/1.6 var(--bp-font,'Manrope',sans-serif);background:#FFFDF7;color:#3D2B1A; }
.bp-gifts-section { margin-top:28px; }
.bp-gift-record { border-bottom:1px solid #D9CEBA;padding:4px 0 12px;margin-top:8px; }
.bp-gift-record>summary { min-height:44px;display:list-item;align-content:center;cursor:pointer;font-size:14px;font-weight:700;line-height:1.45;padding:8px 0; }
.bp-gifts-history { margin-top:28px; }
.bp-gifts-history>summary { min-height:44px;align-content:center;font-size:15px;font-weight:700;cursor:pointer; }
.bp-error { color:#A33726;font-size:13px;line-height:1.5; }
.bp-error:not(:empty) { padding:12px 0; }
@media(min-width:600px) { .bp-dialog { height:calc(100dvh - 48px);max-height:900px;border-radius:24px; }.bp-shell { padding-left:32px;padding-right:32px; } }
@media(prefers-reduced-motion:reduce) { .bp-gift-action { transition:none; } }
