:root{font-family:Segoe UI Variable,Segoe UI,system-ui,sans-serif;color:#10261b;background:#f5f8f5;font-synthesis:none;--green-900: #0b4f2c;--green-800: #126137;--green-100: #e7f3eb;--ink: #10261b;--muted: #718078;--line: #dce4de;--surface: #ffffff;--orange: #dd5c15;--orange-soft: #fff4e9;--radius-lg: 20px;--radius-md: 13px;--shadow-panel: 0 18px 50px rgba(15, 42, 27, .13)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(26,133,75,.24);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{min-height:100vh}.app-header{height:88px;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}.brand{display:inline-flex;align-items:center;gap:14px;color:var(--green-900);text-decoration:none;font:700 25px/1 Segoe UI Variable,Segoe UI,sans-serif;letter-spacing:-.04em}.brand-mark{width:39px;height:42px;border:2px solid currentColor;border-radius:5px 5px 10px 10px;display:grid;place-items:center;position:relative}.bag-handle{position:absolute;width:19px;height:12px;border:2px solid currentColor;border-bottom:0;border-radius:12px 12px 0 0;top:-10px}.header-actions{display:flex;align-items:center;gap:22px}.header-icon-button{width:42px;height:42px;margin:0 -12px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#f8fbf8;color:var(--green-900);cursor:pointer}.header-icon-button:hover{background:var(--green-100);border-color:#b9cfbf}.couple{display:flex;align-items:center}.couple span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-weight:700;font-size:15px;border:3px solid white}.couple span:first-child{background:#dce8d9}.couple span:last-child{background:#ffddbd;margin-left:-11px}.primary-button,.secondary-button{min-height:48px;border-radius:12px;padding:0 20px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;font-weight:700;font-size:14px;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.primary-button{background:var(--green-900);color:#fff;box-shadow:0 7px 18px #0b4f2c29}.primary-button:hover{background:#063d21;transform:translateY(-1px)}.primary-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.secondary-button{background:#fff;border:1px solid #cad4cc}main{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:60px 0 32px;transition:width .24s ease,margin .24s ease}.intro{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:32px}.intro h1{margin:0;display:flex;align-items:center;gap:12px;font:700 clamp(38px,4.3vw,58px)/1.05 "Segoe UI Variable","Segoe UI",sans-serif;letter-spacing:-.055em}.heart{color:#23984f;fill:transparent;stroke-width:2}.intro>div>p{margin:10px 0 0;font-size:clamp(21px,2vw,27px);color:#7f8b85;letter-spacing:-.025em}.shared-note{color:#7c8881;max-width:270px;margin:0 0 6px;line-height:1.55;text-align:right}.needed-section{background:linear-gradient(115deg,#fff8f0,#fff3e5);border:1px solid #f2c59f;border-radius:var(--radius-lg);padding:25px 26px 23px;margin-bottom:42px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.needed-title-wrap{display:flex;align-items:center;gap:11px;color:var(--orange)}.needed-title-wrap h2{margin:0;font:700 22px/1.2 Segoe UI Variable,Segoe UI,sans-serif;letter-spacing:-.025em}.count{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;font-size:13px;font-weight:700}.text-button{background:none;border:0;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:13px;font-weight:700}.clear-button{color:#c85416}.needed-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.needed-item{border:1px solid #f0dfd0;border-radius:13px;background:#ffffffe0;min-width:0;padding:15px;display:flex;align-items:center;text-align:left;gap:12px;cursor:pointer;box-shadow:0 5px 14px #914e1e0d;transition:transform .18s ease,border-color .18s ease}.needed-item:hover{transform:translateY(-2px);border-color:#e6b68f}.needed-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.needed-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.needed-copy span{color:#756c64;font-size:13px}.need-check{width:25px;height:25px;flex:0 0 25px;padding:0;border:1.5px solid #bdc8c1;background:#fff;border-radius:6px;display:grid;place-items:center;cursor:pointer;transition:all .16s ease}.need-check:hover{border-color:var(--green-800)}.need-check.is-active{border-color:var(--green-800);background:var(--green-800);color:#fff;box-shadow:0 3px 7px #1261372b}.needed-item .need-check.is-active{border-color:var(--orange);background:var(--orange)}.empty-needed{min-height:82px;margin-top:18px;display:flex;align-items:center;justify-content:center;gap:13px;border:1px dashed #e6cbb4;border-radius:13px;background:#ffffff80}.empty-needed div{display:flex;flex-direction:column;gap:2px}.empty-needed span{font-size:13px;color:#7d746d}.empty-check{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#e8f3ea;color:var(--green-800)!important}.inventory-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.inventory-heading h2{margin:0;font:700 25px/1.2 Segoe UI Variable,Segoe UI,sans-serif;letter-spacing:-.035em}.inventory-heading p{margin:5px 0 0;color:var(--muted);font-size:14px}.inventory-heading>span{color:var(--muted);font-size:13px}.inventory-tools{display:flex;align-items:center;gap:18px;margin-bottom:17px}.search-field{height:47px;width:290px;flex:0 0 290px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid #ccd6cf;border-radius:12px;background:#fff;color:#7d8982}.search-field:focus-within{border-color:#5c9572;box-shadow:0 0 0 3px #1f794417}.search-field input{border:0;outline:0;background:transparent;width:100%;color:var(--ink);font-size:14px}.category-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px}.category-tabs::-webkit-scrollbar{display:none}.category-tab{height:43px;padding:0 16px;border-radius:11px;border:1px solid #cbd8cf;background:#f9fbf9;color:#214d34;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}.category-tab:hover{border-color:#86a991}.category-tab.is-active{background:var(--green-900);border-color:var(--green-900);color:#fff}.inventory-list{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.list-header,.inventory-row{display:grid;grid-template-columns:34px minmax(210px,1fr) minmax(140px,.6fr) 190px 44px;align-items:center}.list-header{min-height:46px;padding:0 18px;border-bottom:1px solid var(--line);color:#819087;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.list-header span:first-child{grid-column:2}.inventory-row{min-height:52px;padding:0 18px;border-bottom:1px solid #e8ede9;transition:background .16s ease}.inventory-row:last-child{border-bottom:0}.inventory-row:hover{background:#fafcfa}.inventory-row.is-needed{background:#fbfdfb}.item-name{font-size:15px;font-weight:600}.inventory-row.is-needed .item-name{color:#174d2e}.category-label{justify-self:start;padding:5px 9px;border-radius:7px;font-size:12px;font-weight:600}.category-label.produce{color:#5d7528;background:#edf4dc}.category-label.dairy{color:#287558;background:#e4f5ed}.category-label.meat{color:#9a4037;background:#fbe8e5}.category-label.bakery{color:#9a651e;background:#fff1d8}.category-label.pantry{color:#476f9d;background:#e9f1fa}.category-label.beverage{color:#236b78;background:#e4f4f6}.category-label.cleaning{color:#7750a8;background:#f1eafb}.quantity-control{display:grid;grid-template-columns:34px 82px 34px;align-items:center;gap:4px}.quantity-control button,.panel-quantity button{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid #d5ddd7;border-radius:9px;background:#fff;cursor:pointer}.quantity-control button:hover,.panel-quantity button:hover{border-color:#7ca088;background:#f4f9f5}.quantity-value{min-width:0;display:flex;align-items:center;justify-content:center;gap:3px;font-size:13px}.quantity-value input{width:48px;height:34px;padding:0 5px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);text-align:right;font-size:13px;font-weight:700}.quantity-value input:hover{border-color:#d5ddd7;background:#fff}.quantity-value input:focus{border-color:#5c9572;background:#fff;outline:0;box-shadow:0 0 0 3px #1f794417}.icon-button{width:38px;height:38px;padding:0;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#6f7d75;cursor:pointer}.icon-button:hover{background:#edf3ef;color:var(--green-900)}.delete-button:hover{color:#b8453c;background:#fff0ee}.empty-search{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#829087}.empty-search strong{color:var(--ink);margin-top:5px}.empty-search span{font-size:13px}.sync-error{margin:-14px 0 20px;padding:12px 14px;border:1px solid #efc8c1;border-radius:11px;background:#fff4f2;color:#9a3e35;font-size:13px}.list-loading,.security-loading{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:13px}.list-loading span,.security-loading span{width:30px;height:30px;border:3px solid #dbe7de;border-top-color:var(--green-800);border-radius:50%;animation:spin .8s linear infinite}footer{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:10px 0 36px;color:#66776d;display:flex;gap:8px;align-items:center;font-size:12px}.app-footer{justify-content:space-between}.app-footer>span{display:inline-flex;align-items:center;gap:8px}.install-button{min-height:38px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #bfd0c4;border-radius:10px;background:#f8fbf8;color:var(--green-900);font-size:12px;font-weight:700;cursor:pointer}.install-button:hover{border-color:#8aac95;background:var(--green-100)}.install-button.compact{width:40px;padding:0}.panel-backdrop{position:fixed;top:88px;right:0;bottom:0;left:0;z-index:40;border:0;background:transparent;animation:fadeIn .2s ease}.add-panel{position:fixed;z-index:41;right:16px;top:104px;bottom:16px;width:min(410px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-panel);padding:28px;animation:slideIn .24s ease-out}@media(min-width:821px){.app-shell.has-panel main{width:calc(100% - 500px);max-width:1040px;margin-left:36px;margin-right:0}.app-shell.has-panel footer{width:calc(100% - 500px);max-width:1040px;margin-left:36px;margin-right:0}.app-shell.has-panel .needed-section{margin-bottom:18px}.app-shell.has-panel main{padding-top:38px}.app-shell.has-panel .intro{margin-bottom:20px}.app-shell.has-panel .inventory-heading{margin-bottom:12px}.app-shell.has-panel .inventory-heading p{display:none}.app-shell.has-panel .inventory-tools{gap:12px;margin-bottom:13px}.app-shell.has-panel .search-field{width:250px;flex-basis:250px}.app-shell.has-panel .category-tab{padding:0 12px}.app-shell.has-panel .list-header,.app-shell.has-panel .inventory-row{grid-template-columns:34px minmax(180px,1fr) minmax(120px,.55fr) 170px 40px}}.panel-header{display:flex;align-items:start;justify-content:space-between;gap:18px}.panel-header h2{margin:0;font:700 24px/1.2 Segoe UI Variable,Segoe UI,sans-serif;letter-spacing:-.035em}.panel-header p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.add-panel form{height:calc(100% - 75px);display:flex;flex-direction:column;padding-top:31px}.form-field{display:flex;flex-direction:column;gap:9px;margin-bottom:22px}.form-field>span,.quantity-field legend{font-size:13px;font-weight:700}.form-field input,.form-field select,.quantity-field>select{height:50px;border:1px solid #ccd5cf;border-radius:11px;background:#fff;color:var(--ink);padding:0 14px;font-size:14px}.form-field input::placeholder{color:#9ca6a0}.quantity-field{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 100px;gap:10px}.quantity-field legend{margin-bottom:9px}.panel-quantity{height:50px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;border:1px solid #ccd5cf;border-radius:11px;overflow:hidden}.panel-quantity button{width:100%;height:100%;border:0;border-radius:0}.panel-quantity strong{text-align:center;font-size:14px}.panel-quantity input{width:100%;height:100%;padding:0 4px;border:0;outline:0;background:transparent;color:var(--ink);text-align:center;font-size:14px;font-weight:700}.quantity-field>select{width:100%}.form-note{margin-top:30px;border:1px solid #bdd8c4;border-radius:12px;padding:14px;background:#f3f9f4;display:flex;align-items:flex-start;gap:10px;color:#3a654a;font-size:12px;line-height:1.5}.form-note svg{flex:0 0 auto;margin-top:1px}.panel-actions{display:grid;gap:10px;margin-top:auto}.full{width:100%}@keyframes fadeIn{0%{opacity:0}}@keyframes slideIn{0%{transform:translate(24px);opacity:0}}@keyframes spin{to{transform:rotate(360deg)}}.security-shell{min-height:100vh;background:radial-gradient(circle at 50% 24%,#fff 0,#f4f8f5 48%,#eef4f0)}.security-shell>header{height:88px;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffe0}.security-main{width:min(100% - 32px,500px);min-height:calc(100vh - 88px);margin:0 auto;padding:72px 0;display:grid;place-items:start center}.auth-card{width:100%;padding:38px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 22px 60px #1437231a}.auth-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:var(--green-100);color:var(--green-900)}.auth-icon.denied{background:#fff0ed;color:#a84438}.auth-card h1{margin:24px 0 9px;font-size:28px;line-height:1.15;letter-spacing:-.035em}.auth-card>p{margin:0;color:var(--muted);line-height:1.6;font-size:14px}.auth-form{margin-top:28px}.auth-input{height:50px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #ccd5cf;border-radius:11px;color:#78877e}.auth-input:focus-within{border-color:#5c9572;box-shadow:0 0 0 3px #1f794417}.auth-input input{width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--ink)}.form-error{margin:-9px 0 14px!important;color:#a84438!important;font-size:12px!important}.auth-success{margin-top:28px;padding:16px;display:flex;gap:12px;border:1px solid #bfd8c5;border-radius:12px;background:#f1f8f3;color:var(--green-800)}.auth-success div{display:flex;flex-direction:column;gap:3px}.auth-success span{color:#567062;font-size:12px}.auth-footnote{margin-top:25px!important;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px!important}.auth-options{margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:14px}.auth-options button,.auth-text-button{padding:0;border:0;background:none;color:var(--green-800);font-size:12px;font-weight:700;cursor:pointer}.auth-options button:hover,.auth-text-button:hover{text-decoration:underline}.auth-text-button{margin:18px auto 0;display:flex;align-items:center;justify-content:center;gap:6px}.secure-note{margin-top:24px;padding:13px;display:flex;align-items:center;gap:9px;border-radius:11px;background:#f3f8f4;color:#436a51;font-size:12px}.setup-card code{padding:2px 5px;border-radius:5px;background:#edf2ee;color:#315841}.access-backdrop{top:0;right:0;bottom:0;left:0;background:#0c1c1333;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:50}.access-panel{position:fixed;z-index:51;top:16px;right:16px;bottom:16px;width:min(470px,calc(100vw - 32px));padding:28px;overflow-y:auto;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-panel);animation:slideIn .24s ease-out}.invite-form{margin-top:30px;padding-bottom:24px;border-bottom:1px solid var(--line)}.invite-form .form-field{margin-bottom:11px}.invite-form .form-field input{height:48px;border:1px solid #ccd5cf;border-radius:11px;padding:0 14px}.invite-form .primary-button{width:100%}.access-message{margin:16px 0 0;padding:11px 12px;border-radius:9px;font-size:12px}.access-message.success{display:flex;gap:7px;background:#eff8f1;color:#316744}.access-message.error{background:#fff0ed;color:#9c4238}.member-list{margin-top:28px}.member-list h3{margin:0 0 11px;font-size:13px}.member-row{min-height:66px;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:11px;border-bottom:1px solid #e8ede9}.member-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#edf0ee;color:#7f8a83;font-weight:700}.member-avatar.active{background:var(--green-100);color:var(--green-900)}.member-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.member-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.member-copy small{color:var(--muted);font-size:11px}.access-toggle,.you-label{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:var(--green-800);font-size:11px;font-weight:700}.access-toggle{padding:8px;border-radius:8px;cursor:pointer}.access-toggle:hover{background:var(--green-100)}.access-toggle.revoke{color:#a8463c}.access-toggle.revoke:hover{background:#fff0ed}.password-form{margin-top:30px}.password-form .access-message{margin:-6px 0 16px}.install-panel{position:fixed;z-index:51;top:50%;left:50%;width:min(430px,calc(100vw - 32px));padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-panel);transform:translate(-50%,-50%)}.install-steps{margin-top:28px;display:grid;gap:13px}.install-steps>div{padding:15px;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;background:#f8faf8}.install-steps span{color:var(--green-800);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.install-steps strong{display:flex;align-items:center;gap:5px;font-size:13px;line-height:1.5}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}@media(max-width:820px){.app-header{height:72px;padding:0 20px}.brand{font-size:21px;gap:10px}.brand-mark{transform:scale(.83)}.couple{display:none}.header-actions .primary-button{width:43px;height:43px;min-height:43px;padding:0}.header-actions .primary-button span{display:none}.header-actions{gap:10px}.header-icon-button{margin:0;width:40px;height:40px}main{width:calc(100% - 32px);padding-top:38px}.intro{align-items:start;margin-bottom:25px}.intro h1{font-size:clamp(34px,9vw,46px)}.intro>div>p{font-size:20px}.shared-note{display:none}.needed-section{padding:20px;margin-bottom:34px}.needed-list{grid-template-columns:1fr;gap:10px}.needed-item{width:100%;min-height:58px}.inventory-tools{align-items:stretch;flex-direction:column;gap:11px}.search-field{width:100%;flex-basis:47px}.category-tabs{margin:0 -16px;padding:2px 16px}.list-header{display:none}.inventory-list{border-radius:14px}.inventory-row{grid-template-columns:34px 1fr auto 38px;grid-template-areas:"check name qty delete" "check category qty delete";min-height:78px;column-gap:7px;padding:10px 12px}.inventory-row .need-check{grid-area:check}.item-name{grid-area:name;align-self:end}.category-label{grid-area:category;align-self:start;padding:2px 0;background:transparent!important;font-size:11px}.quantity-control{grid-area:qty;grid-template-columns:31px 66px 31px}.quantity-control button{width:31px;height:31px}.delete-button{grid-area:delete}footer{width:calc(100% - 32px);padding-bottom:90px}.app-footer{align-items:flex-start;gap:16px}.app-footer .install-button{min-height:36px;padding:0 11px}.panel-backdrop{top:0;right:0;bottom:0;left:0;background:#0c1c133b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.add-panel{top:auto;left:0;right:0;bottom:0;width:100%;max-height:88vh;border-radius:24px 24px 0 0;padding:24px 20px;animation-name:sheetIn}.access-panel{top:auto;left:0;right:0;bottom:0;width:100%;max-height:90vh;border-radius:24px 24px 0 0;padding:24px 20px;animation-name:sheetIn}.add-panel form{height:auto;max-height:calc(88vh - 74px);overflow-y:auto;padding-bottom:env(safe-area-inset-bottom)}.panel-actions{margin-top:30px}@keyframes sheetIn{0%{transform:translateY(35px);opacity:0}}}@media(max-width:520px){.security-main{padding-top:36px}.security-shell>header .install-button span{display:none}.security-shell>header .install-button{width:40px;padding:0}.auth-card{padding:28px 22px}.auth-card h1{font-size:25px}}@media(max-width:520px){.section-title-row{align-items:flex-start}.clear-button{font-size:0;width:36px;height:36px;justify-content:center}.clear-button svg{width:18px;height:18px}.inventory-heading p{display:none}.inventory-heading h2{font-size:22px}.quantity-control{grid-template-columns:29px 62px 29px}.quantity-control button{width:29px;height:29px}.quantity-value input{width:38px}}
