:root{color:#20332c;font-synthesis:none;--green:#24664d;--muted:#66716b;--border:#dce2dc;--white:#fff;--soft:#eef3ed;background:#f5f6f2;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:16px;font-weight:400;line-height:1.5}.header-actions{flex-shrink:0}.refresh-button{white-space:nowrap;gap:6px;font-size:13px;font-weight:600}.order-toolbar{margin:-8px 0 14px}.order-toolbar>.text-button{padding-left:0}.order-toolbar .helper{margin:0 0 8px}.zone-sort-row{align-items:stretch;gap:8px;min-width:0;display:flex}.zone-sort-row>.zone-row{flex:1;min-width:0}.zone-order-controls{border:1px solid var(--border);background:#fff;border-radius:10px;flex-direction:column;flex-shrink:0;justify-content:center;display:flex}.zone-order-controls .icon-button{color:var(--green)}.zone-order-controls .icon-button:disabled{opacity:.28}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button svg{flex-shrink:0}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #609d83}input:focus,select:focus{outline-offset:1px;outline:2px solid #609d83}h1,h2,p{margin:0}h1{letter-spacing:-.6px;overflow-wrap:anywhere;font-size:27px;font-weight:700;line-height:1.2}h2{font-size:20px;line-height:1.3}strong{font-weight:650}small{font-size:13px}.muted{color:var(--muted)}.helper{color:var(--muted);margin:12px 0 20px;font-size:13px}.full{width:100%}.app-shell{background:#fafbf8;border-left:1px solid #e7ebe4;border-right:1px solid #e7ebe4;max-width:680px;min-height:100dvh;margin:0 auto}.app-header{background:#fafbf8;border-bottom:1px solid #e6eae3;justify-content:space-between;align-items:center;height:76px;padding:0 24px;display:flex}.brand{letter-spacing:-.5px;background:0 0;border:0;align-items:center;gap:10px;padding:0;font-size:20px;font-weight:700;display:flex}.brand-mark{background:var(--green);color:#fff;border-radius:18px;justify-content:center;align-items:center;width:62px;height:62px;display:inline-flex}.brand-mark.small{border-radius:11px;width:38px;height:38px}.header-actions{gap:4px;display:flex}.icon-button{background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px;display:inline-flex}.icon-button:hover{background:#edf1ea}.main-content{padding:28px 24px 112px}.page-heading{align-items:center;gap:10px;margin-bottom:23px;display:flex}.page-heading>div:not(.heading-action){min-width:0}.page-heading>.icon-button{margin-left:-10px}.page-heading p{margin-top:7px;font-size:14px}.heading-action{flex-shrink:0;margin-left:auto}.primary,.secondary,.danger-fill{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:11px 17px;font-weight:600;display:inline-flex}.primary{background:var(--green);color:#fff;box-shadow:0 2px 2px #173d2710}.primary:hover{background:#1c563f}.secondary{color:var(--green);background:#fff;border-color:#bfcfc2}.secondary:hover{background:#f0f5ed}.danger-fill{color:#fff;background:#ae332c}.add-button{width:100%;margin:0 0 20px}.text-button{min-height:44px;color:var(--green);background:0 0;border:0;border-radius:8px;padding:9px 8px;font-weight:600}.text-button:hover{background:#edf3e9}.danger{color:#a6312b}.danger:hover{background:#fff0ed}.small-button{border:1px solid var(--border);min-height:44px;color:var(--green);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:8px 12px;font-size:14px;font-weight:600;display:inline-flex}.search{border:1px solid var(--border);color:#707d73;background:#fff;border-radius:10px;align-items:center;gap:9px;min-height:50px;margin-bottom:16px;padding:0 13px;display:flex}.search:focus-within{outline-offset:1px;outline:2px solid #609d83}.search input{width:100%;min-width:0;color:inherit;background:0 0;border:0;outline:none;padding:12px 0;font-size:15px}.search input:focus{outline:none}.rows{flex-direction:column;gap:10px;display:flex}.space-row,.zone-row{text-align:left;border:1px solid var(--border);background:#fff;border-radius:12px;align-items:center;gap:14px;width:100%;min-height:86px;padding:18px 16px;display:flex;box-shadow:0 2px 3px #20331a03}.space-row:hover,.zone-row:hover{background:#fdfffb;border-color:#a5bda8}.space-icon{color:#466846;background:#eef2e8;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.space-icon.fridge{color:#3e667d;background:#e9f0f4}.space-icon.freezer{color:#526687;background:#edf1f9}.space-icon.cabinet{color:#74637e;background:#f1edf4}.row-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.row-text strong{overflow-wrap:anywhere;font-size:18px}.row-text small{font-size:14px}.zone-row{min-height:82px;padding:16px}.zone-icon{background:var(--soft);color:#73866a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.badges{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.badge{border:1px solid #0000;border-radius:6px;align-items:center;width:fit-content;padding:2px 8px;font-size:12px;font-weight:550;line-height:1.65;display:inline-flex}.orange{color:#9c4b17;background:#fff3e7;border-color:#f4d3b1}.amber{color:#855b0a;background:#fff6df;border-color:#f3dc9a}.red{color:#9e352e;background:#fcece9;border-color:#f0c1ba}.green{color:var(--green);background:#edf4e9}.gray{color:#68716b;background:#eef0ec}.tiny-status{color:var(--green);font-size:12px;font-weight:600}.amber-text{color:#8a6113}.section-title{margin:25px 0 12px;font-size:17px}.empty{text-align:center;color:var(--muted);padding:38px 12px}.empty-icon{color:#789074;background:#eef2e8;border-radius:20px;justify-content:center;align-items:center;width:66px;height:66px;margin-bottom:16px;display:inline-flex}.empty h2{color:#3e5143;margin-bottom:9px;font-size:19px}.empty p{max-width:330px;margin:auto;font-size:14px}.product-row{border:1px solid var(--border);background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:16px 10px 16px 16px;display:grid;box-shadow:0 2px 3px #20331a03}.product-open{text-align:left;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;min-height:44px;padding:0;display:flex}.product-open strong{overflow-wrap:anywhere;font-size:17px;line-height:1.35}.product-open>.muted{margin:3px 0;font-size:14px}.location-text,.date-text{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.product-controls{flex-direction:column;align-items:center;gap:9px;display:flex}.stepper{background:#fff;border:1px solid #d5dfd4;border-radius:9px;align-items:center;display:inline-flex;overflow:hidden}.stepper button{background:0 0;border:0;border-radius:0;min-width:42px;min-height:46px;padding:8px;font-size:23px;line-height:1.2}.stepper button:hover{background:#edf4e9}.stepper .quantity{overflow-wrap:anywhere;color:#20332c;border-left:1px solid #e6ebe3;border-right:1px solid #e6ebe3;min-width:43px;max-width:105px;font-size:16px}.row-chevron{width:28px;min-width:28px;padding:0}.product-controls .small-button{min-height:42px;padding:7px 10px;font-size:12px}.manage-actions{border-top:1px solid #e4e9df;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-top:28px;padding-top:12px;display:flex}.detail-card{border:1px solid var(--border);background:#fff;border-radius:14px;margin-bottom:16px;padding:23px}.product-name{letter-spacing:-.5px;overflow-wrap:anywhere;font-size:26px}.breadcrumb{min-height:44px;color:var(--muted);text-align:left;background:0 0;border:0;align-items:center;gap:5px;padding:5px 0;font-size:14px;display:inline-flex}.detail-quantity{padding:23px 0}.detail-quantity>label{margin-bottom:11px;font-weight:600;display:block}.detail-quantity>div{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.detail-quantity .stepper button{min-width:54px;min-height:54px}.detail-quantity .stepper .quantity{min-width:65px;font-size:24px}.detail-quantity small{margin-top:8px;font-size:12px;display:block}.date-list{margin:0}.date-list>div{border-top:1px solid #edf0e8;justify-content:space-between;align-items:baseline;gap:12px;padding:15px 0;display:flex}.date-list dt{font-size:14px;font-weight:550}.date-list dd{white-space:nowrap;margin:0;font-size:15px}.detail-card .helper{margin:7px 0 0;font-size:12px}.expiry-note{border:1px solid;border-radius:8px;margin:5px 0 14px;padding:10px;font-size:14px}.needed-card{border:1px solid var(--border);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;padding:20px 23px;display:flex}.needed-card p{margin-top:3px;font-size:13px}.switch{background:#bac4b8;border:0;border-radius:18px;width:52px;min-width:52px;height:32px;padding:4px}.switch span{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .15s;display:block;box-shadow:0 1px 3px #0002}.switch.on{background:var(--green)}.switch.on span{transform:translate(20px)}.detail-actions{gap:12px;display:grid}.delete-product{width:100%;margin:20px 0;display:block}.bottom-nav{z-index:5;border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);width:min(680px,100%);padding:8px 12px max(8px,env(safe-area-inset-bottom));background:#fffffff5;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 20px #27392204}.bottom-nav button{color:#7a8379;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:58px;padding:8px;font-size:12px;font-weight:550;display:flex}.bottom-nav button.active{color:var(--green);background:#edf3e9;font-weight:700}.nav-icon{display:flex;position:relative}.nav-badge{color:#fff;background:#b14437;border:2px solid #fff;border-radius:12px;min-width:19px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:-5px;left:15px}.notice{border:1px solid var(--border);background:#fff;border-radius:12px;padding:18px}.notice.unread{border-left:3px solid var(--green);background:#fcfef9}.notice-top{align-items:flex-start;gap:12px;display:flex}.notice-icon{color:var(--green);padding-top:3px}.notice-top>div{overflow-wrap:anywhere;flex:1;min-width:0}.notice p{margin-top:3px;font-size:15px}.notice time{margin-top:6px;font-size:12px;display:block}.unread-dot{background:var(--green);border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:8px}.notice-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:13px;display:flex}.user-row{border:1px solid var(--border);overflow-wrap:anywhere;background:#fff;border-radius:12px;flex-direction:column;gap:6px;padding:20px;display:flex}.user-row>.muted{font-size:14px}.user-actions{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.user-actions .text-button{font-size:13px}.logout{margin-top:14px}.feedback{border:1px solid;border-radius:10px;align-items:center;gap:6px;margin-bottom:20px;padding:11px 8px 11px 14px;font-size:14px;display:flex}.feedback>span{flex:1}.feedback.error{color:#963d32;background:#fff1ed;border-color:#efc6ba}.feedback.success{color:#2a6548;background:#edf5e9;border-color:#c6dac1}.loading{min-height:100dvh;color:var(--green);flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex}.refreshing svg{animation:1.1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{max-width:430px;min-height:100dvh;margin:0 auto;padding:65px 24px 25px}.login-brand{text-align:center;margin-bottom:35px}.login-brand h1{margin:16px 0 8px;font-size:32px}.login-brand p{color:var(--muted);max-width:270px;margin:auto;font-size:14px}.login-card{border:1px solid var(--border);background:#fff;border-radius:16px;padding:28px;box-shadow:0 10px 35px #30442605}.login-card h2{margin-bottom:25px;font-size:23px}.field{margin-bottom:18px;font-size:14px;font-weight:550;display:block}.field>input,.field>select,.password-field{color:#253a2b;background:#fff;border:1px solid #ccd6ca;border-radius:8px;width:100%;min-width:0;min-height:48px;margin-top:7px;padding:10px 12px;font-size:16px;font-weight:400;display:block}.field small{margin-top:6px;font-size:12px;font-weight:400;display:block}.password-field{align-items:center;padding:0;display:flex}.password-field input{background:0 0;border:0;width:100%;min-width:0;min-height:46px;padding:10px 12px}.password-field:focus-within{outline-offset:1px;outline:2px solid #609d83}.password-field input:focus{outline:none}.login-footnote{color:var(--muted);align-items:flex-start;gap:8px;margin-top:24px;font-size:12px;display:flex}.login-footnote svg{flex-shrink:0;margin-top:2px}.local-caption{text-align:center;color:#8a9488;margin-top:26px;font-size:11px}dialog{border:1px solid var(--border);width:calc(100% - 32px);max-width:460px;color:inherit;background:#fafbf8;border-radius:16px;max-height:calc(100dvh - 40px);padding:24px;box-shadow:0 25px 100px #172b2240}dialog::backdrop{background:#152b2459}.dialog-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.dialog-head h2{overflow-wrap:anywhere;font-size:22px}.dialog-head .icon-button{flex-shrink:0;margin-right:-8px}.dialog-description{margin-bottom:22px;font-size:14px}.dialog-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.dialog-actions button{flex:1}dialog .field:last-of-type{margin-bottom:0}@media (width<=420px){.app-header{height:68px;padding:0 18px}.main-content{padding:23px 16px 108px}.product-row{gap:4px;padding-left:13px;padding-right:7px}.product-open strong{font-size:16px}.stepper button{min-width:36px;padding:6px}.stepper .quantity{min-width:35px;max-width:80px}.row-chevron{width:23px;min-width:23px}.product-controls .small-button{font-size:11px}.detail-card{padding:20px}.space-row{gap:12px;padding:16px 13px}.space-icon{width:46px;height:46px}.row-text strong{font-size:17px}.login-shell{padding-top:43px}.login-card{padding:24px}.date-list>div{flex-wrap:wrap;gap:4px}.date-list dd{margin-left:auto}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media (width>=800px){.app-shell{box-shadow:0 0 80px #243c2110}.main-content{padding-top:32px}.space-row{min-height:104px}.product-row{padding:20px}.login-shell{padding-top:80px}}@media (width<=360px){.app-header{padding-left:12px;padding-right:12px}.brand{gap:7px;font-size:17px}.brand-mark.small{width:32px;height:32px}.refresh-button{padding-left:6px;padding-right:6px}}
