:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#14213d;background:#f5f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f5f6f8}button,input,select{font:inherit}.shell{max-width:720px;margin:0 auto;padding:20px 16px 110px;min-height:100vh}.top{display:flex;align-items:flex-start;justify-content:space-between;margin:4px 0 22px}.top h1,.sticky-head h1{font-size:1.75rem;margin:0;letter-spacing:-.04em}.top p,.sticky-head p{margin:4px 0 0;color:#687386}.ghost-link{color:#14213d;text-decoration:none;background:#fff;border:1px solid #dfe3e8;border-radius:12px;padding:10px 12px;font-weight:700}.hero-card,.search-card{background:#fff;border:1px solid #e2e5e9;border-radius:18px;padding:16px;box-shadow:0 6px 22px #14213d0b;margin-bottom:24px}.hero-card h2{margin:0 0 12px;font-size:1rem}.row,.search-row{display:flex;gap:10px}input,select{width:100%;min-height:48px;border:1px solid #cfd5dc;border-radius:12px;background:#fff;padding:0 13px;color:#14213d;outline:none}input:focus,select:focus{border-color:#14213d;box-shadow:0 0 0 3px #14213d10}.hero-card select,.hero-card>input{margin-bottom:10px}button{min-height:46px;border:0;border-radius:12px;background:#14213d;color:#fff;padding:0 16px;font-weight:750;cursor:pointer}button:disabled{opacity:.45}.section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 2px 8px}.section-head h2{font-size:1.05rem;margin:0}.section-head span{background:#e9edf2;border-radius:999px;padding:3px 9px;font-size:.8rem}.list-card{background:#fff;border:1px solid #e2e5e9;border-radius:15px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;margin:8px 0;cursor:pointer}.list-card strong,.product-row strong,.item-main strong{display:block}.list-card small,.product-row small,.item-main small{display:block;color:#788494;margin-top:4px}.list-card.muted{cursor:default}.tiny{min-height:36px;padding:0 11px;background:#edf0f4;color:#14213d}.empty{padding:28px 16px;border:1px dashed #cdd3da;border-radius:16px;color:#7d8896;text-align:center;background:#fafbfc}.sticky-head{position:sticky;top:0;z-index:10;background:#f5f6f8ef;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:8px 0 12px;margin-bottom:12px}.head-row{display:flex;align-items:center;gap:12px}.icon-btn{width:46px;padding:0;background:#fff;color:#14213d;border:1px solid #dfe3e8;font-size:1.2rem}.progress{height:5px;background:#e0e5eb;border-radius:99px;overflow:hidden;margin-top:11px}.progress span{display:block;height:100%;background:#14213d;border-radius:99px}.search-card{position:relative;margin-bottom:15px}.plus{width:52px;padding:0;font-size:1.4rem}.suggestions{margin-top:10px;border-top:1px solid #edf0f2;padding-top:8px}.suggestion{display:block;width:100%;text-align:left;background:transparent;color:#14213d;padding:10px 4px;min-height:0;border-radius:8px}.suggestion:hover{background:#f5f7f9}.suggestion span,.suggestion small{display:block}.suggestion small{color:#7d8793;margin-top:2px;font-weight:500}.suggestion.create{color:#49576a}.category-block{margin:18px 0}.category-block h3{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#7b8794;margin:0 0 7px 5px}.item-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e1e5e9;padding:10px;border-radius:15px;margin:7px 0;min-height:65px}.item-row.status-unavailable,.item-row.status-already_home,.item-row.status-ignored{opacity:.62}.check{width:46px;height:46px;min-height:46px;padding:0;border-radius:14px;background:#eef1f4;color:#8b95a1;font-size:1.1rem}.checked,.status-purchased .check{background:#d9f4e5;color:#116339}.item-main{flex:1;min-width:0}.item-actions{display:flex;gap:5px}.mini{width:38px;height:38px;min-height:38px;padding:0;background:#f0f2f5;color:#536071;font-size:1rem}.quick-edit{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-edit label{font-size:.72rem;color:#6d7886;font-weight:700}.quick-edit input,.quick-edit select{min-height:40px;margin-top:4px;padding:0 9px}.bought{margin-top:24px;background:#fff;border:1px solid #e1e5e9;border-radius:15px;padding:12px}.bought summary{font-weight:800;cursor:pointer}.item-row.compact{border:0;border-top:1px solid #eef1f3;border-radius:0;margin:8px 0 0;padding:8px 0}.bottom-bar{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:min(720px,100%);background:#fffe;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid #dfe4e9;padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;z-index:20}.primary-wide{width:100%}.primary{margin-left:auto}.total{flex:1}.total small,.total strong{display:block}.total small{color:#7d8793}.total strong{font-size:1.15rem}.catalog-search{margin-bottom:12px}.catalog-list{background:#fff;border:1px solid #e2e5e9;border-radius:16px;overflow:hidden}.product-row{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #edf0f2}.product-row:last-child{border-bottom:0}.product-row>span{color:#d09f16}.catalog-list+.empty{margin-top:10px}@media(max-width:480px){.shell{padding-left:12px;padding-right:12px}.row{flex-direction:column}.quick-edit{grid-template-columns:1fr}.item-actions{gap:3px}.mini{width:36px}.item-row{padding:9px 8px}.top h1,.sticky-head h1{font-size:1.55rem}}.top-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.stack{display:grid;gap:10px}.grow{flex:1;min-width:0}.section-head a,.home-shortcuts a{color:#14213d;font-weight:800;text-decoration:none}.home-shortcuts{margin-top:22px;text-align:center}.home-shortcuts a{display:inline-block;padding:12px 14px}.danger-lite{grid-column:1/-1;background:#fff0f0;color:#9b2c2c;border:1px solid #f2c9c9}.undo-toast{position:fixed;left:50%;transform:translate(-50%);bottom:88px;width:min(640px,calc(100% - 24px));background:#14213d;color:#fff;padding:10px 12px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;z-index:35;box-shadow:0 10px 35px #0003}.undo-toast button{background:#fff;color:#14213d;min-height:38px}.total em{display:block;font-size:.72rem;font-style:normal;color:#6f7a88;margin-top:2px}.total em.over{color:#a12b2b}.modal-backdrop{position:fixed;inset:0;background:#10182866;display:flex;align-items:flex-end;justify-content:center;z-index:50;padding:16px}.modal{width:min(620px,100%);background:#fff;border-radius:22px;padding:20px;box-shadow:0 25px 70px #0004}.modal h2{margin:0 0 15px}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.summary-grid div{background:#f5f7f9;border-radius:14px;padding:13px}.summary-grid strong,.summary-grid span{display:block}.summary-grid strong{font-size:1.15rem}.summary-grid span{font-size:.76rem;color:#778391;margin-top:3px}.warning{background:#fff7e6;border:1px solid #f1d59a;padding:10px 12px;border-radius:12px;color:#775313}.modal-actions{display:flex;gap:9px;margin-top:16px}.modal-actions button{flex:1}.secondary,.secondary-wide{background:#eef1f4;color:#14213d}.secondary-wide{width:100%}.history-card{background:#fff;border:1px solid #e2e5e9;border-radius:16px;margin:9px 0;overflow:hidden}.history-main{display:block;width:100%;text-align:left;background:#fff;color:#14213d;border-radius:0;padding:14px 15px;min-height:auto}.history-main small{display:block;color:#788494;margin-top:5px}.history-actions{display:flex;gap:7px;padding:0 12px 12px}.settings-card p{color:#657184;line-height:1.45}.status-note{background:#eef7f1;padding:10px;border-radius:10px;color:#285d3c}.item-main input,.item-main select{background:#fff}@media(max-width:480px){.top{gap:10px}.top-nav{gap:5px}.ghost-link{padding:8px 9px;font-size:.82rem}.summary-grid{grid-template-columns:1fr 1fr}}.carry-option{display:flex;gap:.7rem;align-items:flex-start;margin:1rem 0;padding:.85rem;border-radius:14px;background:var(--surface-2,#f6f7f8);font-weight:600}.carry-option input{width:20px;height:20px;flex:0 0 auto}.price-history{display:block;margin-top:.25rem;font-weight:600;color:#4a5560}.status-note{margin-top:.75rem}.error-card{margin:2rem auto;max-width:34rem;padding:1rem;border:1px solid #ddd;border-radius:16px}.offline-banner{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:100;width:min(720px,100%);padding:8px 12px;text-align:center;background:#fff3cd;color:#5c4500;border-bottom:1px solid #ead58a;font-size:.82rem;font-weight:700}.offline-banner+.shell{padding-top:48px}.error-card h1{margin-top:0}.error-card small{display:block;color:#7b8794;margin:8px 0 16px;overflow-wrap:anywhere}
