@layer reset, base, layout, components, responsive, print;
@layer reset {
  *,*::before,*::after{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{flex-shrink:0}img,svg{max-width:100%}button{border:0}button:disabled{cursor:not-allowed}
}
@layer base {
  :root{--navy:#14273e;--ink:#1c2c3f;--muted:#626c79;--faint:#f7f7f8;--white:#fff;--line:#e1e4e8;--accent:#ff4f00;--accent-dark:#b93800;--accent-light:#fff1ea;--green:#257455;--green-light:#edf7f1;--red:#ba2c36;--red-light:#fff0f0;--focus:#1258bb;--radius:12px;--sidebar:240px}
  html{scroll-behavior:smooth;scroll-padding:100px}body{background:var(--faint);font-family:'Helvetica Neue',Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.55}h1,h2,h3{line-height:1.25;letter-spacing:-.025em}h1{font-size:30px;font-weight:650}h2{font-size:18px;font-weight:650}h3{font-size:15px;font-weight:650}p{color:var(--muted)}strong{font-weight:650}input,select,textarea{width:100%;min-width:0;background:var(--white);border:1px solid #a3adb9;border-radius:7px;color:var(--ink);min-height:44px;padding:11px 12px;transition:border-color .15s,box-shadow .15s}select{cursor:pointer;padding-right:28px}textarea{resize:vertical;min-height:94px}input::placeholder,textarea::placeholder{color:#7b8490}input:hover,select:hover,textarea:hover{border-color:#718096}input:focus,select:focus,textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px #1258bb16;outline:0}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--red);background:#fffafa}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}button:active{filter:brightness(.94)}::selection{background:#ffd9c7}small{font-size:12px}strong,.stat>strong,.recipe-cost,.result-stat,.product-values,.order-summary,.live-summary{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.positive{color:var(--green)}.negative{color:var(--red)!important}.icon{vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.print-only{display:none}.skip-link{position:fixed;left:16px;top:-70px;z-index:2000;padding:12px 20px;background:var(--navy);color:#fff;border-radius:8px}.skip-link:focus{top:12px}.boot{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:16px}.loader{width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
}
@layer layout {
  .sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;z-index:30;background:var(--white);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:34px 20px 22px}.brand{display:flex;align-items:center;gap:10px;margin:0 4px 42px;line-height:1.05}.brand>span{font-size:22px;font-weight:750;letter-spacing:-1px}.brand-accent{color:var(--accent-dark)}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:8px}.nav-label{font-size:10px;font-weight:650;letter-spacing:1.4px;color:var(--muted);padding:0 16px;margin-bottom:14px}.sidebar nav{display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:12px;padding:13px 16px;min-height:48px;color:#596474;border-radius:8px;font-size:13px;font-weight:550;position:relative;transition:background .18s,color .18s}.nav-link:hover{background:var(--faint);color:var(--navy)}.nav-link.active{background:var(--accent-light);color:var(--accent-dark)}.nav-link.active::before{content:'';height:20px;width:3px;border-radius:2px;position:absolute;left:-20px;background:var(--accent)}.nav-count{margin-left:auto;font-size:10px;border:1px solid #f5d5c6;border-radius:4px;padding:0 5px}.sidebar-bottom{margin-top:auto;padding-top:40px}.local-card{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:9px;padding:14px 11px;margin-bottom:15px;background:#fcfcfd}.local-card>.icon{width:18px;color:#647f73;margin-top:1px}.local-card strong{font-size:11px}.local-card p{font-size:11px;margin-top:2px}.sidebar-action{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:44px;width:100%;background:transparent;text-align:left;color:var(--muted);font-size:12px;border-radius:7px}.sidebar-action:hover{background:var(--faint);color:var(--ink)}.sidebar-action .icon{width:17px}.sidebar-foot{font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:22px 0 0;margin-top:18px;text-align:center}.workspace{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--white)}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}.breadcrumb .icon{width:12px;color:#7c8794}.breadcrumb strong{color:var(--ink);font-weight:550}.storage-state{display:flex;align-items:center;gap:6px;font-size:11px;color:#517365}.storage-state .icon{width:14px;height:14px}.mobile-brand,.mobile-help,.mobile-nav{display:none}main{padding:35px 44px 40px;max-width:1510px;width:100%;margin:0 auto;flex:1;outline:none}.workspace-footer{padding:18px 44px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);gap:20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.page-heading p{margin-top:8px;font-size:13px}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.home-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);min-width:0}.panel-heading{padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-heading p{font-size:12px;margin-top:5px}.panel-heading h2>.icon{margin-right:7px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wizard-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:24px;align-items:start}.wizard-content{min-width:0}.form-panel{padding:28px;margin-bottom:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wide{grid-column:1/-1}.margin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.result-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr;gap:18px}.result-details{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin:28px 0}.simulation-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:32px;padding:0 28px 30px;align-items:start}.simulation-panel{margin-top:26px}.export-panel{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:26px 0 10px}.export-panel p{font-size:12px;margin-top:6px}.export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
}
@layer components {
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:7px;white-space:normal;font-size:12px;font-weight:600;line-height:1.5;transition:background .18s,border-color .18s}.btn.primary{background:var(--accent);color:var(--navy)}.btn.primary:hover{background:#ed4a00}.btn.secondary{background:var(--white);border-color:#bac2cc;color:var(--ink)}.btn.secondary:hover{background:var(--faint);border-color:#8795a5}.btn.light{background:#fff;color:var(--navy)}.btn.light:hover{background:#f0f3f7}.btn.ghost{background:transparent;color:var(--muted);padding-left:0}.btn.danger{background:var(--red);color:#fff}.btn .icon{width:17px;height:17px}.text-btn,.inline-btn{background:transparent;padding:8px 0;color:var(--muted);font-size:12px}.text-btn{display:inline-flex;align-items:center;gap:9px;min-height:44px}.text-btn:hover,.inline-btn:hover{text-decoration:underline}.text-btn .icon{width:16px}.text-link{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);min-height:44px;white-space:nowrap}.text-link:hover{color:var(--accent-dark)}.text-link .icon{width:15px}.icon-btn{display:inline-flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;border-radius:7px;background:transparent;color:var(--muted);flex-shrink:0}.icon-btn:hover{background:var(--faint);color:var(--navy)}.danger-icon:hover{background:var(--red-light);color:var(--red)}.badge{display:inline-flex;align-items:center;background:var(--faint);border:1px solid var(--line);border-radius:5px;padding:3px 8px;font-size:10px;color:var(--muted)}.badge.demo{background:var(--accent-light);color:var(--accent-dark);border-color:#f2cbb9;display:table;margin:6px 0 12px}.eyebrow{font-size:9px;letter-spacing:1.3px;font-weight:600;display:inline-flex;gap:8px;align-items:center}.stat{border:1px solid var(--line);border-radius:var(--radius);padding:20px;background:var(--white);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-top>span{font-size:11px;color:var(--muted)}.stat-icon{display:grid;place-items:center;background:var(--faint);border-radius:7px;width:31px;height:31px;color:#65788e}.stat-icon .icon{width:16px;height:16px}.stat>strong{font-size:29px;line-height:1.15;display:block;margin:14px 0 10px;font-weight:650;letter-spacing:-1px}.stat>small{font-size:10px;color:var(--muted)}.onboarding{background:var(--navy);border-radius:var(--radius);display:flex;align-items:center;position:relative;overflow:hidden;padding:31px 34px;margin-bottom:27px;color:#fff;min-height:256px}.onboarding-copy{position:relative;z-index:1;flex:1}.onboarding .eyebrow{color:#d1dbe8}.onboarding .eyebrow .icon{width:14px;height:14px}.onboarding h2{font-size:29px;line-height:1.22;letter-spacing:-.7px;white-space:pre-line;margin:17px 0 13px;font-weight:550}.onboarding p{color:#bcc9d8;font-size:12px;line-height:1.75}.onboarding-actions{display:flex;align-items:center;gap:22px;margin-top:23px}.onboarding-actions .text-btn{color:#d9e1eb}.onboarding-art{width:265px;margin:0 30px 0 15px}.empty{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 24px;min-height:265px;border-radius:var(--radius);gap:11px;background:var(--white)}.empty-icon{border:1px solid var(--line);background:var(--faint);width:55px;height:55px;display:grid;place-items:center;border-radius:14px;margin-bottom:6px;color:#7c8c9c}.empty-icon .icon{width:25px;height:25px}.empty h3{font-size:15px}.empty p{font-size:12px;max-width:290px;line-height:1.7}.empty .btn{margin-top:7px}.guide-list{padding:0 26px;margin:0;list-style:none}.guide-list li{display:flex;gap:14px;padding:3px 0 23px;position:relative}.guide-list li:not(:last-child)::before{content:'';position:absolute;left:16px;top:41px;bottom:5px;border-left:1px dashed var(--line)}.guide-number{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--faint);color:var(--muted);font-size:11px}.guide-number.done{color:var(--green);background:var(--green-light)}.guide-list strong{font-size:12px}.guide-list p{font-size:11px;margin-top:5px;line-height:1.6}.guide-list a{display:inline-flex;gap:5px;align-items:center;min-height:34px;margin-top:4px;color:var(--accent-dark);font-size:11px}.guide-list a .icon{width:13px}.backup-reminder{border-top:1px solid var(--line);display:flex;gap:10px;align-items:flex-start;background:#fcfcfd;border-radius:0 0 var(--radius) var(--radius);padding:15px 24px}.backup-reminder .icon{width:16px;margin-top:2px;color:var(--muted)}.backup-reminder p{font-size:10px;line-height:1.65}.backup-reminder .inline-btn{font-size:10px;padding:0;text-decoration:underline}.filter-bar{display:flex;gap:12px;align-items:center;margin:24px 0;flex-wrap:wrap}.filter-bar>label:not(.search-field){min-width:150px}.search-field{display:flex;align-items:center;position:relative;min-width:240px;flex:1;max-width:440px}.search-field .icon{position:absolute;left:14px;width:17px;color:#738194;pointer-events:none}.search-field input{padding-left:42px;border-color:#bac2cc}.list-note{font-size:11px;margin:-7px 0 22px}.product-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.product-title{display:flex;gap:12px;align-items:flex-start}.product-title h3{font-size:16px;overflow-wrap:anywhere}.product-title .muted{font-size:11px}.product-symbol{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;color:#6c8097;border:1px solid var(--line);background:#f7f8fa;border-radius:9px}.product-symbol.small{width:36px;height:36px}.product-symbol .icon{width:22px}.product-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:23px 0}.product-values small{font-size:10px;display:block;color:var(--muted);margin-bottom:7px}.product-values strong{font-size:17px;letter-spacing:-.5px}.product-actions{display:flex;gap:4px;align-items:center;border-top:1px solid var(--line);padding-top:15px}.product-actions .btn{margin-right:auto;font-size:11px}.recent-list{padding:0 22px 18px}.recent-list .product-card{border:0;border-radius:0;padding:16px 0}.recent-list .product-card+.product-card{border-top:1px solid var(--line)}.recent-list .product-values{padding:17px 0}.info-strip{display:flex;align-items:flex-start;gap:10px;padding:15px 18px;border:1px solid var(--line);border-radius:8px;background:var(--white)}.info-strip .icon{width:17px;color:#73849b;margin-top:1px}.info-strip p{font-size:12px;line-height:1.65}.info-strip.compact{background:var(--faint);font-size:11px;padding:14px;margin-top:20px}.info-strip.compact p{font-size:11px}.ingredient-count{font-size:12px;margin-left:auto}.ingredient-table{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.ingredient-table-head,.ingredient-card{display:grid;grid-template-columns:minmax(170px,2fr) minmax(85px,.8fr) minmax(100px,1.1fr) minmax(120px,1.2fr) 132px;gap:12px;align-items:center}.ingredient-table-head{padding:17px 22px;background:#fbfbfc;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.ingredient-card{padding:20px 22px;font-size:12px}.ingredient-card+.ingredient-card{border-top:1px solid var(--line)}.ingredient-name{display:flex;gap:11px;align-items:center;min-width:0}.ingredient-name h3{font-size:13px;overflow-wrap:anywhere}.ingredient-name small{font-size:10px;color:var(--muted)}.row-actions{display:flex}.mobile-label{display:none}.unit-cost{font-size:11px;color:var(--muted)}.wizard-steps{display:flex;align-items:center;margin-bottom:30px;border-bottom:1px solid var(--line);gap:28px}.wizard-step{display:flex;align-items:center;gap:11px;background:transparent;border-bottom:2px solid transparent;padding:0 0 20px;min-height:44px;color:var(--muted)}.wizard-step>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #a6b0bb;border-radius:50%;font-size:10px}.wizard-step strong{font-size:12px;font-weight:500}.wizard-step.current{color:var(--navy);border-bottom-color:var(--accent)}.wizard-step.current>span{background:var(--accent);border-color:var(--accent);color:var(--navy)}.wizard-step.complete>span{background:var(--green-light);color:var(--green);border-color:#c6dfd2}.wizard-step.complete .icon{width:15px}.form-heading{display:flex;align-items:center;gap:15px;margin-bottom:29px}.form-heading h2{font-size:19px}.form-heading p{font-size:12px;margin-top:6px}.section-number{font-size:21px;color:var(--accent-dark);font-weight:550;letter-spacing:-1px;border-right:1px solid var(--line);padding-right:16px}.field{min-width:0}.field label{display:block;font-size:12px;font-weight:550;margin-bottom:7px}.required{color:var(--accent-dark)}.optional{font-weight:400;font-size:10px;color:var(--muted);margin-left:5px}.input-wrap{position:relative}.input-prefix,.input-suffix{position:absolute;pointer-events:none;color:var(--muted);font-size:12px;top:50%;transform:translateY(-50%)}.input-prefix{left:12px}.input-suffix{right:12px}.has-prefix input{padding-left:38px}.has-suffix input{padding-right:76px}.field-help{display:block;font-size:10px;line-height:1.55;color:var(--muted);margin-top:7px;min-height:0}.field-help:empty{display:none}.field-error{display:none;color:var(--red);font-size:11px;line-height:1.5;margin-top:6px}.field-error.visible{display:block}.visual-help{background:var(--faint);border-radius:7px;padding:15px;display:flex;align-items:center;gap:12px;margin-top:23px}.visual-help .icon{width:22px;color:#7e8ba0}.visual-help p{font-size:11px}.form-navigation{display:flex;justify-content:space-between;align-items:center;gap:14px}.live-summary{position:sticky;top:26px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px;min-width:0}.summary-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.summary-top .eyebrow{color:var(--muted);font-size:9px}.live-indicator{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--green)}.live-indicator::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--green)}.live-summary h3{font-size:16px;margin:20px 0 7px;overflow-wrap:anywhere}.live-summary>p{font-size:11px}.summary-lines{margin-top:25px;display:grid;gap:12px}.summary-lines>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.summary-lines strong{color:var(--ink)}.total-line{border-top:1px solid var(--line);padding-top:12px;margin-top:4px}.summary-unit{border-top:1px solid var(--line);padding-top:20px;margin-top:17px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.summary-unit strong{font-size:25px;color:var(--ink);letter-spacing:-1px}.summary-price{padding:17px 16px;background:var(--navy);border-radius:8px;color:var(--white);margin-top:20px;display:flex;flex-direction:column;gap:4px}.summary-price>span{font-size:10px;color:#c8d2df}.summary-price>strong{font-size:29px;letter-spacing:-1px}.summary-price>small{font-size:9px;color:#c8d2df;line-height:1.7}.summary-note{display:flex;gap:8px;align-items:flex-start;margin-top:15px;font-size:10px!important;line-height:1.6}.summary-note .icon{width:14px;height:14px;margin-top:1px}.recipe-panel{padding:25px 22px}.recipe-table-head,.recipe-row{display:grid;grid-template-columns:minmax(88px,.9fr) minmax(140px,1.6fr) minmax(90px,.85fr) minmax(80px,.8fr) 65px 38px;gap:9px;align-items:start}.recipe-table-head{font-size:10px;color:var(--muted);padding:15px 0 9px}.recipe-row{border-bottom:1px solid var(--line);padding:12px 0}.recipe-row .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.recipe-row select,.recipe-row input{font-size:11px;padding-left:8px;padding-right:5px;min-height:44px}.recipe-row select{padding-right:16px}.recipe-row .icon-btn{min-width:38px}.recipe-cost{font-size:11px;padding:12px 0;white-space:nowrap;text-align:right}.row-warning{grid-column:1/-1;margin:0}.recipe-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px}.recipe-subtotals{border-top:1px solid var(--line);margin-top:24px;padding-top:15px}.recipe-subtotals>div{display:flex;justify-content:space-between;padding:7px 0;font-size:11px;color:var(--muted)}.recipe-subtotals strong{color:var(--ink)}.recipe-total{border-top:1px solid var(--line);margin-top:8px;padding-top:15px!important;font-size:13px!important}.subheading{border-top:1px solid var(--line);padding-top:24px;margin:24px 0 18px;font-size:13px}.subheading .icon{width:16px;margin-right:5px}.extra-row{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;margin-bottom:18px}.extra-row>.field:last-child label{color:var(--muted);font-weight:400}.calculated-strip{display:flex;justify-content:space-between;gap:15px;background:var(--faint);border:1px solid var(--line);border-radius:6px;padding:11px 14px;font-size:11px;color:var(--muted);margin:16px 0}.calculated-strip strong{color:var(--ink)}.heading-icon{display:grid;place-items:center;background:var(--faint);border-radius:8px;width:42px;height:42px;color:#6e8399}.margin-explanation{background:var(--faint);border:1px solid var(--line);border-radius:7px;margin-top:24px;font-size:11px}.margin-explanation summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:13px 15px;min-height:44px}.margin-explanation summary::-webkit-details-marker{display:none}.margin-explanation summary>.icon{width:16px}.margin-explanation summary>.icon:last-child{margin-left:auto;width:12px}.margin-explanation[open] summary>.icon:last-child{transform:rotate(90deg)}.margin-content{padding:0 16px 16px}.margin-content p{line-height:1.7}.margin-example{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:13px;margin:14px 0}.margin-example>span{font-size:9px;color:var(--muted)}.cost-bar{display:flex;height:32px;margin:8px 0}.cost-bar>span{display:grid;place-items:center;font-size:10px}.cost-part{width:60%;background:var(--navy);color:#fff}.profit-part{width:40%;background:var(--accent);color:var(--navy)}.margin-example>div:last-child{display:flex;justify-content:space-between;gap:10px;font-size:10px;flex-wrap:wrap}.result-notice{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--green);margin-bottom:22px}.result-notice .icon{width:15px}.recommended-card{background:var(--navy);color:#fff;border-radius:var(--radius);padding:25px 28px}.recommended-card .eyebrow{color:#c2cfe1;font-size:9px}.recommended-card>strong{display:block;font-size:42px;letter-spacing:-1.7px;margin:14px 0 10px;line-height:1.2}.recommended-card>strong small{font-size:12px;color:#cad4e1;letter-spacing:0;margin-left:7px;font-weight:400}.recommended-card>p{font-size:11px;color:#c8d4e2}.recommended-bottom{display:flex;gap:12px;flex-wrap:wrap;font-size:9px;color:#d6e1ee;border-top:1px solid #ffffff25;padding-top:14px;margin-top:19px}.recommended-bottom .icon{width:12px;height:12px;color:#82c5a3;margin-right:4px}.result-stat{border:1px solid var(--line);background:var(--white);border-radius:var(--radius);padding:26px 24px;display:flex;flex-direction:column;justify-content:center;gap:16px}.result-stat>span{font-size:12px;color:var(--muted)}.result-stat>strong{font-size:31px;letter-spacing:-1px}.result-stat>small{font-size:10px;color:var(--muted)}.result-help{font-size:11px;margin:14px 0 0}.channel-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:6px 26px 20px}.channel-prices>div{display:flex;flex-direction:column;gap:10px;min-width:0}.channel-prices>div+div{border-left:1px solid var(--line);padding-left:18px}.channel-prices span{font-size:11px}.channel-prices strong{font-size:24px;letter-spacing:-1px}.channel-prices small{font-size:10px;color:var(--muted)}.panel-note{font-size:10px;padding:0 26px 18px}.result-details .margin-explanation{margin:0 26px 25px}.cost-breakdown{display:grid;gap:13px;padding:2px 26px 20px}.breakdown-label{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:7px}.breakdown-label>span{display:flex;align-items:center;gap:7px;color:var(--muted)}.legend-dot{height:6px;width:6px;border-radius:50%}.ingredients{background:var(--navy)}.packaging{background:#8fa0b5}.labor{background:var(--accent)}.other{background:#899185}.bar-track{height:4px;background:var(--faint);border-radius:4px;overflow:hidden}.bar-fill{height:100%;border-radius:4px;min-width:0}.cost-total{display:flex;justify-content:space-between;margin:0 26px 22px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.cost-total strong{font-size:16px}.simulation-panel .panel-heading{padding:26px 28px}.order-summary{border:1px solid var(--line);border-radius:10px;padding:22px;background:#fbfbfc;position:sticky;top:25px}.order-summary .summary-top>span:last-child{font-size:10px;color:var(--muted)}.order-lines{display:grid;gap:13px;margin-top:24px}.order-lines>div{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--muted)}.order-lines strong{color:var(--ink);font-size:11px;white-space:nowrap}.order-profit{border-radius:8px;background:var(--green-light);color:var(--green);padding:19px 18px;margin-top:23px;display:flex;flex-direction:column;gap:9px}.order-profit>span{font-size:11px}.order-profit>strong{font-size:33px;letter-spacing:-1px}.order-profit>small{font-size:10px}.order-profit.negative{background:var(--red-light)}.order-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.order-metrics>div{display:flex;flex-direction:column;gap:5px}.order-metrics span{font-size:9px;color:var(--muted)}.order-metrics strong{font-size:16px}.comparison{border-top:1px solid var(--line);padding:25px 28px}.comparison h3{font-size:13px}.comparison p{font-size:11px;margin-top:5px}.comparison-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}.comparison-card{background:var(--white);border:1px solid #b6c0cc;border-radius:8px;padding:14px;text-align:left;display:flex;flex-direction:column;gap:8px;min-width:0}.comparison-card:hover{background:var(--faint)}.comparison-card.selected{border-color:var(--accent-dark);background:var(--accent-light)}.comparison-card>span{font-size:11px;color:var(--muted)}.comparison-card>strong{font-size:20px;letter-spacing:-.5px}.comparison-card>small{font-size:9px;color:var(--muted)}.alert{padding:16px 18px;border:1px solid #d6e0ea;border-radius:8px;background:#f4f7fa;font-size:12px;margin-bottom:22px;line-height:1.7}.alert>div:first-child{display:flex;align-items:center;gap:8px}.alert p{font-size:11px;margin:7px 0 10px}.alert .btn{margin-top:4px}.alert.error{background:var(--red-light);border-color:#efc4c9;color:var(--red)}.alert.error p{color:var(--red)}dialog{border:1px solid var(--line);border-radius:15px;padding:29px;width:min(590px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 24px 80px #0a1a3029;color:var(--ink)}dialog::backdrop{background:#10223780;backdrop-filter:blur(2px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.modal-heading .eyebrow{color:var(--muted);font-size:8px;margin-bottom:8px}.modal-heading h2{font-size:22px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}.modal-copy{line-height:1.8;font-size:13px}.help-body ol{padding-left:22px;font-size:13px;margin:0 0 24px}.help-body li{margin-bottom:14px;color:var(--muted)}.help-body li strong{color:var(--ink)}.help-body>p{font-size:12px}.toast{display:flex;align-items:center;gap:11px;position:fixed;bottom:28px;left:calc(50% + 100px);transform:translate(-50%,15px);z-index:2000;background:var(--navy);color:var(--white);padding:15px 22px;border-radius:9px;box-shadow:0 6px 20px #14273e25;font-size:12px;max-width:calc(100% - 40px);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s;pointer-events:none}.toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}.toast.error{background:#8e2430}.toast>.icon{width:18px;color:#94d0af}.toast.error>.icon{color:#ffcbcb}
}

@layer components {
  .assistant-panel{max-width:980px;margin:0 auto;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 12px 32px #14273e0a}
  .assistant-panel-heading{display:flex;align-items:center;gap:13px;padding:22px 25px;border-bottom:1px solid var(--line)}
  .assistant-panel-heading h2{font-size:16px}.assistant-panel-heading p{font-size:11px;margin-top:4px}
  .assistant-brand-mark,.assistant-avatar{display:grid;place-items:center;flex:0 0 auto;background:var(--accent-light);color:var(--accent-dark);border-radius:50%}
  .assistant-brand-mark{width:42px;height:42px}.assistant-brand-mark .icon{width:21px}
  .assistant-online{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap}
  .assistant-online i{width:7px;height:7px;border-radius:50%;background:#39a276;box-shadow:0 0 0 3px #39a27620}
  .assistant-privacy{display:flex;align-items:flex-start;gap:9px;padding:12px 25px;background:#fbfcfd;border-bottom:1px solid var(--line)}
  .assistant-privacy>.icon{width:15px;height:15px;margin-top:2px;color:#71839a}.assistant-privacy p{font-size:10px;line-height:1.65}
  .assistant-messages{display:flex;flex-direction:column;gap:18px;max-height:410px;min-height:260px;overflow-y:auto;padding:24px 25px;overscroll-behavior:contain;scroll-behavior:smooth}
  .assistant-message{display:flex;align-items:flex-start;gap:10px;max-width:88%}.assistant-message.from-user{align-self:flex-end;flex-direction:row-reverse}
  .assistant-avatar{width:30px;height:30px;margin-top:2px;background:#f3f5f7;color:#65788e}.from-user .assistant-avatar{background:var(--navy);color:#fff}.assistant-avatar .icon{width:15px;height:15px}
  .assistant-bubble{padding:13px 15px;border:1px solid var(--line);border-radius:4px 12px 12px 12px;background:#fcfcfd;min-width:0}.from-user .assistant-bubble{border-color:#ffdbcc;background:#fff4ef;border-radius:12px 4px 12px 12px}
  .assistant-bubble p{font-size:12px;line-height:1.75;color:var(--ink);white-space:pre-line;overflow-wrap:anywhere}.assistant-bubble p+p{margin-top:11px}.assistant-bubble .assistant-example{padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
  .assistant-audio-note{display:flex;align-items:center;gap:7px;margin-bottom:5px;font-size:11px;font-weight:600;color:var(--accent-dark)}.assistant-audio-note .icon{width:15px}
  .assistant-thinking{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:11px}.assistant-dots{display:flex;gap:3px}.assistant-dots i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:assistant-pulse 1s infinite alternate}.assistant-dots i:nth-child(2){animation-delay:.2s}.assistant-dots i:nth-child(3){animation-delay:.4s}@keyframes assistant-pulse{to{opacity:.25;transform:translateY(-3px)}}
  .assistant-error{display:flex;align-items:flex-start;gap:9px;margin:0 25px 14px;padding:12px 14px;border:1px solid #efc4c9;border-radius:8px;background:var(--red-light);color:var(--red);font-size:11px;line-height:1.6}.assistant-error>.icon{width:16px;height:16px;margin-top:1px}.assistant-error p{color:var(--red);flex:1}.assistant-error button{flex:0 0 auto;min-height:36px;padding:5px 8px;border-radius:5px;background:#fff;color:var(--red);font-size:10px;font-weight:600;text-decoration:underline}
  .assistant-composer{margin:0 25px;padding:12px;border:1px solid #b6c0cc;border-radius:11px;background:#fff;transition:border-color .18s,box-shadow .18s}.assistant-composer:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px #1258bb16}
  .assistant-composer textarea{display:block;resize:vertical;width:100%;min-height:76px;padding:4px 5px;border:0;border-radius:0;box-shadow:none;font-size:13px;line-height:1.6}.assistant-composer textarea:focus{border:0;box-shadow:none;outline:0}.assistant-composer textarea:disabled{background:#fff;color:var(--muted)}
  .assistant-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:7px;border-top:1px solid #edf0f2}.assistant-composer-hint{font-size:9px;color:var(--muted)}.assistant-composer-actions{display:flex;align-items:center;gap:8px}
  .assistant-round-btn{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;transition:transform .15s,background .15s}.assistant-round-btn:hover:not(:disabled){transform:translateY(-1px)}.assistant-round-btn .icon{width:18px;height:18px}
  .assistant-mic-btn{background:#f2f4f6;color:var(--navy)}.assistant-mic-btn:hover:not(:disabled){background:#e7ebef}.assistant-mic-btn.recording{background:var(--red-light);color:var(--red);box-shadow:0 0 0 4px #ba2c3617;animation:assistant-record-pulse 1.4s infinite}@keyframes assistant-record-pulse{50%{box-shadow:0 0 0 8px #ba2c3609}}
  .assistant-send-btn{background:var(--accent);color:#fff}.assistant-send-btn:hover:not(:disabled){background:#e94700}.assistant-round-btn:disabled{opacity:.42}
  .assistant-audio-attachment{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:37px;margin:5px 0 12px;padding:4px 7px 4px 11px;border-radius:7px;background:var(--accent-light);color:var(--accent-dark);font-size:10px}.assistant-audio-attachment>.icon{width:15px}.assistant-audio-attachment span{overflow-wrap:anywhere}.assistant-audio-attachment button{display:grid;place-items:center;width:32px;height:32px;border-radius:5px;background:transparent;color:inherit}.assistant-audio-attachment button .icon{width:15px}
  .assistant-disclaimer{padding:10px 25px 19px;text-align:center;font-size:9px}.assistant-review{margin:20px 25px 18px;padding:20px;border:1px solid #f0cdbd;border-radius:11px;background:#fffaf7}.assistant-review-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.assistant-review-heading .eyebrow{color:var(--accent-dark);font-size:9px}.assistant-review-heading h2{margin-top:4px;font-size:17px}
  .assistant-recipe-meta{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px;margin:17px 0 12px}.assistant-recipe-meta>div{display:flex;flex-direction:column;gap:4px;padding:11px;border-radius:7px;background:#fff}.assistant-recipe-meta small,.assistant-ingredient-list small{font-size:9px;color:var(--muted)}.assistant-recipe-meta strong{font-size:11px;overflow-wrap:anywhere}
  .assistant-ingredient-list{list-style:none;padding:0;margin:0;background:#fff;border:1px solid var(--line);border-radius:8px}.assistant-ingredient-list li{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px}.assistant-ingredient-list li+li{border-top:1px solid var(--line)}.assistant-ingredient-list li>div{display:flex;flex-direction:column;gap:3px;min-width:0}.assistant-ingredient-list li strong{font-size:11px;overflow-wrap:anywhere}.assistant-ingredient-list li small{line-height:1.5}.assistant-ingredient-list li>span{flex-shrink:0;font-size:11px;font-weight:600}
  .assistant-cost-details{margin-top:13px;border:1px solid var(--line);border-radius:8px;background:#fff}.assistant-cost-details summary{padding:11px 13px;cursor:pointer;font-size:10px;font-weight:600}.assistant-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 13px 13px}.assistant-extra-grid>span{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted)}.assistant-extra-grid strong{font-size:9px;color:var(--ink);text-align:right}.assistant-review-note{margin-top:12px;font-size:9px;line-height:1.6}.assistant-review-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.assistant-review-actions .btn{min-height:42px;font-size:10px}.assistant-review-actions .icon{width:15px;height:15px}
  @media(max-width:520px){.assistant-online{display:none}.assistant-panel-heading{padding:18px 16px}.assistant-privacy{padding:11px 16px}.assistant-messages{padding:19px 14px;min-height:240px;max-height:48dvh}.assistant-message{max-width:96%;gap:7px}.assistant-avatar{width:27px;height:27px}.assistant-bubble{padding:11px 12px}.assistant-bubble p{font-size:11px}.assistant-composer{margin:0 12px;padding:9px}.assistant-composer textarea{font-size:16px;min-height:82px}.assistant-composer-hint{max-width:145px;line-height:1.45}.assistant-round-btn{width:44px;height:44px}.assistant-disclaimer{padding:9px 13px 16px}.assistant-error{margin-left:12px;margin-right:12px;flex-wrap:wrap}.assistant-review{margin:17px 12px;padding:14px}.assistant-review-heading h2{font-size:15px}.assistant-recipe-meta{grid-template-columns:1fr 1fr}.assistant-recipe-meta>div:first-child{grid-column:1/-1}.assistant-extra-grid{grid-template-columns:1fr}.assistant-review-actions{flex-direction:column-reverse}.assistant-review-actions .btn{width:100%;justify-content:center}.page-heading .btn[data-action="assistant-new"]{font-size:10px;padding:8px 10px}}
}

@layer responsive {
  @media(max-width:760px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-nav .nav-link{font-size:9px;white-space:nowrap;padding-left:1px;padding-right:1px}.mobile-nav .nav-link .icon{width:19px;height:19px}.onboarding-actions .btn{flex:1 1 190px}}
}

@layer responsive {
  @media screen {
    body{font-size:16px}
    small{font-size:14px}
    .page-heading p,.panel-heading p,.form-heading p,.assistant-panel-heading p,.onboarding p,.empty p,.guide-list p,.info-strip p,.info-strip.compact p,.field-help,.extra-row .field-help,.simulation-panel .field-help,.visual-help p,.backup-reminder p{font-size:16px;line-height:1.6}
    .stat-top>span{font-size:15px}
    .local-card strong,.local-card p{font-size:14px}
    .guide-list strong{font-size:15px}
    .guide-list a,.backup-reminder .inline-btn,.text-link{font-size:14px}
    .assistant-privacy p{font-size:15px}
    .assistant-panel-heading h2{font-size:18px}
    .assistant-bubble p{font-size:16px}
    .assistant-transcript{font-size:15px!important}
    .feedback-error,.feedback-success{font-size:15px}
  }
  @media screen and (min-width:761px) {
    h1{font-size:32px}h2{font-size:20px}h3{font-size:16px}
    .onboarding h2{font-size:31px}.form-heading h2{font-size:20px}.panel-heading h2{font-size:19px}
    .ingredient-name h3{font-size:16px}.product-title h3{font-size:17px}
  }
  @media screen and (max-width:760px) {
    h1{font-size:28px}h2{font-size:19px}h3{font-size:16px}
    .onboarding h2{font-size:29px}.form-heading h2{font-size:19px}.panel-heading h2{font-size:18px}
    .ingredient-name h3{font-size:16px}.product-title h3{font-size:16px}
  }
}
@layer responsive {
  @media(min-width:1600px){:root{--sidebar:260px}main{padding-top:45px}.onboarding{padding:40px}.onboarding-art{width:310px}.onboarding h2{font-size:34px}.stat{padding:24px}.home-bottom{grid-template-columns:1.7fr 1fr}}
  @media(max-width:1250px){:root{--sidebar:215px}main{padding:30px}.topbar,.workspace-footer{padding-left:30px;padding-right:30px}.sidebar{padding-left:15px;padding-right:15px}.nav-link.active::before{left:-15px}.brand{gap:8px}.brand>span{font-size:20px}.stat{padding:16px}.stat-top>span{font-size:10px}.stat>small{font-size:9px}.home-bottom{grid-template-columns:1.4fr 1fr}.onboarding-art{width:215px;margin-right:0}.onboarding h2{font-size:27px}.wizard-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.form-panel{padding:23px}.recipe-table-head,.recipe-row{grid-template-columns:minmax(80px,.9fr) minmax(120px,1.5fr) minmax(76px,.8fr) minmax(60px,.8fr) 50px 32px;gap:7px}.recipe-row .icon-btn{min-width:32px}.result-grid{grid-template-columns:1.6fr 1fr 1fr}.result-stat{padding:22px 18px}.recommended-card>strong{font-size:36px}.result-stat>strong{font-size:27px}.export-panel{flex-direction:column;align-items:flex-start}.export-actions{justify-content:flex-start}.ingredient-table-head,.ingredient-card{grid-template-columns:minmax(150px,1.8fr) 75px 95px 110px 120px;gap:8px;padding-left:15px;padding-right:15px}.row-actions .icon-btn{min-width:40px}.simulation-layout{gap:22px;grid-template-columns:minmax(0,1.1fr) minmax(260px,1fr)}.channel-prices{gap:12px}.channel-prices strong{font-size:21px}.channel-prices>div+div{padding-left:12px}}
  @media(min-width:761px) and (max-width:1100px){.wizard-layout{grid-template-columns:1fr}.live-summary{position:static;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.live-summary .summary-lines{grid-column:1;grid-row:2/7;margin-top:16px}.live-summary .summary-unit{grid-column:2;grid-row:2/4;margin:0;border:0;padding-top:16px}.live-summary .summary-price{grid-column:2;grid-row:4/7}.live-summary .summary-note{grid-column:1/-1}.live-summary>h3,.live-summary>p{display:none}.product-grid{grid-template-columns:1fr}.ingredient-table-head{display:none}.ingredient-card{grid-template-columns:1fr 1fr 1fr}.ingredient-name{grid-column:1/3}.ingredient-card>.row-actions{grid-column:3;grid-row:1;justify-content:flex-end}.ingredient-card>.row-actions+.mobile-label{display:none}.mobile-label{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.home-bottom{grid-template-columns:1fr}.getting-started .guide-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.guide-list li::before{display:none}.getting-started .guide-list li{padding-bottom:20px}.result-details{grid-template-columns:1fr}.stats-grid{gap:12px}.stat-top>.stat-icon{display:none}.stats-grid .stat>strong{font-size:25px}}
  @media(max-width:760px){:root{--sidebar:0px}.sidebar{display:none}.workspace{margin-left:0}.topbar{height:70px;padding:0 20px}.breadcrumb,.storage-state{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:19px;letter-spacing:-.7px;font-weight:650}.mobile-brand>svg{width:32px;height:32px}.mobile-brand strong{color:var(--accent-dark)}.mobile-help{display:flex}.mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:var(--white);z-index:50;padding:7px 8px max(7px,env(safe-area-inset-bottom))}.mobile-nav .nav-link{display:flex;flex-direction:column;gap:3px;min-height:55px;padding:7px 4px;font-size:10px;border-radius:7px}.mobile-nav .nav-link .icon{width:20px;height:20px}.mobile-nav .nav-link.active::before,.mobile-nav .nav-count{display:none}main{padding:25px 20px 32px}.workspace-footer{padding:18px 20px 90px;font-size:9px;flex-wrap:wrap;gap:5px}.page-heading{margin-bottom:22px;gap:15px;align-items:flex-start;flex-wrap:wrap}h1{font-size:26px}.page-heading p{font-size:12px;line-height:1.65}.page-heading>.btn{min-height:40px;padding:9px 13px;font-size:11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat{padding:17px 15px}.stat-top>span{font-size:10px}.stat-top .stat-icon{width:25px;height:25px;border-radius:5px}.stat>strong{font-size:26px;margin:12px 0 8px}.stat>small{font-size:9px}.onboarding{padding:27px 24px;min-height:0;display:block;margin-bottom:20px}.onboarding .eyebrow{font-size:8px}.onboarding h2{font-size:28px;line-height:1.25;margin-top:16px}.onboarding p{font-size:12px}.onboarding-art{display:none}.onboarding-actions{gap:12px;flex-wrap:wrap;margin-top:20px}.onboarding-actions .btn{font-size:11px}.onboarding-actions .text-btn{font-size:11px}.home-bottom{grid-template-columns:1fr;gap:20px}.panel-heading{padding:22px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:11px}.empty{padding:35px 22px;min-height:265px}.guide-list{padding:0 22px}.guide-list strong{font-size:13px}.guide-list p{font-size:12px}.guide-list a{font-size:12px;min-height:44px}.backup-reminder{padding:18px 22px}.backup-reminder p,.backup-reminder .inline-btn{font-size:11px}.filter-bar{gap:10px;align-items:stretch;margin:20px 0}.search-field{min-width:0;max-width:none;flex-basis:100%}.filter-bar>label:not(.search-field){min-width:0;flex:1}.filter-bar select{font-size:12px}.ingredient-count{margin-left:0}.ingredient-table{border:0;background:transparent;overflow:visible}.ingredient-table-head{display:none}.ingredient-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:14px;font-size:13px}.ingredient-card+.ingredient-card{border-top:1px solid var(--line)}.ingredient-name{grid-column:1/-1}.ingredient-name h3{font-size:15px}.ingredient-name small{font-size:11px}.ingredient-card>.row-actions{grid-column:2;justify-content:flex-end;align-self:end}.mobile-label{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.unit-cost{font-size:12px}.row-actions .icon-btn{min-width:44px}.info-strip p{font-size:11px}.product-grid{grid-template-columns:1fr}.product-card{padding:21px}.product-values strong{font-size:17px}.product-values small{font-size:10px}.wizard-steps{gap:0;justify-content:space-between;margin:6px 0 23px}.wizard-step{gap:7px;padding-bottom:16px}.wizard-step>span{width:24px;height:24px;font-size:9px}.wizard-step strong{font-size:10px}.wizard-layout{grid-template-columns:1fr;gap:20px;display:flex;flex-direction:column}.wizard-content{width:100%}.live-summary{width:100%;position:fixed;bottom:77px;left:0;z-index:45;background:var(--navy);color:var(--white);border:0;border-radius:0;padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px;box-shadow:0 -2px 10px #14273e10}.live-summary .summary-top,.live-summary h3,.live-summary>p,.live-summary .summary-lines,.live-summary .summary-note,.live-summary .summary-price>small{display:none}.live-summary .summary-unit{display:flex;flex-direction:column;color:#c9d4e1;gap:2px;font-size:10px;border:0;padding:0;margin:0}.live-summary .summary-unit strong{font-size:20px;color:#fff;letter-spacing:-.6px}.live-summary .summary-price{background:transparent;padding:0;margin:0;text-align:right;gap:2px}.live-summary .summary-price>span{font-size:10px}.live-summary .summary-price>strong{font-size:23px;color:#fff;letter-spacing:-.6px}.wizard-layout{padding-bottom:70px}.form-panel{padding:23px 20px;margin-bottom:20px}.form-heading{gap:12px;margin-bottom:25px}.form-heading h2{font-size:18px}.form-heading p{font-size:11px}.section-number{font-size:18px;padding-right:12px}.form-grid{gap:20px 15px}.field label{font-size:12px}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.field-help{font-size:11px}.field-error{font-size:12px}.visual-help{grid-column:1/-1;margin:0}.visual-help p{font-size:12px}.field.wide{grid-column:1/-1}.form-navigation{padding:0 0 12px}.form-navigation .btn{font-size:12px;min-height:46px}.recipe-panel{padding:23px 18px}.recipe-table-head{display:none}.recipe-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:1px solid var(--line);background:#fcfcfd;border-radius:8px;padding:17px 14px;margin-bottom:14px}.recipe-row .field label{position:static;width:auto;height:auto;clip:auto;display:block;font-size:11px}.recipe-row>div:nth-child(1){grid-column:1}.recipe-row>div:nth-child(2){grid-column:1/-1;grid-row:2}.recipe-row>div:nth-child(3),.recipe-row>div:nth-child(4){grid-row:3}.recipe-row>.icon-btn{grid-column:2;grid-row:1;justify-self:end;align-self:end;min-width:44px}.recipe-row .recipe-cost{grid-column:1/-1;grid-row:4;text-align:left;display:flex;justify-content:space-between;padding:10px 0 0;border-top:1px solid var(--line);font-size:13px}.recipe-cost .mobile-label{margin:0;font-size:11px}.row-warning{grid-column:1/-1}.recipe-bottom{flex-direction:column;align-items:stretch;gap:6px}.recipe-bottom .text-btn{align-self:center}.recipe-subtotals>div{font-size:12px}.extra-row{gap:14px;grid-template-columns:1.1fr 1fr}.extra-row .field-help{font-size:10px}.extra-row .field select{font-size:13px;padding-right:20px}.margin-grid{grid-template-columns:1fr}.margin-content{font-size:12px}.margin-explanation summary{font-size:11px}.heading-actions{width:100%;gap:8px}.heading-actions .btn{flex:1;font-size:11px;min-height:44px}.result-notice{font-size:10px;align-items:flex-start}.result-grid{grid-template-columns:1fr 1fr;gap:12px}.recommended-card{grid-column:1/-1;padding:25px}.recommended-card>strong{font-size:41px}.recommended-card .eyebrow{font-size:8px}.recommended-card>p{font-size:11px}.result-stat{padding:20px 17px;gap:13px}.result-stat>span{font-size:11px}.result-stat>strong{font-size:25px}.result-stat>small{font-size:9px}.result-help{font-size:10px;line-height:1.7}.result-details{grid-template-columns:1fr;gap:20px;margin:23px 0}.channel-prices{padding:0 22px 20px;gap:11px}.channel-prices>div+div{padding-left:11px}.channel-prices strong{font-size:19px}.channel-prices span{font-size:10px}.channel-prices small{font-size:9px}.panel-note{padding:0 22px 18px;font-size:10px}.result-details .margin-explanation{margin:0 22px 22px}.cost-breakdown{padding:0 22px 20px}.cost-total{margin:0 22px 22px}.simulation-layout{grid-template-columns:1fr;gap:25px;padding:0 20px 22px}.simulation-panel .panel-heading{padding:22px 20px}.simulation-panel .form-grid{grid-template-columns:1fr 1fr;gap:18px 13px}.simulation-panel .field label{font-size:11px;min-height:30px}.simulation-panel .field-help{font-size:10px}.simulation-panel .field select{font-size:13px}.order-summary{padding:22px;position:static}.order-lines>div{font-size:11px}.order-lines strong{font-size:12px}.order-profit>strong{font-size:35px}.order-metrics span{font-size:10px}.comparison{padding:22px 20px}.comparison-list{grid-template-columns:1fr 1fr;gap:10px}.comparison-card{padding:14px}.comparison-card>span{font-size:11px}.comparison-card>strong{font-size:21px}.comparison-card>small{font-size:10px}.export-panel{padding:5px 0 10px;gap:17px}.export-panel h2{font-size:17px}.export-actions{display:grid;grid-template-columns:1fr;width:100%;gap:10px}.export-actions .btn{justify-content:flex-start;padding:12px 16px;font-size:12px}dialog{padding:23px 20px;width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.modal-heading{margin-bottom:22px;gap:10px}.modal-heading h2{font-size:21px}.modal-actions .btn{font-size:12px;flex:1}.modal-copy{font-size:13px}.toast{bottom:90px;left:50%;font-size:12px;padding:14px 17px;max-width:calc(100% - 28px);width:max-content}.recent-list{padding:0 20px 18px}.recent-list .product-actions .icon-btn{min-width:38px}}
  @media(max-width:370px){main{padding-left:15px;padding-right:15px}.onboarding{padding:25px 20px}.onboarding h2{font-size:26px}.stat-top .stat-icon{display:none}.wizard-step strong{font-size:9px}.wizard-step{gap:5px}.form-grid{grid-template-columns:1fr}.visual-help,.wide{grid-column:1}.product-values{gap:8px}.product-values strong{font-size:15px}.channel-prices strong{font-size:17px}.simulation-panel .form-grid{grid-template-columns:1fr}.simulation-panel .field label{min-height:0}.extra-row{grid-template-columns:1fr}.recommended-card>strong{font-size:38px}}
  @media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
}
@layer responsive {
  @media(min-width:761px){.mobile-help{display:none}}
  @media(max-width:760px){.live-summary{top:auto}.wizard-layout{padding-bottom:110px}.workspace-footer{padding-bottom:100px}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1 1 140px}html{scroll-padding-bottom:180px}}
}
@layer layout {
  .topbar{height:58px;padding:0 32px;flex:none}
  .breadcrumb{flex:1;min-width:0;gap:10px;font-size:11px}
  .breadcrumb>span{white-space:nowrap}
  .breadcrumb>strong{font-size:12px}
  .topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
}
@layer components {
  .account-menu-shell{position:relative;flex:none}
  .account-menu-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--navy);font:inherit;font-size:12px;font-weight:600}
  .account-menu-trigger:hover,.account-menu-trigger[aria-expanded="true"]{background:var(--faint);border-color:#c7ced7}
  .account-menu-trigger:focus-visible,.account-menu-save:focus-visible,.account-menu-signout:focus-visible,.account-menu-form select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
  .account-menu-trigger-icon{display:grid;place-items:center;width:22px;height:22px}
  .account-menu-trigger-icon .icon{width:19px;height:19px}
  .account-menu-panel{position:absolute;top:calc(100% + 9px);right:0;z-index:90;width:min(350px,calc(100vw - 24px));max-height:min(690px,calc(100dvh - 86px));overflow:auto;padding:17px;background:var(--white);border:1px solid var(--line);border-radius:13px;box-shadow:0 18px 48px #14273e24;color:var(--ink)}
  .account-menu-panel[hidden],.account-sync-banner[hidden]{display:none}
  .account-menu-profile{display:flex;align-items:center;gap:11px;padding:1px 1px 14px;border-bottom:1px solid var(--line)}
  .account-menu-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:var(--navy);color:#fff;font-size:14px;font-weight:700}
  .account-menu-profile-copy{display:grid;gap:3px;min-width:0}
  .account-menu-profile-copy strong{font-size:13px}
  .account-menu-profile-copy span{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
  .account-menu-close{display:grid;place-items:center;flex:none;width:36px;min-width:36px;height:36px;min-height:36px;margin-left:auto;border-radius:7px;background:transparent;color:var(--muted)}
  .account-menu-close:hover{background:var(--faint);color:var(--navy)}
  .account-menu-close .icon{width:17px;height:17px}
  .account-menu-form{display:grid;gap:7px;padding:13px 0}
  .account-menu-form label{margin-top:2px;color:var(--muted);font-size:11px;font-weight:650}
  .account-menu-form select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #c9d0d8;border-radius:8px;background:#fff;color:var(--ink);font-size:13px}
  .account-menu-note{color:var(--muted);font-size:10px;line-height:1.5}
  .account-menu-error{padding:8px 10px;border-radius:7px;background:var(--red-light);color:var(--red);font-size:11px;line-height:1.45}
  .account-menu-error[hidden]{display:none}
  .account-menu-save{min-height:42px;margin-top:2px;padding:9px 12px;border-radius:8px;background:var(--navy);color:#fff;font-size:12px;font-weight:650}
  .account-menu-save:hover{background:#203b5d}
  .account-menu-sync{display:grid;gap:9px;padding:11px 10px;border:1px solid #dce4e7;border-radius:8px;background:#f5faf8;color:#244c41;font-size:11px;line-height:1.45}
  .account-menu-sync>span{display:flex;align-items:center;gap:7px}
  .account-menu-sync .icon{width:15px;height:15px;flex:none}
  .account-menu-sync.sync-syncing,.account-menu-sync.sync-loading{border-color:#d5e2ec;background:#f5f9fc;color:#294960}
  .account-menu-sync.sync-offline{border-color:#e7c994;background:#fff8ea;color:#674516}
  .account-menu-sync.sync-conflict{border-color:#e4aaaa;background:#fff3f2;color:#772f2f}
  .account-menu-sync .sync-actions{display:grid;justify-content:stretch}
  .account-menu-sync .sync-action{min-height:40px;font-size:11px}
  .account-menu-signout{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;margin-top:10px;padding:8px 9px;border-radius:7px;background:transparent;color:var(--muted);text-align:left;font-size:12px}
  .account-menu-signout:hover{background:var(--faint);color:var(--navy)}
  .account-menu-signout .icon{width:16px;height:16px;transform:rotate(180deg)}
}
@layer responsive {
  @media(max-width:760px){
    .topbar{height:60px;padding:0 14px}
    .topbar-actions{gap:2px}
    .mobile-brand{gap:7px;font-size:17px}
    .mobile-brand>svg{width:34px;height:34px}
    .account-menu-trigger{width:44px;min-width:44px;height:44px;padding:0;border-color:transparent;background:transparent}
    .account-menu-trigger-label{display:none}
    .account-menu-panel{top:calc(100% + 6px);max-height:calc(100dvh - 82px);padding:15px}
  }
  @media(max-width:370px){.topbar{padding-right:10px;padding-left:10px}.mobile-brand{gap:5px;font-size:16px}.mobile-brand>svg{width:31px;height:31px}.topbar-actions{gap:0}}
}
@layer print {
  @media print{@page{size:A4;margin:18mm}.sidebar,.topbar,.mobile-nav,.workspace-footer,.toast,dialog,.skip-link{display:none!important}body{background:#fff;color:#000;font-size:12pt}.workspace{margin:0}main{padding:0;max-width:none}main>*{display:none!important}#print-summary{display:block!important}#print-summary h1{font-size:24pt;margin-bottom:8mm}#print-summary h2{font-size:16pt;margin-bottom:8mm}#print-summary pre{white-space:pre-wrap;font-family:'Helvetica Neue',Arial,sans-serif;font-size:12pt;line-height:1.9}#print-summary p{font-size:10pt;color:#444;margin-top:12mm}}
}

@layer responsive {.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-heading p{overflow-wrap:anywhere}}

@layer responsive {.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}}

@layer components {
  .feedback-heading{align-items:flex-start}
  .feedback-heading>div{min-width:0}
  .feedback-heading .eyebrow{color:var(--accent-dark);font-size:10px;letter-spacing:.4px;text-transform:none}
  .feedback-heading h2{max-width:430px;margin-top:8px;line-height:1.35}
  .feedback-form>label{display:block;margin:0 0 8px;font-size:12px;font-weight:600;color:var(--ink)}
  .feedback-form textarea{display:block;width:100%;min-height:120px;resize:vertical;padding:12px 14px;border:1px solid #bac2cc;border-radius:7px;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.6}
  .feedback-form textarea::placeholder{color:#727d89}
  .feedback-form textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 35%,transparent);outline-offset:2px;border-color:var(--focus)}
  .feedback-error{margin:9px 0 0;color:var(--red);font-size:12px;line-height:1.55}
  .feedback-success{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
  .feedback-actions{justify-content:flex-end}
  .feedback-actions .btn{min-height:44px}
  @media(max-width:520px){.feedback-heading h2{font-size:20px}.feedback-actions{flex-direction:column-reverse;align-items:stretch}.feedback-actions .btn{width:100%;flex:1 1 auto}}
}

@layer components {
  .assistant-transcript{margin-top:8px!important;padding-top:8px;border-top:1px solid var(--line);color:var(--muted)!important;font-size:10px!important}
}
@layer responsive {
  @media(max-width:760px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-nav .nav-link{font-size:9px;white-space:nowrap;padding-left:1px;padding-right:1px}.mobile-nav .nav-link .icon{width:19px;height:19px}.onboarding-actions .btn{flex:1 1 190px}}
}
@layer components {
  .assistant-cost-warning{margin-top:14px;padding:12px 14px;border:1px solid #e8b68c;border-radius:8px;background:#fff2e7;color:#6a341a;font-size:12px;line-height:1.5}
}
@layer components {
  .preferences-trigger,.topbar-preferences{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;color:var(--navy,#14273e);background:var(--white,#fff);font:inherit;font-size:14px;cursor:pointer}
  .preferences-trigger:focus-visible,.topbar-preferences:focus-visible,.preferences-fields select:focus-visible{outline:3px solid var(--focus,#ff4f00);outline-offset:3px}
  .topbar-preferences{margin-left:auto;margin-right:14px}
  .preferences-fields{display:grid;gap:10px;padding:4px 0 6px}
  .preferences-fields label{font-size:16px;font-weight:700;margin-top:10px}
  .preferences-fields select{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff;color:#14273e;font:inherit}
  .preferences-note{font-size:14px;line-height:1.55;color:var(--muted);margin:4px 0}
  .first-visit-top .preferences-trigger{margin-left:auto;margin-right:12px;background:rgba(255,255,255,.75)}
  @media(max-width:760px){.topbar-preferences{margin-left:auto;margin-right:6px;padding:8px;min-width:44px}.topbar-preferences span{display:none}.first-visit-top .preferences-trigger span{font-size:12px}.first-visit-top .preferences-trigger{padding:8px;gap:5px;margin-right:5px}.sidebar [data-action="open-preferences"]{display:none}}
  @media print{[data-action="open-preferences"]{display:none!important}}
}
@layer components {
  .account-sync-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 42px 0;padding:10px 14px;border:1px solid #dce4e7;border-radius:9px;background:#f5faf8;color:#244c41;font-size:13px;line-height:1.45}
  .account-sync-banner>span{display:flex;align-items:center;gap:8px;min-width:0}
  .account-sync-banner .icon{width:17px;height:17px;flex:none}
  .account-sync-banner.sync-syncing,.account-sync-banner.sync-loading{border-color:#d5e2ec;background:#f5f9fc;color:#294960}
  .account-sync-banner.sync-offline{border-color:#e7c994;background:#fff8ea;color:#674516}
  .account-sync-banner.sync-conflict{border-color:#e4aaaa;background:#fff3f2;color:#772f2f}
  .sync-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
  .sync-action{min-height:40px;padding:7px 11px;border:1px solid currentColor;border-radius:7px;background:#fff;color:inherit;font:inherit;font-weight:650;cursor:pointer}
  .sync-action:focus-visible{outline:3px solid var(--focus,#ff4f00);outline-offset:2px}
  .sync-action:hover{background:#f2f5f6}
  @media(max-width:760px){.account-sync-banner{align-items:flex-start;flex-direction:column;margin:8px 16px 0;padding:11px 13px;font-size:14px}.sync-actions{width:100%;display:grid;grid-template-columns:1fr}.sync-action{min-height:44px;width:100%}}
}
