/* Food Business Portal (Food Business Portal design, Oct 2026): additions on top of the toned theme (the Supplier Portal
   shell) and the Customer Portal's app.css, which the shared pages use. Colours only from the toned tokens. */

body.fb { background: var(--seashell); color: var(--ink); font-family: var(--body); }
body.fb .content a:not(.btn):not(.cat-btn):not(.pill), body.fb .fb-guestbar a:not(.btn) { color: var(--ink); text-underline-offset: .15em; }
body.fb .content a:not(.btn):not(.cat-btn):not(.pill):hover { color: var(--pink-d, var(--pink)); }
body.fb .content { padding: 22px 26px 60px; max-width: 1360px; }
body.fb .content > section.card, body.fb .content > .card { margin-bottom: 16px; }
body.fb h1, body.fb h2, body.fb h3 { font-family: var(--display); color: var(--ink); text-transform: none; letter-spacing: -.01em; }

/* Side menu: the business, the Marketplace card, "Later" items and counts */
.fb-biz { display: block; margin: 4px 0 10px; padding: 10px 12px; border: 1px solid rgba(250,246,240,.18); border-radius: 12px; color: var(--seashell) !important; text-decoration: none; }
.fb-biz b { display: block; font-size: 14px; }
.fb-biz small { display: block; font-size: 11.5px; color: rgba(250,246,240,.62); }
.fb-biz:hover { background: rgba(250,246,240,.06); }
.fb-market { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--seashell); color: var(--ink) !important;
  text-decoration: none; border: 2px solid var(--pink); box-shadow: 3px 3px 0 var(--pink); }
.fb-market i { font-size: 20px; }
.fb-market b { display: block; font-size: 14px; }
.fb-market small { display: block; font-size: 11.5px; color: var(--muted); }
.fb-market.on, .fb-market:hover { background: #fff; }
.sidebar-link .sb-badge { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.sidebar-link.sb-later { color: rgba(250,246,240,.38); cursor: default; }
.sidebar-link.sb-later:hover { background: none; color: rgba(250,246,240,.38); }
.sidebar-link .sb-tip { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px dashed rgba(250,246,240,.3); border-radius: 999px; padding: 0 6px; }
body.sidebar-collapsed .fb-biz, body.sidebar-collapsed .fb-market span { display: none; }
body.sidebar-collapsed .fb-market { justify-content: center; padding: 8px; }

/* Top bar */
.fb-search { position: relative; flex: 1 1 auto; max-width: 560px; }
.fb-search form { display: flex; align-items: center; gap: 8px; }
.fb-search .suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--r-sm); list-style: none; margin: 0; padding: 6px; }
.fb-nouri i { color: var(--pink); }

/* Sign-in and guests */
.fb-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: var(--muted); font-size: 12px; }
.fb-or::before, .fb-or::after { content: ""; flex: 1; border-top: 1px solid var(--hair); }
.btn.fb-guest { display: block; width: 100%; text-align: center; }
.fb-guestbar { display: flex; align-items: center; gap: 14px; padding: 12px 24px; background: #fff; border-bottom: var(--bw) solid var(--ink); flex-wrap: wrap; }
.fb-guestbar .tb-search { flex: 1 1 260px; }
.fb-guest-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px dashed var(--idle-bd); border-radius: 999px; padding: 3px 10px; }
.fb-guest-main { max-width: 1360px; margin: 0 auto; }

/* Home */
.fb-hello { margin: 0 0 16px; }
.fb-hello h1 { font-size: clamp(28px, 4vw, 40px); margin: 2px 0 8px; }
.fb-date { margin: 0; font-size: 13px; color: var(--muted); }
.fb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fb-chips a.pill { text-decoration: none; }
.fb-card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.fb-card-h h2 { margin: 0; font-size: 19px; }
.fb-card-h h2 .hint { font-family: var(--body); font-size: 13px; font-weight: 400; margin-left: 6px; }
.fb-card-h > a { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.fb-needs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.fb-need { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1.5px solid var(--idle-bd); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink) !important; min-height: 118px; }
.fb-need:hover { background: var(--seashell); }
.fb-need-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fb-need-top b { font-family: var(--display); font-size: 28px; line-height: 1; }
.fb-when { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; border: 1.5px dashed var(--idle-bd); }
.fb-need-l { font-weight: 700; }
.fb-need-s { font-size: 12.5px; color: var(--muted); }
.fb-need.t-act { border: 2px solid var(--pink); }
.fb-need.t-act .fb-when { background: var(--act-bg); color: var(--act-fg); border: 0; }
.fb-need.t-att { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.fb-need.t-att .fb-when { background: var(--att-bg); color: var(--att-fg); border: 1.5px solid var(--att-bd); }
.fb-need.t-soon .fb-when { border-style: solid; }
.fb-clear { margin: 0; font-weight: 600; }
.fb-clear i { color: var(--ok-fg); }
.fb-kpis { margin: 0 0 16px; }
.fb-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fb-cols > div > section { margin-bottom: 16px; }
@media (max-width: 1000px) { .fb-cols { grid-template-columns: minmax(0, 1fr); } }
.fb-cols > * { min-width: 0; }
.fb-table td, .fb-table th { padding: 8px 10px; }
.fb-links { margin: 12px 0 0; font-size: 13.5px; }
.fb-feed { list-style: none; margin: 0; padding: 0; }
.fb-feed li { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.fb-feed li:first-child { border-top: 0; }
.fb-feed-t { flex: none; width: 84px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.fb-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 10px; }
.fb-dl dt { color: var(--muted); font-weight: 500; }
.fb-dl dd { margin: 0; }
.fb-big { font-family: var(--display); font-size: 26px; font-weight: 700; margin: 0 0 4px; }
.fb-ticks { padding-left: 20px; margin: 0 0 10px; }
.fb-ticks li { margin: 4px 0; }

/* To do */
.fb-todo h2 { font-size: 17px; margin: 0 0 8px; }
.fb-todo ul { list-style: none; margin: 0; padding: 0; }
.fb-todo li a { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--hair); text-decoration: none; color: var(--ink) !important; }
.fb-todo li:first-child a { border-top: 0; }
.fb-todo li a:hover { background: var(--seashell); }
.fb-todo-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; border: 1.5px solid var(--idle-bd); }
.fb-todo li.t-act .fb-todo-n { background: var(--act-bg); color: var(--act-fg); border: 0; }
.fb-todo li.t-att .fb-todo-n { background: var(--att-bg); color: var(--att-fg); border-color: var(--att-bd); }
.fb-todo-b { flex: 1; display: flex; flex-direction: column; }
.fb-todo-b .hint { font-size: 13px; }

/* Shared Customer Portal pages inside the shell: the shop theme's full-width wrappers fit the content column. */
body.fb .sf-wrap { max-width: none; padding-left: 0; padding-right: 0; }
body.fb .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }

