.fb-body {
  --fb-accent:#bb315e;
  --fb-border:#e5e3e6;
  --fb-ink:#191d28;
  --fb-muted:#5f6270;
  min-width:0;
  color:var(--fb-ink);
  font-size:13px;
}
.fb-columns { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:20px; align-items:start; }
.fb-right,.fb-right [data-fb-validation] { display:grid; gap:16px; min-width:0; }
.fb-card { min-width:0; padding:18px 20px 20px; background:var(--surface,#fff); border:1px solid var(--fb-border); border-radius:17px; }
.fb-body h2 { margin:0; font-size:16px; line-height:1.4; letter-spacing:-.04em; font-weight:700; color:inherit; }
.fb-head h2 { flex:none; white-space:nowrap; }
.fb-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.fb-body button { font-family:inherit; cursor:pointer; }
.fb-body button:disabled { cursor:default; opacity:.48; }
.fb-body :is(input,button):focus-visible { outline:2px solid var(--fb-accent); outline-offset:2px; }
.fb-body .fb-suggest { display:inline-flex; align-items:center; justify-content:center; gap:5px; border:1px solid #edcddd; background:#fbf1f7; color:#982659; border-radius:9px; font-size:12px; font-weight:650; padding:9px 12px; }
.fb-search { display:flex; align-items:center; gap:8px; border:1px solid var(--fb-border); border-radius:9px; padding:0 11px; height:40px; margin-top:12px; color:#aaaeb5; }
.fb-search input { border:0; outline:0; background:transparent; color:var(--fb-ink); min-width:0; width:100%; height:100%; font:inherit; }
.fb-search:focus-within { border-color:#c46b8e; }
.fb-search input:focus-visible { outline:0; }
.fb-search input::placeholder { color:#9597a1; }
.fb-filters,.fb-bulk { display:flex; flex-flow:row wrap; align-items:center; gap:7px; margin-top:12px; }
.fb-filters button,.fb-bulk button,.fb-footer button { display:inline-flex; align-items:center; justify-content:center; gap:5px; background:#fff; color:var(--fb-ink); font-weight:600; border:1px solid var(--fb-border); border-radius:99px; padding:7px 12px; line-height:1.35; font-size:12px; }
.fb-filters button:hover:not([aria-pressed=true]),.fb-bulk button:hover,.fb-footer button:not(:disabled):hover { background:#f8f5f8; }
.fb-filters button[aria-pressed=true],.fb-footer button.fb-primary { color:white; border-color:var(--fb-accent); background:var(--fb-accent); }
.fb-footer button.fb-primary:hover:not(:disabled) { background:#9c254e; }
.fb-products { margin-top:12px; max-height:700px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.fb-product { display:flex; gap:9px; align-items:center; padding:10px 6px; border-bottom:1px solid #efedef; cursor:pointer; }
.fb-product:hover { background:#fdf8fb; }
.fb-product.fb-picked { background:#fdf4f8; }
.fb-product.fb-blocked { opacity:.55; cursor:default; }
.fb-product > input { accent-color:var(--fb-accent); width:15px; height:15px; margin:0; flex:none; }
.fb-product-text { display:flex; flex:1; min-width:0; flex-direction:column; gap:3px; align-items:flex-start; }
.fb-product-text strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; font-size:13px; }
.fb-product-text small,.fb-product-price small { font-size:11px; color:var(--fb-muted); }
.fb-product-tags { display:flex; gap:4px; }
.fb-tag { display:inline-block; font-weight:600; color:#705b16; border-radius:12px; background:#fff7dc; padding:2px 6px; font-size:10px; }
.fb-tag.fb-conflict { background:#f2edf5; color:#746279; }
.fb-product-price { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:4px; font-size:13px; white-space:nowrap; }
.fb-product-price small { color:#218152; }
.fb-count { color:#505560; font-size:13px; display:block; margin-top:2px; }
.fb-body input[type=number] { color:var(--fb-ink); background:#fff; border:1px solid var(--fb-border); border-radius:7px; text-align:center; font:inherit; max-width:100%; }
.fb-config { display:flex; align-items:center; flex-wrap:wrap; gap:5px; color:#474d58; font-size:12px; margin:14px 0; }
.fb-config b,.fb-bulk b { font-weight:600; }
.fb-config input { width:56px; height:31px; font-weight:650 !important; }
.fb-config i { font-style:normal; color:#8c8f98; margin:0 3px; }
.fb-help { color:#9499a5; display:inline-flex; }
.fb-bulk { color:#525865; margin:15px 0; font-size:12px; }
.fb-bulk button { padding:6px 11px; font-size:11px; }
.fb-table-scroll { overflow-x:auto; min-width:0; }
.fb-table { width:100%; border-collapse:collapse; text-align:left; font-size:11px; }
.fb-table th { color:#58616c; white-space:nowrap; font-weight:600; background:#f7f7f9; padding:9px 6px; }
.fb-table th:first-child { border-radius:6px 0 0 6px; }
.fb-table th:last-child { border-radius:0 6px 6px 0; }
.fb-table td { max-width:190px; padding:8px 6px; vertical-align:middle; border-bottom:1px solid #eeeef1; }
.fb-table tbody:has(.fb-variant) { min-width:480px; }
.fb-table td:first-child > span { display:block; }
.fb-table td small { display:block; font-size:10px; color:#848793; margin-top:3px; line-height:1.45; }
.fb-table input[type=number] { width:52px; min-width:40px; height:28px; font-size:11px; appearance:textfield; -moz-appearance:textfield; }
.fb-table input::-webkit-inner-spin-button { appearance:none; }
.fb-table input[data-fb-input=price] { width:62px; }
.fb-table input[data-fb-input=discount] { width:42px; }
.fb-percent-input { display:flex; align-items:center; gap:1px; }
.fb-table .fb-empty,.fb-empty { text-align:center; padding:24px 10px; color:var(--fb-muted); font-size:13px; }
.fb-item-header div { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.fb-item-header td { background:#fcfafc; font-size:12px; padding:8px; }
.fb-item-header strong { flex:1; min-width:110px; }
.fb-item-header input[data-fb-input=product-discount] { width:80px; }
.fb-item-header label { color:#767783; font-size:10px; }
.fb-item-header label input { width:42px; }
.fb-delete,.fb-omitted button { color:#8d7784; padding:4px; line-height:1; border-radius:5px; }
.fb-delete:hover { background:#fae9ef; color:#a52053; }
.fb-show-all button { color:#9d2c60; padding:0; font-size:11px; font-weight:600; }
.fb-show-all span,.fb-omitted { color:#777d88; font-size:10px; }
.fb-positive { color:#138153; font-weight:600; }
.fb-negative { color:#bf3753; font-weight:600; }
.fb-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:6px 0 14px; }
.fb-summary div { border:1px solid #ece9ed; border-radius:8px; padding:8px 10px; }
.fb-summary small,.fb-summary strong { display:block; }
.fb-summary small { color:var(--fb-muted); font-size:10px; }
.fb-summary strong { font-size:13px; margin-top:4px; }
.fb-prices:has(.fb-empty) { min-height:307px; }
.fb-validation { min-height:289px; }
.fb-validation ul { display:grid; gap:8px; padding:0; margin:16px 0 0; list-style:none; }
.fb-validation li { display:flex; gap:9px; min-height:35px; align-items:center; font-size:13px; color:#515763; }
.fb-validation .fb-ok .icon { color:#259967; }
.fb-validation .fb-wait .icon { color:#c58c1d; }
.fb-validation .fb-neutral .icon { color:#9499a6; }
.fb-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:78px; padding:14px 20px; border:1px solid var(--fb-border); background:var(--surface,#fff); border-radius:17px; color:var(--fb-muted); }
.fb-footer > div { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.fb-footer button { padding:9px 14px; }
@media(max-width:1080px) {
  .fb-columns { grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:14px; }
  .fb-card { padding:16px; }
  .fb-head { gap:6px; }
  .fb-body .fb-suggest { padding:7px 8px; font-size:11px; }
  .fb-table:has(.fb-variant) { min-width:575px; }
}
@media(max-width:820px) {
  .fb-columns { grid-template-columns:minmax(0,1fr); }
  .fb-products { max-height:320px; }
  .fb-head { flex-wrap:nowrap; }
  .fb-footer { align-items:flex-start; flex-direction:column; }
}
@media(max-width:500px) {
  .fb-card { padding:14px; }
  .fb-head { flex-wrap:wrap; }
  .fb-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
