body{background-color:#1b4d3e;background-image:linear-gradient(160deg, #1b4d3e8c 0%, #0f3d3073 55%, #14532d8c 100%), var(--pantry-bg,none);color:#333;background-position:50%;background-size:cover;background-attachment:scroll;min-height:100vh;margin:0;padding:0;font-family:Arial,sans-serif}#boot-splash{z-index:100;color:#ecfdf5;background:linear-gradient(160deg,#1b4d3e 0%,#0f3d30 100%);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-family:Arial,sans-serif;transition:opacity .25s;display:flex;position:fixed;inset:0}#boot-splash.boot-splash--hide{opacity:0;pointer-events:none}#boot-splash .boot-mark{background:#d1fae533;border:2px solid #86efac;border-radius:14px;width:56px;height:56px}#boot-splash p{margin:0;font-size:1.05em;font-weight:600}#boot-splash .boot-sub{opacity:.8;font-size:.85em;font-weight:400}.app-header{color:#fff;background:#1b4d3eeb;padding:8px 10px 10px;box-shadow:0 2px 8px #0000004d}.header-top{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.app-header h1{flex:1;min-width:0;margin:0;font-size:1.5em;line-height:1.15}.title-short{display:none}.nav-utility{flex-shrink:0;align-items:center;gap:8px;display:flex}.nav-primary{flex-wrap:wrap;justify-content:center;gap:2px 4px;display:flex}nav.nav-primary button{color:#d1fae5;cursor:pointer;background:0 0;border:none;padding:6px 10px;font-size:.95em;font-weight:500}nav.nav-primary button:hover,nav.nav-primary button.active{color:#fff;text-decoration:underline}.sync-now-btn{color:#ecfdf5;cursor:pointer;background:#16653459;border:1px solid #d1fae573;border-radius:999px;align-items:center;gap:6px;max-width:220px;padding:6px 12px;font-size:.85em;font-weight:600;display:inline-flex}.sync-now-btn:disabled{opacity:.6;cursor:not-allowed}.sync-pending-badge{color:#1b4d3e;background:#fbbf24;border-radius:999px;min-width:1.2em;padding:0 6px;font-size:.75em}.connection-status{color:#d1fae5;align-items:center;gap:6px;font-size:.85em;display:inline-flex}.status-dot{background:#f87171;border-radius:50%;width:8px;height:8px}.status-dot.online{background:#4ade80}main{max-width:900px;margin:0 auto;padding-bottom:80px}.view{padding:10px 12px 16px}.hidden{display:none!important}.view-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.view-header h2{color:#ecfdf5;text-shadow:0 1px 2px #00000059;margin:0;font-size:1.25em}.inventory-mode-row{align-items:flex-end}.inventory-mode-tabs .btn-primary,.inventory-mode-tabs .btn-secondary{min-width:6.5em}.inventory-loc-label,.inventory-mode-row .inline-label{color:#ecfdf5;margin:0;font-size:.9em}.inventory-loc-label select,#activity-window-days,#adjust-sort{min-width:10em;max-width:100%}.inventory-actions{margin:4px 0 8px}.adjust-line-row{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.adjust-line-row .adjust-meta{flex:160px;min-width:0}.adjust-line-row .adjust-counts{flex-wrap:nowrap;flex:none;align-items:flex-end;gap:10px;display:flex}.adjust-line-row label{flex-direction:column;gap:2px;margin:0;font-size:.88em;display:flex}.adjust-line-row input[type=number]{width:5.5em;padding:6px 8px;font-size:1em}.adjust-line-row.changed{outline-offset:1px;outline:2px solid #f59e0b}@media (width<=560px){.adjust-line-row{flex-direction:column;align-items:stretch;gap:6px}.adjust-line-row .adjust-meta{flex:auto}.adjust-line-row .adjust-counts{justify-content:flex-start;gap:12px;width:100%}.adjust-line-row .adjust-unit{align-self:flex-end;margin-left:auto;padding-bottom:6px}.adjust-line-row input[type=number]{width:4.75em}}#adjust-search{width:100%;min-width:10em;padding:6px 8px}.count-sheet-print{color:#111;background:#fff;max-width:800px;margin:0 auto;padding:16px;font-size:12px}.count-sheet-print table{border-collapse:collapse;width:100%}.count-sheet-print th,.count-sheet-print td{text-align:left;border:1px solid #333;padding:6px 8px}.count-sheet-print .write-in{min-width:4em;height:1.4em}.card,.pantry-card,.auth-card{background:#d1fae5c7;border:1px solid #a1c6b8b3;border-radius:20px;margin:0;padding:14px;box-shadow:0 4px 12px #00000026}.pantry-card--compact,.pantry-card--product{border-radius:12px;padding:8px 10px;box-shadow:0 2px 6px #0000001a}.pantry-card-title{margin:0;font-size:.98em;font-weight:700;line-height:1.25}.pantry-card-meta{margin:2px 0 0;font-size:.9em;line-height:1.3}.pantry-card p{margin:2px 0;line-height:1.3}.card-grid{flex-direction:column;gap:6px;display:flex}.pantry-card h3,.pantry-card h4{margin:0 0 4px;font-size:1em;line-height:1.25}.muted{color:#4b5563;font-size:.9em}.shop-help{color:#ecfdf5;text-shadow:0 1px 2px #00000059;margin:0 0 8px;font-size:.9em;line-height:1.35}.pantry-card--product{flex-direction:column;gap:3px;display:flex}.pantry-card--product .btn-buy-product{align-self:flex-start;margin:2px 0 0;padding:5px 10px;font-size:.88em}.product-meta-line{margin:0;font-size:.82em;line-height:1.25}.pantry-card--product .product-barcode{color:#374151;word-break:break-all;margin:0;font-size:.8em;line-height:1.2}.barcode-field-tools{flex-wrap:wrap;gap:6px;margin:2px 0 4px;display:flex}.barcode-field-tools [data-bc-camera]:disabled{opacity:.45;cursor:not-allowed}.barcode-status{color:#14532d;min-height:0;margin:0 0 4px;font-size:.85em;line-height:1.25}.barcode-status.warn{color:#9a3412}.barcode-scan-overlay{z-index:300;background:#000000d1;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0}.barcode-scan-panel{z-index:1;text-align:center;color:#14532d;pointer-events:auto;background:#ecfdf5;border-radius:16px;width:100%;max-width:440px;padding:14px 14px 16px;position:relative}.barcode-scan-actions{z-index:2;pointer-events:auto;flex-wrap:wrap;justify-content:center;gap:8px;position:relative}.barcode-scan-actions .btn-secondary,.barcode-scan-actions .btn-primary{pointer-events:auto;cursor:pointer;min-width:7em;min-height:44px}.barcode-scan-actions .barcode-scan-complete{flex:100%;width:100%;margin-top:4px}.barcode-scan-title{margin:0 0 4px;font-size:1.1em;font-weight:700}.barcode-scan-hint{opacity:.85;margin:0 0 10px;font-size:.88em}.barcode-scan-reader{background:#111;border-radius:12px;min-height:220px;position:relative;overflow:hidden}.barcode-scan-reader--video{min-height:240px}.barcode-scan-reader video,#pantry-scan-video{object-fit:cover;background:#000;border-radius:12px;height:auto;min-height:220px;max-height:50vh;display:block;width:100%!important}.barcode-scan-guide{pointer-events:none;border:2px solid #facc15;border-radius:8px;height:22%;position:absolute;top:50%;left:4%;right:4%;transform:translateY(-50%);box-shadow:0 0 0 9999px #00000040}.barcode-scan-status{min-height:1.3em;margin:10px 0 8px;font-size:.9em;font-weight:600}.barcode-scan-panel .barcode-scan-cancel{width:100%;margin-top:4px}.barcode-scan-video-wrap video{object-fit:cover;background:#111;border-radius:12px;width:100%;max-height:50vh}.product-barcode{font-family:ui-monospace,monospace;font-size:.85em}.safety-banner{color:#78350f;background:#fef3c7f2;border:2px solid #f59e0b;border-radius:14px;margin:10px 0;padding:12px 14px;font-size:.95em}.banner-warn{color:#7f1d1d;background:#fee2e2f2;border:1px solid #f87171;border-radius:14px;margin:8px 0;padding:10px 12px}.banner-info{color:#1e3a8a;background:#dbeafef2;border:1px solid #60a5fa;border-radius:14px;margin:8px 0;padding:10px 12px}.metric-row{flex-wrap:wrap;gap:6px;margin:6px 0 8px;display:flex}.view h3{color:#ecfdf5;margin:12px 0 6px;font-size:1.05em}.team-toolbar{flex-wrap:wrap;align-items:flex-end;gap:8px 12px;margin-bottom:8px;display:flex}.team-toolbar-mode{flex:160px;margin:0}.team-toolbar-btns{flex:none;margin:0}.admin-card{margin-bottom:10px}.admin-issue-form label{margin:4px 0}.admin-issue-result{background:#ffffffbf;border:1px solid #86efac;border-radius:10px;margin-top:10px;padding:10px;font-size:.92em;line-height:1.35}.admin-issue-result code{color:#ecfdf5;word-break:break-all;-webkit-user-select:all;user-select:all;background:#14532d;border-radius:8px;margin:6px 0;padding:8px;font-size:.95em;display:block}.admin-issue-result .btn-row{margin-top:8px}.admin-org-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px;display:flex}.admin-badge{color:#14532d;background:#bbf7d0;border-radius:999px;padding:2px 8px;font-size:.75em;font-weight:700;display:inline-block}.admin-badge--off{color:#7f1d1d;background:#fecaca}.admin-code-row{font-size:.88em;line-height:1.3}.metric-chip{background:#ecfdf5e6;border:1px solid #10b98166;border-radius:999px;padding:8px 14px;font-weight:600}.low-stock{box-shadow:0 0 0 2px #f8717159;border-color:#f87171!important}label{flex-direction:column;gap:2px;margin:6px 0;font-weight:600;display:flex}input,select,textarea{border:1px solid #9ca3af;border-radius:10px;padding:10px 12px;font-size:1.05em;font-weight:400}.btn-row{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.btn-primary,.btn-secondary,.btn-text{cursor:pointer;border:none;border-radius:12px;padding:10px 16px;font-size:1em;font-weight:600}.btn-primary{color:#fff;background:#15803d}.btn-primary:hover{background:#166534}.btn-secondary{color:#14532d;background:#ffffffd9;border:1px solid #86efac}.btn-text{color:#d1fae5;background:0 0;text-decoration:underline}.app-footer{text-align:center;color:#d1fae5;padding:20px 12px 32px;font-size:.9em}.build-id{opacity:.7;font-size:.85em}.app-toast{color:#fff;z-index:50;background:#111827;border-radius:12px;max-width:90vw;padding:12px 18px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.app-toast.warn{background:#92400e}.app-modal{z-index:40;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.app-modal-panel{background:#ecfdf5;border-radius:16px;width:min(440px,100%);max-height:90vh;padding:12px 14px 14px;overflow:auto;box-shadow:0 12px 40px #00000059}.app-modal-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.app-modal-header h3{margin:0;font-size:1.1em;line-height:1.2}#app-modal-body{margin:0}.modal-field{gap:2px;margin:6px 0}#app-modal-body>.modal-field:first-child{margin-top:2px}.barcode-field-tools+.barcode-status+.modal-field,.barcode-field-tools+.modal-field{margin-top:4px}.modal-field span{font-size:.9em;line-height:1.2}.modal-field input,.modal-field select,.modal-field textarea{padding:8px 10px;font-size:1em}.app-modal-panel .btn-row{gap:6px;margin-top:8px}.app-modal-panel .btn-primary,.app-modal-panel .btn-secondary{padding:8px 14px}.modal-error{color:#b91c1c;font-weight:600}.icon-btn{cursor:pointer;background:0 0;border:none;font-size:1.4em;line-height:1}.account-list{margin:0;padding:0;list-style:none}.account-list li{margin:8px 0}.account-list button{text-align:left;cursor:pointer;background:#fff;border:1px solid #86efac;border-radius:12px;width:100%;padding:12px;font-size:1em}.event-list{font-size:.92em}.event-item{background:#ffffffb3;border-radius:10px;margin:6px 0;padding:8px 10px}.auth-message{color:#7f1d1d;background:#fee2e2;border-radius:8px;padding:8px 10px}.auth-message.ok{color:#14532d;background:#d1fae5}.inline-label{flex-direction:row;align-items:center;gap:10px}@media (width<=720px){.title-long{display:none}.title-short{display:inline}nav.nav-primary button{padding:5px 7px;font-size:.82em}.app-header h1{font-size:1.2em}}
/*$vite$:1*/