/* A material-textured, functional CSS 3D object; all recipes also have flat, keyboard-accessible controls. */
.recipe-page{max-width:1480px;margin:auto;padding:44px 4.5% 70px}.recipe-heading{margin-bottom:24px;max-width:100%}.recipe-heading .eyebrow{margin-bottom:12px;color:#876343}.recipe-heading h1{font-size:clamp(2.7rem,4.6vw,4.4rem);margin:0}.recipe-heading .sub{margin:12px 0 0;max-width:850px}.recipe-box-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr);gap:38px;align-items:start;--box-scale:.70;color:#3e2a24}.recipe-worktop{position:relative;min-width:0;border-radius:12px;background:radial-gradient(ellipse at 40% 20%,#fffdf6 0,#f1e4d4 70%,#e4d1b8);box-shadow:inset 0 0 80px #ae906c12;border:1px solid #dfcfba;overflow:hidden}.recipe-scene{height:485px;position:relative;perspective:1200px;perspective-origin:50% 27%;overflow:hidden}.recipe-box-scale{position:absolute;left:50%;top:46%;width:470px;height:230px;transform:translateX(-50%) scale(var(--box-scale));transform-origin:50% 0;transform-style:preserve-3d}.recipe-box-world{width:470px;height:230px;position:relative;transform:rotateX(-18deg) rotateY(-13deg);transform-style:preserve-3d;transition:transform 850ms cubic-bezier(.2,.8,.2,1)}.recipe-box-world:after{content:'';position:absolute;left:-35px;top:210px;width:545px;height:280px;border-radius:50%;background:#34241466;filter:blur(23px);transform:rotateX(90deg) translateZ(-25px);pointer-events:none}.rb-face,.rb-lid-outer,.rb-lid-inner{position:absolute;background:#785031 url('/recipe-walnut.png') center/560px 560px;box-shadow:inset 0 0 0 2px #a8824d,inset 0 0 35px #25120855}.rb-face{width:470px;height:230px;backface-visibility:visible}.rb-front{transform:translateZ(130px);border:12px solid #704827;border-bottom-color:#59351e;border-top-color:#a57948;background-blend-mode:multiply;background-color:#caa981;display:grid;place-items:center;border-radius:2px 2px 8px 8px}.rb-back{transform:translateZ(-130px);border:13px solid #855631;background-color:#9a7357;background-blend-mode:multiply}.rb-left,.rb-right{width:260px;background-color:#9b826a;background-blend-mode:multiply;border:12px solid #6e4829}.rb-left{left:-130px;transform:rotateY(90deg)}.rb-right{left:340px;transform:rotateY(90deg)}.rb-floor{height:260px;top:100px;transform:rotateX(90deg);background-color:#5d422c;background-blend-mode:multiply}.rb-nameplate{width:270px;text-align:center;border:1px solid #e1bd7d80;padding:16px 14px 8px;color:#ffe0a6;text-shadow:1px 1px #392314,-1px -1px #553115;font-family:Georgia,serif}.rb-nameplate>span:first-child{font-size:18px;letter-spacing:.12em}.rb-nameplate strong{display:block;font-size:52px;font-weight:400;font-style:italic;line-height:1.2;margin-top:2px}.rb-nameplate .rb-rule{display:block;font-size:15px;line-height:1.3}.rb-brass-latch{position:absolute;width:29px;height:36px;left:calc(50% - 14px);top:-10px;border:2px solid #73501a;background:linear-gradient(90deg,#c5a066,#f3d888 25%,#815b20 28%,#c09d52 38%,#e9ce88 70%,#8a621e);border-radius:2px;box-shadow:1px 3px 3px #20100a88}.rb-hinge{position:absolute;width:48px;height:20px;top:-8px;transform:translateZ(-129px) rotateX(90deg);background:linear-gradient(#906729,#e7ca81,#654b2f);border:2px solid #71512a}.rb-hinge-left{left:55px}.rb-hinge-right{right:55px}.rb-lid{position:absolute;left:0;top:0;width:470px;height:260px;transform-origin:50% 0;transform:translateZ(-130px) rotateX(90deg);transform-style:preserve-3d;transition:transform 1100ms cubic-bezier(.3,.03,.18,1)}.is-open .rb-lid{transform:translateZ(-130px) rotateX(196deg)}.rb-lid-outer,.rb-lid-inner{inset:0;border:15px solid #805331;backface-visibility:hidden;border-radius:6px;display:grid;place-items:center}.rb-lid-outer{transform:translateZ(3px);border-bottom-color:#50301d;box-shadow:inset 0 0 35px #281a1388,0 6px 3px #3f2816}.rb-lid-outer span{font:italic 52px Georgia,serif;letter-spacing:.03em;color:#f2d5a7;text-shadow:1px 2px #45250f}.rb-lid-inner{transform:rotateX(180deg) translateZ(3px);background:radial-gradient(ellipse,#f9ead1,#d2b28b);border-color:#85532f;box-shadow:inset 0 2px 15px #6f482f99,inset 0 0 0 3px #b0895d}.rb-lid-inner span{font:italic 30px/1.4 Georgia,serif;color:#765132;text-align:center;transform:translateY(-25px) rotate(-3deg)}.rb-dividers,.rb-cards{position:absolute;inset:0;transform-style:preserve-3d;opacity:0;transition:opacity 260ms 120ms}.is-open .rb-dividers,.is-open .rb-cards{opacity:1;transition-delay:200ms}.rb-divider{position:absolute;left:20px;top:var(--rise);width:430px;height:225px;background:#e4d3ac;border:1px solid #b89d74;border-radius:3px;transform:translateZ(var(--depth));box-shadow:0 1px 5px #20120c55,inset 0 0 30px #b6975922;text-align:left;transition:transform 700ms,top 700ms;transform-style:preserve-3d;color:#574331}.rb-divider>span{position:absolute;left:calc(4px + var(--tab)*82px);top:-39px;width:90px;min-height:41px;display:flex;justify-content:center;align-items:center;text-align:center;font:bold 14px/1.15 Georgia,serif;padding:5px 3px;background:var(--tab-colour,#dce3c9);border:1px solid #ad9c7b;border-bottom:0;border-radius:8px 8px 0 0;box-shadow:0 -1px 2px #fff8}.rb-divider.is-selected{top:calc(var(--rise) - 18px)}.rb-divider.is-selected>span{box-shadow:0 -2px 0 #5e734b,inset 0 1px 5px #fff8;color:#26341f}.rb-paper-stack{position:absolute;width:414px;height:220px;left:28px;top:-20px;transform:translateZ(-80px);background:repeating-linear-gradient(0deg,#ddd1b8 0,#f4ebd9 2px,#e2d7c2 3px);border:1px solid #d6c39c}.rb-recipe-slip{position:absolute;left:26px;top:calc(-73px - var(--card)*19px);width:418px;height:238px;transform:translateZ(calc(104px - var(--card)*17px)) rotateZ(calc(var(--card)*-.6deg));background:repeating-linear-gradient(transparent 0,transparent 30px,#a5b5bb55 31px,transparent 32px),#fff6df;border:1px solid #c5af81;border-radius:4px;text-align:left;padding:12px 20px;box-shadow:1px 1px 3px #60472244;display:flex;flex-direction:column;justify-content:flex-start;transition:opacity .15s,transform .4s;color:#503327}.rb-recipe-slip>span{font:italic 22px/1.3 Georgia,serif;display:block;max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rb-recipe-slip>small{font:14px/1.5 Georgia,serif;margin-top:6px}.rb-recipe-slip:hover{transform:translateZ(calc(115px - var(--card)*17px)) translateY(-20px) rotateZ(-1deg)}.rb-recipe-slip.is-pulled{opacity:0;pointer-events:none}.is-sorting .rb-recipe-slip{animation:recipe-sort 750ms both;animation-delay:calc(var(--card)*55ms)}.recipe-box-controls{padding:12px 20px 22px;text-align:center;position:relative}.recipe-open{background:#604332;border-color:#604332;min-width:190px}.recipe-open:hover{background:#775039}.recipe-open span{margin-left:12px}.recipe-gesture-note{margin:12px 0 0;color:#6b5544;font-size:.875rem}.recipe-browse{padding:8px 0;min-width:0}.recipe-divider-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0}.recipe-card-kicker{font:600 .8125rem/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--a11y-muted,#826447)}.recipe-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0 28px;border-bottom:2px solid #bba17c;padding:5px 0 0}.recipe-tabs button{min-height:46px;padding:10px 12px;background:var(--tab-colour,#e7dfd0);border:1px solid #b9a689;border-bottom:0;border-radius:8px 8px 0 0;font:600 .875rem/1.4 Georgia,serif;color:#503d2e;transition:transform .2s}.recipe-tabs button[aria-selected=true]{transform:translateY(-5px);box-shadow:0 5px 0 var(--tab-colour,#e7dfd0);color:#251b16;border-color:#806643}.recipe-tabs button:hover{transform:translateY(-4px)}[data-colour=sage]{--tab-colour:#dbe3c9}[data-colour=rose]{--tab-colour:#ead1c9}[data-colour=ochre]{--tab-colour:#eedba8}[data-colour=blue]{--tab-colour:#cddfe0}[data-colour=lavender]{--tab-colour:#dfd5e7}.recipe-section-name{font-size:2.1rem;margin-bottom:8px}.recipe-section-note{color:var(--a11y-muted,#796956);margin-bottom:22px}.recipe-card-list{display:grid;gap:15px}.recipe-card-pick{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;min-height:118px;background:linear-gradient(100deg,#fff9e9,#f8efdc);border:1px solid #d5c19b;border-radius:3px;padding:20px 17px;box-shadow:2px 4px 0 #e8dbc333,0 7px 20px #56442e08;transition:transform .25s,box-shadow .25s;color:#473224}.recipe-card-pick:nth-child(odd){transform:rotate(-.5deg)}.recipe-card-pick:hover{transform:translateY(-6px) rotate(-1deg);box-shadow:0 12px 22px #56442e20}.recipe-card-pick strong{font:400 1.45rem/1.3 Georgia,serif;display:block;margin-bottom:8px}.recipe-card-pick .small{display:block;color:#766150;font-size:.875rem;line-height:1.5}.recipe-card-number{align-self:start;color:#937951;font:italic 1rem Georgia,serif}.recipe-pull-label{font-size:.8125rem;white-space:nowrap;color:#70523b;align-self:end}.recipe-page-note{max-width:900px;margin:30px 0 0}.recipe-page-note:empty{display:none}.recipe-dialog{border:0;padding:0;background:transparent;width:min(94vw,920px);max-width:920px;max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #20160e66;color:#423023}.recipe-dialog::backdrop{background:#201813a6;backdrop-filter:blur(5px)}.recipe-reader-wrap{background:#fff6e4;animation:recipe-pull 600ms cubic-bezier(.18,.7,.2,1) both;transform-origin:50% 30%;border:1px solid #c8ad7e}.recipe-dialog.returning .recipe-reader-wrap{animation:recipe-putback 380ms ease-in both}.recipe-reader-actions{position:sticky;top:0;background:#fff7e8f5;border-bottom:1px solid #d8c9ac;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 25px;z-index:2}.recipe-reader-actions button{min-height:44px;color:#4b3628;border-color:#b09b7b}.recipe-reading-card{background:linear-gradient(90deg,transparent 0,transparent 30px,#c7887933 31px,#c7887933 32px,transparent 33px),#fff7e6;padding:40px 50px 45px;overflow-wrap:anywhere;color:#423023;min-width:0}.recipe-reading-card .page-top{margin-bottom:22px}.recipe-reading-card h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.025em;line-height:1.16;margin:12px 0}.recipe-reading-card .sub{color:#7a604d;margin:15px 0 0}.recipe-details{display:flex;gap:18px 38px;flex-wrap:wrap;border-top:1px solid #d9c7a6;border-bottom:1px solid #d9c7a6;padding:16px 0;margin:0 0 28px}.recipe-details div{min-width:100px;flex:1}.recipe-details dt{font-size:.8125rem;text-transform:uppercase;letter-spacing:.05em;color:#846b50}.recipe-details dd{margin:5px 0 0;font-size:1rem}.recipe-copy{font-size:1.125rem;line-height:1.8}.recipe-copy h2{font-size:1.65rem;color:inherit}.recipe-copy>ul{padding-left:24px}.recipe-copy>ol{padding-left:27px}.recipe-copy li{padding-left:4px;margin:8px 0}.recipe-copy blockquote{font-size:1.1rem;border-color:#b59661;color:#735336}.recipe-copy [data-content-box=paper]{background:#fffaf0;border-color:#d9c7a6;padding:25px}.recipe-cover{max-height:350px;width:100%;object-fit:cover;margin-bottom:24px}.recipe-editor-card{max-width:880px;margin:32px auto}.recipe-editor-card .page-copy{min-height:250px}.recipe-admin-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.recipe-admin-section{margin-bottom:24px;border:1px solid var(--a11y-border,#d8c8e4);border-radius:8px;background:var(--a11y-surface,#fffdf9);overflow:hidden}.recipe-admin-section h2{font-size:1.5rem;margin:0;padding:18px 22px;background:var(--tab-colour,#e8ded3);color:#49382b;display:flex;justify-content:space-between;align-items:center;gap:10px}.recipe-admin-row{padding:18px 22px;border-top:1px solid var(--a11y-border,#e2d7e7);display:flex;gap:15px;align-items:center;justify-content:space-between}.recipe-admin-row>div:first-child{flex:1;min-width:0}.recipe-admin-row strong{display:block;overflow-wrap:anywhere}.recipe-admin-row .actions{flex-wrap:wrap}.recipe-admin-row button,.recipe-admin-row a{min-height:44px;font-size:.875rem}.recipe-sections-list{display:grid;gap:12px;margin-bottom:25px}.recipe-section-manager-row{border:1px solid var(--a11y-border,#dbcee5);padding:16px;border-radius:6px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.recipe-section-manager-row strong{flex:1 1 180px}.recipe-section-manager-row .actions{gap:6px;flex-wrap:wrap}.recipe-section-manager-row button{min-height:44px}.recipe-metadata{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}.recipe-editor-notice{margin-bottom:20px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes recipe-sort{0%{transform:translateZ(calc(104px - var(--card)*17px)) translateY(15px) rotateX(-15deg);opacity:.1}45%{transform:translateZ(calc(104px - var(--card)*17px)) translateY(-42px) rotateX(4deg);opacity:1}100%{transform:translateZ(calc(104px - var(--card)*17px)) rotateZ(calc(var(--card)*-.6deg));opacity:1}}
@keyframes recipe-pull{0%{opacity:0;transform:translate(var(--pull-x,0px),var(--pull-y,250px)) scale(.43) rotate(-5deg)}30%{opacity:1}65%{transform:translateY(-12px) scale(1.025) rotate(1deg)}100%{opacity:1;transform:none}}
@keyframes recipe-putback{to{opacity:0;transform:translate(var(--pull-x,0px),var(--pull-y,250px)) scale(.4) rotate(-5deg)}}
@media(max-width:1150px){.header-inner{gap:16px}.nav{gap:12px;font-size:.8125rem}.recipe-box-layout{gap:26px;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr)}.recipe-card-pick{grid-template-columns:24px minmax(0,1fr)}.recipe-pull-label{grid-column:2}.recipe-scene{height:430px}}
@media(max-width:950px){.recipe-box-layout{grid-template-columns:minmax(0,1fr)}.recipe-worktop{max-width:700px;width:100%;margin:auto}.recipe-browse{max-width:800px;width:100%;margin:auto}.recipe-scene{height:475px}.recipe-card-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.recipe-heading{max-width:900px}.recipe-admin-row{flex-wrap:wrap}.recipe-admin-row .actions{width:100%}}
@media(max-width:600px){.recipe-page{padding:30px 5% 50px}.recipe-heading h1{font-size:2.6rem}.recipe-heading .sub{font-size:1rem}.recipe-box-layout{gap:22px}.recipe-scene{height:315px;perspective:950px;perspective-origin:50% 20%}.recipe-box-scale{top:46%}.recipe-box-controls{padding:0 14px 18px}.recipe-gesture-note{font-size:.8125rem;margin-top:9px}.recipe-tabs{gap:5px;margin-bottom:20px}.recipe-tabs button{flex:1 1 auto;padding:10px 12px;font-size:.9375rem}.recipe-card-list{grid-template-columns:1fr}.recipe-card-pick{min-height:110px}.recipe-section-name{font-size:1.8rem}.recipe-reading-card{padding:28px 25px 30px;background-image:none}.recipe-reader-actions{padding:12px 16px}.recipe-reader-actions .recipe-card-kicker{font-size:.75rem}.recipe-reading-card h1{font-size:2rem}.recipe-details{gap:12px 18px}.recipe-details div{min-width:90px}.recipe-dialog{width:96vw;max-height:94dvh}.recipe-copy [data-content-box=paper]{padding:18px}.recipe-editor-card{margin:12px}.recipe-admin-section h2{padding:16px}.recipe-admin-row{padding:16px}.recipe-section-manager-row .actions{width:100%}.recipe-section-manager-row .actions button{flex:1}.recipe-tabs button[aria-selected=true]{transform:none;border-bottom:3px solid #685032;box-shadow:none}.recipe-tabs{border-bottom:0}}
html[data-reduce-motion=true] .recipe-box-layout *,html[data-reduce-motion=true] .recipe-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-reduce-motion=true] .recipe-card-pick:hover{transform:none}html[data-a11y-theme=dark] .recipe-browse,html[data-a11y-theme=contrast] .recipe-browse{color:var(--a11y-text)}html[data-a11y-theme=dark] .recipe-card-pick,html[data-a11y-theme=contrast] .recipe-card-pick{background:var(--a11y-surface);color:var(--a11y-text);border-color:var(--a11y-border)}html[data-a11y-theme=dark] .recipe-card-pick .small,html[data-a11y-theme=contrast] .recipe-card-pick .small,html[data-a11y-theme=dark] .recipe-pull-label,html[data-a11y-theme=contrast] .recipe-pull-label{color:var(--a11y-muted)}html[data-a11y-theme=dark] .recipe-reading-card,html[data-a11y-theme=contrast] .recipe-reading-card,html[data-a11y-theme=dark] .recipe-reader-actions,html[data-a11y-theme=contrast] .recipe-reader-actions,html[data-a11y-theme=dark] .recipe-reader-wrap,html[data-a11y-theme=contrast] .recipe-reader-wrap{background:var(--a11y-surface);color:var(--a11y-text)}html[data-a11y-theme=dark] .recipe-reading-card .sub,html[data-a11y-theme=contrast] .recipe-reading-card .sub,html[data-a11y-theme=dark] .recipe-details dt,html[data-a11y-theme=contrast] .recipe-details dt,html[data-a11y-theme=dark] .recipe-copy blockquote,html[data-a11y-theme=contrast] .recipe-copy blockquote{color:var(--a11y-muted)}html[data-reading-font=true] .recipe-reading-card *,html[data-reading-font=true] .recipe-card-pick *{font-family:Arial,Helvetica,sans-serif!important}html[data-a11y-size="200"] .recipe-box-layout,html[data-a11y-size="175"] .recipe-box-layout{grid-template-columns:1fr}
@media(prefers-reduced-motion:reduce){.recipe-box-layout *,.recipe-dialog *{animation:none!important;transition:none!important}}

/* Editor-only labels never become part of the saved recipe. */
.recipe-editor-card .recipe-field-label{font-family:Arial,sans-serif;font-size:1rem;font-weight:700;margin:1.2rem 0 .35rem;text-align:left}
.recipe-editor-card .recipe-field-help{font-family:Arial,sans-serif;text-align:left;margin:.35rem 0 1rem;line-height:1.6}
.recipe-editor-card .recipe-content-label{font-size:1.3rem;margin:1.5rem 0 .35rem}
.recipe-editor-card .recipe-field-over-limit{font-weight:700;color:#a32435}
.recipe-editor-card [aria-invalid="true"]{outline:2px solid #a32435;outline-offset:4px}
