:root{--ink:#213b30;--deep:#163f32;--muted:#748077;--paper:#f6f7f3;--white:#fff;--line:#e5e9e1;--lime:#e2f2b7;--green:#568268;--amber:#a56b23;--amber-bg:#fbf1df;--danger:#b34f41;--radius:18px;--shadow:0 8px 30px #1e392508;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button{border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8ead6d;outline-offset:3px}button,input,select{touch-action:manipulation}svg{width:20px;height:20px;vertical-align:middle}h1,h2,h3,p{margin:0}button{min-height:40px}select,input{min-height:44px}input,select{max-width:100%;border:1px solid #dce3d9;border-radius:10px;padding:10px 12px;background:var(--white);color:var(--ink)}input[type=number]{font-variant-numeric:tabular-nums}input[type=range]{padding:0;accent-color:var(--deep);border:0;min-height:28px;width:100%}input[type=checkbox]{min-height:auto}button svg{pointer-events:none}.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}.skip-link{position:fixed;left:240px;top:-100px;background:var(--deep);color:white;padding:12px;z-index:30}.skip-link:focus{top:0}
.sidebar{width:230px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:35px 23px 24px;border-right:1px solid var(--line);background:#fcfdf9;z-index:10}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:-.7px}.brand-light{font-weight:430}.brand small{display:block;font-size:7px;letter-spacing:1.5px;font-weight:650;margin-top:5px}.brand-mark{width:35px;height:42px;background:var(--deep);color:var(--lime);border-radius:11px;display:grid;place-items:center;flex-shrink:0}.brand-mark svg{width:27px;height:27px}.nav-caption{font-size:9px;letter-spacing:1.9px;font-weight:700;color:#879085;margin:59px 12px 15px}.navigation{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;text-align:left;border-radius:11px;color:#727f74;font-size:13px;font-weight:560;min-height:48px}.nav-item:hover{background:#eff3e9}.nav-item.active{background:#eaf0e2;color:var(--deep)}.nav-item svg{width:18px;height:18px}.nav-dot{display:none;width:5px;height:5px;border-radius:50%;background:var(--deep);margin-left:auto}.nav-item.active .nav-dot{display:block}.sidebar-note{background:#f0f3e9;border-radius:16px;padding:22px 18px;margin-top:auto;margin-bottom:26px}.small-leaf{color:var(--green)}.small-leaf svg{width:25px;height:25px}.sidebar-note h3{font-family:Georgia,serif;font-weight:400;font-size:19px;letter-spacing:-.4px;margin:13px 0 8px}.sidebar-note p{font-size:11px;line-height:1.8;color:var(--muted)}.sidebar-bottom{display:grid;gap:23px}.help-button{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.prototype-label{font-size:8px;font-weight:700;letter-spacing:1.3px;display:flex;align-items:center;gap:6px;color:#7f897e}.prototype-label i,.device-badge i{width:5px;height:5px;border-radius:50%;background:#85a579;display:inline-block}.app-shell{margin-left:230px}.topbar{height:82px;border-bottom:1px solid var(--line);padding:0 44px;display:flex;justify-content:space-between;align-items:center;background:#ffffff66}.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:14px;align-items:center}.breadcrumb span{color:#b9c0b5}.breadcrumb strong{font-weight:550;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:16px}.device-badge{font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted)}.currency-select select{border:1px solid var(--line);background:transparent;font-size:11px;font-weight:650;min-height:34px;border-radius:8px;padding:7px 25px 7px 10px}.icon-button{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;color:var(--muted)}.icon-button:hover{background:#ecf0e5}.icon-button svg{width:18px;height:18px}main{max-width:1435px;padding:38px 44px 0;margin:0 auto;outline:none}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.eyebrow{color:#738065;font-size:9px;font-weight:700;letter-spacing:2px;margin-bottom:11px}.page-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:37px;letter-spacing:-1.5px;line-height:1.12}.page-heading p{font-size:12px;color:var(--muted);margin-top:12px;line-height:1.6}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border-radius:10px;font-size:12px;font-weight:600;padding:12px 17px;border:1px solid transparent;white-space:nowrap;min-height:44px}.button svg{width:16px;height:16px}.button.primary{background:var(--deep);color:#fff}.button.primary:hover{background:#24523f}.button.secondary{border-color:#dce3d4;background:white}.button.secondary:hover{background:#f0f5e9}.button.text{color:var(--green);padding:8px 0;min-height:36px}.button.danger{background:#fff3ef;color:var(--danger)}.button.small{padding:8px 12px;min-height:36px;font-size:11px}.heading-actions{display:flex;align-items:center;gap:8px}.sample-banner{display:flex;gap:9px;align-items:center;font-size:11px;line-height:1.5;margin:0 0 24px;color:#798274}.sample-banner svg{width:15px;height:15px;flex-shrink:0}.sample-banner strong{font-weight:600;color:#56664e}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:29px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:19px 22px;display:grid;grid-template-columns:1fr auto;column-gap:7px}.stat-card .stat-label{font-size:11px;font-weight:500;color:var(--muted)}.stat-card .stat-number{font-size:29px;letter-spacing:-1px;line-height:1;margin:14px 0 8px;font-weight:520;font-variant-numeric:tabular-nums}.stat-card .stat-number small{font-size:15px;letter-spacing:0}.stat-card .stat-note{font-size:9px;color:#8a9487;line-height:1.5}.stat-icon{width:31px;height:31px;background:#f1f5eb;border-radius:10px;display:grid;place-items:center;grid-column:2;grid-row:1 / 4;color:#7b9570}.stat-icon svg{width:16px;height:16px}.stat-card.attention .stat-icon{background:var(--amber-bg);color:var(--amber)}.stat-card.attention .stat-number{color:var(--amber)}.workspace-grid{display:grid;grid-template-columns:minmax(230px,.88fr) minmax(400px,1.65fr);gap:23px;align-items:start}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-label h2{font-size:14px;font-weight:650;letter-spacing:-.2px}.section-label span{font-size:10px;color:var(--muted)}.product-list{display:grid;gap:11px}.product-card{background:white;border:1px solid var(--line);border-radius:14px;padding:17px;text-align:left;width:100%;position:relative;min-height:145px;transition:border-color .18s,background .18s}.product-card:hover{border-color:#aaba9e}.product-card.selected{border:1.5px solid #8fa97a;background:#fbfdf6;padding:16.5px}.product-top{display:flex;align-items:center;gap:11px}.product-icon{display:grid;place-items:center;width:41px;height:43px;flex-shrink:0;border-radius:12px;color:#7d9361;background:#eff3df}.product-icon svg{width:27px;height:27px}.product-icon.milk{background:#ebf1f0;color:#6e9794}.product-icon.cheese{background:#fbf0d4;color:#b39052}.product-icon.butter{background:#f9ecd9;color:#b28f51}.product-title{font-size:13px;font-weight:650;line-height:1.4}.product-meta{font-size:10px;color:var(--muted);margin-top:3px}.product-mini{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:17px;padding-top:13px;border-top:1px solid #e9ede3}.product-mini label{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.product-mini strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.product-mini .amber{color:var(--amber)}.add-product-card{border:1px dashed #cbd5bf;border-radius:13px;min-height:56px;font-size:11px;color:#708565;display:flex;align-items:center;justify-content:center;gap:7px}.add-product-card:hover{background:#edf3e4}.add-product-card svg{width:15px;height:15px}.detail-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.detail-header{padding:23px 26px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.detail-header h2{font-size:19px;font-weight:600;letter-spacing:-.6px;margin-bottom:7px}.detail-header p{font-size:10px;line-height:1.6;color:var(--muted)}.detail-header-buttons{display:flex;gap:2px}.badge{display:inline-flex;font-size:9px;font-weight:600;padding:5px 8px;border-radius:6px;gap:4px;align-items:center;background:#edf5e5;color:#668052;white-space:nowrap}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.neutral{background:#f1f3ef;color:#7b8377}.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 26px 23px;gap:8px;border-bottom:1px solid var(--line)}.detail-metrics label{font-size:10px;color:var(--muted);display:block;margin-bottom:9px}.detail-metrics strong{font-size:25px;font-weight:540;letter-spacing:-1px;font-variant-numeric:tabular-nums}.detail-metrics small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.detail-metrics .margin-value{color:#598042}.detail-metrics .margin-value.amber{color:var(--amber)}.detail-section{padding:23px 26px;border-bottom:1px solid var(--line)}.detail-section h3{font-size:12px;font-weight:650}.cost-stack{display:flex;height:11px;overflow:hidden;border-radius:10px;margin:17px 0}.cost-segment{min-width:0}.ingredients-fill{background:#244d3c}.packaging-fill{background:#8baf7d}.labour-fill{background:#c5d7a1}.overhead-fill{background:#e7dabb}.cost-legend{display:grid;grid-template-columns:1fr 1fr;gap:11px 20px}.legend-row{display:flex;align-items:center;font-size:10px;gap:7px;color:var(--muted)}.legend-row i{width:6px;height:6px;border-radius:2px;flex-shrink:0}.legend-row strong{margin-left:auto;color:#536447;font-weight:550;font-variant-numeric:tabular-nums}.text-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-top:13px}.text-row b{font-size:12px;font-weight:600;color:var(--ink)}.cost-breakdown{margin-top:16px;border-top:1px solid var(--line);padding-top:3px}.cost-breakdown summary{font-size:10px;color:#75866a;padding:12px 0 0;cursor:pointer;min-height:35px}.line-item{display:flex;justify-content:space-between;gap:14px;font-size:10px;padding:8px 0;color:var(--muted);line-height:1.6}.line-item span:last-child{color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}.pricing-box{margin:22px 26px 25px;background:#f2f6e9;border:1px solid #e5ecd8;border-radius:13px;padding:18px 20px}.pricing-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pricing-heading h3{font-size:12px;font-weight:650}.pricing-heading span{font-size:9px;color:#8c987f}.target-input{display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px;gap:10px}.target-input label{font-size:10px;color:var(--muted)}.target-input input{width:70px;text-align:center;min-height:34px;font-size:12px;padding:7px;background:#ffffffc9}.target-value{font-size:27px;font-weight:600;letter-spacing:-1px}.target-value small{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted)}.target-result{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid #e0e7d4;margin-top:13px;gap:14px}.target-result>span{font-size:10px;line-height:1.6;color:#6d7c60}.pricing-note{font-size:9px;color:#839176;line-height:1.7;margin-top:12px}.scenario-caption{font-size:9px;color:#818c77;margin-top:9px;line-height:1.5}.main-footer{display:flex;justify-content:space-between;gap:12px;padding:32px 0 23px;font-size:9px;color:#98a08f;line-height:1.6}.footer-dot{margin:0 7px}.empty-state{border:1px dashed #d1dbc7;border-radius:16px;padding:42px 24px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}.empty-state h2{font-family:Georgia,serif;color:var(--ink);font-weight:400;font-size:26px;margin-bottom:10px}.empty-state p{margin-bottom:18px}.info-strip{border:1px solid #e1e8d8;background:#f0f5e7;border-radius:12px;padding:15px 18px;font-size:11px;color:#6c7e5c;line-height:1.8;margin-bottom:22px;display:flex;gap:12px;align-items:flex-start}.info-strip svg{flex-shrink:0;margin-top:2px}.cost-table{width:100%;border-collapse:collapse;background:white}.table-panel{border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden;margin-bottom:24px}.cost-table th{text-align:left;padding:15px 22px;font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#89907f;background:#fbfcf9;border-bottom:1px solid var(--line);font-weight:600}.cost-table td{padding:19px 22px;font-size:12px;border-bottom:1px solid #edf0e8}.cost-table tr:last-child td{border-bottom:0}.cost-table th:last-child,.cost-table td:last-child{text-align:right}.table-item{display:flex;align-items:center;gap:11px}.table-item .product-icon{width:34px;height:35px;border-radius:9px}.table-item .product-icon svg{width:19px;height:19px}.table-item strong{font-size:12px;font-weight:600}.table-item small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.cost-price{font-weight:600;font-variant-numeric:tabular-nums}.cost-price small{font-weight:400;color:var(--muted);font-size:10px}.usage-count{font-size:10px;color:var(--muted)}.history-list{padding:0 24px}.history-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;justify-content:space-between;align-items:center}.history-row:last-child{border-bottom:0}.history-row h3{font-size:12px;font-weight:600}.history-row p{font-size:10px;color:var(--muted);margin-top:6px;line-height:1.6}.history-values{text-align:right;white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}.history-values small{display:block;font-size:9px;color:var(--muted);margin-top:6px}.results-note{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 24px}.backup-controls{display:flex;gap:9px;flex-wrap:wrap}.backup-panel{border-top:1px solid var(--line);padding-top:20px;margin-top:26px;display:flex;justify-content:space-between;gap:16px;align-items:center}.backup-panel h3{font-size:12px;margin-bottom:6px}.backup-panel p{font-size:10px;color:var(--muted);line-height:1.6}
dialog{border:0;border-radius:20px;box-shadow:0 24px 120px #102f2533;padding:0;width:min(680px,calc(100vw - 32px));max-height:90dvh;color:var(--ink);background:#fff}dialog::backdrop{background:#122d2755;backdrop-filter:blur(3px)}.dialog-head{padding:24px 28px 18px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.dialog-head h2{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.8px}.dialog-head p{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.6}.dialog-body{padding:23px 28px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:7px}.field.full{grid-column:1 / -1}.field>span{font-size:11px;font-weight:600}.field input,.field select{width:100%;font-size:14px}.field small{font-size:10px;line-height:1.65;color:var(--muted);font-weight:400}.form-section{border-top:1px solid var(--line);padding-top:21px;margin-top:23px}.form-section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.form-section h3{font-size:13px;font-weight:600}.form-section>p{font-size:10px;color:var(--muted);line-height:1.7;margin-bottom:14px}.recipe-line{display:grid;grid-template-columns:minmax(110px,1fr) 80px 85px 32px;gap:7px;align-items:center;margin-bottom:9px}.recipe-line input,.recipe-line select{width:100%;font-size:12px;min-height:42px;padding:8px}.recipe-labels{display:grid;grid-template-columns:minmax(110px,1fr) 80px 85px 32px;gap:7px;font-size:9px;color:var(--muted);margin-bottom:8px}.dialog-foot{padding:17px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fbfcf8}.dialog-foot .buttons{display:flex;gap:8px;margin-left:auto}.form-error{background:#fff0ec;color:var(--danger);border-radius:9px;padding:11px 14px;font-size:12px;line-height:1.6;margin-bottom:16px}.form-error:empty{display:none}.field-hint{font-size:10px;color:var(--muted);line-height:1.7;margin-top:13px}.help-steps{display:grid;gap:22px;margin:5px 0 25px}.help-step{display:flex;gap:14px;align-items:flex-start}.step-number{background:var(--lime);color:var(--deep);width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:12px;flex-shrink:0}.help-step h3{font-size:13px;margin:3px 0 6px}.help-step p,.help-copy p{font-size:12px;color:var(--muted);line-height:1.8}.help-copy{border-top:1px solid var(--line);padding-top:20px}.help-copy p+p{margin-top:12px}.help-copy strong{color:var(--ink);font-weight:600}.formula{background:#f2f5ed;padding:14px;border-radius:10px;font-size:11px;color:#5a7050;line-height:1.9;margin:17px 0}.toast{position:fixed;bottom:28px;left:calc(50% + 115px);transform:translate(-50%,20px);background:var(--deep);color:#fff;box-shadow:0 8px 25px #14392425;border-radius:12px;padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100;max-width:calc(100vw - 32px);line-height:1.6}.toast.show{opacity:1;transform:translate(-50%,0)}.warning-banner{padding:13px 16px;border-radius:10px;background:#fff0e7;color:#974a28;font-size:12px;line-height:1.7;margin-bottom:18px}.negative{color:var(--danger)}.no-wrap{white-space:nowrap}
@media(min-width:1600px){main{padding-top:46px}.page-heading h1{font-size:43px}.workspace-grid{grid-template-columns:minmax(300px,.95fr) minmax(480px,1.6fr)}.product-card{min-height:158px;padding:20px}.product-card.selected{padding:19.5px}.detail-header,.detail-section{padding-left:30px;padding-right:30px}.detail-metrics{padding-left:30px;padding-right:30px}}
@media(max-width:1150px){.sidebar{width:200px;padding-left:17px;padding-right:17px}.app-shell{margin-left:200px}.brand{font-size:20px}.brand small{font-size:6px}.topbar{padding:0 27px}main{padding:30px 27px 0}.workspace-grid{grid-template-columns:250px minmax(0,1fr);gap:17px}.detail-header{padding:20px}.detail-metrics{padding:0 20px 21px}.detail-section{padding:21px 20px}.pricing-box{margin:20px}.detail-metrics strong{font-size:23px}.toast{left:calc(50% + 100px)}}
@media(max-width:970px){.sidebar{width:178px;padding-left:12px;padding-right:12px}.app-shell{margin-left:178px}.brand{font-size:18px;gap:7px}.brand small{font-size:5px;letter-spacing:1.3px}.brand-mark{width:31px;height:37px}.nav-item{font-size:12px;padding-left:12px;gap:9px}.topbar{padding:0 22px}.device-badge{display:none}main{padding:28px 22px 0}.page-heading h1{font-size:32px}.workspace-grid{grid-template-columns:1fr}.product-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-card{padding:13px;min-height:150px}.product-card.selected{padding:12.5px}.product-icon{width:30px;height:34px}.product-icon svg{width:23px;height:23px}.product-title{font-size:11px}.product-top{gap:7px;align-items:flex-start}.product-mini{grid-template-columns:1fr 1fr}.product-mini>div:nth-child(2){display:none}.product-mini strong{font-size:12px}.product-meta{font-size:9px}.add-product-card{grid-column:1 / -1;min-height:40px}.stat-card{padding:16px}.stat-icon{display:none}.stat-card .stat-number{font-size:26px}.stat-card .stat-label{font-size:10px}.stats-grid{gap:10px;margin-bottom:23px}.main-footer{flex-direction:column;gap:3px}.sidebar-note{padding:16px 12px}.sidebar-note h3{font-size:17px}.prototype-label{font-size:7px;letter-spacing:.6px}.toast{left:calc(50% + 89px)}.cost-table th,.cost-table td{padding-left:16px;padding-right:16px}.cost-table th:nth-child(3),.cost-table td:nth-child(3){display:none}}
@media(max-width:700px){.sidebar{position:relative;width:auto;height:70px;padding:0 19px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line);justify-content:space-between;background:#fcfdf9}.brand{font-size:22px;gap:9px}.brand small{font-size:6px;letter-spacing:1.5px}.brand-mark{width:33px;height:38px}.sidebar .nav-caption,.sidebar-note,.sidebar-bottom{display:none}.navigation{position:fixed;bottom:0;left:0;right:0;background:#fcfdf9f7;backdrop-filter:blur(12px);border-top:1px solid #e0e6d8;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));z-index:20}.nav-item{flex-direction:column;gap:5px;font-size:9px;text-align:center;padding:8px 6px;min-height:53px;justify-content:center}.nav-item.active .nav-dot{display:none}.nav-item svg{width:19px;height:19px}.app-shell{margin:0}.topbar{position:absolute;top:0;right:10px;border:0;background:none;height:70px;padding:0;z-index:11}.breadcrumb{display:none}.topbar-actions{gap:5px}.topbar .icon-button{width:32px;min-width:32px}.currency-select select{font-size:10px;min-height:34px;padding-left:8px}.skip-link{left:10px}main{padding:27px 18px 90px}.page-heading{align-items:flex-start;gap:10px;margin-bottom:21px}.page-heading h1{font-size:31px;letter-spacing:-1.3px;max-width:245px}.page-heading p{font-size:11px;max-width:250px;line-height:1.7;margin-top:10px}.eyebrow{font-size:8px;letter-spacing:1.7px;margin-bottom:9px}.heading-actions .button{font-size:10px;padding:9px 11px;min-height:39px}.heading-actions{padding-top:19px}.heading-actions .hide-mobile{display:none}.stats-grid{gap:7px;margin-bottom:22px}.stat-card{padding:13px 10px;border-radius:11px}.stat-card .stat-number{font-size:24px;margin:12px 0 7px}.stat-card .stat-label{font-size:9px;line-height:1.4}.stat-card .stat-note{font-size:8px;line-height:1.4}.stat-card .stat-number small{font-size:13px}.sample-banner{align-items:flex-start;font-size:10px;gap:7px;margin-bottom:20px}.sample-banner svg{margin-top:1px}.product-list{grid-template-columns:1fr}.product-card{min-height:0;padding:14px;display:flex;align-items:center;gap:10px;justify-content:space-between}.product-card.selected{padding:13.5px}.product-top{align-items:center;gap:10px}.product-icon{width:37px;height:40px}.product-icon svg{width:25px;height:25px}.product-title{font-size:12px}.product-meta{font-size:9px}.product-mini{display:flex;border:0;margin:0;padding:0;gap:15px;text-align:right}.product-mini>div:first-child{display:none}.product-mini label{font-size:8px}.product-mini strong{font-size:13px}.add-product-card{min-height:45px}.section-label{margin-bottom:12px}.section-label h2{font-size:13px}.section-label span{font-size:9px}.workspace-grid{gap:22px}.detail-header{padding:20px 18px 18px}.detail-header h2{font-size:18px}.detail-metrics{padding:0 18px 21px;gap:4px}.detail-metrics strong{font-size:24px}.detail-metrics label{font-size:9px}.detail-metrics small{font-size:8px}.detail-section{padding:21px 18px}.cost-legend{gap:11px 14px}.legend-row{font-size:9px}.pricing-box{margin:18px;padding:17px}.pricing-heading span{font-size:8px}.cost-table th,.cost-table td{padding:15px 12px}.table-item{gap:7px}.table-item strong{font-size:11px}.table-item .product-icon{width:28px;height:31px}.cost-price{font-size:12px}.cost-price small{display:block;font-size:9px;margin-top:4px}.cost-table .button.small{font-size:10px;padding:7px 9px}.backup-panel{display:grid;gap:12px}.history-list{padding:0 16px}.history-row{gap:10px}.history-row h3{font-size:11px}.history-row p{font-size:9px}.history-values{font-size:12px}.dialog-head{padding:21px 20px 17px}.dialog-head h2{font-size:25px}.dialog-body{padding:20px}.dialog-foot{padding:15px 20px;flex-wrap:wrap}.dialog-foot>.button.danger{padding-left:0}.field-grid{gap:16px 12px}.field input,.field select{font-size:16px}.recipe-line{grid-template-columns:minmax(95px,1fr) 64px 76px 27px;gap:5px}.recipe-labels{grid-template-columns:minmax(95px,1fr) 64px 76px 27px;gap:5px}.recipe-line input,.recipe-line select{font-size:16px;min-height:44px;padding:8px 5px}.recipe-line .icon-button{min-width:27px}.toast{bottom:92px;left:50%;font-size:11px}.main-footer{font-size:8px;padding-top:25px}.backup-controls .button{font-size:11px}.help-copy p,.help-step p{font-size:11px}.info-strip{font-size:10px;padding:13px}}
@media(max-width:970px){.product-mini>span:nth-child(2){display:none}}
@media(max-width:700px){.product-mini>span:first-child{display:none}}
.product-title,.detail-header h2,.table-item strong,.history-row h3{overflow-wrap:anywhere}.table-item>span:last-child{min-width:0}.product-top>span:last-child{min-width:0}
@media(max-width:700px){.page-heading p{font-size:12px}.sample-banner{font-size:11px}.product-title{font-size:14px}.product-meta{font-size:11px}.product-mini label{font-size:10px}.product-mini strong{font-size:15px}.product-mini{flex-shrink:0}.detail-header p{font-size:11px}.detail-metrics label{font-size:11px}.detail-metrics small{font-size:10px}.detail-section h3,.pricing-heading h3{font-size:14px}.legend-row{font-size:11px}.target-input label,.target-result>span{font-size:12px}.pricing-note,.scenario-caption{font-size:11px}.line-item,.cost-breakdown summary{font-size:12px}.nav-item{font-size:11px}.table-item strong{font-size:12px}.table-item small{font-size:11px}.field>span{font-size:12px}.field small,.form-section>p,.field-hint{font-size:11px}.recipe-labels{font-size:11px}.backup-panel p{font-size:11px}.button,.button.small{min-height:44px}.icon-button{min-height:44px;min-width:40px}.recipe-line .icon-button{min-width:27px}.pricing-heading{flex-wrap:wrap}.topbar .icon-button{min-width:40px}.currency-select select{min-height:40px}.history-row p{font-size:11px}.history-values small{font-size:10px}}
@media(max-width:360px){.brand{font-size:19px}.brand small{font-size:5px}.topbar-actions>.icon-button{display:none}.detail-metrics strong{font-size:21px}.heading-actions .button{padding:8px;font-size:10px}.product-title{font-size:13px}.recipe-line,.recipe-labels{grid-template-columns:minmax(85px,1fr) 57px 65px 24px;gap:4px}.recipe-line .icon-button{min-width:24px}.dialog-body{padding:17px}}
.account-link{font-size:12px;font-weight:600;color:var(--green,#163f32);text-decoration:none;margin-right:10px}.cloud-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border:1px solid var(--line);background:#f0f3e8;border-radius:11px;margin-bottom:24px;font-size:12px;line-height:1.5}.cloud-toolbar>div{display:flex;gap:8px;flex-shrink:0}.cloud-toolbar button{padding:9px 12px;min-height:44px;border:1px solid #becbb1;border-radius:8px;background:#fcfdf8;color:#163f32;font-weight:600;font-size:12px;cursor:pointer}.cloud-toolbar button:disabled{opacity:.5;cursor:wait}#cookie-settings{border:0;background:none;color:inherit;text-decoration:underline;font:inherit;padding:0;cursor:pointer}.main-footer a{color:inherit}@media(max-width:700px){.account-link{margin-right:2px;padding:12px 6px;min-height:44px;display:inline-flex;align-items:center}.account-link .long{display:none}.cloud-toolbar{align-items:stretch;flex-direction:column;gap:8px;font-size:11px;padding:12px}.cloud-toolbar>div{justify-content:flex-end}.cloud-toolbar button{font-size:11px}.main-footer{line-height:1.8}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.heading-actions,.backup-panel,.detail-header-buttons,.add-product-card,.toast,dialog{display:none!important}.app-shell{margin:0}main{padding:0}.workspace-grid{display:block}.product-list{margin-bottom:20px}.detail-card,.stat-card{break-inside:avoid}.main-footer{color:#555}.button{display:none}}

/* Mobile: keep stat values inside their cards */
@media(max-width:700px){.stat-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}.stat-card .stat-label{order:1}.stat-card .stat-number{order:2;margin:8px 0 6px}.stat-card .stat-note{order:3}.stat-card .stat-number{font-size:clamp(18px,5.6vw,24px);white-space:nowrap}.stat-card .stat-number small{font-size:.55em}}
.energy-fill{background:#d9a441}.distribution-fill{background:#7d9bb0}
.channel-note{font-size:12px;color:var(--muted,#6b786e);margin:12px 0 0;line-height:1.5}

/* Pro tools */
.pro-teaser{background:#fffffa;border:1px solid var(--line,#dfe5d8);border-radius:20px;padding:32px;max-width:920px}
.pro-teaser h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:30px;letter-spacing:-.8px;line-height:1.2;margin:14px 0 10px}
.pro-teaser>p{color:#6b786e;max-width:640px;margin:0 0 22px}
.pro-badge{display:inline-block;background:#163f32;color:#f1f3e5;font-size:11px;font-weight:700;letter-spacing:2px;padding:5px 10px;border-radius:6px}
.pro-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}
.pro-feature{border:1px solid #e3e8dc;border-radius:14px;padding:18px;background:#f8f9f1}.pro-feature h3{font-size:15px;margin:10px 0 6px}.pro-feature p{font-size:13px;color:#6b786e;margin:0;line-height:1.55}
.pro-glyph{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e7efdd;color:#163f32;font-size:18px}
.pro-note{font-size:12px;color:#6b786e;margin:12px 0 0;line-height:1.5}
.pro-section{margin-bottom:34px}.pro-empty{color:#6b786e;font-size:14px;padding:18px;border:1px dashed #d5dccc;border-radius:12px}
.pro-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-bottom:14px}.pro-controls .field{min-width:200px;flex:1 1 220px;max-width:340px;margin:0}
.pro-chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #c8d2bf;background:#fffffa;border-radius:20px;padding:8px 14px;min-height:40px;font-weight:600;font-size:13px;color:#173e32}
.pro-summary{font-size:14px;font-weight:600;color:#173e32;margin:0 0 12px}
.pro-table td,.pro-table th{vertical-align:top}.pro-table th small{display:block;color:#8a978a;font-weight:400;font-size:11px}
.pro-was{color:#96a08e}.pro-same{color:#6b786e}.pro-unaffected{opacity:.62}
.pro-chart{position:relative;background:#fffffa;border:1px solid var(--line,#dfe5d8);border-radius:14px;padding:10px 6px 4px;overflow:hidden;min-height:120px}
.pro-chart svg{display:block;max-width:100%;outline:none}.pro-chart svg:focus-visible{outline:3px solid #c9a358;outline-offset:2px}
.pro-chart .grid{stroke:#ecefe6;stroke-width:1}.pro-chart .axis{stroke:#cbd3c2;stroke-width:1}.pro-chart .tick{font-size:11px;fill:#6b786e;font-variant-numeric:tabular-nums}
.pro-chart .crosshair{stroke:#9aa595;stroke-width:1}
.chart-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#52514e;margin:0 0 8px}.chart-legend span{display:inline-flex;align-items:center;gap:6px}
.chart-tooltip{position:absolute;background:#fffffa;border:1px solid #d5dccc;border-radius:10px;padding:10px 12px;font-size:12px;box-shadow:0 6px 18px #173e3214;pointer-events:none;min-width:150px}
.tip-date{color:#6b786e;margin-bottom:6px}.tip-row{display:flex;align-items:center;gap:7px;margin:3px 0}.tip-row strong{font-variant-numeric:tabular-nums;color:#0b0b0b}.tip-row span{color:#6b786e}.tip-reason{margin-top:6px;color:#6b786e;font-size:11px}
.pro-table-view{margin-top:12px;font-size:13px}.pro-table-view summary{cursor:pointer;color:#173e32;font-weight:600;padding:8px 0}
.pro-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pro-export{display:flex;gap:12px;align-items:flex-start;text-align:left;border:1px solid #d5dccc;background:#fffffa;border-radius:14px;padding:16px;color:#173e32;min-height:44px}
.pro-export svg{width:20px;height:20px;flex-shrink:0;margin-top:2px}.pro-export strong{display:block;font-size:14px}.pro-export small{display:block;color:#6b786e;font-size:12px;margin-top:3px;line-height:1.45}
#print-report{display:none}
@media(max-width:700px){.pro-teaser{padding:22px}.pro-teaser h2{font-size:24px}.pro-features,.pro-export-grid{grid-template-columns:1fr}.pro-controls .field{max-width:none}.pro-table{font-size:12px}}
@media print{body.printing-report>*:not(#print-report){display:none!important}body.printing-report #print-report{display:block;font-family:Arial,Helvetica,sans-serif;color:#000}
#print-report h1{font-size:20px;margin:0 0 4px}#print-report h2{font-size:15px;margin:22px 0 8px}#print-report header p,.report-note{font-size:11px;color:#444}
#print-report table{width:100%;border-collapse:collapse;font-size:11px}#print-report th,#print-report td{border-bottom:1px solid #ccc;padding:5px 6px;text-align:left}#print-report th{background:#f2f2f2}}
.pro-table th:nth-child(3),.pro-table td:nth-child(3){display:table-cell!important}
.pro-table tbody th{text-transform:none;letter-spacing:0;font-size:13px;color:#173e32;font-weight:600;background:transparent}
@media(max-width:700px){.pro-table th,.pro-table td{padding:12px 8px}.pro-table tbody th{font-size:12px}}
.pro-chart.narrow .chart-tooltip{position:static;box-shadow:none;margin:6px 8px 8px;display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}.pro-chart.narrow .chart-tooltip[hidden]{display:none}.pro-chart.narrow .tip-date,.pro-chart.narrow .tip-reason{flex-basis:100%;margin:0}

/* ---------- Dashboard ---------- */
.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}
.kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;min-width:0;box-shadow:0 1px 2px #1e39250a,0 10px 28px -16px #1e392529}
.kpi-label{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.3px}
.kpi-value{font-size:32px;line-height:1.05;font-weight:560;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--deep)}
.kpi-value small{font-size:15px;letter-spacing:0;font-weight:500;color:var(--muted)}
.kpi-note{font-size:12px;color:var(--muted);display:flex;gap:5px;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kpi-note svg{width:14px;height:14px;flex-shrink:0}
.kpi.attention .kpi-value{color:var(--amber)}.kpi.attention .kpi-note{color:var(--amber)}
.kpi.good .kpi-note{color:#2e7d4f}
.dash-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:28px}
.dash-panel{min-width:0;margin-bottom:28px}.dash-grid .dash-panel{margin-bottom:0}
.dash-panel .section-label .button.text{min-height:32px}
.dash-actions{display:grid;gap:12px}
.dash-action{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 1px 2px #1e39250a,0 10px 28px -18px #1e392529}
.dash-action.attention{background:#fffcf5;border-color:#f0e2c4}
.dash-action.good{background:#f6faf1;border-color:#dbe8cf}
.dash-action-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:var(--paper);color:var(--deep)}
.dash-action.attention .dash-action-icon{background:var(--amber-bg);color:var(--amber)}
.dash-action.trend .dash-action-icon{background:#eaf0fb;color:#3b5fb0}
.dash-action.good .dash-action-icon{background:#e3efd8;color:#2e7d4f}
.dash-action-icon svg{width:19px;height:19px}
.dash-action-body{min-width:0;display:grid;gap:6px}
.dash-action h3{font-size:15px;line-height:1.35;color:var(--deep)}
.dash-action p{font-size:13px;line-height:1.55;color:var(--muted)}.dash-action p strong{color:var(--deep);font-variant-numeric:tabular-nums}
.dash-action-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.dash-action-buttons:empty{display:none}
.dash-more{justify-self:start}
.dash-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 1px 2px #1e39250a,0 10px 28px -18px #1e392529}
.margin-chart{display:grid;gap:14px}
.margin-row{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr) 5.2rem;gap:12px;align-items:center}
.margin-name{font-size:13px;font-weight:600;color:var(--deep);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.margin-track{position:relative;height:14px;background:#f1f4ec;border-radius:4px}
.margin-bar{position:absolute;left:0;top:0;bottom:0;background:#2e7d4f;border-radius:0 4px 4px 0;transition:width .45s cubic-bezier(.2,.8,.2,1)}
.margin-bar.below{background:#b8741a}
.margin-target{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--deep);border-radius:1px}
.margin-value{font-size:13px;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;color:var(--deep)}
.margin-value small{display:block;font-size:10px;font-weight:600;color:var(--amber)}.margin-value .muted{color:var(--muted);font-weight:500}
.margin-key{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding-top:4px;border-top:1px solid var(--line)}
.margin-key span{display:inline-flex;gap:6px;align-items:center;padding-top:10px}.key-bar{width:14px;height:8px;border-radius:2px;background:#2e7d4f;display:inline-block}.key-target{width:2px;height:12px;background:var(--deep);display:inline-block}
.share-bar{display:flex;gap:2px;height:12px;border-radius:4px;overflow:hidden;margin-bottom:12px}.share-bar span{min-width:2px}
.share-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:var(--muted);margin-bottom:18px}
.share-legend span{display:inline-flex;gap:6px;align-items:center}.share-legend i{width:9px;height:9px;border-radius:2px;display:inline-block}.share-legend strong{color:var(--deep);font-variant-numeric:tabular-nums}
.driver-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.driver-list li{display:grid;grid-template-columns:minmax(0,10rem) minmax(0,1fr) 5rem;gap:12px;align-items:center}
.driver-name{font-size:13px;font-weight:600;color:var(--deep);min-width:0}.driver-name small{display:block;font-size:11px;font-weight:400;color:var(--muted)}
.driver-bar{height:8px;background:#f1f4ec;border-radius:4px;overflow:hidden}.driver-bar span{display:block;height:100%;background:var(--deep);border-radius:0 4px 4px 0}
.driver-value{text-align:right;font-variant-numeric:tabular-nums;font-size:13px}.driver-value small{display:block;font-size:11px;color:var(--muted)}
.dash-foot{font-size:13px;color:var(--muted);margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
@media(max-width:970px){.dash-grid{grid-template-columns:1fr}.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.dash-kpis{gap:10px;margin-bottom:22px}.kpi{padding:14px;border-radius:14px}.kpi-value{font-size:26px}.dash-action{padding:15px;gap:12px}.dash-card{padding:16px}
  .margin-row{grid-template-columns:minmax(0,1fr) 4.4rem;row-gap:6px}.margin-name{grid-column:1/-1}.margin-track{grid-column:1}
  .driver-list li{grid-template-columns:minmax(0,1fr) 4.4rem;row-gap:6px}.driver-name{grid-column:1/-1}}

/* ---------- Premium finish: depth, motion, comfortable sizes (no glass) ---------- */
.button.primary{background:linear-gradient(180deg,#1f5242 0%,#163f32 100%);box-shadow:inset 0 1px 0 #ffffff26,0 1px 2px #0f2b2233,0 8px 18px -8px #163f3299;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}
.button.primary:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:inset 0 1px 0 #ffffff2e,0 2px 4px #0f2b2233,0 12px 24px -10px #163f32aa}
.button.primary:active{transform:translateY(0);filter:brightness(.97);box-shadow:inset 0 1px 2px #0000002e}
.button.secondary{background:linear-gradient(180deg,#fff 0%,#fafbf7 100%);box-shadow:0 1px 2px #1e39250f;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.button.secondary:hover{border-color:#bfcbb4;transform:translateY(-1px);box-shadow:0 4px 12px -6px #1e392533}
.button.secondary:active{transform:translateY(0);box-shadow:none}
.stat-card,.detail-card,.table-panel{box-shadow:0 1px 2px #1e39250a,0 10px 28px -18px #1e392529}
.product-card{transition:border-color .18s,background .18s,transform .18s ease,box-shadow .18s ease}
.product-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px -18px #1e392540}
.view-enter{animation:dm-enter .24s cubic-bezier(.2,.8,.2,1)}
@keyframes dm-enter{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:700px){.button{font-size:12px;padding:10px 13px;min-height:42px}.button.small{font-size:12px;min-height:38px}}
@media(prefers-reduced-motion:reduce){.view-enter{animation:none}.button,.product-card,.margin-bar{transition:none!important}.button:hover,.product-card:hover{transform:none}}
@media(max-width:700px){.kpi-note{white-space:normal;align-items:flex-start}}.nowrap{white-space:nowrap}
/* Dairy facts, channel ladder, business settings, monthly panel */
.storage-fill{background:#8f6fb0}
.product-facts{display:grid;gap:14px;margin-top:16px}
.fact-row{display:flex;flex-wrap:wrap;gap:10px}
.fact-chip{display:flex;flex-direction:column;gap:2px;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-width:0;flex:1 1 180px}
.fact-chip strong{font-size:17px;color:var(--deep);font-variant-numeric:tabular-nums}.fact-chip span{font-size:12px;color:var(--muted)}
.ladder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line)}
.ladder-step{background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0}
.ladder-step span{font-size:11px;font-weight:600;color:var(--muted);letter-spacing:.2px}.ladder-step strong{font-size:18px;color:var(--deep);font-variant-numeric:tabular-nums}.ladder-step small{font-size:11px;color:var(--muted)}
.business-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:20px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:22px;box-shadow:0 1px 2px #1e39250a,0 10px 28px -18px #1e392529}
.business-panel h2{font-size:16px;margin-bottom:6px}.business-panel p{font-size:13px;color:var(--muted);line-height:1.55}
.business-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:12px;align-items:end}.business-fields .field{margin:0}.business-fields small{font-size:11px;color:var(--muted)}
.month-empty{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.month-empty h2{font-size:15px;margin-bottom:4px}.month-empty p{font-size:13px;color:var(--muted);max-width:60ch}
.month-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:2px;background:var(--line);border-radius:12px;overflow:hidden;border:1px solid var(--line)}
.month-flow>div{background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:3px}.month-flow span{font-size:11px;font-weight:600;color:var(--muted)}.month-flow strong{font-size:19px;color:var(--deep);font-variant-numeric:tabular-nums}
.month-total{background:#f3f8ee!important}.month-total.neg{background:#fff4ee!important}.month-total.neg strong{color:var(--danger)}.month-total.pos strong{color:#2e7d4f}
.month-note{font-size:13px;color:var(--deep);margin-top:14px;display:flex;gap:6px;align-items:flex-start;flex-wrap:wrap}.month-note svg{width:16px;height:16px;flex-shrink:0}
.breakeven{margin:6px 0 0;padding-left:18px;font-size:13px;color:var(--muted)}.breakeven strong{color:var(--deep);font-variant-numeric:tabular-nums}
@media(max-width:970px){.business-panel{grid-template-columns:1fr}}
@media(max-width:700px){.ladder{grid-template-columns:1fr}.business-fields{grid-template-columns:1fr}.month-flow{grid-template-columns:1fr 1fr}.month-total{grid-column:1/-1}}
.template-picker{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px}.template-picker>span{font-size:12px;font-weight:600;color:var(--muted);margin-right:4px}.template-picker .chip{border:1px solid #c8d2bf;background:#fffffa;border-radius:20px;padding:7px 12px;min-height:38px;font-size:12px;font-weight:600;color:var(--deep)}.template-note{display:flex;gap:8px;align-items:flex-start;background:var(--amber-bg);color:#6d4a17;border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.5;margin-bottom:14px}.template-note svg{width:16px;height:16px;flex-shrink:0;margin-top:1px}
.locked-card{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:linear-gradient(180deg,#fbfcf7,#f4f7ee);border:1px dashed #c8d4bc;border-radius:16px;padding:16px 18px;margin-bottom:18px}
.locked-card>div{flex:1 1 260px;min-width:0}.locked-card h3{font-size:14px;color:var(--deep);margin-bottom:3px}.locked-card p{font-size:13px;color:var(--muted);line-height:1.5}
.locked-badge{font-size:10px;font-weight:700;letter-spacing:1.4px;background:var(--deep);color:#eef3e2;padding:4px 8px;border-radius:6px;align-self:flex-start}
.upgrade-list{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:10px;font-size:14px}.upgrade-list li{padding-left:22px;position:relative}.upgrade-list li::before{content:"";position:absolute;left:2px;top:.5em;width:10px;height:6px;border-left:2px solid #2e7d4f;border-bottom:2px solid #2e7d4f;transform:rotate(-45deg)}
.product-facts .locked-card{margin-bottom:0}
