.shell{min-height:100dvh;padding-bottom:calc(var(--tabbar-height) + env(safe-area-inset-bottom))}.tabbar{height:calc(var(--tabbar-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:1fr 1fr 1fr;align-items:center;display:grid;position:fixed;inset:auto 0 0}.tabbar__tab{color:var(--text-muted);flex-direction:column;align-items:center;gap:2px;font-size:.7rem;text-decoration:none;display:flex}.tabbar__tab.active{color:var(--accent)}.tabbar__icon{font-size:1.4rem;line-height:1}.tabbar__plus{background:var(--accent);width:48px;height:48px;color:var(--accent-contrast);border-radius:50%;place-items:center;margin-top:-20px;font-size:2rem;line-height:1;display:grid;box-shadow:0 2px 8px #00000040}.journal-month h2,.in-progress h2{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:1.2rem 0 .4rem;font-size:.8rem}.journal-month ul{margin:0;padding:0;list-style:none}.journal-row{border-bottom:1px solid var(--border);align-items:center;gap:.75rem;padding:.6rem 0;display:flex}.journal-row__thumb{object-fit:cover;border:1px solid var(--border);border-radius:8px;flex:none;width:48px;height:64px}.journal-row__thumb--empty{background:var(--surface);place-items:center;font-size:1.3rem;display:grid}.journal-row__text{flex-direction:column;flex:1;min-width:0;display:flex}.journal-row__text strong,.journal-row__text .muted{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.journal-row__text .muted{font-size:.85rem}.journal-row__meta{flex-direction:column;align-items:flex-end;gap:.2rem;font-size:.8rem;display:flex}.level-badge{background:var(--surface);border-radius:6px;padding:.05rem .4rem;font-size:.7rem;font-weight:700}.colour-dot{vertical-align:middle;border:1px solid #0000001a;border-radius:50%;width:9px;height:9px;margin-right:.3rem;display:inline-block}.journal-search{z-index:1;padding:calc(env(safe-area-inset-top) + .5rem) 0 .5rem;margin-top:calc(-1 * env(safe-area-inset-top));background:var(--bg);align-items:center;gap:.25rem;display:flex;position:sticky;top:0}.journal-search .input{appearance:none;flex:1}.journal-search button{min-width:44px;min-height:44px;font:inherit;color:var(--text-muted);background:0 0;border:none}.journal-search .input::-webkit-search-cancel-button{-webkit-appearance:none;display:none}.journal-row__link{min-width:0;color:inherit;flex:1;align-items:center;gap:.75rem;text-decoration:none;display:flex}.tasting-detail__nav{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.tasting-detail__nav a:first-child{text-decoration:none}.button--small{margin:0;padding:.45rem 1rem;font-size:.9rem}.tasting-detail__photo{object-fit:contain;background:var(--surface);border-radius:14px;width:100%;max-height:60vh;margin-bottom:1rem;display:block}.tasting-detail h1{margin-bottom:.25rem}.tasting-detail__wine{margin:0 0 .25rem}.sat-section h2{margin:1.4rem 0 .4rem;font-size:1.05rem}.sat-section dl{margin:0}.sat-line{border-bottom:1px solid var(--border);justify-content:space-between;gap:1rem;padding:.45rem 0;display:flex}.sat-line dt{color:var(--text-muted)}.sat-line dd{text-align:right;margin:0}.sat-line--block{flex-direction:column;gap:.25rem}.sat-line--block dd{text-align:left}.sat-line__faulty{color:#b03a2e;font-weight:600}.in-progress ul{margin:0;padding:0;list-style:none}.in-progress a{color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-template-columns:auto 1fr;gap:.1rem .6rem;margin-bottom:.5rem;padding:.75rem;text-decoration:none;display:grid}.in-progress .muted{grid-column:2;font-size:.85rem}.in-progress__title{font-weight:600}.toast{color:var(--accent-contrast);background:var(--text);border-radius:10px;justify-content:space-between;align-items:center;padding:.6rem .9rem;display:flex}.toast__action{font:inherit;color:var(--bg);background:0 0;border:none;font-weight:700}.deleted-list{margin:0;padding:0;list-style:none}.deleted-row__actions{gap:1.25rem;display:flex}.deleted-row__danger{color:#b03a2e}.back-link{margin-bottom:.5rem;text-decoration:none;display:inline-block}.level-choice{flex-direction:column;gap:.75rem;margin-bottom:1.25rem;display:flex}.level-card{font:inherit;text-align:left;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:.2rem;padding:1rem;display:flex}.level-card[aria-checked=true]{border:2px solid var(--accent)}.level-card span{color:var(--text-muted);font-size:.85rem}.flow{flex-direction:column;height:100dvh;display:flex}.flow-header{padding:calc(env(safe-area-inset-top) + .75rem) 1rem .6rem;border-bottom:1px solid var(--border)}.flow-header h1{margin:.25rem 0 .6rem;font-size:1.2rem}.flow-header__row{color:var(--text-muted);justify-content:space-between;font-size:.85rem;display:flex}.flow-header__back{text-decoration:none}.flow-header__wine{margin:.3rem 0 .6rem;font-weight:600}.stepbar{grid-template-columns:repeat(6,1fr);gap:4px;display:grid}.stepbar__step{font:inherit;color:var(--text-muted);background:var(--surface);border:none;border-radius:6px;padding:.45rem 0;font-size:.68rem}.stepbar__step--done{color:var(--accent);background:color-mix(in srgb, var(--accent) 14%, var(--bg))}.stepbar__step[aria-current=step]{color:var(--accent-contrast);background:var(--accent);font-weight:600}.flow-body{flex:1;padding:1rem;overflow-y:auto}.flow-body>h1{margin-top:0}.flow-footer{padding:.6rem 1rem calc(env(safe-area-inset-bottom) + .75rem);border-top:1px solid var(--border);gap:.5rem;display:flex}.flow-footer .button{flex:1;margin:0}.sat-field{margin-bottom:1.1rem}.sat-field__label{color:var(--text-muted);margin-bottom:.4rem;font-size:.85rem}.options{flex-wrap:wrap;gap:.4rem;margin-bottom:.4rem;display:flex}.option{min-height:42px;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:.5rem .75rem;font-size:.95rem}.option--chip{border-radius:999px;min-height:36px}.option--faulty{color:#b03a2e;border-style:dashed}.option[aria-pressed=true]{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent);border-style:solid}.descriptor-summary{width:100%;min-height:48px;font:inherit;text-align:left;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;justify-content:space-between;gap:.5rem;padding:.7rem .8rem;display:flex}.picker{display:contents}.picker__tabs{gap:.4rem;display:flex}.picker__tabs button{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:999px;flex:1;padding:.5rem;font-size:.85rem}.picker__tabs button[aria-selected=true]{color:var(--bg);background:var(--text)}.picker__picked{margin-top:0;font-size:.85rem}.cluster{border:1px solid var(--border);border-radius:12px;margin-bottom:.6rem;padding:.7rem}.cluster h2{margin:0 0 .5rem;font-size:.95rem}.notice{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:1rem;padding:.75rem;font-size:.9rem}.notice ul{margin:.4rem 0 0;padding-left:1.2rem}.notice--blocking{border-color:#b03a2e}.label-photo__empty{flex-direction:column;align-items:flex-start;gap:.4rem;display:flex}.label-photo__add,.label-photo__placeholder{width:100%;min-height:96px;font:inherit;color:var(--accent);background:var(--surface);border:1.5px dashed var(--border);border-radius:12px;font-weight:600}.label-photo__placeholder{color:var(--text-muted);place-items:center;display:grid}.label-photo__thumb{width:100%;font:inherit;color:var(--text);text-align:left;background:0 0;border:none;align-items:center;gap:.8rem;padding:0;display:flex}.label-photo__thumb img{object-fit:cover;border:1px solid var(--border);border-radius:10px;width:84px;height:112px}.label-photo__thumb span{flex-direction:column;display:flex}.label-photo__thumb small{color:var(--text-muted)}.photo-viewer{z-index:10;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#000;flex-direction:column;display:flex;position:fixed;inset:0}.photo-viewer img{object-fit:contain;flex:1;width:100%;min-height:0}.photo-viewer__actions{grid-template-columns:repeat(3,1fr);display:grid}.photo-viewer__actions button{min-height:56px;font:inherit;color:#fff;background:0 0;border:none;font-weight:600}.wine-form{flex-direction:column;gap:.9rem;display:flex}.field{flex-direction:column;gap:.25rem;display:flex;position:relative}.field label{color:var(--text-muted);font-size:.8rem}.suggestions{border:1px solid var(--border);background:var(--bg);border-radius:10px;margin:0;padding:0;list-style:none;overflow:hidden}.suggestions li{border-top:1px solid var(--border);cursor:pointer;padding:.8rem}.suggestions li:first-child{border-top:none}.vintage-row{gap:.5rem;display:flex}.nv-toggle{min-width:56px;font:inherit;color:var(--text-muted);background:var(--bg);border:1px solid var(--border);border-radius:10px;font-weight:600}.nv-toggle[aria-pressed=true]{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.chips{flex-wrap:wrap;gap:.4rem;margin:-.4rem 0 0;padding:0;list-style:none;display:flex}.chip{background:var(--surface);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.3rem;padding:.35rem .4rem .35rem .75rem;display:inline-flex}.chip button{min-width:28px;min-height:28px;color:var(--text-muted);font:inherit;background:0 0;border:none}.tasted-before{background:color-mix(in srgb, var(--accent) 8%, var(--bg));border:1px solid color-mix(in srgb, var(--accent) 30%, var(--bg));border-radius:12px;padding:.8rem}.tasted-before strong{color:var(--accent)}.tasted-before ul{margin:.4rem 0 0;padding:0;list-style:none}.tasted-before li{margin-top:.3rem}.vintage--same{color:var(--accent-contrast);background:var(--accent);border-radius:6px;padding:.1rem .4rem}.tasted-before a{color:var(--text);padding:.2rem 0;display:inline-block}.settings-list{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin:0;padding:0;list-style:none}.settings-list a{color:var(--text);justify-content:space-between;padding:.9rem 1rem;text-decoration:none;display:flex}.settings-section{margin-bottom:1.5rem}.settings-section h2{margin:0 0 .25rem;font-size:1.05rem}.settings-section .button{margin-top:.5rem}.backup-status{text-align:center;margin:.5rem 0 0;font-size:.9rem}.backup-status--overdue{color:#b03a2e;font-weight:600}.import-review{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-top:.75rem;padding:.8rem}.import-review p{margin:0 0 .6rem}.import-review__actions{gap:.5rem;display:flex}.import-review__actions .button{flex:1;margin:0}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--accent:#7b1e3a;--accent-contrast:#fff;--bg:#fff;--surface:#f6f3f4;--text:#1d1a1b;--text-muted:#6b6366;--border:#e4dde0;--tabbar-height:64px;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,system-ui,sans-serif;font-size:17px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--accent:#c9506f;--accent-contrast:#fff;--bg:#141213;--surface:#1f1c1d;--text:#f2eeef;--text-muted:#a69ea1;--border:#332e30}}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}h1{margin:0 0 1rem;font-size:1.75rem}a{color:var(--accent)}.screen{padding:calc(env(safe-area-inset-top) + 1rem) 1rem 1rem}.empty-state{text-align:center;color:var(--text-muted);margin-top:25vh}.button{background:var(--accent);color:var(--accent-contrast);border-radius:999px;margin-top:1rem;padding:.75rem 1.5rem;font-weight:600;text-decoration:none;display:inline-block}.link-button{font:inherit;color:var(--accent);background:0 0;border:none;padding:.4rem 0;font-size:.9rem}.input{width:100%;min-height:48px;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:.7rem .8rem}.input:focus{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);outline:none}.input[aria-invalid=true]{border-color:#c0392b}.input:disabled{background:var(--surface)}.field-error{color:#c0392b;margin:0;font-size:.85rem}.button--danger{color:#b03a2e;background:var(--surface);border:1px solid var(--border);margin-top:2rem}.button{font:inherit;cursor:pointer;border:none}.button:disabled{opacity:.45}.button--block{text-align:center;width:100%;display:block}.button--secondary{color:var(--text);background:var(--surface);border:1px solid var(--border)}.muted{color:var(--text-muted)}.badge{color:var(--accent);border:1px solid var(--accent);border-radius:6px;align-self:start;padding:.1rem .45rem;font-size:.7rem;font-weight:600}.sheet-backdrop{z-index:20;background:#0006;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:100%;padding:1.25rem 1rem calc(env(safe-area-inset-bottom) + 1rem);background:var(--bg);border-radius:20px 20px 0 0}.sheet h2{margin:0 0 .5rem;font-size:1.2rem}.install-steps{padding-left:1.2rem;line-height:1.8}.install-steps__icon{color:#0a84ff;background:var(--surface);border-radius:6px;place-items:center;width:1.6rem;height:1.6rem;display:inline-grid}
