:root{font-family:Segoe UI,system-ui,sans-serif;font-size:16px;color:#203a2e;background:#f8f7f1;font-synthesis:none;--green: #194e38;--green-dark: #123c2b;--line: #dedfd3;--muted: #59695e;--paper: #fffef9}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;color:inherit;min-height:44px;padding:.65rem 1rem;border:0;border-radius:10px;background:transparent;font-weight:600}button:disabled{opacity:.52;cursor:default}button:not(:disabled):hover{filter:brightness(.93)}:focus-visible{outline:3px solid #ac651c;outline-offset:3px}input{width:100%;padding:.78rem .85rem;min-height:48px;border:1px solid #acb8ab;border-radius:9px;background:#fff;color:#192e24}input:read-only{background:#f1f2ea}label{display:grid;gap:.4rem;font-weight:600;font-size:.92rem}form{display:grid;gap:1rem}p{line-height:1.55}h1,h2,h3,p{margin:0}h1,h2,.wordmark{font-family:Georgia,Cambria,serif;font-weight:500;letter-spacing:-.045em}h1{font-size:clamp(2.55rem,5vw,4.2rem);line-height:1.05;overflow-wrap:anywhere}h2{font-size:1.9rem;line-height:1.13}h3{font-size:1rem}.top{background:var(--paper);border-bottom:1px solid var(--line)}.top-inner,.wrap{max-width:1024px;margin:auto;padding-inline:clamp(1rem,4vw,3rem)}.top-inner{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:1rem}.wordmark{display:flex;gap:.65rem;align-items:center;font-size:1.95rem;color:var(--green);font-weight:700}.wordmark>span,.market-mark{display:grid;place-items:center;background:var(--green);color:#f4edc8;border-radius:12px;width:39px;height:39px}.wordmark svg{width:25px;height:25px}.profile,.secondary{border:1px solid #c9cfc3;background:var(--paper)}.profile{max-width:50%;border-radius:2rem;font-size:.9rem}.profile span{overflow:hidden;text-overflow:ellipsis}.primary{background:var(--green);color:#fff;font-weight:650;min-height:49px}.secondary{color:var(--green)}.text-btn,.login-links button{color:var(--green);padding:.5rem 0;text-decoration:underline;text-underline-offset:4px}.danger{color:#93382b}.icon{padding:0;width:44px;flex-shrink:0}.hint,small,.install,.empty p,.welcome-art p,.list-heading p{color:var(--muted)}.hint,small{font-size:.88rem}.wrap{padding-bottom:max(2rem,env(safe-area-inset-bottom))}.welcome{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,6rem);align-items:center;min-height:65vh;padding:3rem 0}.welcome-art{color:var(--green)}.welcome-art h1{font-size:clamp(3.2rem,6vw,5rem);line-height:1;margin:1.25rem 0}.welcome-art p{max-width:30ch;font-size:1.06rem}.market-mark{width:66px;height:66px;border-radius:20px;background:#e1e9cc;color:var(--green)}.market-mark svg{width:42px;height:42px}.login-card,.join{border:1px solid var(--line);background:var(--paper);padding:clamp(1.2rem,3vw,2.3rem);border-radius:20px}.login-card h2{margin-bottom:1.4rem}.login-links{margin-top:.7rem;display:flex;gap:.2rem 1rem;flex-wrap:wrap}.login-links button{font-size:.88rem}.install{border-top:1px solid var(--line);margin-top:2rem;padding-top:.65rem;font-size:.88rem}.install summary{cursor:pointer;padding:.8rem 0}.install p{max-width:72ch}.list-bar,.list-heading,.list-tools,.row,.member,.sheet-head,.choice,.feedback,.join{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.list-bar{margin:1.6rem 0 1.35rem}.list-picker{padding-left:0;font-size:.88rem}.sync{font-size:.8rem;display:flex;align-items:center;gap:.46rem;color:var(--muted)}.sync i{display:inline-block;background:#43825b;width:8px;height:8px;border-radius:50%}.sync i.warn{background:#bf792e}.list-heading{align-items:flex-start}.list-heading p{margin:.6rem 0 0;font-size:1rem}.list-heading p span{margin:0 .35rem}.list-heading .share{margin-top:.5rem}.scanner-bar{margin:1.7rem 0;display:flex;align-items:center;gap:1rem;justify-content:space-between;background:#e8eddf;padding:1rem;border:1px solid #d4dcce;border-radius:15px}.mode{display:inline-flex;background:#dbe3d3;border-radius:10px;padding:3px}.mode button{border-radius:8px;color:#445c48}.mode .selected{background:var(--paper);color:var(--green);box-shadow:0 1px 3px #193c281a}.scan-cta{min-width:154px}.list-tools{border-bottom:1px solid var(--line);margin-bottom:1rem}.tabs{display:flex;gap:.8rem}.tabs button{border-radius:0;border-bottom:3px solid transparent;color:var(--muted);padding:.85rem .25rem}.tabs .active{color:var(--green);border-color:var(--green)}.tabs b{font-family:system-ui,sans-serif;font-size:.78rem;background:#e7eadf;border-radius:1rem;padding:.1rem .44rem}.add-button{color:var(--green)}.items{background:var(--paper);border-radius:15px;border:1px solid var(--line);overflow:hidden}.row,.member{padding:.78rem 1rem}.row+.row,.member+.member,.choice+.choice{border-top:1px solid var(--line)}.tick{min-width:44px;position:relative;border-radius:50%;padding:0}.tick:before{content:"";position:absolute;width:26px;height:26px;border:1.5px solid #9eaf9e;border-radius:9px}.tick.checked:before{background:var(--green);border-color:var(--green)}.tick svg{position:relative;color:#fff}.item-text{flex:1;min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}.item-text strong{font-size:1.04rem}.qty{font-size:.9rem;font-weight:600;color:var(--green);white-space:nowrap}.empty{text-align:center;padding:2.2rem 1rem}.empty>span{display:grid;place-items:center;margin:0 auto 1rem;background:#edeedc;color:#667b44;width:65px;height:65px;border-radius:50%}.empty svg{width:30px;height:30px}.empty h2{font-size:1.65rem}.empty p{margin:.5rem auto 1rem;max-width:43ch}.empty .secondary svg{width:18px;height:18px}.feedback{font-size:.86rem;flex-wrap:wrap;min-height:52px;padding:.4rem 0;color:var(--green)}.notice{background:#fff2d6;border:1px solid #e8c480;color:#644821;border-radius:10px;padding:.75rem 1rem;margin:.7rem 0;font-size:.95rem}.notice button{text-decoration:underline}.join{margin-top:1rem;flex-wrap:wrap}.choice{width:100%;border-radius:0;text-align:left}.choice+form{margin-top:1.2rem}dialog{color:inherit;border:1px solid var(--line);border-radius:18px;background:var(--paper);width:min(94vw,460px);max-height:88dvh;overflow:auto;padding:1.35rem;box-shadow:0 14px 60px #152c2926}dialog::backdrop{background:#12251ed1}dialog p,dialog .copy,dialog h3{margin:.8rem 0}dialog .sheet-head{margin-bottom:1rem}dialog .member{padding:.4rem 0;overflow-wrap:anywhere}.viewfinder{position:relative;border-radius:12px;overflow:hidden;background:#15261d;margin:.8rem 0;aspect-ratio:4 / 3}.viewfinder video{width:100%;height:100%;object-fit:cover;display:block}.viewfinder span{position:absolute;inset:10% 5%;border:2px solid white;border-radius:8px;pointer-events:none;box-shadow:0 0 0 100vmax #12251e66}.scanner-diagnostics{margin-top:.75rem;color:var(--muted);font-size:.85rem}.scanner-diagnostics summary,.scanner-device{padding:.7rem .25rem;min-height:44px}.scanner-device{font:inherit;max-width:100%}@media(max-width:640px){.top-inner{min-height:63px}.wordmark{font-size:1.6rem}.welcome{display:block;padding:1.7rem 0 0;min-height:0}.welcome-art{margin-bottom:1.6rem}.welcome-art h1{font-size:2.8rem;margin:.35rem 0 .6rem}.welcome-art h1 br{display:none}.welcome-art p{font-size:.95rem;max-width:40ch}.market-mark{display:none}.login-card{border-radius:14px}.list-bar{margin:.75rem 0}.list-heading h1{font-size:2.45rem}.list-heading .share{font-size:.88rem;padding:.5rem .65rem}.scanner-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem;padding:.72rem;margin:1.3rem 0 1rem}.mode button{flex:1}.scan-cta{width:100%}.tabs{gap:.45rem}.row{padding:.55rem .4rem;gap:.38rem}.sync{font-size:.75rem}.feedback{gap:.15rem}.feedback span:empty{display:none}.join{display:grid}.profile{padding:.4rem .75rem}.empty{padding:1.6rem 1rem}dialog{margin:auto auto 0;width:100%;max-width:100%;border-radius:18px 18px 0 0;padding:1.1rem 1rem max(1.3rem,env(safe-area-inset-bottom))}.viewfinder{max-height:34dvh}.install{margin-top:1.3rem}}@media(max-width:370px){.list-heading{flex-wrap:wrap}.tabs button,.add-button{font-size:.87rem}.list-bar{gap:0}}
