:root{--active-color: #10b981;--clickable-color: #1865ae}*{font-size:14px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#333}body{margin:0}.app-container{display:flex;flex-direction:column;height:calc(var(--vh, 1vh) * 100);overflow:hidden}h2{margin-top:0;margin-bottom:10px;font-size:22px;text-align:center;font-weight:400}h3{margin-top:0;margin-bottom:5px;font-size:18px;font-weight:700}input{border:1px solid #ccc;padding:5px}input:focus{border-color:#666;outline:none}input[type=number]{max-width:50px;width:50px}input[type=checkbox]{width:20px;height:20px;margin:0;cursor:pointer}label{display:flex;align-items:center;gap:5px}.info-text{margin:5px 10px;font-style:italic}#id_page_navigation{flex-shrink:0;display:flex;justify-content:space-evenly;gap:68px;flex-wrap:nowrap;background-color:#f1f5f9;border-top:2px solid #e2e8f0;border-radius:0;padding:5px 10px;z-index:1000}.navigation-section{width:calc((100% - 68px)/2);max-width:calc((100% - 68px)/2);display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;overflow-x:auto}.select-pill-group{display:flex;gap:5px;flex-wrap:wrap}.select-pill{padding:8px 16px;border-radius:20px;background-color:transparent;color:#64748b;font-weight:600;cursor:pointer;border:2px solid transparent;position:relative;-webkit-user-select:none;user-select:none;border-color:#ccc}.select-pill-active{background:var(--active-color);color:#fff!important;border-color:#059669}.select-pill-active path,.select-pill-active rect{color:#fff!important}#id_page_navigation .select-pill-group{gap:0;display:flex;align-items:center;justify-content:space-between;width:100%;position:relative}#id_page_navigation .scan-button{width:58px;height:60px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a,inset 0 1px 2px #ffffff4d,inset 0 -1px 2px #0000000d;background:linear-gradient(135deg,#fffc,#f1f5f9e6);flex-shrink:0;position:absolute;left:50%;bottom:2px;transform:translate(-50%)}#id_page_navigation .select-pill{border-color:transparent;display:flex;align-items:center;padding:10px 8px;height:fit-content}.page-content{margin:5px;flex:1;display:flex;flex-direction:column;overflow-y:auto}.content-block{margin-bottom:20px}#id_bags_container{display:flex;flex-direction:column;flex:1;overflow:hidden}#id_bags_container .content-block{display:flex;flex-direction:column;flex:1;margin-bottom:0;overflow:hidden}.people-list-item{margin-bottom:8px;display:flex;align-items:center;justify-content:space-between}.people-list-item-buttons{display:flex;gap:8px}.resupply-select{padding:6px 10px;min-width:200px}table{width:100%;box-sizing:border-box;table-layout:fixed}td,th{padding:3px;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word}.settings-nutrition-table th:nth-child(2),.settings-nutrition-table th:nth-child(3),.settings-nutrition-table td:nth-child(2),.settings-nutrition-table td:nth-child(3){width:5.2em;white-space:nowrap}.settings-nutrition-table td:nth-child(2),.settings-nutrition-table td:nth-child(3){text-align:center}.settings-nutrition-table th:first-child,.settings-nutrition-table td:first-child{width:auto}.bag-header-section{flex-shrink:0;background-color:#fff;z-index:10;padding-bottom:10px}.bag-header-section-tail{display:flex;justify-content:space-between;align-items:flex-start;gap:5px;margin-top:5px;margin-bottom:-25px}.bag-header-section-tail-text{background-color:#fff;padding-right:5px;padding-bottom:5px}.selected-products-section{width:100%;box-sizing:border-box;flex:1;overflow-y:auto;overflow-x:hidden}.resupply-header{margin-bottom:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between}.meal-time-header{font-weight:600;padding:8px 0 4px;border-bottom:1px solid #e0e0e0;margin-bottom:4px}.selected-products-section .product-list-header+.meal-time-header{margin-top:-26px}.sort-dropdown-container{display:flex;align-items:center;gap:8px;margin-bottom:10px}.sort-dropdown-container select{padding:5px 10px;border-radius:4px;border:1px solid #ccc}.selected-products-row{display:flex;flex-direction:column;gap:5px}.selected-product-info{width:100%}.selected-product-controls{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.selected-product-controls>div{display:flex;flex-direction:row;align-items:center;gap:5px}.selected-product-controls input[type=number]{width:25px}.product-line-container{padding-top:2.5px;padding-bottom:2.5px}.product-line-container:nth-child(2n){background-color:#f6f6f6}.product-row-highlight{animation:product-row-highlight-fade 3s ease-out forwards}@keyframes product-row-highlight-fade{0%,67%{background-color:#ffecb3}to{background-color:transparent}}.product-line{display:flex;flex-direction:row;align-items:center;gap:5px}.product-caloric-density{width:30px;position:relative;text-align:center}.product-nutrition-code{font-weight:700;width:15px;position:relative;text-align:center}.product-list-header{padding-bottom:4px}.product-list-header div{font-weight:400;display:flex;flex-direction:row;align-items:flex-end;gap:5px}.product-list-header .rotated-90-container{height:40px;vertical-align:bottom}.rotated-90{position:absolute;bottom:0;left:calc(50% + 6px);transform:rotate(-90deg);transform-origin:bottom left;white-space:nowrap}.product-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button{background-color:var(--clickable-color);border:2px solid;border-color:#d3d3d3;padding:10px 18px;border-radius:10px;cursor:pointer;font-weight:600;color:#ededed}.hidden{display:none;visibility:hidden}.overlay{position:fixed;top:0;left:0;width:100%;min-height:100%;background-color:#00006480;z-index:9999;overflow-y:auto}.overlay-content{position:absolute;top:10px;left:10px;width:calc(100% - 20px);max-width:600px;background-color:#fff;padding:20px;border-radius:10px;box-shadow:0 0 10px #00000080;display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box}.overlay-content>div{width:100%}.overlay-content-centered{top:50%;left:50%;transform:translate(-50%,-50%);align-items:center;text-align:center}.welcome-overlay-title{margin:0 0 .5em}.welcome-overlay-prompt{margin:0 0 1em}.welcome-trailname-input{text-align:center}.x-button{width:25px;height:25px;padding:0}.product-menu-container{position:relative;flex-shrink:0;margin-left:auto}.product-menu-button{width:30px;height:30px;padding:5px;background-color:transparent;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center}.product-menu-button:hover{background-color:#f0f0f0}.product-menu-overlay{position:absolute;bottom:0;right:25px;margin-bottom:4px;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:100;width:max-content;white-space:nowrap;box-sizing:border-box;padding:5px;display:flex;flex-direction:column;align-items:center;gap:5px}.selected-products-section [data-first-product-row] .product-menu-overlay{top:0;bottom:auto;margin-top:4px;margin-bottom:0}.product-menu-item{display:block;width:100%;text-align:left;border:none;border-radius:0;background-color:transparent;cursor:pointer;font-weight:400;box-sizing:border-box}.product-menu-dropdown{cursor:default}.product-menu-dropdown:hover{background-color:transparent}.product-menu-item.delete-button{color:#c30000}.product-menu-select{padding:6px 8px;border:1px solid #ccc;border-radius:4px;font-size:14px;background-color:#fff;cursor:pointer;box-sizing:border-box}.product-menu-select:focus{outline:none;border-color:var(--clickable-color)}.overlay-content .close-button{position:absolute;top:10px;right:10px}#id_product_quantity_confirmation{display:flex;flex-direction:column;align-items:flex-start}.section:not(:last-of-type){margin-bottom:15px}.highlighted{outline:2px solid #f59e0b;outline-offset:-1px}.highlighted.shake{animation:shake .5s ease-in-out}.pill-counter-disabled .pill-counter{opacity:.5}.pill-counter-disabled .pill-counter-buttons>div{cursor:default}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-4px)}20%,40%,60%,80%{transform:translate(4px)}}.form-row{display:flex;flex-direction:row;align-items:center}.form-row:not(:last-child){margin-bottom:5px}.form-row>label{margin-right:10px}.form-row:not(.form-row-centered)>input,.form-row:not(.form-row-centered)>select{flex:1 1 auto;margin-left:auto}.form-row.checkbox-label input[type=checkbox]{flex:0 0 auto}.form-row.checkbox-label .checkbox-label-text{flex:1 1 auto}.form-row>.form-input-right{flex:1 1 auto;display:flex;justify-content:flex-end;align-items:center}.form-row-as-column{flex-direction:column;align-items:flex-start;gap:5px}.form-input-centered{width:100%;flex:1 1 auto;display:flex;justify-content:center;align-items:center}.form-row-input-with-unit{gap:5px}.form-row-input-with-unit input{flex:1 1 auto;min-width:0}.form-row-input-with-unit select{flex:0 0 auto}.form-row.form-row-indented{padding-left:15px}.centered{display:flex;justify-content:center;align-items:center;text-align:center}.full-width{width:100%}.product_quantity_confirmation{margin-top:-5px;justify-content:flex-end}.day-counter-outer-container{display:flex;flex-direction:row;align-items:center}.pill-counter-container{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;gap:5px}.pill-counter-container-with-labels{display:flex;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:5px}.pill-counter-with-label{display:flex;flex-direction:column;align-items:center;gap:5px;align-self:center}.pill-counter{display:flex;width:25px;height:50px;flex-direction:column;align-items:center;justify-content:center;background-color:transparent;position:relative;border:.75px solid;border-radius:5px}.pill-counter.pill-counter-checkbox{height:unset;width:unset;border:none}.pill-counter-buttons{position:absolute;top:0}.pill-counter .pill-counter-increase,.pill-counter .pill-counter-decrease{width:25px;height:25px;background-color:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}.pill-counter-increase{vertical-align:bottom;margin-top:-2px}.pill-counter-decrease{vertical-align:top;margin-top:2px}.pill-counter-count{width:25px;height:25px;display:flex;flex-direction:column;align-items:center;justify-content:center}.collapsed .pill-counter{height:25px}.collapsed .pill-counter-buttons{visibility:hidden}.pill-counter-checkbox{justify-content:center;align-items:center}.pill-counter-denominator{display:flex;flex-direction:column;align-items:center}.pill-counter-denominator-disabled{opacity:.5}#id_product_upc_input_container{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}#id_product_upc_input_container input{width:150px}.product-history-container{max-height:200px;overflow-y:auto;border:1px solid rgb(211,211,211);border-radius:4px;padding:4px}#id_product_history_filter_container input{width:100%;max-width:100%}.product-history-line{padding:8px;cursor:pointer;border-bottom:1px solid rgb(240,240,240);display:flex;justify-content:space-between;align-items:center}.product-history-line:hover{background-color:#f5f5f5}.product-history-line:last-child{border-bottom:none}.product-history-line button{flex-shrink:0}#id_barcode_scanner{aspect-ratio:4 / 3;width:100%;border:2px solid;border-color:#d3d3d3;position:relative}#id_barcode_scanner_placeholder_text{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#999}#id_barcode_scanner canvas,#id_barcode_scanner video{width:100%;height:100%;object-fit:contain;position:absolute;top:0;left:0}#id_barcode_scanner_svg_container{min-height:255px;overflow:visible}#id_product_fetch_status{display:flex;flex-direction:row;gap:10px;text-align:left}#id_product_fetch_status_text{margin-top:auto;margin-bottom:auto}#id_calories_information{display:flex;flex-direction:column;align-items:flex-start}#id_weight-verdicts{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-evenly;margin-bottom:10px;width:100%}.weight-verdict-section{display:flex;flex-direction:column;align-items:center;justify-content:center}.weight-verdict{font-weight:700;font-size:18px;text-align:center}.day-menu{border-radius:20px;background-color:beige;border:2px solid #e0e0c0;padding:10px;margin-bottom:15px}.day-title,.meal-time{text-align:center;font-family:Bonheur Royale,cursive;font-weight:400;font-style:normal}.day-title{font-size:30px}.meal-time{font-size:26px}.food-item-list{margin-bottom:10px}.food-item{display:flex;justify-content:space-between}.food-name{flex:1}.food-quantity{flex:0 0 auto}.value-low{color:red}.value-high{color:purple}.value-ok{color:green}.weight-super-heavy{color:#f50000;font-weight:700}.weight-heavy{color:#f4a500;font-weight:700}.weight-midweight{color:#18cf18;font-weight:700}.weight-light{color:#0074f8;font-weight:700}.weight-ultra-light{color:#00bfff;font-weight:700}.nutrition-table{border:1px solid #ccc;border-radius:10px;border-spacing:0}.nutrition-table th,.nutrition-table td{border-right:1px solid #ccc;text-align:center;white-space:nowrap;vertical-align:top}.nutrition-table th:last-child,.nutrition-table td:last-child{border-right:none}.tooltip-wrapper{position:relative;display:inline-block}.tooltip-wrapper>span{cursor:pointer}.tooltip-content{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:8px;padding:8px 12px;background-color:#333;color:#fff;border-radius:4px;font-size:14px;z-index:1000;box-shadow:0 2px 8px #0003;width:110px;white-space:normal;text-align:left;line-height:1.4}.tooltip-content:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #333}
