/* Fooppers Shell — delivery location bar + address sheet */

:root{
  --fpa-ink:#150F0D;
  --fpa-soft:#655650;
  --fpa-muted:#9C8E88;
  --fpa-faint:#C7BCB7;
  --fpa-line:rgba(21,15,13,.09);
  --fpa-hair:rgba(21,15,13,.06);
  --fpa-brand:var(--fps-brand,#E3132A);
  --fpa-brand-ink:#A80F20;
  --fpa-tint:#FCEBEA;
  --fpa-tint-strong:#FBDCDA;
  --fpa-surface:#FFFFFF;
  --fpa-sub:#F7F3F1;
  --fpa-sub-2:#F1EBE8;
  --fpa-field:#F4EFEC;
  --fpa-ok:#0E7A4B;
  --fpa-ok-tint:#E6F5EE;
  --fpa-warn:#B0431A;
  --fpa-warn-tint:#FBEDE4;
  --fpa-r-lg:20px;
  --fpa-r-md:16px;
  --fpa-r-sm:12px;
  --fpa-shadow-1:0 1px 2px rgba(24,15,12,.05);
  --fpa-shadow-2:0 10px 28px -14px rgba(24,15,12,.22);
  --fpa-shadow-sheet:0 -22px 64px rgba(20,12,10,.30);
  --fpa-ease:cubic-bezier(.22,.61,.36,1);
}

/* ================================================================== *
 * Header bar
 * ================================================================== */

.fps-locrow{
  max-width:720px;margin:0 auto;padding:0 14px 8px;
}

#fps-shell .fps-loc{
  display:flex !important;align-items:center;gap:9px;
  width:100% !important;
  min-height:38px !important;
  padding:7px 11px 7px 7px !important;
  border-radius:13px !important;
  background:var(--fpa-sub) !important;
  color:var(--fpa-ink) !important;
  text-align:left;
  -webkit-tap-highlight-color:transparent;
  transition:background .18s var(--fpa-ease) !important;
}
#fps-shell .fps-loc:active{background:var(--fpa-sub-2) !important;}

.fps-loc__pin{
  flex:0 0 auto;width:24px;height:24px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background:var(--fpa-tint);color:var(--fpa-brand);
}
.fps-loc__pin svg{width:14px !important;height:14px !important;stroke-width:2 !important;}

.fps-loc__text{
  flex:1 1 auto;min-width:0;
  display:flex;align-items:baseline;gap:5px;
  font-size:13px;line-height:1.25;
  white-space:nowrap;overflow:hidden;
}
.fps-loc__label{font-weight:700;letter-spacing:-.008em;flex:0 0 auto;color:var(--fpa-ink);}
.fps-loc__sep{color:var(--fpa-faint);flex:0 0 auto;}
.fps-loc__line{
  color:var(--fpa-soft);flex:1 1 auto;font-weight:450;
  overflow:hidden;text-overflow:ellipsis;
}
.fps-loc__text--empty .fps-loc__label{color:var(--fpa-soft);font-weight:650;}

.fps-loc__flag{
  flex:0 0 auto;font-size:10.5px;font-weight:700;
  padding:3.5px 8px;border-radius:999px;
  background:var(--fpa-warn-tint);color:var(--fpa-warn);
  letter-spacing:-.002em;
}

.fps-loc__caret{flex:0 0 auto;width:16px;height:16px;color:var(--fpa-faint);}
.fps-loc__caret svg{width:15px !important;height:15px !important;stroke-width:2.3;}

/* ================================================================== *
 * Sheet shell
 * ================================================================== */

.fps-sheet[hidden]{display:none !important;}

.fps-sheet{
  position:fixed;inset:0;z-index:2147483000;
  display:flex;align-items:flex-end;justify-content:center;
  font-family:inherit;
}
.fps-sheet *{box-sizing:border-box;}

