:root{font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;color:#283c32;background:#f7f5ef;--green:#27654b;--muted:#6b756b;--line:#e4e4da;--white:#fffef9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,select,input{border:1px solid var(--line);border-radius:12px;background:var(--white);color:inherit}button{padding:8px 12px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}button:hover{background:#eaf0e7}button:active{transform:scale(.98)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#1d503b}a{color:var(--green);text-decoration:none}:focus-visible{outline:3px solid #bf7339;outline-offset:3px}.wrap{max-width:720px;margin:auto;padding:0 16px}header{display:flex;align-items:center;justify-content:space-between;padding:24px 0;gap:8px}.brand{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:600;color:#283c32}.brand img{border-radius:12px}.quiet{background:transparent;font-weight:500}.intro{display:flex;align-items:center;justify-content:space-between;margin:16px 0 24px;gap:16px}.eyebrow{font-size:12px;line-height:16px;letter-spacing:.08em;color:var(--muted);margin:0 0 8px}h1{font-size:30px;line-height:36px;letter-spacing:-.04em;margin:0;font-weight:600;text-wrap:balance}h2{font-size:20px;line-height:28px;margin:0;font-weight:600}.seal{font-size:12px;line-height:20px;color:#a45a32;border:1px solid #c79576;border-radius:8px;padding:4px 8px;flex-shrink:0}.settings{background:#eeeee4;border-radius:16px;margin-bottom:16px}summary{cursor:pointer;list-style:none;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;font-size:14px}summary::-webkit-details-marker{display:none}.edit,summary>span:last-child{color:var(--muted);font-size:12px}#preferences{font-size:14px;color:#283c32}form{padding:0 16px 16px}.fields{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:8px;margin:8px 0 16px}label{font-size:12px;line-height:20px;color:var(--muted)}input{display:block;width:100%;min-width:0;padding:12px 8px;font-size:16px;margin-top:4px}select{font-size:16px;padding:8px;min-height:44px}.toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.segments{display:flex;gap:4px;padding:4px;background:#eaece3;border-radius:12px}.segments button{border:0;background:transparent;min-height:40px;padding:8px 12px}.segments button[aria-pressed=true]{background:var(--white);box-shadow:0 1px 4px #283c3210}.tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;scrollbar-width:thin}.tabs:empty{display:none}.tabs button{flex:0 0 auto;min-width:64px;font-size:12px;font-weight:400}.tabs button[aria-current=date]{border-color:var(--green);color:var(--green);background:#eaf0e7}.tabs strong{display:block;font-size:14px}.menu-card{border:1px solid var(--line);border-radius:24px;background:var(--white);padding:24px 16px 16px}.menu-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 8px 16px}.price{text-align:right;white-space:nowrap}.price strong{font-size:24px;line-height:32px;font-weight:600}.price small{display:block;color:var(--muted);font-size:12px}.dish{display:flex;align-items:center;gap:12px;padding:16px 8px}.dish+.dish{border-top:1px solid #f0f0e8}.dish-content{flex:1;min-width:0}.dish-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.dish h3{font-size:16px;line-height:24px;font-weight:600;margin:0}.dish p{font-size:12px;line-height:20px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.dish-number{font-size:12px;color:#89917f;align-self:flex-start;line-height:24px;width:16px}.tag{font-size:12px;line-height:20px;padding:0 8px;background:#eaf0e7;color:var(--green);border-radius:4px}.swap{font-size:12px;font-weight:500;padding:8px;min-width:48px}.menu-note,.note{color:var(--muted);font-size:12px;line-height:20px;margin:12px 8px 0}.budget-warning{color:#8e4828;background:#faf0dd;padding:12px;border-radius:8px;font-size:14px;line-height:20px}.menu-actions{display:flex;justify-content:space-between;align-items:center;margin:12px 0 32px;padding:0 8px;font-size:14px}.menu-actions button{background:transparent}.shopping-card{padding:24px 16px;background:#efeee4;border-radius:24px;scroll-margin-top:16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.section-heading .eyebrow{margin-bottom:4px}.scope{display:flex;align-items:center;justify-content:space-between;margin:16px 0;color:#536252;font-size:14px}.shopping{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.shopping li{display:flex;justify-content:space-between;gap:8px;font-size:14px;line-height:24px;padding:8px 0;border-bottom:1px solid #dedfd3}.shopping .amount{color:var(--muted);white-space:nowrap}.library{margin-top:24px;border:1px solid var(--line);border-radius:16px;padding:0 8px}.library .scope{padding:0 8px}#library-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 8px 16px}.library-item{font-size:14px;padding:12px;background:var(--white);border-radius:8px}.library-item small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.help{margin:16px 0;color:var(--muted)}.help p,footer p{font-size:14px;line-height:24px}footer{text-align:center;padding:24px 8px 48px;color:var(--muted);font-size:12px}footer p{margin:0 0 8px}footer summary{justify-content:center;font-size:12px}footer details p{text-align:left;font-size:12px}#message,#update-bar{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;background:#283c32;color:white;padding:12px 16px;border-radius:12px;z-index:10;font-size:14px;line-height:24px;box-shadow:0 4px 24px #0002}#update-bar{bottom:96px}#update-bar button{margin-left:12px}.manual-copy{position:fixed;inset:16px;z-index:20;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 0 0 100vmax #0008}.manual-copy textarea{width:100%;height:65%;margin:16px 0;font-size:16px;padding:12px;border:1px solid var(--line)}.skip{position:absolute;top:-80px}.skip:focus{top:8px;z-index:30;background:white;padding:12px}[hidden]{display:none!important}@media(min-width:600px){.wrap{padding:0 32px}header{padding:32px 0}.intro{margin:24px 0 32px}h1{font-size:36px;line-height:40px}.menu-card,.shopping-card{padding:24px}.dish{padding:16px 8px}.shopping{grid-template-columns:1fr 1fr 1fr}}@media(max-width:350px){.wrap{padding:0 12px}.brand{font-size:18px}.quiet{font-size:12px;padding:8px}.seal{display:none}.shopping{grid-template-columns:1fr}.segments button{padding:8px}.dish{gap:8px}.dish-number{display:none}.menu-heading{padding:0 0 16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button:active{transform:none}}

.clipboard-buffer{position:fixed;top:0;left:0;opacity:0}
