:root{color:#1d2a38;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef3ff;font-family:Inter,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:linear-gradient(#eef4ff 0%,#f8fafc 100%);min-height:100vh}button,input{font:inherit}button{transition:transform .2s,opacity .2s}input:focus,button:focus{outline-offset:2px;outline:2px solid #9ec9ff}.app-shell{grid-template-columns:320px minmax(0,1fr);width:100%;min-height:100vh;display:grid}.sidebar{background:#f7f8fc;border-right:1px solid #dfe5ef;padding:24px 18px}.sidebar-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.mobile-sidebar-backdrop,.mobile-list-management-button,.mobile-sidebar-close{display:none}.mobile-list-management-button{z-index:20;color:#38577e;cursor:pointer;background:#fff;border:1px solid #d7e1ef;border-radius:10px;place-items:center;width:42px;height:42px;position:absolute;top:16px;left:28px}.mobile-list-icon{flex-direction:column;gap:4px;display:flex}.mobile-list-icon span{background:currentColor;border-radius:2px;width:17px;height:2px;margin-left:5px;display:block;position:relative}.mobile-list-icon span:before{content:"";background:currentColor;border-radius:50%;width:2px;height:2px;position:absolute;left:-5px}.mobile-sidebar-close{color:#38577e;cursor:pointer;background:#fff;border:1px solid #d7e1ef;border-radius:8px;place-items:center;width:36px;height:36px;font-size:22px;line-height:1}.current-user{background:#fff;border:1px solid #e1e8f3;border-radius:12px;align-items:center;gap:10px;margin-bottom:18px;padding:10px 12px;display:flex}.current-user-avatar{object-fit:cover;border-radius:50%;flex:0 0 32px;width:32px;height:32px}.fallback-avatar{color:#2d69bb;background:#eaf3ff;place-items:center;font-size:13px;font-weight:800;display:grid}.current-user-details{flex-direction:column;gap:2px;min-width:0;display:flex}.current-user-details strong,.current-user-details span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.current-user-details strong{color:#24344d;font-size:.85rem}.current-user-details span{color:#6a7d99;font-size:.74rem}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#7a8aa5;margin:0 0 8px;font-size:11px;font-weight:700}.sidebar h2,.content-panel h1,.category-creator h2,.category-card h3{margin:0}.compact-form,.category-form,.product-form{gap:10px;display:flex}.compact-form{margin-bottom:18px}.compact-form input{min-width:0}.compact-form button{border-radius:10px;flex:0 0 42px;place-items:center;width:42px;height:42px;padding:0;font-size:24px;line-height:1;display:grid}.compact-form input,.category-form input,.product-form input{color:#1d2a38;background:#fff;border:1px solid #d6dce8;border-radius:12px;flex:1;padding:10px 12px}.compact-form button,.category-form button,.product-form button,.ghost-button,.list-item{font:inherit}.compact-form button,.category-form button,.product-form button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f9ef2,#4d7dff);border:none;border-radius:12px;padding:10px 14px;transition:transform .2s,opacity .2s}.compact-form button:hover,.category-form button:hover,.product-form button:hover,.ghost-button:hover,.list-item:hover,.delete-button:hover{transform:translateY(-1px)}.list-selector{flex-direction:column;gap:10px;margin-top:16px;display:flex}.list-item{color:#1d2a38;background:#fff;border:1px solid #dfe5ef;border-radius:14px;justify-content:space-between;align-items:center;padding:0;display:flex}.list-item.active{background:#eaf3ff;border-color:#9ec9ff}.list-item strong{color:#2d69bb;background:#edf5ff;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:28px;font-size:12px;display:inline-flex}.list-item-main{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;justify-content:space-between;align-items:center;gap:10px;padding:12px 10px 12px 14px;display:flex}.list-item-main span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.list-item-name{min-width:0}.list-item-summary{flex:none;align-items:center;gap:8px;display:inline-flex}.list-item-users{align-items:center;padding-left:6px;display:inline-flex}.list-user-avatar{object-fit:cover;background:#eaf3ff;border:2px solid #fff;border-radius:50%;width:24px;height:24px;margin-left:-6px}.list-user-avatar.fallback-avatar{font-size:10px}.list-settings-button{color:#55709a;cursor:pointer;background:0 0;border:none;border-left:1px solid #e4e9f2;padding:12px 10px;font-size:12px;font-weight:700}.list-settings-button:hover{color:#2459a5;background:#f4f7fc}.content-panel{padding:80px 28px 40px;position:relative}.profile-menu{z-index:20;position:absolute;top:16px;right:28px}.profile-avatar-button{cursor:pointer;background:#fff;border:1px solid #d7e1ef;border-radius:50%;place-items:center;width:42px;height:42px;padding:3px;display:grid}.profile-avatar-button img,.profile-avatar-button .fallback-avatar{object-fit:cover;border-radius:50%;width:34px;height:34px}.profile-popover{opacity:0;visibility:hidden;background:#fff;border:1px solid #dfe5ef;border-radius:10px;flex-direction:column;gap:4px;width:min(280px,100vw - 36px);padding:12px 14px;transition:opacity .15s,transform .15s,visibility .15s;display:flex;position:absolute;top:calc(100% - 1px);right:0;transform:translateY(-4px);box-shadow:0 10px 28px #18274b24}.profile-menu:hover .profile-popover,.profile-menu:focus-within .profile-popover,.profile-menu.open .profile-popover{opacity:1;visibility:visible;transform:translateY(0)}.profile-popover strong,.profile-popover span{overflow-wrap:anywhere}.profile-popover strong{color:#24344d;font-size:.9rem}.profile-popover span{color:#6a7d99;font-size:.8rem}.profile-logout-button{color:#b42318;text-align:left;background:0 0;border-top:1px solid #edf1f7;border-radius:0;width:100%;margin-top:8px;padding:9px 0 0}.profile-logout-button:hover{color:#8f1d16}.panel-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.active-list-header{flex-wrap:wrap;align-items:flex-end}.panel-header h1{font-size:clamp(2rem,2.6vw,3rem)}.auth-screen{background:linear-gradient(#eef4ff 0%,#f8fafc 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#ffffffe6;border:1px solid #dde7f7;border-radius:24px;width:min(100%,460px);padding:28px 24px;box-shadow:0 20px 45px #415c921f}.auth-card h1{text-align:center;margin:0 0 18px;font-size:clamp(2rem,5vw,2.8rem)}.auth-toggle{background:#edf3ff;border-radius:12px;grid-template-columns:repeat(2,1fr);margin-bottom:18px;padding:4px;display:grid}.auth-toggle button{cursor:pointer;color:#445c81;background:0 0;border:none;border-radius:10px;padding:10px 12px;font-weight:700}.auth-toggle button.active{color:#1d2a38;background:#fff;box-shadow:0 4px 10px #29416414}.auth-form,.share-form{flex-direction:column;gap:12px;display:flex}.google-divider{color:#6d7e99;text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:12px;margin:18px 0 12px;font-size:.78rem;display:flex}.google-divider:before,.google-divider:after{content:"";background:#dfe8f6;flex:1;height:1px}.google-button-wrap{justify-content:center;margin-top:8px;display:flex}.google-config-note{color:#64758f;text-align:center;margin-top:16px;font-size:.82rem}.auth-form input,.share-form input{color:#1d2a38;background:#fff;border:1px solid #d6dce8;border-radius:12px;padding:12px 14px}.auth-form button,.share-form button,.logout-button{cursor:pointer;border:none;border-radius:12px}.auth-form button,.share-form button{color:#fff;background:linear-gradient(135deg,#3c86ff,#4e67ff);padding:12px 14px;font-weight:700}.auth-error,.form-error{color:#b42318;margin:0;font-size:.92rem}.logout-button{color:#334c7a;background:#eef2ff;padding:8px 10px;font-weight:700}.share-box{background:#fff;border:1px solid #e2eaf6;border-radius:18px;margin-bottom:24px;padding:18px 20px}.share-box h2{margin:0 0 12px;font-size:1.1rem}.share-form{grid-template-columns:minmax(0,1fr) 120px;gap:10px;display:grid}.sidebar-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.ghost-button{cursor:pointer;color:#24344d;background:#fff;border:1px solid #d9dfeb;border-radius:12px;padding:10px 14px}.ghost-button.danger{color:#b3264c;background:#fff3f6;border-color:#f8d2d9}.ghost-button.small{padding:7px 10px;font-size:12px}.settings-panel{max-width:760px}.settings-form{flex-direction:column;gap:24px;display:flex}.settings-form>label{color:#334c70;flex-direction:column;gap:8px;font-weight:700;display:flex}.settings-form input{color:#1d2a38;font:inherit;background:#fff;border:1px solid #d6dce8;border-radius:12px;padding:12px 14px;font-weight:400}.settings-form>.default-list-toggle{cursor:pointer;flex-direction:row;align-items:center;gap:10px}.default-list-toggle input{accent-color:#3677da;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0}.category-order-section{background:#fff;border:1px solid #e2eaf6;border-radius:18px;padding:20px}.settings-section{background:#fff;border:1px solid #e2eaf6;border-radius:18px;flex-direction:column;gap:12px;padding:20px;display:flex}.settings-section h2{margin:0;font-size:1.15rem}.settings-section .category-form,.settings-section .share-form{margin:0}.shared-user-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.shared-user-list li{background:#f9fbff;border:1px solid #e3eaf4;border-radius:10px;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 12px;display:flex}.shared-user-list+.shared-user-list{margin-top:-4px}.owner-user{background:#eef6ff!important;border-color:#c7ddf8!important}.owner-label{color:#2d69bb;font-size:12px;font-weight:700}.shared-user-details{flex-direction:column;gap:3px;min-width:0;display:flex}.unshare-button{color:#b3264c;cursor:pointer;background:#fff3f6;border:1px solid #f8d2d9;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:700}.unshare-button:disabled{cursor:not-allowed;opacity:.5}.shared-user-list span,.settings-muted{color:#6a7d99;font-size:.9rem}.settings-muted{margin:0}.category-order-section h2{margin:0 0 6px;font-size:1.15rem}.category-order-section p{color:#6a7d99;margin:0}.category-order-list{counter-reset:category-order;flex-direction:column;gap:10px;margin:18px 0 0;padding:0;list-style:none;display:flex}.category-order-list li{counter-increment:category-order;background:#f9fbff;border:1px solid #e3eaf4;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.category-order-list li:before{content:counter(category-order);color:#7890b2;font-size:12px;font-weight:700}.category-order-list li>span{color:#1d2a38;flex:1;font-weight:700}.order-button{color:#334c70;cursor:pointer;background:#fff;border:1px solid #d9dfeb;border-radius:8px;padding:6px 8px;font-size:12px}.order-button:disabled{cursor:not-allowed;opacity:.4}.category-delete-button{color:#b3264c;cursor:pointer;background:#fff3f6;border:1px solid #f8d2d9;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:700}.category-delete-button:hover{background:#ffe8ee;border-color:#e9a7b6}.settings-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.primary-button{color:#fff;font:inherit;cursor:pointer;background:linear-gradient(135deg,#3c86ff,#4e67ff);border:none;border-radius:12px;padding:12px 16px;font-weight:700}.stats-grid{justify-content:flex-end;gap:8px;min-width:0;display:flex}.stat-card{text-align:center;background:linear-gradient(#fff,#f6f9ff);border:1px solid #e0e9f5;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:72px;padding:6px 8px;display:flex}.stat-card span{color:#6a7d99;text-transform:uppercase;letter-spacing:0;white-space:nowrap;font-size:10px}.stat-card strong{color:#1b2f49;font-size:1rem}.stat-card.accent{background:linear-gradient(#eefaf4,#f8fffb);border-color:#cfeed8}.category-creator{background:#fff;border:1px solid #e2eaf6;border-radius:18px;margin-bottom:24px;padding:18px 20px}.category-creator h2{margin-bottom:12px;font-size:1.2rem}.category-form{gap:10px;display:flex}.categories-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:4px;margin-inline:-18px;display:grid}.category-card{background:#fff;border:1px solid #e3eaf4;border-radius:9px;padding:4px 6px;box-shadow:0 12px 20px #18274b0d}.category-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.category-title{justify-content:flex-start;align-items:center;gap:8px;min-width:0;display:flex}.category-collapse-button{color:#55709a;cursor:pointer;background:#fff;border:1px solid #d9dfeb;border-radius:8px;flex:0 0 28px;justify-content:center;align-items:center;width:28px;height:28px;font-size:18px;line-height:1;display:inline-flex}.category-collapse-button:hover{color:#2459a5;border-color:#b9cbe5}.category-head h3{color:#1d2a38;font-size:28px;line-height:1.05}.category-pending-count{color:#1d2a38;flex:none;font-size:28px;font-weight:700;line-height:1.05}.product-list{flex-direction:column;gap:6px;margin:0 0 10px;padding:0;list-style:none;display:flex}.product-item{background:#f9fbff;border:1px solid #edf1f7;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:4px 6px;display:flex}.product-item.checked{background:#f3faf5;border-color:#d2eed8}.product-toggle{color:#1d2a38;flex:1;align-items:center;gap:10px;font-size:28px;line-height:1.05;display:inline-flex}.edit-button,.edit-action{color:#55709a;cursor:pointer;background:#fff;border:1px solid #d9dfeb;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:700}.edit-button:hover,.edit-action:hover{color:#2459a5;border-color:#b9cbe5}.icon-button{justify-content:center;align-items:center;width:30px;height:30px;padding:0;font-size:18px;line-height:1;display:inline-flex}.edit-action.save{color:#2459a5;background:#edf5ff}.product-edit-form{flex:1;grid-template-columns:minmax(0,1fr) 64px;gap:8px;width:100%;min-width:0;display:grid}.product-item:has(.product-edit-form){justify-content:stretch}.product-edit-form input{color:#1d2a38;min-width:0;font:inherit;border:1px solid #b9cbe5;border-radius:8px;flex:1;padding:7px 9px}.product-edit-form .product-edit-quantity{flex:0 0 64px}.product-toggle input{accent-color:#2baf66;width:18px;height:18px}.product-item.checked .product-toggle span{color:#70829a;text-decoration:line-through}.product-actions{align-items:center;gap:8px;display:flex}.quantity-badge{color:#2d69bb;background:#ebf2ff;border-radius:999px;justify-content:center;align-items:center;min-width:32px;height:26px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.delete-button{color:#c45062;cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:1.3rem}.empty-item,.empty-state,.empty-panel p{color:#6a7d99}.empty-item{background:#fbfcff;border:1px dashed #d8e0ee;border-radius:10px;padding:12px 8px;list-style:none}.empty-state{text-align:center;background:#fff;border:1px dashed #dce5f4;border-radius:18px;padding:18px}.empty-state.small{margin:0;padding:12px;font-size:.9rem}.empty-panel{text-align:center;place-content:center;min-height:400px;display:grid}.empty-panel h1{margin-bottom:12px;font-size:clamp(2.1rem,4vw,3.2rem)}.product-form{grid-template-columns:minmax(0,1fr) 64px auto;gap:8px;display:grid}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{border:none;display:none}.sidebar.mobile-open{z-index:51;background:#f7f8fc;border-right:1px solid #dfe5ef;width:min(360px,100vw - 48px);height:100dvh;display:block;position:fixed;inset:0 auto 0 0;overflow-y:auto;box-shadow:12px 0 32px #18274b2e}.mobile-sidebar-backdrop{z-index:50;background:#15233657;border:0;padding:0;display:block;position:fixed;inset:0}.mobile-list-management-button,.mobile-sidebar-close{display:grid}.profile-menu{right:18px}.content-panel{padding:80px 18px 32px}.categories-grid{margin-inline:-13px}.panel-header,.category-form,.compact-form,.product-form,.settings-actions{flex-direction:column;align-items:stretch}.panel-header.active-list-header{flex-direction:row;align-items:flex-end;gap:8px}.compact-form{flex-direction:row;align-items:center}.category-order-list li{flex-wrap:wrap;align-items:flex-start}.category-order-list li>div{gap:8px;width:100%;display:flex}.order-button{flex:1}.product-edit-form,.product-edit-form .edit-action{width:100%}}
