:root{color:#49363d;font-synthesis:none}body{margin:0}.header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.session-actions{display:flex;align-items:center;flex-wrap:wrap;max-width:100%;gap:12px;font-size:12px;color:#626c79}.session-user{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;padding:6px 16px 6px 7px;border:1px solid #efdae3;border-radius:24px;background:#f7e8ee;color:#984f67}.session-user-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#fffdfc}.session-user-icon .MuiSvgIcon-root{font-size:21px}.session-user-name{min-width:0;max-width:260px;font-size:15px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.auth-loading{display:grid;place-items:center;min-height:70vh}.auth-background{min-height:100vh;display:grid;place-items:center;padding:40px 24px;background:radial-gradient(ellipse at 12% 12%,#efd4dd,transparent 52%),radial-gradient(ellipse at 90% 85%,#e7ddef,transparent 48%),#fcf8f5}.auth-card.MuiPaper-root{width:100%;max-width:1050px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:28px;border:1px solid #ffffff;box-shadow:0 24px 70px #77465c18}.auth-brand-panel{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#f4e3e6,#ead0d9);color:#68414f;padding:44px;display:flex;flex-direction:column;justify-content:space-between;gap:40px}.auth-brand-panel:before,.auth-brand-panel:after{content:"";position:absolute;z-index:-1;width:280px;height:280px;border:1px solid #ffffff70;border-radius:50%;pointer-events:none}.auth-brand-panel:before{right:-160px;top:-100px;box-shadow:0 0 0 32px #ffffff18,0 0 0 64px #ffffff12}.auth-brand-panel:after{left:-210px;bottom:-140px;box-shadow:0 0 0 32px #ffffff18,0 0 0 64px #ffffff12}.auth-wordmark{font:500 clamp(26px,3vw,36px)/1.2 Georgia,"Times New Roman",serif;letter-spacing:1.5px;overflow-wrap:anywhere}.auth-wordmark span{display:block;font:600 16px/1.5 Segoe UI,Tahoma,Arial,sans-serif;letter-spacing:.8px;color:#805766;margin-top:10px}.auth-wordmark:after,.brand-text:after{content:"";display:block;width:56px;height:2px;border-radius:2px;background:#bd8a9a;margin-top:14px}.auth-emblem{display:grid;place-items:center;width:56px;height:56px;border:1px solid #ffffffb0;border-radius:18px;background:#ffffff50;color:#984f67;margin-bottom:24px}.auth-emblem .MuiSvgIcon-root{font-size:30px}.auth-headline.MuiTypography-root{color:#68414f;font-family:Georgia,Times New Roman,serif;font-weight:400;letter-spacing:-1.2px}.auth-brand-description.MuiTypography-root{color:#805766;max-width:350px}.auth-benefits{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.auth-benefits span{padding:9px 13px;border:1px solid #ffffff90;border-radius:24px;background:#ffffff40}.auth-form-panel{padding:44px;background:#fff}.auth-appearance{display:flex;justify-content:flex-end;margin-bottom:12px}.user-password-status{display:block;color:#8a6500;margin-top:5px}@media(max-width:700px){.auth-background{padding:20px 12px}.auth-card.MuiPaper-root{grid-template-columns:1fr;border-radius:16px}.auth-brand-panel{padding:28px;gap:24px}.auth-form-panel{padding:28px 24px}.auth-benefits{display:none}.session-actions{flex-wrap:wrap;gap:8px}}.app-header{background:#fffdfc;border-bottom:1px solid #eadce1;padding:20px 32px 12px;box-shadow:0 4px 20px #77465c05}.brand{font:500 clamp(26px,2.5vw,34px)/1.2 Georgia,"Times New Roman",serif;color:#984f67;letter-spacing:.5px}.brand span{display:block;margin:10px 0 0;font:600 16px/1.5 Segoe UI,Tahoma,Arial,sans-serif;color:#79656d;letter-spacing:.8px}.brand{display:flex;align-items:center;gap:20px;min-width:0;max-width:100%}.brand-text{min-width:0;overflow-wrap:anywhere}.brand-logo{width:auto;max-width:220px;height:96px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 4px #1c427120);transition:transform .18s ease,filter .18s ease}@media(hover:hover)and (pointer:fine){.brand-logo:hover{transform:scale(1.08);filter:drop-shadow(0 3px 6px #1c427140)}}@media(prefers-reduced-motion:reduce){.brand-logo{transition:none}.brand-logo:hover{transform:none}}.business-profile{max-width:760px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;border:1px solid #d4d9df;background:#fff;margin-bottom:28px;padding:20px}.business-profile .section-title{align-self:stretch}.business-profile p,.business-profile small{margin:0;color:#626c79;line-height:1.6}.logo-upload{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.logo-preview{max-width:180px;height:80px;object-fit:contain;border:1px solid #d4d9df;padding:8px;background-color:#fff;background-image:conic-gradient(#e8ecf0 25%,transparent 0 50%,#e8ecf0 0 75%,transparent 0);background-size:16px 16px}@media(max-width:700px){.brand{gap:12px;flex-wrap:wrap}.brand-text{flex:1 1 180px}.brand-logo{max-width:156px;height:72px}.brand span,.auth-wordmark span{font-size:14px;letter-spacing:.4px}.brand span{margin:7px 0 0}.brand-text:after{margin-top:10px}.business-profile{padding:16px}}nav{display:flex;gap:8px;margin-top:18px;overflow-x:auto;padding:3px}nav a{color:#79656d;text-decoration:none;padding:11px 16px;font-size:13px;white-space:nowrap;border:1px solid transparent;border-radius:24px;transition:background-color .16s ease,color .16s ease}nav a:hover{background:#fbf1f4;color:#984f67}nav a.active{color:#984f67;font-weight:600;background:#f7e8ee;border-color:#efdae3}nav a:focus-visible{outline:2px solid #984f67;outline-offset:1px}main{padding:25px 32px 36px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}h1{font:500 28px Georgia,Times New Roman,serif;margin:0 0 8px;color:#68414f}.page-heading p{margin:0;color:#67707c;font-size:12px;line-height:1.7}.toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}.form-help{width:100%;min-width:0;margin:12px 0}.form-help>.MuiButton-root{min-height:42px}.form-help h2{font:500 24px Georgia,Times New Roman,serif;margin:0 0 18px}.form-help h3{font-size:16px;margin:22px 0 8px}.form-help p{line-height:1.8;overflow-wrap:anywhere}@media print{.form-help{display:none}}.action-button-wrap{display:inline-flex;vertical-align:middle;flex-shrink:0}.action-button.MuiButton-root{width:44px;min-width:44px;height:44px;padding:10px;border-radius:14px;transition:background-color .16s ease,box-shadow .16s ease}.action-button.MuiButton-sizeSmall{width:40px;min-width:40px;height:40px}.action-button.MuiButton-contained{box-shadow:0 3px 10px #984f6726}.action-button.MuiButton-outlined{border-color:currentColor}.action-button.Mui-focusVisible{outline:3px solid #984f67;outline-offset:3px}.list-table .action-button-wrap+.action-button-wrap{margin-left:6px}.MuiAlert-message .action-button-wrap{margin-left:8px}.settings-form>.action-button-wrap{margin-top:16px}@media(prefers-reduced-motion:reduce){.action-button.MuiButton-root{transition:none}}.preview-status{font-size:12px;min-height:34px;padding:8px 0;color:#64707d}.sheet-scroll{--sheet-paper: #fffdfc;--sheet-text: #49363d;--sheet-muted: #79656d;--sheet-border: #e2d3da;--sheet-rose: #f6e8ee;--sheet-accent: #984f67;--sheet-cream: #fcf8f5;--sheet-lavender: #f0e9f5;--sheet-purple: #705480;--sheet-sage: #edf4e9;--sheet-green: #426448;--sheet-focus: #fff1f6;overflow-x:auto;background:var(--sheet-paper);border:1px solid var(--sheet-border);border-radius:20px;box-shadow:0 8px 28px #77465c08}.sheet{min-width:1040px;max-width:1250px;margin:0 auto;padding:24px;color:var(--sheet-text);font:14px Segoe UI,Calibri,Arial,sans-serif}.sheet table{border-collapse:collapse;width:100%;table-layout:fixed}.sheet th,.sheet td{border:1px solid var(--sheet-border)}.sheet-identification{display:grid;grid-template-columns:36% 64%;align-items:center;padding:12px 16px;background:var(--sheet-cream);border:1px solid var(--sheet-border);border-radius:14px;font:500 22px Georgia,Times New Roman,serif;color:var(--sheet-accent)}.sheet-identification strong{font-weight:500}.sheet-identification strong:first-child{padding-left:0}.sheet .production-name{font:500 22px Georgia,Times New Roman,serif}.sheet-date{display:flex;justify-content:flex-end;align-items:center;gap:12px;min-height:46px;font-size:12px;color:var(--sheet-muted)}.sheet-date input{border:0;background:transparent;color:inherit;font:inherit}.composition th{background:var(--sheet-rose);color:var(--sheet-accent);font-size:12px;font-weight:600;line-height:1.5;padding:10px 6px;height:64px}.composition td{position:relative;text-align:center;height:34px;padding:0 3px}.composition tbody tr:nth-child(2n){background:var(--sheet-cream)}.composition tbody tr:hover{background:var(--sheet-focus)}.composition td:first-child{text-align:left}.cell-input{border:0;background:transparent;width:100%;font:inherit;color:inherit;padding:4px 5px;min-width:0}.cell-input:focus,.ingredient-cell select:focus{outline:2px solid var(--sheet-accent);outline-offset:-2px;background:var(--sheet-focus);border-radius:5px}.sheet :is(.cell-unit,.sheet-date input,.notes,.sale input):focus-visible{outline:2px solid var(--sheet-accent);outline-offset:-2px}.cell-input[aria-invalid=true]{outline:2px solid #c62828;outline-offset:-2px}.numeric{text-align:center}.cell-unit{width:100%;border:0;background:transparent;text-align:center;font:inherit;color:inherit}.cell-unit option{text-align:left}.ingredient-cell{display:flex;align-items:center}.ingredient-cell select{border:0;appearance:none;background:transparent;width:100%;min-width:0;font:inherit;padding:4px;color:inherit}.remove-line,.reset-price{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;border:0;border-radius:7px;background:transparent;padding:3px;color:var(--sheet-muted);cursor:pointer}.remove-line .MuiSvgIcon-root,.reset-price .MuiSvgIcon-root{font-size:18px}.remove-line:hover,.reset-price:hover{background:var(--sheet-rose);color:var(--sheet-accent)}.remove-line:focus-visible,.reset-price:focus-visible{outline:2px solid var(--sheet-accent);outline-offset:1px}.price-entry{display:flex;align-items:baseline;justify-content:center;gap:4px;padding:0 24px}.price-entry .currency{position:static;flex-shrink:0;font:inherit}.price-entry .cell-input{padding:4px 0;text-align:left}.reset-price{position:absolute;right:2px;top:3px}.calculated{font-weight:600;color:var(--sheet-accent)}.legend-weight{display:grid;grid-template-columns:72% 14% 14%;align-items:stretch}.legend-weight small{padding:10px 4px;font-size:10px;color:var(--sheet-muted)}.legend-weight strong{background:var(--sheet-rose);color:var(--sheet-accent);border:1px solid var(--sheet-border);border-top:0;text-align:center;font-size:12px;font-weight:600;padding:10px 3px}.cost-groups{display:grid;grid-template-columns:50% 50%;padding:0;margin-top:14px}.final-weight{padding:12px;border:1px solid var(--sheet-border);border-radius:12px;background:var(--sheet-cream);font-size:12px}.final-weight>div{display:flex;align-items:center;gap:12px}.final-weight label{font-weight:700}.final-weight input{width:130px;background:var(--sheet-paper);border:1px solid var(--sheet-border);border-radius:8px;padding:7px}.final-weight input[aria-invalid=true]{border-color:#b71c1c}.final-weight small{display:block;margin-top:7px;color:var(--sheet-muted)}.final-weight [role=alert]{color:#b71c1c}.cost-group{display:grid;grid-template-columns:48% 52%}.cost-title{background:var(--sheet-rose);color:var(--sheet-accent);display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid var(--sheet-border);font-size:12px;font-weight:600;padding:10px}.cost-group>div{display:grid;grid-template-columns:46% 54%}.cost-group span,.cost-group b{border:1px solid var(--sheet-border);padding:10px 3px;font-size:13px;font-weight:600;text-align:center}.cost-group b{background:var(--sheet-cream);color:var(--sheet-accent);white-space:nowrap}.simulation-sale{display:grid;grid-template-columns:72% 28%;margin-top:14px}.simulations>div{background:var(--sheet-lavender);color:var(--sheet-purple);border:1px solid var(--sheet-border);text-align:center;font-size:13px;font-weight:600;padding:10px}.simulations th{background:var(--sheet-lavender);color:var(--sheet-purple);height:31px;font-size:13px;font-weight:600}.simulations td{text-align:center;white-space:nowrap;height:34px;font-size:12px}.sale{display:grid;grid-template-columns:51% 49%;background:var(--sheet-sage);color:var(--sheet-green);font-size:13px;font-weight:600}.sale>*{border:1px solid var(--sheet-border);margin:0;display:flex;align-items:center;justify-content:center;padding:7px 4px}.sale input{width:100%;border:0;background:transparent;font:600 19px Segoe UI,Calibri,Arial,sans-serif;color:inherit;text-align:center;min-width:0}.sale b{font:600 19px Segoe UI,Calibri,Arial,sans-serif;white-space:nowrap}.section-title{background:silver;border:1px solid #333;padding:6px;font:700 13px Tahoma,Arial,sans-serif}.sheet .section-title{background:var(--sheet-rose);color:var(--sheet-accent);border-color:var(--sheet-border);padding:11px 12px;margin-top:18px;font:600 13px Segoe UI,Calibri,Arial,sans-serif}.steps td{height:29px}.steps td:first-child{width:32px;text-align:center;color:var(--sheet-accent);background:var(--sheet-cream)}.notes{display:block;width:100%;min-height:100px;border:1px solid var(--sheet-border);border-top:0;resize:vertical;font:inherit;color:inherit;background:var(--sheet-paper);padding:12px;white-space:pre-wrap}.formula-help{display:block;margin:10px 0;font-size:11px;color:#626c79}.list-table{background:#fff;border:1px solid #eadce1;border-radius:16px;box-shadow:0 6px 24px #77465c06;margin-top:20px;overflow:auto}.list-table table{border-collapse:collapse;width:100%;font-size:13px}.list-table th{text-align:left;background:#f8eef2;color:#805766;font-weight:600;padding:16px 14px}.list-table td{padding:12px 14px;border-top:1px solid #f0e5e9}.list-table tbody tr:hover{background:#fdf8fa}.list-table p{padding:10px 15px}.ingredient-description{display:flex;align-items:center;gap:10px}.ingredient-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.settings-form{max-width:740px;background:#fff;padding:22px;border:1px solid #eadce1;border-radius:16px}.channel-form{display:grid;gap:18px;max-width:900px}.channel-form .toolbar{align-items:flex-start}.channel-comparison :is(th,td):not(:first-child){text-align:center;white-space:nowrap}.channel-comparison td:first-child{min-width:220px}.settings-row{display:grid;grid-template-columns:60% 40%;align-items:center;gap:0;padding:8px 10px;border:1px solid #d1d1d1;border-top:0;min-height:46px}.settings-row .MuiInputBase-root{background:#fff2b2}.settings-row.summary{background:silver}.settings-row.impact{background:#1c4271;color:#fff}.settings-form>button{margin-top:16px}.ingredient-form{display:grid;gap:18px;padding-top:12px}.ingredient-form-actions{border-top:1px solid #d5d9df;padding-top:18px;margin-top:0}.presentation-form{display:flex;flex-wrap:wrap;gap:16px;border:1px solid #c5cbd3;padding:18px}.presentation-form legend{font-size:12px}.presentation-form>.MuiFormControl-root{flex:1 1 280px;min-width:0}.presentation-form>.purchase-summary{flex-basis:100%}.sheet.ingredient-editor,.sheet.ingredient-help{min-width:0}.ingredient-editor .section-title,.ingredient-help .section-title{margin:0}.ingredient-editor .presentation-form{margin:0;border-color:var(--sheet-border)}.ingredient-editor .presentation-form legend{color:var(--sheet-accent);font-weight:600;padding:0 8px}.ingredient-page-actions .MuiButton-root{min-height:42px}.ingredient-help{display:grid;gap:16px}.ingredient-help p{margin:0;line-height:1.8}.ingredient-help .list-table{margin:0}.ingredient-page-heading>.MuiButton-root{flex-shrink:0}@media(max-width:700px){.ingredient-page-heading{flex-wrap:wrap}.ingredient-page-actions{align-items:stretch}.ingredient-page-actions>.MuiButton-root{flex:1 1 220px}}.photo-upload{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%}.photo-upload small{flex-basis:100%;color:#626c79}.product-photo{flex:0 0 auto;padding:0;border:0;background:transparent;border-radius:3px;cursor:zoom-in;overflow:hidden}.product-photo img{display:block;object-fit:contain;background:#fff}.product-photo-full{display:block;width:100%;max-height:70vh;object-fit:contain}.MuiAlert-root{margin:10px 0}footer{font-size:11px;color:#7c8691;text-align:center;padding:15px}@media(max-width:700px){main{padding:20px 12px}.app-header{padding:18px 16px 10px}.brand span{display:block;margin:7px 0 0}.page-heading{align-items:flex-start}nav{gap:4px}nav a{padding:10px 12px}.settings-row{grid-template-columns:55% 45%}.auth-emblem{display:none}}@media screen{:root[data-appearance=light]{color-scheme:light}:root[data-appearance=dark]{color:#e7edf5;color-scheme:dark}[data-appearance=dark] .auth-background{background:radial-gradient(ellipse at 10% 10%,#203c5e,transparent 55%),linear-gradient(140deg,#0c1420,#1b2d44 60%,#111923)}[data-appearance=dark] :is(.auth-form-panel,.app-header,.business-profile,.sheet-scroll,.list-table,.settings-form){background:#1b2634;border-color:#465465}[data-appearance=dark] :is(.brand,nav a.active){color:#9ac3f2}[data-appearance=dark] nav a.active{border-color:#9ac3f2}[data-appearance=dark] h1{color:#e7edf5}[data-appearance=dark] :is(.session-actions,.brand span,nav a,.page-heading p,.preview-status,.formula-help,.business-profile p,.business-profile small,.photo-upload small,footer){color:#b1bdcc}[data-appearance=dark] .user-password-status{color:#f1ca78}[data-appearance=dark] :is(.settings-form .section-title,.business-profile .section-title,.settings-row,.presentation-form,.ingredient-form-actions){border-color:#637184}[data-appearance=dark] :is(.settings-form .section-title,.business-profile .section-title,.settings-row.summary){background:#3d4b5c}[data-appearance=dark] .list-table th{background:#263446}[data-appearance=dark] .list-table td{border-color:#465465}.sheet :is(.cell-unit option,.ingredient-cell select option){color:var(--sheet-text);background:var(--sheet-paper)}[data-appearance=dark] .settings-row .MuiInputBase-root{background:#55482b}[data-appearance=dark] .settings-row.impact{background:#254d7b}[data-appearance=dark] .final-weight [role=alert]{color:#ffb4ab}[data-appearance=dark] .final-weight input[aria-invalid=true]{border-color:#ffb4ab}[data-appearance=dark] .cell-input[aria-invalid=true]{outline-color:#ffb4ab}[data-appearance=dark] .sheet-scroll{--sheet-paper: #2d252e;--sheet-text: #f4eaf0;--sheet-muted: #cdbbc7;--sheet-border: #614b59;--sheet-rose: #4b3341;--sheet-accent: #e6a9bb;--sheet-cream: #342a33;--sheet-lavender: #40314c;--sheet-purple: #d4bde5;--sheet-sage: #2c3e32;--sheet-green: #bcd8bc;--sheet-focus: #452f3c;background:var(--sheet-paper);border-color:var(--sheet-border)}:is(.business-profile,.presentation-form){border-color:#eadce1;border-radius:16px}:is(.session-actions,.brand span,.page-heading p,.preview-status,.business-profile p,.business-profile small,.photo-upload small,footer){color:#79656d}[data-appearance=dark] .auth-background{background:radial-gradient(ellipse at 12% 12%,#503343,transparent 52%),radial-gradient(ellipse at 90% 85%,#3d304b,transparent 48%),#211b23}[data-appearance=dark] .auth-card.MuiPaper-root{border-color:#594653;box-shadow:0 24px 70px #100c182e}[data-appearance=dark] .auth-brand-panel{background:linear-gradient(145deg,#503343,#392b3a);color:#f4eaf0}[data-appearance=dark] .auth-headline.MuiTypography-root{color:#f4eaf0}[data-appearance=dark] :is(.auth-wordmark span,.auth-brand-description.MuiTypography-root){color:#dfc3ce}[data-appearance=dark] :is(.auth-wordmark,.brand-text):after{background:#e6a9bb}[data-appearance=dark] .auth-emblem{color:#e6a9bb;background:#ffffff08;border-color:#ffffff28}[data-appearance=dark] .auth-benefits span{background:#ffffff08;border-color:#ffffff28}[data-appearance=dark] :is(.auth-form-panel,.app-header,.business-profile,.list-table,.settings-form){background:#2d252e;border-color:#594653}[data-appearance=dark] :is(.brand,nav a.active){color:#e6a9bb}[data-appearance=dark] nav a.active{background:#4b3341;border-color:#694456}[data-appearance=dark] .session-user{background:#4b3341;border-color:#694456;color:#e6a9bb}[data-appearance=dark] .session-user-icon{background:#2d252e}[data-appearance=dark] nav a:hover{background:#3d2e3a;color:#e6a9bb}[data-appearance=dark] h1{color:#f4eaf0}[data-appearance=dark] :is(.session-actions,.brand span,nav a,.page-heading p,.preview-status,.business-profile p,.business-profile small,.photo-upload small,footer){color:#cdbbc7}[data-appearance=dark] .list-table th{background:#3b2e39;color:#e6bdcb}[data-appearance=dark] .list-table td{border-color:#594653}[data-appearance=dark] .list-table tbody tr:hover{background:#372b36}[data-appearance=dark] .presentation-form{border-color:#594653}[data-appearance=dark] :is(nav a:focus-visible,.action-button.Mui-focusVisible){outline-color:#e6a9bb}}@media(prefers-reduced-motion:reduce){nav a{transition:none}}@media print{:root,body{color-scheme:light;color:#202630;background:#fff}.app-header,.page-heading,.toolbar,.preview-status,footer,.formula-help,.MuiAlert-root{display:none}main{padding:0}.sheet{min-width:0;padding:0}.sheet-scroll{border:0;border-radius:0;box-shadow:none;overflow:visible}.sheet-identification{background:#fff}.sheet :is(th,.cost-title,.cost-group b,.legend-weight strong,.simulations>div,.sale,.section-title){print-color-adjust:exact;-webkit-print-color-adjust:exact}.remove-line,.reset-price{display:none}}
