@font-face{font-family:LocalSerif;src:local('Georgia')}*{box-sizing:border-box} :root{--cream:#fff9ef;--paper:#fff4df;--ink:#354c39;--muted:#727562;--sage:#dfe8d5;--green:#7f9679;--peach:#f8e4d7;--red:#ae4e35;--line:#dbd7c5;--serif:Georgia,'Times New Roman',serif;--sans:'Segoe UI',Arial,sans-serif}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font:14px/1.55 var(--sans)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #986734;outline-offset:4px}svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:normal;line-height:1.1}h1{font-size:clamp(36px,4vw,62px);letter-spacing:-2.5px}h2{font-size:32px;letter-spacing:-.8px}h3{font-size:24px}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.topbar{height:88px;max-width:1536px;margin:auto;padding:0 52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font:30px var(--serif);letter-spacing:-1px;gap:7px}.brand svg{width:37px;height:43px;color:#72855d}.brand-dot{color:var(--red);margin-left:-6px}.topbar nav{display:flex;gap:27px;align-items:center}.topbar nav>button{font-size:13px}.topbar nav span{font-size:10px;background:var(--sage);padding:2px 6px;border-radius:10px;margin-left:5px}.round-btn{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;font:19px var(--serif)}main{max-width:1536px;margin:auto;padding:36px 52px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.small-note{font-size:11px;color:var(--muted);margin-bottom:9px;letter-spacing:.2px}.intro{font:italic 20px var(--serif);color:#7c806a;margin-top:12px}.handwritten{font:italic 22px var(--serif);color:#9b6d50;transform:rotate(-9deg);padding-right:50px;line-height:1.15}.handwritten span{font-size:40px;position:absolute;right:10px;top:20px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:28px;align-items:start}.experience-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px;min-height:38px}.category-tabs{display:flex;gap:6px;flex-wrap:wrap}.category-tabs button{padding:8px 15px;border-radius:30px;font-size:12px;border:1px solid transparent}.category-tabs button:hover{background:#eeeeda}.category-tabs button.active{background:var(--ink);color:var(--cream)}.camera-toggle{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}.camera-toggle svg{width:19px;height:19px}.stage{height:500px;position:relative;border-radius:18px;overflow:hidden;isolation:isolate;background:#e8e9da;touch-action:pan-y;outline-offset:3px}.stage-surface{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,#f8f5e9 0,#e9ecdc 68%,#dde2cf 100%)}.surface-word{position:absolute;left:30px;bottom:75px;writing-mode:vertical-rl;transform:rotate(180deg);font:italic 13px var(--serif);color:#87947b;opacity:.65}.surface-leaf{position:absolute;right:-25px;top:80px;width:170px;height:210px;color:#a8b495;opacity:.15;transform:rotate(40deg)}.stage-topline{position:absolute;inset:19px 22px auto;z-index:50;display:flex;gap:8px;align-items:center;font-size:10px}.mode-badge{background:#fff9efd9;padding:5px 10px;border-radius:30px;display:flex;align-items:center;gap:6px}.mode-badge i{width:5px;height:5px;background:#899d7c;border-radius:50%}.stage-topline>button{padding:5px 9px;border-radius:20px;background:#fff9efe0}.stage-topline #quality-toggle{margin-left:auto}.stage-bottomline{position:absolute;bottom:17px;left:22px;right:22px;z-index:50;display:flex;justify-content:space-between;font-size:10px;color:#68745e;pointer-events:none}.stage.camera-on .stage-bottomline{color:#fff;text-shadow:0 1px 3px #000}.orbit-guide{position:absolute;width:86%;height:37%;left:7%;top:38%;border:1px dashed #929e7a65;border-radius:50%;transform:rotate(-5deg);z-index:2}.stage.camera-on .orbit-guide{border-color:#fff8d590}.stage-welcome{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);text-align:center;z-index:35;width:270px;pointer-events:none}.stage-welcome>svg{width:46px;height:46px;color:#7c8b67;stroke-width:1.1;margin-bottom:8px}.stage-welcome h2{font-size:36px;letter-spacing:-1px;line-height:1.02}.stage-welcome p{font-size:11px;line-height:1.6;color:#787c68;margin:12px 0 18px}.stage-welcome button{pointer-events:auto;margin:auto}.primary{background:var(--red);color:#fff8eb;padding:12px 20px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:12px;min-height:42px}.primary:hover{background:#963e28}.primary svg{width:18px;height:18px}.secondary{border:1px solid #b3bda5;background:#e8eedf;padding:9px 16px;border-radius:7px;font-size:12px;min-height:38px}.secondary:hover{background:#d9e4cd}.subtle{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.stage-controls{display:flex;justify-content:space-between;align-items:center;min-height:68px;gap:10px;border-bottom:1px solid var(--line)}.steps{display:flex;gap:9px;align-items:center;font-size:11px;color:#929884}.steps>span{display:flex;gap:7px;align-items:center}.steps b{width:20px;height:20px;display:grid;place-items:center;border:1px solid #c5ccb8;border-radius:50%;font:11px var(--serif)}.steps>i{width:25px;height:1px;background:#d7ddce}.steps .active{color:var(--ink)}.steps .active b{background:var(--green);border-color:var(--green);color:white}.actions{display:flex;gap:8px;align-items:center}.gesture-caption{font-size:10px;color:var(--muted);text-align:center;padding-top:10px}.cravings{background:#f8e7db;border-radius:15px;padding:25px 23px;margin-top:54px}.aside-title{display:flex;align-items:center;justify-content:space-between}.aside-title h2{font-size:29px}.aside-title svg{width:38px;height:38px;transform:rotate(20deg);color:#879472}.cravings>p:first-of-type{font:italic 12px var(--serif);color:#8b7c62;margin:8px 0 17px}.craving-list{display:flex;flex-direction:column;gap:9px}.craving-row{display:flex;align-items:center;gap:13px;min-height:58px;text-align:left;background:#fff9ef95;border-radius:8px;padding:5px 10px 5px 5px;width:100%}.craving-row:hover{background:#fff9ef}.craving-row img{width:64px;height:53px;object-fit:cover;mix-blend-mode:multiply;border-radius:5px}.craving-row .mini-text{width:64px;flex:none;text-align:center;font:26px var(--serif);color:#9c8a67}.craving-row span:last-child{font:15px/1.2 var(--serif)}.text-link{font-size:11px;padding:7px 0;color:var(--red);text-decoration:underline;text-underline-offset:4px}.cravings>.text-link{width:100%;display:flex;justify-content:space-between;margin-top:8px}.aside-divider{height:1px;background:#ddc7b7;margin:20px 0}.cravings h3{font-size:23px;line-height:1.15}.aside-copy{font-size:11px;color:#847664;margin:8px 0 13px}input,textarea,select{color:var(--ink);background:var(--cream);border:1px solid #d4cbb7;border-radius:6px;padding:10px 12px;max-width:100%}input::placeholder,textarea::placeholder{color:#98917e}#quick-add{display:grid;gap:10px}#quick-add input{width:100%;font-size:11px;height:48px}#quick-add .primary{width:100%;justify-content:space-between}.footnote{font-size:10px;color:#857a69;line-height:1.5;margin-top:10px}.text-card-toggle{font-size:10px;display:flex;align-items:center;gap:7px;margin-top:17px}.text-card-toggle input{accent-color:var(--ink);margin:0}.tiny-note{font-size:10px;color:var(--muted);margin-top:6px}.discover{margin-top:38px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-heading h2{font-size:31px}.discover-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.food-tile{padding:0;text-align:left;min-width:0}.food-tile .tile-art{aspect-ratio:1.17;background:#f4efdf;border-radius:12px;overflow:hidden}.food-tile:nth-child(2n) .tile-art{background:#e9ecdd}.food-tile:nth-child(3n) .tile-art{background:#f7e7dd}.food-tile img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;transition:transform .3s}.food-tile:hover img{transform:scale(1.04)}.food-tile h3{font-size:17px;margin-top:11px;line-height:1.15}.food-tile p{font-size:10px;color:var(--muted);margin-top:4px}footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:36px;padding:22px 0;font-size:10px;color:var(--muted)}footer button{text-decoration:underline;text-underline-offset:3px}
/* All 8 cards share one back. Z layers straddle the person cutout. */
.orbit-card{position:absolute;left:50%;top:50%;width:98px;height:134px;margin:-67px 0 0 -49px;background:#fff7e6;border-radius:7px;box-shadow:0 5px 10px #4c4d3024;border:1px solid #d0c2a2;will-change:transform;pointer-events:none;display:grid;place-items:center}.card-back-inner{position:absolute;inset:6px;border:1px solid #a0ad83;border-radius:4px;display:grid;place-items:center}.card-back-inner:after{content:'';position:absolute;inset:4px;border:1px solid #d4bf9e;border-radius:2px}.card-back-inner>svg{width:65px;height:65px;color:#8c9d79;stroke-width:1.2}.card-back-inner .corner{position:absolute;width:26px;height:26px;color:#b48565;top:0;left:0}.card-back-inner .corner.bottom{inset:auto 0 0 auto;transform:rotate(180deg)}.stage[data-state=selected] .orbit-card,.stage[data-state=revealed] .orbit-card,.stage[data-state=done] .orbit-card{opacity:0;transition:opacity .35s}.stage[data-state=selected] .orbit-guide,.stage[data-state=revealed] .orbit-guide,.stage[data-state=done] .orbit-guide{opacity:0}#result-slot{position:absolute;z-index:40;inset:0;display:grid;place-items:center;pointer-events:none}.result-card{width:226px;height:318px;perspective:1200px;pointer-events:auto;margin-bottom:10px}.result-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.22,.8,.24,1)}.result-card.flipped .result-inner{transform:rotateY(180deg)}.result-front,.result-back{position:absolute;inset:0;backface-visibility:hidden;border-radius:10px;background:#fff9ef;box-shadow:0 10px 40px #26322235;border:1px solid #d8cdb6}.result-back .card-back-inner{inset:11px}.result-back .card-back-inner>svg{width:120px;height:120px}.result-front{transform:rotateY(180deg);padding:15px 14px 19px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-front img{width:100%;height:196px;object-fit:cover;mix-blend-mode:multiply}.result-front h3{font-size:25px;line-height:1.08;margin-top:8px}.result-front p{font:italic 12px var(--serif);color:#7d806a;margin-top:8px}.result-front .text-art{font:52px var(--serif);color:#9d9879;height:150px;display:grid;place-items:center}.result-front .category-tag{font:10px var(--sans);color:#8a8b74}.stage-hint{position:absolute;left:50%;bottom:43px;transform:translateX(-50%);z-index:51;background:#fff9efeF;border:1px solid #ded6c5;border-radius:30px;padding:8px 20px;max-width:90%;white-space:nowrap;font:14px var(--serif);text-align:center;overflow:hidden}.gesture-progress{position:absolute;bottom:0;left:0;right:0;height:3px}.gesture-progress i{display:block;width:0;height:100%;background:var(--red);transition:width .1s}#camera-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1);display:none;z-index:1}#person-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1);z-index:15;pointer-events:none;display:none}.stage.camera-on #camera-video,.stage.camera-on #person-layer{display:block}#hand-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:60}.stage:not(.camera-on) #hand-overlay{display:none}.camera-message{position:absolute;z-index:55;left:50%;top:60px;transform:translateX(-50%);max-width:85%;width:max-content;background:#fff9eff0;border-radius:8px;padding:9px 14px;font-size:11px;text-align:center;box-shadow:0 3px 14px #0001}.stage.camera-on .stage-welcome{background:#fff9efd9;padding:22px;border-radius:15px}
dialog{border:1px solid #d6d2c1;background:var(--cream);color:var(--ink);padding:28px;border-radius:16px;max-height:90dvh;box-shadow:0 20px 100px #26322238}dialog::backdrop{background:#26322255;backdrop-filter:blur(4px)}.menu-dialog{width:min(1120px,94vw)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}.dialog-heading h2{font-size:33px}.dialog-heading .round-btn{flex:none}.menu-tools{display:flex;gap:12px;position:sticky;top:-28px;padding:10px 0;background:var(--cream);z-index:2}.search{flex:1;display:flex;align-items:center;border:1px solid #d4cbb7;border-radius:6px;padding-left:12px}.search>span{font-size:24px}.search input{border:0;width:100%;background:none}.menu-tools select{font-size:12px;max-width:190px}.menu-utilities{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin:12px 0}.menu-utilities>div{display:flex;gap:12px;align-items:center}.menu-utilities>div>button:not(.secondary){text-decoration:underline;text-underline-offset:3px}.menu-notice{color:var(--muted);font-size:11px;margin-bottom:16px}.menu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.menu-item{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fffaf1;position:relative}.menu-item.disabled{opacity:.55}.menu-image{height:145px;display:grid;place-items:center;overflow:hidden;background:#f3efdf}.menu-image img{height:100%;width:100%;object-fit:cover;mix-blend-mode:multiply}.menu-image .text-placeholder{text-align:center;color:#8d8d71;font:italic 15px var(--serif);padding:12px}.menu-item-body{padding:12px}.menu-item h3{font-size:18px;line-height:1.15;min-height:42px}.menu-item p{font-size:10px;color:var(--muted);margin-top:5px}.menu-item-actions{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:11px}.menu-item-actions label{display:flex;align-items:center;gap:4px}.menu-item-actions input{accent-color:var(--ink)}.menu-item-actions button{border-bottom:1px solid var(--ink);padding:0}.small-dialog{width:480px}.small-dialog>p{font-size:13px;color:#6f7361;margin-bottom:14px}.help-list{padding-left:20px}.help-list li{padding-left:6px;margin:12px 0}.edit-dialog{width:500px}#edit-form>label{display:block;margin-bottom:13px;font-size:12px}#edit-form label input:not([type=checkbox]),#edit-form label textarea,#edit-form label select{display:block;width:100%;margin-top:5px}#edit-form .form-row{display:flex;gap:14px;margin-bottom:13px}#edit-form .form-row>label{flex:1;min-width:0;font-size:12px}.optional{font-size:10px;color:var(--muted);margin-left:5px}.upload-label>span:last-child{display:block;font-size:10px;color:var(--muted);margin-top:5px}#edit-image{font-size:11px;padding:8px}#edit-image-preview img{width:85px;height:75px;object-fit:cover;border-radius:5px}#edit-form .check-label{display:flex;align-items:center;gap:6px;margin-top:12px}.check-label input{accent-color:var(--ink)}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:20px}.danger{font-size:11px;color:#aa432d;margin-right:auto}.error{font-size:12px;color:#aa432d;margin-top:8px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--ink);color:var(--cream);padding:12px 20px;border-radius:8px;z-index:200;font-size:12px;box-shadow:0 4px 20px #0002}.history-row{display:flex;align-items:center;gap:13px;padding:12px 0;border-top:1px solid var(--line)}.history-row img{width:65px;height:60px;object-fit:cover;mix-blend-mode:multiply}.history-row h3{font-size:19px}.history-row p{font-size:11px;color:var(--muted)}
@media(min-width:1500px){.stage{height:550px}.cravings{padding:28px}.craving-row{min-height:67px}.craving-row img{height:62px;width:72px}.orbit-card{width:110px;height:150px;margin:-75px 0 0 -55px}}
@media(max-width:1100px){main{padding:25px 26px 0}.topbar{padding:0 26px;height:74px}.workspace{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.cravings{padding:20px 17px}.stage{height:470px}.category-tabs button{padding:7px 10px;font-size:11px}.camera-toggle span{font-size:10px}.stage-controls{flex-wrap:wrap;padding:12px 0}.steps{gap:7px}.steps>i{width:15px}.discover-grid{gap:12px}.handwritten{display:none}.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.topbar{height:68px;padding:0 20px}.brand{font-size:26px}.topbar nav{gap:14px}.topbar nav>button{font-size:11px}.brand svg{width:30px}main{padding:26px 20px 0}.page-heading{margin-bottom:22px}h1{font-size:42px;letter-spacing:-1.5px}.intro{font-size:17px}.workspace{grid-template-columns:1fr}.cravings{margin-top:8px;padding:22px;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.aside-title,.cravings>p:first-of-type,.craving-list,.cravings>.text-link{grid-column:1}.cravings .aside-divider{display:none}.cravings h3{grid-column:2;grid-row:1}.cravings .aside-copy{grid-column:2;grid-row:2}.cravings #quick-add{grid-column:2;grid-row:3;align-self:start}.cravings>.footnote{grid-column:2;grid-row:4;margin-top:8px}.cravings .text-card-toggle{grid-column:2}.cravings .tiny-note{grid-column:2}.craving-list{grid-row:3/6}.craving-row:nth-child(n+4){display:none}.stage{height:480px}.discover-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.camera-toggle{padding:7px}.stage-controls{flex-wrap:nowrap}.menu-tools{flex-wrap:wrap}.search{flex-basis:100%}.menu-tools select{max-width:48%;flex:1}.menu-utilities{align-items:start;gap:10px}.menu-utilities>div{gap:8px;flex-wrap:wrap;justify-content:flex-end}.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.topbar nav{gap:10px}.topbar nav>button:nth-child(2){display:none}main{padding:22px 14px 0}.small-note{font-size:10px}h1{font-size:35px;letter-spacing:-1px}.intro{font-size:16px}.experience-toolbar{flex-wrap:wrap;margin-bottom:10px}.category-tabs{gap:3px}.category-tabs button{font-size:11px;padding:8px 11px}.camera-toggle{font-size:10px;margin-left:auto}.stage{height:435px;border-radius:12px}.stage-welcome{width:220px;top:44%}.stage-welcome h2{font-size:31px}.stage-topline{left:12px;right:12px;top:12px;gap:4px}.stage-topline>button{font-size:9px;padding:5px 7px}.orbit-card{width:72px;height:100px;margin:-50px 0 0 -36px}.card-back-inner>svg{width:48px;height:48px}.card-back-inner .corner{width:20px;height:20px}.stage-bottomline{left:12px;right:12px;font-size:9px}.stage-hint{font-size:12px;white-space:normal;width:max-content;max-width:90%;bottom:40px}.stage-controls{display:block;padding:13px 0}.steps{justify-content:center;margin-bottom:12px}.steps>i{width:30px}.actions{justify-content:center}.stage-controls:has(.actions:empty) .steps{margin:0}.cravings{display:block;padding:23px}.craving-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.craving-row:nth-child(n+5){display:none}.craving-row{gap:7px;min-height:56px}.craving-row img{width:48px;height:48px}.craving-row span:last-child{font-size:13px}.cravings .aside-divider{display:block}.cravings h3{margin-top:18px}.discover{margin-top:28px}.discover-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.section-heading h2{font-size:28px}.section-heading .text-link{font-size:10px}.food-tile h3{font-size:17px}footer{gap:20px;font-size:9px;align-items:start}.result-card{width:210px;height:290px}.result-front img{height:172px}.result-front h3{font-size:23px}dialog{padding:20px;max-width:95vw}.menu-dialog{width:96vw}.menu-tools{top:-20px}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.menu-image{height:118px}.menu-item h3{font-size:16px}.dialog-heading h2{font-size:28px}.menu-utilities{display:block}.menu-utilities>div{justify-content:start;margin-top:8px}.dialog-actions{flex-wrap:wrap}.small-dialog{width:94vw}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.orbit-guide{display:none}}
.camera-picker{position:absolute;top:52px;left:22px;z-index:56;display:flex;align-items:center;gap:6px;background:#fff9eff2;border-radius:6px;padding:4px 8px;font-size:10px;max-width:calc(100% - 44px)}.camera-picker select{padding:3px 6px;font-size:11px;max-width:220px}.stage.camera-on .camera-message{top:100px}
