@import"https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap";:root{font-family:Nunito,system-ui,sans-serif;color:#17395d;background:#f4f9fd;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}.app-shell{max-width:760px;margin:0 auto;min-height:100vh;background:#fbfdff;padding-bottom:96px;box-shadow:0 0 50px #1c6da40a}button,input{font:inherit}button{cursor:pointer}.topbar{height:76px;padding:12px 20px;display:flex;align-items:center;gap:11px;background:#fff;border-bottom:1px solid #e9f1f8;position:sticky;top:0;z-index:5}.brand-mark{width:43px;height:43px;border-radius:15px;background:#e6f4ff;color:#087be8;display:grid;place-items:center}.brand-copy{display:flex;flex-direction:column;gap:1px;flex:1}.brand-copy strong{font-size:19px;font-weight:900;letter-spacing:-.5px}.brand-copy span{font-size:11px;color:#6b88a4}.avatars{display:flex}.avatars span{width:27px;height:27px;display:grid;place-items:center;font-size:23px;font-weight:400;margin-left:-4px;background:transparent;border:0;border-radius:0;color:inherit}.avatars span+span{background:transparent}.main-content{padding:22px 18px 16px}.hero{display:flex;justify-content:space-between;align-items:center;min-height:130px;background:linear-gradient(115deg,#e8f5ff,#f5fbff 65%,#e4f7eb);border-radius:25px;padding:20px;overflow:hidden;position:relative}.eyebrow{font-size:10px;letter-spacing:1.2px;color:#2782cb;font-weight:900;margin:0 0 7px}.hero h1,.page-title-row h1,section>h1{font-size:29px;line-height:1.12;letter-spacing:-.7px;margin:0 0 7px;font-weight:900}.hero h1 span{font-size:22px}.hero p:not(.eyebrow){margin:0;color:#67819a;font-size:13px}.house-illustration{position:relative;font-size:68px;line-height:1;transform:translate(5px,5px)}.house-illustration i{font-style:normal;font-size:26px;position:absolute;right:-4px;bottom:-3px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 24px}.summary-card{border:1px solid transparent;border-radius:17px;display:flex;align-items:center;gap:9px;text-align:left;padding:12px 10px;color:#244766;min-width:0}.summary-card>div{display:flex;flex-direction:column;gap:1px;flex:1}.summary-card strong{font-size:12px}.summary-card small{font-size:10px;color:#6c8193}.summary-card>svg{flex-shrink:0}.summary-icon{width:32px;height:32px;display:grid;place-items:center;background:#fff9;border-radius:11px;font-size:18px}.peach{background:#fff0e9;border-color:#ffe1d3}.yellow{background:#fff6dc;border-color:#ffebba}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 1px 12px}.section-heading h2{font-size:17px;margin:0;font-weight:900}.section-heading>span{font-size:11px;color:#7e94a9}.text-button{border:0;background:none;color:#087be8;font-size:12px;font-weight:800}.room-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.room-card{position:relative;text-align:left;border:1px solid #e1edf6;background:#fff;border-radius:20px;padding:10px 11px 14px;box-shadow:0 5px 15px #194b7110;color:#17395d;overflow:hidden}.room-art{height:110px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:35px;margin-bottom:11px;position:relative;overflow:hidden}.fridge-art{background:linear-gradient(135deg,#dff4ff,#f1fbff);flex-direction:column}.fridge-art:before{content:"";position:absolute;width:65px;height:92px;border-radius:8px;border:5px solid #b7d8e9;background:linear-gradient(90deg,#fff,#e8f7ff);box-shadow:inset -8px 0 #d6edf9}.fridge-art>span{z-index:1;font-size:18px}.pantry-art{background:linear-gradient(135deg,#edc99a,#b87c47);border:4px solid #9d6235;box-shadow:inset 0 0 0 2px #f5d9ad}.pantry-art span{background:#f7e2bfaa;padding:7px;border-radius:7px;z-index:1;font-size:24px}.room-card strong{font-size:14px;display:block;margin-bottom:3px}.room-card small{font-size:10px;color:#7890a4}.room-arrow{position:absolute;right:10px;bottom:13px;color:#2084e9}.list-card{background:#fff;border:1px solid #e6eef5;border-radius:18px;padding:4px 12px;box-shadow:0 4px 12px #244a6808}.product-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eff4f8}.product-row:last-child{border-bottom:0}.food-emoji{width:39px;height:39px;display:grid;place-items:center;background:#f2f8fd;border-radius:13px;font-size:23px;flex-shrink:0}.product-info,.shopping-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.product-info strong,.shopping-info strong{font-size:12px}.product-info small,.shopping-info small{font-size:10px;color:#7890a4}.expiry-dot{width:21px;height:21px;border-radius:50%;background:#ffe2d8;color:#db613d;display:grid;place-items:center;font-size:12px;font-weight:900}.qty-controls{display:flex;align-items:center;gap:9px;font-size:12px}.qty-controls button,.tile-controls button{width:24px;height:24px;border:1px solid #dceaf5;border-radius:50%;background:#f8fbff;color:#087be8;font-weight:900}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px}.quick-actions button{border:1px solid #e7eef5;border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 4px;color:#315471;font-size:10px;font-weight:800;box-shadow:0 3px 10px #17395d06}.action-icon{width:39px;height:39px;border-radius:13px;display:grid;place-items:center}.action-icon svg{width:21px}.action-icon.blue{background:#e3f2ff;color:#087be8}.action-icon.purple{background:#eee8ff;color:#8057dc}.action-icon.orange{background:#fff0df;color:#e28a26}.page-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.page-title-row h1{font-size:26px}.muted{color:#7890a4;font-size:12px;margin:0}.round-add{border:0;border-radius:15px;width:44px;height:44px;background:#087be8;color:#fff;display:grid;place-items:center;box-shadow:0 5px 12px #087be82e;flex-shrink:0}.search-box{height:43px;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid #e1ebf3;background:#fff;border-radius:14px;color:#7890a4;margin-bottom:15px}.search-box input{border:0;outline:0;flex:1;min-width:0;color:#17395d;font-size:12px;background:transparent}.fridge-scene{padding:13px;background:linear-gradient(140deg,#ccecff,#f3fbff);border:5px solid #b8dced;border-radius:22px;box-shadow:inset 0 0 0 2px #fff;margin-bottom:18px}.fridge-top,.fridge-shelf,.fridge-drawer{display:flex;align-items:center;justify-content:space-around;gap:5px;background:#ffffffb8;border-radius:10px;padding:9px 4px;margin-bottom:7px;min-height:57px;border-bottom:4px solid #d6e9f4;font-size:27px}.fridge-drawer{margin-bottom:0;background:#dff3fb}.pantry-scene{padding:12px 12px 9px;background:#c68c55;border:6px solid #9a6034;border-radius:16px;box-shadow:inset 0 0 0 2px #e4b982;margin-bottom:18px}.wood-top{height:7px;background:#85502d;border-radius:4px;margin:-3px 0 7px}.pantry-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:9px 4px;background:linear-gradient(#f2d5a8,#e4b982);border-bottom:7px solid #965d32;margin-bottom:5px;border-radius:5px;text-align:center}.pantry-shelf span{background:#fff6e8;border-radius:7px;padding:8px 2px;font-size:25px;box-shadow:0 2px 3px #74431b20}.scene-caption{display:block;text-align:center;font-size:10px;color:#42617f;padding-top:7px}.pantry-scene .scene-caption{color:#fff8e9}.view-switch{display:flex;justify-content:space-between;align-items:center;margin:10px 1px 12px;font-size:13px;font-weight:900}.view-switch button{background:#edf6ff;color:#1679d1;border:0;border-radius:10px;padding:7px 10px;font-size:10px;font-weight:800}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-tile{border:1px solid #e6eef5;border-radius:16px;background:#fff;padding:9px 7px 8px;text-align:center;min-width:0;box-shadow:0 4px 10px #17395d06}.tile-illustration{height:78px;border-radius:12px;background:#f1f8fd;display:grid;place-items:center;font-size:34px;position:relative;margin-bottom:8px}.tile-quantity{position:absolute;right:2px;top:2px;width:42px;height:42px;padding:0;display:grid;place-items:center;border-radius:50%;background:#e6b477;color:#284052;border:3px solid white;box-shadow:0 2px 5px #17395d20;font-size:13px;font-weight:900;line-height:1}.product-tile strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-tile small{display:block;font-size:9px;color:#7890a4;margin-top:3px}.tile-controls{display:flex;justify-content:center;gap:8px;margin-top:8px}.shopping-count{display:flex;align-items:center;gap:12px;padding:14px;background:#e9f5ff;border-radius:17px;color:#087be8;margin-bottom:14px}.shopping-count>svg{width:31px;height:31px}.shopping-count div{display:flex;flex-direction:column;gap:2px}.shopping-count strong{font-size:13px;color:#17476d}.shopping-count small{font-size:10px;color:#6f8aa2}.shopping-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #eff4f8}.shopping-row:last-child{border-bottom:0}.quantity-badge{min-width:25px;height:25px;padding:0 6px;display:grid;place-items:center;border-radius:50%;background:#ffe2dc;color:#c45237;font-size:11px;font-weight:900}.bought-button{width:29px;height:29px;border:0;border-radius:10px;background:#e7f8ed;color:#21874c;display:grid;place-items:center}.empty-state{padding:18px;text-align:center;font-size:12px;color:#7890a4}.settings-list{display:flex;flex-direction:column;gap:9px;margin-top:20px}.settings-list button{display:flex;align-items:center;gap:12px;text-align:left;padding:15px;border:1px solid #e5eef5;background:#fff;border-radius:16px;color:#17395d}.settings-list button>span{font-size:25px}.settings-list button div{flex:1;display:flex;flex-direction:column;gap:3px}.settings-list strong{font-size:13px}.settings-list small{font-size:11px;color:#7890a4}.settings-list button>svg{color:#8ba0b3;width:18px}.bottom-nav{position:fixed;z-index:6;bottom:0;left:50%;transform:translate(-50%);width:min(760px,100%);display:flex;justify-content:space-around;background:#ffffffef;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid #e3edf5;padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #17395d08}.bottom-nav button{position:relative;min-width:48px;border:0;background:none;color:#8aa0b4;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;font-weight:800;padding:3px 5px}.bottom-nav button.active{color:#087be8}.bottom-nav button.active:before{content:"";position:absolute;top:-8px;width:27px;height:3px;border-radius:5px;background:#087be8}.bottom-nav button i{position:absolute;right:0;top:-3px;min-width:16px;height:16px;border-radius:50%;background:#f17f70;color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center}.modal-backdrop{position:fixed;z-index:10;top:0;right:0;bottom:0;left:0;background:#14304f66;display:grid;place-items:center;padding:20px}.modal{width:min(420px,100%);background:#fff;border-radius:24px;padding:22px;box-shadow:0 20px 60px #122c4b40}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-heading h2{margin:0;font-size:19px}.modal-heading button,.toast button{border:0;background:none;color:#7890a4}.modal label{display:block;font-size:12px;font-weight:800;margin-bottom:7px}.modal input{width:100%;height:45px;border:1px solid #dce8f2;border-radius:12px;padding:0 12px;outline-color:#087be8;margin-bottom:12px}.modal .muted{line-height:1.5;margin-bottom:18px}.primary-button{width:100%;border:0;border-radius:13px;background:#087be8;color:#fff;padding:13px;font-weight:900}.toast{position:fixed;z-index:12;bottom:94px;left:50%;transform:translate(-50%);width:max-content;max-width:calc(100% - 30px);background:#17395d;color:#fff;border-radius:14px;padding:12px 14px;display:flex;align-items:center;gap:9px;font-size:12px;box-shadow:0 8px 30px #17395d30}.toast button{color:#fff;display:grid;place-items:center}.demo-note{display:flex;justify-content:space-between;gap:10px;padding:12px 18px;color:#91a4b5;font-size:9px}.demo-note span:first-child{display:flex;align-items:center;gap:5px;color:#3784c3;font-weight:800}@media(min-width:600px){.main-content{padding:26px 26px 22px}.room-art{height:145px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fridge-scene{padding:18px 30px}.fridge-top,.fridge-shelf,.fridge-drawer{min-height:66px;font-size:31px}.pantry-scene{padding:16px 20px}.pantry-shelf span{font-size:30px}.hero{padding:24px 26px}.house-illustration{font-size:82px}}@media(max-width:380px){.main-content{padding:16px 12px}.topbar{padding:10px 14px}.brand-copy strong{font-size:17px}.summary-card{gap:6px;padding:9px 7px}.summary-icon{width:28px;height:28px}.summary-card strong{font-size:11px}.room-art{height:90px}.product-grid{gap:7px}.product-tile{padding:7px 4px}.tile-illustration{height:72px}.bottom-nav button{min-width:42px}}@media(max-width:599px){html,body,#root{width:100%;min-width:0;overflow-x:hidden}.app-shell{width:100%;min-width:0;overflow-x:clip}.main-content{width:100%;min-width:0;box-sizing:border-box;padding:16px 14px 100px}.topbar{gap:8px;min-width:0;box-sizing:border-box}.main-content>*{min-width:0;max-width:100%;box-sizing:border-box}.modal-backdrop{padding:0;place-items:end center;overflow-y:auto}.modal{width:100%;max-width:none;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;border-radius:22px 22px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom))}.modal-heading{gap:10px;margin-bottom:14px}.modal-heading h2{font-size:18px;line-height:1.25}.modal input{box-sizing:border-box;min-width:0}.modal video{max-height:42dvh}.modal .modal-heading button{flex-shrink:0;min-width:38px;min-height:38px}.demo-note{padding-bottom:calc(76px + env(safe-area-inset-bottom));flex-wrap:wrap}.bottom-nav{padding-bottom:env(safe-area-inset-bottom)}}.modal-backdrop{padding:12px;overflow-y:auto;align-items:start}.modal{width:100%;max-width:420px;max-height:calc(100dvh - 24px);overflow-y:auto;min-width:0}.modal *{min-width:0}.modal input,.modal select,.modal button{max-width:100%}.modal input{box-sizing:border-box}.modal-heading{gap:10px}.modal-heading h2{overflow-wrap:anywhere}@media(max-width:480px){.modal-backdrop{padding:10px}.modal{padding:18px;border-radius:20px;max-height:calc(100dvh - 20px)}.modal [style*="display:flex"]{flex-wrap:wrap}.modal #product-barcode{flex:1 1 100%;width:100%}.modal #product-barcode+button,.modal #product-barcode+button+button{flex:1 1 0}}@media(max-width:599px){.modal-backdrop{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:0!important;overflow-y:auto!important;box-sizing:border-box!important}.modal-backdrop>.modal{width:100%!important;max-width:100%!important;min-width:0!important;max-height:92dvh!important;overflow-y:auto!important;box-sizing:border-box!important;margin:0!important;border-radius:20px 20px 0 0!important;padding:18px 16px calc(20px + env(safe-area-inset-bottom))!important}.modal,.modal *{box-sizing:border-box;min-width:0}.modal input,.modal select{display:block!important;width:100%!important;max-width:100%!important;font-size:16px!important}.modal #product-barcode{flex:1 1 100%!important;width:100%!important}.modal #product-barcode+button,.modal #product-barcode+button+button{flex:1 1 0!important;min-width:0!important;white-space:normal!important;padding:10px 8px!important}.modal [style*="display:flex"]{flex-wrap:wrap!important}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-heading h2{font-size:20px!important;line-height:1.25!important;overflow-wrap:anywhere}}.modal-backdrop{box-sizing:border-box;width:100%;padding:12px;overflow-y:auto;align-items:flex-start}.modal{box-sizing:border-box;width:100%;max-width:420px;min-width:0;max-height:calc(100dvh - 24px);overflow-y:auto}.modal input,.modal select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box}.barcode-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,auto);gap:6px;width:100%;align-items:stretch}.barcode-row input{grid-column:1 / -1}.barcode-row button{min-width:0;max-width:100%;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}@media(max-width:480px){.modal-backdrop{padding:8px}.modal{padding:16px;max-height:calc(100dvh - 16px)}.barcode-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.barcode-row input{grid-column:1 / -1}.barcode-row button{width:100%;font-size:14px}}.tile-quantity{width:auto;min-width:30px;height:28px;padding:0 7px;border-radius:10px;background:#e4f2ff;color:#1769a6;border:2px solid #fff;box-shadow:0 2px 5px #17395d18;font-size:12px}.product-list-view{display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid #e6eef5;border-radius:16px;padding:4px 12px}.generic-list-row{width:100%;display:flex;align-items:center;gap:10px;padding:10px 0;border:0;border-bottom:1px solid #eff4f8;background:transparent;text-align:left;color:#17395d}.generic-list-row:last-child{border-bottom:0}.generic-list-row .food-emoji{flex-shrink:0}.generic-list-name{flex:1;min-width:0;font-size:13px;font-weight:900}.generic-list-quantity{flex-shrink:0;padding:6px 9px;border-radius:9px;background:#e8f4ff;color:#1769a6;font-size:11px;font-weight:900}.generic-list-row>svg{flex-shrink:0;color:#91a6b8}.tile-quantity.tile-quantity-segmented{color:#17395d;border:3px solid white}.tile-quantity.list-variant-badge{position:static;inset:auto;flex:0 0 36px;width:36px;min-width:36px;height:36px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;font-size:12px;color:#17395d}.history-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border:0;background:transparent;color:#1769a6;text-align:left;font-size:13px;font-weight:900}.history-toggle span:last-child{flex-shrink:0;font-size:11px;color:#7890a4}.room-art.fridge-art,.room-art.pantry-art{height:112px;padding:8px;display:flex;align-items:center;justify-content:center}.mini-fridge{width:76px;height:98px;border:5px solid #cbd9df;border-radius:8px;background:linear-gradient(90deg,#eef8fb,#d6e9f1);padding:7px 4px;display:flex;flex-direction:column;justify-content:space-around;box-shadow:inset 0 0 0 2px #fff,3px 3px 6px #3454}.mini-fridge span{display:block;background:#ffffffc9;border-bottom:3px solid #b9d3df;border-radius:3px;font-size:12px;padding:3px 0}.mini-pantry{width:100%;height:100%;padding:5px;background:linear-gradient(90deg,#9b6035,#d6a36b,#a66a3c);border:4px solid #88512e;display:flex;flex-direction:column;justify-content:space-around;box-shadow:inset 0 0 0 2px #e9c494}.mini-pantry span{display:block;background:#efd2a5;border-bottom:4px solid #8d562e;font-size:12px;padding:2px 0}.fridge-scene-real{padding:13px;background:linear-gradient(135deg,#d9eaf0,#f7fbfd);border:5px solid #b9cbd2;border-radius:22px;box-shadow:inset 0 0 0 2px #fff}.fridge-door-frame{position:relative;padding:12px 18px;background:linear-gradient(90deg,#e7eff2,#fff 12%,#e9f1f4 88%,#cbd9de);border:4px solid #bdcbd0;border-radius:14px;box-shadow:inset 0 0 0 2px #fff}.fridge-interior{background:linear-gradient(110deg,#cce8f6,#f4fbff 35%,#d9edf6);border:3px solid #b5d5e3;border-radius:8px;padding:8px}.fridge-handle{position:absolute;right:5px;top:32%;height:34%;width:5px;border-radius:6px;background:#91a6af;box-shadow:1px 0 2px #fff}.dynamic-fridge-shelf,.dynamic-fridge-drawer{min-height:58px;display:flex;align-items:center;justify-content:space-around;gap:4px;padding:5px 3px;margin-bottom:6px;background:linear-gradient(#ffffffc9,#d7eaf2d9);border-bottom:5px solid #aecbd8;border-radius:5px}.dynamic-fridge-drawer{margin-bottom:0;min-height:64px;background:linear-gradient(#e8f7fc,#c6e3ee)}.scene-product{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;max-width:64px;height:46px;border:0;border-radius:0;background:transparent;padding:2px;color:#244766}.scene-product>span{font-size:clamp(19px,5vw,29px);filter:drop-shadow(0 2px 1px #3452)}.scene-product>b{position:absolute;right:-2px;top:-5px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:12px;background:#70bda0;color:#123e35;font-size:10px;box-shadow:0 2px 4px #17395d30}.pantry-scene-real{padding:12px 12px 9px;background:linear-gradient(90deg,#a86c3d,#d9a56e 50%,#b77a48);border:7px solid #89522e;border-radius:15px;box-shadow:inset 0 0 0 2px #e9c99c}.pantry-scene-real .wood-top{height:10px;background:#754425;margin:0 0 6px}.dynamic-pantry-shelf{height:82px;display:flex;align-items:flex-end;justify-content:space-around;gap:5px;padding:7px 5px;background:linear-gradient(#f0d1a1,#d8ad78);border-bottom:9px solid #88512d;border-radius:4px;margin-bottom:5px;box-shadow:inset 0 3px 4px #fff5}.dynamic-pantry-shelf:last-of-type{margin-bottom:0}.pantry-product{height:58px;background:transparent;border-radius:0}.pantry-product>b{background:#f2bb62;color:#633d17}@media(min-width:600px){.fridge-door-frame{padding:16px 24px}.dynamic-fridge-shelf,.dynamic-fridge-drawer{min-height:72px}.dynamic-pantry-shelf{height:98px}.pantry-product{height:68px}}.catalog-screen{position:fixed;z-index:11;top:0;right:0;bottom:0;left:0;overflow:auto;background:#f6f9fc;color:#18344f;padding:clamp(14px,2.5vw,30px);padding-bottom:40px}.catalog-screen-header{display:flex;align-items:center;gap:18px;max-width:1440px;margin:0 auto 22px}.catalog-screen-header h1{font-size:clamp(22px,3vw,32px);margin:0 0 5px;color:#17395d}.catalog-screen-header p{margin:0;color:#71869a;font-size:13px}.catalog-back,.catalog-close{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dce7f0;border-radius:12px;background:#fff;color:#315570;padding:10px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.catalog-close{margin-left:auto;width:42px;height:42px;padding:0}.catalog-toolbar{display:flex;gap:12px;max-width:1440px;margin:0 auto 14px}.catalog-search{display:flex;align-items:center;gap:10px;flex:1;background:#fff;border:1px solid #dce7f0;border-radius:15px;padding:0 14px;color:#7b91a5;min-width:0}.catalog-search input{height:48px;flex:1;min-width:0;border:0;outline:none;background:transparent;color:#18344f;font-size:15px}.catalog-view-switch{display:flex;gap:4px;background:#eaf0f6;padding:4px;border-radius:13px}.catalog-view-switch button{display:grid;place-items:center;width:42px;border:0;border-radius:10px;background:transparent;color:#668198;cursor:pointer}.catalog-view-switch button.active{background:#fff;color:#087be8;box-shadow:0 2px 8px #17395d12}.catalog-categories{display:flex;gap:8px;overflow-x:auto;padding:4px 0 15px;max-width:1440px;margin:0 auto 10px}.catalog-categories button{border:1px solid #dce7f0;border-radius:999px;background:#fff;color:#45647c;padding:9px 14px;white-space:nowrap;font-size:12px;font-weight:800;cursor:pointer}.catalog-categories button.active{background:#087be8;border-color:#087be8;color:#fff}.catalog-categories button span{margin-left:5px;opacity:.8}.catalog-add-panel,.catalog-edit-panel{max-width:1440px;margin:0 auto 20px;background:#fff;border:1px solid #e0eaf2;border-radius:18px;padding:18px 20px;box-shadow:0 5px 18px #17395d06}.catalog-add-panel h2,.catalog-edit-panel h2,.catalog-results-heading h2{font-size:17px;margin:0 0 5px;color:#17395d}.catalog-add-panel p,.catalog-edit-title p{margin:0 0 14px;color:#71869a;font-size:12px;line-height:1.5}.catalog-add-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) 90px minmax(170px,1fr);gap:10px;align-items:center}.catalog-add-fields input,.catalog-add-fields select,.catalog-emoji-row input{height:43px;border:1px solid #dce7f0;border-radius:11px;padding:0 12px;background:#fff;color:#18344f;min-width:0}.catalog-add-fields .primary-button{display:flex;align-items:center;justify-content:center;gap:7px;height:43px;padding:0 12px}.catalog-results-heading{max-width:1440px;margin:25px auto 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.catalog-results-heading span{font-size:12px;color:#7b91a5}.catalog-products-grid,.catalog-products-list{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.catalog-product-card{min-width:0;background:#fff;border:1px solid #e2ebf3;border-radius:16px;padding:13px;display:flex;flex-direction:column;gap:10px;box-shadow:0 4px 14px #17395d07}.catalog-product-visual{height:100px;border-radius:12px;background:linear-gradient(145deg,#f7fafc,#eef5fa);display:grid;place-items:center;overflow:hidden}.catalog-product-visual img{width:100%;height:100%;object-fit:contain}.catalog-product-visual span{font-size:42px}.catalog-product-info{display:flex;flex-direction:column;gap:4px;min-width:0}.catalog-product-info strong{font-size:14px;overflow-wrap:anywhere}.catalog-product-info small{font-size:11px;color:#8194a5}.catalog-product-info .catalog-status-ready{color:#27815d}.catalog-product-info .catalog-status-pending{color:#ad7a28}.catalog-edit-button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce7f0;background:#fff;border-radius:10px;color:#27608d;padding:9px;font-weight:800;font-size:12px;cursor:pointer}.catalog-products-list{grid-template-columns:1fr;gap:7px}.catalog-products-list .catalog-product-card{display:flex;flex-direction:row;align-items:center;padding:9px 12px;gap:13px}.catalog-products-list .catalog-product-visual{width:58px;height:58px;flex:0 0 58px}.catalog-products-list .catalog-product-visual span{font-size:30px}.catalog-products-list .catalog-product-info{flex:1}.catalog-products-list .catalog-edit-button{min-width:105px}.catalog-edit-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.catalog-edit-title>button{border:0;background:#f0f5f9;border-radius:9px;padding:8px;color:#47657d;cursor:pointer}.catalog-edit-body{display:flex;gap:18px;align-items:center}.catalog-image-preview{width:112px;height:112px;flex:0 0 112px;display:grid;place-items:center;border:1px dashed #c9d9e7;border-radius:15px;background-color:#f8fafc;background-image:linear-gradient(45deg,#e9eef3 25%,transparent 25%),linear-gradient(-45deg,#e9eef3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9eef3 75%),linear-gradient(-45deg,transparent 75%,#e9eef3 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.catalog-image-preview img{width:100%;height:100%;object-fit:contain}.catalog-image-preview span{font-size:45px}.catalog-edit-fields{flex:1;min-width:0}.catalog-edit-fields label{display:block;font-size:12px;font-weight:800;margin:0 0 7px}.catalog-emoji-row{display:flex;gap:8px;margin-bottom:14px}.catalog-emoji-row input{width:100px;font-size:23px;text-align:center}.catalog-emoji-row button,.catalog-upload-label{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce7f0;border-radius:10px;background:#f8fbfd;color:#27608d;padding:10px 12px;font-size:12px;font-weight:800;cursor:pointer}.catalog-upload-label{width:max-content;max-width:100%;margin-bottom:8px}.catalog-edit-fields input[type=file]{display:block;width:100%;font-size:12px;margin:0 0 8px}.catalog-edit-fields .muted{font-size:11px;color:#71869a;line-height:1.5;margin:4px 0}.catalog-empty{max-width:1440px;margin:35px auto;text-align:center;color:#71869a;padding:30px}@media(max-width:760px){.catalog-screen-header{gap:10px;align-items:flex-start}.catalog-screen-header .catalog-back{font-size:0;padding:10px}.catalog-screen-header .catalog-back svg{margin:0}.catalog-screen-header h1{font-size:22px}.catalog-add-fields{grid-template-columns:1fr 1fr}.catalog-add-fields input:first-child,.catalog-add-fields .primary-button{grid-column:1/-1}.catalog-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-edit-body{align-items:flex-start}.catalog-image-preview{width:82px;height:82px;flex-basis:82px}}@media(max-width:440px){.catalog-screen{padding:12px}.catalog-screen-header{gap:8px}.catalog-screen-header h1{font-size:19px}.catalog-screen-header p{font-size:11px}.catalog-close{width:36px;height:36px}.catalog-add-panel,.catalog-edit-panel{padding:14px}.catalog-add-fields{grid-template-columns:minmax(0,1fr) 72px}.catalog-add-fields input:first-child{grid-column:1/-1}.catalog-add-fields select{grid-column:1/-1;grid-row:2}.catalog-add-fields .primary-button{grid-column:1/-1}.catalog-edit-body{flex-direction:column}.catalog-image-preview{width:90px;height:90px;flex-basis:auto}.catalog-emoji-row{flex-wrap:wrap}.catalog-emoji-row input{width:78px}.catalog-emoji-row button{flex:1}}.catalog-subcategories{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin-top:-6px}.catalog-subcategories button{white-space:nowrap;flex-shrink:0;border:1px solid #dce8f3;border-radius:999px;background:#fff;padding:8px 12px;color:#54708a;font-size:12px;font-weight:800}.catalog-subcategories button.active{background:#e9f6ff;border-color:#8bcdf5;color:#087be8}.catalog-edit-fields select,.catalog-add-fields select{font:inherit;min-width:0;max-width:100%;border:1px solid #dce8f3;border-radius:12px;padding:10px;background:#fff;color:#244766}.catalog-add-fields select{width:100%}.catalog-emoji-row select{flex:1}.quick-actions .receipt-action{background:#e8dcff;color:#7046a8}.receipt-backdrop{z-index:30}.receipt-modal{width:min(720px,100%);max-width:720px;max-height:92dvh;overflow-y:auto}.receipt-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:22px;border:2px dashed #b9cbe0;border-radius:16px;background:#f5f9ff;color:#2c5b85;cursor:pointer;text-align:center}.receipt-upload small{font-size:11px;color:#738ba0}#receipt-image{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.receipt-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px auto;border-radius:12px;border:1px solid #e0e9f1}.receipt-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:16px 0}.receipt-meta label,.receipt-line label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:800;color:#45647c;min-width:0}.receipt-meta input,.receipt-line input,.receipt-line select,.receipt-manual-add input,.receipt-raw textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #dce7f0;border-radius:10px;background:#fff;padding:10px;color:#17395d;font:inherit;font-size:13px}.receipt-status{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#eef6ff;color:#315d83;font-size:12px;line-height:1.5}.receipt-spin{animation:receipt-spin 1s linear infinite}@keyframes receipt-spin{to{transform:rotate(360deg)}}.receipt-lines-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:18px 0 10px;font-size:13px}.receipt-lines-heading span{font-size:12px;color:#6e8599}.receipt-line{border:1px solid #e0eaf2;border-radius:14px;padding:12px;margin:9px 0;background:#fff}.receipt-line-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.receipt-line-top strong{font-size:13px}.receipt-line-top button{border:0;border-radius:8px;padding:7px;background:#fff0ed;color:#a64c40}.receipt-line>label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px;font-weight:800;color:#45647c}.receipt-line-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.receipt-line-total{display:flex;justify-content:space-between;border-top:1px solid #edf1f5;margin-top:10px;padding-top:9px;font-size:12px;color:#7890a4}.receipt-line-total strong{color:#17395d}.receipt-manual-add{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:7px;margin:14px 0}.receipt-manual-add button,.receipt-footer button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:10px;padding:11px 13px;font-weight:800;cursor:pointer}.receipt-manual-add button{background:#e9f3ff;color:#236399;font-size:12px}.receipt-raw{font-size:12px;color:#59748b;margin:12px 0}.receipt-raw textarea{margin-top:8px;resize:vertical}.receipt-photo-retention{display:flex;align-items:center;gap:8px;font-size:12px;color:#49657b;margin:12px 0}.receipt-photo-retention input{width:auto}.receipt-disclaimer{font-size:11px;line-height:1.5;color:#8192a2}.receipt-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;position:sticky;bottom:-1px;background:#fff;padding:10px 0 0}.receipt-footer .secondary-button{background:#eef3f7;color:#49657b}.receipt-footer .primary-button{background:#2378bf;color:#fff}.receipt-footer button:disabled{opacity:.5;cursor:wait}@media(max-width:600px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-modal{width:100%;max-width:100%;max-height:92dvh}.receipt-meta{grid-template-columns:1fr 1fr}.receipt-meta label:first-child{grid-column:1/-1}.receipt-line-fields{grid-template-columns:1fr 1fr}.receipt-manual-add{grid-template-columns:minmax(0,1fr) 88px}.receipt-manual-add button{grid-column:1/-1}.receipt-footer{flex-direction:column-reverse}.receipt-footer button{width:100%}}.receipt-history{border:1px solid #e0eaf2;border-radius:13px;padding:12px;margin:10px 0 16px;background:#fbfdff}.receipt-history>strong{display:block;font-size:12px;margin-bottom:7px}.receipt-history-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #eaf0f5}.receipt-history-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}.receipt-history-row b{font-size:12px;overflow-wrap:anywhere}.receipt-history-row small{font-size:10px;color:#7890a4}.receipt-history-row button{display:flex;align-items:center;gap:4px;border:0;border-radius:8px;padding:7px 8px;background:#fff0ed;color:#a64c40;font-size:10px;font-weight:800;white-space:nowrap}.receipt-source{display:flex;flex-direction:column;gap:5px;margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#f7fafc;border:1px solid #e0eaf2}.receipt-source small{font-size:10px;font-weight:800;color:#71869a}.receipt-source img{display:block;max-width:100%;max-height:100px;object-fit:contain;object-position:left center;align-self:flex-start;background:#fff;border-radius:5px}
