.app-only,.app-launch{display:none}
.app-launch-enabled .app-launch{display:grid;place-items:center;position:fixed;inset:0;z-index:100;background:#f4e8d5;pointer-events:none;opacity:0;visibility:hidden;transition:opacity 180ms ease,visibility 0s linear 180ms}
.app-launch-enabled .app-launch img{width:min(54vw,220px);height:auto}
.app-launching .app-launch{opacity:1;visibility:visible;transition:none}
.app-launching .app-launch img{animation:app-logo-pulse 1s ease-in-out infinite}
@keyframes app-logo-pulse{0%,100%{opacity:.8}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.app-launch-enabled .app-launch{transition:none}.app-launching .app-launch img{animation:none}}
.app-connection{margin:0;padding:10px 20px;background:#fff0cf;color:#62440a;font-size:.8125rem;line-height:1.5}
.app-connection:not([hidden]){flex:none}
.app-standalone{--app-corner:10px;--app-control-corner:8px;--app-motion-ease:cubic-bezier(.2,0,0,1)}
.app-language-sheet{position:fixed;inset:auto 0 0;width:min(100%,560px);max-width:none;max-height:calc(100dvh - 56px);margin:0 auto;padding:16px 20px max(20px,env(safe-area-inset-bottom));border:0;border-radius:12px 12px 0 0;background:#f8f4ed;color:#361b10;box-shadow:0 -8px 40px #24120820}
.app-language-sheet::backdrop{background:#24120866}
.app-language-sheet header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.app-language-sheet h2{font-size:1.25rem;font-weight:600;margin:0;letter-spacing:-.02em}
.app-language-sheet button{width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:1.8rem;line-height:1}
.app-language-sheet nav{display:grid;gap:4px}
.app-language-sheet nav a{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:14px 16px;border-radius:8px;text-decoration:none;font-size:1rem}
.app-language-sheet nav a[aria-current]{background:#e3ede5;font-weight:600}

@media(max-width:900px){
 .app-standalone .app-only{display:inline}
 .app-standalone .web-only{display:none}
 .app-standalone body{overscroll-behavior-y:none}
 .app-standalone body.split-page[data-theme=split]{background:#f8f4ed;--surface:#f8f4ed}
 .app-standalone .split-page::before,.app-standalone .split-page::after{display:none}
 .app-standalone .page--journey{min-height:calc(100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 .app-standalone .page--journey>main{display:flex;flex-direction:column;min-height:0}
 .app-standalone .header,.app-standalone .language-switch,.app-standalone .journey-brand{display:none}
 .app-standalone .split-page .page--journey>.footer{flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:10px;padding:6px 20px;background:transparent;min-height:56px;color:var(--brand-brown)}
 .app-standalone .split-page .page--journey>.footer>a{display:flex;align-items:center;min-height:44px;color:var(--brand-brown)}
 .app-standalone .page--journey>.footer>a[href^="mailto:"]{display:none}
 .app-standalone .page--journey>.footer>a:first-child{order:1;text-align:center;text-decoration:none;line-height:1.4}
 .app-standalone .app-shop-link{order:2;white-space:nowrap}
 .app-standalone .app-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px;border:0;border-radius:var(--app-control-corner);background:transparent;color:var(--brand-brown);font-size:.75rem;white-space:nowrap}
 .app-standalone .app-language-trigger svg,.app-standalone .app-home-control svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
 .app-standalone .footer .app-language-trigger{padding-inline:0}
 .app-standalone .app-language-compact{grid-column:3;justify-self:end;width:44px}
 .app-standalone .app-language-compact span{display:none}
 .app-standalone #journey[data-screen=start]{display:flex;flex:1;flex-direction:column}
 .app-standalone #journey[data-screen=start]>h1{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;margin:28px 20px 24px;font-size:clamp(1.75rem,7.5vw,2.1rem);font-weight:650;line-height:1.12;letter-spacing:-.04em}
 .app-standalone .split-layout{display:grid;flex:1;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(112px,1fr));gap:12px;padding:0 20px 10px;min-height:0}
 .app-standalone .split-half{padding:0;border-radius:var(--app-corner);min-width:0;background:var(--surface)}
 .app-standalone .root-choice{display:grid;flex:1;grid-template-columns:36px minmax(0,1fr) 24px;grid-template-rows:auto auto;align-self:stretch;align-content:center;align-items:center;gap:7px 14px;width:100%;min-height:0;max-width:none;padding:18px;border-radius:inherit}
 .app-standalone .direction-icon{grid-column:1;grid-row:1/3;width:32px;height:32px}
 .app-standalone .split-layout .root-title{grid-column:2;grid-row:1;font-size:clamp(1.0625rem,4.6vw,1.3rem);line-height:1.2;letter-spacing:-.025em;min-height:0;max-width:none;font-weight:650}
 .app-standalone .root-title>span{display:inline}
 .app-standalone .root-title>span+span::before{content:' '}
 .app-standalone .root-description{grid-column:2;grid-row:2;font-size:.8125rem;line-height:1.45;min-height:0;max-width:none;opacity:.82}
 .app-standalone .continue-label{grid-column:3;grid-row:1/3;justify-self:end;margin:0;gap:0;font-size:0}
 .app-standalone .continue-icon{width:24px;height:24px;border:0;border-radius:0;font-size:1.4rem;transform:rotate(45deg)}
 .app-standalone #journey.journey--rail{display:flex;flex:1;flex-direction:column;min-height:0}
 .app-standalone .category-rail{display:none}
 .app-standalone .branch-workspace{flex:1}
 .app-standalone #journey.journey--rail .flow-shell{width:calc(100% - 40px);padding-top:10px;padding-bottom:16px}
 .app-standalone .journey-navigation{min-height:52px;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding:0;background:transparent;margin-bottom:14px}
 .app-standalone .app-screen-label{grid-column:2;grid-row:1;font-size:.875rem;line-height:1.3;text-align:center;font-weight:550}
 .app-standalone .journey-navigation .back-control{grid-column:1;grid-row:1;border:0;padding:10px 0;text-transform:none;font-size:0;letter-spacing:0;min-height:44px}
 .app-standalone .journey-navigation .back-control::before{content:'←';font-size:1.4rem}
 .app-standalone .app-home-control{display:flex;grid-column:1;grid-row:1;align-items:center;justify-content:flex-start;width:44px;height:44px}
 .app-standalone .app-language-compact{grid-row:1}
 .app-standalone #journey[data-screen=choices] .branch-workspace{flex-direction:column}
 .app-standalone #journey[data-screen=choices] .flow-shell{flex:1;padding-bottom:8px}
 .app-standalone .choice-content{display:flex;flex:1;flex-direction:column;min-height:0;margin-block:0;padding:12px 0 0}
 .app-standalone .journey-heading{margin-bottom:20px}
 .app-standalone .journey-heading h1{font-size:1.75rem;line-height:1.15;font-weight:650;letter-spacing:-.035em}
 .app-standalone .choice-grid{display:grid;flex:1;grid-auto-rows:minmax(90px,1fr);gap:10px;border:0}
 .app-standalone .choice{min-height:90px;padding:16px;border:1px solid #361b101a;border-radius:var(--app-corner);background:var(--control-bg);gap:14px;transition:transform 140ms,background-color 140ms}
 .app-standalone .choice-icon{width:27px;height:27px}
 .app-standalone .choice strong{font-size:1rem;font-weight:600}
 .app-standalone .choice-description{font-size:.8125rem;margin-top:4px;line-height:1.4}
 .app-standalone .choice-arrow{font-size:1.3rem;transform:rotate(45deg)}
 .app-standalone.form-active .page--journey{min-height:0}
 .app-standalone.form-active #journey .flow-shell--form{width:calc(100% - 32px);padding:8px 0 0}
 .app-standalone.form-active #journey .journey-navigation{flex:none;margin-bottom:10px;padding:0 4px}
 .app-standalone.form-active #journey .form-step{padding:6px 4px 16px;scrollbar-gutter:auto}
 .app-standalone.form-active #journey [data-form-step=request]:has(.context-fields){display:flex;flex-direction:column}
 .app-standalone.form-active #journey [data-form-step=request]:has(.context-fields)>.slide-heading{flex:none}
 .app-standalone.form-active #journey [data-form-step=request]:has(.context-fields)>.slide-content{align-self:stretch;flex:1;min-height:0}
 .app-standalone .context-fields{display:flex;flex-direction:column;height:100%}
 .app-standalone .coffee-selection{display:flex;flex:1;flex-direction:column;min-height:0}
 .app-standalone .repeat-choice{margin-bottom:12px}
 .app-standalone .coffee-alternatives{margin-top:8px}
 .app-standalone .app-language-sheet[data-closing]{pointer-events:none}
 .app-standalone .coffee-options{flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:minmax(48px,1fr)}
 .app-standalone .coffee-product{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:4px 10px;text-align:left;min-height:48px}
 .app-standalone .coffee-product input{position:static;grid-column:3;grid-row:1;justify-self:end}
 .app-standalone .coffee-product>span{grid-column:2;grid-row:1}
 .app-standalone .coffee-thumbnail{grid-column:1;grid-row:1;width:30px;height:40px;justify-self:center}
 .app-standalone #journey.journey--rail .form-step-title{font-size:1.65rem;line-height:1.15;letter-spacing:-.035em;font-weight:650}
 .app-standalone .field input,.app-standalone .field textarea,.app-standalone .field select{border-radius:var(--app-control-corner);box-shadow:none;font-size:1rem}
 .app-standalone .quantity-stepper{border-radius:var(--app-control-corner)}
 .app-standalone.form-active #journey .form-actions{grid-template-columns:minmax(80px,.7fr) minmax(0,1.5fr);grid-template-areas:'steps steps' 'back next';gap:0 12px;padding:2px 4px 12px;border-top:1px solid #361b101a}
 .app-standalone .form-progress{grid-area:steps}
 .app-standalone .form-progress button{width:44px;height:44px}
 .app-standalone .progress-mark{width:22px;height:6px;border-width:1px;border-radius:6px;transition:width 180ms,background-color 180ms}
 .app-standalone .form-progress [aria-current] .progress-mark{width:36px;background:var(--brand-brown);border-color:var(--brand-brown)}
 .app-standalone .form-progress [data-complete] .progress-mark{background:var(--sage-fill);border-color:var(--sage-ink)}
 .app-standalone .form-previous{grid-area:back;justify-content:center;min-height:56px;padding:12px;border:1px solid #361b1029;border-radius:var(--app-control-corner);background:var(--control-bg);text-decoration:none;font-size:.875rem}
 .app-standalone.form-active #journey .flow-primary{grid-area:next;justify-self:stretch;height:56px;min-height:56px;padding:12px 16px;border-radius:var(--app-control-corner);gap:12px;font-size:1rem;box-shadow:none}
 .app-standalone.form-active #journey [data-final-note]{padding:0 4px max(8px,env(safe-area-inset-bottom));font-size:.6875rem;text-align:center}
 .app-standalone .review-section{padding:16px;margin:0 0 12px;border:1px solid #361b101a;border-radius:var(--app-corner);background:var(--control-bg)}
 .app-standalone .request-status{padding:12px;border-radius:var(--app-control-corner);box-shadow:0 3px 16px #361b1014}
 .app-standalone .flow-shell.success{display:flex;flex-direction:column;align-items:center;width:calc(100% - 40px);min-height:0;padding:40px 0 12px;text-align:center}
 .app-standalone .success .success-icon{order:0;width:76px;height:76px;margin:0 0 24px;font-size:2rem}
 .app-standalone .success h1{order:1;font-size:2rem;line-height:1.15;font-weight:650;letter-spacing:-.04em;margin:0 0 16px}
 .app-standalone .success-explanation{order:2;margin:0 0 20px;font-size:.9375rem;line-height:1.6;color:var(--muted)}
 .app-standalone .success .receipt{order:3;width:100%;margin:0 0 24px;padding:16px;border:1px solid #361b101a;border-radius:var(--app-corner);font-size:.75rem;background:var(--control-bg)}
 .app-standalone .success .receipt code{display:block;padding:6px 0 0;border:0;font-size:.6875rem;overflow-wrap:anywhere}
 .app-standalone .success .success-next{order:4;width:100%;margin:0 0 10px}
 .app-standalone .success-next a{display:flex;align-items:center;justify-content:center;min-height:56px;padding:14px;border-radius:var(--app-control-corner);background:var(--brand-brown);color:var(--brand-cream);text-decoration:none;font-weight:600}
 .app-standalone .success>.back-control{order:5;width:100%;min-height:52px;justify-content:center;border:0;border-radius:var(--app-control-corner);text-transform:none;letter-spacing:0;font-size:.9375rem}
 .app-standalone .success-contact{order:6;font-size:.8125rem;margin:18px 0 0;color:var(--muted)}
 .app-standalone a,.app-standalone button{touch-action:manipulation}
 .app-standalone .choice,.app-standalone .coffee-option{transition:background-color 160ms var(--app-motion-ease)}
 .app-standalone .root-choice:active,.app-standalone .choice:active,.app-standalone .success-next a:active,.app-standalone .flow-primary:active:enabled{transform:none;opacity:1}
 .app-standalone[data-compact-form=true] .form-progress{display:none}
 .app-standalone[data-compact-form=true] .journey-navigation{min-height:44px}
 .app-standalone[data-compact-form=true] #journey .form-actions{padding-top:8px}
}
@media(max-width:380px){
 .app-standalone .split-layout{padding-inline:16px;gap:10px}
 .app-standalone .root-choice{grid-template-columns:28px minmax(0,1fr) 20px;column-gap:10px;padding:14px}
 .app-standalone .direction-icon{width:27px;height:27px}
 .app-standalone .root-description{font-size:.75rem}
 .app-standalone #journey[data-screen=start]>h1{margin-inline:16px}
 .app-standalone .split-page .page--journey>.footer{padding-inline:16px;gap:8px}
}
@media(max-height:650px) and (max-width:900px){
 .app-standalone #journey[data-screen=start]>h1{font-size:1.6rem;margin-top:20px;margin-bottom:14px}
 .app-standalone .split-layout{grid-template-rows:repeat(3,minmax(100px,1fr))}
 .app-standalone .root-choice{padding-block:12px}
}
@media(min-width:600px) and (max-width:900px) and (max-height:500px){
 .app-standalone .split-layout{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}
 .app-standalone .root-choice{grid-template-columns:1fr 24px;grid-template-rows:32px auto auto;gap:10px}
 .app-standalone .direction-icon{grid-column:1;grid-row:1}
 .app-standalone .split-layout .root-title{grid-column:1/-1;grid-row:2}
 .app-standalone .root-description{grid-column:1/-1;grid-row:3}
 .app-standalone .continue-label{grid-column:2;grid-row:1}
}
@media(prefers-reduced-motion:no-preference){
 .app-standalone .app-language-sheet[open]{animation:app-sheet-in 260ms var(--app-motion-ease)}
 .app-standalone .app-language-sheet[open]::backdrop{animation:app-backdrop-in 180ms ease-out}
 .app-standalone .app-language-sheet[data-closing]::backdrop{animation:app-backdrop-out 180ms ease-in forwards}
 :root.app-standalone::view-transition-old(root),:root.app-standalone::view-transition-new(root){animation:none;mix-blend-mode:normal}
 :root.app-standalone::view-transition-group(root),:root.app-standalone::view-transition-group(journey),:root.app-standalone::view-transition-group(form-slide){animation:none}
 :root.app-standalone::view-transition-old(journey),:root.app-standalone::view-transition-old(form-slide){height:auto;mix-blend-mode:normal;animation:app-page-out 90ms ease-in both}
 :root.app-standalone::view-transition-new(journey),:root.app-standalone::view-transition-new(form-slide){height:auto;mix-blend-mode:normal;animation:app-page-in 220ms 40ms var(--app-motion-ease) both}
 :root.app-standalone[data-journey-direction=back]::view-transition-old(journey),:root.app-standalone[data-form-transition=back]::view-transition-old(form-slide){animation-name:app-page-back-out}
 :root.app-standalone[data-journey-direction=back]::view-transition-new(journey),:root.app-standalone[data-form-transition=back]::view-transition-new(form-slide){animation-name:app-page-back-in}
 :root.app-standalone[data-journey-direction=language]::view-transition-old(journey){animation:app-fade-out 90ms ease-in both}
 :root.app-standalone[data-journey-direction=language]::view-transition-new(journey){animation:app-fade-in 180ms 40ms ease both}
 @keyframes app-page-in{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}
 @keyframes app-page-out{to{opacity:0;transform:translateX(-10px)}}
 @keyframes app-page-back-in{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:none}}
 @keyframes app-page-back-out{to{opacity:0;transform:translateX(10px)}}
 @keyframes app-fade-in{from{opacity:0}to{opacity:1}}
 @keyframes app-fade-out{to{opacity:0}}
 @keyframes app-sheet-in{from{transform:translateY(100%)}to{transform:none}}
 @keyframes app-backdrop-in{from{opacity:0}to{opacity:1}}
 @keyframes app-backdrop-out{to{opacity:0}}
}
@media(prefers-reduced-motion:reduce){.app-standalone .root-choice,.app-standalone .choice,.app-standalone .success-next a,.app-standalone .flow-primary,.app-standalone .progress-mark{transition:none}}
@media(forced-colors:active){.app-standalone .split-half,.app-standalone .review-section,.app-standalone .success .receipt{border:1px solid CanvasText}.app-standalone .form-progress [aria-current] .progress-mark{background:Highlight;border-color:Highlight}.app-language-sheet{border:1px solid CanvasText}.app-language-sheet nav a[aria-current]{outline:1px solid Highlight}}
