.account{color:#eee4d5;min-width:0}
.account button,.account select,.account input,.account textarea{font:inherit}
.account .acc-profile{display:flex;align-items:center;justify-content:space-between;gap:.9rem;flex-wrap:wrap;padding:1rem 0 1.15rem;border-bottom:1px solid #4c4033}
.acc-profile b,.acc-profile small{display:block}.acc-profile b{font-size:1.02rem;color:#f5e5ca}.acc-profile small,.acc-form small,.acc-help{color:#baaa94;font-size:1rem}
.acc-tabs,.acc-actions{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.acc-tabs{margin:1.25rem 0 .8rem}
.acc-tabs>button{min-height:44px;border:1px solid #514434;border-radius:5px;background:#211d18;color:#d5c5ac;padding:.5rem .74rem;cursor:pointer;font-size:.86rem}
.acc-tabs>button[aria-pressed=true]{background:#dfba88;border-color:#dfba88;color:#271c12}
.acc-tabs span{font-size:.73rem;opacity:.73;margin-left:.2em;font-variant-numeric:tabular-nums}
.acc-list,.acc-products{margin:0;padding:0;list-style:none}
.acc-row,.acc-journal{border-bottom:1px solid #40362b;padding:.75rem .05rem}
.acc-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem}
.acc-row-main,.acc-recipe-link,.acc-text,.acc-other,.acc-remove{padding:0;background:transparent;border:0;cursor:pointer;color:#dbb582}
.acc-row-main,.acc-recipe-link{text-align:left}
.acc-row-main{display:grid;gap:.2rem;min-height:44px;align-content:center}
.acc-row-main strong,.acc-journal strong,.account button.acc-recipe-link{font-family:var(--ser,Georgia,serif);font-size:1.32rem;color:#f3e8d7;font-weight:500}
.acc-row-main small,.acc-journal-head time{font-size:.8rem;color:#b9aa95}
.acc-products{display:flex;flex-wrap:wrap;gap:.5rem}
.acc-products li{background:#29221b;border:1px solid #4c4031;border-radius:4px;padding:.45rem .7rem;font-size:.88rem}
.acc-journal-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.acc-journal p{white-space:pre-wrap;overflow-wrap:anywhere;color:#d0c0aa;line-height:1.55;font-size:.93rem;margin:.5rem 0}
.acc-empty,.acc-intro{color:#c6b7a1;line-height:1.6;font-size:.97rem;max-width:42rem}
.account button.acc-text,.account button.acc-other,.acc-recipe-tools button.acc-text{font-family:var(--sans,sans-serif);font-size:1rem;line-height:1.3;min-height:42px;color:#e2bd8b}
.acc-form{width:min(100%,31rem);display:grid;gap:.65rem;margin:1rem 0 0}
.acc-form label{display:grid;gap:.38rem;color:#e6d7c2;font-size:1rem;line-height:1.4}
.acc-form label small{display:inline-block}
.acc-form input:not([type=checkbox]),.acc-form select,.acc-form textarea{border:1px solid #655039;color:#f0e5d6;background:#171511;border-radius:4px;padding:.68rem .72rem;min-width:0;max-width:100%;width:100%;font-size:16px;line-height:1.35;min-height:44px}
.acc-form textarea{resize:vertical}
.acc-form input:focus-visible,.acc-form textarea:focus-visible,.acc-form select:focus-visible{outline:2px solid #c9a573;outline-offset:2px}
.acc-help{margin-top:-.35rem;line-height:1.5}
.acc-password{display:flex;align-items:stretch;gap:.5rem;min-width:0;margin-top:-.32rem}
.acc-form label.acc-check{display:flex;align-items:center;min-height:44px;gap:.55rem}
.acc-check input{accent-color:#ddb27b;width:19px;height:19px;flex:none}
.acc-actions{margin-top:.15rem}
.account .primary,.account .linebtn,.acc-recipe-tools .linebtn{min-height:44px}
.account button.primary{font-weight:600}
.account button:disabled,.acc-recipe-tools button:disabled{opacity:.6;cursor:wait}
.acc-error{color:#f7ac8c;background:#35231b;border-left:2px solid #df8e6d;padding:.6rem .8rem;line-height:1.5;max-width:42rem;margin:.5rem 0}
.account .acc-other{margin-top:.8rem}
.acc-auth-links{display:flex;flex-wrap:wrap;gap:0 1.4rem;align-items:center}
.account .acc-auth-links .acc-other{display:inline-flex;align-items:center;min-height:44px}
.acc-notice{color:#d6e2cc;border-left:2px solid #8da17c;padding:.6rem .8rem;line-height:1.5;max-width:42rem;margin:.5rem 0;overflow-wrap:anywhere}
.acc-recovery-actions{margin:1.3rem 0 1rem}
.acc-recovery-actions a{display:inline-flex;align-items:center;text-decoration:none}
.acc-intro strong{overflow-wrap:anywhere}
.acc-email{min-width:0;margin:0 0 1.2rem}
.acc-email summary{cursor:pointer;min-height:46px;padding:9px 0;font:550 1rem/1.4 var(--sans);color:var(--pale)}
.acc-email .acc-help{margin:.3rem 0;overflow-wrap:anywhere}
.acc-email .acc-form{margin-top:.6rem}
.acc-email .acc-form .acc-help{font-size:1rem}
.acc-form .acc-remove{justify-self:start;color:#dca690;min-height:44px;font-size:1rem}
.acc-confirm{border:1px solid #665043;padding:.7rem;border-radius:5px}.acc-confirm p{margin:0 0 .5rem}
.acc-add{margin:.4rem 0 .8rem}
.acc-recipe-tools{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.account [hidden],.acc-recipe-tools [hidden]{display:none!important}
@media(max-width:650px){dialog:has(.account){max-inline-size:calc(100vw - 24px)}.acc-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.acc-tabs>button{text-align:left}.acc-actions{gap:.4rem}.acc-row-main,.acc-journal p{overflow-wrap:anywhere}.acc-form{margin-top:.65rem}}
@media(max-width:760px) {
 .acc-form[data-acc-auth] .acc-password {flex-direction:column;gap:0;}
 .acc-form[data-acc-auth] [data-acc-show] {align-self:flex-start;min-height:44px;}
 .acc-form[data-acc-auth] .acc-actions {max-width:calc(100vw - 132px - var(--interior-rail));}
 .acc-recovery-actions {max-width:calc(100vw - 132px - var(--interior-rail));}
}

.account-pantry {max-width:68rem;margin-block:1.5rem 3rem;}
.account-pantry header {max-width:60ch;}
.account-pantry h2 {font:450 clamp(2rem,4vw,3.15rem)/1.14 var(--ser);margin:.5em 0;}
.account-pantry h3 {margin:1.3em 0 .45em;}
.account-pantry h3 small {color:var(--secondary-ink);font:500 1rem var(--sans);}
.pantry-search {display:grid;gap:.4em;margin:1.25em 0 .3em;max-width:45rem;}
.pantry-search input {width:100%;min-height:48px;border:1px solid #776756;border-radius:5px;background:#241f1a;color:var(--pale);padding:8px 13px;font:inherit;}
.pantry-catalog summary {cursor:pointer;min-height:44px;padding:10px 0;color:var(--gold);}
.pantry-products,.pantry-kinds {display:flex;flex-wrap:wrap;gap:7px;}
.pantry-catalog .pantry-products {max-height:22rem;overflow:auto;padding:4px;}
.account-pantry button {font:500 1rem/1.3 var(--sans);border:0;border-radius:4px;padding:8px 12px;background:#342b24;color:var(--pale);cursor:pointer;min-height:44px;}
.account-pantry button[aria-pressed=true] {background:#e4c29e;color:#251c14;}
.pantry-kinds {margin-top:1.35rem;}
.pantry-matches ul {padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:8px 20px;}
.pantry-matches a,.pantry-matches small {display:block;}
.pantry-matches a {padding-block:8px;min-height:40px;color:var(--pale);}
.pantry-matches small {font-size:.93rem;color:var(--secondary-ink);}

/* The selected stock is displayed on a continuous ledge at a fixed baseline. */
.account.home-bar {--cellar-wood:linear-gradient(180deg,#e1bc8b66 0%,#65422205 28%,#23140f96 85%,#170e0b 100%),url("/assets/studio/counter.webp") 52% 86% / 820px auto;}
.cellar {margin:0 0 2.4rem;}
.cellar a {color:var(--gold);font-weight:550;}
.home-bar [data-pantry-stock] {position:relative;isolation:isolate;padding:16px clamp(12px,2vw,24px) 0;overflow:hidden;background:
  radial-gradient(ellipse at 48% -18%,#99744285 0,transparent 68%),
  repeating-linear-gradient(88deg,#0000 0 17px,#76604e0b 18px 19px,#0000 21px 42px),linear-gradient(105deg,#251b15,#493322 50%,#302319);}

.cellar-owned-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:8px 0;}
.cellar-product {margin:0;min-width:0;display:flex;flex-direction:column;}
.cellar-art {height:clamp(104px,12vw,144px);position:relative;display:flex;justify-content:center;align-items:flex-end;isolation:isolate;pointer-events:none;}
.cellar-art img {width:90%;height:100%;object-fit:contain;object-position:50% 100%;min-height:0;min-width:0;background:none;padding:0;display:block;filter:drop-shadow(2px 3px 3px #0006);}
.cellar-owned-grid .cellar-art {height:clamp(116px,15vw,170px);}
.cellar-owned-grid .cellar-art::after {content:"";position:absolute;z-index:-1;top:100%;height:10px;left:-100vw;right:-100vw;background:var(--cellar-wood);box-shadow:0 7px 10px -3px #120c0b9c;}
.cellar-caption {display:flex;align-items:flex-start;flex-direction:column;flex:1;min-width:0;}
.cellar-owned-grid .cellar-caption {padding:18px 6px 12px;text-align:center;align-items:center;color:#fff0d8;}
.cellar-product h4 {font:550 1.04rem/1.24 var(--sans);color:inherit;margin:0;overflow-wrap:anywhere;}
.cellar-product small {margin:3px 0 0;color:var(--secondary-ink);font:.82rem/1.36 var(--sans);}
.cellar-owned-grid .cellar-product small {color:#dfc9aa;}
.home-bar .cellar-product button {margin-top:auto;border-radius:4px;padding:6px 10px;min-height:44px;background:#332b22;color:var(--pale);font:500 .91rem/1.25 var(--sans);}
.cellar-list .cellar-product button {margin-top:6px;}
.home-bar .cellar-product button[aria-pressed=true] {background:#d6b98b;color:#261b11;}
.home-bar .cellar-owned-grid button {background:transparent;color:#efd6b0;font-size:.86rem;}
.cellar-heading {margin:clamp(32px,5vw,58px) 0 1rem;}
.cellar .cellar-heading h3 {font:540 clamp(1.65rem,3vw,2.2rem)/1.15 var(--ser);margin:0;}
.cellar-heading p,.cellar-count {margin:.4rem 0 .8rem;color:var(--secondary-ink);line-height:1.45;}
.cellar-search-tools {display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;max-width:56rem;margin:14px 0;}
.cellar-search,.cellar-volume,.cellar-custom label {display:grid;gap:5px;font-weight:550;}
.cellar-search {flex:2 1 16rem;}
.cellar-volume {flex:1 1 8rem;max-width:17rem;min-width:0;}
.cellar-volume[hidden] {display:none;}
.cellar-search input,.cellar-custom input,.cellar-volume select {box-sizing:border-box;width:100%;font:400 1rem/1.3 var(--sans);background:#29231d;color:var(--pale);border:1px solid #766955;border-radius:3px;min-width:0;min-height:44px;padding:8px;}
.cellar-count {font-size:.91rem;}
.cellar-list {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px clamp(12px,2vw,28px);margin:12px 0 20px;}
.cellar-list .cellar-art {margin-bottom:10px;}
.cellar-list .cellar-art::after {content:"";position:absolute;bottom:-3px;left:12%;right:12%;height:5px;z-index:-1;background:radial-gradient(ellipse,#6c50365e,transparent 68%);}
.cellar-more {margin:0 0 1rem;}
.cellar-credits ul {padding:0;list-style:none;}
.cellar summary {cursor:pointer;display:list-item;min-height:44px;padding:9px 0;color:var(--gold);font-weight:550;}
.cellar-custom form {display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;max-width:47rem;padding:7px 0 15px;}
.cellar-form-actions {grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;}
.cellar-credits li {margin:.5em 0;overflow-wrap:anywhere;}
.cellar [data-cellar-status]:empty {display:none;}
.cellar-save-feedback {display:flex;flex-wrap:wrap;align-items:center;gap:0 .8rem;margin:.4rem 0 0;color:var(--pale);font:.88rem/1.45 var(--sans);}
.cellar-save-feedback[hidden],.cellar-save-feedback a[hidden] {display:none;}
.cellar-save-feedback a {display:inline-flex;align-items:center;min-height:44px;color:var(--gold);}
.cellar-save-feedback a:focus-visible {outline:2px solid var(--gold);outline-offset:3px;}
#cellar-title,#pantry-recipe-heading {scroll-margin-top:7rem;}
@media(max-width:760px){.cellar-owned-grid {grid-template-columns:repeat(3,minmax(0,1fr));}.cellar-list {grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:520px){.cellar-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;}.cellar-owned-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.cellar-custom form {grid-template-columns:1fr;}.cellar-search {flex-basis:100%;}.cellar-volume {max-width:none;}.cellar-art {height:116px;}}
.acc-voice {margin:1rem 0;}
.acc-voice summary {width:fit-content;min-height:44px;cursor:pointer;color:var(--gold);font-weight:550;padding:10px 0;}
.acc-voice .acc-form {margin:.4rem 0 1.2rem;}
.acc-voice [data-voice-forget] {min-height:44px;}
.acc-voice [data-voice-status]:empty {display:none;}

.st-page.wrap:has(.account.home-bar) {width:calc(100% - clamp(32px,5.5vw,100px));max-width:none;}
.atlas-tool .account.home-bar,.home-bar .account-pantry {width:100%;max-width:none;}
.home-bar .bar-front-heading {display:flex;align-items:baseline;justify-content:space-between;column-gap:1.5rem;row-gap:.6rem;flex-wrap:wrap;margin:0 0 clamp(14px,2vw,25px);}
.home-bar .bar-front-heading #paneltitle {margin:0;font:500 clamp(2.5rem,5vw,5rem)/1.04 var(--ser);letter-spacing:-.04em;}
.bar-front-actions {display:flex;gap:8px 12px;flex-wrap:wrap;}
.bar-front-actions a {display:inline-flex;align-items:center;justify-content:center;font:550 1rem/1.25 var(--sans);padding:.64rem 1rem;min-height:44px;border-radius:4px;background:#e5c592;color:#261d13;text-decoration:none;}
.bar-front-actions a+a {background:#352c21;color:#f2dfc1;}
.home-bar .cellar-stock-label {margin:5px 0 15px;color:#edd7bb;font:550 .94rem/1.3 var(--sans);}
.home-bar [data-pantry-stock] {padding:clamp(12px,2vw,28px) clamp(10px,2.3vw,36px) 0;}
.home-bar [data-pantry-stock].is-empty {display:grid;grid-template-columns:minmax(220px,1fr) minmax(380px,1.5fr);column-gap:clamp(20px,5vw,80px);align-items:center;padding:20px clamp(20px,3vw,54px) 0;}
.bar-empty-copy {align-self:center;margin-bottom:24px;position:relative;z-index:1;}
.bar-empty-copy .cellar-stock-label {color:#dbbc91;margin:0 0 12px;}
.home-bar .bar-empty-copy h2 {margin:0 0 .5rem;font:500 clamp(1.55rem,3vw,2.8rem)/1.1 var(--ser);color:#ffeed2;}
.home-bar .bar-empty-copy .acc-empty {color:#e1cfb6;font-size:clamp(.93rem,1.2vw,1.06rem);margin:0;max-width:36ch;}
.bar-starters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:end;position:relative;}
.bar-starters::before {content:"";background:var(--cellar-wood);height:11px;position:absolute;left:0;right:-20vw;top:clamp(130px,14.2vw,210px);box-shadow:0 5px 9px #130d086e;}
.account.home-bar .bar-starter {display:flex;flex-direction:column;align-items:center;min-width:0;margin:0;padding:0 5px 14px;color:#ffedd3;position:relative;background:transparent;border:0;font:550 1rem/1.2 var(--sans);cursor:pointer;}
.bar-starter .cellar-art {height:clamp(130px,14.2vw,210px);width:100%;}
.starter-name {margin:20px 0 5px;}
.starter-action {color:#e6c697;text-decoration:inherit;font-size:.91rem;}
.bar-starter:focus-visible,.bar-front-actions a:focus-visible {outline:2px solid #e6c598;outline-offset:2px;}
.home-bar .acc-profile {margin-top:2.5rem;}
@media(min-width:761px){.home-bar .cellar-owned-grid .cellar-art {height:clamp(164px,16vw,240px);}.home-bar .acc-tabs {margin-top:1.35rem;}}
@media(max-width:760px){
 .home-bar .bar-front-heading {display:block;}
 .bar-front-actions {margin-top:14px;}
 .home-bar [data-pantry-stock].is-empty {display:block;padding:17px 14px 0;}
 .bar-empty-copy {margin:0 0 14px;}
 .home-bar .bar-empty-copy .cellar-stock-label {margin:0 0 8px;font-size:.85rem;}
 .home-bar .bar-empty-copy .acc-empty {max-width:50ch;}
 .bar-starters::before {top:115px;left:-16px;right:-16px;}
 .bar-starter .cellar-art {height:115px;}
 .account.home-bar .bar-starter {font-size:1rem;}
 .bar-front-actions a {font-size:.92rem;padding:.55rem .7rem;}
}

/* The shelf plane and foreground counter are photographed at different depths.
   Package baselines share the back ledge even when their transparent padding differs. */
.account.home-bar [data-pantry-stock],
.account.home-bar [data-pantry-stock].is-empty {
  display:block;padding:0;overflow:visible;background:none;color:var(--pale,#f3e5d1);
}
.pantry-room {position:relative;isolation:isolate;aspect-ratio:1536/720;overflow:hidden;background:#32251e;}
.pantry-room picture,.pantry-room .pantry-room-backdrop {display:block;width:100%;height:100%;}
.pantry-room .pantry-room-backdrop {position:absolute;inset:0;object-fit:cover;max-width:none;}
.pantry-room-ledge {position:absolute;inset:2% 13.4% auto;height:52.9%;display:flex;align-items:flex-end;justify-content:center;gap:1.2%;isolation:isolate;}
.pantry-room-item {position:relative;height:var(--item-height);width:10.3%;max-width:25%;flex:0 1 auto;display:flex;align-items:end;justify-content:center;min-width:0;outline-offset:3px;}
.pantry-room-item::before {content:"";position:absolute;bottom:-.6%;left:18%;right:3%;height:3.3%;background:#160d09;opacity:.78;filter:blur(2px);border-radius:50%;transform:skewX(-18deg);}
.pantry-room-item img {display:block;position:relative;width:100%;height:100%;object-fit:contain;object-position:50% 100%;transform:translateY(var(--item-inset));
  filter:brightness(.94) saturate(.91) drop-shadow(2px 1px 1px #1c100f70);max-width:none;}
.pantry-room-item::after {content:attr(data-bottle-name);position:absolute;bottom:100%;left:50%;z-index:3;padding:5px 10px;margin-bottom:2px;transform:translateX(-50%);background:#241b16;color:#fff2dd;font:550 .85rem/1.2 var(--sans);border-radius:4px;white-space:nowrap;visibility:hidden;}
.pantry-room-item:focus-visible {outline:2px solid #fff0d7;z-index:2;}
.pantry-room-item:focus-visible::after {visibility:visible;}
@media(hover:hover){.pantry-room-item:hover {z-index:2;}.pantry-room-item:hover::after {visibility:visible;}}
.pantry-room-foot {padding:clamp(18px,2.8vw,38px) 0 4px;}
.pantry-room-line {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;}
.home-bar .pantry-room-line h2 {margin:0;font:500 clamp(1.55rem,2.8vw,2.6rem)/1.12 var(--ser);color:var(--pale);}
.pantry-room-count {font:500 1.1rem/1.3 var(--sans);color:var(--secondary-ink);}
.pantry-room-pages {margin-inline-start:auto;display:flex;align-items:baseline;gap:6px 12px;flex-wrap:wrap;}
.pantry-room-pages[hidden] {display:none;}
.pantry-room-pages output {font:500 .93rem/1.2 var(--sans);color:var(--secondary-ink);}
.home-bar .pantry-room-pages button,.home-bar .pantry-room-starters button,.home-bar .pantry-owned-list button {min-height:44px;margin:0;padding:6px 13px;border:0;border-radius:4px;font:550 .95rem/1.28 var(--sans);background:#352b24;color:#f0d9ba;cursor:pointer;}
.home-bar .pantry-room-pages button:disabled {cursor:default;opacity:.45;}
.pantry-room-intro,.pantry-room-starters {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;}
.pantry-room-intro {justify-content:space-between;column-gap:24px;margin:12px 0 3px;}
.account.home-bar .pantry-room-intro .acc-empty {margin:0;max-width:45ch;padding:0;}
.pantry-room-starters button span {font-size:1.1em;line-height:1;}
.pantry-owned-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:6px 22px;padding:0;margin:16px 0 0;list-style:none;}
.pantry-owned-list li {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;scroll-margin-top:6rem;}
.pantry-owned-list li:focus-visible {outline:2px solid #c59a69;outline-offset:3px;}
.pantry-owned-copy {display:grid;gap:4px;min-width:0;}
.pantry-owned-copy strong {font:550 1rem/1.2 var(--sans);overflow-wrap:anywhere;}
.pantry-owned-copy small {font:450 .87rem/1.3 var(--sans);color:var(--secondary-ink);}
.home-bar .pantry-owned-list button {background:transparent;font-size:.86rem;}

@media(max-width:600px) {
 .pantry-room {aspect-ratio:5/4;}
 .pantry-room-ledge {inset:4.7% 15.8% auto 3.6%;height:52.8%;gap:2.4%;}
 .pantry-room-item {width:21%;max-width:25%;}
 .pantry-room-foot {padding-top:18px;}
 .pantry-room-pages {width:100%;margin-inline-start:0;}
 .pantry-room-intro {margin-top:8px;gap:14px;}
 .pantry-room-starters {gap:7px;}
 .pantry-owned-list {gap:3px;margin-top:10px;}
}

/* Ingredient finder on /my-bar/. Account and personal recipe forms have separate layouts. */
.atlas-tool:has(> .pantry-finder) {max-width: 1100px; margin-inline: auto;}
.atlas-tool:has(> .pantry-finder) > h1 {margin-bottom: 9px;}
.pantry-intro {max-width: 53ch; margin: 0; color: #dfd4c4; font: 400 clamp(1.02rem,1.5vw,1.25rem)/1.5 var(--sans);}
.pantry-workbench {display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,.85fr); align-items: start; gap: clamp(26px,5vw,80px); margin: clamp(25px,3.2vw,48px) 0;}
.pantry-finder h2 {display: flex; align-items: baseline; gap: .5em; margin: 0 0 16px; font: 540 clamp(1.4rem,2.4vw,2.15rem)/1.14 var(--sans); color: var(--pale); letter-spacing: -.034em;}
.pantry-finder h2 > span {color: #cdab82; font: 500 .72em/1 var(--sans); font-variant-numeric: tabular-nums;}
.pantry-find {display: block; margin: 0 0 .32em; font: 550 1rem/1.4 var(--sans); color: #e1d4bf;}
#ingredientfind {display: block; width: 100%; box-sizing: border-box; min-height: 46px; padding: 9px 14px; border: 1px solid #776957; border-radius: 5px; background: #292420; color: #f4e9d9; font: 400 1rem/1.45 var(--sans);}
#ingredientfind::placeholder {color: #bcaf9b;}
.pantry-choices {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin-top: 8px; align-content: start;}
.pantry-finder [hidden] {display: none !important;}
.pantry-finder .pantry-choice {display: flex; gap: 11px; align-items: center; min-height: 44px; padding: 5px 1px; cursor: pointer; font: 470 1rem/1.25 var(--sans); color: #eadecc; overflow-wrap: anywhere;}
.pantry-choice input {width: 19px; height: 19px; margin: 0; flex: none; accent-color: #d5b696;}
.pantry-choice small {color: #bcb6a9;}
.pantry-choice:focus-within {outline: 2px solid #d9b992; outline-offset: 1px; border-radius: 3px;}
.pantry-finder #bottles {margin: 4px 0 0;}
.pantry-finder #bottles summary {min-height: 44px; width: fit-content; cursor: pointer; align-content: center; padding: 7px 0; font: 580 1rem/1.5 var(--sans); color: #dec5a7;}
.pantry-finder #bottles[open] #supplies {max-height: 260px; overflow-y: auto; padding: 3px; scrollbar-color: #756652 transparent;}
.pantry-summary {background: #292821; padding: clamp(20px,2.4vw,36px); color: #ede4d7; border-radius: 5px;}
.pantry-summary h3 {margin: 0; font: 520 clamp(1.25rem,2vw,1.65rem)/1.18 var(--ser);}
.pantry-summary p {color: #d5cab9; line-height: 1.5; margin: 9px 0 16px; overflow-wrap: anywhere;}
.pantry-summary #show-pantry-matches {min-height: 48px; border: 0; border-radius: 4px; padding: 11px 19px; font: 600 1rem/1.4 var(--sans); background: #dfc8a6; color: #29221c;}
.pantry-summary #show-pantry-matches:disabled {background: #4d493e; color: #e6dfd2; cursor: default;}
.pantry-summary #resetpantry {display: block; min-height: 42px; text-align: left; border: 0; background: none; color: #d9c5ab; padding: 8px 0 0; font: 470 .95rem/1.35 var(--sans);}
#pantry-results {margin: clamp(30px,4vw,54px) 0 24px; scroll-margin-top: 4px;}
#pantry-results-title:focus {outline: none;}
#pantry-results .exclusion-control {margin: 2px 0 14px;}
.pantry-finder #matches .empty {text-align: left; padding: 12px 0; color: #d1c4b1;}
.pantry-method-note {max-inline-size:65ch; color: #bfb4a5; margin: 14px 0 0; font: 400 .96rem/1.48 var(--sans);}
#products-tools {display: flex; flex-wrap: wrap; column-gap: 24px; margin-block: 24px;}
#products-tools a {display: inline-flex; align-items: center; min-height: 44px; color: #d8c2a6; font: 500 1rem/1.4 var(--sans);}
@media(max-width:720px) {
  .pantry-workbench {grid-template-columns: 1fr; gap: 16px; margin-block: 22px;}
  .pantry-choices {column-gap: 13px;}
  .pantry-summary {padding: 18px;}
  .pantry-summary #show-pantry-matches {width: 100%;}
  .pantry-summary #resetpantry {min-height: 44px;}
  .pantry-finder h2 {margin-bottom: 13px;}
}
.pantry-finder #bottles summary {display: inline-flex; align-items: center; list-style: none;}
.pantry-finder #bottles summary::-webkit-details-marker {display: none;}
.pantry-finder #matches .resultrow > .ic {display: none;}

/* The account opens straight onto the guest's shelf or the chosen collection. */
.atlas-tool .account.acc-dashboard {width:100%;max-width:none;}
.acc-dashboard {--desk-gold:#dfbd86;--desk-muted:#c5b8a8;--desk-wood:#30261f;}
.acc-dashboard .acc-desk-heading {display:flex;gap:16px 32px;align-items:center;justify-content:space-between;margin:0 0 clamp(14px,2vw,28px);}
.acc-dashboard #paneltitle {font:500 clamp(2.65rem,5.1vw,5.4rem)/1.07 var(--ser);letter-spacing:-.045em;margin:0;text-wrap:balance;}
.acc-dashboard .acc-identity {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:48px;max-width:22rem;padding:4px 0;font:600 1.02rem/1.28 var(--sans);color:var(--pale);overflow-wrap:anywhere;}
.acc-identity span+span {font:450 .94rem/1.4 var(--sans);color:var(--desk-gold);}
.acc-dashboard .acc-tabs {display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 clamp(16px,2.1vw,30px);}
.acc-dashboard .acc-tabs button {display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px clamp(11px,1.2vw,19px);border:0;border-radius:4px;background:transparent;color:#e1d5c6;font:550 1rem/1.3 var(--sans);}
.acc-dashboard .acc-tabs button[aria-pressed=true] {background:#e2c69f;color:#2c2119;}
.acc-dashboard .acc-tabs span {margin:0;font:500 .96rem/1.3 var(--sans);opacity:.82;}
.acc-dashboard .acc-bar-cover {position:relative;container-type:inline-size;}
.acc-dashboard .bar-front-actions {position:absolute;top:calc(46.875cqw - 76px);left:clamp(16px,3vw,44px);z-index:2;display:flex;align-items:center;gap:10px;margin:0;}
.acc-dashboard .bar-front-actions a,.acc-dashboard .acc-main-action {display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:0;border-radius:4px;background:#ecd4ac;color:#271d14;font:600 1rem/1.3 var(--sans);padding:11px 19px;}
.acc-dashboard .bar-front-actions a+a {color:#f4e9d9;background:#2b231e;}
.acc-dashboard .pantry-room-foot {padding:clamp(20px,2vw,30px) 0 0;}
.acc-dashboard .pantry-room-line h2,.acc-dashboard .acc-settings h2,.acc-dashboard .acc-discover h2 {font:500 clamp(1.7rem,3vw,2.7rem)/1.13 var(--ser);letter-spacing:-.03em;margin:0;}
.acc-dashboard .pantry-room-intro .acc-empty {color:var(--desk-muted);font:450 1.03rem/1.53 var(--sans);}
.acc-dashboard .acc-contents {margin:0 0 clamp(32px,5vw,78px);}
.acc-dashboard .acc-list {max-width:61rem;}
.acc-dashboard .acc-row {gap:14px;align-items:center;padding:12px 0;}
.acc-dashboard .acc-row-main {display:flex;min-width:0;align-items:center;gap:clamp(12px,1.8vw,24px);}
.acc-dashboard .acc-row-main span {min-width:0;display:grid;gap:4px;}
.acc-dashboard .acc-row-main strong,.acc-dashboard .acc-recipe-link {font:500 clamp(1.32rem,2.2vw,1.8rem)/1.18 var(--ser);overflow-wrap:anywhere;}
.acc-dashboard .acc-row-main small,.acc-dashboard .acc-journal-head time {font:450 1rem/1.35 var(--sans);color:var(--desk-muted);}
.acc-dashboard .acc-drink-photo {display:block;flex:none;width:clamp(62px,8vw,96px);height:auto;aspect-ratio:4/3;object-fit:cover;}
.acc-dashboard .acc-notebook-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px;}
.acc-dashboard .acc-discover {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:68rem;min-height:250px;background:var(--desk-wood);overflow:hidden;}
.acc-dashboard .acc-discover>div {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(22px,3vw,46px);}
.acc-dashboard .acc-discover p {font:450 1.05rem/1.55 var(--sans);color:#e0d4c3;margin:12px 0 22px;max-width:35ch;}
.acc-dashboard .acc-discover img {width:100%;height:100%;object-fit:cover;min-width:0;min-height:0;max-height:330px;}
.acc-dashboard .acc-settings {background:#282620;padding:clamp(20px,3.75vw,54px);margin-top:clamp(36px,6vw,90px);}
.acc-dashboard .acc-settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px clamp(24px,6vw,90px);margin-top:clamp(18px,2.4vw,32px);}
.acc-dashboard .acc-settings .acc-profile {display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:8px;margin:0;padding:0;border:0;}
.acc-dashboard .acc-profile h3 {font:550 1.25rem/1.3 var(--sans);margin:0 0 9px;color:var(--pale);}
.acc-dashboard .acc-profile p {font:450 1rem/1.5 var(--sans);margin:6px 0;color:var(--desk-muted);max-width:42ch;overflow-wrap:anywhere;}
.acc-dashboard .acc-profile small {font:450 1rem/1.45 var(--sans);}
.acc-dashboard .acc-privacy,.acc-dashboard .acc-text,.acc-dashboard .acc-profile .linebtn {display:inline-flex;align-items:center;min-height:44px;padding:6px 0;border:0;font:550 1rem/1.35 var(--sans);color:var(--desk-gold);}
.acc-dashboard .acc-profile .acc-actions {gap:6px 22px;}
.acc-dashboard .acc-service select,.acc-dashboard .cellar-volume select {height:46px;font:500 1rem/1.3 var(--sans);}
.acc-dashboard .acc-service select {width:min(100%,20rem);min-width:0;}
.acc-dashboard .acc-voice {margin:12px 0 0;}
.acc-dashboard [data-acc-exclusions] {margin:0 0 18px;}
.acc-dashboard [data-acc-exclusions] .exclusion-control {width:fit-content;}
#account-settings {scroll-margin-top:6rem;}
@media(hover:hover) {
  .acc-dashboard .acc-tabs button:not([aria-pressed=true]):hover {background:#332f28;}
  .acc-dashboard .acc-main-action:hover,.acc-dashboard .bar-front-actions a:first-child:hover {background:#f2dfc0;}
  .acc-dashboard .acc-identity:hover span:last-child,.acc-dashboard .acc-privacy:hover,.acc-dashboard .acc-text:hover {color:#fff0d8;}
}
@media(max-width:700px) {
  .acc-dashboard .acc-desk-heading {align-items:start;flex-direction:column;gap:5px;}
  .acc-dashboard .acc-identity {flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap;text-align:left;min-height:44px;}
  .acc-dashboard .acc-identity span+span {font-size:.94rem;}
  .acc-dashboard .acc-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 8px;margin-bottom:14px;}
  .acc-dashboard .acc-tabs button {justify-content:flex-start;gap:7px;font-size:1rem;}
  .acc-dashboard .acc-settings-grid {grid-template-columns:1fr;gap:26px;}
  .acc-dashboard .acc-discover {grid-template-columns:1fr;min-height:0;}
  .acc-dashboard .acc-discover img {grid-row:1;aspect-ratio:2.25;max-height:205px;height:auto;}
  .acc-dashboard .acc-discover>div {padding:20px;}
  .acc-dashboard .acc-discover p {margin:8px 0 16px;}
}
@media(max-width:600px) {
  .acc-dashboard .bar-front-actions {position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;margin:0 0 10px;}
  .acc-dashboard .bar-front-actions a {text-align:center;padding:8px;min-height:48px;}
  .acc-dashboard .acc-settings {margin-inline:-4px;padding:21px 16px;}
}
@media(min-width:1080px) {
  .acc-dashboard .bar-front-actions {top:auto;bottom:calc(100% + clamp(16px,2.1vw,30px));left:auto;right:0;}
  .home-bar.acc-dashboard .acc-tabs {padding-right:24rem;}
}
.acc-dashboard .acc-service select {border:1px solid #6e6559;border-radius:4px;padding:8px 12px;background-color:#38352e;color:var(--pale);}
.acc-dashboard .acc-voice summary {display:inline-flex;align-items:center;list-style:none;min-height:46px;gap:9px;padding:6px 0;font:550 1rem/1.4 var(--sans);}
.acc-dashboard .acc-voice summary::-webkit-details-marker {display:none;}

.acc-dashboard .journal-feed {display:grid;gap:36px;max-width:48rem;margin:20px auto 0;}
.journal-feed .acc-journal {padding:0 0 22px;}
.journal-feed .acc-journal-head {gap:14px;margin-bottom:4px;}
.journal-feed .acc-journal p {margin:12px 0 0;font:400 1.05rem/1.6 var(--sans);color:var(--pale);}
.journal-gallery {margin-top:12px;min-width:0;}
.journal-strip {display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#886d52 transparent;}
.journal-slide {flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;aspect-ratio:4/3;max-height:65vh;background:#201c1a;}
.journal-slide img {display:block;width:100%;height:100%;object-fit:contain;}
.journal-paging {display:flex;align-items:center;justify-content:center;gap:14px;color:var(--pale);}
.account .journal-gallery button,.journal-uploads button,.journal-signin a {min-height:44px;border:0;background:transparent;padding:6px 10px;font:550 1rem/1.3 var(--sans);color:#edcc9c;}
.journal-paging button:disabled,.journal-uploads button:disabled {opacity:.42;}
.journal-uploads {padding:8px 0;border:0;margin:0;min-width:0;}
.journal-uploads legend {padding:0;font:550 1.13rem/1.4 var(--sans);color:#f3e5d5;}
.journal-uploads p,.journal-signin p {margin:4px 0 10px;color:#cfc1af;}
.acc-form label.journal-picker {display:inline-flex;align-items:center;min-height:46px;position:relative;border-radius:4px;background:#403226;color:#f6e1c4;padding:8px 15px;cursor:pointer;}
.journal-picker:focus-within,.journal-strip:focus-visible {outline:2px solid #edd1a6;outline-offset:3px;}
.journal-picker input {position:absolute;inset:0;opacity:0;cursor:pointer;}
.journal-uploads ol {padding:0;margin:10px 0 0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr));gap:12px;}
.journal-uploads li {min-width:0;}
.journal-uploads li img {display:block;width:100%;height:105px;object-fit:contain;background:#201c1a;border-radius:var(--photo-radius);}
.journal-uploads li div {display:flex;flex-wrap:wrap;gap:0 5px;}
.journal-uploads li button {padding-inline:3px;}
.journal-uploads [data-photo-status]:empty {display:none;}
.journal-signin a {display:inline-flex;align-items:center;padding-inline:0;margin-right:20px;}

@media(max-width:760px){
  /* Keep a note, including its last line, clear of the fixed bartender.
     The gallery and its swipe surface retain the whole available width. */
  .journal-feed .acc-journal > p {padding-inline-end:122px;}
  .journal-feed {padding-bottom:max(122px,env(safe-area-inset-bottom));}
  .journal-feed .acc-journal > p {scroll-margin-bottom:122px;}
  .journal-gallery .journal-paging {margin-inline:auto;width:fit-content;max-width:calc(100% - 62px);gap:7px;}
}

/* Side-by-side field notes stay attached to their own photograph. */
.account [data-compare-open] {margin-inline-start:.8rem;}
.journal-compare {max-width:62rem;margin:16px auto 40px;}
.journal-compare h2 {margin:12px 0 8px;}
.journal-compare label {display:grid;gap:6px;font-weight:550;min-width:0;}
.journal-compare select {width:100%;max-width:100%;min-height:44px;padding:7px;border:1px solid #756856;border-radius:4px;background:#302a24;color:#f4e7d5;font:inherit;}
.journal-compare > label {max-width:28rem;}
.journal-compare-name {font:500 clamp(1.3rem,3vw,1.8rem)/1.2 var(--ser);margin:.5rem 0;}
.journal-compare-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,32px);margin-top:20px;}
.journal-compare-column {min-width:0;}
.journal-compare-column .journal-strip {border-radius:var(--photo-radius);}
.journal-compare-column .journal-slide {max-height:none;}
.journal-no-photo,.journal-unavailable {display:grid;place-items:center;margin:12px 0 0;aspect-ratio:4/3;background:#29241e;color:#cbbba8;text-align:center;}
.journal-unavailable {margin:0;width:100%;height:100%;}
.journal-compare-note {white-space:pre-wrap;overflow-wrap:anywhere;font:400 1rem/1.55 var(--sans);}
@media(max-width:650px){
  .account [data-compare-open] {margin:0 0 .75rem;}
  .journal-compare-pair {gap:10px;}
  .journal-compare-column label {font-size:.88rem;}
  .journal-compare-column select {font-size:1rem;padding-inline:3px;}
  .journal-compare-column .journal-paging {max-width:100%;gap:2px;flex-wrap:wrap;}
  .account .journal-compare-column .journal-paging button {font-size:1rem;padding-inline:2px;}
  .journal-compare-column .journal-paging span {font-size:var(--label-size, .9375rem);}
  .journal-compare {padding-bottom:95px;}
}

.cellar-art .cellar-photo-pending {
  align-self:center;
  color:var(--secondary-ink);
  font:400 .94rem/1.35 var(--sans);
  text-align:center;
}
.pantry-room-tag {
  position:relative;
  box-sizing:border-box;
  max-width:100%;
  padding:.2em .35em;
  color:#241b13;
  background:#ead8b6;
  font:550 clamp(.64rem,1vw,.88rem)/1.2 var(--sans);
  text-align:center;
  overflow-wrap:anywhere;
}

#pantry-chips { display:flex; flex-wrap:wrap; gap:4px 8px; margin:0 0 12px; padding:0; list-style:none; }
#pantry-chips:empty { display:none; }
#pantry-chips button, #pantry-chips a, #pantry-example, .pantry-near > button,
.pantry-near > a:not(.resultrow), [data-pantry-find] {
  display:inline-flex; align-items:center; gap:.45em; min-height:44px; max-width:100%;
  padding:4px 8px; color:var(--accent,#f0cc96); background:transparent; border:0;
  font:inherit; line-height:1.35; text-align:start; overflow-wrap:anywhere; cursor:pointer;
}
#pantry-chips button { border:1px solid #706658; border-radius:5px; }
#pantry-example { display:block; margin:0 0 6px; padding-inline:0; }
#pantry-example[hidden] { display:none; }
.pantry-near { border-bottom:1px solid #ffffff22; }
.pantry-near > .resultrow { border-bottom:0; }
.pantry-near > button, .pantry-near > a:not(.resultrow) { margin-bottom:4px; }

/* The personal reading card pairs the next action with one plate. */
.atlas-tool .account:is(.bar-notebook,.notebook-preferences){width:100%;max-width:none}
.bar-notebook{--ink:#38291f;--paper:#e8d9c2;--umber:#6d4c34;--rule:#594c40}
.nb-toolbar,.nb-toolbar nav,.nb-subnav,.nb-actions,.nb-mode,.bar-notebook figcaption{display:flex;align-items:center}
.nb-toolbar{justify-content:space-between;gap:5px 20px;flex-wrap:wrap;margin:0 0 12px}
.nb-toolbar nav,.nb-subnav{flex-wrap:wrap;gap:0 20px}
.nb-mode{gap:9px;color:#cfbea9;font:500 1rem/1.35 var(--sans)}
.nb-mode i{width:8px;height:8px;display:block;border-radius:50%;background:#c29a66}
.nb-toolbar a,.nb-subnav a,.notebook-preferences :is(.np-link,.notebook-back,.acc-text){display:inline-flex;align-items:center;min-height:44px;color:#e6c8a1;font:570 1rem/1.35 var(--sans);text-decoration:none}
.nb-cover{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);overflow:hidden;border-radius:var(--photo-radius,8px);background:var(--paper);color:var(--ink)}
.nb-paper{min-width:0;position:relative;align-self:center;padding:clamp(32px,4.2vw,70px) clamp(24px,3.5vw,58px)}
.nb-eyebrow{font:650 .83rem/1.3 var(--sans);text-transform:uppercase;letter-spacing:.17em;color:var(--umber);margin-bottom:13px}
main#main-content[data-edition="account"] #panelbody > #paneltitle.nb-page-cover,
main#main-content:is([data-edition="favorites"],[data-edition="shopping"]) header.collection-tool-cover {
  min-height:var(--atlas-cover-height);
}
main#main-content:is([data-edition="favorites"],[data-edition="shopping"]) .collection-tool-copy {
  width:min(100%,42rem);
}
main#main-content[data-edition="account"] #panelbody > #paneltitle.nb-page-cover,
main#main-content:is([data-edition="favorites"],[data-edition="shopping"]) header.collection-tool-cover .collection-tool-copy #paneltitle {
  font:var(--page-title);letter-spacing:-.024em;text-wrap:balance;
}
@media(max-width:760px) {
  main#main-content[data-edition="favorites"] header.collection-tool-cover {background-position:center,76% center;}
  main#main-content[data-edition="shopping"] header.collection-tool-cover {background-position:center,62% center;}
  main#main-content[data-edition="account"] #panelbody > #paneltitle.nb-page-cover {background-position:center,68% center;}
}
.nb-ribbon{position:absolute;top:0;right:clamp(20px,3vw,46px);width:17px;height:25px;background:#855048;clip-path:polygon(0 0,100% 0,100% 100%,50% 79%,0 100%)}
.nb-paper{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.nb-paper p{color:#594434;max-width:40ch;font:450 clamp(1.06rem,1.38vw,1.28rem)/1.45 var(--sans);margin:16px 0 22px;overflow-wrap:anywhere}
.nb-actions{flex-wrap:wrap;gap:4px 18px}
.bar-notebook .nb-primary,.bar-notebook .nb-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:4px;font:600 1rem/1.25 var(--sans);text-decoration:none}
.bar-notebook .nb-primary{padding:10px 16px;background:#493827;color:#fff3df}
.bar-notebook .nb-secondary{color:#614128}
.nb-cover figure{position:relative;margin:0;min-width:0;isolation:isolate;background:#38281e}
.nb-cover figure img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bar-notebook figcaption{position:absolute;left:20px;bottom:18px;gap:7px;padding:5px 11px;color:#ffeed6;background:#30231bf2;border-radius:3px;font:540 .94rem/1.35 var(--sans)}
.bar-notebook figcaption .ic{width:15px;height:15px;color:#e8bd87}
.nb-index{margin:clamp(26px,3.5vw,52px) 0 clamp(24px,3vw,44px)}
.nb-index h2,.np-section h2{margin:0 0 12px;color:#f0dfc7;font:500 clamp(1.7rem,2.6vw,2.65rem)/1.16 var(--ser);letter-spacing:-.028em}
[data-nb-index]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,5vw,78px)}
.bar-notebook .nb-folder{display:flex;align-items:center;gap:12px;min-height:64px;padding:13px 1px;text-decoration:none}
.nb-folder-copy{display:grid;gap:3px;flex:1;min-width:0}
.nb-folder-copy strong{font:500 clamp(1.2rem,1.65vw,1.55rem)/1.19 var(--ser);color:#f3e5d0}
.nb-folder-copy small{font:450 1rem/1.35 var(--sans);color:#c9baaa}
.nb-count{font:550 1.1rem/1 var(--sans);color:#e0bc8b;font-variant-numeric:tabular-nums}
.np-header{margin-bottom:10px}
.np-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px clamp(30px,5vw,80px)}
.np-section{min-width:0;border-top:1px solid #5a4a39;padding:20px 0}
.notebook-preferences .np-section p{font:450 1.06rem/1.5 var(--sans);color:#cfbfab;max-width:43ch;margin:8px 0 12px;overflow-wrap:anywhere}
.notebook-preferences .np-section a.np-link{display:flex;width:fit-content}
.np-email{margin-top:6px}
.np-email .acc-email{max-width:38rem}
.np-email summary,.notebook-preferences button,.account .acc-auth-links button,.account .acc-actions button,.account .journal-picker{min-height:44px}
.bar-notebook a:focus-visible,.nb-subnav a:focus-visible,.notebook-preferences :is(a,button,summary):focus-visible{outline:2px solid #efbd78;outline-offset:3px}
.nb-paper a:focus-visible{outline-color:#573725}
@media(hover:hover){
 .bar-notebook .nb-primary:hover{background:#60472e;color:#fff}
 .bar-notebook .nb-secondary:hover{color:#883721}
 .nb-folder:hover strong,.nb-toolbar a:hover,.nb-subnav a:hover,.notebook-preferences a:hover{color:#ffc98a}
}
@media(max-width:800px){.nb-paper{padding:32px 24px}.nb-actions{column-gap:12px}.nb-toolbar{margin-bottom:8px}}
@media(max-width:640px){
 .nb-cover,.np-layout,[data-nb-index]{grid-template-columns:minmax(0,1fr)}
 .nb-paper{padding:30px 20px 20px}
 .nb-eyebrow{margin-bottom:8px}.nb-paper p{margin:12px 0 14px}
 .nb-cover figure{height:clamp(140px,40vw,230px)}
 .nb-cover figure img{object-position:center 54%}
 .bar-notebook figcaption{left:14px;bottom:12px}
 .nb-toolbar{column-gap:6px}.nb-toolbar nav{gap:0 12px}.nb-mode{gap:6px}
 .np-layout{gap:0}.nb-subnav{gap:0 16px}
}
main#main-content[data-edition="account"] #panelbody:is(:not(:has([data-account-root])),:has([data-account-view="loading"]))>#paneltitle{min-height:0;background:none;margin:0;padding:0;width:auto}
/* Keep the footer outside the first screen while private tools resolve.
   This reserve disappears when their actual, taller content is mounted. */
main#main-content[data-edition="account"]:has(#panelbody > [data-account-view="loading"]),
main#main-content[data-edition="account"]:not(:has([data-account-root])),
main#main-content[data-edition="my-bar"]:not(:has(.pantry-finder,#ownform)),
main#main-content[data-edition]:has(> #panelbody[data-tool-pending]) {
  min-block-size:100svh;
}
/* A session check is a local status, not a provisional sign-in/profile title. */
main#main-content[data-edition="account"] #panelbody:has(> [data-account-view="loading"]) > #paneltitle {
  position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
/* These are work areas, including when empty. Keep their following navigation
   and the footer below the first screen throughout asynchronous initialization. */
main#main-content[data-edition] > #panelbody[data-tool-page] {
  min-block-size:100svh;
}
#panelbody[data-tool-pending] h1.sr-only {
  position:absolute;width:1px;height:1px;min-height:0;margin:-1px;padding:0;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}

/* The photographed bar, its inventory and the tools that work on it. */
.nb-home-bar,.nb-collection {min-width:0}
.nb-home-heading {display:flex;align-items:center;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;margin:0 0 clamp(16px,2vw,28px)}
main#main-content[data-edition="account"] .nb-home-heading #paneltitle {margin:0;color:#f7ebd8;font:var(--page-title);letter-spacing:-.035em}
.nb-home-tools {display:flex;align-items:stretch;flex-wrap:wrap;gap:8px 12px}
.nb-home-tools button {padding:10px 16px;min-height:46px;max-width:100%;border:1px solid #80694f;border-radius:4px;background:#30261e;color:#f2dfc6;font:550 1rem/1.3 var(--sans);cursor:pointer}
.nb-home-tools button:first-child {border-color:transparent;background:#dfbe91;color:#312319}
.nb-home-tools button:first-child:is(:hover,:active,[aria-expanded=true]) {background:#efd4ad;color:#613612}
.nb-home-tools button:last-child:is(:hover,:active,[aria-expanded=true]) {border-color:#c49a68;color:#ffdfb0;background:#463326}
.nb-home-tools button:focus-visible {outline:2px solid #efca92;outline-offset:3px}
.nb-home.account.home-bar [data-pantry-stock] {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.85fr);align-items:stretch;overflow:hidden;border-radius:var(--photo-radius,8px);background:#32251e}
.nb-home .pantry-room {align-self:center}
.nb-home .pantry-room-foot {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(20px,2.3vw,40px);background:linear-gradient(110deg,#392a20,#29201a)}
.nb-home .pantry-room-line {gap:6px 12px}
.nb-home .pantry-room-line h2 {font:500 clamp(1.45rem,2vw,2.1rem)/1.15 var(--ser)}
.nb-home .pantry-room-intro {align-items:start;flex-direction:column;gap:14px}
.nb-home .pantry-room-starters {gap:7px}
.nb-home .pantry-owned-list {display:block;max-height:clamp(255px,23vw,340px);overflow:auto;padding:2px 8px 2px 2px;margin:12px 0 0;scrollbar-color:#a28769 #32271f}
.nb-home .pantry-owned-list li+li {border-top:1px solid #554337}
.nb-home .pantry-room-pages {width:100%;margin:4px 0}
.nb-home [data-acc-contents] {margin:clamp(20px,3vw,44px) 0}
.nb-home [hidden] {display:none!important}
.nb-home .account-pantry {margin:0}
.nb-home .nb-collection {display:grid;grid-template-columns:1fr;gap:clamp(22px,3.5vw,48px);margin:clamp(32px,4.2vw,70px) 0 clamp(20px,3vw,42px)}
.nb-home .nb-index {margin:0}
.nb-home [data-nb-index] {gap:0 clamp(26px,4vw,58px)}
.nb-home .nb-folder {border-bottom:1px solid #584737;min-height:76px;gap:16px}
.nb-home .nb-folder::after,.nb-profile-nav a::after {content:"";width:7px;height:7px;border:solid currentColor;border-width:1.5px 1.5px 0 0;transform:rotate(45deg);margin-inline:4px 2px;color:#d0b18b;flex:none}
.nb-home .nb-folder:is(:hover,:focus-visible,:active) .nb-folder-copy strong,.nb-profile-nav a:is(:hover,:focus-visible,:active) {color:#ffd199}
.nb-home .nb-cover {min-height:210px;max-width:64rem}
.nb-home .nb-paper {padding:clamp(20px,3vw,42px)}
.nb-home .nb-paper p {margin:0 0 12px}
.nb-home .nb-actions {margin-top:12px}
.nb-profile-nav {display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;border-top:1px solid #594838;padding-top:12px}
.nb-profile-nav a {display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#dec5a5;font:550 1rem/1.4 var(--sans)}
main#main-content[data-edition="account"] .nb-section .acc-desk-heading,
.notebook-preferences .np-header {display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:6px 24px;width:100%;min-height:0;background:none;padding:0;margin:0 0 clamp(14px,2.4vw,32px)}
main#main-content[data-edition="account"] :is(.nb-section,.notebook-preferences) #paneltitle {font:var(--page-title);margin:0}
.nb-section [data-acc-feedback]:not(:empty) {margin:12px 0;color:#e7c398}
@media (max-width:900px) {
  .nb-home.account.home-bar [data-pantry-stock] {grid-template-columns:1fr}
  .nb-home .pantry-room-foot {padding:20px}
}
@media (max-width:600px) {
  .nb-home-heading {align-items:start;gap:14px;margin-bottom:16px}
  .nb-home-tools {width:100%;gap:6px}
  .nb-home-tools button {flex:1;padding-inline:8px;font-size:.95rem}
  .nb-home .pantry-room-foot {padding:20px 16px}
  .nb-home .nb-folder {min-height:68px}
}

/* Account entry */
main#main-content[data-edition="account"] #panelbody:has(> .acc-entry) > #paneltitle {
  min-height:clamp(128px,16vw,210px);
  margin-bottom:clamp(22px,3vw,38px);
}
.acc-entry {width:min(100%,32rem);}
.acc-entry .acc-form {width:100%;margin:0;gap:14px;}
.acc-entry .acc-intro {margin:0 0 18px;font:400 1.06rem/1.5 var(--sans);color:#e5dacc;}
.acc-entry .acc-form label {gap:6px;font:550 1rem/1.4 var(--sans);color:var(--pale);}
:is(.acc-entry,.np-email) .acc-form input:not([type=checkbox]) {
  min-height:48px;
  padding:10px 13px;
  border:1px solid #746451;
  border-radius:var(--photo-radius);
  background:#28231e;
  color:#fff6e8;
}
.acc-entry .acc-form[data-acc-auth] .acc-password {position:relative;display:block;margin-top:-8px;}
.acc-entry .acc-form .acc-password input:not([type=checkbox]) {padding-inline-end:6.1rem;}
.acc-entry .acc-password [data-acc-show] {
  position:absolute;inset:2px 2px 2px auto;min-height:44px;
  padding:0 10px;color:#e8c393;font:550 .98rem/1.2 var(--sans);
}
.acc-entry .acc-help,.acc-entry .acc-form small {font:400 1rem/1.5 var(--sans);color:#d4c6b4;}
.acc-entry .acc-form small {margin-top:-7px;}
.acc-entry .acc-form .acc-help {margin-bottom:0;}
.acc-entry .acc-form .acc-actions,.acc-entry > .acc-actions {
  gap:4px 20px;max-width:none;margin:4px 0 0;
}
.acc-entry :is(.acc-actions,.acc-auth-links) :is(a,button) {display:inline-flex;align-items:center;min-height:44px;margin:0;}
.acc-entry .acc-actions .primary {
  justify-content:center;
  min-height:44px;
  border:0;
  border-radius:4px;
  padding:11px 20px;
  background:#e9c393;
  color:#261b11;
  font:600 17px/1.2 var(--sans);
}
.acc-entry .acc-account-switch {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 7px;margin:16px 0 0;color:#ecdfcd;}
.acc-entry :is(.acc-account-switch a,.acc-other,.acc-text,.acc-help a) {color:#f1cd9c;font-weight:600;}
.acc-entry :is(.acc-account-switch a,.acc-entry-links a) {display:inline-flex;align-items:center;min-height:44px;}
.acc-entry .acc-entry-links {display:flex;align-items:baseline;flex-wrap:wrap;gap:0 18px;margin:8px 0 0;}
.acc-entry .acc-entry-links a {color:#d3c4b0;font:450 1rem/1.38 var(--sans);}
.acc-entry .acc-auth-links {margin-top:12px;}
.acc-entry .acc-error,.acc-entry .acc-notice {
  margin:0;padding:8px 0 8px 13px;background:none;
  color:#ffd4bb;font:500 1rem/1.45 var(--sans);
}
.acc-entry .acc-notice {color:#d6e2cc;}
.acc-entry :is(a,button):focus-visible {outline:2px solid #f3c480;outline-offset:3px;}
@media(hover:hover) {
  .acc-entry .acc-actions .primary:hover {background:#ffdcad;color:#21170c;}
  .acc-entry :is(a:not(.primary),[data-acc-show]):hover {color:#ffdaa8;}
}
@media(min-width:960px) {
  main#main-content[data-edition="account"] #panelbody:has(> .acc-entry) {
    position:relative;isolation:isolate;
    min-height:max(100svh,clamp(540px,42vw,650px));
    padding-block:clamp(34px,3.4vw,56px) 26px;
  }
  main#main-content[data-edition="account"] #panelbody:has(> .acc-entry)::before {
    content:"";position:absolute;z-index:-1;pointer-events:none;
    inset:0 calc(-1 * var(--interior-rail)) auto;
    height:clamp(540px,42vw,650px);
    background:linear-gradient(0deg,#1c1815,transparent 21%),
      linear-gradient(90deg,#1c1815 4%,#1c1815f5 31%,#1c1815b9 46%,transparent 72%),
      var(--desk-picture) 67% center/cover no-repeat;
  }
  main#main-content[data-edition="account"] #panelbody:has(> .acc-entry) > #paneltitle {
    width:min(100%,40rem);min-height:0;margin:0 0 24px;padding:0;background:none;
  }
  .acc-entry {width:min(41vw,32rem);}
}
@media(max-width:690px) {
  .acc-entry .acc-actions .primary {font-size:16px;padding-inline:12px;}
}
@media(max-width:370px) {
  .acc-entry .acc-form .acc-actions {column-gap:12px;}
}
