:root{--paper:#f8f6f3;--ink:#37312a;--muted:#70685f;--line:#ded9d2;--wash:#eee8e0;--accent:#375c60;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.6}button,input,select{font:inherit;color:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #648f93;outline-offset:4px}::selection{background:#c5dad8}button:disabled{cursor:default;opacity:.5}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.3;letter-spacing:-.025em}h2{font-size:23px;line-height:1.4}h3{font-size:19px}small,.muted{color:var(--muted)}.top{height:100px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);gap:28px}.brand{display:flex;align-items:center;gap:14px;font-size:19px;font-weight:650;line-height:1.4}.brand small{display:block;font-size:12px;font-weight:400;margin-top:4px}.brand-mark{display:grid;place-items:center;width:49px;height:49px;border-radius:15px;background:var(--ink);color:var(--paper);font-size:18px}.top nav{display:flex;gap:30px;align-self:stretch;align-items:center}.top nav a{position:relative;font-size:14px;color:var(--muted);font-weight:550}.top nav a.active{color:var(--ink)}.top nav a.active:after{content:'';height:3px;position:absolute;background:var(--ink);bottom:-35px;left:0;right:0}.primary{background:var(--ink);color:#fff;padding:11px 20px;border-radius:10px;font-size:14px;font-weight:550}.primary:hover{background:#52483d}.secondary{padding:10px 17px;background:var(--wash);border-radius:10px}.secondary:hover,.pill:hover{background:#e1d8ce}.danger{color:#963e39}.mobile-nav{display:none}main{max-width:1168px;padding:38px 36px 70px;margin:auto}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.heading p{color:var(--muted);margin-top:9px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px;gap:16px}.section-title a{font-size:14px;color:var(--accent);font-weight:550}.count{font-size:13px;color:var(--muted);background:#e8e3dc;border-radius:20px;padding:3px 10px;font-weight:500;margin-left:9px}.bar-scene{display:grid;grid-template-columns:1fr 265px;align-items:end;margin-top:5px;gap:24px}.cabinet{padding:24px 28px 16px;background:#3b342c;border-radius:20px;overflow:hidden;color:#f7f2e9;box-shadow:0 12px 24px #3b342c0d}.cabinet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.cabinet-head h2{font-size:20px}.cabinet-head span{font-size:13px;color:#d2c9bd}.shelf{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;border-bottom:5px solid #796b59;padding:0 6px 9px;margin-bottom:17px;min-height:118px;align-items:end}.bottle{background:none;color:#e9e1d7;text-align:center;min-width:0;padding:0}.bottle img{height:76px;width:62px;object-fit:cover;border-radius:7px;filter:brightness(.89)}.bottle span{display:block;font-size:12px;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bottle:hover{transform:translateY(-3px)}.cabinet-foot{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#d2c9bd}.cabinet-foot button{background:transparent;color:#eee5d9;font-size:13px;padding:3px 9px}.companion{text-align:center;padding-bottom:28px}.companion img{width:185px;mix-blend-mode:multiply;image-rendering:pixelated}.companion p{font-size:14px;margin:8px 0;color:var(--muted)}.companion strong{font-size:17px;font-weight:550}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.recipe-card{background:var(--wash);padding:22px;border-radius:var(--radius);text-align:left;min-height:158px;display:flex;flex-direction:column;align-items:flex-start;transition:background .15s}.recipe-card:hover{background:#e6ded3}.recipe-card .badge{font-size:12px;color:#fff;background:var(--ink);padding:3px 10px;border-radius:20px;margin-bottom:13px}.recipe-card .badge.missing{background:#ddd5cb;color:#554d43}.recipe-card h3{font-size:21px;line-height:1.35;margin-bottom:7px}.recipe-card p{font-size:14px;color:var(--muted)}.recipe-card footer{margin-top:auto;padding-top:13px;display:flex;justify-content:space-between;width:100%;font-size:12px;color:var(--muted)}.record-banner{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);gap:16px}.record-banner p{font-size:14px;color:var(--muted);margin-top:4px}.camera-banner{background:var(--ink);color:white;border-radius:var(--radius);padding:22px 26px;display:flex;align-items:center;gap:18px;cursor:pointer;margin-bottom:23px;width:100%;text-align:left}.camera-banner svg{width:28px;height:28px;flex-shrink:0}.camera-banner strong{font-size:19px}.camera-banner p{font-size:14px;color:#d6cec3;margin-top:3px}.camera-banner .plus{margin-left:auto;font-size:25px}.filters{display:flex;gap:9px;overflow-x:auto;padding:3px 2px 13px;scrollbar-width:thin}.pill{white-space:nowrap;padding:9px 16px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:14px}.pill.active{background:var(--ink);color:#fff;border-color:var(--ink)}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px 15px;margin:6px 0 24px}.search svg{width:18px;height:18px;color:var(--muted)}.search input{border:0;background:transparent;outline:none;width:100%;font-size:15px;min-width:0}.search:focus-within{outline:2px solid #648f93}.inventory{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}.ingredient{display:flex;align-items:center;gap:16px;padding:15px 22px;position:relative}.ingredient+.ingredient:before{content:'';height:1px;background:var(--line);position:absolute;top:0;left:87px;right:22px}.ingredient img{width:48px;height:54px;object-fit:cover;border-radius:9px}.ingredient .info{flex:1;min-width:0}.ingredient h3{font-size:17px;overflow-wrap:anywhere}.ingredient p{font-size:13px;color:var(--muted);margin-top:2px}.stock{font-size:13px;border:1px solid var(--line);padding:5px 12px;border-radius:8px;background:#faf9f7;white-space:nowrap}.stock.off{color:#987052;background:#f5eee6}.more{padding:5px 11px;background:none;font-size:22px;border-radius:8px;line-height:1}.more:hover{background:var(--wash)}.stat-strip{display:flex;gap:16px;margin:24px 0}.stat{background:var(--wash);padding:18px 25px;border-radius:var(--radius);min-width:190px}.stat:first-child{background:var(--ink);color:white}.stat b{display:block;font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums}.stat span{font-size:14px;display:block;margin-top:6px}.recipe-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:24px}.recipe-toolbar .search{flex:1;margin:0}.recipe-toolbar select{background:#fff;border:1px solid var(--line);border-radius:11px;padding:11px 15px;max-width:40%}.empty{padding:48px 24px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:var(--radius)}.empty p{color:var(--muted);margin:7px auto 18px;max-width:50ch}.note{font-size:12px;color:var(--muted);margin-top:22px}.history{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.history-row{padding:19px 23px;display:flex;align-items:center;gap:18px}.history-row+.history-row{border-top:1px solid var(--line)}.history-row>div{flex:1}.history-row p{font-size:13px;color:var(--muted)}dialog{border:0;border-radius:22px;padding:0;max-width:560px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink);background:var(--paper);box-shadow:0 24px 75px #201c1933}dialog::backdrop{background:#28231e66;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:24px 26px 14px;gap:20px}.dialog-head h2{font-size:24px}.close{background:#e9e3db;border-radius:50%;width:32px;height:32px;font-size:22px;line-height:1}.dialog-body{padding:7px 26px 26px}.dialog-body p{color:var(--muted);font-size:14px}.dialog-body label{display:block;font-size:14px;margin:17px 0 7px}.dialog-body input:not([type=checkbox]),.dialog-body select{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:10px;background:#fff}.dialog-body input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;vertical-align:middle;margin-right:8px}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.photo-preview{max-height:180px;max-width:100%;border-radius:12px;display:block;margin:15px auto}.recipe-detail-intro{padding:0 0 16px}.measure-list{margin:17px 0;list-style:none;padding:0;border-top:1px solid var(--line)}.measure-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}.measure-list small{display:block;font-size:12px}.missing-text{color:#9a633d}.steps{padding-left:23px;margin:15px 0}.steps li{padding:5px 0 5px 6px;font-size:15px}.servings{display:flex;justify-content:space-between;align-items:center;background:var(--wash);padding:10px 15px;border-radius:10px;margin:18px 0}.servings button{width:30px;height:30px;border-radius:8px;background:#fff;font-size:20px}.servings .value{padding:0 16px;font-variant-numeric:tabular-nums}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);padding:11px 20px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;opacity:0;pointer-events:none;z-index:5;transition:.2s;width:max-content;max-width:90%}.toast.show{opacity:1;transform:translate(-50%,0)}.subheading{margin:20px 0 12px}.tools{display:flex;gap:8px}.check-list{max-height:300px;overflow:auto}.check-list label{padding:9px 0;border-bottom:1px solid var(--line);margin:0;cursor:pointer}.small-button{font-size:13px;padding:7px 12px;background:var(--wash);border-radius:8px}button svg{vertical-align:middle}.water-note{font-size:12px;color:var(--muted);padding-top:20px;text-align:center}@media(min-width:960px){.materials-layout{display:grid;grid-template-columns:240px 1fr;gap:28px}.materials-layout .filters{display:flex;flex-direction:column;overflow:visible;padding:0}.materials-layout .pill{text-align:left;padding:12px 16px}.materials-layout .search{margin-top:0}.materials-layout .section-title{margin-top:0}.camera-banner{margin-top:0}.inventory{min-height:160px}}@media(max-width:900px){.top{height:84px;padding:0 24px}.top nav{gap:20px}.brand small{display:none}.brand{font-size:16px;gap:9px}.brand-mark{width:42px;height:42px;font-size:16px}.top .add{display:none}.top nav a.active:after{bottom:-28px}main{padding:30px 24px 50px}.bar-scene{grid-template-columns:1fr 190px;gap:14px}.companion img{width:160px}.cabinet{padding:22px 18px 15px}.shelf{grid-template-columns:repeat(5,1fr)}.shelf .bottle:nth-child(n+6){display:none}.recipe-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){body{font-size:16px}.top{height:75px;padding:0 20px}.top nav{display:none}.top .add{display:block;font-size:13px;padding:8px 12px}.brand-mark{width:39px;height:39px;border-radius:12px}main{padding:25px 20px 100px}h1{font-size:28px}.heading{margin-bottom:20px;align-items:flex-start}.heading p{font-size:14px}.heading .tools{display:none}.bar-scene{grid-template-columns:1fr}.companion{grid-row:1;text-align:left;display:flex;align-items:center;gap:16px;padding-bottom:3px}.companion img{width:95px;height:74px;object-fit:contain}.companion p{font-size:12px;margin:3px 0}.companion strong{font-size:14px}.cabinet{border-radius:16px;padding:19px 17px 13px}.cabinet-head{margin-bottom:17px}.shelf{grid-template-columns:repeat(5,1fr);gap:4px;min-height:105px}.bottle img{width:44px;height:66px}.bottle span{font-size:11px}.recipe-grid{grid-template-columns:1fr}.bar-recipes{grid-template-columns:repeat(2,1fr)}.recipe-card{padding:20px;min-height:147px}.bar-recipes .recipe-card{padding:16px;min-height:155px}.recipe-card h3{font-size:20px}.bar-recipes .recipe-card h3{font-size:18px}.bar-recipes .recipe-card:nth-child(3){display:none}.section-title{margin-top:25px}h2{font-size:21px}.camera-banner{padding:19px 20px}.camera-banner strong{font-size:18px}.camera-banner p{font-size:12px}.ingredient{padding:14px 14px;gap:12px}.ingredient+.ingredient:before{left:74px;right:14px}.ingredient h3{font-size:16px}.ingredient p{font-size:12px}.ingredient img{width:45px;height:50px}.stock{font-size:12px;padding:5px 7px}.more{padding:5px 7px}.stat-strip{gap:12px}.stat{flex:1;min-width:0;padding:18px 22px}.stat b{font-size:32px}.recipe-toolbar{flex-wrap:wrap}.recipe-toolbar .search{flex-basis:100%}.recipe-toolbar select{width:100%;max-width:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:11px 20px calc(11px + env(safe-area-inset-bottom));background:#f8f6f3f5;border-top:1px solid var(--line);justify-content:space-around;z-index:2;backdrop-filter:blur(8px)}.mobile-nav a{padding:5px 12px;font-size:14px;color:var(--muted);border-radius:9px}.mobile-nav a.active{color:var(--ink);background:var(--wash);font-weight:650}.toast{bottom:88px}.record-banner{padding:18px;align-items:flex-start}.record-banner .primary{white-space:nowrap;padding:9px 12px}.dialog-head{padding:22px 22px 12px}.dialog-body{padding:7px 22px 24px}.history-row{padding:17px 18px}.recipe-toolbar .search input{font-size:14px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.shelf{grid-template-columns:repeat(5,1fr)}.stock,.more,.small-button,.close{min-height:44px;min-width:44px}.servings button{width:44px;height:44px}.cabinet-foot button{min-height:44px}.filters .pill{min-height:44px}@media(min-width:601px) and (max-width:900px){.bar-recipes{grid-template-columns:repeat(3,1fr)}.bar-recipes .recipe-card{padding:17px}.bar-recipes .recipe-card h3{font-size:19px}}@media(max-width:600px){.stock{padding:5px 9px}.top .add{min-height:44px}.bottle span{font-size:12px}.close{width:44px}.mobile-nav a{min-height:44px;padding:10px 12px}}
/* Astric personal collection extensions */
.top{gap:18px}.top nav{gap:22px}.top nav a{font-size:14px;white-space:nowrap}.top .primary{white-space:nowrap}.fridge-section{margin-top:30px}.fridge-caption{font-size:14px;color:var(--muted);margin:-5px 0 18px}.fridge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fridge-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;gap:14px;padding:17px;text-align:left}.fridge-item:hover{background:#f0ece6}.fridge-item img{width:45px;height:55px;border-radius:8px;object-fit:cover;flex-shrink:0}.fridge-item h3{font-size:16px;overflow-wrap:anywhere}.fridge-item p{font-size:12px;line-height:1.7;color:var(--muted)}.fridge-item.used-up img{opacity:.5}.fridge-item .missing-text{color:#8c5734}.menu-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:24px}.menu-toolbar .search{flex:1;margin:0}.menu-entry{min-width:0}.menu-entry .recipe-card{width:100%;min-height:180px}.menu-actions{display:flex;justify-content:space-between;gap:10px;padding:10px 0 0}.menu-actions button{min-height:44px}.mobile-create{display:none}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-body textarea{font:inherit;font-size:15px;width:100%;padding:11px 13px;border:1px solid var(--line);background:#fff;border-radius:10px;resize:vertical;color:var(--ink)}.wide-dialog{max-width:700px}.recipe-input-row{display:grid;grid-template-columns:minmax(0,1fr) 85px 75px 44px;gap:10px;align-items:end;margin-bottom:15px}.recipe-input-row label{margin-top:4px}.recipe-input-row .row-remove{width:44px;height:47px;background:var(--wash);border-radius:9px;font-size:22px}.recipe-input-row input{min-width:0}.chart-section{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 25px;margin-bottom:30px}.chart-section .section-title{margin:0 0 12px}.chart-tabs{display:flex;gap:7px}.chart-tabs .pill{min-height:44px}.chart-caption{color:var(--muted);font-size:14px;margin-bottom:18px}.chart-scroll{overflow-x:auto}.bar-chart{display:grid;grid-template-columns:repeat(12,minmax(45px,1fr));gap:9px;min-width:640px;padding:2px 2px 8px}.chart-column{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0}.chart-count{font-size:13px;font-variant-numeric:tabular-nums}.chart-track{height:150px;width:100%;max-width:46px;display:flex;align-items:flex-end;border-bottom:1px solid var(--line);background:#f7f5f1}.chart-bar{width:100%;background:var(--accent);border-radius:5px 5px 0 0}.chart-label{font-size:12px;white-space:nowrap;color:var(--muted)}.heading>.primary,.heading>.secondary{flex-shrink:0}.dialog-body input[type=date],.dialog-body input[type=datetime-local]{min-width:0;min-height:47px}.recipe-card h3{overflow-wrap:anywhere}.shelf .bottle span{font-size:12px}.record-banner .tools{flex-shrink:0}
@media(max-width:1050px){.top nav{gap:16px}.top .add{display:none}.fridge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.top nav a{font-size:13px}.top{gap:14px}.top nav{gap:15px}.bar-scene{grid-template-columns:1fr 160px}.companion img{width:145px}.companion strong{font-size:15px}}@media(max-width:700px){.top nav{display:none}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#f8f6f3f5;border-top:1px solid var(--line);justify-content:space-around;z-index:2;backdrop-filter:blur(8px)}.mobile-nav a{font-size:12px;padding:11px 5px;min-height:44px;white-space:nowrap;border-radius:9px}.mobile-nav a.active{color:var(--ink);background:var(--wash);font-weight:650}.top .add{display:block;min-height:44px;font-size:13px;padding:8px 12px}main{padding-bottom:110px}.bar-scene{grid-template-columns:1fr}.companion{grid-row:1;display:flex;text-align:left;padding-bottom:3px;align-items:center;gap:16px}.companion img{width:95px;height:74px;object-fit:contain}.fridge-grid{grid-template-columns:1fr 1fr}.fridge-item{padding:13px;display:block}.fridge-item img{width:35px;height:43px;margin-bottom:7px}.fridge-item h3{font-size:15px}.fridge-item p{font-size:12px}.heading{align-items:flex-start}.heading h1{font-size:28px}.heading>.primary,.heading>.secondary{display:none}.mobile-create{display:block;white-space:nowrap;font-size:13px;padding:11px 13px}.menu-toolbar{align-items:stretch}.menu-toolbar .search{padding:9px 11px}.menu-toolbar input{font-size:14px}.chart-section{padding:18px 17px}.chart-section .section-title{align-items:flex-start;flex-wrap:wrap}.chart-tabs .pill{font-size:13px;padding:8px 13px}.chart-section h2{font-size:20px}.chart-scroll{margin-right:-8px}.chart-caption{font-size:12px}.form-grid{gap:10px}.recipe-input-row{grid-template-columns:minmax(0,1fr) 67px 60px 38px;gap:6px}.recipe-input-row label{font-size:12px}.recipe-input-row .row-remove{width:38px}.dialog-body .recipe-input-row input{padding:10px 8px;font-size:14px}.recipe-toolbar .secondary{width:100%}.record-banner{flex-wrap:wrap}.record-banner .tools{display:flex}.ingredient{gap:10px}.ingredient .stock{font-size:11px;padding:5px 7px}.ingredient h3{font-size:15px}.cabinet-foot{font-size:12px}.cabinet-foot button{font-size:12px}.bottle img{width:44px;height:66px}.bottle span{font-size:12px!important}.companion p{font-size:12px}.recipe-card .badge{font-size:12px}.bar-recipes .recipe-card h3{font-size:18px}.recipe-card footer{gap:8px;flex-wrap:wrap}.form-actions{flex-wrap:wrap}.section-title a{font-size:12px}.count{white-space:nowrap}}@media(max-width:380px){.fridge-grid{grid-template-columns:1fr}.fridge-item{display:flex}.form-grid{grid-template-columns:1fr}.mobile-nav a{font-size:11px}.recipe-input-row{grid-template-columns:minmax(0,1fr) 59px 53px 36px}.recipe-input-row .row-remove{width:36px}}
.chart-swipe-hint{display:none;color:var(--muted);font-size:12px;margin-top:8px}.top nav a{font-size:14px}@media(max-width:900px){.top nav{gap:12px}.top nav a{font-size:14px}}@media(max-width:700px){.chart-swipe-hint{display:block}}
@media(max-width:700px){.recipe-input-row{grid-template-columns:minmax(0,1fr) 67px 60px 44px}.recipe-input-row .row-remove{width:44px}}@media(max-width:380px){.recipe-input-row{grid-template-columns:minmax(0,1fr) 59px 53px 44px}.recipe-input-row .row-remove{width:44px}}

.discovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.discovery-button{text-align:left;background:var(--paper,#fffdf8);border:1px solid #b9c7bc;border-radius:12px;padding:22px;color:inherit;min-height:110px}.discovery-button strong{display:flex;justify-content:space-between;font-size:20px;margin-bottom:10px}.discovery-button>span{display:block;font-size:14px;line-height:1.5;color:#59645e}.discovery-button:hover{background:#edf2eb;border-color:#365c4b}.discovery-button:focus-visible{outline:3px solid #365c4b;outline-offset:3px}.match-results{display:grid;gap:12px}.match-results .recipe-card{width:100%}.preference-stock{margin-top:24px!important;display:flex;align-items:center;min-height:44px;gap:10px}@media(max-width:560px){.discovery-actions{grid-template-columns:1fr;gap:10px}.discovery-button{padding:18px;min-height:96px}.discovery-button strong{font-size:19px}}

.discovery-arrow{width:22px;height:22px;flex:none}

.account-controls{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:24px 0 12px}.account-controls label{display:block;margin-bottom:6px;font-size:14px}.account-controls input{min-height:44px;max-width:190px}.account-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.account-totals>div{padding:22px;background:#eae4dd;border-radius:14px}.account-totals span{display:block;font-size:14px;margin-bottom:12px}.account-totals strong{font-size:28px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.account-totals .profit{background:#37312a;color:#faf8f5}#purchase-fields[hidden]{display:none}.history-row{flex-wrap:wrap}.mobile-nav{grid-template-columns:repeat(6,1fr)}@media(max-width:560px){.account-controls{align-items:start;flex-direction:column}.account-totals{grid-template-columns:1fr}.account-totals>div{display:flex;justify-content:space-between;align-items:center;padding:18px}.account-totals span{margin:0}.account-totals strong{font-size:25px}.mobile-nav a{font-size:12px;padding:12px 2px;min-width:0}}@media(min-width:761px) and (max-width:1100px){.top{flex-wrap:wrap}.top nav{order:3;width:100%;justify-content:center}}

.match-question{border:0;padding:0;margin:24px 0;min-width:0}.match-question legend{font-size:16px;font-weight:600;margin-bottom:10px}.match-choices{display:flex;gap:8px}.match-choices label{flex:1;position:relative;margin:0!important;min-width:0}.match-choices input{position:absolute;opacity:0;width:1px;height:1px}.match-choices span{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #c8c2bb;border-radius:10px;background:#fff;padding:8px;font-size:15px;color:#37312a}.match-choices input:checked+span{background:#37312a;color:#faf8f5;border-color:#37312a}.match-choices input:focus-visible+span{outline:3px solid #365c4b;outline-offset:3px}

.cat-lounge{display:flex;align-items:center;justify-content:center;min-height:380px;padding:80px 20px 40px}.cat-interaction{position:relative;width:min(320px,100%);display:flex;align-items:end;justify-content:center;min-height:220px}.bar-cat{background:transparent;padding:0;width:260px;height:210px;display:flex;align-items:end;justify-content:center;border-radius:16px;touch-action:manipulation}.bar-cat img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;mix-blend-mode:multiply}.bar-cat img[hidden],.cat-bubble[hidden]{display:none}.cat-bubble{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);width:max-content;max-width:300px;text-align:center;background:var(--ink);color:var(--paper);padding:12px 20px;border-radius:14px;font-size:18px;line-height:1.4;overflow-wrap:anywhere}.cat-bubble:after{content:'';position:absolute;bottom:-8px;left:calc(50% - 8px);border-width:8px 8px 0;border-style:solid;border-color:var(--ink) transparent transparent}.bar-about{border-top:1px solid var(--line);padding:32px 0 40px;max-width:720px;margin:0 auto}.bar-about h1{font-size:28px}.bar-about p{margin-top:16px;color:var(--muted);max-width:60ch}@media(max-width:560px){.cat-lounge{min-height:340px;padding:80px 0 20px}.cat-interaction{min-height:190px}.bar-cat{width:230px;height:190px}.cat-bubble{max-width:280px}.bar-about h1{font-size:25px}}

.dated-stock{display:flex;flex-direction:column;align-items:center;gap:6px;flex-shrink:0}.purchase-date{font-size:14px;line-height:1.4;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.purchase-date time{white-space:nowrap;color:var(--ink)}@media(max-width:560px){.purchase-date{font-size:12px}.dated-stock{gap:5px}.dated-stock .stock{min-height:44px}}

.home-bar{margin-bottom:32px}.home-bar .cat-lounge{padding:70px 0 20px;min-width:0}.home-bar .bar-cat{max-width:100%;width:220px;height:180px}.home-bar .cat-interaction{min-height:180px}.home-bar .cat-bubble{max-width:220px;font-size:16px}@media(max-width:760px){.home-bar .cat-lounge{min-height:270px}.home-bar .cat-bubble{max-width:280px}}

.shelf.signature-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:132px}.signature-drink svg{width:60px;height:80px;color:#eee3d0}.signature-drink span{white-space:normal!important;overflow-wrap:anywhere;line-height:1.4;min-height:34px}.signature-empty{padding:38px 0;text-align:center;color:#eee3d0}.signature-empty button{margin-top:16px}.signature-introduction{margin:10px 0 24px;white-space:pre-line}.cabinet-foot button{font-size:13px}

.mobile-nav{grid-template-columns:repeat(4,1fr)}.bar-section-links{display:flex;gap:12px;margin-bottom:28px}.bar-section-links a{min-height:44px;padding:10px 18px;border-radius:10px;background:var(--wash);font-size:14px}.bar-section-links a:hover{background:#e1d8ce}.bar-ledger-section{scroll-margin-top:24px}.bar-ledger-section+.bar-ledger-section{margin-top:48px;padding-top:40px;border-top:1px solid var(--line)}

@media(max-width:760px){.mobile-nav a[data-nav="recipes"]{overflow-wrap:anywhere;line-height:1.3}}

:root{--brand-blue:#294c8e;--ink:#17335f;--muted:#526681;--line:#c9d5e5;--wash:#e9eff8;--accent:#294c8e;--paper:#f7f9fc}body{background:var(--brand-blue);color:#fff}button,input,select{color:var(--ink)}main{color:#fff}.top{border-color:#7995c5}.brand-logo{width:58px;height:58px;object-fit:contain;flex-shrink:0;border-radius:50%;background:#fff}.brand small,.top nav a{color:#dfebff}.top nav a.active{color:#fff}.top nav a.active:after{background:#fff}.top .primary,.heading>.primary{background:#fff;color:var(--brand-blue)}.heading p,main>.note,.bar-ledger-section>.note,.chart-caption{color:#dce8ff}.recipe-card,.record-banner,.inventory,.history,.empty,.fridge-item,.chart-section,.discovery-button,.account-totals>div{color:var(--ink)}.chart-section .chart-caption{color:var(--muted)}.stat{color:var(--ink)}.stat:first-child{color:#fff}.section-title>a{color:#e0ebff}.section-title>.muted{color:#e0ebff}.cabinet{background:#163569;box-shadow:none}.shelf{border-color:#a8bfdf}.cat-lounge{background:#f7f9fc;border-radius:20px}.home-bar .cat-lounge{padding:70px 12px 20px}.cat-bubble{background:#294c8e;color:#fff}.cat-bubble:after{border-top-color:#294c8e}.mobile-nav{background:#f7f9fc;color:#17335f}.mobile-nav a{color:#17335f}.mobile-nav a.active{color:#294c8e;background:#e0e9f8}.purchase-date{color:#526681}.bar-ledger-section+.bar-ledger-section{border-color:#7995c5}.chart-tabs .pill,.secondary{color:var(--ink)}.pill.active{color:#fff}.primary:hover{background:#1e437b}.recipe-card:hover{background:#dbe6f5}.discovery-button:hover{background:#e4edf9;border-color:#6c8dc2}.match-choices input:checked+span{background:#294c8e;border-color:#294c8e}.account-totals .profit{background:#17335f;color:#fff}dialog{color:var(--ink)}dialog .note{color:var(--muted)}::selection{background:#adc7f0;color:#17335f}@media(max-width:760px){.brand-logo{width:44px;height:44px}.top{gap:10px}.brand{gap:10px;font-size:16px}.top .add{padding-left:12px;padding-right:12px}}

.surprise-drop{position:relative;height:154px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:-12px -8px 16px}.falling-glass{width:96px;height:116px;position:relative;z-index:1;transform-origin:50% 85%;animation:glass-drop 900ms cubic-bezier(.22,.7,.3,1) both}.glass-landing{position:absolute;bottom:19px;width:76px;height:6px;border-radius:50%;background:#294c8e24;animation:glass-shadow 900ms ease-out both}@keyframes glass-drop{0%{transform:translateY(-180px) rotate(-14deg);opacity:0}12%{opacity:1}64%{transform:translateY(8px) rotate(5deg)}80%{transform:translateY(-12px) rotate(-3deg)}92%{transform:translateY(3px) rotate(1deg)}100%{transform:translateY(0) rotate(0)}}@keyframes glass-shadow{0%,42%{transform:scale(.3);opacity:0}70%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.falling-glass,.glass-landing{animation:none}}

/* Deep navy canvas with porcelain surfaces. */
:root{--canvas:#172b4d;--paper:#f5f6f8;--wash:#e6ebf2;--ink:#1c304f;--muted:#51627b;--line:#cbd3df}body{background:var(--canvas);color:#f5f6f8}.top{border-color:#ffffff26}.top nav a,.brand small{color:#c2cfe3}.heading p,main>.note,.bar-ledger-section>.note,.chart-caption,.section-title>.muted{color:#c2cfe3}.cabinet{background:#0f203c}.shelf{border-color:#657e9f}.cabinet-head span,.cabinet-foot{color:#c2cfe3}.recipe-card{background:#e6ebf2}.recipe-card:hover{background:#d9e2ef}.discovery-button{background:#f5f6f8;border-color:#cbd3df}.discovery-button:hover{background:#e6ebf2;border-color:#8a9fbf}.cat-lounge,.mobile-nav{background:#f5f6f8}.mobile-nav{border-top-color:#cbd3df}.mobile-nav a.active{background:#e2e8f1}.secondary:hover,.pill:hover,.small-button:hover{background:#d8e1ee}.close{background:#e2e8f1}.count{background:#dce4f0;color:#1c304f}.bar-ledger-section+.bar-ledger-section{border-color:#ffffff26}dialog{background:var(--paper);box-shadow:0 28px 80px #06122666}dialog::backdrop{background:#07142799}.surprise-dialog .recipe-card{width:100%;min-width:0}.surprise-dialog .recipe-card footer{gap:16px}.surprise-dialog .recipe-card h3{font-size:24px}.surprise-dialog .recipe-card{padding:26px}.surprise-dialog .form-actions{margin-top:20px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#83a9e6}.search:focus-within{outline-color:#83a9e6}input,textarea{caret-color:#294c8e}*{scrollbar-color:#8599b8 transparent}

.recipe-card .recipe-materials{line-height:1.65;overflow-wrap:anywhere}.recipe-card .recipe-missing{font-size:12px;margin-top:8px}.recipe-card footer{justify-content:flex-end}

/* Reference palette: midnight navy, ivory, khaki, oxblood and antique gold. */
:root{--canvas:#022e4c;--paper:#f8f3e8;--wash:#e2d9cb;--ink:#173747;--muted:#626052;--line:#c9bca8;--accent:#56061d;--gold:#d6bb75;--khaki:#b5a18a;--slate:#517493}
body,main{color:#f8f3e8}.top{border-color:#b5a18a66}.top nav a,.brand small{color:#e2d9cb}.top nav a.active{color:#f8f3e8}.top nav a.active:after{background:var(--gold)}.top .primary,.heading>.primary{background:#e2d9cb;color:#022e4c}.top .primary:hover,.heading>.primary:hover{background:#f8f3e8}.heading p,main>.note,.bar-ledger-section>.note,.chart-caption,.section-title>.muted,.section-title>a,.fridge-caption{color:#e2d9cb}
.recipe-card{background:var(--paper)}.recipe-card:hover{background:#eae0d0}.recipe-card .badge{background:#56061d;color:#f8f3e8}.recipe-card .badge.missing{background:#e2d9cb;color:#554b3d}.primary{background:#56061d;color:#f8f3e8}.primary:hover{background:#740e2c}.secondary,.small-button,.close{background:#e2d9cb;color:#173747}.secondary:hover,.small-button:hover,.pill:hover{background:#d5c7b3}.pill,.search,.inventory,.history,.empty,.fridge-item,.chart-section,.record-banner{background:#f8f3e8}.pill.active{background:#56061d;border-color:#56061d;color:#f8f3e8}.search input{color:var(--ink)}
.discovery-button{background:#e2d9cb;border-color:#e2d9cb;color:#173747}.discovery-button>span{color:#5f594e}.discovery-button:hover{background:#f8f3e8;border-color:#f8f3e8}.discovery-button:focus-visible{outline-color:var(--gold)}.stat{background:#e2d9cb}.stat:first-child{background:#56061d;color:#f8f3e8}.count{background:#e2d9cb;color:#173747}
.cabinet{background:#102f40;color:#f8f3e8}.cabinet-head span,.cabinet-foot,.cabinet-foot button,.signature-empty{color:#e2d9cb}.shelf{border-color:#b5a18a}.signature-drink svg{color:#d6bb75}.bottle{color:#f8f3e8}.cat-lounge{background:#f8f3e8}.cat-bubble{background:#56061d;color:#f8f3e8}.cat-bubble:after{border-top-color:#56061d}
.mobile-nav{background:#f8f3e8;border-color:#c9bca8;color:#173747}.mobile-nav a{color:#173747}.mobile-nav a.active{background:#e2d9cb;color:#56061d}.stock{background:#ede7dc;color:#173747}.stock.off{background:#eadaca;color:#6f452d}.purchase-date{color:#626052}.fridge-item:hover{background:#eae0d0}.danger{color:#8a1831}.missing-text{color:#84502d}
.account-totals>div{background:#e2d9cb}.account-totals .profit{background:#56061d;color:#f8f3e8}.chart-track{background:#ece4d6}.chart-bar{background:#517493}.chart-section .chart-caption{color:#626052}.bar-ledger-section+.bar-ledger-section{border-color:#b5a18a66}.match-choices input:checked+span{background:#56061d;border-color:#56061d;color:#f8f3e8}.match-choices span{background:#f8f3e8;border-color:#c9bca8}.dialog-body input:not([type=checkbox]),.dialog-body select,.dialog-body textarea,.recipe-toolbar select{background:#fffcf5}.servings button{background:#fffcf5}
dialog{background:#f8f3e8;box-shadow:0 28px 80px #001b2d70}dialog::backdrop{background:#001b2da6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#a88638}.search:focus-within{outline-color:#a88638}input,textarea{caret-color:#56061d}::selection{background:#d6bb75;color:#173747}*{scrollbar-color:#b5a18a transparent}

/* Yellow accent variant requested by the owner. */
:root{--accent:#ffe14e;--gold:#ffe14e}.primary,.recipe-card .badge,.pill.active,.stat:first-child,.account-totals .profit,.cat-bubble{background:#ffe14e;color:#022e4c}.primary:hover{background:#f2cf32}.pill.active{border-color:#ffe14e}.recipe-card .badge.missing{background:#e2d9cb;color:#554b3d}.cat-bubble:after{border-top-color:#ffe14e}.mobile-nav a.active{color:#022e4c;background:#ffe14e}.match-choices input:checked+span{background:#ffe14e;border-color:#ffe14e;color:#022e4c}.signature-drink svg{color:#ffe14e}.danger{color:#805b14}input,textarea{caret-color:#022e4c}.dialog-body input[type=checkbox]{accent-color:#517493}::selection{background:#ffe14e;color:#022e4c}

/* Muted claret pairs with midnight navy and parchment. */
:root{--accent:#76515d;--gold:#c9b483;--claret:#76515d}.home-bar{grid-template-columns:1fr}.primary,.recipe-card .badge,.pill.active,.stat:first-child,.account-totals .profit,.cat-bubble{background:var(--claret);color:#fffaf1}.primary:hover{background:#654450}.pill.active{border-color:var(--claret)}.recipe-card .badge.missing{background:#e2d9cb;color:#554b3d}.mobile-nav a.active{background:#e2d9cb;color:#654450}.match-choices input:checked+span{background:var(--claret);border-color:var(--claret);color:#fffaf1}.signature-drink svg{color:#c9b483}.cat-bubble:after{border-top-color:var(--claret)}::selection{background:#d4b8bf;color:#173747}.danger{color:#76515d}
/* Cocktail books */
.book-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;max-width:850px;margin:20px auto 52px;padding:12px 14px 0}.book-volume{min-width:0}.book-cover{display:block;width:100%;aspect-ratio:3/4;position:relative;text-align:center;color:#eadcc4;background:#6b4653;border-radius:3px 12px 12px 3px;padding:26px 26px 26px 36px;border-left:10px solid #4d303c;box-shadow:7px 9px 0 #c7b89c,9px 12px 0 #eee5d6,14px 22px 28px #001f3266;transition:transform .25s}.book-cover:hover{transform:translateY(-5px) rotate(-1deg)}.book-volume.classic .book-cover{background:#e2d9cb;color:#173747;border-left-color:#aa977e}.book-cover-inner{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;border:1px solid currentColor;padding:24px 14px}.book-cover strong{font:500 clamp(24px,3vw,38px)/1.18 Georgia,'Times New Roman',serif;text-wrap:balance;overflow-wrap:anywhere}.book-cover-author{font-size:12px;letter-spacing:.1em;text-transform:uppercase}.book-cover-subtitle{font:italic 16px/1.4 Georgia,serif}.book-cover-count{font-size:12px}.book-art{width:110px;height:140px;max-width:100%;color:inherit}.book-cover-image{width:100%;height:130px;object-fit:contain}.book-library-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:26px}.book-edit-cover{background:none;color:#e2d9cb;font-size:13px;min-height:44px;text-decoration:underline;text-underline-offset:4px}.book-dialog{max-width:1000px;background:#e2d9cb;overflow-x:hidden}.book-dialog .dialog-head{padding-bottom:22px}.book-dialog .dialog-head h2{font:500 28px/1.3 Georgia,serif}.book-dialog .dialog-body{padding:0 26px 24px}#book-reader{position:relative;perspective:1800px;isolation:isolate}.book-spread{display:grid;grid-template-columns:1fr 1fr;min-height:460px;box-shadow:0 10px 22px #49392d26}.book-page{background:#f8f3e8;position:relative;padding:34px 32px 46px;min-width:0}.book-picture{display:flex;align-items:center;justify-content:center;background:#f2eadb;border-right:1px solid #b4a68e;box-shadow:inset -12px 0 20px -16px #4a392d70}.book-picture .book-art{width:180px;height:240px;color:#76515d}.book-picture>img{width:100%;max-height:340px;object-fit:contain}.book-copy{box-shadow:inset 12px 0 20px -16px #4a392d70}.book-copy h3{font:500 34px/1.15 Georgia,serif;color:#173747;margin-bottom:20px;overflow-wrap:anywhere}.book-intro,.book-materials,.book-notes{white-space:pre-line;overflow-wrap:anywhere}.book-materials{font-size:15px;color:#173747;line-height:1.9;padding:14px 0;border-top:1px solid #c9bca8;border-bottom:1px solid #c9bca8;margin:18px 0}.book-notes{font-style:italic}.book-page-actions{display:flex;gap:18px;margin-top:22px;flex-wrap:wrap}.book-inline-button{background:none;color:#654450;padding:6px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:13px}.book-folio{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);color:#626052;font-size:12px}.book-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.book-controls span{font-size:13px;color:#626052}.book-empty{background:#f8f3e8;padding:50px 25px;text-align:center}.book-empty p{margin:12px 0 24px}.book-editor-preview{width:100%;max-height:180px;object-fit:contain;margin:18px 0}.book-editor-preview[hidden]{display:none}.turning-leaf{position:absolute;top:0;bottom:0;width:50%;z-index:3;transform-style:preserve-3d;pointer-events:none;backface-visibility:hidden}.turning-leaf>.book-page{height:100%;box-shadow:-7px 8px 20px #49392d35;overflow:hidden}.turn-forward{right:0;transform-origin:left center;animation:book-forward 750ms cubic-bezier(.3,.1,.2,1) forwards}.turn-back{left:0;transform-origin:right center;animation:book-back 750ms cubic-bezier(.3,.1,.2,1) forwards}@keyframes book-forward{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes book-back{0%{transform:rotateY(0)}100%{transform:rotateY(180deg)}}@media(max-width:600px){.book-library{gap:24px;padding:0;margin-top:8px}.book-cover{padding:12px 10px 12px 14px;border-left-width:6px;box-shadow:4px 5px 0 #c7b89c,6px 7px 0 #eee5d6,8px 13px 20px #001f3266}.book-cover-inner{padding:14px 8px;gap:10px}.book-cover strong{font-size:22px}.book-cover-author{font-size:9px;letter-spacing:.05em}.book-cover-subtitle{font-size:12px}.book-cover-count{font-size:10px}.book-cover .book-art{width:60px;height:75px}.book-cover-image{height:70px}.book-library-actions{flex-direction:column;gap:2px;margin-top:20px}.book-library-actions .secondary{font-size:12px;padding:9px 16px}.book-dialog .dialog-body{padding:0 12px 18px}.book-dialog .dialog-head{padding:20px 18px}.book-dialog .dialog-head h2{font-size:24px}.book-spread{grid-template-columns:1fr;min-height:0}.book-picture{padding:16px 20px;min-height:145px;border-right:0;border-bottom:1px solid #c9bca8}.book-picture .book-art{width:75px;height:100px}.book-picture>img{max-height:170px}.book-picture .book-folio{display:none}.book-copy{padding:26px 24px 42px}.book-copy h3{font-size:29px}.book-materials{font-size:14px}.turning-leaf{width:100%;height:100%;left:0;right:0;transform-origin:left center}.turning-leaf>.book-page{padding:26px 24px}.book-controls .secondary{font-size:13px}.turn-back{transform-origin:right center}}
@media(prefers-reduced-motion:reduce){.book-cover{transition:none}.turning-leaf{animation:none}}
.book-dialog .book-spread{animation:book-open 500ms ease-out both;transform-origin:center}@keyframes book-open{from{transform:rotateX(5deg) scale(.97)}to{transform:rotateX(0) scale(1)}}#book-reader:has(.turning-leaf) .book-spread{animation:none}@media(prefers-reduced-motion:reduce){.book-dialog .book-spread{animation:none}}
@media(max-width:600px){.book-cover{min-height:290px}.book-cover-inner{gap:9px}.book-cover .book-art{width:52px;height:64px;flex-shrink:0}.book-cover-image{height:64px;flex-shrink:0}.book-cover strong{font-size:20px}}

.brand-logo{background:transparent;border-radius:0;width:68px;height:68px}@media(max-width:760px){.brand-logo{width:52px;height:52px}}
/* Content-bearing, two-sided leaves and direct page navigation. */
.book-dialog #book-reader{perspective:2200px}.book-dialog .book-spread{animation:none}.turning-leaf{backface-visibility:visible;height:100%;bottom:auto;transform-style:preserve-3d}.leaf-face{position:absolute;inset:0;backface-visibility:hidden;transform-style:preserve-3d;overflow:hidden;border-radius:0 9px 9px 0;background:#f8f3e8;box-shadow:0 8px 22px #30251d33}.leaf-face>.book-page{height:100%;box-shadow:inset 15px 0 26px -24px #4a392d88}.leaf-face.page-back{transform:rotateY(180deg);border-radius:9px 0 0 9px}.leaf-face:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#4430212b,transparent 22%,#4430211a);opacity:0;animation:leaf-shading 950ms ease-in-out both}.turn-forward{animation:leaf-forward 950ms cubic-bezier(.38,.04,.2,1) both}.turn-back{animation:leaf-back 950ms cubic-bezier(.38,.04,.2,1) both}@keyframes leaf-forward{0%{transform:rotateY(0deg) skewY(0)}38%{transform:rotateY(-58deg) skewY(-2deg)}68%{transform:rotateY(-132deg) skewY(1.3deg)}100%{transform:rotateY(-180deg) skewY(0)}}@keyframes leaf-back{0%{transform:rotateY(0deg) skewY(0)}38%{transform:rotateY(58deg) skewY(2deg)}68%{transform:rotateY(132deg) skewY(-1.3deg)}100%{transform:rotateY(180deg) skewY(0)}}@keyframes leaf-shading{0%,100%{opacity:0}45%,65%{opacity:1}}
.book-thumbnails{display:flex;gap:12px;overflow-x:auto;padding:15px 10px 9px;margin-top:14px;scrollbar-width:thin;align-items:start;max-width:100%}.book-thumbnail{flex:0 0 66px;width:66px;min-height:82px;background:none;padding:4px;color:#626052;text-align:center;border-radius:7px}.thumbnail-picture{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 8px;background:#f8f3e8;border:1px solid #b5a18a;border-radius:50%;transition:transform .2s,border-color .2s}.thumbnail-picture .book-art{width:29px;height:35px;color:#76515d}.thumbnail-picture img{width:100%;height:100%;object-fit:cover;border-radius:50%}.thumbnail-name{display:block;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.book-thumbnail.active{color:#654450;font-weight:650}.book-thumbnail.active .thumbnail-picture{transform:scale(1.14);border:2px solid #76515d}.book-thumbnail:hover .thumbnail-picture{border-color:#76515d}.book-directory{margin:20px 0 14px;border-top:1px solid #c9bca8}.book-category-link{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;gap:20px;text-align:left;padding:13px 0;border-bottom:1px solid #c9bca8;color:#173747;font:500 19px/1.4 Georgia,serif}.book-category-link small{display:block;font:12px/1.5 system-ui,sans-serif;color:#626052;margin-top:3px}.book-category-link>span:last-child{font:12px/1.5 system-ui,sans-serif;color:#76515d;white-space:nowrap}.book-category-link:hover{color:#76515d}
@media(max-width:600px){.turning-leaf,.turn-back{width:100%;left:0;right:0;transform-origin:center}.leaf-face{border-radius:7px}.leaf-face>.book-spread{height:100%;box-shadow:none}.book-thumbnails{gap:7px;padding-left:6px;padding-right:6px}.book-thumbnail{flex-basis:58px;width:58px}.thumbnail-picture{width:40px;height:40px}.book-controls{margin-top:18px}.book-category-link{font-size:18px}}
@media(prefers-reduced-motion:reduce){.leaf-face:after,.turn-forward,.turn-back{animation:none}.thumbnail-picture{transition:none}}
.book-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);height:min(850px,90dvh)}.book-dialog .dialog-body{min-height:0;display:flex;flex-direction:column;overflow:hidden}.book-dialog #book-reader{flex:1;min-height:0;overflow:auto}.book-dialog .book-controls,.book-dialog #book-thumbnail-navigation{flex-shrink:0}.book-dialog .book-thumbnails{max-height:110px}.book-dialog:not([open]){display:none}

@media(max-width:600px){.vertical-leaf{transform-origin:center center}.vertical-leaf .page-back{transform:rotateX(180deg)}.vertical-leaf.turn-forward{animation:vertical-forward 950ms cubic-bezier(.38,.04,.2,1) both}.vertical-leaf.turn-back{animation:vertical-back 950ms cubic-bezier(.38,.04,.2,1) both}.vertical-leaf .leaf-face:after{background:linear-gradient(180deg,#44302133,transparent 25%,#44302118)}}
@keyframes vertical-forward{0%{transform:rotateX(0deg)}38%{transform:rotateX(58deg) skewX(-1.2deg)}68%{transform:rotateX(132deg) skewX(.8deg)}100%{transform:rotateX(180deg)}}@keyframes vertical-back{0%{transform:rotateX(0deg)}38%{transform:rotateX(-58deg) skewX(1.2deg)}68%{transform:rotateX(-132deg) skewX(-.8deg)}100%{transform:rotateX(-180deg)}}@media(prefers-reduced-motion:reduce){.vertical-leaf.turn-forward,.vertical-leaf.turn-back{animation:none}}
.book-dialog{grid-template-columns:minmax(0,1fr)}.book-dialog .dialog-head,.book-dialog .dialog-body,.book-dialog #book-reader,.book-dialog #book-thumbnail-navigation{min-width:0;max-width:100%}.book-dialog .book-thumbnails{width:100%;min-width:0}.book-spread{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:600px){.book-spread{grid-template-columns:minmax(0,1fr)}}
.book-dialog{grid-template-rows:minmax(0,1fr)}.book-dialog>#dialog-content{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0}.book-dialog .dialog-head{flex-shrink:0}.book-dialog .dialog-body{flex:1;min-height:0}.book-dialog #book-reader{flex:1 1 0;min-height:0}.book-dialog #book-thumbnail-navigation{overflow:hidden}
/* A compact paper printer, with the menu fed out from its slot. */
.menu-printer{max-width:440px;margin:12px auto 0}.printer-hardware{position:relative;height:84px;z-index:2;background:#c9bdac;border:1px solid #a4947d;border-radius:16px;box-shadow:inset 0 2px 2px #fff9,0 6px 12px #453d2d24}.printer-label{position:absolute;top:10px;left:24px;font-size:10px;letter-spacing:.15em;color:#4f4b43}.printer-light{position:absolute;right:23px;top:14px;width:5px;height:5px;border-radius:50%;background:#517493}.printer-slot{position:absolute;left:6%;right:6%;top:43px;height:13px;border-radius:12px;background:#1e2d32;border:3px solid #948c7e;box-shadow:inset 0 2px 3px #0009}.printer-output{position:relative;z-index:3;overflow:hidden;width:84%;margin:-33px auto 0;padding-bottom:18px}.printer-paper{animation:menu-feed 2400ms linear both;filter:drop-shadow(0 6px 5px #433b3024)}.printed-menu{background:#fffaf0;color:#173747;padding:20px 23px 22px;position:relative}.printed-menu:after{content:'';position:absolute;height:8px;bottom:-7px;left:0;right:0;background:linear-gradient(135deg,#fffaf0 25%,transparent 25%) 0 0/12px 8px,linear-gradient(225deg,#fffaf0 25%,transparent 25%) 0 0/12px 8px}.printed-menu header{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #c9bca8;padding-bottom:10px;font-size:9px;line-height:1.4;color:#626052}.printed-art{height:170px;display:flex;align-items:center;justify-content:center;padding:18px 0;color:#76515d}.printed-art img{height:100%;width:100%;object-fit:contain}.printed-art .book-art{height:125px;width:100px}.printed-menu h3{font:500 30px/1.2 Georgia,serif;margin:8px 0 18px;overflow-wrap:anywhere}.printed-materials,.printed-intro,.printed-notes{white-space:pre-line;overflow-wrap:anywhere}.printed-materials{font-size:13px;line-height:1.8;border-top:1px solid #c9bca8;border-bottom:1px solid #c9bca8;padding:14px 0;margin:16px 0}.printed-menu .printed-intro,.printed-menu .printed-notes{font-size:12px;line-height:1.6}.printed-notes{font-style:italic}.printed-menu footer{font-size:9px;text-align:center;letter-spacing:.08em;color:#626052;margin-top:22px}.surprise-dialog .form-actions{justify-content:center;flex-wrap:wrap}.dragged-leaf{animation:none!important}.dragged-leaf .leaf-face:after{animation:none!important;opacity:var(--fold-shade,0)}#book-reader{user-select:none;cursor:grab;touch-action:pan-y}.dragged-leaf,#book-reader:has(.dragged-leaf){cursor:grabbing}.book-drag-edge{position:absolute;right:0;top:0;bottom:0;width:40px;z-index:6;touch-action:none;cursor:grab}.book-drag-hint{font-size:11px;color:#626052;text-align:center;padding-top:9px}.book-dialog .book-drag-hint{flex-shrink:0}@media(min-width:601px){#book-reader{touch-action:none}.book-drag-edge{display:none}}@keyframes menu-feed{0%,8%{transform:translateY(-101%)}35%{transform:translateY(-68%)}38%{transform:translateY(-68%)}70%{transform:translateY(-29%)}73%{transform:translateY(-29%)}100%{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.printer-paper{animation:none}}@media(max-width:600px){.printed-menu{padding:18px 17px}.printed-menu h3{font-size:26px}.printed-art{height:145px}.printer-hardware{height:77px}.printer-slot{top:38px}.printer-output{margin-top:-33px}.printer-label{font-size:9px}}
@keyframes menu-feed{0%,8%{clip-path:inset(0 0 100% 0);transform:translateY(-6px)}35%{clip-path:inset(0 0 68% 0);transform:translateY(-4px)}38%{clip-path:inset(0 0 68% 0);transform:translateY(-4px)}70%{clip-path:inset(0 0 29% 0);transform:translateY(-2px)}73%{clip-path:inset(0 0 29% 0);transform:translateY(-2px)}100%{clip-path:inset(0 0 0 0);transform:translateY(0)}}
.classic-contents-sheet{grid-template-columns:minmax(0,1fr);max-width:560px;margin:0 auto;width:100%}.classic-contents-sheet .book-copy{box-shadow:none}.book-controls[hidden],.book-drag-hint[hidden]{display:none}.book-back-contents{flex-shrink:0;align-self:center;background:none;color:#654450;min-height:36px;font-size:12px;margin-top:5px;text-decoration:underline;text-underline-offset:4px}

/* Light follows the lifted paper, with a soft satin reflection. */
.dragged-leaf .leaf-face:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:8;background:linear-gradient(110deg,transparent 15%,rgba(255,250,225,.75) var(--glint-position,50%),transparent 85%);opacity:var(--fold-glow,0);mix-blend-mode:screen}.dragged-leaf.vertical-leaf .leaf-face:before{background:linear-gradient(180deg,transparent 5%,rgba(255,250,225,.65) var(--glint-position,50%),transparent 95%)}.dragged-leaf .leaf-face:after{background:linear-gradient(90deg,rgba(48,36,22,.75),rgba(48,36,22,.08) 65%,rgba(255,251,231,.12));pointer-events:none}.dragged-leaf.vertical-leaf .leaf-face:after{background:linear-gradient(180deg,rgba(48,36,22,.7),transparent 80%)}

/* Heavy matte card: broad soft light, subdued reflection and a thin paper edge. */
.turning-leaf.turn-forward{transform-origin:left center}.turning-leaf.turn-back{transform-origin:right center}.dragged-leaf .leaf-face{border:1px solid rgba(163,145,113,.38);box-shadow:0 2px 1px rgba(117,96,66,.18)}.dragged-leaf .leaf-face:before{background:linear-gradient(105deg,transparent 12%,rgba(255,252,235,.45) var(--glint-position,50%),transparent 90%);mix-blend-mode:normal}.dragged-leaf .leaf-face:after{background:linear-gradient(90deg,rgba(66,49,29,.6),rgba(94,76,48,.08) 45%,rgba(255,249,230,.08));}.dragged-leaf .leaf-face>.book-page{background-image:repeating-linear-gradient(0deg,rgba(97,75,41,.015) 0 1px,transparent 1px 3px)}@media(max-width:600px){.turning-leaf.turn-forward{transform-origin:left center}.turning-leaf.turn-back{transform-origin:right center}#book-reader{touch-action:pan-y}}

/* Illustration and recipe are one moving spread, front and back. */
.turning-leaf.spread-leaf{width:100%;left:0;right:0}.turning-leaf.spread-leaf.turn-forward,.turning-leaf.spread-leaf.turn-back{transform-origin:center center}.spread-leaf .leaf-face>.book-spread{height:100%;box-shadow:none}.spread-leaf .leaf-face{border-radius:3px}.spread-leaf .leaf-face:after{background:linear-gradient(90deg,rgba(66,49,29,.2),rgba(66,49,29,.5) 50%,rgba(66,49,29,.08))}

/* Reference motion: fixed center spine, moving leaf, gently responding opposite page. */
.reference-leaf{width:50%;height:100%}.reference-leaf.turn-forward{left:auto;right:0;transform-origin:left center}.reference-leaf.turn-back{left:0;right:auto;transform-origin:right center}.reference-leaf .leaf-face>.book-page{height:100%}.reference-leaf .leaf-face{border-radius:2px 8px 8px 2px}#book-reader:has(.reference-leaf)>.book-spread{perspective:1800px;box-shadow:none}#book-reader:has(.reference-leaf)>.book-spread>.book-page{backface-visibility:hidden}.reference-leaf .leaf-face:after{background:linear-gradient(90deg,rgba(57,43,26,.45),transparent 40%,rgba(255,248,220,.06))}@media(max-width:600px){.book-dialog .book-spread:not(.classic-contents-sheet){grid-template-columns:1fr 1fr;min-height:340px}.book-dialog .book-picture{border-right:1px solid #b4a68e;border-bottom:0;padding:16px 9px;min-height:340px}.book-dialog .book-picture .book-art{width:82px;height:130px}.book-dialog .book-picture>img{max-height:270px}.book-dialog .book-picture .book-folio{display:block}.book-dialog .book-copy{padding:20px 12px 36px}.book-dialog .book-copy h3{font-size:21px;margin-bottom:14px}.book-dialog .book-materials{font-size:11px;line-height:1.8;padding:10px 0;margin:12px 0}.book-dialog .book-intro,.book-dialog .book-notes{font-size:11px}.book-dialog .book-page-actions{gap:4px;flex-direction:column;margin-top:10px}.book-dialog .book-inline-button{font-size:10px;min-height:30px}.book-dialog .classic-contents-sheet .book-copy{padding:26px 24px 42px}.book-dialog .classic-contents-sheet .book-copy h3{font-size:29px}.reference-leaf{width:50%;height:100%}.reference-leaf.turn-forward{left:auto;right:0;transform-origin:left center}.reference-leaf.turn-back{left:0;right:auto;transform-origin:right center}.reference-leaf>.leaf-face>.book-page{padding:20px 12px 36px}.reference-leaf>.leaf-face>.book-picture{padding:16px 9px}}

/* The reference illustration spans the spread, so both paper faces carry artwork. */
.book-panorama{position:absolute;inset:0;overflow:hidden;pointer-events:none}.panorama-canvas{position:absolute;top:0;bottom:0;left:0;width:200%;display:flex;align-items:center;justify-content:center;background:#f2eadb}.book-copy>.book-panorama .panorama-canvas{left:-100%}.panorama-canvas>img{width:100%;height:100%;object-fit:contain;padding:24px}.book-panorama .book-art{width:45%;height:68%;max-width:none;color:#76515d}.book-copy>.book-panorama{opacity:.2}.book-copy>.book-panorama~h3,.book-copy>.book-panorama~.book-intro,.book-copy>.book-panorama~.book-materials,.book-copy>.book-panorama~.book-notes,.book-copy>.book-panorama~.book-page-actions{position:relative;z-index:1}.book-copy>.book-panorama~.book-materials{background:rgba(248,243,232,.75)}.book-page .book-folio{z-index:2}
.book-panorama .book-art{width:40%;height:60%;transform:translateX(-35%)}.book-copy>.book-panorama{opacity:.32}

/* Keep the 3D leaf unflattened so front/back faces never bleed through. */
.reference-leaf{filter:none!important;transform-style:preserve-3d}.reference-leaf .leaf-face{backface-visibility:hidden;box-shadow:0 7px 20px rgba(48,37,29,.2)}.book-illustration{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.book-illustration>img{max-width:100%;max-height:340px;width:100%;height:100%;object-fit:contain}.book-illustration .book-art{width:180px;height:240px;max-width:100%;color:#76515d}@media(max-width:600px){.book-illustration .book-art{width:82px;height:130px}.book-illustration>img{max-height:270px}}

/* Phone book sheets keep one paper size throughout a turn. Long copy scrolls inside it. */
@media(max-width:600px){.book-dialog .book-spread:not(.classic-contents-sheet){height:360px;min-height:360px}.book-dialog .book-spread:not(.classic-contents-sheet)>.book-page{height:360px;min-height:0;overflow-y:auto}.reference-leaf .leaf-face>.book-page{height:100%;min-height:0;overflow:hidden}.book-dialog .book-illustration{min-height:0}}
/* Compact the spaces previously reserved for removed explanatory copy. */
.brand>span{line-height:1.15}.heading:not(:has(p)){margin-bottom:20px;align-items:center}.discovery-actions{margin:18px 0;gap:12px}.discovery-button{min-height:72px;padding:18px 22px;display:flex;align-items:center}.discovery-button strong{width:100%;margin-bottom:0}.heading:not(:has(p))+.book-library{margin-top:8px}.book-dialog .book-controls{margin-top:14px}@media(min-width:761px){#app{padding-bottom:48px}}@media(max-width:760px){.heading:not(:has(p)){margin-bottom:16px}.discovery-actions{margin:14px 0;gap:10px}.discovery-button{min-height:64px;padding:15px 18px}.book-dialog .book-controls{margin-top:12px}}
.account-totals>.account-detail-card{text-align:left;background:var(--paper);color:var(--ink);padding:22px;border-radius:14px;position:relative;display:flex;flex-direction:column;gap:8px}.account-detail-card>span:first-child{font-size:13px;color:var(--muted)}.account-detail-card strong{font-size:30px;line-height:1.3}.detail-arrow{position:absolute;right:16px;top:16px;color:#76515d}.account-detail-card:hover{background:#e2d9cb}.drink-time-card{width:100%;display:flex;justify-content:space-between;align-items:center;background:#e2d9cb;color:#173747;padding:22px;border-radius:14px;text-align:left}.drink-time-card strong{display:block;font-size:20px}.drink-time-card small{display:block;margin-top:5px}.ledger-total{display:block;font-size:30px;margin:8px 0 22px}.ledger-period{font-size:13px;color:var(--muted)}.money-chart{grid-auto-columns:minmax(66px,1fr)}.money-chart .chart-count{font-size:11px}.money-chart .chart-label{font-size:10px}.wide-dialog .history-row{flex-wrap:wrap}.wide-dialog .history-row>div{flex:1;min-width:150px}.wide-dialog .chart-section{padding:0;background:transparent}@media(max-width:600px){.account-totals>.account-detail-card{padding:16px}.account-detail-card strong{font-size:24px}.drink-time-card{padding:18px}}
.money-chart{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(66px,1fr)}

.chart-open{display:block;width:100%;padding:0;background:transparent;text-align:left;color:inherit;border-radius:8px}.chart-open:hover{background:rgba(118,81,93,.035)}.chart-open:focus-visible{outline-offset:6px}

.profile-button{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid rgba(226,217,203,.45);border-radius:50%;background:transparent;color:#e2d9cb}.profile-button svg{width:24px;height:24px}.profile-button:hover{background:rgba(226,217,203,.12);color:#f8f3e8}.profile-panel{text-align:center}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;margin:4px auto 16px;border-radius:50%;background:#76515d;color:#f8f3e8;font:28px Georgia,serif}.profile-panel .form-actions{justify-content:center;flex-wrap:wrap}

.profile-button{padding:0;display:flex;align-items:center;justify-content:center;line-height:0}.profile-button svg{display:block;flex:none;width:24px;height:24px;overflow:visible}

/* Account access and shared customer records */
[hidden]{display:none!important}.auth-loading #app,.auth-loading nav{visibility:hidden}.auth-error{color:#76515d;font-weight:600;min-height:1.3em}.merchant-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.guest-rewards{margin:24px 0;padding:18px;background:#e2d9cb;border-radius:12px}.guest-rewards progress{width:100%;accent-color:#76515d}.checkout-line{border:1px solid #c9b483;border-radius:12px;padding:16px;margin:18px 0}.checkout-line legend{font-family:Georgia,serif;padding:0 8px}.mobile-nav:has([data-nav="bar"][hidden]){grid-template-columns:repeat(2,1fr)}

#cloud-save-status{position:fixed;right:16px;bottom:14px;z-index:120;background:#e2d9cb;color:#022e4c;padding:7px 12px;border-radius:20px;font-size:11px;box-shadow:0 2px 12px #0002;pointer-events:none}#cloud-save-status[hidden]{display:none}#cloud-save-status[data-failed="true"]{background:#76515d;color:#fff}@media(max-width:700px){#cloud-save-status{bottom:78px;right:10px}}

.appointment-layout{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:48px;align-items:start}.appointment-planner{background:#f8f3e8;color:#022e4c;padding:28px;border-radius:14px}.appointment-planner h2{font-family:Georgia,serif;font-size:29px}.appointment-meta{font-size:13px;line-height:1.6;margin:10px 0;color:inherit;opacity:.86}.appointment-planner label{display:block;margin:22px 0 7px;font-size:14px;font-weight:600}.appointment-planner input:not([type=checkbox]){width:100%;min-height:46px;padding:10px;border:1px solid #b8ab94;background:#fffaf1;border-radius:8px}.appointment-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 26px}.appointment-slot{background:#e2d9cb;border-radius:8px;padding:10px 2px;color:#022e4c;min-height:56px}.appointment-slot span,.appointment-slot small{display:block}.appointment-slot small{font-size:10px}.appointment-slot[aria-pressed=true]{background:#76515d;color:#fffaf1}.appointment-slot:disabled{opacity:.46}.appointment-notice{font-size:13px;color:#76515d;margin:12px 0}.appointment-ledger .section-title{margin-top:0}.appointment-row{background:#f8f3e8;color:#022e4c;padding:20px;margin-bottom:12px;border-radius:12px;display:flex;justify-content:space-between;gap:14px;overflow-wrap:anywhere}.appointment-row h3{font-family:Georgia,serif;font-size:22px;margin-bottom:8px}.appointment-row p{font-size:14px}.appointment-row-actions{display:flex;flex-wrap:wrap;align-items:start;gap:6px}.appointment-summary{margin:0 0 18px;font-size:15px}.appointment-toggle{display:flex!important;align-items:center;gap:10px}.appointment-toggle input{width:20px;height:20px;accent-color:#76515d}.appointment-signin{margin:20px 0 10px;font-size:14px}#appointment-form-error{font-size:13px;color:#76515d;margin-top:12px}.top nav{gap:20px}.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-nav:has([data-nav="bar"][hidden]){grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.appointment-layout{grid-template-columns:1fr;gap:32px}.appointment-planner{padding:22px 18px}.appointment-slots{gap:6px}.appointment-row{flex-direction:column;padding:18px}.mobile-nav a{font-size:10px;min-width:0;overflow-wrap:anywhere}.appointment-row-actions button{min-height:44px}.appointment-ledger h2{font-size:22px}}

#merchant-publish{font-size:12px;white-space:nowrap;padding:9px 12px}.top{gap:16px}.top nav{gap:15px}@media(max-width:700px){#merchant-publish{margin-left:auto;font-size:11px;padding:8px}.top{gap:8px}}

.account-tabs{margin-bottom:20px}.account-tabs .pill{flex:1}#account-profile-panel[hidden],#account-drinks-panel[hidden]{display:none}

.guest-discovery{gap:24px;margin-top:28px}.guest-discovery .discovery-button{display:flex;flex-direction:column;justify-content:space-between;min-height:340px;padding:32px;background:var(--paper);border-color:var(--line);box-shadow:0 12px 30px #00182720}.guest-discovery .discovery-button:first-child{background:#e2d9cb}.guest-discovery-art{width:210px;height:185px;margin:18px auto 28px;color:#76545f}.guest-discovery strong{width:100%;margin:0;font-family:Georgia,serif;font-size:29px;gap:16px}.guest-discovery .discovery-button:hover{transform:translateY(-3px);background:#f2eadc}.guest-discovery .discovery-button{transition:transform .2s,background .2s}@media(max-width:760px){.guest-discovery{grid-template-columns:1fr;gap:16px}.guest-discovery .discovery-button{min-height:215px;padding:24px}.guest-discovery-art{width:140px;height:112px;margin:0 auto 18px}.guest-discovery strong{font-size:24px}}@media(prefers-reduced-motion:reduce){.guest-discovery .discovery-button{transition:none}.guest-discovery .discovery-button:hover{transform:none}}

.recipe-tag-choices{border:0;padding:0;margin:0;min-width:0}.recipe-tag-choices legend{margin-bottom:8px;font-size:14px}.recipe-tag-choices>div{display:flex;flex-wrap:wrap;gap:6px}.recipe-tag-choices label{margin:0;position:relative;cursor:pointer}.recipe-tag-choices input{position:absolute;width:1px;height:1px;opacity:0}.recipe-tag-choices span{display:block;border:1px solid var(--line);border-radius:9px;padding:10px 12px;font-size:13px;background:var(--paper)}.recipe-tag-choices input:checked+span{background:var(--accent);color:#fff;border-color:var(--accent)}.recipe-tag-choices input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.book-merchant-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}.book-draft-status{font-size:12px;color:var(--muted)}.menu-create{white-space:nowrap;flex-shrink:0}@media(max-width:700px){.menu-toolbar{flex-wrap:wrap}.menu-create{display:block!important}.book-merchant-toolbar button{padding:10px;font-size:13px}.book-draft-status{width:100%}}

.signature-category-recipes{border:0;padding:0;margin:22px 0}.signature-category-recipes label{display:flex;align-items:center;gap:12px;margin:12px 0}.signature-category-recipes input{width:20px;height:20px}.signature-category-recipes small{display:block;color:var(--muted);margin-top:4px}

.drink-it{margin-left:auto}.bar-order-section{margin-bottom:32px}.bar-order-section .history-row{background:var(--paper);color:var(--ink);border-radius:12px;margin-bottom:10px;padding:18px}.bar-order-section .history-row p{font-size:13px;color:var(--muted)}
.appointment-current-guests{margin-top:28px}.appointment-guest-card{padding:18px;margin:12px 0;background:var(--paper,#f8f3e8);border:1px solid #cbbcaa;border-radius:12px;color:#173e51}.appointment-guest-card h3{margin:0}.appointment-guest-card p{font-size:13px;margin:5px 0}.guest-order-cup{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #d9cbb9}.guest-order-cup>span:last-child{display:flex;align-items:center;gap:10px;font-size:12px}.guest-order-cup input{width:22px;height:22px;accent-color:#76515d;flex-shrink:0}.guest-order-cup.completed{opacity:.65}.order-checkin-hint{font-size:13px;margin:12px 0;color:#76515d;width:100%}
@media(max-width:600px){.drink-it{width:fit-content;max-width:100%;min-height:34px;padding:7px 14px;font-size:12px;line-height:1.4;border-radius:8px;flex:0 0 auto;align-self:center;margin-left:auto;margin-right:auto}.book-dialog .book-page-actions{align-items:center}.book-dialog .book-page-actions .drink-it{margin:4px auto 0}}

.guest-menu .book-library-actions{display:none}
@media(max-width:600px){.guest-menu .book-library{grid-template-columns:minmax(0,1fr);gap:40px;max-width:320px;margin:24px auto 48px;padding:0 16px}.guest-menu .book-cover{padding:24px 20px 24px 28px}.guest-menu .book-cover-inner{padding:22px 14px;gap:16px}.guest-menu .book-cover strong{font-size:30px}.guest-menu .book-cover-author{font-size:11px}.guest-menu .book-cover-subtitle{font-size:15px}.guest-menu .book-cover-count{font-size:12px}.guest-menu .book-cover .book-art{width:90px;height:115px}.guest-menu .book-cover-image{height:115px}}

.guest-directory-open{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:24px;border-radius:12px;text-align:left}.guest-directory-open strong{font-size:24px}.guest-directory-open span{font-size:14px}.guest-directory-table{width:100%;border-collapse:collapse;margin-top:24px;text-align:left}.guest-directory-table th,.guest-directory-table td{padding:16px 10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.guest-directory-table td{font-variant-numeric:tabular-nums}.guest-directory-table th:first-child{width:50%}@media(max-width:600px){.guest-directory-table{font-size:13px}.guest-directory-table th,.guest-directory-table td{padding:14px 6px}.guest-directory-open{padding:20px}}

.guest-name-button{background:none;color:var(--ink);padding:8px 0;min-height:44px;text-align:left;font-weight:600;text-decoration:underline;text-underline-offset:4px}.guest-profile-details{display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px 16px;margin:12px 0 28px}.guest-profile-details dt{color:var(--muted)}.guest-profile-details dd{margin:0;overflow-wrap:anywhere}

.top:has(#merchant-publish:not([hidden])){display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;column-gap:12px}.top:has(#merchant-publish:not([hidden])) nav{justify-content:center}.top:has(#merchant-publish:not([hidden])) .profile-button{width:40px;height:40px}.top:has(#merchant-publish:not([hidden])) #merchant-publish{white-space:nowrap}
@media(max-width:760px){.top:has(#merchant-publish:not([hidden])){grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px}.top:has(#merchant-publish:not([hidden])) .profile-button{width:34px;height:34px}.top:has(#merchant-publish:not([hidden])) .profile-button svg{width:20px;height:20px}.top #merchant-publish{font-size:12px;padding:8px 12px;min-height:34px;border-radius:8px}}

.top{position:sticky;top:0;z-index:30;background:#022e4c}

@media(min-width:761px){.top:has([data-nav="bar"][hidden]){position:sticky;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:20px}.top:has([data-nav="bar"][hidden]) .brand{justify-self:start}.top:has([data-nav="bar"][hidden]) nav{justify-self:center;justify-content:center}.top:has([data-nav="bar"][hidden]) .profile-button{justify-self:end}}
