:root{--ink:#2b1d17;--muted:#74695e;--gold:#956d36;--paper:#fffdf9;--cream:#f3eee5;--line:#e4dbce;--dark:#2b1d17;--border:#e4dbce;--bg:#f3eee5}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--cream);font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a,input,summary,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--gold)}h1,h2,h3,h4{font-family:Georgia,serif;line-height:1.16}h1{font-size:clamp(2rem,4vw,3.1rem);margin:10px 0 12px}h2{font-size:1.8rem;margin:0 0 16px}h3{font-size:1.3rem;margin:0 0 8px}h4{font-size:1.15rem;margin:10px 0}p{margin:8px 0 18px}small,.muted{color:var(--muted)}small{display:block;font-size:12px}.passport-header{display:flex;justify-content:space-between;align-items:center;padding:18px max(18px,calc((100vw - 1120px)/2));background:var(--ink);color:white;gap:10px}.wordmark{color:inherit;text-decoration:none;font:700 19px Georgia,serif}.wordmark small{color:#d4b67f;letter-spacing:.1em;text-transform:uppercase;font:600 9px/1.5 sans-serif;margin-bottom:4px}.passport-header .quiet{color:#f7eee0;border-color:#7e6b58}.passport-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;background:#fffdf9f5;border-top:1px solid var(--line);padding:10px 14px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.passport-nav button{width:min(40vw,240px);background:transparent;color:var(--muted);border:none}.passport-nav button[aria-current]{background:var(--ink);color:white}#app{max-width:1120px;margin:auto;padding:30px 20px 130px}button,.button{min-height:44px;border:1px solid transparent;border-radius:10px;padding:10px 16px;background:var(--ink);color:white;font-weight:600;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:6px}@media(hover:hover) and (pointer:fine){button:hover{filter:brightness(1.1)}}button:disabled{opacity:.5;cursor:wait}.quiet{background:transparent;border-color:var(--line);color:var(--ink)}.text-button{padding:4px 0;min-height:36px;color:var(--gold);background:none;border:0;text-align:left;justify-content:start}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}.intro{max-width:660px}.panel{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);margin:18px 0}.searchbar{display:flex;gap:8px;margin:24px 0 12px}.searchbar input{flex:1;min-width:0}input,select,textarea{width:100%;border:1px solid #cdbfac;border-radius:9px;padding:11px;background:white;color:var(--ink);min-height:44px}label{display:grid;gap:6px;margin:14px 0}textarea{min-height:85px}input[type=checkbox],input[type=radio]{width:auto;min-height:0}fieldset{border:0;padding:0;margin:16px 0;min-width:0}legend{font-weight:600;margin-bottom:9px}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 20px}.chips button{min-height:38px;border-radius:999px;font-size:13px;padding:7px 13px;background:transparent;color:var(--muted);border-color:var(--line)}.chips button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0 32px}.product{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:15px;overflow:hidden}.product .identity{border:0;padding:0;background:transparent;color:var(--ink);display:block;border-radius:0;text-align:left;font-weight:400;flex:1}.product .copy{display:block;padding:13px 14px 16px}.product h3{font-size:1.12rem;margin:5px 0 8px;overflow-wrap:anywhere}.product .bottle-media{height:195px;width:100%;background:white;border-radius:0}.bottle-media{background:white!important;display:flex;align-items:center;justify-content:center;overflow:hidden}.bottle-media img{display:block;object-fit:contain;width:100%;height:100%;max-width:100%;max-height:100%}.product footer{padding:0 14px 12px}.product footer button{width:100%;min-height:38px;font-size:13px}.product .reason{font-size:13px;color:var(--muted);margin:8px 0 0}.recommendations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.recommendations .bottle-media{height:160px}.recommendations .product h3{font-size:1.1rem}.list-group{margin:18px 0 30px}.list-heading{padding:20px 0 10px;border-bottom:1px solid var(--line);font:1.4rem Georgia,serif}.menu-row{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;min-width:0}.menu-row .bottle-media{width:62px;height:78px;flex:none;border-radius:8px}.menu-row .identity{border:0;background:none;color:var(--ink);text-align:left;padding:0;justify-content:start;display:block;flex:1;min-width:0}.menu-row h3{font-size:1.08rem;margin:0 0 5px}.menu-price{font-size:13px;color:var(--muted);white-space:nowrap}.split{display:grid;grid-template-columns:230px 1fr;gap:26px}.hero-photo{height:335px;border-radius:14px}.facts{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.facts span{background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:5px 10px;font-size:12px}.detail-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.detail-actions button{padding:10px 7px;font-size:13px}.inventory-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0}.inventory-row .row{gap:5px}.inventory-row button{min-height:36px;padding:7px 10px;font-size:12px}.optional{margin:20px 0;border-top:1px solid var(--line);padding-top:15px}.optional summary,summary{cursor:pointer;color:var(--gold)}.reaction-options{display:flex;gap:8px;flex-wrap:wrap}.reaction-options label{margin:0;display:block}.reaction-options input{position:absolute;opacity:0;pointer-events:none}.reaction-options span{display:block;border:1px solid var(--line);border-radius:10px;padding:12px;cursor:pointer}.reaction-options input:checked+span{background:var(--ink);color:white}.reaction-options input:focus-visible+span{outline:3px solid #b88f5b}.source-links{display:flex;gap:12px;flex-wrap:wrap;overflow-wrap:anywhere;font-size:13px}.research-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.research-photos img{width:100%;height:150px;object-fit:contain;background:white}.research-photos label{border:1px solid var(--line);border-radius:10px;padding:9px;overflow:hidden}.research-photos input{margin-right:7px}.research-photos a{font-size:12px}.value-summary{font-size:13px;color:var(--muted);margin:14px 0}.empty{padding:28px 0;max-width:560px}.auth{max-width:470px;margin:40px auto;padding:35px;background:var(--paper);border:1px solid var(--line);border-radius:20px}.auth button{width:100%}dialog{border:1px solid var(--line);border-radius:20px;width:min(820px,calc(100vw - 26px));max-height:calc(100dvh - 32px);padding:0;color:var(--ink);background:var(--paper);overflow:auto}dialog::backdrop{background:#22160fb3;backdrop-filter:blur(4px)}.dialog-top{position:sticky;top:0;display:flex;justify-content:flex-end;background:var(--paper);padding:12px 18px;z-index:3;border-bottom:1px solid var(--line)}#dialogContent{padding:20px 26px 28px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:10px 20px;border-radius:10px;max-width:90vw;z-index:50}#toast:empty{display:none}.error{color:#9c3729}.pick-note{border-left:2px solid #bd995e;padding-left:14px;font:italic 17px/1.5 Georgia,serif}.legacy-row{padding:14px 0;border-bottom:1px solid var(--line)}.legacy-row .row{margin-top:8px}.guest-rank-row{list-style:none}ul.ranking{padding:0}.this-or-that .comparison-photo{height:235px}.this-or-that .comparison-image{padding:0}.notice{padding:12px 16px;background:#f1e6d2;border-radius:10px;font-size:13px;margin:15px 0}.view-switch{margin-left:auto}.view-switch button{min-height:38px;font-size:13px;padding:7px 10px}.view-switch button[aria-pressed=true]{background:var(--ink);color:white}.thumb{height:55px;width:45px;object-fit:contain}.hidden,[hidden]{display:none!important}:focus-visible{outline:3px solid #ba9862;outline-offset:3px}@media(max-width:900px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){#app{padding:23px 16px 125px}.passport-header{padding:15px 16px}.wordmark{font-size:16px}.passport-header .quiet{font-size:12px;padding:8px 12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product .bottle-media{height:170px}.product .copy{padding:10px}.product h3{font-size:1rem}.recommendations{grid-template-columns:1fr;gap:10px}.recommendations .product .identity{display:grid;grid-template-columns:95px 1fr;align-items:center}.recommendations .bottle-media{height:150px}.recommendations .product footer{padding-left:105px}.split{grid-template-columns:1fr;gap:12px}.hero-photo{height:270px}.panel{padding:18px}.menu-row{gap:10px}.menu-row h3{font-size:1rem}.menu-price{font-size:11px}.detail-actions{gap:6px}.detail-actions button{font-size:12px}.inventory-row{grid-template-columns:1fr}.research-photos{grid-template-columns:1fr}.research-photos label{display:grid;grid-template-columns:30px 1fr}.research-photos img{grid-column:1/-1;height:180px}dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:15px}#dialogContent{padding:16px}.dialog-top{padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top))}.this-or-that .comparison-photo{height:200px}.auth{padding:24px;margin:20px auto}}
/* Stabilization: consistent products and compact, readable fact groups. */
input,select,textarea{font-size:16px}.auth{padding:26px;margin:24px auto}.auth h1{font-size:2rem}.auth label{margin:8px 0}.dialog-top{justify-content:space-between;min-height:52px;padding:6px 12px}.dialog-top #dialogBack{margin-left:auto}.bottle-specs{display:grid;grid-template-columns:1fr 1fr;gap:9px 16px;margin:14px 0}.bottle-specs>div{border-bottom:1px solid var(--line);padding:6px 0;min-width:0}.bottle-specs dt{font-size:12px;color:var(--muted)}.bottle-specs dd{margin:3px 0;overflow-wrap:anywhere;font-size:14px}.bottle-specs a{font-size:12px}.published-notes,.external-ratings{margin:24px 0}.published-notes dl{display:grid;gap:9px}.published-notes dl>div{border-left:2px solid #c7a36c;padding:5px 12px}.published-notes dt{font-size:12px;font-weight:600;color:var(--gold)}.published-notes dd{margin:3px 0;font-size:14px}.external-ratings>div{border-bottom:1px solid var(--line);padding:10px 0}.photo-placeholder{display:grid;justify-items:center;align-content:center;gap:8px;height:100%;width:100%;background:linear-gradient(135deg,#f5eee2,#ebe2d4);color:#8b765a}.photo-placeholder svg{height:65px;width:38px;fill:none;stroke:currentColor;stroke-width:1.6}.photo-placeholder small{font:11px/1.4 system-ui;color:#79664c}.hero-photo.missing{height:150px;align-self:start}.product .copy{min-height:127px}.product h3{min-height:2.4em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product .copy>small:not(.eyebrow){min-height:2.7em}.product .menu-price small{min-height:0}.product footer{margin-top:auto}.scan-choice{display:flex;gap:10px;align-items:center}.scan-choice label{margin:0;cursor:pointer}.scan-choice input{position:absolute;width:1px;height:1px;opacity:0}.research-progress{padding:14px;background:#f4ecde;border-radius:10px;margin:14px 0}.search-status{font-size:13px;color:var(--muted);min-height:20px}.research-suggestion{margin:16px 0;padding:12px 0;border-top:1px solid var(--line)}.research-suggestion button{min-height:38px}.research-options{margin-top:20px}.research-options summary{font-size:13px}.add-results{max-height:48dvh;overflow:auto;overscroll-behavior:contain}.confirmation-actions{margin:20px 0}.workflow-save-error{color:#983d2d}@media(max-width:600px){.bottle-specs{grid-template-columns:1fr 1fr}.bottle-specs>div:has(dd a){grid-column:1/-1}.profile-header .hero-photo{height:240px}.profile-header .hero-photo.missing{height:120px}.product .copy{min-height:132px}.catalog-tool-row{align-items:start}.catalog-tool-buttons{flex:1}.view-switch{gap:4px}.view-switch button{padding:8px}.auth{margin:12px auto}.searchbar{margin-top:15px}}
.collection-overview{display:flex;gap:8px 20px;align-items:center;justify-content:space-between;flex-wrap:wrap}.collection-overview p{margin:0}.collection-overview button{font-size:13px}.collection-value{color:var(--muted);font-size:13px;margin:10px 0 20px}.collection-value summary{color:var(--muted)}.recommendation-preview{border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin:18px 0}.recommendation-preview>summary{font-weight:600}.recommendation-preview[open]>summary{margin-bottom:18px}.collection-overview+.collection-value p{max-width:650px}.chips{margin-top:22px}

#app h1 {margin-top:0}
.collection-overview {margin:0 0 10px}
.collection-overview p {margin:0}
.collection-overview .text-button {min-height:32px}
#app .chips {margin:12px 0;gap:6px}
#app .chips button {min-height:36px;padding:6px 10px}
#app .searchbar {margin:12px 0 8px}
.catalog-toolbar {display:flex;align-items:end;gap:8px;margin-bottom:10px}
.catalog-toolbar .catalog-select-row {flex:1;max-width:405px}
.catalog-toolbar .view-switch {flex:none}
#catalogResults .catalog-grid {margin:10px 0 22px}
.collection-value {margin-top:24px;padding-top:14px;border-top:1px solid var(--line)}
.collection-value ul {padding-left:18px;columns:2}
.product .copy {min-height:0;display:grid;align-content:start;gap:4px}
.product .copy > small:not(.eyebrow) {min-height:0}
.product h3 {margin:0;min-height:0}
.product .identity {display:flex;flex-direction:column;align-items:stretch;gap:0}
.product footer {padding-top:5px}
.recommendation-preview {padding:8px 12px;margin:8px 0 12px}
.recommendations .product .copy {padding:8px 12px}
.recommendations .product .reason {margin:2px 0 0}
.add-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.find-whiskey input[type=file] {position:absolute;width:1px;height:1px;min-height:0;padding:0;clip-path:inset(50%)}
.find-whiskey .row {margin-top:8px}
.add-results .menu-row button {width:100%;text-align:left;justify-content:start}
@media(max-width:600px) {
 #app {padding-top:17px}
 #app h1 {font-size:clamp(1.65rem,7vw,2.1rem)}
 .catalog-toolbar {display:grid;gap:6px}
 .catalog-toolbar .catalog-select-row {max-width:none}
 .catalog-toolbar .view-switch {margin-left:0;justify-content:flex-end}
 .catalog-toolbar .view-switch button {min-height:35px}
 .collection-value ul {columns:1}
 .recommendations .product .identity {grid-template-columns:68px 1fr}
 .recommendations .product .bottle-media {height:92px}
 .recommendations .product footer {padding-left:80px}
}

/* The event is contextual. Two-destination Passport layout is unchanged. */
.passport-nav.has-event button{width:min(31%,240px);padding-inline:5px;white-space:nowrap}
.night-history{display:grid;gap:8px}
.night-history button{justify-content:space-between;text-align:left;flex-wrap:wrap}
.taste-question{margin:0 0 20px;min-width:0}.taste-question legend{font-weight:650}.taste-question .reaction-options span{min-height:44px;text-transform:none}
.taste-welcome .taste-actions{margin-bottom:10px}.taste-welcome:focus{outline:none}
.taste-welcome button.text-button{width:auto;min-height:44px}
.live-whiskey-matches{max-height:clamp(125px,29dvh,244px);overflow:auto;overscroll-behavior:contain;margin:5px 0;scrollbar-width:thin}
.live-whiskey-matches button{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-height:56px;text-align:left;background:var(--paper);color:var(--ink);margin:4px 0;padding:5px 8px}
.live-whiskey-matches button[aria-selected=true]{outline:2px solid var(--gold);outline-offset:-2px}
.live-whiskey-matches button small{display:block;color:var(--muted);font-weight:400}
.live-whiskey-matches .bottle-media{width:42px;height:48px;padding:2px}
#detail[data-lookup-keyboard]{top:var(--lookup-top);bottom:var(--lookup-bottom);max-height:calc(var(--lookup-height) - 14px)}
#detail[data-lookup-keyboard] .live-whiskey-matches{max-height:min(160px,calc(var(--lookup-height) * .35))}

.recap-recipe-photo{display:block;width:min(100%,22rem);max-height:18rem;object-fit:contain;margin:.6rem 0 1rem}
.recipe-ingredients li{margin-bottom:.45rem}.recipe-instructions{white-space:pre-line}

.photo-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-review-grid figure{margin:0;min-width:0}.photo-review-grid img{width:100%;height:270px;object-fit:contain;background:white}

.night-manage{margin:.65rem 0;text-align:right}
