/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.block{display:block}.table{display:table}}:root{--ink:#2f251f;--muted:#7f7268;--paper:#fffdf8;--cream:#f7f0e5;--line:#e7ddd0;--brown:#6d3e25;--brown-dark:#4d2b1c;--orange:#e7763c;--orange-soft:#fff0e6;--green:#2e7d5b;--red:#b84a42;--shadow:0 18px 55px #4c2f1d14}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{background:var(--paper);color:var(--ink);margin:0;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif;font-size:15px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}input,select{width:100%;color:var(--ink);background:#fff;border:1px solid #ded3c6;border-radius:10px;outline:none;transition:border-color .2s,box-shadow .2s}input:focus,select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #e7763c1f}input[type=number]{font-variant-numeric:tabular-nums}.app-main{padding-bottom:104px}.auth-shell{background:radial-gradient(circle at 20% 20%,#e7763c2e,#0000 28%),radial-gradient(circle at 82% 78%,#6d3e2529,#0000 32%),linear-gradient(145deg,#fffdf8,#f4e8d8);place-items:center;min-height:100vh;padding:28px;display:grid}.auth-loading{color:var(--brown);align-items:center;gap:14px;display:flex}.auth-loading strong{font-size:14px}.login-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border:1px solid #ffffffe6;border-radius:26px;width:min(430px,100%);padding:34px;box-shadow:0 30px 80px #4c2f1d2e}.login-brand{align-items:center;gap:11px;display:flex}.login-brand strong,.login-brand small{display:block}.login-brand strong{letter-spacing:.08em}.login-brand small{color:var(--muted);margin-top:3px;font-size:10px}.login-copy{margin:42px 0 28px}.login-copy>span{color:var(--orange);letter-spacing:.18em;font-size:9px;font-weight:800}.login-copy h1{margin:8px 0 9px;font-family:Songti SC,STSong,serif;font-size:34px}.login-copy p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.login-card form{gap:16px;display:grid}.login-card label>span{color:var(--muted);margin-bottom:7px;font-size:11px;font-weight:700;display:block}.login-card input{height:46px;padding:0 13px}.login-device-choice{border:0;margin:0 0 2px;padding:0}.login-device-choice legend{color:var(--muted);margin-bottom:8px;font-size:11px;font-weight:700}.login-device-choice>div{grid-template-columns:1fr 1fr;gap:9px;display:grid}.login-device-choice button{text-align:left;cursor:pointer;background:#fff;border:1px solid #dfd4c8;border-radius:13px;grid-template-columns:30px minmax(0,1fr) 16px;align-items:center;gap:8px;min-height:72px;padding:12px;transition:border-color .2s,background .2s,box-shadow .2s;display:grid}.login-device-choice button:hover{background:#fffaf5;border-color:#caad98}.login-device-choice button.active{border-color:var(--orange);background:var(--orange-soft);box-shadow:0 0 0 3px #e7763c1a}.login-device-choice button>b{background:var(--cream);width:30px;height:36px;color:var(--brown);border-radius:8px;place-items:center;font-size:20px;display:grid}.login-device-choice button span,.login-device-choice button strong,.login-device-choice button small{min-width:0;display:block}.login-device-choice button strong{color:var(--ink);font-size:12px}.login-device-choice button small{color:var(--muted);white-space:nowrap;margin-top:4px;font-size:9px}.login-device-choice button>i{color:var(--green);font-style:normal;font-weight:900}.login-button{background:var(--brown);color:#fff;cursor:pointer;border:0;border-radius:12px;height:48px;margin-top:4px;font-weight:800}.login-button:hover{background:var(--brown-dark)}.login-button:disabled{opacity:.65;cursor:wait}.login-error{color:var(--red);background:#fff0ef;border-radius:9px;margin:-4px 0 0;padding:10px 12px;font-size:11px}.login-footnote{color:#a6978c;text-align:center;margin-top:22px;font-size:9px;display:block}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffdf8f0;border-bottom:1px solid #e7ddd0cc;grid-template-columns:1fr auto 1fr;align-items:center;height:74px;padding:0 max(4vw,34px);display:grid;position:sticky;top:0}.brand{align-items:center;gap:11px;width:max-content;display:flex}.brand-mark{background:var(--brown);color:#fff7ed;border-radius:13px;place-items:center;width:40px;height:40px;font-family:serif;font-size:21px;font-weight:800;display:grid;box-shadow:inset 0 0 0 1px #ffffff2e}.brand strong,.brand small{display:block}.brand strong{letter-spacing:.08em;font-size:15px}.brand small{color:var(--muted);margin-top:2px;font-size:11px}.topbar nav{align-items:center;gap:36px;display:flex}.topbar nav a{color:#71665d;font-size:13px;font-weight:600}.topbar nav a span{color:var(--orange);margin-right:6px;font-size:10px}.topbar nav a:hover{color:var(--brown)}.ghost-button{color:var(--muted);cursor:pointer;background:0 0;border:0;justify-self:end;padding:10px 0;font-size:13px}.ghost-button:hover{color:var(--red)}.topbar-actions{justify-self:end;align-items:center;gap:14px;display:flex}.view-mode-switch{min-height:34px;color:var(--brown);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dfd2c6;border-radius:9px;padding:0 11px;font-size:10px;font-weight:800}.view-mode-switch:hover{border-color:var(--orange);color:var(--orange)}.save-state{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:10px;display:flex}.save-state i{background:#49a77e;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #49a77e1f}.save-state.saving i{background:#dba14e}.save-state.error i{background:#d17769}.logout-button{color:#a27f70}.page-context{text-align:center;line-height:1.15}.page-context span,.page-context strong{display:block}.page-context span{color:var(--muted);letter-spacing:.12em;margin-bottom:5px;font-size:9px}.page-context strong{color:var(--brown);font-family:Songti SC,STSong,serif;font-size:17px}.page-stage{min-height:calc(100vh - 74px)}.workspace-section.subpage{min-height:calc(100vh - 74px);padding-top:38px;padding-bottom:128px;animation:.22s ease-out page-enter}@keyframes page-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.bottom-nav{left:50%;bottom:max(14px, env(safe-area-inset-bottom));z-index:50;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffdf8f5;border:1px solid #e7ddd0f2;border-radius:22px;grid-template-columns:repeat(3,1fr);gap:5px;width:min(570px,100% - 28px);padding:7px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 18px 55px #4c2f1d2e}.bottom-nav button{cursor:pointer;text-align:left;min-height:60px;color:var(--muted);background:0 0;border:0;border-radius:16px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;padding:7px 14px;transition:background .2s,color .2s,transform .2s;display:grid}.bottom-nav button:hover{background:#fbf4eb}.bottom-nav button.active{color:#fff;background:var(--brown);box-shadow:0 8px 20px #6d3e2533}.bottom-nav b{color:var(--orange);grid-row:1/3;font-family:Georgia,serif;font-size:11px}.bottom-nav button.active b{color:#ffc59f}.bottom-nav span{align-self:end;font-size:14px;font-weight:800}.bottom-nav small{color:#a3958a;align-self:start;margin-top:2px;font-size:9px}.bottom-nav button.active small{color:#d6c2b5}.hero{background:radial-gradient(circle at 82% 20%,#efb6773d,#0000 24%),linear-gradient(145deg,#fffdf8 0%,#f9f1e6 58%,#f1dfca 100%);grid-template-columns:minmax(0,1.1fr) minmax(360px,.72fr);align-items:center;gap:8vw;min-height:560px;padding:76px max(7vw,64px) 68px;display:grid;position:relative;overflow:hidden}.hero:before,.hero:after{content:"";border:1px solid #6d3e2517;border-radius:50%;position:absolute}.hero:before{width:430px;height:430px;top:-170px;right:-180px}.hero:after{width:320px;height:320px;top:-110px;right:-120px}.hero-copy{z-index:1;max-width:680px;position:relative}.eyebrow{color:var(--brown);letter-spacing:.18em;align-items:center;gap:10px;font-size:12px;font-weight:700;display:flex}.eyebrow span{background:var(--orange);width:28px;height:2px}.hero h1{letter-spacing:-.04em;margin:22px 0;font-family:Songti SC,STSong,serif;font-size:clamp(48px,5.8vw,78px);font-weight:700;line-height:1.13}.hero h1 em{color:var(--orange);font-style:normal}.hero-copy>p{color:#6f6258;max-width:610px;margin:0;font-size:17px;line-height:1.85}.hero-actions{align-items:center;gap:22px;margin-top:36px;display:flex}.primary-button,.secondary-button{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;font-weight:700;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.primary-button{background:var(--brown);color:#fff;min-height:48px;padding:0 22px;box-shadow:0 10px 26px #6d3e253b}.primary-button span{color:#ffd2b5;margin-left:20px}.primary-button:hover{background:var(--brown-dark);transform:translateY(-2px)}.save-hint{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.save-hint i{background:#49a77e;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #49a77e21}.hero-summary{z-index:1;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffc;border:1px solid #ffffffe6;border-radius:26px;justify-self:end;width:100%;max-width:430px;padding:28px 30px 24px;position:relative;box-shadow:0 28px 70px #5e3e2726}.summary-label{color:var(--muted);letter-spacing:.15em;text-transform:uppercase;font-size:11px}.hero-stat-main{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;margin-top:22px;padding-bottom:17px;display:flex}.hero-stat-main span{color:#71665e;font-size:13px}.hero-stat-main strong{color:var(--orange);font-family:Georgia,serif;font-size:32px}.mini-bars{align-items:end;gap:9px;height:88px;padding:17px 0 0;display:flex}.mini-bars i{opacity:.9;background:linear-gradient(#e99a68,#f5d6b9);border-radius:5px 5px 2px 2px;flex:1}.hero-stats-row{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;display:grid}.hero-stats-row div{border-right:1px solid var(--line)}.hero-stats-row div:last-child{border:0}.hero-stats-row strong,.hero-stats-row span{display:block}.hero-stats-row strong{font-family:Georgia,serif;font-size:23px}.hero-stats-row span{color:var(--muted);margin-top:4px;font-size:11px}.hero-summary>p{border-top:1px dashed var(--line);color:var(--muted);margin:18px 0 0;padding-top:14px;font-size:11px}.workflow-strip{background:var(--brown);color:#fff;justify-content:center;align-items:center;gap:44px;padding:24px max(7vw,64px);display:flex}.workflow-strip div{align-items:center;gap:13px;min-width:170px;display:flex}.workflow-strip b{color:#ffc59f;background:#ffffff1a;border-radius:50%;place-items:center;width:35px;height:35px;font-family:Georgia,serif;display:grid}.workflow-strip strong,.workflow-strip small{display:block}.workflow-strip strong{font-size:13px}.workflow-strip small{color:#d8c8bf;margin-top:3px;font-size:10px}.workflow-strip>i{color:#ae8d79;font-style:normal}.workspace-section{padding:88px max(6vw,56px)}.workspace-section.tinted{background:#f8f2e9;border-block:1px solid #eee4d8}.section-heading{grid-template-columns:1fr minmax(320px,570px) auto;align-items:end;gap:28px;max-width:1320px;margin:0 auto 30px;display:grid}.section-heading>div{align-items:baseline;gap:14px;display:flex}.section-number{color:var(--orange);font-family:Georgia,serif;font-size:14px}.section-heading h2{letter-spacing:-.03em;margin:0;font-family:Songti SC,STSong,serif;font-size:34px}.section-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.75}.secondary-button{min-height:42px;color:var(--brown);white-space:nowrap;background:#fff;border:1px solid #d8c9ba;padding:0 17px}.secondary-button:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-1px)}.panel{border:1px solid var(--line);max-width:1320px;box-shadow:var(--shadow);background:#fff;border-radius:18px;margin-inline:auto;overflow:hidden}.overhead-panel{grid-template-columns:1.35fr repeat(3,minmax(120px,.8fr)) .65fr;align-items:center;gap:18px;margin-bottom:20px;padding:20px;display:grid;overflow:visible}.overhead-intro span,.overhead-intro strong,.overhead-intro small{display:block}.overhead-intro span{color:var(--orange);letter-spacing:.14em;font-size:9px;font-weight:800}.overhead-intro strong{margin:5px 0;font-family:Songti SC,serif;font-size:19px}.overhead-intro small,.overhead-panel label>small{color:var(--muted);font-size:9px;line-height:1.5}.overhead-panel label>span{color:var(--brown);margin-bottom:7px;font-size:11px;font-weight:800;display:block}.overhead-panel input{height:40px;padding:0 34px 0 11px}.overhead-total{border-left:1px solid var(--line);padding-left:18px}.overhead-total span,.overhead-total strong{display:block}.overhead-total span{color:var(--muted);font-size:9px}.overhead-total strong{color:var(--orange);margin-top:4px;font-family:Georgia,serif;font-size:25px}.panel-note{color:#7e6858;background:#fff9f0;border-bottom:1px solid #f0e4d5;padding:12px 20px;font-size:12px}.panel-note span{color:#fff;background:#f2b27c;border-radius:5px;margin-right:8px;padding:3px 7px;font-size:10px;font-weight:700}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:840px}.data-table th{text-align:left;border-bottom:1px solid var(--line);color:#8a7d72;letter-spacing:.08em;white-space:nowrap;background:#fbf8f3;padding:13px 16px;font-size:10px;font-weight:700}.data-table td{color:#5b5048;vertical-align:middle;border-bottom:1px solid #eee7de;padding:13px 16px;font-size:13px}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fffdf9}.data-table input,.data-table select{height:38px;padding:0 10px}.name-cell{align-items:center;gap:10px;display:flex}.name-cell>span{color:#c5b5a7;font-family:Georgia,serif;font-size:11px}.name-cell input{background:0 0;border-color:#0000;min-width:160px;font-weight:600}.name-cell input:hover,.name-cell input:focus{border-color:var(--line);background:#fff}.number-input{max-width:130px}.money-input{align-items:center;display:flex;position:relative}.money-input>span{color:#9b887b;z-index:1;position:absolute;left:11px}.money-input input{padding-left:26px}.unit-cost{color:var(--brown);font-variant-numeric:tabular-nums;white-space:nowrap}.unit-cost small{color:var(--muted);font-weight:400}.icon-button{cursor:pointer;background:0 0;border:0;border-radius:8px;width:30px;height:30px;font-size:20px;line-height:1}.icon-button.danger{color:#ba9c8e}.icon-button.danger:hover{color:var(--red);background:#fff0ef}.empty-state{color:var(--muted);place-items:center;gap:7px;padding:54px 20px;display:grid}.empty-state strong{color:var(--ink)}.recipe-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:22px;max-width:1320px;margin:auto;display:grid}.recipe-directory{box-shadow:none;grid-area:1/2;margin:0;position:sticky;top:96px;overflow:hidden}.recipe-directory-tools{border-bottom:1px solid var(--line);gap:9px;padding:0 14px 14px;display:grid}.recipe-search>span{top:5px}.recipe-search input{height:38px;font-size:12px}.category-create-row{grid-template-columns:minmax(0,1fr) 58px;gap:7px;display:grid}.category-create-row input{height:36px;padding:0 10px;font-size:11px}.category-create-row button{background:var(--brown);color:#fff;cursor:pointer;border:0;border-radius:9px;font-size:10px;font-weight:800}.category-create-row button:hover{background:var(--brown-dark)}.category-create-row button:disabled{opacity:.42;cursor:not-allowed}.recipe-category-menu{max-height:610px;overflow-y:auto}.recipe-category-group{border-bottom:1px solid #eee7de}.recipe-category-group:last-child{border-bottom:0}.recipe-category-toggle{cursor:pointer;background:#fff;border:0;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:0 16px;display:flex}.recipe-category-toggle:hover{background:#fbf6ef}.recipe-category-toggle>span{align-items:center;gap:9px;display:flex}.recipe-category-toggle i{background:var(--cream);width:20px;height:20px;color:var(--orange);border-radius:7px;place-items:center;font-size:13px;font-style:normal;font-weight:800;display:grid}.recipe-category-toggle strong{color:var(--brown);font-size:12px}.recipe-category-toggle>b{color:#8b796b;background:#f4eee7;border-radius:8px;place-items:center;min-width:24px;height:24px;font-size:10px;display:grid}.recipe-category-items{background:#fffdf9;padding:0 0 7px;animation:.16s ease-out category-open}@keyframes category-open{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}.category-empty{color:#aa9c91;padding:12px 20px 16px 45px;font-size:10px}.recipe-directory-footer{border-top:1px solid var(--line);color:var(--muted);text-align:right;background:#fbf8f3;padding:11px 16px;font-size:9px}.list-title{color:var(--muted);justify-content:space-between;align-items:center;padding:19px 20px 12px;font-size:12px;display:flex}.list-title b{background:var(--cream);min-width:24px;height:24px;color:var(--brown);border-radius:8px;place-items:center;font-size:11px;display:grid}.recipe-list-item{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:calc(100% - 16px);margin:4px 8px;padding:12px;display:grid}.recipe-list-item:hover{background:#fbf6ef}.recipe-list-item.active{background:var(--orange-soft);box-shadow:inset 3px 0 var(--orange)}.recipe-avatar{background:var(--brown);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;font-family:serif;font-weight:700;display:grid}.recipe-list-item strong,.recipe-list-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.recipe-list-item strong{color:var(--ink);font-size:13px}.recipe-list-item small{color:var(--muted);margin-top:4px;font-size:10px}.recipe-list-item em{color:#a18d7f;white-space:nowrap;font-size:10px;font-style:normal}.small-empty{text-align:center;color:var(--muted);padding:36px 16px;font-size:12px}.recipe-editor{box-shadow:none;grid-area:1/1;margin:0;padding:28px;overflow:visible}.editor-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:20px;padding-bottom:22px;display:flex}.recipe-title-fields{flex:1;grid-template-columns:minmax(0,1fr) 170px;align-items:end;gap:20px;min-width:0;display:grid}.recipe-title-fields>div{min-width:0}.recipe-category-field>span{color:var(--muted);letter-spacing:.08em;margin-bottom:7px;font-size:9px;font-weight:800;display:block}.recipe-category-field select{height:40px;color:var(--brown);background:#fffaf4;padding:0 10px;font-size:12px;font-weight:700}.kicker{color:var(--orange);text-transform:uppercase;letter-spacing:.16em;margin-bottom:7px;font-size:9px;font-weight:800;display:block}.recipe-name-input{background:0 0;border:0;height:auto;padding:0;font-family:Songti SC,serif;font-size:27px;font-weight:700}.recipe-name-input:focus{box-shadow:none;border:0}.text-danger{color:#b78175;cursor:pointer;background:0 0;border:0;padding:8px;font-size:11px}.text-danger:hover{color:var(--red)}.recipe-meta-grid{grid-template-columns:1.5fr .6fr;gap:18px;margin:22px 0;display:grid}.recipe-meta-grid label>span,.extra-costs label>span{color:var(--muted);margin-bottom:7px;font-size:10px;font-weight:700;display:block}.recipe-meta-grid select,.recipe-meta-grid input{height:42px;padding:0 12px}.suffix-input{position:relative}.suffix-input input{padding-right:35px}.suffix-input b{color:#9b887b;font-size:11px;font-weight:500;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.subsection-title{justify-content:space-between;align-items:end;margin:30px 0 10px;display:flex}.subsection-title strong,.subsection-title span{display:block}.subsection-title strong{font-size:14px}.subsection-title span{color:var(--muted);margin-top:3px;font-size:10px}.subsection-title button{color:var(--orange);cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:700}.recipe-table{border:1px solid var(--line);min-width:700px}.recipe-table select{min-width:180px}.suffix-input.compact{width:130px}.suffix-input.compact input{height:38px}.extra-costs{grid-template-columns:repeat(3,1fr);gap:14px;padding:22px 0;display:grid}.extra-costs input{height:40px}.applied-overheads{background:#fffaf3;border:1px dashed #dbcabb;border-radius:13px;grid-template-columns:1.2fr repeat(4,1fr);align-items:center;gap:12px;margin:0 0 22px;padding:14px 16px;display:grid}.applied-overheads>div{border-left:1px solid #eadfd3;padding-left:12px}.applied-overheads .applied-title{border-left:0;padding-left:0}.applied-overheads span,.applied-overheads strong,.applied-overheads small{display:block}.applied-overheads span{color:var(--muted);font-size:9px}.applied-overheads strong{color:var(--brown);margin-top:4px;font-family:Georgia,serif;font-size:15px}.applied-overheads small{color:#a49183;margin-top:3px;font-size:8px}.applied-overheads .applied-title>span{color:var(--ink);font-size:11px;font-weight:800}.applied-overheads .applied-total strong{color:var(--orange)}.recipe-confirm-bar{background:#fffdf9;border:1px solid #dfd4c9;border-radius:13px;justify-content:space-between;align-items:center;gap:18px;margin:0 0 22px;padding:16px 18px;display:flex}.recipe-confirm-bar>div{min-width:0}.recipe-confirm-bar strong,.recipe-confirm-bar span{display:block}.recipe-confirm-bar strong{color:var(--brown);font-size:13px}.recipe-confirm-bar span{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.5}.recipe-confirm-bar button{background:var(--green);color:#fff;white-space:nowrap;cursor:pointer;border:0;border-radius:11px;min-height:42px;padding:0 18px;font-size:12px;font-weight:800;transition:transform .2s,background .2s,opacity .2s;box-shadow:0 8px 20px #2e7d5b33}.recipe-confirm-bar button:hover{background:#246949;transform:translateY(-1px)}.recipe-confirm-bar button:disabled{cursor:wait;opacity:.65;transform:none}.recipe-confirm-bar.saved{background:#eef8f2;border-color:#bcdcc9}.recipe-confirm-bar.error{background:#fff2f0;border-color:#e7bdb7}.recipe-confirm-bar.error strong{color:var(--red)}.recipe-confirm-bar.error button{background:var(--red);box-shadow:0 8px 20px #b84a422e}.recipe-total{background:var(--brown);color:#fff;grid-template-columns:.8fr .8fr 1.2fr;margin:6px -28px -28px;padding:20px 28px;display:grid}.recipe-total div{border-right:1px solid #ffffff24;padding:0 22px}.recipe-total div:first-child{padding-left:0}.recipe-total div:last-child{border:0}.recipe-total span,.recipe-total strong,.recipe-total small{display:block}.recipe-total span{color:#d9c8bd;font-size:10px}.recipe-total strong{margin-top:5px;font-family:Georgia,serif;font-size:23px}.recipe-total .highlight strong{color:#ffc59f;font-size:27px}.recipe-total small{color:#ae9689;margin-top:3px;font-size:9px}.editor-empty{min-height:440px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;margin:0;display:flex}.editor-empty>span{color:#dac9ba;font-family:Georgia,serif;font-size:40px}.editor-empty strong{color:var(--ink);margin-top:8px;font-size:18px}.editor-empty p{font-size:12px}.editor-empty button{margin-top:12px}.profit-cards{grid-template-columns:repeat(4,1fr);gap:14px;max-width:1320px;margin:0 auto 20px;display:grid}.profit-cards article{border:1px solid var(--line);background:#fff;border-radius:15px;flex-direction:column;justify-content:space-between;min-height:124px;padding:20px;display:flex}.profit-cards article>span{color:var(--muted);font-size:10px}.profit-cards article>strong{color:var(--brown);font-family:Georgia,Songti SC,serif;font-size:26px;line-height:1.1}.profit-cards article>strong small{color:var(--muted);font-family:inherit;font-size:11px}.profit-cards article>small{color:var(--muted);font-size:9px}.profit-cards .best-card{background:var(--brown);border-color:var(--brown);color:#fff}.profit-cards .best-card>span,.profit-cards .best-card>small{color:#d6c2b5}.profit-cards .best-card>strong{color:#ffc59f;font-family:Songti SC,serif;font-size:18px}.progress{background:#eee4da;border-radius:4px;height:4px;overflow:hidden}.progress b{background:var(--orange);border-radius:inherit;height:100%;display:block}.profit-panel{box-shadow:none}.profit-toolbar{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,.8fr) minmax(390px,1.4fr) 130px;align-items:center;gap:14px;padding:16px 18px;display:grid}.search-box{position:relative}.search-box>span{z-index:1;color:#9e8e81;font-size:20px;position:absolute;top:7px;left:12px}.search-box input{height:40px;padding-left:36px}.chip-group{align-items:center;gap:5px;display:flex}.chip-group button{min-width:42px;height:34px;color:var(--muted);cursor:pointer;background:#fff;border:1px solid #e3d8cd;border-radius:9px;padding:0 9px;font-size:10px}.chip-group button:hover,.chip-group button.active{border-color:var(--brown);background:var(--brown);color:#fff}.status-select{height:40px;padding:0 10px}.profit-table{min-width:1120px}.product-cell{align-items:center;gap:12px;min-width:230px;display:flex}.price-dot{width:42px;height:42px;color:var(--brown);background:#f6e6d8;border-radius:13px;flex:none;place-items:center;font-family:Georgia,serif;font-size:12px;font-weight:700;display:grid}.product-cell strong,.product-cell small{display:block}.product-cell strong{color:var(--ink)}.product-cell small{color:var(--muted);margin-top:4px;font-size:9px}.compact-price{width:86px}.compact-price input{height:36px}.recipe-link{color:var(--brown);cursor:pointer;background:0 0;border:0;border-bottom:1px dotted #b99782;padding:0;font-size:12px}.recipe-link span{color:var(--orange);margin-left:4px}.pending-text{color:#b0a49b}.positive{color:var(--green)}.negative{color:var(--red)}.margin-cell{align-items:center;gap:9px;display:flex}.margin-cell>strong{min-width:48px;color:var(--ink);font-variant-numeric:tabular-nums}.status-badge{white-space:nowrap;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:700}.status-badge.excellent{color:#257451;background:#e4f4eb}.status-badge.healthy{color:#617b28;background:#edf4df}.status-badge.watch{color:#aa6e1a;background:#fff2d8}.status-badge.risk{color:#ad4b43;background:#fae4e1}.status-badge.pending{color:#958980;background:#f1eeeb}.table-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:14px 18px;font-size:10px;display:flex}.legend{border-radius:2px;width:7px;height:7px;margin-right:3px;display:inline-block}.legend.excellent{background:#51a57d}.legend.healthy{background:#91a957}.legend.watch{background:#e8a949}.legend.risk{background:#d06d64}footer{color:#fff;background:#2d211a;justify-content:space-between;align-items:center;gap:30px;min-height:160px;padding:42px max(6vw,56px);display:flex}footer>div{align-items:center;gap:12px;display:flex}.brand-mark.small{width:36px;height:36px;color:var(--brown);background:#fff1e5;font-size:18px}footer strong,footer small{display:block}footer strong{font-size:13px}footer small{color:#a9978d;margin-top:4px;font-size:10px}footer p{color:#9f8e84;text-align:right;margin:0;font-size:10px}.app-main.mobile-mode{overscroll-behavior-x:none;touch-action:pan-y;background:var(--paper);width:min(100%,620px);min-height:100vh;margin:0 auto;overflow-x:hidden;box-shadow:0 0 70px #4c2f1d1a}.mobile-mode .topbar{grid-template-columns:minmax(0,1fr) auto;height:64px;padding:0 14px}.mobile-mode .brand{gap:8px;min-width:0}.mobile-mode .brand-mark{border-radius:11px;width:36px;height:36px;font-size:18px}.mobile-mode .brand strong{font-size:13px}.mobile-mode .brand small,.mobile-mode .page-context,.mobile-mode .save-state,.mobile-mode .reset-button{display:none}.mobile-mode .topbar-actions{gap:8px}.mobile-mode .ghost-button{padding:8px 0;font-size:11px}.mobile-mode .page-stage{min-height:calc(100vh - 64px)}.mobile-mode .workspace-section.subpage{min-height:calc(100vh - 64px);padding:16px 10px 104px}.mobile-mode .section-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:10px;display:grid}.mobile-mode .section-heading>div{gap:9px}.mobile-mode .section-heading h2{font-size:24px}.mobile-mode .section-heading p{grid-area:2/1/auto/-1;font-size:10px;line-height:1.55}.mobile-mode .secondary-button{border-radius:9px;min-height:38px;padding:0 10px;font-size:10px}.mobile-mode .panel{border-radius:13px;max-width:100%;box-shadow:0 8px 22px #4c2f1d0e}.mobile-mode .overhead-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.mobile-mode .overhead-intro{border-bottom:1px solid var(--line);grid-column:1/-1;padding-bottom:8px}.mobile-mode .overhead-intro strong{font-size:17px}.mobile-mode .overhead-panel label>span{margin-bottom:5px;font-size:10px}.mobile-mode .overhead-panel label>small{display:none}.mobile-mode .overhead-panel input,.mobile-mode .overhead-panel select{min-height:40px;padding-left:8px}.mobile-mode .overhead-total{border-left:0;border-top:1px solid var(--line);grid-column:1/-1;justify-content:space-between;align-items:baseline;padding:8px 0 0;display:flex}.mobile-mode .overhead-total strong{font-size:22px}.mobile-mode .panel-note{padding:9px 11px;line-height:1.5}.mobile-mode .page-stage,.mobile-mode .workspace-section,.mobile-mode .table-panel,.mobile-mode .table-scroll{max-width:100%}.mobile-mode .table-scroll{overflow:visible}.mobile-mode .data-table{min-width:0;display:block}.mobile-mode .data-table thead{display:none}.mobile-mode .data-table tbody{gap:8px;max-width:100%;padding:8px;display:grid}.mobile-mode .data-table tr{border:1px solid var(--line);background:#fff;border-radius:11px;max-width:100%;display:block;overflow:hidden;box-shadow:0 4px 12px #4c2f1d09}.mobile-mode .data-table td{border-bottom:1px solid #eee7de;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;max-width:100%;min-height:44px;padding:7px 9px;font-size:12px;display:grid}.mobile-mode .data-table td:last-child{border-bottom:0}.mobile-mode .data-table td[data-label]:before{content:attr(data-label);color:#97887c;letter-spacing:.04em;font-size:9px;font-weight:800}.mobile-mode .data-table td:not([data-label]){justify-content:flex-end;min-height:34px;padding-block:3px;display:flex}.mobile-mode .data-table td>*,.mobile-mode .product-cell,.mobile-mode .margin-cell{min-width:0;max-width:100%}.mobile-mode .data-table input,.mobile-mode .data-table select{background:#fffdf9;border-color:#e5dbd1;min-width:0;max-width:100%;height:40px}.mobile-mode .name-cell,.mobile-mode .name-cell input{min-width:0}.mobile-mode .number-input,.mobile-mode .recipe-table select,.mobile-mode .suffix-input.compact{width:100%;min-width:0;max-width:100%}.mobile-mode .unit-cost{justify-self:start}.mobile-mode .recipe-layout{grid-template-columns:minmax(0,1fr);gap:10px;max-width:100%}.mobile-mode .recipe-directory{grid-area:1/1;position:static}.mobile-mode .list-title{padding:13px 14px 9px}.mobile-mode .recipe-directory-tools{gap:7px;padding:0 10px 10px}.mobile-mode .recipe-category-menu{max-height:310px}.mobile-mode .recipe-category-toggle{min-height:46px;padding-inline:13px}.mobile-mode .recipe-list-item{min-height:54px;padding:7px 8px}.mobile-mode .recipe-list-item em{text-overflow:ellipsis;max-width:58px;overflow:hidden}.mobile-mode .recipe-directory-footer{padding:8px 12px}.mobile-mode .recipe-editor{grid-area:2/1;min-width:0;padding:13px}.mobile-mode .editor-header{gap:8px;padding-bottom:14px}.mobile-mode .recipe-title-fields,.mobile-mode .recipe-meta-grid{grid-template-columns:1fr;gap:10px}.mobile-mode .recipe-name-input{font-size:22px}.mobile-mode .recipe-meta-grid{margin:15px 0}.mobile-mode .recipe-meta-grid select,.mobile-mode .recipe-meta-grid input,.mobile-mode .extra-costs input{min-height:41px}.mobile-mode .subsection-title{margin:20px 0 8px}.mobile-mode .recipe-table tbody{padding-inline:0}.mobile-mode .extra-costs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:15px 0}.mobile-mode .extra-costs label>span{margin-bottom:5px;font-size:9px}.mobile-mode .extra-costs .money-input>span{left:8px}.mobile-mode .extra-costs .money-input input{padding-left:21px}.mobile-mode .applied-overheads{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px;padding:10px}.mobile-mode .applied-overheads .applied-title{grid-column:1/-1}.mobile-mode .applied-overheads>div:nth-child(2){border-left:0;padding-left:0}.mobile-mode .recipe-confirm-bar{flex-direction:column;align-items:stretch;gap:11px;margin-bottom:14px;padding:11px}.mobile-mode .recipe-confirm-bar button{width:100%;min-height:43px}.mobile-mode .recipe-total{grid-template-columns:1fr;gap:10px;margin:5px -13px -13px;padding:14px 13px}.mobile-mode .recipe-total div{border-bottom:1px solid #ffffff21;border-right:0;padding:0 0 9px}.mobile-mode .recipe-total div:last-child{border-bottom:0;padding-bottom:0}.mobile-mode .profit-cards{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:9px}.mobile-mode .profit-cards article{min-height:98px;padding:11px}.mobile-mode .profit-cards article>strong{font-size:21px}.mobile-mode .profit-toolbar{grid-template-columns:1fr;gap:8px;padding:10px}.mobile-mode .profit-toolbar .status-select{grid-row:2;min-width:0;max-width:100%}.mobile-mode .profit-toolbar .chip-group{flex-wrap:wrap;grid-area:3/1;gap:4px;max-width:100%;padding:0;overflow-x:visible}.mobile-mode .profit-toolbar .chip-group button{min-width:38px;height:32px;padding-inline:7px}.mobile-mode .profit-table .product-cell{align-items:flex-start;min-width:0}.mobile-mode .product-cell strong,.mobile-mode .product-cell small{white-space:normal;overflow-wrap:anywhere}.mobile-mode .profit-table .compact-price{width:100%}.mobile-mode .margin-cell{flex-wrap:wrap}.mobile-mode .table-footer{flex-direction:column;align-items:flex-start;gap:6px;padding:9px 10px;line-height:1.6}.mobile-mode .bottom-nav{width:min(590px,100% - 18px);bottom:max(9px, env(safe-area-inset-bottom));border-radius:19px}.mobile-mode .bottom-nav button{column-gap:7px;min-height:57px;padding:6px 9px}.mobile-mode .bottom-nav b{display:none}.mobile-mode .bottom-nav button{text-align:center;grid-template-columns:1fr}.mobile-mode .bottom-nav span,.mobile-mode .bottom-nav small{justify-self:center}@media (width<=1080px){.topbar{grid-template-columns:1fr auto 1fr}.topbar nav{display:none}.hero{grid-template-columns:1fr .8fr;gap:5vw;padding-inline:48px}.workflow-strip{gap:18px;padding-inline:40px}.workflow-strip div{min-width:auto}.section-heading{grid-template-columns:1fr auto}.section-heading>p{grid-area:2/1/auto/-1}.profit-cards{grid-template-columns:repeat(2,1fr)}.profit-toolbar{grid-template-columns:1fr auto}.chip-group{grid-area:2/1/auto/-1}.overhead-panel{grid-template-columns:1.2fr repeat(3,1fr)}.overhead-total{border-left:0;border-top:1px solid var(--line);grid-column:1/-1;justify-content:space-between;align-items:baseline;padding:12px 0 0;display:flex}.applied-overheads{grid-template-columns:repeat(2,1fr)}.applied-overheads .applied-title{grid-column:1/-1}.applied-overheads>div:nth-child(2){border-left:0;padding-left:0}}@media (width<=760px){html{scroll-padding-top:68px}body{font-size:14px}.topbar{height:64px;padding:0 14px}.brand{gap:8px}.brand-mark{width:36px;height:36px}.brand small{display:none}.ghost-button{font-size:11px}.page-context span{display:none}.page-context strong{font-size:13px}.topbar-actions{gap:9px}.save-state{display:none}.hero{grid-template-columns:1fr;min-height:auto;padding:56px 22px 48px}.hero h1{font-size:44px}.hero-copy>p{font-size:14px}.hero-actions{flex-direction:column;align-items:flex-start;gap:16px}.hero-summary{justify-self:stretch;max-width:none}.workflow-strip{justify-content:space-between;gap:8px;padding:18px 22px}.workflow-strip div{gap:7px}.workflow-strip b{width:29px;height:29px}.workflow-strip strong{font-size:11px}.workflow-strip small{display:none}.workflow-strip>i{font-size:11px}.workspace-section{padding:62px 16px}.workspace-section.subpage{min-height:calc(100vh - 64px);padding:28px 14px 118px}.section-heading{grid-template-columns:1fr auto;gap:14px}.section-heading h2{font-size:27px}.section-heading p{font-size:12px}.secondary-button{padding:0 12px;font-size:11px}.panel{border-radius:14px}.overhead-panel{grid-template-columns:1fr;gap:14px;padding:16px}.overhead-total{grid-column:auto}.overhead-intro{border-bottom:1px solid var(--line);padding-bottom:10px}.recipe-layout{grid-template-columns:1fr}.recipe-directory{grid-area:1/1;position:static}.recipe-category-menu{max-height:330px}.recipe-editor{grid-area:2/1;padding:20px}.recipe-title-fields{grid-template-columns:1fr;gap:14px}.recipe-meta-grid,.extra-costs{grid-template-columns:1fr}.applied-overheads{grid-template-columns:1fr 1fr}.recipe-confirm-bar{flex-direction:column;align-items:stretch}.recipe-confirm-bar button{width:100%}.recipe-total{grid-template-columns:1fr;gap:15px;margin:6px -20px -20px;padding:18px 20px}.recipe-total div{border-bottom:1px solid #ffffff21;border-right:0;padding:0 0 13px}.recipe-total div:last-child{border-bottom:0;padding-bottom:0}.profit-cards{grid-template-columns:1fr 1fr;gap:9px}.profit-cards article{min-height:112px;padding:16px}.profit-cards article>strong{font-size:22px}.profit-toolbar{grid-template-columns:1fr}.status-select{grid-row:2}.chip-group{grid-area:3/1;padding-bottom:3px;overflow-x:auto}.table-footer{flex-direction:column;align-items:flex-start;gap:8px}footer{flex-direction:column;align-items:flex-start;padding:34px 22px}footer p{text-align:left}.bottom-nav{width:calc(100% - 20px);bottom:max(10px, env(safe-area-inset-bottom));border-radius:19px}.bottom-nav button{column-gap:7px;min-height:56px;padding:6px 10px}}@media (width<=480px){.hero h1{font-size:38px}.workflow-strip span strong{font-size:10px}.workflow-strip b{display:none}.section-heading{flex-wrap:wrap;align-items:center;display:flex}.section-heading>div{flex:1}.section-heading p{order:3}.profit-cards{grid-template-columns:1fr}.brand strong{font-size:13px}.page-context{display:none}.topbar{grid-template-columns:1fr auto}.bottom-nav b{display:none}.bottom-nav button{text-align:center;grid-template-columns:1fr}.bottom-nav span,.bottom-nav small{justify-self:center}.login-card{border-radius:21px;padding:26px 22px}.auth-shell{padding:16px}.applied-overheads{grid-template-columns:1fr}.applied-overheads>div,.applied-overheads>div:nth-child(2){border-top:1px solid #eadfd3;border-left:0;padding:10px 0 0}.applied-overheads .applied-title{border-top:0;padding-top:0}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
