:root{font-family:Trebuchet MS,Trebuchet,sans-serif;color:#1e293b;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f8fafc}button,input,select{font:inherit}button,a.button,label.button{cursor:pointer}svg{width:18px;height:18px}.app{min-height:100vh;display:grid;grid-template-columns:240px 1fr}aside{background:#fff;border-right:1px solid #f1f5f9;padding:0;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:240px;z-index:5}.brand{height:84px;padding:20px;display:flex;gap:11px;align-items:center;border-bottom:1px solid #f1f5f9}.logo{width:40px;height:40px;background:#4f46e5;color:#fff;border-radius:10px;display:grid;place-items:center}.brand strong{font-size:18px;line-height:1.1;display:block;color:#1e293b}.brand span{font-size:12px;color:#94a3b8}nav{padding:14px 12px;display:grid;gap:3px}nav button{width:100%;border:0;background:transparent;color:#475569;border-radius:9px;padding:11px 12px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;text-align:left}nav button svg{color:#94a3b8}nav button:hover{background:#f8fafc;color:#1e293b}nav button.active{background:#eef2ff;color:#4338ca}nav button.active svg{color:#6366f1}.aside-bottom{margin-top:auto;padding:16px;border-top:1px solid #f1f5f9}.aside-bottom>p,.categories>p{font-size:10px;letter-spacing:.7px;font-weight:700;color:#64748b;margin:0 0 6px}.select-wrap{position:relative}.select-wrap select{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;color:#334155;border:1px solid #e2e8f0;border-radius:8px;padding:10px 28px 10px 34px;font-size:13px}.select-wrap>svg:first-child{position:absolute;left:10px;top:10px;color:#6366f1}.select-wrap>svg:last-child{position:absolute;right:8px;top:10px;color:#94a3b8}.new-month{width:100%;border:1px solid #e2e8f0;background:#fff;color:#475569;border-radius:8px;padding:9px 11px;margin-top:8px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:13px;font-weight:600}.new-month:hover{background:#f8fafc}.profile{border-top:1px solid #f1f5f9;margin:16px -2px 0;padding:15px 0 0;display:flex;gap:9px;align-items:center}.profile>span{width:34px;height:34px;border-radius:9px;background:#6366f1;color:#fff;display:grid;place-items:center;font-weight:700}.profile strong,.profile small{display:block}.profile strong{font-size:12px}.profile small,.version{font-size:11px;color:#94a3b8}.version{display:block;text-align:center;margin-top:12px}main{grid-column:2;padding:34px 30px;max-width:1640px;width:100%}header{display:flex;justify-content:space-between;gap:30px;align-items:flex-end}h1{font-size:28px;margin:3px 0;color:#1e293b;letter-spacing:-.5px}header>div>p:last-child{margin:0;color:#64748b;font-size:14px}.eyebrow{color:#6366f1;font-weight:700;font-size:10px;letter-spacing:1.2px;margin:0}.header-actions{display:flex;gap:9px}.button,.primary{border:1px solid #e2e8f0;background:#fff;color:#334155;border-radius:8px;padding:9px 13px;text-decoration:none;display:flex;align-items:center;gap:7px;font-weight:500;font-size:13px;transition:.15s}.button:hover{background:#f8fafc}.primary{background:#4f46e5;color:#fff;border-color:#4f46e5}.primary:hover{background:#4338ca}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0}.stat{background:#fff;border:1px solid #f1f5f9;border-radius:12px;padding:19px 20px;display:flex;gap:14px;min-height:116px;box-shadow:0 1px 2px #0f172a08}.stat:nth-child(3){background:#f5f3ff;border-color:#ede9fe}.stat:nth-child(4){background:#ecfeff;border-color:#cffafe}.stat-icon{width:36px;height:36px;border-radius:9px;background:#eef2ff;color:#6366f1;display:grid;place-items:center}.stat:nth-child(3) .stat-icon{background:#ede9fe;color:#7c3aed}.stat:nth-child(4) .stat-icon{background:#cffafe;color:#0891b2}.stat p,.field label,.item-total label{font-size:10px;letter-spacing:.6px;font-weight:700;color:#64748b;margin:0 0 8px}.stat strong{font-size:24px;display:block;color:#334155}.stat:nth-child(3) strong{color:#6d28d9}.stat:nth-child(4) strong{color:#0e7490}.stat span{font-size:12px;color:#94a3b8}.progress{height:4px;background:#e2e8f0;border-radius:4px;margin-top:9px;width:120px}.progress i{display:block;height:100%;background:#6366f1;border-radius:4px}.toolbar{display:flex;justify-content:space-between;background:#fff;border:1px solid #f1f5f9;border-radius:12px 12px 0 0;padding:14px 18px 0;margin-bottom:0}.search{position:relative;width:280px}.search svg{position:absolute;left:10px;top:10px;color:#94a3b8}.search input{border:1px solid #e2e8f0;background:#fff;padding:9px 10px 9px 36px;border-radius:8px;outline:0;width:100%;font-size:13px}.search input:focus,.field input:focus,.field select:focus,.modal input:focus,.modal select:focus{border-color:#6366f1;box-shadow:0 0 0 2px #e0e7ff}.tabs{display:flex;gap:20px}.tabs button{border:0;background:transparent;color:#64748b;padding:10px 0 14px;font-size:13px}.tabs button.active{color:#4f46e5;border-bottom:2px solid #4f46e5;font-weight:700}.content{display:grid;grid-template-columns:190px 1fr;gap:0;background:#fff;border:1px solid #f1f5f9;border-top:0;border-radius:0 0 12px 12px;box-shadow:0 1px 2px #0f172a08;min-height:430px}.categories{padding:20px 14px;border-right:1px solid #f1f5f9}.categories button{display:flex;width:100%;justify-content:space-between;border:0;background:transparent;padding:9px 10px;color:#64748b;text-align:left;border-radius:7px;font-size:13px}.categories button:hover{background:#f8fafc}.categories button.active{background:#eef2ff;color:#4338ca;font-weight:600}.categories span{color:#94a3b8}.list{min-width:0;padding:18px}.list-head{display:flex;justify-content:space-between;color:#94a3b8;font-size:11px;margin-bottom:10px}.item{display:grid;grid-template-columns:34px minmax(150px,1.5fr) 64px 110px 112px 100px 110px 30px;gap:13px;align-items:center;background:#fff;border:1px solid #f1f5f9;border-radius:9px;padding:13px 14px;margin-bottom:7px;transition:.15s}.item:hover{border-color:#c7d2fe;background:#fafaff;box-shadow:0 2px 8px #4f46e50a}.item.purchased{opacity:.65}.item.purchased h3{text-decoration:line-through}.check{width:28px;height:28px;border:2px solid #cbd5e1;border-radius:7px;background:#fff;color:#fff;padding:3px}.purchased .check{background:#4f46e5;border-color:#4f46e5}.item-info h3{font-size:14px;margin:0 0 3px;color:#334155}.item-info p{font-size:11px;color:#94a3b8;margin:0}.field input,.field select{width:100%;border:1px solid #e2e8f0;border-radius:7px;padding:7px;background:#fff;outline:0;color:#475569}.field.cost>div{display:flex;border:1px solid #e2e8f0;border-radius:7px;align-items:center}.field.cost span{font-size:9px;padding-left:6px;color:#94a3b8}.field.cost input{border:0;padding-left:4px;min-width:0;box-shadow:none}.item-total strong{font-size:13px;color:#334155}.status{border:1px solid #c7f0df;border-radius:15px;padding:6px 8px;font-size:11px;font-weight:600;color:#047857;background:#ecfdf5;max-width:110px}.status.needed{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.status.removed,.status.not-needed{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.trash{border:0;background:transparent;color:#cbd5e1;padding:4px}.trash:hover{color:#e11d48}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a99;display:grid;place-items:center;z-index:10;padding:20px}.modal{background:#fff;border-radius:12px;padding:26px;width:min(440px,100%);position:relative;box-shadow:0 20px 60px #0f172a40}.modal h2{font-size:21px;margin:0 0 7px}.modal>p{color:#64748b;font-size:13px;margin:0 0 22px}.modal-close{position:absolute;right:16px;top:16px;border:0;background:#f8fafc;color:#64748b;border-radius:8px;padding:6px}.modal form{display:grid;gap:14px}.modal form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.4px}.modal input,.modal select{padding:10px;border:1px solid #e2e8f0;border-radius:8px;outline:0;text-transform:none}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal .primary{justify-content:center;margin-top:5px}.toast{position:fixed;bottom:25px;left:50%;background:#1e293b;color:#fff;padding:12px 20px;border-radius:8px;z-index:20;box-shadow:0 5px 20px #0f172a33;font-size:13px}.loading,.no-results{text-align:center;padding:70px;color:#94a3b8}.no-results svg{width:35px;height:35px}.no-results h3{margin:10px 0 2px;color:#475569}.no-results p{margin:0}.empty{min-height:100vh;display:grid;place-content:center;text-align:center;justify-items:center}.empty>svg{width:48px;height:48px;color:#6366f1}.empty h1{margin-bottom:0}.empty p{color:#64748b}.empty .primary{margin-top:10px}@media(max-width:1150px){.stats{grid-template-columns:1fr 1fr}.item{grid-template-columns:34px 1fr 60px 100px 100px}.item-total,.item .status,.item .trash{display:none}}@media(max-width:760px){.app{display:block;padding-bottom:72px}aside{position:fixed;z-index:5;inset:auto 0 0;width:auto;height:64px;padding:9px 14px;flex-direction:row;align-items:center;border:0;border-top:1px solid #e2e8f0}.brand{height:auto;padding:0;border:0}.brand span,.brand strong,.aside-bottom>p,.select-wrap svg,nav,.profile,.version{display:none}.logo{width:38px;height:38px}.aside-bottom{margin:0 0 0 auto;padding:0;border:0;display:flex;align-items:center;gap:6px}.select-wrap select{padding:8px;width:145px}.new-month{width:auto;font-size:0;margin:0;padding:8px}.new-month svg{width:20px}main{padding:22px 14px}.header-actions .button{display:none}header{align-items:flex-start}.header-actions .primary{font-size:0;padding:10px}.stats{grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.stat{padding:13px;gap:8px;min-height:92px}.stat-icon{display:none}.stat strong{font-size:18px}.toolbar{display:block;padding:12px 12px 0}.search{width:100%}.tabs{overflow:auto}.content{display:block}.categories{display:flex;overflow:auto;margin-bottom:0;padding:10px;border-right:0;border-bottom:1px solid #f1f5f9}.categories>p{display:none}.categories button{width:auto;white-space:nowrap}.categories span{margin-left:7px}.list{padding:10px}.item{grid-template-columns:32px 1fr 58px 90px;padding:11px;gap:8px}.item .cost,.item-total,.item .status,.item .trash{display:none}.store select{font-size:11px;padding:7px 2px}h1{font-size:25px}header>div>p:last-child{display:none}}.profile>div{min-width:0;flex:1}.profile strong,.profile small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout{border:0;background:transparent;color:#94a3b8;padding:5px;border-radius:7px}.logout:hover{color:#e11d48;background:#fff1f2}.auth-loading{min-height:100vh;display:grid;place-content:center;justify-items:center;color:#64748b;gap:8px}.auth-loading svg{width:38px;height:38px;color:#6366f1}.login-page{min-height:100vh;background:#020617;display:grid;place-items:center;padding:20px;position:relative;overflow:hidden}.login-glow{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 15% 10%,#10b9812e,transparent 35%),radial-gradient(circle at 85% 90%,#6366f14d,transparent 35%)}.login-card{position:relative;width:min(430px,100%);background:#fff;border-radius:16px;padding:28px;box-shadow:0 25px 70px #0007}.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:26px}.login-brand h1{font-size:21px;margin:0}.login-brand p{font-size:13px;color:#64748b;margin:3px 0 0}.login-card form{display:grid;gap:16px}.login-card label{display:grid;gap:6px;color:#64748b;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.login-card input{border:1px solid #e2e8f0;border-radius:8px;padding:11px;outline:0;text-transform:none}.login-card input:focus{border-color:#6366f1;box-shadow:0 0 0 2px #e0e7ff}.login-card .primary{justify-content:center}.login-note{text-align:center;border-top:1px solid #f1f5f9;color:#94a3b8;font-size:11px;margin:22px 0 0;padding-top:18px}.form-error{color:#be123c;background:#fff1f2;border:1px solid #ffe4e6;padding:9px 11px;border-radius:8px;font-size:12px;text-transform:none}.standalone{grid-column:auto;max-width:1500px;margin:auto;min-height:100vh}.users-page header{margin-bottom:26px}.user-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.user-card{background:#fff;border:1px solid #f1f5f9;border-radius:12px;padding:18px;display:flex;gap:13px;align-items:center;box-shadow:0 1px 2px #0f172a08}.user-card.inactive{opacity:.58}.user-avatar{width:52px;height:52px;border-radius:14px;color:#fff;display:grid;place-items:center;font-size:19px;font-weight:700;flex:none}.user-card>div:nth-child(2){min-width:0;flex:1}.user-name{font-weight:700;color:#334155;display:flex;align-items:center;gap:7px}.user-name small,.role-badge,.inactive-badge{font-size:10px;border-radius:12px;padding:2px 7px}.user-name small{background:#eef2ff;color:#4f46e5}.user-card p{font-size:12px;color:#64748b;margin:4px 0 8px;overflow:hidden;text-overflow:ellipsis}.role-badge{background:#f1f5f9;color:#475569;text-transform:capitalize}.role-badge.admin{background:#eef2ff;color:#4f46e5}.inactive-badge{background:#fff1f2;color:#be123c;margin-left:5px}.user-actions{display:grid;gap:3px}.user-actions button{border:0;background:transparent;color:#94a3b8;padding:7px;border-radius:7px}.user-actions button:hover{background:#eef2ff;color:#4f46e5}.user-actions button:disabled{opacity:.3;cursor:not-allowed}.colors{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.colors button{width:30px;height:30px;border:3px solid #fff;border-radius:9px;box-shadow:0 0 0 1px #e2e8f0}.colors button.selected{box-shadow:0 0 0 2px #475569;transform:scale(1.08)}@media(max-width:1000px){.user-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.user-grid{grid-template-columns:1fr}.standalone{padding:22px 14px}.users-page header{align-items:flex-start}.users-page .header-actions .button{display:flex;font-size:0}}.mobile-month-bar{display:none}.danger-button{color:#e11d48}.danger-button:hover{background:#fff1f2;border-color:#fecdd3}@media(max-width:760px){body{overflow-x:hidden}.app{display:block;padding-bottom:76px}.app>aside{position:fixed;z-index:8;inset:auto 0 0;width:100%;height:68px;padding:6px 8px;background:#fff;border:0;border-top:1px solid #e2e8f0;box-shadow:0 -4px 16px #0f172a0d;display:block}.app>aside .brand,.app>aside .aside-bottom{display:none}.app>aside nav{display:flex!important;padding:0;height:100%;gap:2px;justify-content:space-around}.app>aside nav button{display:flex!important;flex:1;width:auto;min-width:0;height:56px;padding:6px 2px;border-radius:8px;flex-direction:column;justify-content:center;gap:3px;font-size:9px;line-height:1;text-align:center;white-space:nowrap}.app>aside nav button svg{width:19px;height:19px}main{padding:14px 12px 20px;max-width:100%;overflow:hidden}.mobile-month-bar{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:18px}.mobile-month-bar>div{position:relative;display:flex;align-items:center;min-width:0;flex:1}.mobile-month-bar svg{position:absolute;left:10px;color:#6366f1;pointer-events:none}.mobile-month-bar select{width:100%;min-width:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:10px 10px 10px 36px;color:#334155;font-size:13px}.mobile-month-bar button{border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:10px;color:#4f46e5;display:flex;align-items:center;gap:5px;font-size:11px;font-weight:600;white-space:nowrap}.mobile-month-bar button svg{position:static;width:16px;height:16px}.mobile-month-bar .delete-month{color:#e11d48;padding:10px}.mobile-month-bar .delete-month svg{pointer-events:auto}header{align-items:flex-start;gap:8px}header h1{font-size:24px;line-height:1.15}.header-actions{gap:5px;flex-shrink:0}.header-actions .button,.header-actions .primary{display:grid!important;place-items:center;width:38px;height:38px;padding:0;font-size:0}.header-actions .button span,.header-actions .primary span{display:none}.header-actions svg{width:18px;height:18px}.stats{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:18px 0}.stat{padding:13px 12px;min-width:0;min-height:96px}.stat>div:last-child{min-width:0}.stat strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat span{display:block;font-size:10px;line-height:1.25}.progress{max-width:100%;width:100px}.toolbar{display:block;padding:11px 10px 0;overflow:hidden}.search{width:100%}.tabs{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;padding:0 1px}.tabs::-webkit-scrollbar{display:none}.tabs button{white-space:nowrap;flex:none;font-size:12px}.content{display:block;min-width:0}.categories{display:flex;gap:3px;overflow-x:auto;scrollbar-width:none;padding:9px;border-right:0;border-bottom:1px solid #f1f5f9}.categories::-webkit-scrollbar{display:none}.categories>p{display:none}.categories button{width:auto;flex:none;white-space:nowrap;padding:8px}.categories span{margin-left:6px}.list{padding:9px}.list-head{padding:0 2px}.list-head span:last-child{display:none}.item{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(82px,auto);grid-template-areas:"check info status" "check need store" "check cost total";gap:9px 8px;padding:12px 10px;margin-bottom:9px;align-items:center;min-width:0}.item .check{grid-area:check;align-self:start}.item-info{grid-area:info;min-width:0}.item-info h3{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item>.field:not(.store):not(.cost){grid-area:need}.item .store{grid-area:store}.item .cost{grid-area:cost;display:block!important}.item-total{grid-area:total;display:block!important;text-align:right}.item .status{grid-area:status;display:block!important;width:100%;max-width:100%;font-size:10px;padding:5px 3px}.item .trash{display:none}.field label,.item-total label{margin-bottom:3px}.field input,.field select{min-width:0;height:32px;padding:5px;font-size:12px}.field.cost>div{height:32px}.item-total strong{font-size:12px;white-space:nowrap}.no-results,.loading{padding:48px 12px}.overlay{align-items:end;padding:0}.modal{width:100%;max-height:90vh;overflow-y:auto;border-radius:16px 16px 0 0;padding:24px 18px calc(24px + env(safe-area-inset-bottom))}.form-row{grid-template-columns:1fr 1fr}.toast{left:12px;right:12px;bottom:82px;text-align:center}}@media(max-width:370px){.stats{grid-template-columns:1fr}.stat{min-height:82px}.item{grid-template-columns:28px minmax(0,1fr) 78px}.mobile-month-bar button{font-size:0}.mobile-month-bar button svg{display:block}}.page-hidden{display:none}.overview-card,.history-card{margin-top:24px;background:#fff;border:1px solid #f1f5f9;border-radius:12px;box-shadow:0 1px 2px #0f172a08}.overview-head{display:flex;align-items:center;justify-content:space-between;padding:19px 20px;border-bottom:1px solid #f1f5f9}.overview-head h2{font-size:17px;margin:0}.overview-head p{font-size:12px;color:#94a3b8;margin:3px 0 0}.quick-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-items>div{padding:15px 20px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-items>div:nth-child(odd){border-right:1px solid #f1f5f9}.quick-items span{font-size:14px;font-weight:600}.quick-items small{font-size:11px;color:#94a3b8;text-align:right}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:25px}.category-grid>button{border:1px solid #f1f5f9;background:#fff;border-radius:12px;padding:18px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#334155;box-shadow:0 1px 2px #0f172a08}.category-grid>button:hover{border-color:#c7d2fe;background:#fafaff}.category-grid h3{font-size:14px;margin:0 0 4px}.category-grid p{font-size:11px;color:#94a3b8;margin:0}.category-counts{display:grid;gap:4px;text-align:right}.category-counts span{font-size:10px;color:#4f46e5;background:#eef2ff;border-radius:10px;padding:3px 7px}.category-counts span:last-child{color:#047857;background:#ecfdf5}.history-card{overflow:hidden}.history-head,.history-row{display:grid;grid-template-columns:minmax(180px,2fr) 1fr 1fr 100px;gap:16px;align-items:center;padding:13px 20px}.history-head{background:#f8fafc;color:#64748b;font-size:10px;font-weight:700;letter-spacing:.5px}.history-row{border-top:1px solid #f1f5f9;font-size:13px}.history-row>div{min-width:0}.history-row strong,.history-row small{display:block}.history-row small{color:#94a3b8;font-size:11px;margin-top:3px}.history-row>strong:last-child{text-align:right}.section-history .mobile-month-bar,.section-categories .mobile-month-bar{visibility:hidden}@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.section-history .mobile-month-bar,.section-categories .mobile-month-bar{display:none}.overview-card,.history-card{margin-top:18px}.overview-head{padding:14px}.overview-head .button{font-size:11px;padding:8px}.quick-items{grid-template-columns:1fr}.quick-items>div{padding:13px 14px;border-right:0!important}.category-grid{grid-template-columns:1fr;gap:8px;margin-top:18px}.category-grid>button{padding:14px}.history-head{display:none}.history-row{grid-template-columns:minmax(0,1fr) auto;padding:13px 14px;gap:7px 10px}.history-row>span:nth-child(2){grid-column:2;grid-row:1}.history-row>span:nth-child(3){grid-column:1;grid-row:2;color:#64748b}.history-row>strong:last-child{grid-column:2;grid-row:2}.section-dashboard header,.section-categories header,.section-history header{margin-top:4px}}.catalog-page{margin-top:24px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.catalog-toolbar>div{display:flex;gap:8px}.store-tabs{background:#eef2ff;padding:4px;border-radius:10px}.store-tabs button{border:0;background:transparent;color:#64748b;border-radius:7px;padding:8px 18px;font-weight:600}.store-tabs button.active{background:#fff;color:#4f46e5;box-shadow:0 1px 4px #0f172a1a}.catalog-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.catalog-groups article{background:#fff;border:1px solid #f1f5f9;border-radius:12px;overflow:hidden}.catalog-group-head{background:#f8fafc;border-bottom:1px solid #f1f5f9;padding:13px 16px;display:flex;justify-content:space-between;align-items:center}.catalog-group-head h3{font-size:13px;margin:0}.catalog-group-head span{font-size:10px;color:#64748b}.catalog-item{display:flex;align-items:center;border-bottom:1px solid #f1f5f9;padding:3px 7px 3px 15px}.catalog-item:last-child{border-bottom:0}.catalog-item>button:first-child{border:0;background:transparent;text-align:left;padding:10px 0;min-width:0;flex:1;color:#334155}.catalog-item strong,.catalog-item small{display:block}.catalog-item strong{font-size:13px}.catalog-item small{font-size:10px;color:#94a3b8;margin-top:3px}@media(max-width:760px){.catalog-page{margin-top:18px}.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-toolbar>div{width:100%}.store-tabs button{flex:1}.catalog-toolbar>div:last-child .button,.catalog-toolbar>div:last-child .primary{flex:1;justify-content:center;font-size:11px}.catalog-groups{grid-template-columns:1fr;gap:9px}}.complete-button{color:#047857;border-color:#a7f3d0}.complete-button:hover{background:#ecfdf5}.history-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}.history-lists>button{border:1px solid #f1f5f9;background:#fff;border-radius:12px;padding:18px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;color:#334155;box-shadow:0 1px 2px #0f172a08}.history-lists>button:hover{border-color:#c7d2fe;background:#fafaff}.history-list-icon{width:40px;height:40px;border-radius:10px;background:#ecfdf5;color:#059669;display:grid;place-items:center}.history-lists h3{font-size:14px;margin:0 0 4px}.history-lists p{font-size:11px;color:#94a3b8;margin:0}.history-lists>button>div:last-child{text-align:right}.history-lists>button>div:last-child strong,.history-lists>button>div:last-child span{display:block}.history-lists>button>div:last-child strong{font-size:11px;color:#047857}.history-lists>button>div:last-child span{font-size:12px;margin-top:5px}.history-detail{margin-top:24px}.history-detail-head{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid #f1f5f9;border-radius:12px;padding:16px 18px}.history-detail-head h2{font-size:17px;margin:0 0 3px}.history-detail-head p{font-size:11px;color:#94a3b8;margin:0}.history-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}.history-category-grid button{border:1px solid #e2e8f0;background:#fff;border-radius:9px;padding:13px;text-align:left;color:#475569}.history-category-grid button.active{border-color:#818cf8;background:#eef2ff;color:#4338ca}.history-category-grid strong,.history-category-grid span{display:block}.history-category-grid strong{font-size:12px}.history-category-grid span{font-size:10px;color:#94a3b8;margin-top:4px}.history-prompt{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;padding:45px;color:#94a3b8;font-size:13px}.history-purchases{background:#fff;border:1px solid #f1f5f9;border-radius:12px;overflow:hidden}.history-purchases>div{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-bottom:1px solid #f1f5f9}.history-purchases>div:last-child{border-bottom:0}.history-purchases strong,.history-purchases small{display:block}.history-purchases strong{font-size:13px}.history-purchases small{font-size:10px;color:#94a3b8;margin-top:3px}.history-purchases>div>span{font-size:13px;font-weight:600}@media(max-width:760px){.history-lists{grid-template-columns:1fr;gap:8px;margin-top:18px}.history-lists>button{padding:13px;grid-template-columns:36px minmax(0,1fr) auto}.history-list-icon{width:35px;height:35px}.history-detail{margin-top:18px}.history-detail-head{align-items:flex-start;flex-direction:column;gap:10px;padding:13px}.history-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-prompt{padding:35px 12px}}@media(min-width:761px){main{min-width:0}header{flex-wrap:wrap}.header-actions{flex-wrap:wrap;justify-content:flex-end}.section-history .mobile-month-bar,.section-categories .mobile-month-bar{display:none}.section-history header,.section-categories header{margin-top:0}.standalone{width:100%}.users-page{min-width:0}}@media(min-width:761px)and (max-width:1350px){main{padding-left:24px;padding-right:24px}.content{grid-template-columns:165px minmax(0,1fr)}.item{grid-template-columns:34px minmax(130px,1fr) 58px 100px 100px 105px}.item-total,.item .trash{display:none}.catalog-groups{grid-template-columns:1fr}.history-lists{grid-template-columns:1fr 1fr}.header-actions .button,.header-actions .primary{padding-left:10px;padding-right:10px}}@media(min-width:761px)and (max-width:1050px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.history-lists{grid-template-columns:1fr}.history-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:761px){.history-lists{grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr));max-width:1200px}.history-detail{max-width:1200px}}@media(min-width:761px){.item{grid-template-columns:34px minmax(180px,1fr) 80px 130px 34px}.item-total,.item .store,.item .cost{display:none}}@media(max-width:760px){.item{grid-template-columns:30px minmax(0,1fr) minmax(88px,auto);grid-template-areas:"check info status" "check need status"}.item>.field:not(.store):not(.cost){grid-area:need}.item .status{grid-area:status}.item .store,.item .cost,.item-total{display:none!important}}.trip-action{border:0;border-radius:8px;padding:7px 9px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:600;white-space:nowrap}.trip-action svg{width:15px;height:15px}.trip-action.skip{background:#f8fafc;color:#64748b}.trip-action.skip:hover{background:#fff7ed;color:#c2410c}.trip-action.restore{background:#eef2ff;color:#4f46e5}.trip-action.restore:hover{background:#e0e7ff}.check-muted{display:block;background:#f1f5f9;border-color:#e2e8f0}.item.not-needed,.item.removed{background:#fafafa;opacity:.78}.item.not-needed .item-info h3,.item.removed .item-info h3{color:#64748b}.status.not-needed{color:#64748b;background:#f1f5f9;border-color:#e2e8f0}@media(min-width:761px){.item{grid-template-columns:34px minmax(180px,1fr) 80px 110px 112px}}@media(max-width:760px){.item{grid-template-columns:30px minmax(0,1fr) minmax(88px,auto);grid-template-areas:"check info status" "check need status" ". action action"}.trip-action{grid-area:action;justify-self:end;padding:7px 10px}.item.not-needed .field,.item.removed .field{opacity:.55}}.trip-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.trip-action.unavailable{background:#fff7ed;color:#c2410c}.trip-action.unavailable:hover{background:#ffedd5}.status.unavailable{color:#b45309;background:#fffbeb;border-color:#fde68a}.item.unavailable{border-color:#fed7aa;background:#fffdf8}.item.unavailable .check{border-color:#fdba74}.item.unavailable .item-info h3{color:#9a3412}@media(min-width:761px){.item{grid-template-columns:34px minmax(160px,1fr) 72px 105px minmax(190px,230px)}}@media(min-width:761px)and (max-width:1200px){.trip-action span{display:none}.item{grid-template-columns:34px minmax(140px,1fr) 65px 100px 82px}.trip-action{width:36px;padding:7px}}@media(max-width:760px){.trip-actions{grid-area:action;justify-self:end;flex-wrap:wrap}.trip-actions .trip-action{grid-area:auto}.item{grid-template-areas:"check info status" "check need status" ". action action"}}@media(max-width:760px){main{padding:10px 9px 18px}.mobile-month-bar{margin-bottom:12px}.mobile-month-bar select{height:38px;padding-top:8px;padding-bottom:8px}.mobile-month-bar button{height:38px;padding:8px}header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;margin-bottom:0}header .eyebrow{margin-bottom:3px}header h1{font-size:22px}.header-actions{align-self:end}.header-actions .button,.header-actions .primary{width:36px;height:36px}.section-list>.stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0;gap:7px}.section-list>.stats .stat{min-height:82px;padding:11px}.section-list>.stats .stat:nth-child(n+3){display:none}.section-list>.stats .stat strong{font-size:20px}.section-list>.stats .progress{margin-top:6px}.toolbar{padding:9px 8px 0}.search input{height:36px}.tabs{gap:15px}.tabs button{padding-bottom:11px;font-size:11px}.categories{padding:7px 8px;gap:2px}.categories button{padding:7px 8px;font-size:11px;border-radius:6px}.list{padding:7px}.list-head{margin:1px 0 7px}.item{grid-template-columns:28px minmax(0,1fr) 58px 72px;grid-template-areas:"check info need status" ". action action action";gap:7px;padding:9px;margin-bottom:7px;border-radius:9px}.item .check{align-self:center;width:27px;height:27px}.item-info h3{font-size:13px}.item-info p{font-size:10px}.item .status{width:72px;min-width:0;padding:5px 4px;text-align:center;justify-self:end}.item>.field:not(.store):not(.cost){display:grid;grid-area:need;gap:2px;align-items:center;justify-content:stretch}.item>.field:not(.store):not(.cost) label{margin:0;font-size:8px}.item>.field:not(.store):not(.cost) input{width:58px;height:29px;padding:4px 6px}.trip-actions{grid-area:action;justify-self:stretch;justify-content:flex-end;flex-wrap:nowrap}.trip-actions .trip-action{min-height:29px;padding:6px 8px;font-size:10px}.trip-actions .trip-action span{display:inline}.trip-actions .trip-action svg{width:14px;height:14px}.app{padding-bottom:72px}.app>aside{height:64px;padding:4px 6px}.app>aside nav button{height:54px;font-size:8px}.app>aside nav button svg{width:18px;height:18px}.toast{bottom:74px}}@media(max-width:390px){.header-actions{gap:3px}.header-actions .button,.header-actions .primary{width:33px;height:34px}.trip-actions .trip-action span{display:none}.trip-actions .trip-action{width:34px}.item{grid-template-columns:27px minmax(0,1fr) 54px 66px;gap:6px}.item .status{width:66px}.item>.field:not(.store):not(.cost) input{width:54px}.tabs{gap:13px}}.catalog-groups{grid-template-columns:1fr;max-width:1100px}.catalog-groups article{transition:border-color .15s ease}.catalog-groups article.expanded{border-color:#c7d2fe}.catalog-group-head{width:100%;border:0;background:#f8fafc;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#334155}.catalog-group-head:hover{background:#f1f5f9}.catalog-group-head>div{display:flex;align-items:center;gap:10px}.catalog-group-head h3{margin:0;font-size:13px}.catalog-group-head span{font-size:10px;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:2px 7px}.catalog-group-head svg{width:17px;height:17px;color:#94a3b8;transition:transform .18s ease}.catalog-groups article.expanded .catalog-group-head svg{transform:rotate(180deg);color:#4f46e5}.catalog-group-items{border-top:1px solid #f1f5f9}.catalog-group-items .catalog-item{padding-left:18px;padding-right:10px}@media(max-width:760px){.catalog-group-head{padding:12px 13px}.catalog-group-head>div{gap:7px}.catalog-group-items .catalog-item{padding-left:14px}.catalog-item>button:first-child{padding-top:9px;padding-bottom:9px}}