/* Snac Connect overview and Business funding */
.fbc-lead { margin: 0 0 10px; }
.fbc-list { list-style: none; margin: 0; padding: 0; }
.fbc-list li a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 4px; border-top: 1px solid var(--hair); text-decoration: none; color: var(--ink) !important; }
.fbc-list li:first-child a { border-top: 0; }
.fbc-list li a:hover { background: var(--seashell); }
.fbc-list li a > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.fbc-list .hint { font-size: 12.5px; }
.fbc-amt { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.fbc-conn { list-style: none; margin: 0 0 10px; padding: 0; }
.fbc-conn li { padding: 4px 0; color: var(--muted); }
.fbc-conn li.on { color: var(--ink); }
.fbc-conn li.on i { color: var(--ok-fg); }
.fbc-notes { background: transparent; }
.fbf-empty { border-style: dashed; }
.fbf textarea { width: 100%; }

/* Page headers: app.css's .ph is the shop's product-picture placeholder (hatched, full height). In this portal a .ph that
   holds a .ph-l is the toned page header, so undo the placeholder look there; product pictures keep theirs. */
body.fb .ph:has(> .ph-l) { width: auto; height: auto; background: none; font-size: inherit; color: inherit; display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.fbc-bars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(70px, 1fr); gap: 14px; align-items: end; overflow-x: auto; padding-bottom: 4px; }
.fbc-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fbc-bar-v { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.fbc-bar-c { display: flex; align-items: flex-end; width: 100%; max-width: 56px; height: 120px; border-bottom: 2px solid var(--ink); }
.fbc-bar-c span { display: block; width: 100%; background: var(--teal); border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; }
.fbc-bar-l { font-size: 12.5px; color: var(--muted); }
.fbc-bar-l small { display: block; }

/* "pill att" is an attention pill, but toned.css's .att (the attention card) comes later and turns it into a padded box. */
body.fb .pill.att, body.fb .tag.att { display: inline-flex; flex-direction: row; align-items: center; gap: 0; padding: 3px 10px; border-radius: 999px; min-width: 0;
  background: var(--att-bg); color: var(--att-fg); border: 1.5px solid var(--att-bd); transition: none; }
.sidebar-link.sb-locked i { margin-left: auto; font-size: 12px; opacity: .7; }

/* Insights: benchmarks, price forecasts, allergen register */
.fbi .fb-card-h { flex-wrap: wrap; }
.fbi-filter { display: flex; align-items: center; gap: 8px; margin: 0; }
.fbi-filter label { margin: 0; font-weight: 600; font-size: 13.5px; }
.fbi-filter select { min-height: 36px; border-radius: 999px; padding: 0 12px; }

/* Sign-in, as the design: a wide card, large left headline, full-width pink Sign in, then "or" and the guest button. */
body.fb .login { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
body.fb .lg-side { padding: 44px 46px; }
body.fb .lg-side img { height: 38px; }
body.fb .lg-t { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; max-width: 14ch; }
body.fb .lg-k { font-size: 14px; letter-spacing: .14em; }
body.fb .lg-card { max-width: 420px; padding: 34px 34px 30px; gap: 14px; border-radius: 22px; }
body.fb .lg-card h1 { font-size: 32px; }
body.fb .lg-card .lg-s { margin: -8px 0 4px; font-size: 14.5px; }
body.fb .lg-card .lg-f { gap: 16px; }
body.fb .lg-card .lg-field > label { font-size: 14px; }
body.fb .lg-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { min-height: 46px; font-size: 15px; }
body.fb .lg-card .lg-submit { margin-top: 6px; border-radius: 999px !important; min-height: 50px !important; }
body.fb .lg-card .fb-forgot { margin: 2px 0 0; font-size: 14px; }
body.fb .lg-card .fb-forgot a, body.fb .lg-card .fb-new a { font-weight: 700; color: var(--ink); }
body.fb .lg-card .fb-or { margin: 8px 0 2px; }
body.fb .lg-card .btn.fb-guest { min-height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  text-transform: none; font-style: normal; letter-spacing: 0; }
body.fb .lg-card .hint { margin: 0; font-size: 13px; line-height: 1.55; }
body.fb .lg-card .fb-new { margin: 0; font-size: 14px; }
/* Other sign-in pages (forgotten password, invitation) use the shared views: drop their inner box. */
body.fb .lg-card > .card { border: 0; box-shadow: none; padding: 0; background: transparent; margin: 0; }
@media (max-width: 860px) { body.fb .login { grid-template-columns: 1fr; } body.fb .lg-side { min-height: 0; } }
body.fb .lg-f2 a { color: #fff; font-weight: 700; text-underline-offset: .15em; }
body.fb .lg-card a.fb-linkbtn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
body.fb .lg-card .lg-field .hint { margin: 2px 0 0; font-size: 12.5px; }
body.fb .lg-card .fb-forgot i { font-size: 12px; margin-right: 2px; }

/* Guests: the shell with the marketplace's categories, the guest notice, the postcode check, How it works in a row. */
.fb-sb-k { margin: 14px 10px 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,240,.55); }
.fb-guest .sidebar-link .fb-sb-chev { margin-left: auto; font-size: 11px; opacity: .6; }
.fb-sb-supplier a { display: block; padding: 10px; font-size: 12.5px; color: rgba(250,246,240,.8) !important; text-decoration: underline; text-underline-offset: 3px; }
.fb-sb-supplier a b { color: var(--seashell); }
.fb-guest-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.fb-guest-note p { margin: 0; font-size: 14px; }
body.fb .fb-guest .content .fbs-cats { display: none; } /* the categories are in the left menu */
.fbs-gpc h2 { font-size: 19px; margin: 0 0 10px; }
.fbs-gpc-f label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
.fbs-gpc-f > span { display: flex; gap: 8px; }
.fbs-gpc-f input { flex: 1; min-height: 42px; border-radius: 999px; padding: 0 16px; border: var(--bw) solid var(--ink); text-transform: uppercase; }
.fbs-gpc .callout { margin: 12px 0 0; }
.fbs-gpc .hint { margin: 10px 0 0; font-size: 12.5px; }
body.fb .fbs-how.fbs-how-row ol { display: grid !important; flex-direction: row; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
body.fb .fbs-how.fbs-how-row { margin-top: 16px; }

/* Guest category list (Food Business Portal design, Guest category): chips, List / Grid, rows with "Sign in" for price and order. */
.fbs-gchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
body.fb .fbs-gchips .fbs-chip, body.fb .fbs-viewsw .fbs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border: 1.5px solid var(--ink);
  border-radius: 999px; background: #fff; color: var(--ink) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
body.fb .fbs-gchips .fbs-chip.on, body.fb .fbs-viewsw .fbs-chip.on { background: var(--ink); color: var(--seashell) !important; }
.fbs-viewsw { display: inline-flex; gap: 6px; margin: 4px 0 0; }
.fbs-glist { padding: 8px 12px 6px; }
.fbs-glist table { margin: 0; }
.fbs-glist td { vertical-align: middle; }
.fbs-gr-ph { width: 64px; }
.fbs-gr-ph a { display: block; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; }
.fbs-gr-ph img { width: 100%; height: 100%; object-fit: cover; }
.fbs-gr-ph .fbs-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 20px; }
.fbs-gr-p { display: flex; flex-direction: column; gap: 3px; }
body.fb .fbs-gr-n { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fbs-gr-p .hint { font-size: 12.5px; }
.fbs-gr-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.fbs-gr-price { white-space: nowrap; }
.fbs-gr-act { text-align: right; white-space: nowrap; }
.fbs-gcount { margin: 8px 4px 4px; font-size: 12.5px; }

/* Product page: guest sign-in box, guest supplier rows, the 14-allergen grid (Food Business Portal design, Guest product). */
.fbs-gsign { margin: 12px 0; padding: 16px 18px; border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
.fbs-gsign b { display: block; font-family: var(--display); font-size: 17px; }
.fbs-gsign p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.fbs-gsign .fbs-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fbs-goff { display: flex; flex-direction: column; justify-content: center; }
.fbs-goff b { font-family: var(--display); font-size: 17px; }
.fbs-allg { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.fbs-allg li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border: 1px solid var(--hair); border-radius: 10px; background: #fff; font-size: 13px; }
.fbs-allg li b { font-weight: 700; color: var(--muted); }
.fbs-allg li.yes { border-color: var(--pink); background: var(--att-bg); }
.fbs-allg li.yes b { color: var(--pink-d, var(--pink)); }
.fbs-allg li.may { border-color: var(--att-bd); }
.fbs-allg li.may b { color: var(--att-fg); }
body.fb .fb-guest .fbs-off { grid-template-columns: minmax(150px, 1.4fr) minmax(110px, .9fr) minmax(150px, 1.2fr) auto; }
body.fb .fb-guest .fbs-off .fbs-ob { align-items: flex-end; }

/* Guest sign-in window (Food Business Portal design, Guest): the sign-in card as a modal. */
dialog.fb-signin { width: min(440px, calc(100vw - 32px)); padding: 26px 28px 22px; border: var(--bw) solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink); }
dialog.fb-signin::backdrop { background: rgba(42,42,42,.45); }
.fb-signin-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.fb-signin-h h2 { margin: 0; font-family: var(--display); font-size: 24px; text-transform: none; }
dialog.fb-signin .fb-x { width: 40px; height: 40px; min-height: 40px !important; padding: 0 !important; border-radius: 50% !important; border: var(--bw) solid var(--ink) !important;
  background: #fff !important; color: var(--ink) !important; display: inline-flex; align-items: center; justify-content: center; box-shadow: none !important; }
dialog.fb-signin .lg-s { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
dialog.fb-signin .lg-f { display: flex; flex-direction: column; gap: 14px; }
dialog.fb-signin .lg-field { display: flex; flex-direction: column; gap: 6px; }
dialog.fb-signin .lg-field > label { font-size: 14px; font-weight: 700; margin: 0; }
dialog.fb-signin input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { width: 100%; min-height: 46px; padding: 10px 14px; border: var(--bw) solid var(--ink); border-radius: 12px; font-size: 15px; }
dialog.fb-signin .lg-pw { position: relative; display: block; }
dialog.fb-signin .lg-pw input { padding-right: 70px !important; }
dialog.fb-signin .lg-pw .lnk { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
dialog.fb-signin .lg-submit { width: 100%; min-height: 50px !important; margin-top: 4px; background: var(--pink) !important; border: var(--bw) solid var(--ink) !important; color: #fff !important;
  border-radius: 999px !important; box-shadow: var(--sh-pri) !important; font-weight: 900 !important; font-style: italic !important; text-transform: uppercase; font-size: 14px !important; }
dialog.fb-signin .fb-forgot, dialog.fb-signin .fb-new { margin: 12px 0 0; font-size: 14px; }
dialog.fb-signin .fb-forgot a, dialog.fb-signin .fb-new a { font-weight: 700; color: var(--ink); }

/* The marketplace category menu is a dark panel: its links stay light (the general ".content a" rule above makes page
   links dark, which hid the category chips' text). The open chip on narrow screens is light with dark text. */
body.fb .content .fbs-cats a:not(.fbs-all) { color: var(--seashell) !important; }
body.fb .content .fbs-cats a.fbs-all { color: #fff !important; }
body.fb .content .fbs-cats a.fbs-cat.on { color: var(--seashell) !important; }
@media (max-width: 1499.98px) { body.fb .content .fbs-cats a.fbs-cat.on { color: var(--ink) !important; } }

/* Marketplace mode (Food Business Portal design, Marketplace): shop, category, product and search pages. */
.fb-deliv { margin: 4px 0 10px; border: 1px solid rgba(250,246,240,.18); border-radius: 12px; color: var(--seashell); }
.fb-deliv > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; cursor: pointer; }
.fb-deliv > summary::-webkit-details-marker { display: none; }
.fb-deliv > summary small { display: block; font-size: 11.5px; color: rgba(250,246,240,.62); }
.fb-deliv > summary b { display: block; font-size: 14px; }
.fb-deliv-m { display: flex; flex-direction: column; gap: 4px; padding: 0 8px 10px; }
.fb-deliv-m form { margin: 0; }
.fb-deliv-m button { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: rgba(250,246,240,.06) !important; color: var(--seashell) !important; box-shadow: none !important; transform: none !important; }
.fb-deliv-m button[aria-current="true"] { outline: 1.5px solid var(--teal); }
.fb-deliv-m button b, .fb-deliv-m button small { display: block; }
.fb-deliv-m button small { font-size: 11.5px; color: rgba(250,246,240,.62); font-weight: 400; }
.fb-deliv-m a { padding: 6px 10px; font-size: 12.5px; color: var(--teal) !important; }
.fb-back { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid rgba(250,246,240,.18); border-radius: 12px; color: var(--seashell) !important; text-decoration: none; font-weight: 700; }
.fb-back:hover { background: rgba(250,246,240,.06); }
.fb-shopall { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 6px; padding: 10px 14px; border-radius: 12px; background: var(--pink); color: #fff !important; text-decoration: none; box-shadow: 3px 3px 0 0 rgba(0,0,0,.35); }
.fb-shopall b { display: block; font-size: 15px; }
.fb-shopall small { display: block; font-size: 11.5px; opacity: .9; }
.fb-shopall.on { outline: 2px solid var(--seashell); outline-offset: 2px; }
.fb-req span { font-size: 12.5px; }
.fb-req b { color: var(--teal); }

/* Top bar: delivery day and order-by time */
.fb-day { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 4px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink) !important; text-decoration: none; line-height: 1.2; }
.fb-day b { font-size: 13.5px; }
.fb-day small { font-size: 11.5px; color: var(--muted); }
@media (max-width: 991.98px) { .fb-day { display: none; } }

/* The bar above marketplace pages: next cut-off, quick add, only what I buy, spend limit */
.fb-mbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.fb-cut { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 14px 16px !important; margin: 0; }
.fb-cut-l b { display: block; font-size: 15px; }
.fb-cut-l small { display: block; font-size: 12.5px; color: var(--muted); }
.fb-cut-a { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.fb-cut-a form { margin: 0; display: flex; }
body.fb .fb-cut-a form button { margin: 0; } /* "Last Tuesday" lined up with Your usuals and From a list */
.fb-fromlist { position: relative; }
.fb-fromlist > summary { list-style: none; cursor: pointer; }
.fb-fromlist > summary::-webkit-details-marker { display: none; }
.fb-fromlist > div { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; display: flex; flex-direction: column; padding: 6px; background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: var(--sh-pop); }
.fb-fromlist > div a { padding: 8px 10px; border-radius: 8px; color: var(--ink) !important; text-decoration: none; }
.fb-fromlist > div a:hover { background: var(--shell2); }
.fb-only { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--ink) !important; text-decoration: none; }
.fb-only b { display: block; font-size: 14px; }
.fb-only small { display: block; font-size: 12px; color: var(--muted); }
.fb-sw { position: relative; flex: none; width: 46px; height: 26px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.fb-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: left .15s; }
.fb-only[aria-checked="true"] .fb-sw { background: var(--teal); }
.fb-only[aria-checked="true"] .fb-sw::after { left: 22px; }
.fb-limit { display: flex; flex-direction: column; gap: 8px; padding: 2px 4px; }
.fb-limit > div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fb-limit-b { display: block; height: 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.fb-limit-b i { display: block; height: 100%; background: var(--ink); }
.fb-limit-b.over i { background: var(--pink); }
@media (max-width: 760px) { .fb-cut { grid-template-columns: 1fr; } .fb-cut-a { justify-content: flex-start; } }
/* The left menu has the categories on wide screens, so the category chips show only when it is folded away. */
@media (min-width: 992px) { body.fb.fb-mkt .content .fbs-cats { display: none; } }
body.fb .fb-cut-a .btn, body.fb .fb-cut-a button, body.fb .fb-cut-a summary.btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 16px; border: 1.5px solid var(--ink) !important; border-radius: 999px; background: #fff !important; color: var(--ink) !important; font-family: var(--body); font-size: 13.5px; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none !important; transform: none !important; }
body.fb .fb-cut-a .btn:hover, body.fb .fb-cut-a button:hover, body.fb .fb-cut-a summary.btn:hover { background: var(--seashell) !important; }
/* The cut-off bar stays at the top while the products scroll (design: Marketplace). */
@media (min-width: 768px) { body.fb.fb-mkt .fb-mbar { position: sticky; top: 66px; z-index: 15; padding-top: 8px; margin-top: -8px; background: var(--seashell, #faf6f0); } }
/* The docked basket sits below the pinned bar (fb.js sets --fb-mbar-h to the bar's height). */
@media (min-width: 768px) {
  body.fb.fb-mkt .fbs-dock { top: calc(66px + var(--fb-mbar-h, 0px) + 12px); }
  body.fb.fb-mkt .fbs-dock-in { max-height: calc(100vh - 66px - var(--fb-mbar-h, 0px) - 28px); }
}

/* Checkout shell (Food Business Portal design, Checkout): no left menu, a dark bar with Keep shopping and the steps. */
.fb-co-shell { min-height: 100vh; background: var(--seashell, #faf6f0); }
.fb-co-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 28px; background: var(--ink); }
.fb-co-brand { display: flex; flex-direction: column; text-decoration: none; }
.fb-co-brand img { height: 26px; width: auto; }
.fb-co-brand span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,246,240,.7); }
.fb-co-keep { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1.5px solid rgba(250,246,240,.6); border-radius: 999px; color: var(--seashell) !important; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.fb-co-keep:hover { background: rgba(250,246,240,.08); }
.fb-co-steps { margin-left: auto; display: flex; gap: 8px; }
.fb-co-steps a { padding: 6px 14px; border: 1.5px solid rgba(250,246,240,.6); border-radius: 999px; color: var(--seashell) !important; font-weight: 700; font-size: 13px; text-decoration: none; }
.fb-co-steps a:first-child { background: var(--seashell); color: var(--ink) !important; }
.fb-co-main { max-width: 1320px; margin: 0 auto; padding: 22px 28px 40px !important; }
@media (max-width: 640px) { .fb-co-top { padding: 10px 14px; gap: 10px; flex-wrap: wrap; } .fb-co-main { padding: 16px 14px 32px !important; } }

/* Phones (Food Business Portal, guest and signed in): the shop list stacks each product as a card instead of a table that
   scrolls sideways; the guest top bar keeps Sign in and an icon-only "Open an account" in one line. */
@media (max-width: 640px) {
    body.fb .topbar .tb-r { gap: 8px; }
    body.fb .topbar .fb-tb-signin { padding: 0 14px; white-space: nowrap; }
}
@media (max-width: 991.98px) {
    .fbs-glist { padding: 4px 14px; }
    .fbs-glist .tablewrap { overflow: visible; }
    .fbs-glist table, .fbs-glist tbody { display: block; width: 100% !important; min-width: 0 !important; }
    .fbs-glist thead { display: none; }
    .fbs-glist tbody tr { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line, #e7e0d6); }
    .fbs-glist tbody tr:last-child { border-bottom: 0; }
    body.fb .fbs-glist table.ap-table tbody td { display: block; padding: 0; border: 0; min-width: 0; text-align: left; white-space: normal; background: none; }
    body.fb .fbs-glist table.ap-table tbody td::before { content: none; }
    body.fb .fbs-glist table.ap-table tbody td.fbs-gr-p { display: flex; }
    .fbs-glist td.fbs-gr-price b { font-size: 15px; }
    .fbs-glist td.fbs-gr-price, .fbs-glist td[data-label="Arrives"], .fbs-glist td.fbs-gr-when { font-size: 13.5px; }
    .fbs-glist td.fbs-gr-ph { grid-row: 1 / span 3; width: auto; }
    .fbs-glist td:not(.fbs-gr-ph) { grid-column: 2; }
    .fbs-glist td.fbs-gr-act { grid-column: 1 / -1; margin-top: 4px; }
    .fbs-glist td.fbs-gr-act .btn { width: 100%; justify-content: center; }
    .fbs-glist .fbs-gr-n { overflow-wrap: anywhere; }
}
@media (max-width: 640px) {
    body.fb .topbar .fb-nouri { width: 42px; padding: 0 !important; justify-content: center; }
    body.fb .topbar .fb-nouri .lg { display: none; }
    body.fb .content > *, body.fb .content section.card { min-width: 0; max-width: 100%; }
}

/* Shared pager ("Showing x–y of N", Previous, pages, Next): the shop theme's pill styling is for the page links only, not
   for the text and the group around them. */
body.fb nav.pager > .pg-info, body.fb nav.pager > .pg-links { min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; }
body.fb nav.pager .pg-links .gap { border: 0; background: none; min-width: 20px; }
body.fb nav.pager .pg-links .off { border: 1.5px solid var(--line); background: transparent; opacity: .55; }
@media (max-width: 640px) { body.fb nav.pager { justify-content: center; } body.fb nav.pager > .pg-info { width: 100%; text-align: center; } }

/* Wide screens (1500px and up, which includes zoomed-out 1366px laptops): the shop keeps a 220px column for the category
   list, but guests and the marketplace pages show the categories in the left menu instead (.fbs-cats hidden), so without
   this the products drop into that narrow column and the rest of the page stays empty. */
@media (min-width: 1500px) {
  body.fb .fb-guest .fbs-market, body.fb.fb-mkt .fbs-market { grid-template-columns: minmax(0, 1fr); }
  body.fb .fb-guest .fbs-market.has-dock, body.fb.fb-mkt .fbs-market.has-dock { grid-template-columns: minmax(0, 1fr) 330px; }
}

/* Any list table too wide for its box (fb-tables.js adds .st-cards; phones, tablets, narrow windows): one card per row.
   The first labelled cell is the card's title, other values sit two per line under their column name, cells without a
   heading (ticks, actions) take the full width, and single-cell rows stay as they are. */
.tablewrap:has(> table.st-cards), .fbm-scroll:has(> table.st-cards), body.fb .tablewrap:has(> table.st-cards) { overflow: visible; }
table.st-cards { min-width: 0 !important; width: 100% !important; table-layout: auto; }
table.st-cards thead { display: none; }
table.st-cards, table.st-cards tbody, table.st-cards tfoot, table.st-cards tr, table.st-cards td, table.st-cards tbody th { display: block; width: 100%; }
table.st-cards tbody tr:not(.st-full), table.st-cards tfoot tr:not(.st-full) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--hair, #e7e0d6); background: none; }
table.st-cards tbody tr:first-child { border-top: 0; }
table.st-cards td, table.st-cards tbody th { border: 0 !important; padding: 3px 0 !important; text-align: left !important; white-space: normal !important;
  width: auto !important; min-width: 0 !important; max-width: none !important; overflow-wrap: anywhere; background: none !important; }
table.st-cards td:empty { display: none; }
table.st-cards td[data-label]::before { content: attr(data-label); display: block; margin: 4px 0 1px; font-family: var(--mono, monospace); font-size: 10.5px;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted, #6b6b6b); }
table.st-cards tr > td[data-label]:first-of-type, table.st-cards tr > td.st-act + td[data-label]:not(.st-act) { grid-column: 1 / -1; font-size: 15px; }
table.st-cards tr > td[data-label]:first-of-type::before, table.st-cards td.st-act::before { content: none !important; }
table.st-cards tr > td.st-act, table.st-cards tr > td:has(select, textarea, input:not([type=checkbox]):not([type=radio]):not([type=hidden])) { grid-column: 1 / -1; }
table.st-cards tr > td.st-act:last-child { padding-top: 8px !important; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
table.st-cards tr > td.st-act:last-child > .btn, table.st-cards tr > td.st-act:last-child > a.btn, table.st-cards tr > td.st-act:last-child > form { flex: 1 1 auto; justify-content: center; }
table.st-cards td form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
table.st-cards .pill { white-space: normal; max-width: 100%; height: auto; line-height: 1.25; }
table.st-cards tr.st-full td { padding: 10px 0 !important; }

/* Order page: one column that never grows past the screen; the part heading's status wraps under the title. */
@media (max-width: 1100px) { body.fb .fo-cols { grid-template-columns: minmax(0, 1fr); } }
body.fb .fo-cols > * { min-width: 0; }
body.fb .fo-part-h { flex-wrap: wrap; }
body.fb .fo-part-h .pill { white-space: normal; height: auto; }
/* Product page offers (each supplier's price row): two columns on tablets, one on phones, so nothing is pushed off screen. */
@media (max-width: 991.98px) {
  body.fb .fbs-off, body.fb .fb-guest .fbs-off { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.fb .fbs-off .fbs-ob { justify-content: flex-start; }
}
@media (max-width: 480px) {
  body.fb .fbs-off, body.fb .fb-guest .fbs-off { grid-template-columns: minmax(0, 1fr); }
  body.fb .fbs-off .fbs-ob > *, body.fb .fbs-off .fbs-ob form { flex: 1 1 100%; }
  body.fb .fbs-off .fbs-ob .btn, body.fb .fbs-off .fbs-ob button { justify-content: center; width: 100%; }
}
/* Invoices: the "Pay the ticked invoices" panel follows the list on bigger screens; on phones it would cover half the list,
   so it sits after the list instead. */
@media (max-width: 640px) { body.fb .fbm-paybar { position: static; margin-top: 12px; } }

/* FB review: design system ------------------------------------------------------------------------------------------
   D2 Confirmations are the design's toast: a dark (ink) pill at the bottom centre with a hard teal shadow, never a green
   box at the top. Page messages come from Portal/views/_toasts.php (the layout), AJAX ones from app.js through SFToast
   (toned.js: auto-dismiss, errors stay longer, paused on hover or focus). Failures keep the shape in pink. The close
   button is kept here (the toned theme hides it); the page's safe area is respected on phones. */
body.fb .sf-toasts { left: 16px; right: 16px; transform: none; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; align-items: center; z-index: 1095; }
body.fb .sf-toasts .sf-toast { width: auto; max-width: min(560px, 100%); }
body.fb .sf-toasts .sf-toast { align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px; }
body.fb .sf-toasts .sf-toast.t-ok, body.fb .sf-toasts .sf-toast.t-info { background: var(--ink); color: var(--seashell); box-shadow: 4px 4px 0 0 var(--teal); }
body.fb .sf-toasts .sf-toast .tm { text-align: left; padding: 4px 0; }
body.fb .sf-toasts .sf-toast .tx:not([hidden]) { display: inline-flex !important; width: 30px !important; height: 30px; min-height: 30px !important; }
body.fb .sf-toasts .sf-toast.t-warn .tx { background: rgba(162,62,6,.12) !important; }
@media (max-width: 640px) {
  body.fb .sf-toasts { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  body.fb .sf-toasts .sf-toast { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { body.fb .sf-toasts .sf-toast, body.fb .sf-toasts .sf-toast.out { animation: none; transition: none; transform: none; } }
/* The old single #toast (top right, green) stays in the page for the scripts that write to it, but in this portal its
   message is shown by the stack above (app.js adds the class), so it is neither shown nor announced twice. */
html.fb-toast-stack body.fb #toast { display: none !important; }
body.fb #toast:not([hidden]) { position: fixed; top: auto; right: auto; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--seashell); border-radius: 999px; padding: 12px 20px; box-shadow: 4px 4px 0 0 var(--teal); font-weight: 600; animation: none; }
body.fb #toast.err:not([hidden]) { background: var(--pink); color: #fff; box-shadow: 4px 4px 0 0 var(--ink); }

/* D3 Payment methods: active cards (the credit account, the wallet) have solid borders like every other card; dashed is
   only for optional or not-connected items. */
body.fb .fbm-methods .fbm-tiles a.fbm-tile-link { border-style: solid !important; border-color: var(--ink) !important; }
body.fb .fbm-methods .fbm-tiles a.fbm-tile-link:hover { border-color: var(--ink) !important; }

/* D4 Checkboxes are dark (ink) as in the design, not pink or teal: the notification settings table and consent, and the
   portal's default. */
body.fb input[type=checkbox] { accent-color: var(--ink); }
body.fb .fba-g2 .fba-prefs td.c input[type=checkbox], body.fb .fba-g2 .fba-consent input[type=checkbox] { accent-color: var(--ink); }

/* FB review: sign-in, top bar, guest (S1, D5, T9, G3, G5, G7, G12, G16) */
/* G16: the arrows beside the marketplace categories in the left menu (toned.css hides icons in menu links). */
body.fb .sidebar-link i.fb-sb-chev { display: inline-block; width: auto; margin-left: auto; font-size: 11px; opacity: .6; }
/* T9: the Marketplace card's cart. */
body.fb .fb-market i.bi-cart3 { font-size: 20px; }
/* D5: "Open an account" in the guest top bar is text only. */
body.fb .fb-tb-open { padding-left: 16px; padding-right: 16px; }
/* G7: the solid Check button. */
body.fb .btn.fb-ink { background: var(--ink) !important; border: var(--bw) solid var(--ink) !important; color: #fff !important; }
body.fb .btn.fb-ink:hover { background: #000 !important; }
body.fb .btn.fb-ink:disabled { opacity: .6; }
/* G3: the answer under the postcode. */
body.fb .fb-pc-ans:empty { display: none; }
body.fb .fb-pc-ans .callout { margin: 12px 0 0; }
body.fb .fb-pc-ans .lnk { font-weight: 700; }
/* G5: guest product cards, the padlocked price and Sign in to order. */
body.fb .fbs-pc .fb-g-deliv { margin: 2px 0 0; }
body.fb .fb-g-buy { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
body.fb .fb-g-lock { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--seashell, #faf6f0);
    color: var(--ink); font-weight: 700; font-size: 13.5px; text-decoration: none; }
body.fb .fb-g-lock:hover { text-decoration: underline; }
body.fb .fb-g-order { width: 100%; justify-content: center; }
/* G12: the filters and the sort in one panel, on one line where it fits. */
/* (form.fbs-filters: fb-shop.css loads after this file.) */
body.fb form.fbs-filters { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
body.fb form.fbs-filters > .fbs-pills { flex: 1 1 auto; }
body.fb form.fbs-filters > .fbs-sortrow { flex: 0 1 auto; margin-left: auto; }

/* FB review: home, to do, basket, checkout ------------------------------------------------------------------------- */
/* Home (H1, H2, H4-H7, H10-H12): view switch, Needs you tiles, Today figures, two-column cards, spend, activity. */
.fbh-ph .seg button, .fbh-spend .seg button { padding: 8px 16px; border: 0; border-radius: 999px; background: none !important; color: var(--ink) !important; font-weight: 700;
  font-size: 13.5px; min-height: 0; box-shadow: none !important; transform: none !important; text-transform: none; letter-spacing: 0; font-style: normal; }
.fbh-ph .seg button.on, .fbh-spend .seg button.on { background: var(--ink) !important; color: var(--seashell) !important; }
.fbh .seg[hidden] { display: none; }
.fbh-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.fbh-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  color: var(--ink) !important; text-decoration: none !important; }
.fbh-tile:hover { border-color: var(--ink); }
.fbh-tile.hot { border: var(--bw) solid var(--ink); box-shadow: var(--sh-pri, 3px 3px 0 var(--ink)); }
.fbh-tile .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.fbh-tile .top b { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.fbh-tt { font-weight: 700; }
.fbh-tile .hint { font-size: 12.5px; }
body.fb .fbh-h2 { margin: 22px 0 10px; font-size: 20px; }
.fbh-g2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
.fbh-g2 > section { margin: 0; min-width: 0; }
.fbh-chips { margin: 0 0 12px; }
.fbh-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.fbh-m2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fbh-m2 > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fbh-big { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.fbh-sep { border: 0; border-top: 1px solid var(--hair); margin: 12px 0 4px; opacity: 1; }
.fbh-mrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.fbh-mrow b { font-variant-numeric: tabular-nums; text-align: right; }
.fbh-spend .seg { margin: 0 0 12px; }
.fbh-spend .seg button { padding: 6px 14px; font-size: 13px; }
.fbh-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.fbh-mini[hidden] { display: none; }
.fbh-mini > div { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fbh-mini span { display: block; font-size: 12px; color: var(--muted); }
.fbh-mini b { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.fbh-eb { margin: 14px 0 6px; }
.fbh-top { list-style: none; margin: 0; padding: 0; }
.fbh-top li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--hair); }
.fbh-top li:first-child { border-top: 0; }
.fbh-links { margin: 12px 0 0; font-size: 13.5px; }
.fbh-act { list-style: none; margin: 0; padding: 0; }
.fbh-act li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--hair); }
.fbh-act li:last-child { border-bottom: 0; }
.fbh-act time { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.fbh-notes { display: flex; flex-direction: column; gap: 8px; }
.fbh-notes a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--seashell); text-decoration: none !important; }
.fbh-again { margin-top: 4px; }
.fbh[data-hv="kitchen"] [data-hv-k="money"], .fbh[data-hv="money"] [data-hv-k="kitchen"] { display: none !important; }
@media (max-width: 640px) { .fbh-m2 { grid-template-columns: minmax(0, 1fr); } }

/* To do (TD1-TD4): figures, the tab pills with counts, the grouped table. */
.fbt-kpis { margin: 0 0 16px; }
.fbt-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; }
.fbt-bar .seg a { display: inline-flex; align-items: center; gap: 6px; }
.fbt-bar .ct, .fbt-g .ct { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--shell3, #ece4d8); color: var(--ink); font-family: var(--mono); font-size: 11px;
  font-weight: 700; text-align: center; line-height: 1.5; }
.fbt-bar .seg a.on .ct { background: var(--pink); color: #fff; }
.fbt-card { padding: 6px 16px 10px !important; }
.fbt-t td { vertical-align: top; }
.fbt-t th.act, .fbt-t td.act { text-align: right; width: 1%; white-space: nowrap; }
.fbt-g th { background: var(--seashell) !important; padding: 8px 10px !important; text-align: left; font-weight: 400; }
.fbt-g th > span { display: inline-flex; align-items: center; gap: 8px; }
.fbt-g.t-act .ct { background: var(--pink); color: #fff; }
.fbt-r .eyebrow { display: block; }
.fbt-tt { display: block; margin-top: 2px; }
.fbt-sub { display: block; font-size: 12.5px; margin-top: 2px; }
.fbt-st { display: block; margin-top: 6px; }
.fbt-empty { padding: 18px 10px !important; font-weight: 600; }
.fbt-empty i { color: var(--ok-fg); }
.fbt-foot { margin: 10px 2px 0; font-size: 12.5px; }

/* Your next order (M4, M5): the deals strip and the Best price tag. */
.fbn-deals { margin: 0 0 16px; }
.fbn-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.fbn-deal { display: flex; flex-direction: column; gap: 4px; padding: 12px !important; margin: 0 !important; color: var(--ink) !important; text-decoration: none !important; }
.fbn-deal:hover { border-color: var(--ink); }
.fbn-deal .pill { align-self: flex-start; }
.fbn-dph { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #fff; }
.fbn-dph img { width: 100%; height: 100%; object-fit: contain; }
.fbn-dn { font-size: 14px; line-height: 1.3; }
.fbn-dp b { font-size: 16px; }
.fbn-deal .hint { font-size: 12.5px; }
.fbn-best { margin-left: 4px; }

/* Product page (M8, M10): brand, favourite, product sheet, thumbnails. */
.fbs-brand { margin: 0 0 2px; }
.fbs-pdb { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: 10px 0 12px; }
.fbs-fav { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.fbs-fav.on i { color: var(--pink); }
details.fbs-fav { display: block; padding: 0; }
details.fbs-fav > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; }
details.fbs-fav > summary::-webkit-details-marker, .fbs-sheet > summary::-webkit-details-marker { display: none; }
details.fbs-fav[open] { padding-bottom: 10px; }
details.fbs-fav form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 12px 0; font-weight: 400; }
details.fbs-fav .hint { margin: 6px 12px 0; font-weight: 400; }
.fbs-sheet > summary { list-style: none; cursor: pointer; }
.fbs-sheet[open] { flex-basis: 100%; }
.fbs-sheet-b { margin-top: 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.fbs-sheet-b dl { display: grid; grid-template-columns: minmax(120px, max-content) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 8px; }
.fbs-sheet-b dl > div { display: contents; }
.fbs-sheet-b dt { color: var(--muted); font-weight: 500; }
.fbs-sheet-b dd { margin: 0; }
body.fb .fbs-thumbs a { display: block; border-radius: 10px; }
body.fb .fbs-thumbs a[aria-current="true"] img { border-color: var(--ink); }

/* Checkout (M6, M12, M13, M15): promo code in the summary, Save for later per line, the top-up reason. */
.fbs-promo { margin: 12px 0; padding: 12px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.fbs-promo label { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.fbs-promo-f { display: flex; gap: 8px; }
.fbs-promo-f input { flex: 1 1 auto; min-width: 0; }
.fbs-promo-on { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; }
.fbs-promo .hint { margin: 6px 0 0; font-size: 12.5px; }
.fbs-lacts .link + .link { margin-left: 12px; }
.fbs-tur { margin: 0 0 10px; font-size: 13.5px; }
body.fb .fbt-bar .seg a { text-transform: none; letter-spacing: 0; font-style: normal; }
body.fb .fbt-r .eyebrow, body.fb .fbh-eb, body.fb .fbs-brand { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.fb .fbs-promo-f .btn, body.fb .fbs-promo-f button { align-self: stretch; }
body.fb .fbs-sheet > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; }
body.fb .fbs-sheet > summary:hover, body.fb details.fbs-fav > summary:hover { border-color: var(--ink); }

/* FB review: orders, account, help, insights -------------------------------------------------------------------------
   O2/D1 the design's list bar (Search this list, pill filters "Status: All", the period switch), O3 each supplier's part
   with its status, O5/MH2 tabs as links with counts, MH4 topic tiles, I3/I6 filters, C5 "Later" funding cards, C7 side
   cards, C8 payment method sections. Hidden-until-JS filters carry [data-fbr-js]; app.js shows them. */
body.fb .fbr-bar { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
body.fb .fbr-search { position: relative; display: block; max-width: 420px; margin: 0; }
body.fb .fbr-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
body.fb .fbr-search input { width: 100%; min-height: 38px; padding: 6px 12px 6px 34px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
body.fb .fbr-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.fb .fbr-chip { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 34px; margin: 0; padding: 0 30px 0 12px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; }
body.fb .fbr-chip:hover, body.fb .fbr-chip:focus-within { border-color: var(--ink); }
body.fb .fbr-chip.on { border-color: var(--ink); background: var(--shell2); }
body.fb .fbr-chip > span { white-space: nowrap; }
body.fb .fbr-chip select { appearance: none; -webkit-appearance: none; min-height: 0; height: auto; margin: 0; padding: 0; border: 0 !important; background: transparent !important;
  box-shadow: none !important; color: inherit; font: inherit; font-weight: 700; cursor: pointer; max-width: 16em; }
body.fb .fbr-chip > i { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: 11px; pointer-events: none; }
body.fb a.fbr-chip { padding-right: 12px; }
body.fb a.fbr-chip > i { position: static; transform: none; font-size: 14px; }
body.fb .fbr-chips [hidden], body.fb .fbr-bar[hidden], body.fb .fbr-search[hidden] { display: none !important; }
body.fb .fbr-go { min-height: 34px; padding: 0 14px; }
body.fb .fbr-clear { font-size: 13px; font-weight: 700; }
body.fb .seg.seg-sm { padding: 3px; }
body.fb .seg.seg-sm a { padding: 5px 12px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-style: normal; }
body.fb .seg.seg-sm a .ct { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--shell2); color: var(--ink); font-size: 11px; line-height: 1.6; }
body.fb .seg.seg-sm a.on .ct { background: var(--seashell); }
body.fb .card-h .fbr-tabs, body.fb .fb-card-h .fbr-tabs { margin-left: auto; }
body.fb .fbr-people { margin: 0 0 12px; }
body.fb .fbm-stmt .fbr-period { margin: 0 0 12px; }
body.fb .fbr-none { margin: 10px 0 0; }
/* O3: each supplier's part of an order with its own status */
body.fb ul.fbr-parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
body.fb ul.fbr-parts li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.fb .fbr-sn { font-weight: 700; }
body.fb ul.fbr-parts .pill { font-size: 11.5px; padding: 1px 8px; min-height: 0; height: auto; line-height: 1.5; }
body.fb ul.fbr-parts-k { margin-top: 8px; }
body.fb ul.fbr-parts-k a.fbr-sn { font-size: 13px; }
/* I6 */
body.fb .kpi .v.fbr-v-sm { font-size: 18px; line-height: 1.25; }
/* MH4: topic tiles say what they cover; the chosen one is marked */
body.fb a.card.fba-topic.on { border-color: var(--ink) !important; background: var(--shell2); }
body.fb .fbr-topics .fbr-tn { font-size: 12px; }
/* C5: funding offer cards, greyed until funding partners are live */
body.fb .fbr-later-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 14px 0 12px; }
body.fb .card.fbr-later { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 14px 16px; opacity: .62; background: var(--seashell); border-style: dashed !important; }
body.fb .fbr-later-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.fb .fbr-later .eyebrow { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.fb .fbr-later-t { margin: 0; font-size: 13.5px; }
/* C7 */
body.fb .card.fbr-side .hint { margin: 0 0 10px; }
/* C8: payment methods in two sections */
body.fb .fbr-pms { margin: 0 0 18px; }
body.fb .fbr-pms-h { margin: 0 0 10px; font-size: 15px; font-family: var(--display); }
@media (max-width: 575.98px) {
  body.fb .fbr-search { max-width: none; }
  body.fb .card-h .fbr-tabs, body.fb .fb-card-h .fbr-tabs { margin-left: 0; max-width: 100%; }
  body.fb .fbr-chip select { max-width: 11em; }
}

/* FB review 4: pack sizes (G5, G15, G17) ----------------------------------------------------------------------------- */
body.fb .fbs-pdi > .fbs-sizes { margin: 4px 0; }
body.fb .fbs-pdi > .fbs-gsign { margin-top: 4px; }
body.fb .content a.fbs-pk2 { min-height: 44px; justify-content: center; }
body.fb .content a.fbs-pk2:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.fb .fbs-gr-sz { display: block; }

/* FB review 4: filters and supplier rows ------------------------------------------------------------------------------ */
/* G11: the room each inside label takes in its pill (as the Supplier, Dietary and Storage pills in fb-shop.css). */
body.fb .fbs-pills .fbs-f:has(#brand) { --fbs-lw: 50px; }
body.fb .fbs-pills .fbs-f:has(#free) { --fbs-lw: 76px; }
body.fb .fbs-pills .fbs-f:has(#cuisine) { --fbs-lw: 64px; } /* FB review (6) G11 */
/* FB review (6) G1: "See what you would save" sits under the postcode check, the hero beside both. */
@media (min-width: 901px) { body.fb .fbs-ghero:has(> .fbs-gsave) > .fbs-gh { grid-row: span 2; } }
body.fb .fbs-gsave h2 { margin: 0 0 6px; }
body.fb .fbs-gsave p:last-child { margin: 10px 0 0; }
body.fb .fbs-pills .fbs-f select { max-width: 260px; text-overflow: ellipsis; }
/* G18: delivery days and on-time record on each supplier row. */
body.fb .fbs-off .fb-supmeta { margin: 2px 0 0; }
body.fb .fbs-goff.fb-supdays b { font-weight: 700; }
body.fb .fbp-sup .fb-supmeta { display: block; }

/* FB review 4: categories and guest ----------------------------------------------------------------------------------- */
/* G16: sub-categories open in place from the › button (fb.js); the link still opens the category. */
body.fb .fb-sb-cat { position: relative; }
body.fb .sb-sub[hidden] { display: none !important; }
body.fb .fb-sb-cat.fb-sb-js > .sidebar-link { padding-right: 40px; }
body.fb .fb-sb-cat.fb-sb-js > .sidebar-link .fb-sb-chev { display: none !important; }
body.fb .fb-sb-tog { position: absolute; top: 0; right: 2px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 !important; border: 0 !important; border-radius: var(--r-sm, 8px) !important; background: transparent !important; color: rgba(250, 246, 240, .86) !important;
    box-shadow: none !important; min-height: 0 !important; cursor: pointer; }
body.fb .fb-sb-tog[hidden] { display: none; }
body.fb .fb-sb-tog:hover, body.fb .fb-sb-tog:focus-visible { background: rgba(250, 246, 240, .12) !important; color: var(--seashell, #faf6f0) !important; }
body.fb .fb-sb-tog i { display: inline-block; font-size: 11px; transition: transform .15s ease; }
body.fb .fb-sb-cat.open > .fb-sb-tog i, body.fb .fb-sb-cat.open > .sidebar-link .fb-sb-chev { transform: rotate(90deg); }
body.fb .sidebar-link.active + .fb-sb-tog { color: var(--ink) !important; }
body.fb .sidebar-link.active + .fb-sb-tog:hover { background: rgba(0, 0, 0, .08) !important; }
body.sidebar-collapsed .fb-sb-tog, body.sidebar-collapsed .fb-sb-cat .sb-sub { display: none !important; }
/* G2: the hero's three points as plain bullets. */
body.fb .fbs-gul.fb-gul-plain { list-style: disc; padding-left: 1.2em; gap: 4px; }
body.fb .fbs-gul.fb-gul-plain li { display: list-item; font-weight: 500; }
/* G9: each question has a ▶ that turns when it opens. */
body.fb .fbs-q > summary { list-style: none; display: flex; align-items: baseline; gap: 10px; }
body.fb .fbs-q > summary::-webkit-details-marker { display: none; }
body.fb .fbs-q > summary::before { content: "\25B6"; font-size: 10px; line-height: 1; transition: transform .15s ease; }
body.fb .fbs-q[open] > summary::before { transform: rotate(90deg); }
/* G12: in list view the filters, sort, List/Grid and the product table read as one bordered panel (the filter form keeps
   its own markup; no sponsored row between them). */
body.fb .fbs-main > form.fbs-filters:has(+ section > h2.sr + .fbs-glist) { border-bottom-width: 0 !important; border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important; box-shadow: none !important; padding-bottom: 8px; }
body.fb .fbs-main > form.fbs-filters + section > h2.sr + .fbs-glist { border-top-width: 0 !important; border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
body.fb .fbs-main > form.fbs-filters:has(+ section > h2.sr + .fbs-glist) + section { margin-top: -18px; }

/* FB review 3: switcher and alerts */
/* T8: the business card opens a white card over the menu listing the person's businesses and this business's sites. */
body.fb details.fb-bizsw { position: relative; padding: 0; }
body.fb details.fb-bizsw:hover { background: none; }
body.fb .fb-bizsw > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; border-radius: 11px; }
body.fb .fb-bizsw > summary::-webkit-details-marker { display: none; }
body.fb .fb-bizsw > summary:hover, body.fb .fb-bizsw[open] > summary { background: rgba(250,246,240,.06); }
body.fb .fb-bizsw > summary > span { flex: 1 1 auto; min-width: 0; }
body.fb .fb-bizsw > summary b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.fb .fb-bizsw > summary > .bi { font-size: 12px; opacity: .7; transition: transform .15s; }
body.fb .fb-bizsw[open] > summary > .bi { transform: rotate(180deg); }
body.fb .fb-bizsw > summary:focus-visible { outline: 2px solid var(--teal, #5ec4c4); outline-offset: 2px; }
body.fb .fb-bizsw-m { position: absolute; z-index: 1040; top: calc(100% + 6px); left: 0; right: 0; max-height: min(70vh, 520px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px; padding: 8px; background: #fff; color: var(--ink); border: var(--bw, 2px) solid var(--ink); border-radius: 12px; box-shadow: var(--sh-pop, 4px 4px 0 var(--ink)); }
body.fb .fb-bizsw-m form { margin: 0; }
body.fb .fb-bizsw-k { margin: 6px 8px 2px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.fb .fb-bizsw-o { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 0 !important; padding: 8px 10px !important; border: 0 !important; border-radius: 8px !important;
  background: transparent !important; color: var(--ink) !important; box-shadow: none !important; text-align: left; text-transform: none !important; letter-spacing: 0 !important; font: inherit; cursor: pointer; }
body.fb .fb-bizsw-o > span:first-child { flex: 1 1 auto; min-width: 0; }
body.fb .fb-bizsw-o b { display: block; font-size: 13.5px; font-weight: 700; }
body.fb .fb-bizsw-o small { display: block; font-size: 11.5px; color: var(--muted); }
body.fb button.fb-bizsw-o:hover, body.fb button.fb-bizsw-o:focus-visible { background: var(--seashell, #faf6f0) !important; }
body.fb .fb-bizsw-o.on { cursor: default; background: var(--seashell, #faf6f0) !important; }
body.fb .fb-bizsw-o .dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--teal, #5ec4c4); }
body.fb .fb-bizsw-o.off { cursor: default; opacity: .6; }
body.fb .fb-bizsw-l { margin: 6px 0 0; padding: 8px 10px 4px; border-top: 1px solid var(--line, #e5ded3); color: var(--ink) !important; font-size: 13px; font-weight: 700; text-decoration: underline; }
body.sidebar-collapsed .fb-bizsw { display: none; }
/* T5: the bell's Alerts panel, white like the Supplier Portal's, sliding from the right over the page. */
body.fb .drawer.fb-alerts { margin: 0; height: auto; max-height: none; width: min(440px, 100vw); padding: 0; background: #fff; border-left: var(--bw, 2px) solid var(--ink) !important; }
body.fb .fb-alerts .drawer-b { background: #fff; }
/* The basket drawer (<dialog id="drawer" class="drawer">, opened by app.js showModal()) shares the class with the Alerts panel, whose
   toned.css rule parks every .drawer off-screen until toned.js adds .on: on pages without the shop dock only the grey backdrop showed.
   The dialog is shown by its own [open] state instead (17 Nov 2026). */
body.fb dialog.drawer:not([open]) { display: none; }
body.fb dialog.drawer[open] { transform: none; transition: none; inset: 0 0 0 auto; height: 100%; max-height: 100vh; overflow-y: auto; }
body.fb dialog.drawer::backdrop { background: rgba(56,56,56,.45); }
body.fb .fb-alerts .alert { box-shadow: none; }
body.fb .fb-alerts .alert.t-act { box-shadow: var(--sh-pop, 3px 3px 0 var(--ink)); }
body.fb .fb-alerts .al-s { font-size: 12.5px; color: var(--muted); }
body.fb .fb-alerts .al-top .pill { flex: none; }
body.fb .fb-al-k { margin: 6px 2px 0; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
body.fb .fb-al-f { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.fb .fb-al-f form { margin: 0; }
body.fb .fb-al-f a:only-child { margin-left: auto; }

/* FB review 3: Ask Nouri panel and Help panel */
/* T3 Ask Nouri: slides in from the right over the page (views/fb/_nouri_panel.php, assistant.js); Wider widens it. */
body.fb .nq-scrim { position: fixed; inset: 0; z-index: 1065; background: rgba(56,56,56,.35); }
body.fb .nq { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1070; width: min(460px, 100vw); display: flex; flex-direction: column; background: #fff;
  border-left: var(--bw, 2px) solid var(--ink); transform: translateX(100%); transition: transform .22s var(--ease, ease), width .2s var(--ease, ease); }
body.fb .nq.on { transform: translateX(0); }
body.fb .nq.nq-wide { width: min(760px, 100vw); }
body.fb .nq[hidden] { display: none; }
body.nq-on { overflow: hidden; }
body.fb .nq-h { display: flex; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1.5px solid var(--line); }
body.fb .nq-t { flex: 1 1 auto; min-width: 0; }
body.fb .nq-t h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; }
body.fb .nq-t .fba-orb { width: 28px; height: 28px; font-size: 13px; }
body.fb .nq-t p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
body.fb .nq-a { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; }
body.fb .nq-a .btn { white-space: nowrap; }
body.fb .nq-x { width: 34px; padding: 0 !important; border-radius: 50% !important; display: inline-flex; align-items: center; justify-content: center; }
body.fb .nq-log { flex: 1; min-height: 0; max-height: none; overflow-y: auto; padding: 14px 16px; background: var(--seashell); }
body.fb .nq-log .msg { border: 0; border-radius: 14px; background: #fff; max-width: 86%; }
body.fb .nq-log .msg.user { background: #fff; border: 1.5px solid var(--ink); border-bottom-right-radius: 4px; }
body.fb .nq-log .msg.assistant { border: 1.5px solid var(--line); border-bottom-left-radius: 4px; }
body.fb .nq-log .msg.system { background: var(--att-bg, #fde8d8); }
body.fb .nq-log .msg .who { font-family: var(--mono); color: var(--muted); font-size: 10.5px; }
body.fb .nq-placed { align-self: center; margin: 0; padding: 8px 12px; border-radius: 12px; background: var(--ok-bg, #e3f3d8); font-weight: 600; }
body.fb .nq-confirm { margin: 0; padding: 12px 16px; border-top: 1.5px solid var(--line); background: #fff; }
body.fb .nq-confirm h3 { margin: 0 0 6px; font-size: 16px; }
body.fb .nq-confirm ul { margin: 0 0 6px; padding-left: 18px; font-size: 13.5px; }
body.fb .nq-confirm p { margin: 0 0 8px; font-size: 13.5px; }
body.fb .nq-cacts { display: flex; flex-wrap: wrap; gap: 8px; }
body.fb .nq-qp { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; border-top: 1px solid var(--hair); }
body.fb .nq button.nq-chip { min-height: 0 !important; height: auto !important; padding: 5px 12px !important; border: 1.5px solid var(--line) !important; border-radius: 999px !important; background: #fff !important;
  color: var(--ink) !important; box-shadow: none !important; font-family: inherit !important; font-size: 12.5px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; line-height: 1.3 !important; }
body.fb .nq button.nq-chip:hover, body.fb .nq button.nq-chip:focus-visible { border-color: var(--ink) !important; }
body.fb .nq button.nq-chip.nq-sugg { background: var(--shell2) !important; }
body.fb .nq-form { margin: 0; padding: 10px 16px 0; }
body.fb .nq-row { display: flex; align-items: flex-end; gap: 8px; }
body.fb .nq-row textarea { flex: 1; min-height: 44px; resize: vertical; }
body.fb .nq-status { margin: 4px 0 0; min-height: 1.2em; font-size: 12.5px; }
body.fb .nq-more { padding: 6px 16px 14px; font-size: 13px; }
body.fb .nq-more summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
body.fb .nq-more form { margin: 8px 0 0; }
body.fb .nq-up { display: grid; gap: 4px; }
body.fb .nq-up button { justify-self: start; margin-top: 4px; }
body.fb .nq-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.fb .nq-lang select { width: auto; }
body.fb .nq-acts { display: flex; flex-wrap: wrap; gap: 8px; }
body.fb .nq-acts form { margin: 8px 0 0; }
@media (max-width: 575.98px) {
  body.fb .nq, body.fb .nq.nq-wide { width: 100vw; border-left: 0; }
  body.fb .nq-wide-b { display: none; }
  body.fb .nq-h { flex-wrap: wrap; }
  body.fb .nq-a { width: 100%; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { body.fb .nq { transition: none; } }

/* T14 Help on every page: a disclosure at the top of the page without script; app.js moves it under the page header and
   puts the Help button in the header's actions. The status key uses the portal's own pill tones (act, att, ok, plain). */
body.fb .fbh { margin: 0 0 16px; }
body.fb .fbh:not(.fbh-js) > .fbh-sum { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; float: right; }
body.fb .fbh:not(.fbh-js) > .fbh-sum::-webkit-details-marker { display: none; }
body.fb .fbh:not(.fbh-js)::after { content: ""; display: block; clear: both; }
body.fb .fbh.fbh-js > .fbh-sum { display: none; }
body.fb .fbh:not([open]) { margin: 0; }
/* Product page (no page header): Help sits at the end of the breadcrumb line instead of on a row of its own (17 Nov 2026). */
body.fb nav.fbh-crumb { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
body.fb nav.fbh-crumb .crumb { margin: 0; }
body.fb nav.fbh-crumb + .fbh[open] { margin-bottom: 16px; }
body.fb .fbh-p { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; margin: 8px 0 0; padding: 18px 20px; border: var(--bw, 2px) solid var(--ink); }
body.fb .fbh.fbh-js .fbh-p { margin-top: 0; }
body.fb .fbh-h { margin: 0 0 10px; font-size: 16px; }
body.fb .fbh-pts { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.fb .fbh-pts li { padding: 10px 12px; border-radius: 10px; background: var(--shell2); font-size: 13.5px; line-height: 1.45; }
body.fb .fbh-key { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
body.fb .fbh-nouri { display: inline-flex; align-items: center; gap: 6px; }
body.fb .fbh-art { margin: 10px 0 0; font-size: 13.5px; }
body.fb .ph-a .btn.fbh-btn.on, body.fb .ph-a .btn.fbh-btn.on:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
@media (max-width: 767.98px) { body.fb .fbh-p { grid-template-columns: 1fr; gap: 14px; padding: 14px; } }
@media print { body.fb .fbh, body.fb .nq, body.fb .nq-scrim { display: none !important; } }

/* FB review 3: top bar, search, basket, profile */
body.fb .suggest .sugg-grp { list-style: none; margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line, #e6e2dc); }
body.fb .suggest .sugg-grp ul { list-style: none; margin: 0; padding: 0; }
body.fb .suggest .sugg-h { display: block; padding: 2px .6rem 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
body.fb .suggest i.thumb { display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
body.fb .fb-bbtn .lg { white-space: nowrap; }
body.fb .fb-bbtn .n { white-space: nowrap; font-variant-numeric: tabular-nums; }
body.fb .fb-found { display: grid; gap: 12px; margin: 0 0 14px; }
body.fb .fb-found-s { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.fb .fb-found-g { padding: 12px 14px; }
body.fb .fb-found-g .card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 6px; }
body.fb .fb-found-g h2 { font-size: 15px; margin: 0; }
body.fb .fb-found-l { list-style: none; margin: 0; padding: 0; }
body.fb .fb-found-l a { display: grid; grid-template-columns: 22px minmax(90px, auto) 1fr auto; gap: 10px; align-items: center; padding: 8px 4px; border-top: 1px solid var(--line, #e6e2dc); color: var(--ink) !important; text-decoration: none; }
body.fb .fb-found-l li:first-child a { border-top: 0; }
body.fb .fb-found-l a:hover { background: var(--seashell); }
body.fb .fb-found-l span:not(.num) { color: var(--muted); font-size: 13px; }
body.fb .fb-found-p { font-size: 15px; margin: 4px 0 0; }
body.fb .fb-prof-f { display: grid; gap: 6px; max-width: 420px; }
body.fb .fb-prof-f button { justify-self: start; margin-top: 8px; }
body.fb .fb-prof-f input[readonly] { background: var(--seashell); }
@media (max-width: 767.98px) {
  body.fb .fb-found-l a { grid-template-columns: 22px 1fr auto; }
  body.fb .fb-found-l span:not(.num) { grid-column: 2 / -1; }
}
/* Two-step sign-in on Your profile and sign-in (FB review S3) */
body.fb .fb-2step { margin-top: 16px; }
body.fb .fb-2step .card-h { display: flex; align-items: center; gap: 10px; }
body.fb .fb-2step .fb-prof-f, body.fb .fb-2step .lg-codes, body.fb .fb-2step .lg-steps, body.fb .fb-2step .callout { margin-top: 12px; }
body.fb .fb-2step .lg-codes { max-width: 420px; }
/* Team and approvals: the business-wide two-step switch */
body.fb .fba-2step-f { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }

/* Reviews (Nov 2026): the shared rv- styles are in the customer app.css; these fit them to the food business shell. */
body.fb .rv-mine { background: var(--shell2, #f7f3ee); }
body.fb .rv-prod .card-h, body.fb .rv-list .btn { flex-wrap: wrap; }
body.fb .fo-l-acts .rv-rate .rv-st { font-size: .85em; }

/* FB review 6 SP5: the sponsored suggestion under Nouri's picks (chat page and Ask Nouri panel). */
body.fb .fba-sp { margin: 10px 0 0; padding: 10px 12px; border: 1.5px dashed var(--teal-d, #2e8f8f); border-radius: 10px; font-size: 13px; }
body.fb .fba-sp p { margin: 0; }
body.fb .fba-sp .fbsp-lbl { background: var(--teal, #5ec4c4); color: var(--ink, #2a2a2a); font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }

/* Home: the welcome banner (fb/_welcome_banner.php) */
.fb-welcome { position: relative; display: flex; gap: 16px; align-items: flex-start; margin: 0 0 18px; padding: 20px 22px; background: #fff;
  border: var(--bw, 2px) solid var(--ink); border-left: 10px solid var(--pink); border-radius: 16px; box-shadow: 4px 4px 0 var(--pink); }
.fb-welcome-b { flex: 1; min-width: 0; }
.fb-welcome-k { margin: 0 0 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fb-welcome-k i { color: var(--pink); }
body.fb .fb-welcome h2 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.fb-welcome-m { margin: 0 0 12px; max-width: 70ch; }
.fb-welcome-a { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fb-welcome-x { margin: 0; }
.fb-welcome-x .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--ink); cursor: pointer; }
.fb-welcome-x .btn-icon:hover { border-color: var(--ink); }
@media (max-width: 600px) { .fb-welcome { padding: 16px; } body.fb .fb-welcome h2 { font-size: 19px; } }

/* Checkout: the delivery date picker per supplier (fb/basket.php, POST /basket/delivery-date) */
.fbs-ddate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 6px 0 2px; }
.fbs-ddate label { margin: 0; font-weight: 700; font-size: 13px; }
.fbs-ddate select { width: auto; max-width: 100%; min-height: 38px; }
