/* Compact fuel builder, paired with the shared Be planner tokens. */
.fuel-workspace [hidden]{display:none!important}.fuel-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fuel-compact-heading{align-items:center;margin-bottom:14px}.fuel-compact-heading h2{margin:0}.fuel-workspace .mode-switch{display:flex;gap:4px;border:1px solid var(--line);padding:3px;border-radius:30px}.fuel-workspace .filter-chip{font:700 16px Quicksand,sans-serif;border:0;cursor:pointer;padding:7px 13px;background:transparent;color:var(--muted)}.fuel-workspace .filter-chip.active{background:var(--purple);color:#191919}.fuel-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.fuel-total{background:var(--paper);border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:14px;padding:14px 17px}.fuel-total:nth-child(2){border-top-color:var(--purple)}.fuel-total:nth-child(3){border-top-color:var(--green)}.fuel-total>span{display:block;font-size:16px;font-weight:700;margin-bottom:7px}.fuel-total>strong{display:block;font:700 27px/1.2 'Rethink Sans',sans-serif}.fuel-total strong small{font:400 16px Quicksand,sans-serif;color:var(--muted)}.fuel-total p{font-size:14px;margin:5px 0}.fuel-total>small{font-size:14px;color:var(--muted);line-height:1.6}.fuel-total progress{width:100%;height:7px;border:0;background:#222;accent-color:var(--green);border-radius:8px;margin:9px 0}.fuel-total progress::-webkit-progress-bar{background:#222;border-radius:8px}.fuel-total progress::-webkit-progress-value{background:var(--green);border-radius:8px}.fuel-subtabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding:0 0 8px;margin-bottom:12px}.fuel-subtabs button{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:9px 15px;font:700 14px Quicksand,sans-serif;cursor:pointer}.fuel-subtabs button[aria-selected=true]{background:#4d3e5b;color:#eadbfb}.fuel-workspace .field>span{font-size:16px;font-weight:700;display:block;margin-bottom:5px}.fuel-workspace .field{margin:0}.fuel-workspace .fields{gap:12px;margin:12px 0}.fuel-workspace .control{font:400 16px Quicksand,sans-serif;min-height:35px;padding:8px 10px}.fuel-target-settings{border:1px solid var(--line);border-radius:11px;padding:11px 14px;margin-bottom:12px;background:#292929}.fuel-target-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:16px;font-weight:700;list-style:none}.fuel-target-settings>summary::after{content:'+';font-size:21px;font-weight:400}.fuel-target-settings[open]>summary::after{content:'−'}.fuel-target-settings summary small{font-size:14px;font-weight:400;color:var(--muted);margin-left:auto}.fuel-target-settings p{margin:10px 0 0}.fuel-workspace .fuel-builder{padding:14px;margin-bottom:13px;overflow:visible}.fuel-search-wrap{position:relative;display:flex;gap:10px;align-items:center;margin-bottom:12px}.fuel-search-wrap>#fuelFoodSearch{flex:1;font-size:14px;padding:11px 13px}.fuel-search-wrap>.btn{flex-shrink:0}.fuel-search-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:40;background:#303030;border:1px solid #777;border-radius:12px;box-shadow:0 16px 40px #0009;max-height:350px;overflow:auto;padding:5px}.fuel-search-options>[role=option]{position:relative;display:block;width:100%;text-align:left;font-family:Quicksand,sans-serif;background:transparent;border:0;border-radius:8px;padding:10px 115px 10px 10px;color:var(--ink);cursor:pointer}.fuel-search-options>[role=option]:hover,.fuel-search-options>[role=option][aria-selected=true]{background:#4d3e5b}.fuel-search-options strong{font-size:16px}.fuel-search-options span{display:block;font-size:14px;color:var(--muted);margin-top:4px;line-height:1.5}.fuel-search-options small{position:absolute;right:12px;top:12px;border:1px solid #777;border-radius:20px;padding:3px 7px;font-size:14px;color:#d8c393}.fuel-search-empty{padding:15px;font-size:16px}.fuel-table-wrap{overflow:auto}.fuel-plan-table{border-collapse:collapse;width:100%;min-width:900px;table-layout:auto}.fuel-plan-table th{text-align:left;font:700 14px 'Rethink Sans',sans-serif;color:var(--muted);white-space:nowrap;padding:8px 7px;border-bottom:1px solid #606060}.fuel-plan-table td{vertical-align:middle;padding:9px 7px;border-bottom:1px solid #484848;font-size:16px;line-height:1.35}.fuel-plan-table td:first-child{min-width:180px;max-width:260px}.fuel-plan-table td:nth-child(2){width:100px}.fuel-plan-table td small{display:block;color:var(--muted);font-size:14px;line-height:1.5;margin-top:4px}.fuel-food-name{border:0;background:none;text-align:left;color:var(--ink);font:700 16px/1.5 Quicksand,sans-serif;padding:0;cursor:pointer}.fuel-food-name>span{font-weight:400;color:var(--purple);margin-left:5px}.fuel-qty-control{display:flex;align-items:center;gap:3px}.fuel-qty-control .control{width:44px;min-height:30px;padding:5px 2px;text-align:center;border-radius:7px;appearance:textfield}.fuel-qty-control input::-webkit-inner-spin-button{appearance:none}.fuel-qty-control button{width:22px;height:25px;border:1px solid #666;border-radius:6px;background:#292929;color:var(--ink);font-size:17px;cursor:pointer;padding:0}.fuel-plan-table .fuel-source-select{width:210px;max-width:100%;font-size:14px;min-height:31px;padding:6px 25px 6px 8px}.fuel-packed-input{display:flex;align-items:center;gap:4px;min-width:65px}.fuel-packed-input input{width:41px;text-align:center;appearance:textfield;min-height:30px;padding:4px}.fuel-plan-table .fuel-packed-input small{margin:0;white-space:nowrap}.fuel-course-confirm{font-size:14px;display:flex;gap:4px;align-items:center;min-width:75px}.fuel-course-confirm input{width:13px;height:13px;accent-color:var(--green)}.fuel-remove{font-size:20px;background:none;border:0;color:var(--peach);padding:2px 4px;cursor:pointer}.fuel-plan-table tfoot td,.fuel-plan-table tfoot th{background:#252525;border:0;padding-top:11px;padding-bottom:11px;font-weight:700}.fuel-plan-table .fuel-row-empty{padding:25px;text-align:center;color:var(--muted)}.fuel-plan-table sup{color:var(--gold);font-size:14px;margin-left:2px}.fuel-table-note{margin:10px 3px 0;font-size:14px;line-height:1.6}.fuel-row-detail>td{background:#242424;padding:14px}.fuel-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:12px}.fuel-label-nutrients{display:flex;flex-wrap:wrap;gap:12px 20px;grid-column:1/-1}.fuel-label-nutrients span{font-size:14px;color:var(--muted)}.fuel-label-nutrients strong{display:block;margin-top:4px;font-size:16px;color:var(--ink)}.fuel-row-detail p{font-size:14px;line-height:1.6;margin-bottom:0}.fuel-row-detail .btn{font-size:14px;padding:5px 8px;min-height:0;margin-left:8px}.fuel-workspace .fuel-needs-location{color:var(--gold)}.fuel-text-action{display:block;border:0;background:transparent;color:var(--gold);font:400 14px Quicksand,sans-serif;padding:3px 0;cursor:pointer}.fuel-intake-chart{padding:13px 15px!important;margin:0 0 12px}.fuel-intake-chart>summary{display:flex;justify-content:space-between;cursor:pointer;font-size:16px;font-weight:700}.fuel-intake-chart summary span{color:var(--muted);font-size:14px;font-weight:400}.fuel-intake-chart svg{width:100%;height:auto;display:block;min-height:125px;max-height:190px}.fuel-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0}.fuel-chart-toolbar p{font-size:14px;max-width:780px;margin:0;line-height:1.6}.fuel-chart-toolbar select{width:110px;flex-shrink:0}.fuel-chart-text{font:18px Quicksand,sans-serif;fill:#c4c4be}.fuel-chart-bar{fill:var(--purple)}.fuel-chart-fluid{fill:var(--green)}.fuel-chart-sodium{fill:var(--gold)}.fuel-target-line{stroke:#d6bc87;stroke-dasharray:5 4;stroke-width:1}.fuel-intake-chart>p{font-size:14px;margin:5px 0 0}.fuel-compact-review{font-size:16px}.fuel-compact-review li{margin:8px 0;line-height:1.5}.fuel-inline-status{font-size:16px;color:var(--gold)}.fuel-library{padding:18px!important}.fuel-library .subhead h3,.fuel-library .subhead h4{margin:0}.fuel-library .subhead p{margin:5px 0;font-size:14px}.fuel-library-group{margin-top:22px}.fuel-library-group>p{font-size:14px;margin:8px 0}.fuel-library-list article{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #484848}.fuel-library-list strong{font-size:16px}.fuel-library-list small{display:block;color:var(--muted);font-size:14px;margin-top:5px;line-height:1.5}.fuel-library-list .actions{gap:6px;flex-shrink:0}.fuel-library-list .btn{font-size:14px;padding:5px 9px;min-height:0}.fuel-food-form{padding:16px;background:#252525;border:1px solid #686868;border-radius:12px;margin:15px 0}.fuel-food-form .fields{grid-template-columns:repeat(3,minmax(0,1fr))}.fuel-food-form h4 small{font:400 11px Quicksand,sans-serif;color:var(--muted)}.fuel-food-form .check{font-size:14px}.fuel-food-form>p{font-size:14px}.fuel-workspace button:focus-visible,.fuel-workspace summary:focus-visible,.fuel-workspace select:focus-visible,.fuel-workspace [role=img]:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.fuel-workspace input:disabled{opacity:.5}
@media(max-width:700px){.fuel-overview{gap:7px}.fuel-total{padding:11px}.fuel-total>strong{font-size:24px}.fuel-total strong small{font-size:14px;display:block}.fuel-total p{font-size:16px}.fuel-total>small{font-size:14px}.fuel-total>span{font-size:14px}.fuel-compact-heading h2{font-size:24px}.fuel-workspace .fields,.fuel-food-form .fields{grid-template-columns:1fr 1fr}.fuel-builder{padding:10px!important}.fuel-search-options>[role=option]{padding-right:85px}.fuel-search-options small{right:6px;font-size:9px}.fuel-target-settings summary small{display:none}.fuel-detail-grid{grid-template-columns:1fr 1fr}.fuel-library-list article{align-items:flex-start;flex-direction:column;gap:9px}.fuel-library .subhead{flex-wrap:wrap;gap:10px}.fuel-chart-toolbar{align-items:flex-start}.fuel-intake-chart svg{min-height:95px}.fuel-source-select{width:190px!important}}
@media(max-width:420px){.fuel-total{padding:9px}.fuel-overview{gap:5px}.fuel-total>strong{font-size:22px}.fuel-total>small{font-size:9px}.fuel-search-wrap>.btn{font-size:14px;padding:8px}.fuel-search-wrap>#fuelFoodSearch{font-size:16px}.fuel-workspace .fields,.fuel-food-form .fields{grid-template-columns:1fr}.fuel-chart-toolbar p{font-size:14px}}
/* Compact spacing, standard Be text sizes. */
.fuel-workspace{font-size:16px}.fuel-workspace .footnote{font-size:14px;line-height:1.55}.fuel-workspace .control{font-size:16px;min-height:38px}.fuel-workspace .btn.small{font-size:14px;min-height:36px;padding:7px 11px}.fuel-workspace .field>span{font-size:14px}.fuel-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px}.fuel-total>div:first-child{min-width:0}.fuel-total span{font-size:14px;font-weight:700}.fuel-total div>strong{display:block;font:700 25px/1.3 'Rethink Sans',sans-serif;margin:5px 0}.fuel-total strong small{font-size:16px}.fuel-total div>small{font-size:14px;color:var(--muted);line-height:1.5}.fuel-total p{font-size:14px;margin:5px 0}.fuel-ring{width:80px;height:80px;position:relative;flex-shrink:0}.fuel-ring svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}.fuel-ring circle{fill:none;stroke-width:6}.fuel-ring-track{stroke:#1e1e1e}.fuel-ring-fill{stroke:var(--purple);stroke-linecap:round}.fuel-total:nth-child(2) .fuel-ring-fill{stroke:var(--green)}.fuel-total:nth-child(3) .fuel-ring-fill{stroke:var(--gold)}.fuel-ring>strong{position:absolute;inset:0;display:grid!important;place-items:center;font:700 17px 'Rethink Sans',sans-serif!important;margin:0!important}.fuel-plan-table{min-width:1040px}.fuel-plan-table th{font-size:14px;padding:9px 8px}.fuel-plan-table th span{color:var(--muted);font-weight:400}.fuel-plan-table td{font-size:16px;padding:8px}.fuel-plan-table td small,.fuel-table-note{font-size:14px}.fuel-food-name{font-size:16px}.fuel-qty-control .control{width:52px;font-size:16px}.fuel-qty-control button{width:28px;height:32px}.fuel-plan-table .fuel-source-select{font-size:16px;width:235px;min-height:38px}.fuel-packed-checkbox,.fuel-course-confirm input,.fuel-workspace input[type=checkbox]{width:20px;height:20px;accent-color:var(--green);cursor:pointer}.fuel-course-confirm{font-size:14px;gap:7px}.fuel-charts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.fuel-mini-chart{min-width:0;padding:12px;background:#242424;border:1px solid #4c4c4c;border-radius:10px}.fuel-mini-chart h4{font:700 17px 'Rethink Sans',sans-serif;margin:0 0 6px}.fuel-mini-chart h4 span{font:400 14px Quicksand,sans-serif;color:var(--muted)}.fuel-intake-chart .fuel-mini-chart svg{min-height:0;max-height:250px;display:block;width:100%;height:auto}.fuel-chart-text{font:18px Quicksand,sans-serif}.fuel-chart-protein{fill:var(--peach)}.fuel-label-nutrients span{font-size:14px}.fuel-label-nutrients strong{font-size:16px}.fuel-row-highlight{outline:2px solid var(--gold);outline-offset:-2px}.fuel-library-list strong{font-size:16px}.fuel-library-list small{font-size:14px}.fuel-library-group>p,.fuel-library .subhead p{font-size:14px}.fuel-food-form .check,.fuel-food-form>p{font-size:14px}.fuel-search-options strong{font-size:16px}.fuel-search-options span{font-size:14px}.fuel-search-options small{font-size:12px}.fuel-subtabs button,.fuel-workspace .filter-chip{font-size:16px}.fuel-target-settings>summary,.fuel-intake-chart>summary{font-size:16px}.fuel-target-settings summary small,.fuel-intake-chart summary span{font-size:14px}
@media(max-width:1150px){.fuel-charts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fuel-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.fuel-total{align-items:flex-start;flex-wrap:wrap}.fuel-ring{width:72px;height:72px}}
@media(max-width:760px){.fuel-overview{grid-template-columns:1fr}.fuel-total{flex-wrap:nowrap;align-items:center}.fuel-ring{width:80px;height:80px}.fuel-total div>strong{font-size:26px}.fuel-total div>small,.fuel-total span,.fuel-total p{font-size:14px}.fuel-workspace .fuel-source-select{width:235px!important}.fuel-workspace .fuel-builder{padding:12px!important}.fuel-search-wrap{flex-wrap:wrap}.fuel-search-wrap>#fuelFoodSearch{min-width:200px;font-size:16px}.fuel-search-wrap>.btn{font-size:14px}.fuel-detail-grid{grid-template-columns:1fr 1fr}.fuel-charts-grid{gap:10px}.fuel-mini-chart{padding:10px}.fuel-chart-text{font-size:20px}}
@media(max-width:520px){.fuel-charts-grid{grid-template-columns:1fr}.fuel-chart-text{font-size:18px}.fuel-detail-grid{grid-template-columns:1fr}.fuel-workspace .fuel-table-note{font-size:14px}}

/* Keep the wide nutrition table inside its own scroll area on narrow screens. */
.fuel-workspace{width:100%;min-width:0;max-width:100%;overflow-x:clip}
.fuel-workspace>[role=tabpanel],.fuel-workspace .fuel-builder,.fuel-workspace .fuel-library,.fuel-workspace .fuel-target-settings,.fuel-workspace [data-fuel-chart-wrap]{min-width:0;max-width:100%}
.fuel-workspace .fuel-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.fuel-workspace .fuel-overview,.fuel-workspace .fuel-total,.fuel-workspace .fuel-charts-grid,.fuel-workspace .fuel-chart-toolbar{min-width:0;max-width:100%}
.fuel-workspace .fuel-total>div:first-child,.fuel-workspace .fuel-library-list article>div:first-child{min-width:0;overflow-wrap:anywhere}
.fuel-workspace .fuel-subtabs{flex-wrap:wrap}
.fuel-workspace .fuel-chart-toolbar{flex-wrap:wrap}
.fuel-workspace .fuel-chart-toolbar>p{min-width:0;flex:1 1 220px}
.fuel-workspace .fuel-search-wrap>#fuelFoodSearch{min-width:0;max-width:100%;flex:1 1 180px}
.fuel-workspace .fuel-table-note,.fuel-workspace .fuel-library-list strong,.fuel-workspace .fuel-library-list small{overflow-wrap:anywhere}
@media(max-width:420px){.fuel-workspace .fuel-target-settings>summary,.fuel-workspace .fuel-intake-chart>summary{flex-wrap:wrap;gap:6px}.fuel-workspace .fuel-total{gap:8px}.fuel-workspace .fuel-ring{width:64px;height:64px}}
