@font-face{font-family:Libre Baskerville;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-baskerville-latin-400-normal.woff2) format("woff2")}@font-face{font-family:Libre Baskerville;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-baskerville-latin-700-normal.woff2) format("woff2")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/source-sans-3-latin-300-normal.woff2) format("woff2")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/source-sans-3-latin-400-normal.woff2) format("woff2")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/source-sans-3-latin-500-normal.woff2) format("woff2")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/source-sans-3-latin-600-normal.woff2) format("woff2")}@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/source-sans-3-latin-700-normal.woff2) format("woff2")}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.block{display:block}.inline{display:inline}.table{display:table}.list-item{display:list-item}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.italic{font-style:italic}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:root{color-scheme:light}.dark{color-scheme:dark}:root{--background:35 30% 97%;--foreground:25 30% 15%;--card:35 25% 95%;--primary:18 55% 45%;--muted:30 15% 90%;--muted-fg:25 15% 45%;--accent:85 30% 35%;--border:30 20% 85%;--sidebar:30 20% 94%;--sidebar-accent:85 25% 90%;--radius:.625rem;font-family:"Source Sans 3",system-ui,sans-serif;color:hsl(var(--foreground));background:hsl(var(--background))}.dark{--background:25 20% 10%;--foreground:35 20% 92%;--card:25 18% 14%;--primary:18 50% 55%;--muted:25 15% 20%;--muted-fg:30 15% 60%;--border:25 15% 22%;--sidebar:25 18% 12%;--sidebar-accent:85 20% 18%}*{box-sizing:border-box}html,body{max-width:100%;overflow-x:clip}body{margin:0;background:hsl(var(--background));color:hsl(var(--foreground))}button,input{font:inherit}button{cursor:pointer}.sr-only{position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.app-shell{height:100dvh;overflow:hidden}.app-header{height:56px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));display:flex;align-items:center;justify-content:space-between;padding:0 16px}.brand{display:flex;align-items:center;gap:12px}.chef-tile{width:36px;height:36px;border-radius:8px;background:hsl(var(--primary));display:grid;place-items:center;color:#fff}.chef-tile svg{width:20px}.brand h1{font-size:18px;line-height:1;margin:0}.brand p{font-size:12px;color:hsl(var(--muted-fg));margin:3px 0 0}.rail-head button,.detail button{border:0;background:transparent;border-radius:6px;padding:8px;display:inline-flex;align-items:center;gap:8px}.rail-head svg,.detail button svg{width:16px}.workspace{height:calc(100dvh - 56px);display:flex;overflow:hidden}.recipe-rail{width:320px;flex:none;background:hsl(var(--sidebar));border-right:1px solid hsl(var(--border));display:flex;flex-direction:column}.recipe-rail.collapsed{width:48px;align-items:center;padding-top:16px}.rail-head{padding:16px;border-bottom:1px solid hsl(var(--border))}.rail-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.rail-title h2{font-size:16px;margin:0}.rail-actions{display:flex;gap:8px;margin-bottom:12px}.rail-actions button{height:36px;border:1px solid hsl(var(--border))}.search{height:40px;position:relative;display:flex;align-items:center}.search svg{position:absolute;left:10px;width:16px;color:hsl(var(--muted-fg))}.search input{width:100%;height:100%;padding:0 10px 0 34px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background))}.recipe-rows{flex:1;overflow:auto;padding:8px 0}.recipe-rows>button{width:100%;border:0;background:transparent;text-align:left;padding:12px 16px;display:flex;flex-direction:column;gap:4px;border-left:2px solid transparent}.recipe-rows>button.selected{background:hsl(var(--sidebar-accent));border-left-color:hsl(var(--primary))}.recipe-rows small,.rail-empty{color:hsl(var(--muted-fg))}.rail-empty{text-align:center;padding:36px 20px}.rail-empty-icon{width:64px;height:64px;margin:0 auto 16px;border-radius:999px;background:hsl(var(--muted));display:grid;place-items:center}.rail-empty-icon svg{width:32px;height:32px}.rail-empty p{margin:0 0 16px}.rail-empty button{margin:0 auto;border:0;border-radius:7px;padding:8px 12px;display:inline-flex;align-items:center;gap:4px}.rail-empty button svg{width:16px;height:16px}.detail{flex:1;min-width:0;display:flex;flex-direction:column}.detail.empty{align-items:center;justify-content:center}.detail-head{height:70px;border-bottom:1px solid hsl(var(--border));padding:14px 24px;display:flex;align-items:center;justify-content:space-between}.detail-head>input{font:600 20px Libre Baskerville,serif;background:transparent;border:0;min-width:0}.detail-head>div{display:flex;align-items:center;gap:12px}.save-status{display:inline-block;width:80px;text-transform:capitalize;color:hsl(var(--muted-fg));font-size:13px}.workspace-grid{padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:24px;overflow:auto}.workspace-grid section>h2{font-size:14px;color:hsl(var(--muted-fg))}.editor-placeholder,.calculation-placeholder{min-height:240px;border:1px solid hsl(var(--border));border-radius:10px;padding:16px;background:hsl(var(--card))}.recovery{margin:20px;padding:16px;border:2px solid #b44;background:#fee}@media(max-width:899px){.recipe-rail{width:272px}.workspace-grid{grid-template-columns:1fr}}@media(max-width:699px){.app-header{height:56px}.header-actions .borderless-button{font-size:0}.workspace{height:calc(100dvh - 56px)}.recipe-rail{display:none}.detail-head{padding:10px 14px}.workspace-grid{padding:14px}.brand p{display:none}}h1,h2,h3{font-family:Libre Baskerville,Georgia,serif}.route-proof{padding:2rem}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.recipe-description-editor{min-height:200px;padding:16px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background));transition:box-shadow .15s cubic-bezier(.4,0,.2,1)}.recipe-description-editor:focus-within{box-shadow:0 0 0 2px hsl(var(--background)),0 0 0 4px hsl(var(--primary))}.description-toolbar{display:flex;flex-wrap:wrap;gap:4px;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid hsl(var(--border))}.description-toolbar button{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border:0;background:transparent;border-radius:6px;padding:0;color:inherit}.description-toolbar button:hover:not(:disabled),.description-toolbar button.active{background:hsl(var(--muted))}.description-toolbar button:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.description-toolbar button:disabled{opacity:.5}.description-toolbar button svg{width:16px;height:16px}.description-toolbar-separator{width:1px;height:24px;margin:4px;align-self:center;background:hsl(var(--border))}.description-editor-content,.description-editor-content .ProseMirror{min-height:180px}.description-editor-content .ProseMirror{outline:0}.description-editor-content .ProseMirror p{margin:0 0 8px}.description-editor-content .ProseMirror h1{font-size:24px;margin:0 0 12px}.description-editor-content .ProseMirror h2{font-size:20px;margin:0 0 8px}.description-editor-content .ProseMirror h3{font-size:18px;margin:0 0 8px}.description-editor-content .ProseMirror ul,.description-editor-content .ProseMirror ol{padding-left:24px;margin:0 0 8px}.description-editor-content .ProseMirror ul{list-style:disc}.description-editor-content .ProseMirror ol{list-style:decimal}.description-editor-content .ProseMirror a{color:hsl(var(--primary));text-decoration:underline}.description-editor-content .ProseMirror strong{font-weight:700}.description-editor-content .ProseMirror em{font-style:italic}.calculations{border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card));padding:14px}.weight-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.weight-controls label{display:flex;flex-direction:column;gap:4px}.table-scroll{overflow-x:auto;contain:inline-size;max-width:100%;margin-top:16px}.calculations table{width:100%;border-collapse:collapse}.calculations th,.calculations td{text-align:right;padding:8px;border-bottom:1px solid hsl(var(--border));white-space:nowrap}.calculations th:first-child{text-align:left}.calculations .target{background:hsl(var(--sidebar-accent))}.warning,.save-error{color:#a33}.pricing{margin-top:18px;border-top:1px solid hsl(var(--border));padding-top:12px}.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pricing-grid label{display:flex;flex-direction:column}.save-error{margin:0;padding:8px 24px;background:#fee}.dialog-overlay{position:fixed;inset:0;background:#0008;z-index:20}.settings-dialog{position:fixed;z-index:21;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 32px));overflow:auto;background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 20px 60px #0004}.dialog-title{position:sticky;top:0;background:hsl(var(--background));padding:18px 20px;display:flex;justify-content:space-between;border-bottom:1px solid hsl(var(--border))}.dialog-title h2{margin:0}.dialog-title button{border:0;background:transparent}.dialog-title svg{width:20px}.settings-dialog [role=tablist]{position:sticky;top:65px;background:hsl(var(--background));display:flex;padding:0 20px;border-bottom:1px solid hsl(var(--border))}.settings-dialog [role=tab]{padding:12px;border:0;background:transparent}.settings-dialog [role=tab][data-state=active]{border-bottom:2px solid hsl(var(--primary))}.settings-body{padding:20px}.catalog-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid hsl(var(--border));padding:10px 0}.catalog-row span{display:flex;flex-direction:column}.catalog-row small{color:hsl(var(--muted-fg))}.settings-body form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;margin-top:20px}.settings-body form label{display:flex;flex-direction:column}.settings-body input,.route-page input{padding:8px;border:1px solid hsl(var(--border));border-radius:6px}.route-page{max-width:850px;margin:auto;padding:32px}.route-page button,.file-control{display:inline-block;margin:8px;padding:10px 14px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--card))}.file-control{display:block}.file-control input{display:block;margin-top:8px}@media(max-width:699px){.settings-dialog{inset:0;width:100vw;max-height:100dvh;transform:none;border-radius:0}.settings-body form{grid-template-columns:1fr}.settings-dialog [role=tablist]{top:65px}}.mobile-rail-trigger{display:none}.mobile-sheet{position:fixed;z-index:21;inset-block:0;inset-inline-start:0;width:min(88vw,320px);background:hsl(var(--sidebar));outline:0}.mobile-sheet .recipe-rail{display:flex;width:100%;height:100dvh}.mobile-sheet .rail-title button{display:none}@media(max-width:699px){.mobile-rail-trigger{display:block;height:52px;border-bottom:1px solid hsl(var(--border));padding:4px 10px}.mobile-rail-trigger>button{min-height:44px;border:0;background:transparent;display:flex;gap:8px;align-items:center}.mobile-rail-trigger svg{width:20px}.workspace{height:calc(100dvh - 108px)}.detail-head input{max-width:55%}.workspace-grid section{min-width:0}.description-toolbar button,.mobile-sheet .rail-actions button,.settings-dialog button,.detail button{min-height:44px}}.confirm-dialog{position:fixed;z-index:30;left:50%;top:50%;transform:translate(-50%,-50%);width:min(440px,calc(100vw - 32px));background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:12px;padding:22px;box-shadow:0 20px 60px #0005}.confirm-dialog>div{display:flex;justify-content:flex-end;gap:8px}.confirm-dialog button{padding:9px 14px;border:1px solid hsl(var(--border));border-radius:6px}.catalog form{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog form select,.calculations select,.calculations input{min-width:0;width:100%;padding:7px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--background));color:inherit}.catalog form select{padding:8px}.calculations{min-inline-size:0}.calculations>button{display:flex;align-items:center;gap:6px;margin-top:10px}.calculations button svg{width:16px}.pricing-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pricing-inputs label{display:flex;flex-direction:column;gap:4px}.pricing-results{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.empty-anchor{text-align:center}.welcome-empty{width:min(100% - 32px,448px)}.welcome-empty .welcome-icon{width:96px;height:96px;margin:0 auto 24px;border-radius:999px;background:hsl(var(--muted));display:grid;place-items:center;color:hsl(var(--muted-fg))}.welcome-empty .welcome-icon svg{width:48px;height:48px}.welcome-empty h2{margin:0 0 8px;font-size:24px;line-height:1.35}.welcome-empty p{margin:0 auto 24px;color:hsl(var(--muted-fg));line-height:1.5}.recovery{flex:none}.detail.empty:has(.recovery){justify-content:flex-start;align-items:stretch}.recipe-delete-dialog.confirm-dialog{width:calc(100vw - 32px);max-width:512px;padding:24px;background:hsl(var(--card))}.recipe-delete-dialog-title{margin:0 0 8px;font:600 18px/28px Libre Baskerville,Georgia,serif}.recipe-delete-dialog-description{margin:0 0 16px;color:hsl(var(--muted-fg));font-size:14px;line-height:20px}.recipe-delete-dialog>.recipe-delete-dialog-actions{display:flex;flex-direction:row;justify-content:flex-end;gap:8px}.recipe-delete-dialog-actions button{min-width:0}@media(max-width:699px){.recipe-delete-dialog{text-align:center}.recipe-delete-dialog>.recipe-delete-dialog-actions{flex-direction:column-reverse}.recipe-delete-dialog-actions button{width:100%}}.workspace-grid{width:100%;min-width:0}.workspace-grid>*{min-width:0}@media(max-width:699px){.detail{width:100vw;max-width:100vw;overflow:hidden}.workspace-grid{max-width:100vw}.table-scroll{width:100%;max-width:100%;overflow-x:auto}}.settings-dialog{width:min(672px,calc(100vw - 32px));max-height:min(80dvh,760px);overflow:hidden;background:hsl(var(--background));display:flex;flex-direction:column;padding:24px}.dialog-title{position:static;padding:0 0 12px;border:0;align-items:center;background:transparent}.dialog-title h2{display:flex;align-items:center;gap:8px;font-size:20px;line-height:28px}.dialog-title h2 svg{width:20px;height:20px}.dialog-title button{display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:6px;color:hsl(var(--muted-fg))}.settings-dialog [role=tablist]{position:static;display:flex;gap:4px;padding:0 0 8px;border-bottom:1px solid hsl(var(--border));background:transparent}.settings-dialog [role=tab]{padding:9px 12px;border:0;border-radius:8px;background:transparent;color:inherit}.settings-dialog [role=tab][data-state=active]{border:0;background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}.settings-body{padding:16px 0 0;overflow:auto}.settings-catalog{min-height:216px}.catalog-add{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;border:0;border-radius:7px;background:hsl(var(--primary));color:#fff}.catalog-add svg{width:16px;height:16px}.catalog-table-wrap{margin-top:16px;border:1px solid hsl(var(--border));border-radius:10px;overflow:auto}.catalog-table{width:100%;border-collapse:collapse;font-size:14px}.catalog-table th{padding:10px 12px;background:hsl(var(--muted));font-weight:500;text-align:left;white-space:nowrap}.catalog-table td{padding:10px 12px;border-top:1px solid hsl(var(--border))}.catalog-table .center{text-align:center}.catalog-table .numeric{text-align:right}.catalog-actions{display:flex;justify-content:flex-end;gap:4px}.catalog-actions button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent}.catalog-actions button:hover:not(:disabled){background:hsl(var(--muted))}.catalog-actions .danger{color:#dc2626}.catalog-actions svg{width:14px;height:14px}.catalog-empty{text-align:center;padding:32px 16px;color:hsl(var(--muted-fg))}.catalog-empty p{margin:0 0 6px}.catalog-empty button{border:0;background:transparent;color:hsl(var(--primary));text-decoration:underline}.nested-overlay{z-index:29}.ingredient-dialog{position:fixed;z-index:30;left:50%;top:50%;transform:translate(-50%,-50%);width:min(512px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid hsl(var(--border));border-radius:12px;background:hsl(var(--background));box-shadow:0 20px 60px #0005}.ingredient-dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.ingredient-dialog-title h2{margin:0;font-size:20px}.ingredient-dialog-title button{border:0;background:transparent;color:hsl(var(--muted-fg))}.ingredient-dialog-title svg{width:20px;height:20px}.catalog form.ingredient-form,.ingredient-dialog form.ingredient-form{display:grid;grid-template-columns:1fr;gap:16px;margin:0}.ingredient-form>label,.ingredient-number-fields label{display:flex;flex-direction:column;gap:6px}.ingredient-form input,.ingredient-form select{width:100%;height:40px;padding:8px 12px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit}.ingredient-number-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ingredient-form-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.settings-general{display:flex;flex-direction:column;gap:28px}.settings-section{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.settings-section>label,.settings-label{font-weight:500}.settings-section p{margin:0;color:hsl(var(--muted-fg));font-size:12px}.currency-control,.database-actions{display:flex;gap:8px}.currency-control input{width:96px;height:40px}.currency-control button,.database-actions a,.compact-settings button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit;text-decoration:none}.currency-control button{border-color:hsl(var(--primary));background:hsl(var(--primary));color:#fff}.currency-control button:disabled{opacity:.55;cursor:not-allowed}.database-actions svg{width:16px;height:16px}.compact-settings{gap:6px}.compact-settings button{min-height:36px}.dark .catalog-actions .danger{color:#f87171}@media(max-width:699px){.settings-dialog{padding:20px;overflow:hidden}.settings-body{padding-top:16px}.catalog-table th,.catalog-table td{padding:9px 8px}.catalog-table th:nth-child(3),.catalog-table td:nth-child(3){display:none}.ingredient-dialog{inset:0;width:100vw;max-height:100dvh;transform:none;border-radius:0}.ingredient-number-fields{grid-template-columns:1fr}.database-actions{flex-wrap:wrap}}.patisera-preferences{padding-top:4px;border-top:1px solid hsl(var(--border));font-size:13px;color:hsl(var(--muted-fg))}.patisera-preferences summary{cursor:pointer}.patisera-preferences[open]{display:flex;flex-direction:column;gap:18px}.patisera-preferences .compact-settings{margin-top:12px;color:hsl(var(--foreground))}.header-actions{display:flex;align-items:center;gap:4px}.currency-control input{padding:8px 12px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit}@media(max-width:699px){.settings-dialog{inset:0;width:100vw;height:100dvh;max-height:100dvh;transform:none;border-radius:0}.catalog-table th:nth-child(3),.catalog-table td:nth-child(3){display:table-cell}}.calculations{display:flex;min-inline-size:0;flex-direction:column;gap:16px;padding:0;border:0;background:transparent}.calculation-card{overflow:hidden;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background))}.calculation-card-header{padding:8px 16px;border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted))}.calculation-card-header h3{margin:0;font-size:14px;line-height:20px;font-weight:600}.weight-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px}.weight-controls label{display:flex;min-width:0;flex-direction:column;gap:6px}.weight-controls label>span{font-size:12px;color:hsl(var(--muted-fg))}.calculations input,.calculations select{height:36px;padding:7px 10px}.calculations .target-weight-input{border-color:hsl(var(--sidebar-accent));background:hsl(var(--sidebar-accent))}.weight-warning{display:flex;align-items:center;gap:4px;color:#a16207;font-size:12px}.dark .weight-warning{color:#fbbf24}.weight-warning svg{width:12px;height:12px;flex:none}.ingredients-card .table-scroll{width:100%;max-width:100%;margin:0;overflow-x:auto;contain:inline-size}.ingredients-card table{min-width:520px;font-size:14px}.ingredients-card thead{background:color-mix(in srgb,hsl(var(--muted)) 50%,transparent)}.ingredients-card th,.ingredients-card td{height:44px;padding:8px 12px;border-bottom:1px solid hsl(var(--border));font-weight:400}.ingredients-card thead th{font-weight:500;white-space:normal}.ingredients-card th:first-child,.ingredients-card tfoot th{text-align:left}.ingredients-card th:not(:first-child),.ingredients-card td{text-align:right}.ingredients-card th:nth-child(2),.ingredients-card td:nth-child(2){width:80px}.ingredients-card th:nth-child(3),.ingredients-card td:nth-child(3),.ingredients-card th:nth-child(4),.ingredients-card td:nth-child(4),.ingredients-card th:nth-child(5),.ingredients-card td:nth-child(5){width:82px}.ingredients-card th:last-child,.ingredients-card td:last-child{width:40px;padding-left:6px;padding-right:6px}.ingredients-card .target{background:color-mix(in srgb,hsl(var(--sidebar-accent)) 65%,transparent)}.ingredients-card .muted-value{color:hsl(var(--muted-fg))}.ingredients-card .row-actions button{display:grid;width:28px;min-height:28px;height:28px;margin:auto;padding:0;place-items:center;color:hsl(var(--muted-fg))}.ingredients-card .row-actions button:hover:not(:disabled){background:hsl(var(--muted));color:#dc2626}.ingredients-card .row-actions svg{width:16px;height:16px}.ingredients-card .add-ingredient-row td{padding:6px 12px;text-align:center}.add-ingredient-row button{display:flex;width:100%;min-height:32px;align-items:center;justify-content:center;gap:6px;color:hsl(var(--muted-fg))}.add-ingredient-row button:hover:not(:disabled){background:hsl(var(--muted));color:hsl(var(--foreground))}.add-ingredient-row button:disabled{cursor:not-allowed;opacity:.5}.add-ingredient-row svg{width:16px;height:16px}.ingredients-card tfoot tr:first-child{background:color-mix(in srgb,hsl(var(--muted)) 50%,transparent);font-weight:500}.ingredients-card tfoot tr:first-child th,.ingredients-card tfoot tr:first-child td{font-weight:500}.ingredients-card .price-per-kg-row{background:color-mix(in srgb,hsl(var(--muted)) 30%,transparent)}.ingredients-card .price-per-kg-row td{color:hsl(var(--muted-fg))}.ingredients-card tfoot tr:last-child th,.ingredients-card tfoot tr:last-child td{border-bottom:0}.pricing{margin:0;padding:0;border-top:0}.pricing-content{padding:16px}.pricing-inputs{gap:16px}.pricing-inputs label{gap:6px}.pricing-inputs label>span,.pricing-percent-controls label>span{font-size:12px;color:hsl(var(--muted-fg))}.pricing-addons{display:flex;align-items:center;justify-content:space-between;margin-top:16px;margin-bottom:12px;padding:0 0 12px;border-top:0;border-bottom:1px solid hsl(var(--border));font-size:14px}.pricing-percent-controls{margin-bottom:12px}.pricing-percent-controls label{display:flex;min-width:0;flex-direction:column;gap:6px}.pricing-table-wrap{overflow:hidden;border:1px solid hsl(var(--border));border-radius:8px}.pricing-table{width:100%;border-collapse:collapse;font-size:14px}.pricing-table th,.pricing-table td{height:42px;padding:8px 12px;border-bottom:1px solid hsl(var(--border));text-align:right}.pricing-table th:first-child{text-align:left}.pricing-table thead{background:color-mix(in srgb,hsl(var(--muted)) 50%,transparent)}.pricing-table thead th{font-weight:500}.pricing-table tbody th{font-weight:400}.pricing-table .target{background:color-mix(in srgb,hsl(var(--sidebar-accent)) 65%,transparent)}.pricing-table tbody tr:last-child th,.pricing-table tbody tr:last-child td{border-bottom:0}.warning{margin:0;color:#a33}@media(max-width:699px){.weight-controls{grid-template-columns:1fr;gap:12px}.ingredients-card table{min-width:520px}}.brand h1,.rail-title h2{font-weight:700}.recipe-sort-trigger{display:flex;width:100%;height:36px;align-items:center;justify-content:space-between;margin-top:10px;padding:0 10px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit;text-align:left}.recipe-sort-trigger:hover,.recipe-sort-trigger:focus-visible,.recipe-sort-trigger[data-state=open]{border-color:hsl(var(--accent));background:hsl(var(--sidebar-accent))}.recipe-sort-trigger svg{width:16px}.recipe-sort-content{z-index:40;min-width:var(--radix-select-trigger-width);overflow:hidden;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background));box-shadow:0 14px 32px #0003}.recipe-sort-item{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;outline:0}.recipe-sort-item[data-highlighted]{background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}.recipe-sort-item svg{width:16px}.recipe-delete{color:#955339}.recipe-delete:hover:not(:disabled),.recipe-delete:focus-visible{color:#733b28;background:color-mix(in srgb,#b86b4d 18%,transparent)}.recipe-delete:disabled{color:color-mix(in srgb,#955339 38%,hsl(var(--muted-fg)));background:transparent;opacity:.55;cursor:not-allowed}.recipe-rows>button:hover:not(.selected),.recipe-rows>button:focus-visible{background:color-mix(in srgb,hsl(var(--sidebar-accent)) 72%,transparent)}.rail-title button:hover,.rail-title button:focus-visible,.recipe-rail.collapsed>button:hover,.recipe-rail.collapsed>button:focus-visible,.mobile-recipes-button:hover,.mobile-recipes-button:focus-visible,.rail-empty button:hover,.rail-empty button:focus-visible,.catalog-empty button:hover,.catalog-empty button:focus-visible,.settings-dialog [role=tab]:hover,.settings-dialog [role=tab]:focus-visible{background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:not-allowed}.recipe-rail.collapsed>button,.mobile-recipes-button{transition:background-color .15s ease,color .15s ease}.dark .recipe-rail.collapsed>button:hover,.dark .recipe-rail.collapsed>button:focus-visible,.dark .mobile-recipes-button:hover,.dark .mobile-recipes-button:focus-visible{background:hsl(var(--muted));color:hsl(var(--foreground))}.ingredient-picker-trigger{display:flex;width:100%;min-width:148px;align-items:center;justify-content:space-between;gap:6px;border:1px solid hsl(var(--border));border-radius:8px;background:hsl(var(--background));color:inherit;text-align:left}.ingredient-picker-trigger[data-state=open],.ingredient-picker-trigger:hover:not(:disabled){border-color:hsl(var(--accent));background:hsl(var(--sidebar-accent))}.ingredient-picker-trigger svg{width:15px;flex:none}.ingredient-picker-content{z-index:40;min-width:var(--radix-select-trigger-width);max-width:min(320px,calc(100vw - 24px));overflow:hidden;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background));box-shadow:0 14px 32px #0003}.ingredient-picker-item,.ingredient-picker-add{display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:0;background:transparent;color:inherit;text-align:left}.ingredient-picker-add{justify-content:flex-start}.ingredient-picker-item[data-highlighted],.ingredient-picker-item:hover,.ingredient-picker-add:hover,.ingredient-picker-add:focus-visible{outline:0;background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}.ingredient-picker-item svg,.ingredient-picker-add svg{width:16px}.ingredient-picker-separator{height:1px;margin:4px 0;background:hsl(var(--border))}@media(max-width:699px){.recipe-sort-trigger,.recipe-sort-item{min-height:44px}.ingredient-picker-trigger{min-height:36px}.ingredient-picker-item,.ingredient-picker-add{min-height:44px}}.description-toolbar{gap:2px}.description-toolbar button{width:44px;height:44px}.description-toolbar-separator{margin:2px}.dialog-title{min-height:80px;align-items:center}.dialog-title button{display:grid;width:44px;height:44px;place-items:center}.settings-dialog [role=tablist]{top:80px}@media(max-width:699px){.detail-head{gap:8px}.detail-head input{flex:1;max-width:none;min-width:0}.save-status{width:auto;white-space:nowrap}}button.brown-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border:1px solid hsl(var(--primary));border-radius:7px;background:hsl(var(--primary));color:#fff;font-weight:600;transition:background-color .15s ease,border-color .15s ease,transform .15s ease,opacity .15s ease}button.brown-button:hover:not(:disabled),button.brown-button:focus-visible:not(:disabled){border-color:color-mix(in srgb,hsl(var(--primary)) 84%,black);background:color-mix(in srgb,hsl(var(--primary)) 84%,black);color:#fff}button.brown-button:disabled{border-color:hsl(var(--primary));background:hsl(var(--primary));color:#fff;opacity:.55;cursor:not-allowed}button.brown-button svg{width:16px;height:16px}.rail-actions .brown-button{flex:1}.welcome-empty .brown-button{font-weight:600}.welcome-empty .brown-button svg{width:20px;height:20px}@media(max-width:699px){button.brown-button{min-height:44px}}button.secondary-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,opacity .15s ease}button.secondary-button:hover:not(:disabled),button.secondary-button:focus-visible:not(:disabled){border-color:hsl(var(--accent));background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}button.secondary-button:disabled{opacity:.55;cursor:not-allowed}button.secondary-button svg{width:16px;height:16px}button.borderless-button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border:0;border-radius:7px;background:transparent;color:inherit;transition:background-color .15s ease,color .15s ease,transform .15s ease,opacity .15s ease}button.borderless-button:hover:not(:disabled),button.borderless-button:focus-visible:not(:disabled){background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}button.borderless-button:disabled{opacity:.55;cursor:not-allowed}button.borderless-button svg{width:16px;height:16px}@media(max-width:699px){button.secondary-button,button.borderless-button{min-height:44px}}@media(max-width:699px){.description-toolbar{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px}.description-toolbar:has(button[data-command=unlink]){grid-template-columns:repeat(3,minmax(44px,1fr))}.description-toolbar button{width:100%;height:44px}.description-toolbar-separator{display:none}}@media(max-width:699px){.detail-head>input,.calculations input,.calculations select,.ingredient-form input,.ingredient-form select{min-height:44px}.add-ingredient-row button{min-height:44px}}@media(max-width:699px){.settings-dialog .dialog-title button{width:44px;height:44px}.settings-dialog .currency-control input{height:44px}}.settings-section select{min-height:40px;padding:8px 12px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit}@media(max-width:699px){.settings-section select{min-height:44px}}.route-proof{min-height:calc(100dvh - 56px);display:grid;place-items:center;padding:24px}.route-proof-panel{width:min(440px,100%);padding:32px;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--card));text-align:center}.route-proof-brand{margin:0 0 8px;color:hsl(var(--primary));font-weight:600}.route-proof-panel h1{margin:0 0 12px;font-size:24px}.route-proof-panel>p:not(.route-proof-brand){margin:0 auto 24px;max-width:34ch;color:hsl(var(--muted-fg));line-height:1.5}.route-proof-action{display:inline-flex;min-height:44px;align-items:center;justify-content:center;padding:9px 14px;border:1px solid hsl(var(--primary));border-radius:7px;background:hsl(var(--primary));color:#fff;font-weight:600;text-decoration:none}.route-proof-action:hover,.route-proof-action:focus-visible{border-color:color-mix(in srgb,hsl(var(--primary)) 84%,black);background:color-mix(in srgb,hsl(var(--primary)) 84%,black)}.route-proof-action:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.dialog-title h2:focus{outline:0}.styled-select-trigger{display:flex;width:100%;min-height:40px;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid hsl(var(--border));border-radius:7px;background:hsl(var(--background));color:inherit;text-align:start}.styled-select-trigger:hover:not(:disabled),.styled-select-trigger:focus-visible,.styled-select-trigger[data-state=open]{border-color:hsl(var(--accent));background:hsl(var(--sidebar-accent))}.styled-select-trigger svg{width:16px;flex:none}.styled-select-content{z-index:40;min-width:var(--radix-select-trigger-width);overflow:hidden;border:1px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background));box-shadow:0 14px 32px #0003}.styled-select-item{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;outline:0}.styled-select-item[data-highlighted]{background:hsl(var(--sidebar-accent));color:hsl(var(--accent))}.styled-select-item svg{width:16px}.ingredient-form .styled-select-trigger{height:40px}.catalog-add{display:flex;width:-moz-max-content;width:max-content;margin-block-end:12px}.catalog-add,.currency-control .brown-button{height:40px;min-height:40px}.settings-body{padding-inline:4px;padding-block-end:4px}.settings-dialog .settings-body{scroll-padding-inline:4px}.settings-section{inline-size:100%;text-align:start}.settings-section>.styled-select-trigger{max-inline-size:320px}.rail-actions .recipe-delete{min-height:40px;height:40px;padding:9px 14px;border:1px solid hsl(var(--border));border-radius:7px}.recipe-rail{border-inline-end:1px solid hsl(var(--border));border-right:0}.search svg{inset-inline-start:10px;inset-inline-end:auto}.search input{padding-inline-start:34px;padding-inline-end:10px}html[dir=ltr] .search svg{left:10px;right:auto}html[dir=rtl] .search svg{right:10px;left:auto}.recipe-rows>button{text-align:start;border-inline-start:2px solid transparent;border-left:0}.recipe-rows>button.selected{border-inline-start-color:hsl(var(--primary))}.settings-dialog,.ingredient-dialog,.recipe-description-editor{text-align:start}.settings-dialog [role=tablist],.settings-section,.ingredient-form-actions,.currency-control,.database-actions{direction:inherit}.settings-dialog[dir=rtl] [role=tablist],.recipe-description-editor[dir=rtl] .description-toolbar{flex-direction:row-reverse}.settings-dialog[dir=rtl] .settings-section{align-items:flex-end}.description-editor-content .ProseMirror ul,.description-editor-content .ProseMirror ol{padding-inline-start:24px;padding-left:0}.calculations th,.calculations td,.catalog-table .numeric{text-align:end}.calculations td,.catalog-table .numeric{direction:ltr}.calculations th:first-child,.catalog-table th{text-align:start}.recipe-rail [dir=auto],input[dir=auto],.description-editor-content{unicode-bidi:plaintext}@media(max-width:699px){.styled-select-trigger,.styled-select-item{min-height:44px}.ingredient-form .styled-select-trigger{height:44px}.catalog-add,.currency-control .brown-button{height:44px;min-height:44px}.settings-body{padding-inline:4px}.settings-section>.styled-select-trigger{max-inline-size:none}.rail-actions .recipe-delete{min-height:44px;height:44px}}.brand{--brand-mark-size:36px}.chef-tile{inline-size:var(--brand-mark-size);block-size:var(--brand-mark-size);flex:none}.brand-copy{display:grid;block-size:var(--brand-mark-size);grid-template-rows:max-content max-content;align-content:space-between;min-inline-size:0}.brand-copy p{margin:0;line-height:1}.detail-head{gap:16px}.detail-head>input{flex:1 1 0;width:100%}.detail-head>div{flex:0 0 auto}
