*{box-sizing:border-box}body{margin:0;background:#f7f8f4;color:#192a23;font:16px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button{border:0;border-radius:12px;background:#164c36;color:white;padding:12px 17px;cursor:pointer;font-weight:600}button:hover{opacity:.89}.secondary{background:#e7eee8;color:#164c36}.ghost{background:transparent;color:#365749}.iconbutton{background:transparent;color:#a14b40;font-size:26px;padding:0 8px}.app{max-width:760px;margin:auto;padding:24px 18px 75px}header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 0 24px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.19em;color:#5d806b;margin:0 0 5px}h1{font-size:30px;letter-spacing:-.04em;margin:0}h2{font-size:26px;letter-spacing:-.035em;margin:0}h3{font-size:17px;margin:0 0 12px}p{margin:9px 0 14px}nav{display:flex;gap:5px;overflow-x:auto;padding-bottom:14px;margin-bottom:12px;border-bottom:1px solid #e3e7e1}.tab{background:transparent;color:#64766b;white-space:nowrap;font-size:13px;padding:10px 12px}.tab.active{background:#164c36;color:white}.heading,.between,.product{display:flex;align-items:center;justify-content:space-between;gap:12px}.heading{margin:18px 0 22px}.panel{background:white;border:1px solid #e4e9e2;border-radius:18px;padding:20px;margin:0 0 14px;box-shadow:0 4px 16px #1c352508}.muted{color:#728176}.small,small{font-size:12px}small{display:block;color:#758579;margin-top:3px}.progress{background:#e7eee8;height:7px;border-radius:99px;overflow:hidden;margin:14px 0 22px}.progress span{display:block;background:#347954;height:100%;border-radius:99px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid button{grid-column:1/-1}label{display:block;font-size:13px;font-weight:600;color:#4b6355}input:not([type=checkbox]),select{display:block;width:100%;background:#fbfcfa;border:1px solid #d9e1d9;border-radius:10px;padding:12px;margin-top:6px;color:#1b3226;min-width:0}input:focus,select:focus{outline:2px solid #a1c5aa}.item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #eef1ec}.item:last-child{border:0}.itemname{display:flex;align-items:center;gap:13px;flex:1;font-size:15px;color:#253a2d}.itemname input{width:22px;height:22px;accent-color:#267346}.checked .itemname span{text-decoration:line-through;color:#96a49a}.full{width:100%;margin:6px 0}.product{padding:14px 4px;border-bottom:1px solid #e5eae3}.product strong{font-size:14px}.product button{flex-shrink:0}.search{margin:0 0 10px!important}.auth{max-width:420px;margin:8vh auto;padding:28px}.auth h1{font-size:38px}.auth form{display:grid;gap:18px;margin-top:32px}.auth label{font-size:14px}.mark{font-size:36px;color:#1b6445;margin-bottom:28px}.error{color:#ae3228}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#20382b;color:white;border-radius:12px;padding:14px 20px;box-shadow:0 10px 30px #0002;max-width:90%;z-index:10}footer{text-align:center;color:#8b988d;font-size:11px;margin-top:40px}@media(max-width:540px){.app{padding:12px 12px 60px}h1{font-size:24px}header{padding:14px 0}header .ghost{font-size:12px;padding:9px}.panel{padding:16px}.formgrid{grid-template-columns:1fr}.heading{align-items:flex-start}.heading button{font-size:12px}nav .tab{padding:9px 10px}}

.import-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:999;display:flex;align-items:center;justify-content:center;padding:14px}.import-dialog{width:min(100%,620px);max-height:92vh;overflow:auto;background:#fff;color:#222}.import-dialog textarea{display:block;width:100%;min-height:170px;margin:12px 0;padding:12px;border:1px solid #bbb;border-radius:9px;font:inherit}.import-preview{max-height:32vh;overflow:auto}