.fps-sheet button{
  -webkit-appearance:none !important;appearance:none !important;
  background:none !important;background-color:transparent !important;
  background-image:none !important;border:0 !important;border-radius:0 !important;
  box-shadow:none !important;color:inherit !important;cursor:pointer;
  font:inherit !important;font-family:inherit !important;font-weight:500 !important;
  letter-spacing:normal !important;line-height:1.3 !important;margin:0 !important;
  min-width:0 !important;min-height:0 !important;max-width:none !important;
  padding:0 !important;text-align:left;text-decoration:none !important;
  text-shadow:none !important;text-transform:none !important;transform:none;
  width:auto !important;height:auto !important;filter:none !important;outline:0;
}
.fps-sheet button::before,.fps-sheet button::after{content:none !important;display:none !important;}
.fps-sheet svg{display:block !important;max-width:none !important;fill:none;}
.fps-sheet input,.fps-sheet select{font-family:inherit;}

.fps-sheet__scrim{
  position:absolute;inset:0;
  background:rgba(18,11,9,.5);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  opacity:0;transition:opacity .26s var(--fpa-ease);
}
.fps-sheet.is-on .fps-sheet__scrim{opacity:1;}

.fps-sheet__panel{
  position:relative;
  width:100%;max-width:560px;
  height:93dvh;max-height:93dvh;
  background:var(--fpa-surface);
  border-radius:28px 28px 0 0;
  overflow:hidden;
  display:flex;flex-direction:column;
  box-shadow:var(--fpa-shadow-sheet);
  transform:translateY(101%);
  transition:transform .34s var(--fpa-ease);
  padding-bottom:env(safe-area-inset-bottom);
}
.fps-sheet.is-on .fps-sheet__panel{transform:translateY(0);}

.fps-sheet__grip{
  position:absolute;top:9px;left:50%;transform:translateX(-50%);
  width:38px;height:4px;border-radius:99px;
  background:rgba(21,15,13,.14);z-index:3;pointer-events:none;
}

.fps-sheet__pane{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  background:var(--fpa-surface);
}
.fps-sheet__pane[hidden]{display:none;}

.fps-sheet__pane.is-entering{animation:fps-slide-in .28s var(--fpa-ease);}
@keyframes fps-slide-in{from{transform:translateX(10%);opacity:.35;}to{transform:translateX(0);opacity:1;}}

.fps-sheet__head{
  flex:0 0 auto;
  display:flex;align-items:center;gap:12px;
  padding:22px 20px 14px;
  background:var(--fpa-surface);
  border-bottom:1px solid transparent;
  transition:border-color .2s linear;
  z-index:2;
}
.fps-sheet__head.is-stuck{border-bottom-color:var(--fpa-hair);}

.fps-sheet__title{
  margin:0 !important;flex:1 1 auto;
  font-size:19px;line-height:1.25;font-weight:750;
  letter-spacing:-.022em;color:var(--fpa-ink);
}

.fps-sheet .fps-sheet__x{
  flex:0 0 auto;
  width:30px !important;height:30px !important;
  display:flex !important;align-items:center;justify-content:center;
  border-radius:50% !important;
  background:transparent !important;color:var(--fpa-soft) !important;
}
.fps-sheet .fps-sheet__x svg{width:19px !important;height:19px !important;stroke:currentColor !important;stroke-width:1.7 !important;}
.fps-sheet .fps-sheet__x:active{color:var(--fpa-ink) !important;}

.fps-sheet .fps-sheet__back{
  flex:0 0 auto;
  width:34px !important;height:34px !important;
  display:flex !important;align-items:center;justify-content:center;
  border-radius:50% !important;
  background:var(--fpa-sub) !important;color:var(--fpa-ink) !important;
}
.fps-sheet .fps-sheet__back svg{width:16px !important;height:16px !important;stroke:currentColor !important;}
.fps-sheet .fps-sheet__back:active{background:var(--fpa-sub-2) !important;}

.fps-sheet__crumb{
  flex:1 1 auto;font-size:16.5px;font-weight:700;
  letter-spacing:-.016em;color:var(--fpa-ink);
}

.fps-sheet__body{
  flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:2px 20px 28px;
  background:var(--fpa-surface);
  overscroll-behavior:contain;
}

