@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:Manrope,system-ui,sans-serif;color:#2d211f;background:#fff9f7;font-synthesis:none;--red:#b3261e;--red-dark:#8f1e18;--ink:#2d211f;--muted:#746966;--line:#eadfdb;--card:#fff;--cream:#fff3ef;--shadow:0 10px 35px rgba(75,33,23,.07)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(179,38,30,.24);outline-offset:2px}.app-shell{min-height:100vh}.side-nav{display:none}main{min-height:100vh;padding:0 0 calc(92px + env(safe-area-inset-bottom))}.page{width:min(100%,1100px);margin:0 auto;padding:24px 18px 48px}.mobile-brand{display:flex;align-items:center;gap:10px;padding:14px 2px 18px}.mobile-brand img{width:42px;height:42px;border-radius:50%;object-fit:cover}.mobile-brand div{display:flex;flex-direction:column}.mobile-brand strong{font-size:20px;line-height:1.1;color:var(--red)}.mobile-brand span{font-size:11px;color:var(--muted)}.welcome{position:relative;overflow:hidden;min-height:210px;padding:28px 24px;border-radius:28px;background:linear-gradient(135deg,#fff0eb,#fff9f6 65%);border:1px solid #f3ded7}.welcome>div{position:relative;z-index:1;max-width:300px}.welcome .eyebrow{font-size:13px;font-weight:700;color:var(--red);text-transform:uppercase;letter-spacing:.08em}.welcome h1{font-size:32px;line-height:1.08;margin:10px 0 12px;letter-spacing:-.04em}.welcome p{font-size:14px;line-height:1.5;color:var(--muted);margin:0;width:80%}.welcome img{position:absolute;width:175px;height:175px;object-fit:cover;border-radius:50%;right:-45px;bottom:-22px;opacity:.95}.create-recipe{width:100%;min-height:76px;margin:16px 0 28px;padding:12px 14px;border:0;border-radius:20px;background:var(--red);color:#fff;display:flex;align-items:center;gap:13px;text-align:left;box-shadow:0 10px 26px #b3261e33;transition:.2s}.create-recipe:hover{background:var(--red-dark)}.create-recipe:active{opacity:.86}.create-recipe .plus{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:15px;background:#ffffff29}.create-recipe>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.create-recipe strong{font-size:16px}.create-recipe small{font-size:11px;opacity:.8}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:25px 0 13px}.section-heading h2{font-size:19px;margin:0 0 3px}.section-heading p{font-size:12px;color:var(--muted);margin:0}.section-heading button{display:flex;align-items:center;gap:3px;min-height:44px;border:0;background:transparent;color:var(--red);font-weight:700}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats-grid article{display:flex;align-items:center;gap:12px;padding:16px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 4px 15px #48231a09}.stat-icon,.item-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px}.stat-icon svg,.item-icon svg{width:21px}.stat-icon.red{background:#ffebe8;color:#a92a23}.stat-icon.gold,.item-icon.amber{background:#fff5d9;color:#a96b0a}.stat-icon.pink,.item-icon.rose{background:#ffedf2;color:#b8385a}.stat-icon.green{background:#e7f7ee;color:#28724a}.stats-grid article div{display:flex;flex-direction:column}.stats-grid article strong{font-size:20px}.stats-grid article span:last-child{font-size:11px;color:var(--muted)}.recipe-preview-list{display:flex;flex-direction:column;gap:9px}.recipe-preview-list button{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:17px;background:#fff;text-align:left;min-height:72px}.food-thumb{display:grid;place-items:center;flex:0 0 50px;height:50px;border-radius:14px;background:#f8e9e3;color:var(--red)}.preview-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.preview-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.preview-copy small,.preview-price small{color:var(--muted);font-size:10px}.preview-price{text-align:right;display:flex;flex-direction:column;gap:3px}.preview-price strong{font-size:13px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 7px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav button{min-height:55px;border:0;background:transparent;color:#897d79;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:12px}.bottom-nav span{font-size:9px;font-weight:600}.bottom-nav .active{color:var(--red);background:#fff1ed}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 28px}.page-header h1{font-size:30px;letter-spacing:-.04em;margin:0 0 5px}.page-header p{font-size:13px;color:var(--muted);margin:0}.primary-button,.secondary-button{border:0;border-radius:14px;min-height:50px;padding:0 20px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.primary-button{background:var(--red);color:#fff}.primary-button:hover{background:var(--red-dark)}.primary-button.compact{min-height:46px;padding:0 15px}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink)}.search-field{height:50px;display:flex;align-items:center;gap:10px;padding:0 15px;border:1px solid var(--line);border-radius:15px;background:#fff;margin-bottom:18px}.search-field svg{width:19px;color:#918581}.search-field input{width:100%;height:100%;border:0;outline:0;background:transparent}.data-list{display:flex;flex-direction:column;gap:10px}.data-list article{display:flex;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}.item-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.item-copy strong{font-size:14px}.item-copy span,.unit-price span{font-size:11px;color:var(--muted)}.unit-price{text-align:right;display:flex;flex-direction:column;gap:3px}.unit-price strong{font-size:13px}.recipe-grid{display:grid;gap:12px}.recipe-card{padding:20px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 5px 20px #48231a0a}.recipe-card-top{display:flex;align-items:center;justify-content:space-between}.recipe-card-top>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fff0eb;color:var(--red)}.recipe-card-top>div{text-align:right;display:flex;flex-direction:column}.recipe-card-top small,.recipe-card p,.recipe-metrics span{color:var(--muted);font-size:11px}.recipe-card h2{font-size:18px;margin:20px 0 4px}.recipe-card p{margin:0 0 16px}.recipe-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding-top:14px;border-top:1px solid var(--line)}.recipe-metrics div{display:flex;flex-direction:column;gap:5px}.recipe-metrics strong{font-size:13px}.positive{color:#21764c!important}.negative{color:#b3261e!important}.more-list{display:grid;gap:9px}.more-list button{min-height:72px;display:flex;align-items:center;gap:13px;padding:12px 14px;border:1px solid var(--line);border-radius:17px;background:#fff;text-align:left}.item-icon.neutral{background:#f5f0ee;color:#675b57}.more-list button>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.more-list strong{font-size:14px}.more-list small{font-size:11px;color:var(--muted)}.more-list em{font-style:normal;font-size:9px;font-weight:700;color:#8b5550;background:#fff0ed;padding:5px 7px;border-radius:20px}.modal-backdrop{position:fixed;z-index:50;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#2316137a;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(100%,680px);max-height:94dvh;overflow:auto;background:#fff;border-radius:26px 26px 0 0;padding:20px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:var(--shadow)}.modal>header{position:sticky;top:-20px;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:-20px -18px 16px;padding:20px 18px 12px;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.modal h2{font-size:21px;margin:0}.icon-button{display:grid;place-items:center;flex:0 0 44px;height:44px;border:0;border-radius:13px;background:#f7f1ef;color:var(--ink)}.icon-button.danger{color:#a52923}.form-stack{display:flex;flex-direction:column;gap:17px}.form-stack label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:7px}.form-stack input,.form-stack select{width:100%;height:50px;padding:0 13px;border:1px solid #dcd0cc;border-radius:13px;background:#fff;color:var(--ink)}.form-stack label small,.optional{font-size:10px;font-weight:500;color:var(--muted)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calculation-preview{display:flex;align-items:center;justify-content:space-between;padding:15px;border-radius:15px;background:#fff3ef;color:var(--red)}.calculation-preview span{font-size:12px}.calculation-preview strong{font-size:16px}.form-error{padding:12px 14px;border-radius:12px;background:#ffebe8;color:#891d17;font-size:12px}.form-section{padding:15px;border-radius:18px;background:#fcf9f8;border:1px solid var(--line)}.section-title div{display:flex;flex-direction:column;gap:3px}.section-title small{font-size:10px;color:var(--muted)}.recipe-line{display:grid;grid-template-columns:minmax(110px,2fr) minmax(70px,.8fr) minmax(62px,.7fr) 44px;gap:6px;margin-top:11px}.recipe-line input,.recipe-line select{height:44px;padding:0 8px;font-size:12px}.unit-label{display:grid;place-items:center;height:44px;font-size:12px}.inline-actions{display:flex;gap:8px;margin-top:12px}.inline-actions button{flex:1;min-height:44px;padding:0 8px;font-size:12px}.cost-result{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cost-result div{padding:12px 9px;border-radius:13px;background:#f8f3f1;display:flex;flex-direction:column;gap:5px}.cost-result span{font-size:9px;color:var(--muted)}.cost-result strong{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:760px){.app-shell{display:grid;grid-template-columns:245px 1fr}.side-nav{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:26px 16px;border-right:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:11px;border:0;background:transparent;text-align:left;padding:0 8px 28px}.brand img{width:48px;height:48px;border-radius:50%}.brand span{display:flex;flex-direction:column}.brand strong{color:var(--red);font-size:21px}.brand small{font-size:9px;color:var(--muted)}.side-nav nav{display:flex;flex-direction:column;gap:5px}.side-nav nav button{display:flex;align-items:center;gap:12px;min-height:50px;padding:0 14px;border:0;border-radius:13px;background:transparent;color:#6d615d;font-weight:600}.side-nav nav .active{background:#fff0ed;color:var(--red)}.demo-note{margin-top:auto;padding:14px;border-radius:14px;background:#fff7f4;display:flex;flex-direction:column;gap:5px}.demo-note strong{font-size:11px;color:var(--red)}.demo-note span{font-size:9px;line-height:1.4;color:var(--muted)}main{padding:0}.bottom-nav,.mobile-brand{display:none}.page{padding:46px 42px}.home-page{max-width:1100px}.welcome{min-height:270px;padding:42px}.welcome h1{font-size:44px}.welcome img{width:280px;height:280px;right:20px;bottom:-55px}.create-recipe{max-width:480px;margin-top:-38px;position:relative;z-index:2;margin-left:28px}.stats-grid{grid-template-columns:repeat(4,1fr)}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.more-list{grid-template-columns:repeat(2,1fr)}.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:26px;max-height:90vh}.modal>header{border-radius:26px 26px 0 0}}@media(min-width:1100px){.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.pricing-section{display:flex;flex-direction:column;gap:16px;padding:17px;border:1px solid var(--line);border-radius:19px;background:#f9fbfd}.pricing-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pricing-section>header>div{display:flex;flex-direction:column;gap:4px}.pricing-section>header strong{font-size:15px}.pricing-section>header small{color:var(--muted);font-size:10px}.pricing-section>header>span{padding:6px 9px;border-radius:20px;background:#e7f5ee;color:#1e7048;font-size:10px;font-weight:800;white-space:nowrap}.pricing-fields{display:grid;grid-template-columns:1fr;gap:12px}.recommended-price{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;padding:13px;border-radius:14px;background:#eef3f8}.recommended-price span{grid-column:1/-1;color:var(--muted);font-size:10px}.recommended-price strong{font-size:17px}.recommended-price button{min-height:44px;padding:0 13px;border:0;border-radius:11px;background:var(--red);color:#fff;font-size:11px;font-weight:800}.tax-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tax-row>div{display:flex;flex-direction:column;gap:4px}.tax-row strong{font-size:13px}.tax-row small{color:var(--muted);font-size:10px}.tax-row>.switch{flex:0 0 auto;display:block}.profitability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.profitability-grid>div{display:flex;min-width:0;flex-direction:column;gap:6px;padding:12px}.profitability-grid>div:nth-child(2n){border-left:1px solid var(--line)}.profitability-grid>div:nth-child(n+3){border-top:1px solid var(--line)}.profitability-grid span{color:var(--muted);font-size:9px}.profitability-grid strong{overflow:hidden;text-overflow:ellipsis;font-size:12px}.recipe-form .pricing-section input{background:#fff}@media(min-width:560px){.pricing-fields{grid-template-columns:1fr 1fr}.profitability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profitability-grid>div:nth-child(2n){border-left:0}.profitability-grid>div+div{border-left:1px solid var(--line)}.profitability-grid>div:nth-child(n+3){border-top:0}.profitability-grid>div:nth-child(n+4){border-top:1px solid var(--line)}.profitability-grid>div:nth-child(4){border-left:0}}.business-screen{padding:0!important;background:#fff;min-height:100dvh}.business-container{width:min(100%,560px);margin:0 auto;padding:calc(28px + env(safe-area-inset-top)) 22px calc(40px + env(safe-area-inset-bottom))}.business-logo{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px 0 52px}.business-logo img{width:64px;height:64px;border-radius:50%;object-fit:cover}.business-logo div{display:flex;flex-direction:column}.business-logo strong{font-size:28px;line-height:1;color:var(--red)}.business-logo span{font-size:11px;color:var(--muted);margin-top:5px}.business-intro{text-align:center}.business-kicker{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--red)}.business-intro h1{margin:12px 0 13px;font-size:29px;letter-spacing:-.04em}.business-intro p{margin:0 auto;max-width:420px;color:var(--muted);font-size:14px;line-height:1.55}.business-list{display:flex;flex-direction:column;gap:10px;margin-top:38px}.business-list button{display:flex;align-items:center;gap:14px;width:100%;min-height:92px;padding:14px;border:1px solid var(--line);border-radius:22px;background:#fff;text-align:left;box-shadow:0 9px 30px #48231a12}.business-list button:active,.add-business:active{opacity:.72}.business-avatar{display:grid;place-items:center;flex:0 0 62px;height:62px;border-radius:18px;background:#fff7f4;overflow:hidden}.business-avatar img{width:58px;height:58px;object-fit:cover;border-radius:50%}.business-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.business-copy strong{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-copy small{font-size:12px;color:var(--muted)}.business-list button>svg{color:#a89d99}.business-divider{height:1px;margin:34px 0 26px;background:var(--line)}.add-business{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;border:1px solid #eadfdb;border-radius:18px;background:#fff;color:var(--red);font-weight:700;box-shadow:0 7px 22px #48231a0f}.business-hint{margin:13px auto 0;max-width:320px;text-align:center;font-size:11px;line-height:1.5;color:var(--muted)}.business-registration{padding-top:8px}.registration-heading{text-align:center;margin-bottom:32px}.registration-heading>.icon-button{margin-left:auto}.registration-icon{display:grid;place-items:center;width:66px;height:66px;margin:6px auto 15px;border-radius:21px;background:#fff0ed;color:var(--red)}.registration-heading h1{font-size:28px;margin:0 0 10px}.registration-heading p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 auto;max-width:360px}.input-with-icon{position:relative}.input-with-icon>svg{position:absolute;z-index:1;left:14px;top:15px;width:20px;color:#8d817d}.input-with-icon input{padding-left:44px}.text-button{min-height:48px;border:0;background:transparent;color:var(--muted);font-weight:700}.switch-business{min-height:44px;margin:10px 0 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--red);font-size:11px;font-weight:700}.mobile-brand{width:100%;border:0;background:transparent;text-align:left}.form-notice{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:12px;background:#e7f5ee;color:#1e7048;font-size:12px}.form-notice svg{flex:0 0 20px}.verification-code{height:64px!important;text-align:center;font-size:27px!important;font-weight:800;letter-spacing:.28em;font-variant-numeric:tabular-nums}.code-label{text-align:center}.code-label small{line-height:1.5}.form-stack button:disabled{cursor:not-allowed;opacity:.55}.verification-form .secondary-button{font-size:12px}@media(min-width:760px){.business-container{padding-top:54px}.business-logo{margin-bottom:62px}.business-intro h1{font-size:36px}.business-list button{min-height:98px}.business-registration{padding-top:10px}}.business-logo strong{font-size:31px;font-weight:1000;line-height:.95;letter-spacing:.07em;text-rendering:geometricPrecision;-webkit-text-stroke:.35px currentColor}.business-intro h1{margin-bottom:0}.business-list{margin-top:30px}.logout-button{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;color:#9b3b35;font-size:13px}.logout-button svg{display:block;width:18px;height:18px;flex:0 0 18px}.dashboard-page{padding-top:calc(22px + env(safe-area-inset-top));background:#f8f8fa;min-height:100dvh}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.dashboard-header h1{margin:5px 0 0;font-size:34px;letter-spacing:-.04em}.dashboard-business{display:flex;align-items:center;gap:4px;min-height:30px;padding:0;border:0;background:transparent;color:var(--red);font-size:12px;font-weight:700}.dashboard-logo{width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#fff;overflow:hidden;box-shadow:0 5px 18px #48231a14}.dashboard-logo img{width:100%;height:100%;object-fit:cover}.category-filter{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;margin-bottom:18px;border:1px solid #ded8d6;border-radius:15px;background:#fff;color:#514642;font-weight:700}.dashboard-grid{display:grid;gap:14px}.analytics-card{padding:20px;border:1px solid #ece7e5;border-radius:24px;background:#fff;box-shadow:0 8px 28px #3f27220e}.analytics-title{display:flex;align-items:center;gap:11px}.analytics-title>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#f5efed;color:var(--red)}.analytics-title>span svg{width:21px}.analytics-title>div{display:flex;flex-direction:column;gap:3px}.analytics-title strong{text-transform:uppercase;font-size:12px;letter-spacing:.055em}.analytics-title small{font-size:10px;color:var(--muted)}.donut-chart{position:relative;width:190px;height:190px;margin:18px auto}.donut-chart svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-chart circle{fill:none;stroke-width:14}.donut-track{stroke:#f0ecea}.donut-value{stroke:var(--red);stroke-linecap:round}.donut-chart>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.donut-chart strong{font-size:34px}.donut-chart span{font-size:19px;color:var(--muted);margin:7px 0 0 2px}.donut-legend{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding-top:15px}.donut-legend>div{display:flex;flex-direction:column;gap:6px;padding:0 12px}.donut-legend>div+div{border-left:1px solid var(--line)}.donut-legend span{display:flex;align-items:center;gap:7px;font-size:9px;text-transform:uppercase;color:var(--muted);font-weight:700}.donut-legend i{width:8px;height:8px;border-radius:50%;background:#eee9e7}.donut-legend .cost-dot{background:var(--red)}.donut-legend strong{font-size:18px}.trend-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.trend-heading em{display:flex;align-items:center;gap:5px;padding:8px 10px;border-radius:20px;background:#ffebe8;color:#a5221b;font-size:10px;font-style:normal;font-weight:700}.trend-number{margin:22px 0 4px}.trend-number strong{font-size:62px;line-height:1;letter-spacing:-.06em}.trend-number span{font-size:32px;color:var(--muted);font-weight:700}.trend-chart{margin-top:8px}.trend-chart svg{display:block;width:100%;height:145px;overflow:visible}.chart-area{fill:url(#area)}.chart-line{fill:none;stroke:var(--red);stroke-width:4;stroke-linecap:round}.trend-chart circle{fill:var(--red);stroke:#f0d3d0;stroke-width:7}.chart-months{display:grid;grid-template-columns:repeat(6,1fr);margin-top:-18px;color:#958a86;text-transform:uppercase;font-size:8px;font-weight:700}.chart-months span{text-align:center}.trend-summary{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}.trend-summary div{display:flex;flex-direction:column;gap:5px;padding:0 8px}.trend-summary div+div{border-left:1px solid var(--line)}.trend-summary span{text-transform:uppercase;color:var(--muted);font-size:8px;font-weight:700}.trend-summary strong{font-size:12px}.dashboard-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.dashboard-counts button{min-width:0;padding:13px 9px;border:1px solid #ece7e5;border-radius:18px;background:#fff;display:flex;align-items:center;gap:8px;color:var(--ink);text-align:left;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.dashboard-counts button:hover{border-color:#b7c5d5;box-shadow:0 8px 22px #082b5414}.dashboard-counts button:active{background:#f2f6fa}.dashboard-counts button>span{display:none}.dashboard-counts div{display:flex;min-width:0;flex-direction:column;gap:6px}.dashboard-counts small{overflow:hidden;text-overflow:ellipsis;font-size:8px;text-transform:uppercase;color:var(--muted);font-weight:700}.dashboard-counts strong{font-size:23px}.insight-list{display:flex;flex-direction:column;gap:9px;margin-top:24px}.insight-list h2{font-size:18px;margin:0 0 3px}.insight-list article{display:flex;align-items:center;gap:11px;min-height:74px;padding:12px;border:1px solid #ece7e5;border-radius:18px;background:#fff}.insight-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#f4efed;color:var(--red)}.insight-icon svg{width:20px}.insight-icon.warning{background:#fff1e5;color:#a95b0b}.insight-icon.success{background:#eaf7ef;color:#28724a}.insight-list article>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.insight-list article strong,.insight-list article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-list article strong{font-size:12px}.insight-list article small{font-size:10px;color:var(--muted)}.insight-list em{font-style:normal;color:var(--muted);font-size:9px;white-space:nowrap}@media(min-width:760px){.dashboard-page{padding-top:46px}.dashboard-header{margin-bottom:28px}.dashboard-grid{grid-template-columns:minmax(300px,.8fr) minmax(380px,1.2fr)}.analytics-card{padding:24px}.donut-card,.trend-card{min-height:450px}.dashboard-counts button>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#f5efed;color:var(--red)}.dashboard-counts small{font-size:10px}.dashboard-counts strong{font-size:28px}.insight-list{display:grid;grid-template-columns:repeat(3,1fr)}.insight-list h2{grid-column:1/-1}.insight-list article{align-items:flex-start}.insight-list em{display:none}}.category-filter select{min-width:0;max-width:calc(100% - 70px);border:0;outline:0;background:transparent;color:#514642;font-weight:700;text-align:center;appearance:none}.insight-list .insight-card{display:block;padding:0;overflow:hidden}.insight-card header{display:flex;align-items:center;gap:11px;padding:12px}.insight-card header>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.insight-card header strong,.insight-card header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-card header strong{font-size:12px}.insight-card header small{font-size:10px;color:var(--muted)}.insight-card ol{list-style:none;margin:0;padding:0 14px 6px;border-top:1px solid var(--line)}.insight-card li{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;border-bottom:1px solid #f0ecea;font-size:11px}.insight-card li:last-child{border-bottom:0}.insight-card li>span{display:flex;min-width:0;flex-direction:column;gap:2px}.insight-card li>span>small{color:var(--muted);font-size:8px}.insight-card li>strong{white-space:nowrap;color:var(--red)}.insight-toggle{display:flex;align-items:center;gap:11px;width:100%;min-height:74px;padding:12px;border:0;background:#fff;text-align:left;color:var(--ink)}.insight-toggle:active{background:#f5f7fa}.insight-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.insight-copy strong,.insight-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.insight-copy strong{font-size:12px}.insight-copy small{font-size:10px;color:var(--muted)}.insight-toggle em{font-style:normal;color:var(--muted);font-size:9px;white-space:nowrap}.insight-chevron{flex:0 0 20px;color:var(--muted);transition:transform 1.5s cubic-bezier(.22,1,.36,1)}.insight-card.expanded .insight-chevron{transform:rotate(180deg)}.insight-list article>.insight-panel{display:grid;flex:none;width:100%;grid-template-rows:0fr;overflow:hidden;opacity:0;visibility:hidden;transition:grid-template-rows 1.8s cubic-bezier(.22,1,.36,1),opacity 1.3s ease,visibility 0s linear 1.8s}.insight-card.expanded>.insight-panel{grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows 1.8s cubic-bezier(.22,1,.36,1),opacity 1.3s ease,visibility 0s}.insight-panel>div{min-height:0;overflow:hidden}.insight-panel ol{transform:translateY(-14px);transition:transform 1.8s cubic-bezier(.22,1,.36,1)}.insight-card.expanded .insight-panel ol{transform:translateY(0)}@media(min-width:760px){.insight-list{align-items:start}.insight-card{align-self:start;width:100%}}@media(prefers-reduced-motion:reduce){.insight-panel,.insight-panel ol,.insight-chevron{transition:none!important}}:root{color:#0b2545;background:#f6f8fb;--red:#082b54;--red-dark:#041e3b;--ink:#0b2545;--muted:#627083;--line:#dfe6ee;--card:#fff;--cream:#eef3f8;--gold:#f5b400;--shadow:0 10px 35px rgba(8,43,84,.08)}body{background:#f6f8fb;color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#082b544d}.bottom-nav .active,.side-nav nav .active{color:var(--red);background:#eaf0f7}.primary-button,.floating-create,.create-recipe{background:var(--red);box-shadow:0 10px 26px #082b5438}.primary-button:hover,.create-recipe:hover{background:var(--red-dark)}.business-avatar,.demo-note{background:#f1f5f9}.registration-icon,.analytics-title>span,.recipe-card-top>span,.food-thumb{background:#eaf0f7;color:var(--red)}.calculation-preview{background:#eef3f8;color:var(--red)}.more-list em{color:#6b4f00;background:#fff5cf}.form-error{background:#fff0ee;color:#9f241d}.icon-button.danger,.negative{color:#b42318!important}.dashboard-page{background:#f6f8fb}.dashboard-logo{border:1px solid #dfe6ee}.category-filter{border-color:#cfd9e5;color:#0b2545}.category-filter select{color:#0b2545}.analytics-card,.dashboard-counts button,.insight-list article{border-color:#e0e7ef;box-shadow:0 8px 28px #082b540e}.donut-track{stroke:#e6ebf1}.trend-heading em{background:#fff4cf;color:#735500}.trend-chart circle{stroke:#d5e0eb}.insight-icon.warning{background:#fff4cf;color:#8a6500}.insight-icon.success{background:#e7f5ee;color:#1e7048}.business-logo strong,.brand strong{letter-spacing:.035em}.business-logo img,.brand img,.dashboard-logo,.business-avatar img{border-radius:22%}.dashboard-logo img{border-radius:0}.business-logo img{box-shadow:0 8px 24px #082b541f}.photo-field{display:flex;flex-direction:column;gap:8px}.field-label{font-size:13px;font-weight:700}.file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0,0,0,0)}.photo-upload{min-height:104px!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:12px;border:1px dashed #aebdce;border-radius:16px;background:#f6f8fb;color:var(--red);cursor:pointer}.photo-upload>svg{width:28px;height:28px}.photo-upload>span{display:flex;flex-direction:column;gap:4px}.photo-upload strong{font-size:13px}.photo-upload small{font-size:10px;color:var(--muted);font-weight:500}.photo-preview{position:relative;overflow:hidden;border-radius:18px;background:#eaf0f7;aspect-ratio:16/9}.photo-preview img{display:block;width:100%;height:100%;object-fit:cover}.remove-photo{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:13px;background:#082b54e0;color:#fff}.photo-preview>label{position:absolute;left:12px;bottom:12px;min-height:40px;padding:0 14px;display:flex;align-items:center;border-radius:12px;background:#fffffff0;color:var(--red);font-size:11px;font-weight:700;cursor:pointer}.recipe-photo{display:block;width:calc(100% + 40px);height:150px;margin:-20px -20px 18px;object-fit:cover;border-radius:22px 22px 0 0}@media(min-width:760px){.recipe-photo{height:180px}}.item-icon.supplier{background:#eaf0f7;color:var(--red)}.bottom-nav.six-items{grid-template-columns:repeat(6,1fr)}.bottom-nav.six-items button{min-width:0;padding:0 2px}.bottom-nav.six-items span{font-size:8px}@media(max-width:390px){.bottom-nav.six-items span{font-size:7px}}.app-shell main{view-transition-name:app-content}.page-stage{min-height:100dvh;animation:page-enter .55s cubic-bezier(.22,1,.36,1) both}@keyframes page-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}::view-transition-group(root){animation:none}::view-transition-old(root),::view-transition-new(root){animation:none}::view-transition-old(app-content){animation:page-leave .42s cubic-bezier(.4,0,1,1) both}::view-transition-new(app-content){animation:page-arrive .62s cubic-bezier(.22,1,.36,1) both}@keyframes page-leave{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes page-arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.page-stage{animation:none}::view-transition-old(app-content),::view-transition-new(app-content){animation:none}}.directory-page{min-height:100dvh;background:#f6f8fb}.directory-list-pane{padding:24px 18px 110px}.directory-list-pane>header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.directory-list-pane>header>.primary-button{margin-left:auto}.directory-list-pane h1{font-size:28px;margin:0 0 3px}.directory-list-pane header p{font-size:11px;color:var(--muted);margin:0}.directory-search{display:flex;align-items:center;gap:9px;height:48px;padding:0 13px;margin-bottom:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.directory-search svg{width:18px;color:var(--muted)}.directory-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent}.directory-list{display:flex;flex-direction:column;gap:7px}.directory-list>button{display:flex;align-items:center;gap:11px;min-height:66px;padding:9px 11px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-align:left}.directory-list>button.selected{border-color:#9fb2c8;background:#eaf0f7}.directory-list>button:active{background:#e2eaf3}.directory-list>button>svg{flex:0 0 18px;color:#8794a3}.directory-avatar{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:#eaf0f7;color:var(--red);font-weight:800}.directory-row-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.directory-row-copy strong,.directory-row-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.directory-row-copy strong{font-size:13px}.directory-row-copy small{font-size:10px;color:var(--muted)}.directory-empty{padding:40px 15px;text-align:center;color:var(--muted);font-size:12px}.directory-detail-pane{position:fixed;z-index:35;inset:0;overflow:auto;padding:calc(20px + env(safe-area-inset-top)) 18px calc(30px + env(safe-area-inset-bottom));background:#f6f8fb;transform:translate(105%);transition:transform .5s cubic-bezier(.22,1,.36,1)}.directory-detail-pane.mobile-open{transform:translate(0)}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.detail-header span{font-size:10px;text-transform:uppercase;color:var(--muted);font-weight:700}.detail-header h2{font-size:28px;margin:5px 0 0}.detail-content{max-width:720px}.autosave-note{padding:10px 12px;border-radius:12px;background:#eaf0f7;color:var(--red);font-size:10px}.detail-form{display:flex;flex-direction:column;gap:16px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 28px #082b540d}.detail-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700}.detail-form input,.detail-form select,.detail-form textarea{width:100%;min-height:48px;padding:0 12px;border:1px solid #cfd9e5;border-radius:12px;background:#fff;color:var(--ink);font:inherit}.detail-form textarea{min-height:110px;padding-top:12px;resize:vertical}.detail-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border-radius:14px;background:#eef3f8}.detail-result span{font-size:11px;color:var(--muted)}.detail-result strong{font-size:16px;color:var(--red)}.detail-recipe-photo{width:100%;max-height:260px;object-fit:cover;border-radius:15px}.detail-placeholder{display:grid;place-content:center;min-height:70vh;text-align:center;color:var(--muted)}.detail-placeholder h2{color:var(--ink);margin:0 0 8px}.context-menu{position:fixed;z-index:100;width:170px;padding:6px;border:1px solid #e2d5d2;border-radius:13px;background:#fff;box-shadow:0 12px 38px #1a26362e}.context-menu button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:0 11px;border:0;border-radius:9px;background:transparent;color:#b42318;font-weight:700}.context-menu button:hover{background:#fff0ee}@media(min-width:900px){.directory-page{display:grid;grid-template-columns:minmax(300px,38%) minmax(480px,62%);height:100vh;min-height:0;overflow:hidden}.directory-list-pane{height:100vh;overflow:auto;padding:36px 20px;border-right:1px solid var(--line);background:#fbfcfd}.directory-detail-pane{position:static;transform:none!important;height:100vh;overflow:auto;padding:46px 42px;background:#f6f8fb}.mobile-detail-close{display:none}.detail-content{margin:0 auto}.directory-list>button{border-color:transparent;background:transparent}.directory-list>button:hover{background:#f0f4f8}.directory-list>button.selected{border-color:#c7d3e0;background:#eaf0f7}}.context-menu{animation:menu-in .16s ease-out}.delete-dialog-backdrop{position:fixed;z-index:150;inset:0;display:grid;place-items:center;padding:20px;background:#0a182b85;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fade-in .2s ease-out}.delete-dialog{width:min(100%,520px);padding:36px;border-radius:22px;background:#fff;box-shadow:0 24px 80px #05162c3d;text-align:center;animation:dialog-in .24s cubic-bezier(.22,1,.36,1)}.delete-warning{display:grid;place-items:center;width:52px;height:46px;margin:0 auto 18px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#f59e0b;color:#fff;font-size:25px;font-weight:900;line-height:1;padding-top:10px}.delete-dialog h2{margin:0;color:var(--ink);font-size:22px}.delete-dialog>p{margin:15px 0 22px;color:var(--muted);font-size:16px}.delete-safety{display:flex;flex-direction:column;gap:6px;margin-bottom:26px;color:#1fa957}.delete-safety:before{content:"✓";font-weight:900}.delete-safety strong{font-size:15px}.delete-safety span{color:var(--muted);font-size:12px}.delete-safety.is-used{color:#c66a08}.delete-safety.is-used:before{content:"!"}.delete-dialog-actions{display:flex;justify-content:center;gap:12px}.delete-dialog-actions button{min-height:48px;padding:0 24px;border-radius:12px;font-weight:800;font-size:14px}.delete-cancel{border:1px solid var(--red);background:#fff;color:var(--red)}.delete-confirm{border:1px solid var(--red);background:var(--red);color:#fff}.delete-dialog-actions button:focus-visible{outline:3px solid #e1ad24;outline-offset:3px}@keyframes menu-in{0%{opacity:0;transform:translateY(5px) scale(.97)}}@keyframes fade-in{0%{opacity:0}}@keyframes dialog-in{0%{opacity:0;transform:translateY(12px) scale(.97)}}.directory-page{position:relative}.context-menu{position:absolute}@media(max-width:520px){.delete-dialog{padding:28px 20px}.delete-dialog-actions{flex-direction:column-reverse}.delete-dialog-actions button{width:100%}}@media(prefers-reduced-motion:reduce){.directory-detail-pane{transition:none}.context-menu,.delete-dialog-backdrop,.delete-dialog{animation:none}}.detail-header-actions{display:flex;align-items:center;gap:8px}.recipe-view{max-width:920px;margin:0 auto;padding-bottom:40px}.recipe-view-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.recipe-view-top>div>span{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.recipe-view-top h2{margin:5px 0 0;font-size:28px}.recipe-action-message{margin-bottom:12px;padding:10px 13px;border-radius:12px;background:var(--theme-soft,#e7f3ee);color:var(--red);font-size:11px;font-weight:800}.recipe-hero{position:relative;overflow:hidden;border-radius:24px;background:#17382d;box-shadow:0 18px 50px #13382c29}.recipe-hero-image{height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#ffffffb3;background:linear-gradient(135deg,#1d4b3b,#0b251c)}.recipe-hero-image svg{width:54px;height:54px;stroke-width:1.3}.recipe-hero-image span{font-size:11px}.recipe-hero-image.has-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#04120d0a 30%,#04120dd6)}.recipe-hero-image img{width:100%;height:100%;object-fit:cover}.recipe-hero-overlay{position:absolute;z-index:1;inset:auto 0 0;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:24px;color:#fff}.recipe-hero-overlay small{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;opacity:.78}.recipe-hero-overlay h3{max-width:620px;margin:6px 0 5px;font-size:32px;line-height:1.05}.recipe-hero-overlay p{margin:0;font-size:11px;opacity:.76}.recipe-actions{display:flex;gap:8px;align-self:flex-start}.recipe-actions button{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:#081d1573;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .18s ease,border-color .18s ease}.recipe-actions button:hover{border-color:#fff;background:#ffffff2e}.recipe-actions button:focus-visible{outline:3px solid #f1c64c;outline-offset:3px}.recipe-actions svg{width:21px;height:21px}.recipe-summary-grid{display:grid;grid-template-columns:repeat(5,1fr);margin-top:12px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.recipe-summary-grid>div{min-width:0;padding:16px 13px;border-right:1px solid var(--line)}.recipe-summary-grid>div:last-child{border-right:0}.recipe-summary-grid span{display:block;min-height:26px;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.recipe-summary-grid strong{display:block;margin-top:6px;color:var(--red);font-size:16px}.recipe-view-section{margin-top:12px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.recipe-view-section>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.recipe-view-section>header>div{display:flex;flex-direction:column;gap:4px}.recipe-view-section>header strong{font-size:13px}.recipe-view-section>header small{color:var(--muted);font-size:9px}.recipe-composition{padding-top:16px}.recipe-composition h4{margin:0 0 7px;color:var(--muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}.recipe-composition>div{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;border-bottom:1px solid #edf1ef;font-size:11px}.recipe-composition>div:last-child{border-bottom:0}.recipe-composition>div>span{display:flex;flex-direction:column;gap:2px}.recipe-composition small{color:var(--muted);font-size:8px}.recipe-empty-lines{margin:18px 0 0;color:var(--muted);font-size:11px}.recipe-storage{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:12px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--line)}.recipe-storage>div{padding:15px;background:#fff}.recipe-storage span,.recipe-storage strong{display:block}.recipe-storage span{color:var(--muted);font-size:9px}.recipe-storage strong{margin-top:5px;font-size:12px}@media(max-width:680px){.recipe-view-top h2{font-size:23px}.recipe-hero-image{height:360px}.recipe-hero-overlay{height:100%;flex-direction:column-reverse;align-items:flex-start;justify-content:space-between;padding:18px}.recipe-actions{align-self:flex-end}.recipe-hero-overlay h3{font-size:28px}.recipe-summary-grid{grid-template-columns:1fr 1fr}.recipe-summary-grid>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.recipe-summary-grid>div:nth-child(2n){border-right:0}.recipe-summary-grid>div:last-child{border-bottom:0}.recipe-summary-grid span{min-height:auto}.recipe-storage{grid-template-columns:1fr}.directory-detail-pane{padding-left:14px;padding-right:14px}}@media(prefers-reduced-motion:reduce){.recipe-actions button{transition:none}}.ingredient-form textarea,.ingredient-editor textarea{width:100%;min-height:96px;padding:12px 13px;border:1px solid #cfd9e5;border-radius:13px;background:#fff;color:var(--ink);font:inherit;resize:vertical}.simple-form-card,.stock-fields,.additional-fields{display:flex;flex-direction:column;gap:15px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.ingredient-editor .simple-form-card{padding:0;border:0;border-radius:0}.purchase-grid{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:10px}.required{font-size:10px;font-weight:600;color:#a52b24}.ingredient-price-result{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:16px;background:#eef3f8;color:var(--ink)}.ingredient-price-result>span{font-size:11px;color:var(--muted)}.ingredient-price-result>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;flex-wrap:wrap}.ingredient-price-result strong:first-child{font-size:18px;color:var(--red)}.ingredient-price-result strong:last-child{font-size:14px}.ingredient-price-result small{font-size:10px;color:var(--muted)}.compact-section{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff}.compact-section>div{display:flex;min-width:0;flex-direction:column;gap:4px}.compact-section strong{font-size:14px}.compact-section small{font-size:10px;color:var(--muted)}.switch{display:block!important;position:relative;flex:0 0 52px;width:52px;height:30px}.switch input{position:absolute;opacity:0;pointer-events:none}.switch span{display:block;width:52px;height:30px;border-radius:30px;background:#cbd4de;transition:.22s}.switch span:after{content:"";position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0003;transition:.22s}.switch input:checked+span{background:var(--red)}.switch input:checked+span:after{transform:translate(22px)}.switch input:focus-visible+span{outline:3px solid #e1ad24;outline-offset:3px}.stock-warning{padding:11px 13px;border-radius:12px;background:#fff4de;color:#8a5700;font-size:11px;font-weight:700}.disclosure-button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:64px;padding:12px 15px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--ink);text-align:left}.disclosure-button>span{display:flex;flex-direction:column;gap:4px}.disclosure-button strong{font-size:14px}.disclosure-button small{font-size:10px;color:var(--muted)}.disclosure-button svg{flex:0 0 20px;transition:transform .28s}.disclosure-button svg.open{transform:rotate(90deg)}.additional-fields{animation:additional-in .28s ease-out}.save-success{padding:11px 13px;border-radius:12px;background:#e8f6ee;color:#176b42;font-size:12px;font-weight:700}.additional-group{display:flex;flex-direction:column;gap:4px;padding-bottom:12px;border-bottom:1px solid var(--line)}.additional-group strong{font-size:14px}.additional-group small{color:var(--muted);font-size:10px}.additional-fields input:disabled{cursor:not-allowed;background:#f1f4f7;color:#8b96a5}.custom-category-box{padding:13px;border:1px solid #aebed0;border-radius:14px;background:#f3f7fb}.custom-category-box small{color:var(--red)!important}.category-picker{display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#f9fbfd}.category-picker>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-picker>header>div{display:flex;flex-direction:column;gap:3px}.category-picker>header strong{font-size:14px}.category-picker>header small{color:var(--muted);font-size:10px}.category-picker>header>button{display:flex;align-items:center;gap:5px;min-height:44px;padding:0 10px;border:0;background:transparent;color:var(--red);font-size:12px;font-weight:800}.category-chips{display:flex;flex-wrap:wrap;gap:8px}.category-chips button{min-height:40px;padding:0 13px;border:1px solid transparent;border-radius:20px;background:#e8edf3;color:var(--ink);font-size:11px;font-weight:700}.category-chips button.selected{background:var(--red);color:#fff}.category-chips button span{margin-right:5px}.category-dialog-backdrop{position:fixed;z-index:220;inset:0;display:grid;place-items:center;padding:20px;background:#08192f80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.category-dialog{width:min(100%,520px);overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 24px 80px #05162c47}.category-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.category-dialog h2{margin:0;font-size:20px}.category-dialog>header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:#eef3f8;color:var(--ink)}.category-name-field{display:flex;align-items:center;gap:10px;margin:24px 22px 12px;padding:0 14px;border:2px solid #9fb1c7;border-radius:14px}.category-name-field svg{flex:0 0 22px;color:var(--red)}.category-name-field input{width:100%;height:58px!important;padding:0!important;border:0!important;outline:0;font-size:16px}.category-dialog>p{margin:0;padding:0 22px 24px;color:var(--muted);font-size:12px;line-height:1.5}.category-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid var(--line)}.category-dialog button:disabled{cursor:not-allowed;opacity:.45}@media(max-width:520px){.category-dialog-backdrop{align-items:end;padding:0}.category-dialog{border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}.category-dialog>footer button{flex:1}}.ingredient-editor.detail-form{gap:16px}.ingredient-editor>.primary-button{width:100%}@keyframes additional-in{0%{opacity:0;transform:translateY(-6px)}}@media(max-width:520px){.purchase-grid,.stock-fields .field-row{grid-template-columns:1fr}.ingredient-price-result>div{align-items:flex-start;flex-direction:column}.simple-form-card,.stock-fields,.additional-fields{padding:14px}}@media(prefers-reduced-motion:reduce){.additional-fields{animation:none}.switch span,.switch span:after,.disclosure-button svg{transition:none}}.category-chip{display:flex;overflow:hidden;border:1px solid transparent;border-radius:20px;background:#e8edf3}.category-chip>button{min-height:40px;padding:0 13px;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ink);font-size:11px;font-weight:700}.category-chip.selected{background:var(--red)}.category-chip.selected>button{color:#fff}.category-chip>.delete-category{width:30px;padding:0;border-left:1px solid rgba(8,43,84,.12)!important;color:#8b3440}.category-chip>.delete-category svg{width:9px;height:9px;stroke-width:2.5}.category-chip.selected>.delete-category{border-left-color:#ffffff40!important;color:#fff}.category-dialog>.form-error{margin:0 22px 18px}.delete-category-confirm{min-height:50px;padding:0 20px;border:0;border-radius:14px;background:#b42318;color:#fff;font-weight:800}.warehouse-page{max-width:980px;padding-bottom:120px}.warehouse-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.warehouse-header h1{margin:5px 0 3px;font-size:32px;letter-spacing:-.04em}.warehouse-header p,.warehouse-list header p{margin:0;color:var(--muted);font-size:11px}.warehouse-header>div>button{min-height:30px;padding:0;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:800}.warehouse-bell{position:relative;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--red)}.warehouse-bell span{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border:2px solid #f6f8fb;border-radius:12px;background:#b42318;color:#fff;font-size:9px;font-weight:800}.warehouse-tabs{display:grid;grid-template-columns:1fr 1.25fr 1.35fr;gap:6px;padding:5px;margin-bottom:16px;border:1px solid var(--line);border-radius:17px;background:#eaf0f7}.warehouse-tabs button{position:relative;display:flex;min-width:0;min-height:54px;align-items:center;justify-content:center;gap:6px;padding:5px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:9px;font-weight:800}.warehouse-tabs button svg{width:18px}.warehouse-tabs button.active{background:#fff;color:var(--red);box-shadow:0 4px 13px #082b5414}.warehouse-tabs em{display:grid;place-items:center;min-width:18px;height:18px;border-radius:10px;background:#b42318;color:#fff;font-size:8px;font-style:normal}.stock-kind-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.stock-kind-switch button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);font-weight:800}.stock-kind-switch button.active{border-color:#9fb2c8;background:var(--red);color:#fff}.stock-kind-switch svg{width:19px}.warehouse-search{display:flex;align-items:center;gap:10px;height:50px;margin-bottom:13px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.warehouse-search svg{width:18px;color:var(--muted)}.warehouse-search input{width:100%;height:100%;border:0;outline:0;background:transparent}.warehouse-categories{padding:14px;margin-bottom:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.warehouse-categories>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.warehouse-categories>header>div{display:flex;align-items:center;gap:8px}.warehouse-categories>header svg{width:19px;color:var(--red)}.warehouse-categories>header strong{font-size:13px}.warehouse-categories>header small{color:var(--muted);font-size:9px}.warehouse-categories>div{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}.warehouse-categories>div::-webkit-scrollbar{display:none}.warehouse-categories>div button{flex:0 0 auto;min-height:38px;padding:0 12px;border:0;border-radius:19px;background:#edf1f5;color:var(--ink);font-size:10px;font-weight:700}.warehouse-categories>div button.active{background:var(--red);color:#fff}.warehouse-list{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 28px #082b540d}.warehouse-list>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:17px;border-bottom:1px solid var(--line)}.warehouse-list h2{margin:0;font-size:17px}.warehouse-list>header>span{color:var(--muted);font-size:10px}.stock-row{display:flex;align-items:center;gap:11px;min-height:82px;padding:12px 14px}.stock-row+.stock-row{border-top:1px solid var(--line)}.stock-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#eaf0f7;color:var(--red)}.stock-icon svg{width:20px}.stock-row>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.stock-row>div strong,.stock-row>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stock-row>div strong{font-size:12px}.stock-row>div small{color:var(--muted);font-size:9px}.stock-row aside{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.stock-row aside strong{font-size:15px}.stock-row aside small{max-width:70px;color:var(--muted);font-size:8px;text-align:right}.stock-row aside.low{color:#b42318}.stock-row>svg{flex:0 0 17px;color:#9aa5b2}.warehouse-empty{display:flex;align-items:center;flex-direction:column;padding:48px 20px;text-align:center}.warehouse-empty>svg{width:42px;height:42px;margin-bottom:13px;color:#9eabb9}.warehouse-empty strong{font-size:14px}.warehouse-empty p{max-width:360px;margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.attention-row{display:flex;align-items:center;gap:11px;padding:14px}.attention-row+.attention-row{border-top:1px solid var(--line)}.attention-row>span{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px}.attention-row>span.warning{background:#fff4cf;color:#8a6500}.attention-row>span.danger{background:#fff0ee;color:#b42318}.attention-row>span svg{width:20px}.attention-row>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.attention-row strong{font-size:12px}.attention-row small{color:var(--muted);font-size:9px}.attention-row p{margin:2px 0 0;color:#b42318;font-size:10px;font-weight:700}.attention-row>button{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--red);font-size:9px;font-weight:800}.warehouse-primary-action{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;margin-bottom:13px;padding:10px 14px;border:0;border-radius:17px;background:var(--red);color:#fff;text-align:left;box-shadow:0 9px 24px #082b542e}.warehouse-primary-action>svg{flex:0 0 28px}.warehouse-primary-action>span{display:flex;flex-direction:column;gap:3px}.warehouse-primary-action strong{font-size:13px}.warehouse-primary-action small{font-size:9px;opacity:.75}.warehouse-form .stock-kind-switch{margin:0}.warehouse-form input[readonly]{background:#eef2f6;color:var(--muted)}.production-preview{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#f9fbfd}.production-preview>header{display:flex;flex-direction:column;gap:4px;padding:13px;border-bottom:1px solid var(--line)}.production-preview>header strong{font-size:13px}.production-preview>header small{color:var(--muted);font-size:9px}.production-preview>div{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:11px 13px}.production-preview>div+div{border-top:1px solid var(--line)}.production-preview>div span{font-size:11px}.production-preview>div strong{font-size:11px}.production-preview>div small{grid-column:2;color:var(--muted);font-size:8px;text-align:right}.production-preview>div.missing{background:#fff0ee;color:#b42318}.production-preview>p{margin:0;padding:20px;text-align:center;color:var(--muted);font-size:10px}.warehouse-form .primary-button:disabled{cursor:not-allowed;opacity:.5}@media(min-width:760px){.warehouse-page{padding-top:42px}.warehouse-header h1{font-size:38px}.warehouse-tabs{max-width:650px}.warehouse-tabs button{font-size:11px}.warehouse-content-grid{display:grid;grid-template-columns:280px 1fr}.stock-row>div strong{font-size:13px}}@media(max-width:390px){.warehouse-tabs button{flex-direction:column;gap:2px}.warehouse-tabs button svg{width:17px}.warehouse-tabs em{position:absolute;top:3px;right:3px}}.raw-materials-page{min-width:0}.raw-materials-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line);background:#fff}.raw-materials-switch button{min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 12px;border:1px solid var(--line);border-radius:15px;background:#f7f8fa;color:var(--muted);text-align:left;transition:background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}.raw-materials-switch button.active{border-color:#123a67;background:#eef4fb;color:#082b54;box-shadow:0 7px 18px #082b5417}.raw-materials-switch button span{display:flex;flex-direction:column;gap:2px}.raw-materials-switch button strong{font-size:13px}.raw-materials-switch button small{font-size:10px;font-weight:500;opacity:.72}.raw-materials-content{animation:raw-materials-enter .32s ease both}@keyframes raw-materials-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.raw-materials-content{animation:none}.raw-materials-switch button{transition:none}}.category-picker{position:relative;z-index:8;margin-bottom:18px}.category-picker>summary{min-height:64px;display:flex;align-items:center;gap:11px;padding:9px 13px;border:1px solid #d9e2ec;border-radius:18px;background:#fff;color:#082b54;box-shadow:0 8px 24px #082b540f;cursor:pointer;list-style:none;transition:border-color .25s ease,box-shadow .25s ease}.category-picker>summary::-webkit-details-marker{display:none}.category-picker>summary::marker{display:none;content:""}.category-picker>summary:hover{border-color:#aebfd1}.category-picker[open]>summary{border-color:#9eb2c8;box-shadow:0 10px 26px #082b541a}.category-picker-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;background:#eef3f8}.category-picker-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.category-picker-copy small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}.category-picker-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.category-picker-count{min-width:30px;height:28px;display:grid;place-items:center;padding:0 7px;border-radius:9px;background:#eef3f8;font-size:10px;font-weight:800}.category-picker-chevron{transition:transform .35s ease}.category-picker[open] .category-picker-chevron{transform:rotate(180deg)}.category-picker-menu{position:absolute;top:calc(100% + 8px);left:0;right:0;display:grid;gap:4px;padding:8px;border:1px solid #d9e2ec;border-radius:18px;background:#fffffffa;box-shadow:0 20px 50px #082b5429;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transform-origin:top center;animation:category-menu-in .32s cubic-bezier(.22,1,.36,1) both}.category-picker-menu button{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 11px;border:0;border-radius:13px;background:transparent;color:#183553;text-align:left}.category-picker-menu button:hover{background:#f1f5f9}.category-picker-menu button.active{background:#082b54;color:#fff}.category-picker-menu button>span{min-width:0;display:flex;flex-direction:column;gap:3px}.category-picker-menu button strong{font-size:13px}.category-picker-menu button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#738196;font-size:9px}.category-picker-menu button.active small{color:#ffffffb3}.category-picker-menu button em{min-width:27px;height:27px;display:grid;place-items:center;padding:0 6px;border-radius:9px;background:#e7edf4;color:#607088;font-size:10px;font-style:normal;font-weight:800}.category-picker-menu button.active em{background:#ffffff29;color:#fff}@keyframes category-menu-in{0%{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}@media(min-width:760px){.category-picker{max-width:560px}}@media(prefers-reduced-motion:reduce){.category-picker-menu{animation:none}.category-picker-chevron,.category-picker>summary{transition:none}}:root{color:#14382d;background:#f5f8f6;--red: #064e3b;--red-dark: #043b2d;--ink: #14382d;--muted: #62776f;--line: #d9e6e0;--card: #fff;--cream: #ecf6f1;--gold: #f5b400;--shadow: 0 10px 35px rgba(6, 78, 59, .09)}body,.dashboard-page,.directory-page,.directory-detail-pane{background:#f5f8f6;color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#064e3b4d}.bottom-nav .active,.side-nav nav .active{color:var(--red);background:#e6f2ed}.business-avatar,.demo-note,.registration-icon,.analytics-title>span,.recipe-card-top>span,.food-thumb,.directory-avatar{background:#e6f2ed;color:var(--red)}.calculation-preview,.recommended-price,.ingredient-price-result,.detail-result,.autosave-note{background:#ecf6f1}.analytics-card,.dashboard-counts button,.insight-list article,.detail-form{border-color:#dce8e3;box-shadow:0 8px 28px #064e3b0f}.donut-track{stroke:#e3ece8}.trend-chart circle{stroke:#cfe1d9}.photo-upload,.detail-form input,.detail-form select,.detail-form textarea{border-color:#bfd2ca}.photo-preview,.item-icon.supplier{background:#e6f2ed}.side-nav nav button{color:#597068}.directory-list>button.selected{border-color:#91b2a5;background:#e6f2ed}.directory-list>button:active{background:#dcece5}.pricing-section,.category-picker{background:#f7faf8}.category-chips button{background:#e5eee9}.category-dialog-backdrop{background:#0331258a}.category-name-field{border-color:#89aa9d}.raw-materials-switch button.active{border-color:#0a674f;background:#e7f3ee;color:#064e3b;box-shadow:0 7px 18px #064e3b1a}.category-picker>summary{border-color:#d4e3dc;color:#064e3b;box-shadow:0 8px 24px #064e3b12}.category-picker>summary:hover,.category-picker[open]>summary{border-color:#93b4a7}.category-picker-icon,.category-picker-count{background:#e7f3ee}.category-picker-menu{border-color:#d4e3dc;box-shadow:0 20px 50px #064e3b2b}.category-picker-menu button{color:#164334}.category-picker-menu button:hover{background:#edf5f1}.category-picker-menu button.active{background:#064e3b;color:#fff}.category-picker-menu button em{background:#e5eee9;color:#536e64}.warehouse-tabs button.active,.stock-kind-switch button.active{color:var(--red)}.context-menu{width:132px;padding:4px;border:1px solid rgba(190,45,38,.18);border-radius:14px;background:#fffffffa;box-shadow:0 12px 30px #4a151224,0 2px 8px #4a151214;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:compact-menu-in .22s cubic-bezier(.22,1,.36,1)}.context-menu button{min-height:40px;display:flex;align-items:center;gap:8px;width:100%;padding:0 10px 0 7px;border:0;border-radius:10px;background:#fff5f3;color:#b42318;font-size:12px;font-weight:800;letter-spacing:.01em;transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}.context-menu button>span{width:29px;height:29px;display:grid;place-items:center;flex:0 0 29px;border-radius:9px;background:#ffe7e3;color:#b42318}.context-menu button:hover,.context-menu button:focus-visible{background:#ffeae6;color:#981b13;box-shadow:inset 0 0 0 1px #b4231814}.context-menu button:active{background:#ffddd7}.delete-cancel{border-color:#b42318;color:#b42318}.delete-confirm{border-color:#b42318;background:#b42318;color:#fff}.delete-confirm:hover{background:#941d15;border-color:#941d15}@keyframes compact-menu-in{0%{opacity:0;transform:translateY(4px) scale(.96)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.context-menu{animation:none}.context-menu button{transition:none}}.purchases-page{max-width:920px;padding-bottom:120px}.purchases-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.purchases-header>div>button{min-height:30px;padding:0;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:800}.purchases-header h1{margin:5px 0 3px;font-size:32px;letter-spacing:-.04em}.purchases-header p{margin:0;color:var(--muted);font-size:11px}.purchase-add{width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:15px;background:var(--red);color:#fff;box-shadow:0 9px 22px #064e3b33}.purchase-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}.purchase-summary article{min-width:0;display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:17px;background:#fff}.purchase-summary article>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;background:#e7f3ee;color:var(--red)}.purchase-summary svg{width:19px}.purchase-summary div{min-width:0;display:flex;flex-direction:column;gap:4px}.purchase-summary small{color:var(--muted);font-size:9px}.purchase-summary strong{overflow:hidden;text-overflow:ellipsis;font-size:14px}.purchase-summary .has-debt>span{background:#fff0ee;color:#b42318}.purchase-summary .has-debt strong{color:#b42318}.purchase-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px;padding:5px;border:1px solid var(--line);border-radius:16px;background:#e7f0ec}.purchase-tabs button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:11px;font-weight:800}.purchase-tabs button.active{background:#fff;color:var(--red);box-shadow:0 4px 13px #064e3b14}.purchase-tabs em{min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;border-radius:8px;background:#dce9e3;font-size:8px;font-style:normal}.purchase-tabs button.active em{background:#e7f3ee}.purchase-list{display:flex;flex-direction:column;gap:9px}.purchase-card{display:flex;align-items:center;gap:11px;min-height:82px;padding:12px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 5px 18px #064e3b0a}.purchase-card-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:#e7f3ee;color:var(--red)}.purchase-card-icon svg{width:20px}.purchase-card>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.purchase-card>div strong,.purchase-card>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-card>div strong{font-size:12px}.purchase-card>div small{color:var(--muted);font-size:9px}.purchase-card>div em{color:#b42318;font-size:9px;font-style:normal;font-weight:800}.purchase-card aside{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.purchase-card aside strong{font-size:13px;white-space:nowrap}.purchase-card aside small{color:var(--muted);font-size:8px}.purchase-card>svg{width:16px;color:#97a79f}.debt-card{overflow:hidden;border:1px solid #eadfbe;border-radius:18px;background:#fff}.debt-card.overdue{border-color:#f0c9c5}.debt-card>header{display:flex;align-items:center;gap:10px;padding:14px}.debt-card>header>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:12px;background:#fff4cf;color:#8a6500}.debt-card.overdue>header>span{background:#fff0ee;color:#b42318}.debt-card>header>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.debt-card>header div strong{font-size:12px}.debt-card>header div small{color:var(--muted);font-size:9px}.debt-card>header>strong{color:#b42318;font-size:14px;white-space:nowrap}.debt-card>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-top:1px solid var(--line);background:#fafcfb}.debt-card>footer span{color:var(--muted);font-size:8px}.debt-card>footer button{min-height:38px;padding:0 11px;border:0;border-radius:10px;background:var(--red);color:#fff;font-size:9px;font-weight:800}.purchase-empty{display:flex;align-items:center;flex-direction:column;padding:54px 22px;border:1px dashed #bfd2ca;border-radius:20px;background:#fff;text-align:center}.purchase-empty>span{width:50px;height:50px;display:grid;place-items:center;margin-bottom:12px;border-radius:16px;background:#e7f3ee;color:var(--red)}.purchase-empty strong{font-size:14px}.purchase-empty p{max-width:330px;margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.purchase-form-section{display:flex;flex-direction:column;gap:13px;padding:14px;border:1px solid var(--line);border-radius:17px;background:#f8fbf9}.purchase-form-section>header>div{display:flex;flex-direction:column;gap:3px}.purchase-form-section>header strong{font-size:14px}.purchase-form-section>header small{color:var(--muted);font-size:9px}.document-number-field{position:relative;display:block}.document-number-field input{width:100%;padding-right:88px}.document-number-field small{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:#aeb8b3;font-size:7px;font-weight:500;letter-spacing:.01em}.document-number-field.filled small{display:none}.document-number-field.filled input{padding-right:12px}.purchase-line{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px solid var(--line);border-radius:15px;background:#fff}.purchase-line-heading{display:flex;align-items:center;gap:8px}.purchase-line-heading select{flex:1}.purchase-line-heading button{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border:0;border-radius:11px;background:#fff0ee;color:#b42318}.purchase-line-values{display:grid;grid-template-columns:1fr 74px 1fr;gap:7px}.purchase-line-values label{min-width:0}.purchase-line-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.purchase-line-actions button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #b9cec5;border-radius:12px;background:#fff;color:var(--red);font-size:10px;font-weight:800}.debt-fields{padding:12px;border-radius:14px;background:#fff7dd}.debt-fields p{display:flex;align-items:center;gap:7px;margin:10px 0 0;color:#795b09;font-size:10px}.purchase-total{display:grid;grid-template-columns:1fr auto;gap:3px 12px;padding:15px;border-radius:16px;background:#e7f3ee}.purchase-total span{font-size:11px;font-weight:700}.purchase-total strong{font-size:19px;color:var(--red)}.purchase-total small{grid-column:1/-1;color:var(--muted);font-size:9px}.purchase-form textarea{min-height:90px;padding:12px;border:1px solid var(--line);border-radius:13px;resize:vertical;font:inherit}@media(max-width:480px){.purchase-line-values{grid-template-columns:1fr 68px}.purchase-line-values label:last-child{grid-column:1/-1}.purchase-summary article{align-items:flex-start;flex-direction:column}.purchase-summary article>span{width:34px;height:34px;flex-basis:34px}}@media(min-width:760px){.purchases-page{padding-top:42px}.purchases-header h1{font-size:38px}.purchase-summary{max-width:620px}.purchase-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.debt-card,.purchase-empty{grid-column:span 1}}.home-debt-alert{width:100%;min-height:68px;display:flex;align-items:center;gap:11px;margin:-5px 0 18px;padding:10px 13px;border:1px solid #efd0cc;border-radius:17px;background:#fff8f6;color:#7f241c;text-align:left;box-shadow:0 7px 20px #74231b0f}.home-debt-alert>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:12px;background:#ffe8e4;color:#b42318}.home-debt-alert>span svg{width:19px}.home-debt-alert>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.home-debt-alert strong,.home-debt-alert small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-debt-alert strong{font-size:12px}.home-debt-alert small{color:#8b5e58;font-size:9px}.home-debt-alert>svg{width:17px;transform:rotate(-90deg);color:#b42318}.documents-page{max-width:900px;padding-bottom:120px}.documents-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.documents-header>div>button{min-height:30px;padding:0;border:0;background:transparent;color:var(--red);font-size:11px;font-weight:800}.documents-header h1{margin:5px 0 3px;font-size:31px;letter-spacing:-.04em}.documents-header p{margin:0;color:var(--muted);font-size:11px}.documents-header>span{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:15px;background:#e7f3ee;color:var(--red)}.documents-tabs{display:grid;grid-template-columns:.8fr 1.25fr .8fr;gap:5px;margin-bottom:14px;padding:5px;border:1px solid var(--line);border-radius:16px;background:#e7f0ec}.documents-tabs button{position:relative;min-height:48px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:10px;font-weight:800}.documents-tabs button.active{background:#fff;color:var(--red);box-shadow:0 4px 13px #064e3b14}.documents-tabs em{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 4px;border-radius:8px;background:#b42318;color:#fff;font-size:8px;font-style:normal}.document-intro{display:flex;align-items:flex-start;gap:11px;margin-bottom:13px;padding:14px;border:1px solid #cfe0d8;border-radius:17px;background:#f4faf7}.document-intro>span{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:12px;background:#dcefe6;color:var(--red)}.document-intro>span svg{width:20px}.document-intro strong{font-size:12px}.document-intro p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.45}.document-actions{display:flex;flex-direction:column;gap:9px}.document-actions>button{min-height:76px;display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 5px 18px #064e3b0a}.document-actions>button.manual{border-color:#93b5a7;background:#f5faf7}.document-actions>button>span{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:14px;background:#e7f3ee;color:var(--red)}.document-actions>button>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.document-actions strong{font-size:13px}.document-actions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.document-actions>button>svg{width:17px;color:#96a69f}.document-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.recognition-later{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:13px;border:1px dashed #c9d7d1;border-radius:16px;color:var(--muted)}.recognition-later>svg{width:20px;flex:0 0 20px;color:#8a9d95}.recognition-later strong{color:var(--ink);font-size:11px}.recognition-later p{margin:4px 0 0;font-size:9px;line-height:1.5}.document-list{display:flex;flex-direction:column;gap:9px}.document-card{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff}.document-card>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:#e7f3ee;color:var(--red)}.document-card>span svg{width:20px}.document-card>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.document-card>div strong,.document-card>div small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-card>div strong{font-size:11px}.document-card>div small{color:var(--muted);font-size:8px}.document-card>div em{color:#9b6500;font-size:8px;font-style:normal;font-weight:800}.document-card>div em.done{color:#14734f}.document-card aside{display:flex;align-items:center;gap:5px}.document-card aside button{min-height:38px;border:0;border-radius:10px;font-size:8px;font-weight:800}.document-enter{padding:0 9px;background:var(--red);color:#fff}.document-done{padding:0 8px;background:#e7f3ee;color:var(--red)}.document-delete{width:38px;display:grid;place-items:center;background:#fff0ee;color:#b42318}.documents-empty{display:flex;align-items:center;flex-direction:column;padding:54px 20px;border:1px dashed #c4d5ce;border-radius:20px;background:#fff;text-align:center}.documents-empty>span{width:48px;height:48px;display:grid;place-items:center;margin-bottom:12px;border-radius:15px;background:#e7f3ee;color:var(--red)}.documents-empty strong{font-size:13px}.documents-empty p{margin:6px 0 0;color:var(--muted);font-size:9px}@media(max-width:540px){.document-card{align-items:flex-start;flex-wrap:wrap}.document-card>div{width:calc(100% - 53px)}.document-card aside{width:100%;justify-content:flex-end;padding-left:53px}.document-enter{flex:1}}@media(min-width:760px){.documents-page{padding-top:42px}.documents-header h1{font-size:38px}.document-actions{display:grid;grid-template-columns:repeat(3,1fr)}.document-actions>button{min-height:150px;align-items:flex-start;flex-direction:column}.document-actions>button>div{flex:none}.document-actions>button>svg{margin-top:auto;align-self:flex-end}.document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.subpage-header{display:flex;align-items:center;gap:11px;margin-bottom:20px}.subpage-header>button{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--red)}.subpage-header>div{min-width:0;flex:1}.subpage-header h1{margin:0 0 3px;font-size:29px;letter-spacing:-.04em}.subpage-header p{margin:0;color:var(--muted);font-size:10px}.subpage-header>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#e7f3ee;color:var(--red)}.report-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px}.report-cards article{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:17px;background:#fff}.report-cards article>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:12px;background:#e7f3ee;color:var(--red)}.report-cards article>div{min-width:0;display:flex;flex-direction:column;gap:4px}.report-cards small{color:var(--muted);font-size:8px}.report-cards strong{overflow:hidden;text-overflow:ellipsis;font-size:13px}.report-cards .danger strong{color:#b42318}.report-grid{display:grid;gap:12px;margin-top:14px}.ranking-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.ranking-card header{display:flex;align-items:center;gap:9px;padding:14px;border-bottom:1px solid var(--line)}.ranking-card header span{color:var(--red)}.ranking-card h2{margin:0;font-size:13px}.ranking-card ol{list-style:none;margin:0;padding:0 14px}.ranking-card li{display:flex;align-items:center;gap:9px;min-height:52px}.ranking-card li+li{border-top:1px solid var(--line)}.ranking-card li em{width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:#e7f3ee;color:var(--red);font-size:8px;font-style:normal;font-weight:800}.ranking-card li span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.ranking-card li strong{font-size:10px}.ranking-card>p{padding:24px;text-align:center;color:var(--muted);font-size:10px}.report-note{padding:13px;border-radius:14px;background:#f1f6f3;color:var(--muted);font-size:9px;line-height:1.5}.business-overview{display:flex;align-items:center;gap:13px;margin-bottom:14px;padding:15px;border:1px solid var(--line);border-radius:19px;background:#fff}.business-overview img{width:58px;height:58px;border-radius:17px}.business-overview div{display:flex;min-width:0;flex-direction:column;gap:4px}.business-overview strong{font-size:16px}.business-overview span{color:var(--muted);font-size:10px}.business-profile,.workspace-stats,.employees-placeholder,.settings-card{margin-bottom:14px;padding:15px;border:1px solid var(--line);border-radius:19px;background:#fff}.business-profile label>span{display:flex;align-items:center;gap:7px}.workspace-stats h2{margin:0 0 12px;font-size:14px}.workspace-stats>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.workspace-stats span{display:flex;flex-direction:column;gap:5px;padding:10px;border-radius:12px;background:#f1f6f3;color:var(--muted);font-size:8px}.workspace-stats strong{color:var(--ink);font-size:18px}.employees-placeholder{display:flex;align-items:flex-start;gap:11px}.employees-placeholder>svg{color:var(--red)}.employees-placeholder strong{font-size:12px}.employees-placeholder p{margin:4px 0 0;color:var(--muted);font-size:9px;line-height:1.5}.settings-card{display:flex;flex-direction:column;gap:15px}.setting-switch{display:flex!important;align-items:center;justify-content:space-between;gap:14px}.setting-switch>span,.setting-static{display:flex;align-items:center;gap:10px}.setting-switch>span>svg,.setting-static>svg{color:var(--red)}.setting-switch span div,.setting-static span{display:flex;flex-direction:column;gap:3px}.setting-switch small,.setting-static small{color:var(--muted);font-size:9px}.setting-switch input{width:24px!important;height:24px!important}.setting-static{padding-top:14px;border-top:1px solid var(--line)}.faq-list{display:flex;flex-direction:column;gap:8px}.faq-list details{border:1px solid var(--line);border-radius:16px;background:#fff}.faq-list summary{min-height:54px;display:flex;align-items:center;padding:0 14px;font-size:11px;font-weight:800;cursor:pointer}.faq-list p{margin:0;padding:0 14px 14px;color:var(--muted);font-size:10px;line-height:1.55}.side-utilities{display:flex;flex-direction:column;gap:4px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.side-utilities button{min-height:42px;display:flex;align-items:center;gap:10px;padding:0 13px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:10px;font-weight:700}.side-utilities button.active{background:#e7f3ee;color:var(--red)}.mobile-utilities{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.mobile-utilities button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--red);font-size:10px;font-weight:800}@media(min-width:760px){.report-grid{grid-template-columns:1fr 1fr}.report-cards{grid-template-columns:repeat(4,1fr)}.mobile-utilities{display:none}.report-page,.business-page,.settings-page{padding-top:42px}}.settings-page{max-width:780px}.settings-groups{display:flex;flex-direction:column;gap:12px}.settings-group-label{margin:6px 4px -3px;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.settings-menu-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 25px #14382d0a}.settings-menu-card>button{width:100%;min-height:74px;display:flex;align-items:center;gap:11px;padding:11px 13px;border:0;background:#fff;color:var(--ink);text-align:left}.settings-menu-card>button+button{border-top:1px solid var(--line)}.settings-menu-card>button:disabled{cursor:default;opacity:.65}.settings-row-icon{width:39px;height:39px;display:grid;place-items:center;flex:0 0 39px;border-radius:12px;background:var(--theme-soft,#e7f3ee);color:var(--red)}.settings-row-icon svg{width:19px}.settings-menu-card>button>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.settings-menu-card strong{font-size:12px}.settings-menu-card small{color:var(--muted);font-size:9px}.settings-menu-card>button>svg{width:17px;color:#99a59f}.settings-detail-card{display:flex;flex-direction:column;gap:18px;padding:16px;border:1px solid var(--line);border-radius:20px;background:#fff}.settings-detail-card>label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:800}.settings-detail-card input:not([type=checkbox]),.settings-detail-card select{width:100%;height:50px;padding:0 13px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)}.settings-detail-card label>small{color:var(--muted);font-size:8px;font-weight:500}.settings-intro{margin:-6px 2px 15px;color:var(--muted);font-size:10px;line-height:1.5}.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-grid>button{overflow:hidden;min-width:0;padding:0;border:2px solid transparent;border-radius:19px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 6px 20px #14382d0f}.theme-grid>button.selected{border-color:var(--red)}.theme-preview{position:relative;height:105px;display:grid;place-items:center;color:#fff;font-family:Georgia,serif;font-size:44px}.theme-preview em{position:absolute;top:9px;right:9px;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#fff;color:var(--red)}.theme-preview em svg{width:17px}.theme-copy{display:flex;flex-direction:column;gap:4px;padding:10px}.theme-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.theme-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:7px}.theme-copy i{display:flex;gap:4px;margin-top:4px}.theme-copy b{width:9px;height:9px;border-radius:50%}.settings-notice{margin-bottom:13px;padding:11px 13px;border-radius:13px;background:var(--theme-soft,#e7f3ee);color:var(--red);font-size:9px;font-weight:700}.data-actions>div,.system-info>div{display:flex;align-items:flex-start;gap:10px}.data-actions>div>svg,.system-info>div>svg{flex:0 0 21px;color:var(--red)}.data-actions>div>span,.system-info>div>span{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.data-actions strong,.system-info strong{font-size:11px}.data-actions small,.system-info small{color:var(--muted);font-size:8px;line-height:1.4}.data-actions button{min-height:40px;display:flex;align-items:center;gap:5px;padding:0 10px;border:0;border-radius:11px;background:var(--theme-soft,#e7f3ee);color:var(--red);font-size:8px;font-weight:800}.data-actions button svg{width:15px}.data-actions>p{display:flex;align-items:flex-start;gap:8px;margin:0;padding:11px;border-radius:13px;background:#fff7dd;color:#745b15;font-size:8px;line-height:1.5}.data-actions>p svg{width:17px;flex:0 0 17px}@media(min-width:600px){.theme-grid{grid-template-columns:repeat(3,1fr)}.theme-preview{height:125px}.settings-menu-card strong{font-size:13px}.settings-menu-card small{font-size:10px}}:root[data-theme=forest]{--red:#064e3b;--red-dark:#043b2d;--theme-soft:#e6f2ed;--theme-bg:#f5f8f6;--theme-line:#d9e6e0;--theme-muted:#62776f}:root[data-theme=ocean]{--red:#123c69;--red-dark:#0b2a4a;--theme-soft:#e5eff8;--theme-bg:#f3f7fb;--theme-line:#d6e2ee;--theme-muted:#607589}:root[data-theme=berry]{--red:#7a1632;--red-dark:#5e1026;--theme-soft:#f7e7ed;--theme-bg:#fbf6f8;--theme-line:#ead7de;--theme-muted:#806873}:root[data-theme=graphite]{--red:#27313b;--red-dark:#151c22;--theme-soft:#e9edf0;--theme-bg:#f5f6f7;--theme-line:#dce1e5;--theme-muted:#68747e}:root[data-theme=sunset]{--red:#9b3f21;--red-dark:#763019;--theme-soft:#f8ebe5;--theme-bg:#fbf7f4;--theme-line:#eadcd4;--theme-muted:#826e64}:root[data-theme]{--line:var(--theme-line);--muted:var(--theme-muted);--cream:var(--theme-soft);background:var(--theme-bg)}:root[data-theme] body,:root[data-theme] .dashboard-page,:root[data-theme] .directory-page,:root[data-theme] .directory-detail-pane{background:var(--theme-bg)}:root[data-theme] .bottom-nav .active,:root[data-theme] .side-nav nav .active,:root[data-theme] .side-utilities button.active,:root[data-theme] .demo-note,:root[data-theme] .analytics-title>span,:root[data-theme] .directory-avatar,:root[data-theme] .category-picker-icon,:root[data-theme] .category-picker-count{background:var(--theme-soft);color:var(--red)}:root[data-theme] .category-picker-menu button.active{background:var(--red);color:#fff}:root[data-theme] .donut-value,:root[data-theme] .chart-line{stroke:var(--red)}.recipe-lines-section{overflow:hidden;padding:0;background:#fff}.recipe-lines-section>.section-title{padding:15px 15px 13px}.recipe-lines-head{display:grid;grid-template-columns:minmax(110px,2fr) minmax(66px,.75fr) minmax(58px,.65fr) 44px;gap:6px;padding:9px 12px;border-top:1px solid var(--line);background:#f5f8f6;color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.recipe-line{grid-template-columns:minmax(110px,2fr) minmax(66px,.75fr) minmax(58px,.65fr) 44px;align-items:center;gap:6px;margin:0;padding:7px 8px 7px 12px;border-top:1px solid #e8eeeb;background:#fff}.recipe-line input,.recipe-line select{height:40px;padding:0 7px;border-color:transparent!important;border-radius:9px!important;background:transparent!important;font-size:11px}.recipe-line select:first-child{font-weight:750;color:var(--ink)}.recipe-line input:hover,.recipe-line select:hover,.recipe-line input:focus,.recipe-line select:focus{border-color:#b9cec5!important;background:#f8fbf9!important}.recipe-line .unit-label{height:40px;color:var(--muted);font-size:11px}.recipe-line .icon-button.danger{width:40px;height:40px;min-height:40px;flex-basis:40px;border-radius:10px;background:transparent}.recipe-line .icon-button.danger:hover{background:#fff0ee}.recipe-line .icon-button.danger svg{width:16px}.recipe-lines-section .inline-actions{margin:0;padding:10px 12px;border-top:1px solid var(--line);background:#fbfcfb}.recipe-lines-section .inline-actions button{border:0;background:transparent;color:var(--red);justify-content:flex-start}.recipe-lines-section .inline-actions button:hover{background:var(--theme-soft,#e7f3ee)}@media(max-width:420px){.recipe-lines-head{grid-template-columns:minmax(90px,1fr) 62px 58px 40px;padding-left:9px;padding-right:6px}.recipe-line{grid-template-columns:minmax(90px,1fr) 62px 58px 40px;padding-left:9px;padding-right:4px;gap:3px}.recipe-line input,.recipe-line select{padding:0 4px;font-size:10px}.recipe-lines-section .inline-actions{flex-direction:column;gap:2px}.recipe-lines-section .inline-actions button{width:100%}}
