:root{color-scheme:light;--wine:#234d3c;--cream:#f1f4f1;--ink:#142c23;--muted:#627168;--line:#dbe3dd;font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-width:0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}[hidden]{display:none!important}
a{color:var(--wine);text-underline-offset:.2em}button,select{font:inherit;font-size:16px;min-height:48px;border:1px solid var(--line);border-radius:14px;color:var(--wine);background:#fff;padding:12px 18px;cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #2d604a;outline-offset:3px}button,.button{white-space:normal;overflow-wrap:anywhere;max-width:100%}
.header,main,footer{width:100%;max-width:960px;margin:auto;padding:20px max(20px,env(safe-area-inset-left))}.header{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.identity{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-decoration:none}.identity img{flex:none}.identity span{min-width:0}.identity strong{font-family:inherit;display:block;font-size:20px;line-height:1.25;overflow-wrap:anywhere}.identity small{display:block;font-size:13px;color:var(--muted);margin-top:4px}.language select{padding:8px;max-width:72px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
main{padding-top:28px}.hero{border-radius:24px;padding:28px 24px;background:var(--wine);color:#fff;overflow-wrap:anywhere}.eyebrow{font-size:13px;letter-spacing:.04em}.hero h1{font:600 clamp(30px,5vw,48px)/1.15 system-ui,sans-serif;margin:14px 0}.hero p{max-width:640px;margin-bottom:0;color:#e0eae3}.panel{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 30px #142c2309}.primary{width:100%;background:var(--wine);color:white;font-weight:650;border-color:var(--wine);min-height:56px;font-size:18px}.muted{color:var(--muted);font-size:14px}.status{min-height:24px;overflow-wrap:anywhere}.status:empty{margin:10px 0;min-height:0}.button{display:inline-block;border:1px solid var(--line);border-radius:14px;min-height:48px;padding:12px 18px;font-weight:600;text-decoration:none}#retry{margin-top:16px}.install{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:14px;margin-top:24px}.install img{flex:none}.install p{margin:0}footer{font-size:13px;color:var(--muted);padding-bottom:max(24px,env(safe-area-inset-bottom))}
@media(min-width:700px) and (hover:hover){.header{padding-top:24px;padding-bottom:24px}.identity strong{font-size:24px}.hero{padding:40px}.panel{padding:32px}}
body.is-collection>.header,body.is-collection>main,body.is-collection>footer{display:none}
body.is-collection{background:var(--cream);font:17px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.collection-ui .primary{width:auto}.collection-ui .card+.card{margin-top:12px}
.collection-ui input[type=date]{min-width:0;-webkit-appearance:none;appearance:none}
.collection-ui .download-ready{position:fixed;z-index:40;left:12px;right:12px;bottom:calc(100px + env(safe-area-inset-bottom,0px));max-width:600px;margin:auto;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 32px #142c2333;overflow-wrap:anywhere}
.collection-ui .download-ready>button{float:right;min-width:48px;padding:0;background:transparent;font-size:24px}
.collection-ui .download-ready p{margin:8px 0;font-size:14px}
.collection-ui .download-ready>a{display:inline-flex;min-height:48px;align-items:center;text-decoration:none}
.collection-ui .wheel-option.has-hint{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;border-radius:14px;text-align:left}.collection-ui .wheel-hint{display:block;margin-top:2px;font-size:13px;font-weight:400;line-height:1.25;opacity:.8}.collection-ui .wheel-search{margin:10px 0 0}.collection-ui .wheel-search .wheel-options{margin:8px 0 0}
.collection-ui .taste-bottle{width:100%;margin:0 0 12px}.collection-ui .filter-toggle{margin:2px 0 10px}.collection-ui .filter-panel{margin-bottom:4px}.collection-ui .results-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 8px}.collection-ui .link-button{min-height:44px;padding:0 4px;border:0;background:none;color:var(--wine);font-size:14px;font-weight:700;text-decoration:underline}
.collection-ui .header-tools{display:flex;flex:0 0 auto;align-items:center;gap:8px}.collection-ui .header-settings{display:grid;width:44px;min-height:44px;padding:0;place-items:center;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--wine);font-size:20px;line-height:1}.collection-ui .header-settings.active{background:var(--wine);color:#fff}.collection-ui .nav-btn span{max-width:100%;overflow:hidden;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}
@media (max-width:359px){.collection-ui .nav-btn span{font-size:12px;letter-spacing:-.2px}}
.collection-ui .card-button{position:relative;display:block;width:100%;min-height:44px;padding:0 24px 0 0;border:0;background:none;color:inherit;font:inherit;text-align:left}.collection-ui .card-button::after{content:'›';position:absolute;top:50%;right:2px;font-size:24px;line-height:1;opacity:.5;transform:translateY(-50%)}.collection-ui .badge.badge-button{min-height:44px;padding:8px 12px;border:0;font-size:14px}.collection-ui .actions.stacked-actions{position:static;flex-direction:column;align-items:stretch;padding:4px 0 0}.collection-ui .actions.stacked-actions>button{flex:0 0 auto;width:100%}
.collection-ui .photo-primary{position:absolute;top:4px;left:4px;display:grid;width:32px;min-height:32px;padding:0;place-items:center;border:0;border-radius:50%;background:rgba(255,253,249,.92);color:var(--wine);font-size:20px;line-height:1}.collection-ui .photo-primary.active{background:var(--wine);color:#f3c969}
.collection-ui .quick.quick-two{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-ui .quick.quick-two button{min-height:64px;padding:14px 12px;font-size:16px}.collection-ui .tasting-external #tasting-bottle-search,.collection-ui .tasting-external #tasting-bottle-results{display:none}.collection-ui #tasting-mode-toggle{margin-top:4px;text-align:left}.collection-ui .wheel-related{margin:10px 0 0}
.collection-ui .results-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.collection-ui .sort-select select{min-height:40px;padding:6px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:14px;max-width:100%}
.collection-ui .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.collection-ui .quick-stock{display:flex;gap:10px;margin-top:12px}
.collection-ui .quick-stock>button{flex:1 1 0;min-width:0}
.collection-ui details.form-more{margin:14px 0;border:1px solid var(--line);border-radius:14px;padding:0 14px}
.collection-ui details.form-more>summary{min-height:48px;display:flex;align-items:center;font-weight:650;color:var(--wine);cursor:pointer}
.collection-ui details.form-more[open]{padding-bottom:14px}
.collection-ui .tag-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.collection-ui .tag-chips .filter{min-height:36px;padding:6px 10px;font-size:14px}

.registration-notice{padding:18px;margin:16px 0 20px;border:1px solid #a8bfb0;border-radius:16px;background:#f1f6f2;overflow-wrap:anywhere}.registration-notice h2,.registration-notice h3{font-size:19px;line-height:1.3;margin:0 0 12px}.registration-notice p{margin:12px 0;font-size:16px}.registration-notice p:last-child{margin-bottom:0}.registration-ack{display:flex;gap:12px;align-items:flex-start;min-height:48px;margin:18px 0;cursor:pointer;overflow-wrap:anywhere}.registration-ack input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--wine)}.registration-logout{margin-top:14px;width:100%}

body.is-registering .hero{display:none}body.is-registering>main{max-width:720px;padding-top:14px}
