/* Belles Food Performance: sticky table from the published Google Sheet. */
.bb-sheet-root{display:grid;gap:13px;min-width:0;width:100%;color:var(--ink,var(--text,#291d23));padding:clamp(7px,1vw,18px)}
.bb-sheet-root *{box-sizing:border-box}
.bb-sheet-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}
.bb-sheet-top h2{font-size:clamp(21px,2.1vw,28px);margin:4px 0 6px}
.bb-sheet-top p{margin:0;max-width:700px;font-size:13px;line-height:1.5;color:var(--muted,#746570)}
.bb-sheet-eyebrow{color:#AF2447!important;font-weight:800;font-size:11px!important;letter-spacing:.08em}
.bb-sheet-open{padding:11px 15px;border-radius:9px;background:#AF2447;color:#fff!important;display:inline-flex;justify-content:center;align-items:center;font-size:13px;font-weight:800;text-decoration:none;min-height:44px;white-space:nowrap}
.bb-sheet-open:hover{filter:brightness(.92)}
.bb-sheet-controls{display:grid;grid-template-columns:minmax(145px,1fr) minmax(150px,1fr) minmax(180px,1.5fr) auto;gap:10px;align-items:end}
.bb-sheet-controls label{display:grid;gap:5px;color:var(--muted,#766671);font-size:12px;font-weight:700;min-width:0}
.bb-sheet-controls input,.bb-sheet-controls select{width:100%;min-width:0;min-height:43px;padding:9px 10px;border:1px solid var(--line,var(--stroke,#c8b3b9));border-radius:9px;background:var(--paper,var(--panel,#fff));color:var(--ink,var(--text,#292126));font:inherit;font-size:15px}
.bb-sheet-controls button{min-height:43px;border:1px solid var(--line,var(--stroke,#c8b3b9));border-radius:9px;background:var(--soft,var(--panel,#f9f1f3));color:var(--ink,var(--text,#292126));padding:9px 13px;font-size:13px;font-weight:750;cursor:pointer}
.bb-sheet-feedback{min-height:17px;font-size:11px;color:var(--muted,#766671);line-height:1.4}
.bb-sheet-context{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:5px 2px;font-size:11px;color:var(--muted,#766671)}
.bb-sheet-context span:first-child{font-weight:750}
.bb-sheet-window{width:100%;max-width:100%;max-height:min(72dvh,900px);min-height:310px;overflow:auto;position:relative;border:1px solid var(--line,var(--stroke,#d2bfc4));border-radius:11px;background:#fff;color:#2f252b;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.bb-sheet-window:focus-visible{outline:3px solid #AF2447;outline-offset:2px}
.bb-sheet-table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;table-layout:fixed;font-variant-numeric:tabular-nums}
.bb-sheet-table th,.bb-sheet-table td{padding:10px 12px;border-bottom:1px solid #eadfe2;border-right:1px solid #f1e9eb;font-size:12px;text-align:left;vertical-align:middle;white-space:nowrap;min-width:130px;max-width:250px}
.bb-sheet-table th{position:sticky;top:0;z-index:5;background:#ead4d9;color:#672339;font-weight:800;line-height:1.3;white-space:normal;min-height:46px;max-width:195px;box-shadow:0 2px 0 #d4a5b2}
.bb-sheet-table th.bb-sheet-sticky-col{z-index:10;left:0;background:#e8c5cf;min-width:205px;max-width:255px;box-shadow:2px 0 0 #c98b9c,0 2px 0 #d4a5b2}
.bb-sheet-table td.bb-sheet-sticky-col{position:sticky;left:0;z-index:4;max-width:255px;min-width:205px;font-weight:750;color:#38222d;background:#fff;box-shadow:2px 0 0 #e7c6d1;overflow-wrap:anywhere;white-space:normal;line-height:1.4}
.bb-sheet-table tbody tr:nth-child(even) td{background:#fdf8fa}
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-sticky-col{background:#fdf8fa}
.bb-sheet-table tbody tr:hover td{background:#fff0f4}
.bb-sheet-table tbody tr:hover td.bb-sheet-sticky-col{background:#fff0f4}
.bb-sheet-table td.bb-sheet-numeric{text-align:right}
.bb-sheet-empty{color:#b4a5a9}
.bb-sheet-status{border:1px dashed var(--line,var(--stroke,#dcccd0));background:var(--paper,var(--panel,#fff));border-radius:12px;padding:30px 18px;text-align:center;font-size:14px;line-height:1.6}
.bb-sheet-status p{margin:6px 0 0}
.bb-sheet-footnote,.bb-sheet-notice{font-size:12px;color:var(--muted,#766671);line-height:1.5;margin:0}
.bb-sheet-footnote a{color:#AF2447;text-decoration:underline}
.bb-sheet-fallback{border-top:1px solid var(--line,var(--stroke,#dcccd0));padding-top:10px;font-size:12px;color:var(--muted,#766671)}
.bb-sheet-fallback summary{cursor:pointer;font-weight:750;color:var(--ink,var(--text,#342630))}
.bb-sheet-fallback p{line-height:1.45}
.bb-sheet-fallback iframe{border:1px solid var(--line,var(--stroke,#dcccd0));width:100%;min-height:600px}
@media(max-width:1000px){
 .bb-sheet-controls{grid-template-columns:1fr 1fr}
 .bb-sheet-controls label.bb-sheet-search{grid-column:1/2}
}
@media(max-width:600px){
 .bb-sheet-root{padding:2px;gap:10px}
 .bb-sheet-top{gap:9px}
 .bb-sheet-top h2{font-size:22px}
 .bb-sheet-open{width:100%}
 .bb-sheet-controls{grid-template-columns:1fr 1fr;gap:8px}
 .bb-sheet-controls label.bb-sheet-search{grid-column:1/-1}
 .bb-sheet-controls button{grid-column:1/-1}
 .bb-sheet-window{max-height:calc(100dvh - 355px);min-height:340px}
 .bb-sheet-table th,.bb-sheet-table td{padding:9px 9px;font-size:12px;min-width:120px;max-width:170px}
 .bb-sheet-table th.bb-sheet-sticky-col,.bb-sheet-table td.bb-sheet-sticky-col{min-width:137px;max-width:137px}
 .bb-sheet-table th{font-size:11px}
}

/* Bar & Kitchen → Information integration */
.gm-sheet-workspace{min-width:0;width:100%;padding:clamp(10px,1.6vw,24px);overflow:visible}
.gm-sheet-info-card{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 15px;padding:17px;background:var(--panel,#fff);border:1px solid var(--stroke,#ddd);border-radius:12px}
.gm-sheet-info-card strong{font-size:18px;font-weight:800;color:var(--text,#282128)}
.gm-sheet-info-card p{margin:6px 0 0;font-size:13px;color:var(--muted,#675e65);line-height:1.4}
.gm-sheet-info-card button{min-height:43px;border:0;border-radius:8px;background:#AF2447;color:#fff;padding:10px 17px;font-size:13px;font-weight:750;cursor:pointer}
.gm-folder-nav .gm-menu-tool-link.gm-sheet-info-link{display:block;text-align:left;width:calc(100% - 16px);margin:2px 8px 2px 8px;padding:9px 13px 9px 21px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.gm-folder-nav .gm-sheet-info-link.current,.gm-folder-nav .gm-sheet-info-link:hover{background:rgba(175,36,71,.15);color:#AF2447;font-weight:800}
@media(max-width:650px){.gm-sheet-workspace{padding:8px}.gm-sheet-info-card button{width:100%}}


/* Food Performance v2 — constrained scrolling surface with a persistent
   column scrollbar ABOVE the table and independently frozen first columns. */
#app.command-center-view .gm-work-area.gm-sheet-workspace{
 min-width:0;width:100%;max-width:100%;overflow-x:hidden;overflow-y:auto;
 padding:clamp(9px,1.4vw,22px);
}
#app.command-center-view .gm-chat-wrap:has(.gm-sheet-workspace){min-width:0;max-width:100%;overflow:hidden}
.gm-sheet-workspace .bb-sheet-root,
.owner-content--sheet .bb-sheet-root,
.bb-sheet-root [data-sheet-display]{
 min-width:0;max-width:100%;width:100%;overflow-x:hidden;
}
.bb-sheet-root .bb-sheet-controls{
 grid-template-columns:minmax(118px,1fr) minmax(118px,1fr) minmax(122px,.9fr) minmax(170px,1.3fr) auto;
 gap:8px;
}
.bb-sheet-horizontal-controls{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;
 align-items:center;gap:8px;width:100%;min-width:0;
 padding:9px 10px;background:#f8eff2;border:1px solid #e4cdd3;
 border-bottom:0;border-radius:11px 11px 0 0;
}
.bb-sheet-horizontal-controls button{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;
 background:white;color:#74273c;border:1px solid #d7acb9;
 border-radius:8px;padding:9px 12px;font-size:12px;font-weight:800;
 white-space:nowrap;min-height:38px;cursor:pointer;
}
.bb-sheet-horizontal-controls button:hover{background:#fff1f5}
.bb-sheet-horizontal-track{
 display:block;min-width:0;width:100%;height:22px;
 overflow-x:scroll;overflow-y:hidden;
 scrollbar-width:auto;scrollbar-color:#ad3555 #e9cfd7;
 background:#ead9de;border-radius:5px;touch-action:pan-x;
}
.bb-sheet-horizontal-track::-webkit-scrollbar{height:14px}
.bb-sheet-horizontal-track::-webkit-scrollbar-track{background:#ead9de;border-radius:7px}
.bb-sheet-horizontal-track::-webkit-scrollbar-thumb{background:#ad3555;border:2px solid #ead9de;border-radius:8px}
.bb-sheet-horizontal-spacer{height:1px;min-width:100%;pointer-events:none}
.bb-sheet-no-horizontal-overflow .bb-sheet-horizontal-track{opacity:.45}
.bb-sheet-window{
 --bb-sheet-first-width:202px;
 --bb-sheet-second-width:116px;
 max-width:100%;width:100%;
 max-height:min(68dvh,790px);min-height:310px;
 overflow:auto!important;overflow-x:auto!important;overflow-y:auto!important;
 border-radius:0 0 11px 11px;
 scrollbar-gutter:auto;touch-action:pan-x pan-y;cursor:grab;
 scrollbar-width:auto;scrollbar-color:#b0526d #f1e6e9;
}
.bb-sheet-window::-webkit-scrollbar{width:12px;height:14px}
.bb-sheet-window::-webkit-scrollbar-thumb{background:#bd7086;border:3px solid #f5edf0;border-radius:9px}
.bb-sheet-window::-webkit-scrollbar-track{background:#f3e9ec}
.bb-sheet-window.bb-sheet-dragging{cursor:grabbing;user-select:none}
.bb-sheet-table{width:max-content;min-width:100%;max-width:none;table-layout:fixed;border-collapse:separate;border-spacing:0}
.bb-sheet-table th,.bb-sheet-table td{
 box-sizing:border-box;width:158px;min-width:158px;max-width:158px;
 overflow-wrap:anywhere;
}
.bb-sheet-table tr> :first-child{
 width:var(--bb-sheet-first-width);min-width:var(--bb-sheet-first-width);
 max-width:var(--bb-sheet-first-width);
}
.bb-sheet-table tr> :nth-child(2){
 width:var(--bb-sheet-second-width);min-width:var(--bb-sheet-second-width);
 max-width:var(--bb-sheet-second-width);
}
.bb-sheet-table th{position:sticky;top:0;z-index:12;box-shadow:0 2px 0 #d4a5b2}
.bb-sheet-table th.bb-sheet-sticky-col{z-index:17}
.bb-sheet-table td.bb-sheet-sticky-col{z-index:8}
.bb-sheet-table th.bb-sheet-pin-1,
.bb-sheet-table td.bb-sheet-pin-1{left:0}
.bb-sheet-table th.bb-sheet-pin-2,
.bb-sheet-table td.bb-sheet-pin-2{left:var(--bb-sheet-first-width)}
.bb-sheet-table th.bb-sheet-pin-3,
.bb-sheet-table td.bb-sheet-pin-3{left:calc(var(--bb-sheet-first-width) + var(--bb-sheet-second-width))}
.bb-sheet-table th.bb-sheet-pin-1,
.bb-sheet-table td.bb-sheet-pin-1{
 width:var(--bb-sheet-first-width);min-width:var(--bb-sheet-first-width);
 max-width:var(--bb-sheet-first-width);
}
.bb-sheet-table th.bb-sheet-pin-2,
.bb-sheet-table td.bb-sheet-pin-2{
 width:var(--bb-sheet-second-width);min-width:var(--bb-sheet-second-width);
 max-width:var(--bb-sheet-second-width);
}
.bb-sheet-table th.bb-sheet-pin-3,
.bb-sheet-table td.bb-sheet-pin-3{
 background:#faeff3;box-shadow:2px 0 0 #d7a3b1;
}
.bb-sheet-table th.bb-sheet-pin-2{background:#ead4d9}
.bb-sheet-table td.bb-sheet-pin-2{background:white}
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-pin-2,
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-pin-3{background:#fdf8fa}
.bb-sheet-table th.bb-sheet-pin-3{background:#e8c5cf}
.bb-sheet-context{min-width:0;gap:9px;overflow-wrap:anywhere}
@media(max-width:1100px){
 .bb-sheet-root .bb-sheet-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bb-sheet-root .bb-sheet-controls label.bb-sheet-search{grid-column:1/-1}
}
@media(max-width:650px){
 .bb-sheet-window{--bb-sheet-first-width:144px;--bb-sheet-second-width:110px;max-height:calc(100dvh - 365px)}
 .bb-sheet-table th,.bb-sheet-table td{width:138px;min-width:138px;max-width:138px}
 .bb-sheet-horizontal-controls{padding:7px 6px;gap:5px}
 .bb-sheet-horizontal-controls button{padding:8px;min-width:42px;font-size:12px}
 .bb-sheet-horizontal-controls button span{display:none}
 .bb-sheet-root .bb-sheet-controls{gap:7px}
}

/* Bar & Kitchen Information is a real folder, never an eager sidebar tree. */
.gm-kitchen-info-tools{width:100%;max-width:1100px;margin:0 auto 22px;display:grid;gap:16px}
.gm-kitchen-info-intro h2{margin:0 0 7px;font-size:clamp(21px,2.2vw,28px);color:var(--text,#2d2027)}
.gm-kitchen-info-intro p,.gm-kitchen-info-note{font-size:13px;line-height:1.55;color:var(--muted,#7a656e);margin:0}
.gm-kitchen-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gm-kitchen-info-tile{
 display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:208px;
 padding:23px 22px;text-align:left;background:var(--panel,#fff);
 border:1px solid var(--stroke,#e0c5ce);border-radius:17px;color:var(--text,#30242a);
 box-shadow:0 2px 10px #00000008;cursor:pointer;transition:border-color .15s,transform .15s;
}
.gm-kitchen-info-tile:hover{transform:translateY(-2px);border-color:#AF2447}
.gm-kitchen-info-tile:focus-visible{outline:3px solid #AF2447;outline-offset:3px}
.gm-kitchen-tile-icon{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;background:#AF244715;color:#AF2447;font-size:24px}
.gm-kitchen-info-tile strong{font-size:clamp(18px,2vw,22px);font-weight:800}
.gm-kitchen-info-tile>span:not(.gm-kitchen-tile-icon):not(.gm-kitchen-tile-open){font-size:13px;line-height:1.5;color:var(--muted,#73606a)}
.gm-kitchen-tile-open{margin-top:auto;font-size:13px;color:#AF2447;font-weight:800}
.gm-kitchen-info-note{border-top:1px solid var(--stroke,#e1d0d7);padding-top:13px}
@media(max-width:720px){
 .gm-kitchen-info-grid{grid-template-columns:1fr}
 .gm-kitchen-info-tile{min-height:160px;padding:18px}
}

/* Food Performance v3: slimmer column control and clearly named worksheet tabs. */
.bb-sheet-current{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);align-items:center;gap:10px 22px;padding:13px 16px;border:1px solid #e7cbd3;border-left:4px solid #AF2447;border-radius:10px;background:#f9eef1;max-width:100%}
.bb-sheet-current-heading{display:grid;gap:4px}
.bb-sheet-current-heading span{font-size:10px;letter-spacing:.08em;font-weight:800;color:#91475c}
.bb-sheet-current-heading strong{font-size:clamp(16px,1.6vw,21px);font-weight:850;line-height:1.25;color:#66283b}
.bb-sheet-current p{margin:0;font-size:12px;line-height:1.55;color:#5e4650}
.bb-sheet-horizontal-controls{padding:3px 8px;gap:7px;background:#fbf5f7}
.bb-sheet-horizontal-controls button{min-height:28px;padding:3px 9px;font-size:11px;border-radius:6px}
.bb-sheet-horizontal-track{height:12px;background:#e9dfe3;border-radius:6px;scrollbar-width:thin;scrollbar-color:#ac657b #e9dfe3}
.bb-sheet-horizontal-track::-webkit-scrollbar{height:8px}
.bb-sheet-horizontal-track::-webkit-scrollbar-track{background:#e9dfe3;border-radius:5px}
.bb-sheet-horizontal-track::-webkit-scrollbar-thumb{background:#ac657b;border:1px solid #e9dfe3;border-radius:5px}
.bb-sheet-tabbar{display:flex;align-items:center;gap:11px;min-width:0;width:100%;padding:8px 10px 6px;background:#f7e8ec;border:1px solid #e3c7d0;border-radius:0 0 11px 11px;position:sticky;bottom:0;z-index:18;box-shadow:0 -3px 12px #53233014}
.bb-sheet-tabbar-label{flex:none;display:block;font-size:10px;letter-spacing:.09em;font-weight:850;color:#7e3b50}
.bb-sheet-tabstrip{display:flex;flex:1;align-items:center;gap:5px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#b98090 transparent;padding:2px 3px 6px;scroll-snap-type:x proximity}
.bb-sheet-tabstrip button{display:inline-flex;align-items:center;justify-content:center;flex:none;scroll-snap-align:start;border:1px solid #e2bdc8;border-radius:7px 7px 4px 4px;background:#fff;color:#6e4350;padding:8px 11px;min-height:36px;min-width:max-content;font-size:12px;font-weight:750;cursor:pointer;white-space:nowrap}
.bb-sheet-tabstrip button[aria-selected="true"]{border-color:#AF2447;background:#AF2447;color:#fff;box-shadow:inset 0 -3px 0 #782138}
.bb-sheet-tabstrip button:focus-visible{outline:2px solid #AF2447;outline-offset:2px}
.bb-sheet-tabstrip button:hover:not([aria-selected="true"]){background:#fcecf1;border-color:#c98198}
@media(max-width:650px){
 .bb-sheet-current{grid-template-columns:1fr;gap:7px;padding:11px 12px}
 .bb-sheet-current-heading strong{font-size:17px}
 .bb-sheet-current p{font-size:12px}
 .bb-sheet-horizontal-controls{padding:3px 5px;gap:5px}
 .bb-sheet-horizontal-controls button{min-height:28px;min-width:32px;padding:3px 7px}
 .bb-sheet-horizontal-track{height:12px}
 .bb-sheet-tabbar{gap:7px;padding:7px 6px 3px}
 .bb-sheet-tabstrip button{padding:8px 9px;font-size:11px;min-height:36px}
}

.bb-sheet-current .bb-sheet-tab-discovery-note{
 grid-column:1/-1;margin:0;padding-top:8px;border-top:1px solid #e0c4cc;
 font-size:12px;line-height:1.5;color:#783a4d;
}

/* Show all of Google's published worksheets when the custom manifest only
   exposes one gid. The original workbook is kept intact, not re-created. */
.bb-sheet-tabstrip .bb-sheet-all-tab{background:#fff7ee;border-color:#c996a4;color:#722c42;font-weight:850}
.bb-sheet-tabstrip .bb-sheet-all-tab[aria-selected="true"]{background:#af2447;color:#fff;border-color:#af2447}
.bb-sheet-native-note{background:#f9eef1;border:1px solid #e3c4ce;border-bottom:0;border-radius:10px 10px 0 0;padding:11px 14px;color:#65384a;font-size:12px;line-height:1.55}
.bb-sheet-native-workbook{display:block;width:100%;height:min(74dvh,950px);min-height:520px;border:1px solid #e3c4ce;border-radius:0 0 10px 10px;background:#fff}
@media(max-width:650px){.bb-sheet-native-workbook{height:calc(100dvh - 355px);min-height:470px}.bb-sheet-native-note{padding:9px 10px}}

/* Belles brand finish: cream, brown and ONLY the approved #AF2447 pink.
   Neutral surfaces replace the assortment of unrelated mauve and rose shades. */
.bb-sheet-current{
  background:var(--paper,#FFF9F1);
  border-color:var(--line,#C3B5A1);
  border-left-color:#AF2447;
}
.bb-sheet-current-heading span,
.bb-sheet-tabbar-label{color:#AF2447}
.bb-sheet-current-heading strong,
.bb-sheet-current p,
.bb-sheet-context{color:var(--ink,#41291F)}
.bb-sheet-horizontal-controls,
.bb-sheet-tabbar{
  background:var(--paper,#FFF9F1);
  border-color:var(--line,#C3B5A1);
}
.bb-sheet-horizontal-controls button,
.bb-sheet-tabstrip button,
.bb-sheet-tabstrip .bb-sheet-all-tab{
  background:#FFFDF8;
  color:var(--ink,#41291F);
  border-color:var(--line,#C3B5A1);
}
.bb-sheet-horizontal-controls button:hover,
.bb-sheet-tabstrip button:hover:not([aria-selected="true"]){
  background:#F2EBDD;
  color:var(--ink,#41291F);
  border-color:#AF2447;
}
.bb-sheet-tabstrip button[aria-selected="true"],
.bb-sheet-tabstrip .bb-sheet-all-tab[aria-selected="true"]{
  background:#AF2447;
  border-color:#AF2447;
  color:#FFFFFF;
  box-shadow:none;
}
.bb-sheet-horizontal-track,
.bb-sheet-horizontal-track::-webkit-scrollbar-track,
.bb-sheet-window::-webkit-scrollbar-track{
  background:#F2EBDD;
}
.bb-sheet-horizontal-track,
.bb-sheet-window,
.bb-sheet-tabstrip{
  scrollbar-color:#AF2447 #F2EBDD;
}
.bb-sheet-horizontal-track::-webkit-scrollbar-thumb,
.bb-sheet-window::-webkit-scrollbar-thumb{
  background:#AF2447;
  border-color:#F2EBDD;
}
.bb-sheet-table th,
.bb-sheet-table th.bb-sheet-pin-2,
.bb-sheet-table th.bb-sheet-pin-3,
.bb-sheet-table th.bb-sheet-sticky-col{
  background:#F2EBDD;
  color:var(--ink,#41291F);
  border-color:#C3B5A1;
  box-shadow:0 2px 0 #C3B5A1;
}
.bb-sheet-table th.bb-sheet-sticky-col{
  box-shadow:2px 0 0 #AF2447,0 2px 0 #C3B5A1;
}
.bb-sheet-table td,
.bb-sheet-table td.bb-sheet-pin-2,
.bb-sheet-table td.bb-sheet-pin-3,
.bb-sheet-table td.bb-sheet-sticky-col{
  background:#FFFDF8;
  color:#41291F;
  border-color:#E8DAC7;
  box-shadow:none;
}
.bb-sheet-table td.bb-sheet-sticky-col{
  box-shadow:2px 0 0 #C3B5A1;
}
.bb-sheet-table tbody tr:nth-child(even) td,
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-pin-2,
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-pin-3,
.bb-sheet-table tbody tr:nth-child(even) td.bb-sheet-sticky-col{
  background:#F8F1E6;
}
.bb-sheet-table tbody tr:hover td,
.bb-sheet-table tbody tr:hover td.bb-sheet-sticky-col{
  background:#F1E6D6;
}
.bb-sheet-native-note{
  background:#F2EBDD;
  border-color:var(--line,#C3B5A1);
  color:#41291F;
}
.bb-sheet-current .bb-sheet-tab-discovery-note{
  border-color:var(--line,#C3B5A1);
  color:#41291F;
}
.bb-sheet-native-workbook{border-color:var(--line,#C3B5A1)}

/* Food Performance: prioritize the worksheet, not a stack of filters. */
.bb-sheet-primary-controls{display:grid;grid-template-columns:minmax(160px,250px) minmax(0,1fr);align-items:end;gap:10px;min-width:0;position:relative;z-index:30}
.bb-sheet-worksheet{display:grid;gap:5px;color:var(--muted,#766671);font-size:12px;font-weight:700;min-width:0}
.bb-sheet-worksheet select{min-width:0;width:100%;min-height:42px;border:1px solid var(--line,#C3B5A1);border-radius:9px;padding:8px 10px;font:700 14px/1.3 inherit;background:#FFF9F1;color:#3D241D;color-scheme:light}
.bb-sheet-options{min-width:0;position:relative}
.bb-sheet-options>summary{list-style:none;cursor:pointer;display:none;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:8px 12px;border:1px solid var(--line,#C3B5A1);border-radius:9px;background:#FFF9F1;color:#3D241D;font:700 13px/1.3 Inter,Arial,sans-serif}
.bb-sheet-options>summary::-webkit-details-marker{display:none}
.bb-sheet-options[open]>summary span:last-child{transform:rotate(180deg)}
.bb-sheet-primary-controls .bb-sheet-controls{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(120px,.8fr) minmax(150px,1.25fr) auto;gap:8px;align-items:end}
.bb-sheet-primary-controls .bb-sheet-controls label.bb-sheet-search{grid-column:auto}
.bb-sheet-primary-controls .bb-sheet-controls button{grid-column:auto}
.bb-sheet-primary-controls :is(input[type="search"],select){background:#FFF9F1!important;color:#3D241D!important;-webkit-text-fill-color:#3D241D!important;border-color:#C3B5A1!important;color-scheme:light;box-shadow:none}
.bb-sheet-primary-controls input[type="search"]::placeholder{color:#867366!important;opacity:1}
.bb-sheet-primary-controls select option{background:#FFF9F1;color:#3D241D}
.bb-sheet-open-short{display:none}
@media(max-width:1000px) and (min-width:651px){
 .bb-sheet-primary-controls{grid-template-columns:minmax(150px,220px) minmax(0,1fr)}
 .bb-sheet-primary-controls .bb-sheet-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bb-sheet-primary-controls .bb-sheet-controls label.bb-sheet-search{grid-column:1/2}
 .bb-sheet-primary-controls .bb-sheet-controls button{grid-column:2/3}
}
@media(max-width:650px){
 .bb-sheet-root{padding:0;gap:8px}
 .bb-sheet-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px}
 .bb-sheet-top>div{min-width:0}
 .bb-sheet-top .bb-sheet-eyebrow,.bb-sheet-top>div>p:not(.bb-sheet-eyebrow){display:none}
 .bb-sheet-top h2{font-size:20px;line-height:1.2;margin:0}
 .bb-sheet-open{width:auto;min-height:35px;padding:7px 9px;border:1px solid #C3B5A1;border-radius:8px;background:#FFF9F1;color:#AF2447!important;font-size:11px;line-height:1.25;white-space:nowrap}
 .bb-sheet-open-long{display:none}
 .bb-sheet-open-short{display:inline}
 .bb-sheet-primary-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
 .bb-sheet-worksheet{font-size:11px}
 .bb-sheet-worksheet select{min-height:41px;font-size:14px}
 .bb-sheet-options>summary{display:flex;min-height:41px;padding:8px 11px;font-size:12px;white-space:nowrap}
 .bb-sheet-options[open] .bb-sheet-controls{
  position:absolute;right:0;top:calc(100% + 7px);
  width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 190px);
  overflow-y:auto;overscroll-behavior:contain;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  background:#FFF9F1;border:1px solid #C3B5A1;border-radius:12px;
  padding:13px;z-index:60;box-shadow:0 14px 30px #25101135;
 }
 .bb-sheet-primary-controls .bb-sheet-controls label.bb-sheet-search{grid-column:1/-1}
 .bb-sheet-primary-controls .bb-sheet-controls button{grid-column:1/-1;min-height:38px}
 .bb-sheet-current{
  position:absolute!important;width:1px!important;height:1px!important;
  overflow:hidden!important;white-space:nowrap!important;clip-path:inset(50%)!important;
  padding:0!important;margin:0!important;border:0!important;
 }
 .bb-sheet-feedback{min-height:0;font-size:11px;line-height:1.3}
 .bb-sheet-tabbar{display:none!important}
 .bb-sheet-footnote{display:none}
 .bb-sheet-context{padding:2px 0;gap:5px;font-size:10px}
 .bb-sheet-horizontal-controls{padding:4px 5px;gap:5px}
 .bb-sheet-horizontal-controls button{min-height:30px;padding:5px 7px;font-size:11px}
 .bb-sheet-horizontal-track{height:12px}
 .bb-sheet-window{height:calc(100dvh - 355px);max-height:calc(100dvh - 355px);min-height:240px}
 .bb-sheet-native-workbook{height:calc(100dvh - 300px);min-height:290px}
 .bb-sheet-native-note{padding:7px 9px;font-size:11px}
}
@media(max-width:650px) and (max-height:660px){
 .bb-sheet-window{height:calc(100dvh - 315px);max-height:calc(100dvh - 315px);min-height:190px}
}

/* Keep the filter popover above the sheet instead of clipping at its container. */
.owner-content--sheet .bb-sheet-root,
.gm-sheet-workspace .bb-sheet-root{overflow:visible!important}
.bb-sheet-primary-controls{z-index:45}
.bb-sheet-worksheet select{font:inherit;font-size:14px;font-weight:700}
@media(max-width:650px){
 .bb-sheet-primary-controls .bb-sheet-options{z-index:61}
 .bb-sheet-options[open] .bb-sheet-controls{z-index:62}
}

/* Closed filter drawers must never reserve room, even under the custom grid rules. */
.bb-sheet-options:not([open])>.bb-sheet-controls{display:none!important}
@media(max-width:390px){
 .bb-sheet-primary-controls{grid-template-columns:minmax(0,1fr)}
 .bb-sheet-options>summary{justify-content:space-between;min-height:35px}
 .bb-sheet-options[open] .bb-sheet-controls{left:0;right:auto}
}