.fps-sheet__section{
  margin:24px 0 11px !important;
  font-size:12.5px;font-weight:700;letter-spacing:-.004em;
  color:var(--fpa-soft);
}

.fps-hide{display:none !important;}

/* ================================================================== *
 * Serviceability strip
 * ================================================================== */

.fps-status{
  display:flex;align-items:center;gap:12px;
  padding:13px 15px;border-radius:var(--fpa-r-md);
  margin-bottom:16px;
  font-size:13px;line-height:1.35;
}
.fps-status__icon{
  flex:0 0 auto;width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.fps-status__icon svg{width:16px !important;height:16px !important;stroke-width:2.3 !important;}

.fps-status__text{display:flex;flex-direction:column;gap:1px;min-width:0;}
.fps-status__text strong{font-weight:700;letter-spacing:-.01em;font-size:14px;}
.fps-status__text span{
  color:var(--fpa-soft);font-size:12px;font-weight:450;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

.fps-status--ok{background:var(--fpa-ok-tint);}
.fps-status--ok .fps-status__icon{background:rgba(14,122,75,.14);color:var(--fpa-ok);}
.fps-status--ok .fps-status__text strong{color:var(--fpa-ok);}

.fps-status--no{background:var(--fpa-warn-tint);}
.fps-status--no .fps-status__icon{background:rgba(176,67,26,.14);color:var(--fpa-warn);}
.fps-status--no .fps-status__text strong{color:var(--fpa-warn);}

.fps-status--idle{background:var(--fpa-sub);}
.fps-status--idle .fps-status__icon{background:var(--fpa-sub-2);color:var(--fpa-muted);}
.fps-status--idle .fps-status__text strong{color:var(--fpa-soft);font-weight:600;}
.fps-status--idle .fps-status__text span{display:none;}

/* ================================================================== *
 * Search
 * ================================================================== */

.fps-search{
  position:relative;display:flex;align-items:center;gap:10px;
  background:var(--fpa-surface);
  border:1.5px solid var(--fpa-line);
  border-radius:999px;
  padding:0 16px;height:52px;
  margin-bottom:16px;
  transition:border-color .16s linear,box-shadow .16s linear;
}
.fps-search:focus-within{
  border-color:var(--fpa-brand);
  box-shadow:0 0 0 4px rgba(227,19,42,.08);
}
.fps-search__ico{flex:0 0 auto;width:19px;height:19px;color:var(--fpa-muted);}
.fps-search__ico svg{width:19px !important;height:19px !important;stroke:currentColor;stroke-width:1.9;}

.fps-search input{
  flex:1 1 auto;min-width:0;
  border:0 !important;background:transparent !important;box-shadow:none !important;
  padding:0 !important;margin:0 !important;height:100% !important;
  font-size:15px;font-weight:450;color:var(--fpa-ink);outline:0 !important;
  -webkit-appearance:none;appearance:none;
}
.fps-search input::placeholder{color:var(--fpa-muted);}
.fps-search input::-webkit-search-cancel-button{display:none;}

.fps-sheet .fps-search__x{
  flex:0 0 auto;width:24px !important;height:24px !important;
  display:flex !important;align-items:center;justify-content:center;
  border-radius:50% !important;background:rgba(21,15,13,.08) !important;
  color:var(--fpa-soft) !important;
}
.fps-sheet .fps-search__x svg{width:12px !important;height:12px !important;stroke:currentColor !important;stroke-width:2.2 !important;}

.fps-results{margin-top:12px;border-radius:var(--fpa-r-md);overflow:hidden;box-shadow:var(--fpa-shadow-2);border:1px solid var(--fpa-hair);}
.fps-sheet .fps-results__item{
  display:flex !important;align-items:flex-start;gap:12px;
  width:100% !important;padding:14px 15px !important;
  border-bottom:1px solid var(--fpa-hair) !important;
  background:var(--fpa-surface) !important;
}
.fps-sheet .fps-results__item:last-child{border-bottom:0 !important;}
.fps-sheet .fps-results__item:active{background:var(--fpa-sub) !important;}
.fps-results__ico{flex:0 0 auto;width:20px;height:20px;color:var(--fpa-muted);margin-top:1px;}
.fps-results__ico svg{width:20px !important;height:20px !important;stroke:currentColor;stroke-width:1.7;}
.fps-results__text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.fps-results__title{font-size:14.5px;font-weight:650;letter-spacing:-.012em;color:var(--fpa-ink);}
.fps-results__sub{
  font-size:12px;color:var(--fpa-muted);line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.fps-results__note{padding:16px 15px;font-size:13px;color:var(--fpa-muted);background:var(--fpa-surface);}

/* ================================================================== *
 * Quiet utility rows (current location, ask someone)
 * ================================================================== */

.fps-sheet .fps-toprow{
  display:flex !important;align-items:center;gap:13px;
  width:100% !important;
  margin:0 0 10px !important;
  padding:14px 15px !important;
  border-radius:var(--fpa-r-md) !important;
  background:var(--fpa-sub) !important;
  transition:background .15s linear !important;
}
.fps-sheet .fps-toprow:active{background:var(--fpa-sub-2) !important;}

.fps-toprow__ico{
  flex:0 0 auto;width:22px;height:22px;
  display:flex;align-items:center;justify-content:center;
  color:var(--fpa-soft);
}
.fps-toprow__ico svg{width:21px !important;height:21px !important;stroke:currentColor;stroke-width:1.7;}

.fps-toprow__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px;}
.fps-toprow__title{font-size:14.5px;font-weight:650;letter-spacing:-.01em;color:var(--fpa-ink);}
.fps-toprow__sub{font-size:12px;color:var(--fpa-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fps-toprow__go{flex:0 0 auto;width:15px;height:15px;color:var(--fpa-faint);}
.fps-toprow__go svg{width:15px !important;height:15px !important;stroke:currentColor;stroke-width:2.1;}

/* ================================================================== *
 * Add-new CTA — the one loud element on the choice list
 * ================================================================== */

.fps-sheet .fps-cta{
  display:flex !important;align-items:center;gap:11px;
  width:100% !important;
  margin:0 0 10px !important;
  padding:15px 16px !important;
  border-radius:var(--fpa-r-md) !important;
  background:var(--fpa-tint) !important;
  transition:background .15s linear !important;
}
.fps-sheet .fps-cta:active{background:var(--fpa-tint-strong) !important;}

.fps-cta__ico{
  flex:0 0 auto;width:22px;height:22px;
  display:flex;align-items:center;justify-content:center;
  color:var(--fpa-brand);
}
.fps-cta__ico svg{width:19px !important;height:19px !important;stroke:currentColor;stroke-width:2.2;}

.fps-cta__label{
  flex:1 1 auto;font-size:15px;font-weight:700;
  letter-spacing:-.014em;color:var(--fpa-brand-ink);
}
.fps-cta__go{flex:0 0 auto;width:15px;height:15px;color:var(--fpa-brand);}
.fps-cta__go svg{width:15px !important;height:15px !important;stroke:currentColor;stroke-width:2.3;}

/* ================================================================== *
 * Saved addresses
 * ================================================================== */

.fps-addr-heading{
  margin:24px 0 11px !important;
  font-size:12.5px;font-weight:700;color:var(--fpa-soft);letter-spacing:-.004em;
}

.fps-addr-list{list-style:none !important;margin:0 !important;padding:0 !important;}
.fps-addr-list li::marker{content:'';}

.fps-addr{
  position:relative;
  list-style:none !important;
  margin:0 0 14px !important;padding:0 !important;
  border-radius:var(--fpa-r-lg);
  border:1.5px solid var(--fpa-line);
  background:var(--fpa-surface);
  transition:border-color .18s linear;
}
.fps-addr.is-on{
  border-color:rgba(227,19,42,.4);
}

.fps-sheet .fps-addr__pick{
  display:flex !important;align-items:flex-start;gap:13px;
  width:100% !important;padding:16px 46px 16px 16px !important;
}

.fps-addr__tile{
  flex:0 0 auto;width:52px;height:66px;
  border-radius:14px;overflow:hidden;
  display:flex;flex-direction:column;
  background:var(--fpa-sub);
}
.fps-addr.is-on .fps-addr__tile{background:var(--fpa-tint);}

.fps-addr__icon{
  flex:1 1 auto;
  display:flex;align-items:center;justify-content:center;
  color:var(--fpa-soft);
}
.fps-addr.is-on .fps-addr__icon{color:var(--fpa-brand);}
.fps-addr__icon svg{width:22px !important;height:22px !important;stroke:currentColor;stroke-width:1.6;}

.fps-addr__km{
  flex:0 0 auto;
  padding:4px 2px 5px;text-align:center;
  font-size:10px;font-weight:700;color:var(--fpa-muted);letter-spacing:-.002em;
  background:rgba(21,15,13,.045);
}
.fps-addr.is-on .fps-addr__km{background:rgba(227,19,42,.11);color:var(--fpa-brand-ink);}

.fps-addr__body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px;padding-top:2px;}

.fps-addr__name{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;
  font-size:15.5px;font-weight:700;letter-spacing:-.016em;color:var(--fpa-ink);
}
.fps-addr__name-text{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fps-addr__tag{
  flex:0 0 auto;
  font-size:10.5px;font-weight:700;letter-spacing:-.002em;
  padding:3px 8px;border-radius:999px;
  background:var(--fpa-sub);color:var(--fpa-soft);
}
.fps-addr__selected{
  flex:0 0 auto;
  font-size:10.5px;font-weight:700;letter-spacing:-.002em;
  padding:3px 8px;border-radius:999px;
  background:var(--fpa-tint);color:var(--fpa-brand-ink);
}
.fps-addr__lines{font-size:13px;line-height:1.5;color:var(--fpa-soft);}
.fps-addr__phone{
  display:flex;align-items:center;gap:5px;
  font-size:12.5px;font-weight:700;color:var(--fpa-ink);
}
.fps-addr__phone svg{width:12px !important;height:12px !important;stroke:var(--fpa-muted);stroke-width:1.8;}
.fps-addr__out{
  display:inline-flex;align-items:center;
  margin-top:2px;padding:3px 9px;border-radius:999px;
  font-size:11px;font-weight:650;color:var(--fpa-warn);background:var(--fpa-warn-tint);
  width:fit-content;
}

.fps-sheet .fps-addr__kebab{
  position:absolute;top:14px;right:12px;z-index:2;
  width:30px !important;height:30px !important;
  display:flex !important;align-items:center;justify-content:center;
  border-radius:50% !important;color:var(--fpa-muted) !important;
}
.fps-sheet .fps-addr__kebab:active,.fps-sheet .fps-addr__kebab[aria-expanded="true"]{
  background:var(--fpa-sub) !important;color:var(--fpa-ink) !important;
}
.fps-sheet .fps-addr__kebab svg{width:17px !important;height:17px !important;}

.fps-addr__menu{
  position:absolute;top:44px;right:12px;z-index:3;
  min-width:152px;
  background:var(--fpa-surface);
  border-radius:14px;
  box-shadow:0 14px 34px -8px rgba(21,15,13,.28),0 2px 8px rgba(21,15,13,.08);
  border:1px solid var(--fpa-hair);
  padding:6px;
  transform-origin:top right;
  transform:scale(.92) translateY(-4px);
  opacity:0;
  transition:transform .14s var(--fpa-ease),opacity .12s linear;
  pointer-events:none;
}
.fps-addr.menu-open .fps-addr__menu{
  opacity:1;transform:scale(1) translateY(0);pointer-events:auto;
}

.fps-sheet .fps-addr__menuitem{
  display:flex !important;align-items:center;gap:10px;
  width:100% !important;padding:9px 10px !important;
  border-radius:9px !important;
  font-size:13.5px !important;font-weight:550 !important;
  color:var(--fpa-ink) !important;
}
.fps-sheet .fps-addr__menuitem svg{width:15px !important;height:15px !important;stroke:currentColor;stroke-width:1.7;flex:0 0 auto;}
.fps-sheet .fps-addr__menuitem:active{background:var(--fpa-sub) !important;}
.fps-sheet .fps-addr__menuitem--drop{color:var(--fpa-warn) !important;}

.fps-addr-empty{
  text-align:center;padding:38px 20px 30px;
  border:1px dashed var(--fpa-line);border-radius:var(--fpa-r-lg);
  margin-top:18px;
}
.fps-addr-empty__pin{
  display:inline-flex;align-items:center;justify-content:center;
  width:50px;height:50px;border-radius:16px;
  background:var(--fpa-tint);color:var(--fpa-brand);margin-bottom:14px;
}
.fps-addr-empty__pin svg{width:24px !important;height:24px !important;stroke:currentColor;stroke-width:1.7;}
.fps-addr-empty__title{margin:0 0 4px !important;font-size:15.5px;font-weight:700;color:var(--fpa-ink);}
.fps-addr-empty__note{margin:0 !important;font-size:13px;color:var(--fpa-muted);}

.fps-recent{margin-top:6px;}
.fps-recent .fps-row,
.fps-recent .fps-toprow{border-bottom:1px solid var(--fpa-hair) !important;}

/* Fallback simple row style still used for recently-searched entries */
.fps-rows{list-style:none !important;margin:14px 0 0 !important;padding:0 !important;}
.fps-rows li{margin:0 !important;padding:0 !important;list-style:none !important;}
.fps-rows li::marker{content:'';}
.fps-sheet .fps-row{
  display:flex !important;align-items:center;gap:13px;
  width:100% !important;padding:13px 4px !important;
  border-bottom:1px solid var(--fpa-hair) !important;
}
.fps-sheet .fps-row:active{background:var(--fpa-sub) !important;}
.fps-row__ico{flex:0 0 auto;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:var(--fpa-soft);}
.fps-row__ico svg{width:20px !important;height:20px !important;stroke:currentColor;stroke-width:1.6;}
.fps-row__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px;}
.fps-row__title{font-size:14.5px;font-weight:600;letter-spacing:-.01em;color:var(--fpa-ink);}
.fps-row__sub{font-size:12px;color:var(--fpa-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.fps-row__go{flex:0 0 auto;width:15px;height:15px;color:var(--fpa-faint);}
.fps-row__go svg{width:15px !important;height:15px !important;stroke:currentColor;stroke-width:2.1;}

.fps-verdict{
  display:flex;align-items:center;gap:8px;
  padding:10px 13px;border-radius:12px;margin:8px 0 13px;
  font-size:12.5px;font-weight:650;line-height:1.35;
}
.fps-verdict--ok{background:var(--fpa-ok-tint);color:var(--fpa-ok);}
.fps-verdict--no{background:var(--fpa-warn-tint);color:var(--fpa-warn);}

/* ================================================================== *
 * Form
 * ================================================================== */

.fps-note{
  margin:4px 0 18px;padding:13px 15px;border-radius:var(--fpa-r-md);
  background:var(--fpa-tint);color:var(--fpa-brand-ink);
  font-size:13px;line-height:1.5;
}
.fps-note strong{font-weight:700;}

.fps-locality{
  display:flex;align-items:center;gap:12px;
  padding:13px 14px;border-radius:var(--fpa-r-md);
  background:var(--fpa-sub);margin-top:6px;
}
.fps-locality__ico{flex:0 0 auto;width:20px;height:20px;color:var(--fpa-brand);}
.fps-locality__ico svg{width:20px !important;height:20px !important;stroke:currentColor;stroke-width:1.7;}
.fps-locality__text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;}
.fps-locality__value{
  font-size:14px;font-weight:700;letter-spacing:-.012em;color:var(--fpa-ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.fps-locality__sub{
  font-size:11.5px;color:var(--fpa-muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.fps-sheet .fps-locality__change{
  flex:0 0 auto;
  padding:8px 13px !important;border-radius:10px !important;
  background:var(--fpa-surface) !important;color:var(--fpa-brand) !important;
  font-size:12.5px !important;font-weight:700 !important;
  box-shadow:var(--fpa-shadow-1) !important;
}

.fps-labels{display:flex;flex-wrap:wrap;gap:8px;}
.fps-sheet .fps-labels__item{
  padding:9px 15px !important;border-radius:11px !important;
  border:1px solid var(--fpa-line) !important;
  background:var(--fpa-surface) !important;
  font-size:13px !important;font-weight:600 !important;
  color:var(--fpa-soft) !important;
  transition:all .15s linear !important;
}
.fps-sheet .fps-labels__item.is-on{
  background:var(--fpa-tint) !important;
  border-color:transparent !important;
  color:var(--fpa-brand-ink) !important;
}

.fps-field{margin:0 0 15px !important;display:flex;flex-direction:column;gap:6px;}
.fps-field label{
  font-size:12.5px;font-weight:650;color:var(--fpa-soft);
  display:flex;align-items:center;gap:6px;
}
.fps-field__req{color:var(--fpa-brand);font-weight:700;}
.fps-field__opt{color:var(--fpa-muted);font-weight:500;font-size:11.5px;}

.fps-field input,.fps-field select{
  width:100%;height:50px;
  padding:0 14px;
  border:1.5px solid var(--fpa-line) !important;
  border-radius:14px !important;
  background:var(--fpa-surface) !important;
  font-size:15px;color:var(--fpa-ink);
  outline:0;
  -webkit-appearance:none;appearance:none;
  transition:border-color .15s linear,box-shadow .15s linear;
  box-shadow:none !important;
}
.fps-field select{
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C8E88' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 13px center !important;
  background-size:17px 17px !important;
  padding-right:38px;
}
.fps-field input:focus,.fps-field select:focus{
  border-color:var(--fpa-brand) !important;
  box-shadow:0 0 0 4px rgba(227,19,42,.09) !important;
}
.fps-field.is-bad input,.fps-field.is-bad select{border-color:var(--fpa-warn) !important;}

.fps-field__error{font-size:11.5px;color:var(--fpa-warn);font-weight:600;display:none;}
.fps-field.is-bad .fps-field__error{display:block;}

.fps-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

.fps-usemine{
  position:relative;
  display:flex;align-items:center;gap:12px;
  padding:13px 14px;border-radius:var(--fpa-r-md);
  background:var(--fpa-sub);margin-bottom:15px;cursor:pointer;
}
/*
 * The checkbox is absolutely positioned to hide it. Without position:relative
 * above, its containing block became the sheet pane rather than this label, so
 * it stopped scrolling with the form: tapping the label focused an element that
 * could never be scrolled into view, and the browser threw the scroll container
 * to an extreme, blanking the rest of the form.
 */
.fps-usemine input{
  position:absolute;
  left:14px;top:50%;transform:translateY(-50%);
  width:21px;height:21px;margin:0;
  opacity:0;cursor:pointer;
}
.fps-usemine input:focus-visible + .fps-usemine__box{
  outline:2px solid var(--fpa-brand);outline-offset:2px;
}
.fps-usemine__box{
  flex:0 0 auto;width:21px;height:21px;border-radius:7px;
  border:1.6px solid rgba(21,15,13,.2);background:var(--fpa-surface);
  position:relative;
}
.fps-usemine input:checked + .fps-usemine__box{background:var(--fpa-brand);border-color:var(--fpa-brand);}
.fps-usemine input:checked + .fps-usemine__box::after{
  content:'';position:absolute;left:6.5px;top:3px;width:5px;height:10px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(42deg);
}
.fps-usemine__text{display:flex;flex-direction:column;gap:1px;min-width:0;}
.fps-usemine__title{font-size:13.5px;font-weight:650;color:var(--fpa-ink);}
.fps-usemine__sub{font-size:12px;color:var(--fpa-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.fps-sheet__foot{margin-top:24px;}
.fps-sheet__hint{margin:9px 0 0 !important;text-align:center;font-size:11.5px;color:var(--fpa-muted);}

.fps-sheet .fps-btn{
  display:flex !important;align-items:center;justify-content:center;
  width:100% !important;height:53px !important;
  border-radius:15px !important;
  background:var(--fpa-brand) !important;color:#fff !important;
  font-size:15px !important;font-weight:700 !important;
  letter-spacing:-.008em !important;
  box-shadow:0 10px 24px -8px rgba(227,19,42,.45) !important;
  transition:opacity .15s linear,transform .12s var(--fpa-ease),box-shadow .15s linear !important;
}
.fps-sheet .fps-btn:active{transform:scale(.985);}
.fps-sheet .fps-btn[disabled]{opacity:.4;box-shadow:none !important;pointer-events:none;}
.fps-sheet .fps-btn.is-busy{opacity:.62;pointer-events:none;}
.fps-sheet .fps-btn--quiet{
  background:var(--fpa-sub) !important;color:var(--fpa-ink) !important;box-shadow:none !important;
}

/* ================================================================== *
 * Done pane
 * ================================================================== */

.fps-sheet__pane--done{align-items:center;justify-content:center;}
.fps-done{padding:40px 26px;text-align:center;width:100%;}
.fps-done__mark{
  display:inline-flex;align-items:center;justify-content:center;
  width:66px;height:66px;border-radius:22px;
  background:var(--fpa-ok-tint);color:var(--fpa-ok);margin-bottom:18px;
}
.fps-done__mark svg{width:30px !important;height:30px !important;stroke:currentColor;stroke-width:2.2;}
.fps-done__title{margin:0 0 6px !important;font-size:19px;font-weight:750;letter-spacing:-.022em;color:var(--fpa-ink);}
.fps-done__note{margin:0 0 26px !important;font-size:13.5px;color:var(--fpa-soft);}

/* ================================================================== *
 * Toast
 * ================================================================== */

.fps-toast{
  position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));
  transform:translate(-50%,14px);
  z-index:2147483001;
  max-width:min(420px,calc(100vw - 32px));
  padding:13px 17px;border-radius:14px;
  background:#241713;color:#fff;
  font-size:13.5px;line-height:1.4;font-weight:600;
  box-shadow:0 14px 34px rgba(20,13,11,.34);
  opacity:0;pointer-events:none;
  transition:opacity .2s linear,transform .26s var(--fpa-ease);
}
.fps-toast.is-on{opacity:1;transform:translate(-50%,0);}
.fps-toast--bad{background:#8A2114;}

/* ================================================================== *
 * Page state while the sheet is open
 * ================================================================== */

body.fps-sheet-open{overflow:hidden !important;}
.fps-sheet.is-busy .fps-sheet__body{opacity:.6;pointer-events:none;}

/* ================================================================== *
 * Larger screens
 * ================================================================== */

@media (min-width:640px){
  .fps-locrow{padding:0 24px 10px;}
  .fps-sheet{align-items:center;}
  .fps-sheet__panel{
    height:min(780px,90dvh);
    border-radius:26px;
    transform:translateY(24px) scale(.98);
    opacity:0;
    transition:transform .28s var(--fpa-ease),opacity .2s linear;
  }
  .fps-sheet.is-on .fps-sheet__panel{transform:translateY(0) scale(1);opacity:1;}
  .fps-sheet__grip{display:none;}
}

/* ================================================================== *
 * Accessibility
 * ================================================================== */

.fps-sheet button:focus-visible,
#fps-shell .fps-loc:focus-visible,
.fps-sheet input:focus-visible,
.fps-sheet select:focus-visible{
  outline:2px solid var(--fpa-brand) !important;
  outline-offset:2px !important;
}

@media (prefers-reduced-motion:reduce){
  .fps-sheet__scrim,
  .fps-sheet__panel,
  .fps-sheet__pane.is-entering,
  .fps-addr__menu,
  .fps-toast,
.fps-sheet .fps-btn{transition:none !important;animation:none !important;}
  .fps-sheet__panel{transform:none !important;opacity:1 !important;}
}
