:root{--bg:#f5f7f3;--paper:#fff;--deep:#0d3d33;--deep2:#092e27;--text:#172c27;--muted:#66766f;--line:#e3eae4;--primary:#187f5d;--lime:#d6f28c;--amber:#ba741d;--danger:#ba4945;--blue:#376e9b;--shadow:0 12px 34px rgba(12,56,43,.055);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'Plus Jakarta Sans','DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}svg{display:block}input,select,textarea{outline:0;min-width:0}input:focus,select:focus,textarea:focus{border-color:#5da486!important;box-shadow:0 0 0 3px #daf3e4}button:focus-visible,a:focus-visible{outline:3px solid #a5d98e;outline-offset:2px}#app{min-height:100vh}.shell{display:flex;min-height:100vh}.sidebar{width:254px;min-width:254px;background:var(--deep);color:#fff;padding:30px 18px 20px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;overflow:auto;z-index:12}.brand{display:flex;align-items:center;gap:12px;padding:2px 12px 30px}.mark{width:39px;height:39px;border-radius:12px;background:var(--lime);display:grid;place-items:center;color:var(--deep);transform:rotate(-4deg);box-shadow:inset 0 -4px 0 rgba(13,61,51,.10)}.mark svg{transform:rotate(4deg)}.brand-title{font-size:23px;font-weight:800;letter-spacing:-1.2px;line-height:1}.brand-sub{font-size:9px;letter-spacing:1.85px;color:#b6d4c8;font-weight:800;margin-top:5px}.nav-section{font-size:9px;color:#92b9aa;letter-spacing:2px;font-weight:800;padding:13px 16px;margin:0 0 8px}.nav-item{border:0;background:transparent;width:100%;color:#c5ddd3;padding:13px 14px;border-radius:12px;display:flex;align-items:center;gap:12px;text-align:left;font-size:12.5px;font-weight:700;margin-bottom:5px;transition:background .15s,color .15s}.nav-item .icon{opacity:.87}.nav-item:hover{background:#205346;color:white}.nav-item.active{background:var(--lime);color:var(--deep);box-shadow:0 4px 15px rgba(3,30,24,.10)}.nav-item.active .icon{opacity:1}.nav-item .nav-pill{margin-left:auto;font-size:10px;padding:3px 7px;border-radius:9px;background:#286150;color:#e4f7eb}.nav-item.active .nav-pill{background:#b3de69;color:#173f2e}.sidebar-bottom{margin-top:auto;padding-top:20px}.help-card{background:#195343;border:1px solid #2e6556;padding:17px 16px;border-radius:16px;position:relative;overflow:hidden}.help-card:after{content:'↗';font-size:45px;font-weight:200;color:#3b7563;position:absolute;right:5px;top:-10px}.help-label{font-size:11px;letter-spacing:1px;color:var(--lime);font-weight:800}.help-title{font-size:14px;font-weight:800;margin:7px 0 5px;position:relative;z-index:1}.help-sub{font-size:11px;line-height:1.65;color:#c2d8cf;max-width:170px}.profile-mini{display:flex;align-items:center;gap:10px;padding:19px 9px 1px}.avatar{height:38px;width:38px;border-radius:12px;background:#e7f0d8;display:grid;place-items:center;color:#225a44;font-weight:800;font-size:12px}.profile-mini strong{display:block;font-size:12px}.profile-mini small{font-size:10px;color:#bad3c6;display:block;margin-top:4px}.page{width:calc(100% - 254px);max-width:1650px;min-width:0;padding:25px 37px 65px;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px;min-height:45px}.breadcrumbs{font-size:12px;font-weight:700;color:#82908a}.breadcrumbs span{color:#25463a}.top-actions{display:flex;align-items:center;gap:12px}.top-pill{font-size:10px;font-weight:800;background:#eaf4e7;border:1px solid #d0e5d1;color:#327355;padding:9px 12px;border-radius:9px;white-space:nowrap}.icon-btn{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:white;border:1px solid var(--line);color:#486358}.top-avatar{height:37px;width:37px;background:#cbe7c8;color:#1b664b;border-radius:11px;display:grid;place-items:center;font-weight:800;font-size:12px}.mobile-toggle{display:none}.heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.eyebrow{font-weight:800;color:var(--primary);text-transform:uppercase;letter-spacing:2.0px;font-size:10px;margin-bottom:9px}.heading-row h1{font-size:30px;letter-spacing:-1.45px;line-height:1.18;margin:0;font-weight:800}.heading-row p{color:var(--muted);font-size:12.5px;line-height:1.6;margin:10px 0 0}.btn{border:1px solid transparent;border-radius:11px;padding:12px 16px;font-size:12px;font-weight:800;display:inline-flex;gap:9px;align-items:center;justify-content:center;transition:transform .15s,background .15s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--deep);color:white}.btn-primary:hover{background:#165845}.btn-green{background:#187f5d;color:white}.btn-outline{background:#fff;color:#264738;border-color:#dbe6dd}.btn-ghost{background:#f1f5f0;color:#335749}.btn-danger{background:#fff0ee;color:#ac3434}.btn-small{padding:9px 11px;font-size:10.5px}.btn-row{display:flex;flex-wrap:wrap;gap:9px}.hero{background:linear-gradient(112deg,#0e4638,#0a3229 90%);color:#fff;border-radius:22px;padding:29px 33px;display:flex;justify-content:space-between;gap:25px;overflow:hidden;min-height:216px;position:relative;margin-bottom:22px}.hero:before{content:'';position:absolute;width:380px;height:380px;right:35px;top:-173px;border-radius:50%;border:1px solid #356b56;box-shadow:0 0 0 52px rgba(139,197,141,.025),0 0 0 104px rgba(139,197,141,.035),0 0 0 158px rgba(139,197,141,.025)}.hero-copy{position:relative;z-index:1;max-width:580px}.hero-tag{display:inline-flex;gap:8px;align-items:center;color:var(--lime);font-size:10px;letter-spacing:1.4px;font-weight:800;text-transform:uppercase}.hero h2{font-size:31px;max-width:480px;line-height:1.25;letter-spacing:-1.3px;margin:15px 0 10px;font-weight:800}.hero h2 em{font-style:normal;color:var(--lime)}.hero p{font-size:12px;line-height:1.8;color:#bad6c6;max-width:490px;margin:0}.hero .btn{margin-top:20px;background:var(--lime);color:var(--deep);border:0}.hero-art{position:relative;flex:0 0 220px;display:flex;align-items:center;justify-content:center}.art-ring{width:175px;height:175px;border-radius:50%;border:2px solid #609777;display:flex;align-items:center;justify-content:center;transform:rotate(-12deg);position:relative}.art-ring:before{content:'';position:absolute;inset:16px;border:1px dashed #6f9c79;border-radius:50%}.art-center{background:var(--lime);color:#1b5741;width:95px;height:95px;border-radius:25px;transform:rotate(-13deg);display:grid;place-items:center;box-shadow:0 21px 0 -11px rgba(164,223,121,.15)}.art-center svg{transform:rotate(13deg)}.spark{position:absolute;font-size:23px;color:var(--lime)}.spark.one{left:13px;top:21px}.spark.two{right:-6px;bottom:15px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 18px;box-shadow:var(--shadow);min-width:0}.stat-head{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:14px}.stat-name{font-size:11px;color:#72827b;font-weight:700}.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#ecf4ed;color:#267455}.stat-icon.amber{background:#fff3de;color:#b77a2f}.stat-icon.blue{background:#eaf1fb;color:#487da9}.stat-icon.plum{background:#f6eefa;color:#906ab0}.stat-value{font-size:22px;letter-spacing:-.9px;font-weight:800;white-space:nowrap}.stat-foot{margin-top:10px;color:#7d8b84;font-size:10.5px;line-height:1.5}.stat-foot b{color:#288e5c}.grid-2{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(285px,1fr);gap:19px;margin-bottom:19px}.grid-2.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.panel{background:var(--paper);border:1px solid var(--line);border-radius:19px;padding:22px;box-shadow:var(--shadow);min-width:0}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.panel-title h3{font-size:15px;font-weight:800;letter-spacing:-.4px;margin:0}.panel-title small{font-size:10px;color:#82918a;margin-top:5px;display:block}.link-btn{background:none;border:0;color:#16734f;font-size:11px;font-weight:800}.trend-chart{width:100%;height:190px;margin-top:6px}.chart-labels{display:flex;justify-content:space-around;color:#85938b;font-weight:700;font-size:10px;margin:4px 6px 0}.legend{display:inline-flex;gap:7px;align-items:center;font-size:10px;color:#7c8983}.legend i{width:8px;height:8px;background:#20885e;border-radius:50%}.alerts{display:grid;gap:11px}.alert-card{display:flex;gap:11px;padding:12px 11px;background:#fbfaf6;border:1px solid #eeeae2;border-radius:12px}.alert-card.warn{background:#fff9ef;border-color:#f3e7d2}.alert-card.good{background:#eff8f0;border-color:#daecdf}.alert-icon{flex:0 0 32px;height:32px;width:32px;background:#faedda;color:#a87629;border-radius:10px;display:grid;place-items:center}.alert-card.good .alert-icon{background:#dff0df;color:#22815c}.alert-content strong{font-size:11.5px;display:block;line-height:1.5}.alert-content p{color:#7e847e;font-size:10px;line-height:1.6;margin:4px 0 0}.row-list{display:grid;gap:0}.record{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0ed}.record:last-child{border-bottom:0;padding-bottom:2px}.record-left{display:flex;align-items:center;gap:11px;min-width:0}.record-dot{height:38px;width:38px;border-radius:12px;display:grid;place-items:center;background:#eaf3eb;color:#298561;flex-shrink:0}.record strong{display:block;font-size:11.5px;font-weight:800;line-height:1.45}.record small{display:block;color:#84928c;font-size:10px;margin-top:4px}.record-right{text-align:right}.record-right strong{font-size:11.5px}.badge{display:inline-flex;align-items:center;padding:5px 8px;white-space:nowrap;border-radius:7px;font-size:9px;font-weight:800;background:#e8f4e9;color:#238151}.badge.warn{background:#fff1de;color:#ad7027}.badge.red{background:#fff0ee;color:#b54c43}.badge.blue{background:#eaf2fa;color:#4f7da1}.section-title{font-size:18px;font-weight:800;letter-spacing:-.6px;margin:25px 0 15px}.toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:17px;flex-wrap:wrap}.search{position:relative;min-width:220px;flex:1;max-width:410px}.search svg{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:#7e948a}.search input{width:100%;height:42px;padding:10px 14px 10px 43px;border:1px solid #dce5dd;border-radius:11px;background:#fff;color:var(--text);font-size:12px}.search input::placeholder{color:#84998d}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px;background:white}.table{width:100%;border-collapse:collapse;white-space:nowrap;min-width:630px}.table th{text-align:left;background:#f7faf6;color:#74867b;font-size:10px;letter-spacing:.3px;padding:15px 16px;border-bottom:1px solid var(--line)}.table td{padding:15px 16px;border-bottom:1px solid #edf1ed;font-size:11.5px;color:#495c51;font-weight:600}.table td strong{color:#1b332a;font-size:12px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fafcf9}.table .td-main{display:flex;align-items:center;gap:10px}.table .td-dot{height:34px;width:34px;background:#ebf5e9;border-radius:10px;color:#258461;display:grid;place-items:center}.right{text-align:right!important}.muted{color:#7e8b83!important}.table-tools{display:flex;gap:5px}.small-action{border:1px solid #dfebe1;background:#fff;color:#28654c;padding:6px 9px;border-radius:8px;font-weight:800;font-size:10px}.small-action.red{color:#a34c43}.pill-selector{display:flex;gap:4px;background:#eaf0e9;border-radius:11px;padding:4px}.pill-selector button{background:transparent;border:0;border-radius:8px;padding:8px 11px;font-weight:800;color:#71877a;font-size:10px}.pill-selector button.active{background:white;color:#175b40;box-shadow:0 3px 7px #21402a12}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recipe-card{border-radius:18px;border:1px solid var(--line);background:white;overflow:hidden;box-shadow:var(--shadow)}.recipe-top{height:90px;background:#eaf3df;display:flex;align-items:center;justify-content:space-between;padding:15px 18px;position:relative;overflow:hidden}.recipe-top:after{content:'';position:absolute;width:144px;height:144px;border:22px solid rgba(33,126,76,.07);border-radius:50%;right:-46px;top:-47px}.recipe-top.green{background:#e3efe3}.recipe-top.gold{background:#f7edda}.recipe-top.sky{background:#e4f1eb}.recipe-top.plum{background:#eee9ef}.recipe-art{width:55px;height:55px;border-radius:18px;background:#fff9;display:grid;place-items:center;color:#2b815a}.recipe-body{padding:17px 18px}.recipe-name{font-weight:800;font-size:13px;min-height:25px}.recipe-meta{font-size:10px;color:#829087;margin-top:5px}.recipe-pricing{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:16px 0}.recipe-pricing label{display:block;color:#829087;font-size:10px;font-weight:700;margin-bottom:4px}.recipe-pricing strong{font-size:17px;font-weight:800;letter-spacing:-.4px}.recipe-footer{border-top:1px solid #eef2ee;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:6px}.empty{padding:32px;text-align:center;color:#829087;font-size:12px;line-height:1.8}.callout{border-radius:16px;background:#f1f7ee;border:1px solid #d9e9d6;padding:18px 20px;display:flex;align-items:flex-start;gap:14px}.callout strong{font-size:12px}.callout p{font-size:11px;line-height:1.8;color:#647768;margin:6px 0 0}.modal-backdrop{position:fixed;inset:0;background:rgba(7,28,21,.56);backdrop-filter:blur(3px);z-index:50;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#fff;border-radius:21px;width:min(100%,670px);max-height:min(90vh,840px);overflow:auto;box-shadow:0 30px 80px #07190f55}.modal-head{padding:24px 26px 19px;border-bottom:1px solid #e6eee6;display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-head h2{font-size:19px;letter-spacing:-.6px;margin:0}.modal-head p{font-size:11px;color:#75867b;margin:5px 0 0}.close-btn{background:#eef4ed;border:0;border-radius:9px;height:33px;width:33px;font-size:18px;color:#416451}.modal-body{padding:22px 26px}.modal-foot{padding:16px 26px 24px;display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:800;color:#405449}.field input,.field select,.field textarea,.field .fake-select{border-radius:10px;border:1px solid #d8e5dc;min-height:42px;padding:10px 12px;background:#fff;color:#23392f;font-size:12px;width:100%}.field textarea{min-height:76px;resize:vertical}.hint{font-size:10px;line-height:1.6;color:#7b8a80}.estimate{background:#ecf6e9;border:1px solid #d7e9d4;border-radius:13px;padding:16px;margin-top:16px}.estimate-label{font-size:10px;color:#56826b;font-weight:800}.estimate-main{font-size:24px;font-weight:800;color:#154c38;letter-spacing:-.7px;margin:6px 0}.estimate small{font-size:11px;color:#668776}.ingredient-row{display:grid;grid-template-columns:2fr .85fr .65fr 30px;gap:7px;margin-bottom:8px;align-items:center}.ingredient-row select,.ingredient-row input{border:1px solid #d8e5dc;border-radius:9px;width:100%;min-width:0;padding:10px 8px;color:#344e40;font-size:11px;background:white}.remove-row{height:35px;width:30px;border:none;background:#fff0ef;color:#ac5146;border-radius:8px;font-size:18px}.divider{height:1px;background:#e9eee8;margin:18px 0}.sub-title{font-size:12px;font-weight:800;margin:0 0 12px}.form-status{font-size:11px;color:#b34642;margin-top:10px}.toast{position:fixed;bottom:27px;right:27px;background:#164d3a;color:white;border-radius:12px;padding:14px 18px;box-shadow:0 15px 40px #153c2e33;z-index:100;font-weight:700;font-size:11px;max-width:340px;display:flex;gap:10px;align-items:center}.setting-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.metric-compare{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.big-number{font-size:23px;letter-spacing:-.8px;font-weight:800}.insight-feature{padding:21px;border:1px solid #e5ebdf;border-radius:17px;background:#fbfdf8}.insight-feature h3{margin:11px 0 8px;font-size:14px}.insight-feature p{font-size:11px;line-height:1.85;color:#65786c;margin:0}.hint-tag{display:inline-block;background:#eaf3e6;color:#2b7955;border-radius:8px;padding:6px 9px;font-size:9px;font-weight:800}.negative{color:var(--danger)!important}.positive{color:#1c8a5d!important}.mini-note{background:#f7f9f5;border:1px solid var(--line);color:#748579;border-radius:10px;padding:10px 13px;font-size:10px;line-height:1.7}.mini-line{width:30px;height:4px;border-radius:2px;background:var(--lime)}.footer-note{font-size:10px;color:#89968d;margin-top:23px;line-height:1.8}.sidebar-scrim{display:none}
@media(max-width:1200px){.page{padding:24px 25px 45px}.sidebar{width:222px;min-width:222px}.page{width:calc(100% - 222px)}.stat-grid{grid-template-columns:repeat(2,1fr)}.recipe-grid{grid-template-columns:repeat(2,1fr)}.stat-card{padding:18px}.grid-2{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}}
@media(max-width:850px){.sidebar{position:fixed;left:0;top:0;transform:translateX(-110%);transition:transform .2s;width:265px;min-width:265px;box-shadow:0 20px 60px #02150f66}.shell.sidebar-open .sidebar{transform:translateX(0)}.sidebar-scrim{display:none}.shell.sidebar-open .sidebar-scrim{position:fixed;inset:0;background:#001f16a3;display:block;z-index:11}.page{width:100%;padding:15px 20px 36px}.mobile-toggle{display:grid}.topbar{margin-bottom:21px}.grid-2,.grid-2.equal{grid-template-columns:1fr}.hero-art{flex-basis:145px}.art-ring{width:132px;height:132px}.art-center{width:76px;height:76px}.hero h2{font-size:26px}.recipe-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.page{padding:12px 14px 35px}.topbar{margin-bottom:20px}.breadcrumbs{font-size:10px}.top-pill{display:none}.top-actions{gap:8px}.hero{padding:23px 20px;min-height:0}.hero h2{font-size:24px;line-height:1.35;max-width:285px}.hero-art{display:none}.heading-row{align-items:flex-start;flex-direction:column;gap:15px}.heading-row h1{font-size:25px}.heading-row .btn{width:100%;justify-content:center}.heading-row p{margin-top:7px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:15px 12px}.stat-name{font-size:10px}.stat-value{font-size:17px}.stat-head{margin-bottom:12px}.stat-icon{width:29px;height:29px}.stat-foot{font-size:9px}.panel{padding:17px 14px}.recipe-grid{grid-template-columns:1fr}.recipe-top{height:66px}.recipe-body{padding:16px}.toolbar{align-items:stretch}.search{max-width:none;min-width:0;width:100%;flex:auto}.toolbar .pill-selector{width:100%;justify-content:space-between}.toolbar .pill-selector button{flex:1}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-backdrop{padding:8px;align-items:flex-end}.modal{max-height:94vh;border-radius:19px 19px 0 0}.modal-head,.modal-body,.modal-foot{padding-left:17px;padding-right:17px}.modal-foot .btn{flex:1}.ingredient-row{grid-template-columns:1.4fr .7fr .6fr 25px;gap:4px}.ingredient-row select,.ingredient-row input{font-size:10px;padding:9px 4px}.setting-layout,.metric-compare{grid-template-columns:1fr}.btn-row{width:100%}.btn-row .btn{flex:1}.toast{bottom:15px;left:12px;right:12px;max-width:none}}

/* ---- v0.1.1 UX: chips, recipe rows, picker, estimate, chart ---- */
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chip{position:relative;cursor:pointer}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip span{display:inline-flex;align-items:center;min-height:36px;padding:8px 13px;border:1px solid #d8e5dc;border-radius:999px;background:#fff;color:#3d5649;font-size:11.5px;font-weight:700;transition:background .15s,border-color .15s,color .15s}
.chip:hover span{border-color:#9fcbb3}
.chip input:checked+span{background:var(--deep);border-color:var(--deep);color:#fff}
.chip input:focus-visible+span{outline:3px solid #a5d98e;outline-offset:2px}
.chip.disabled{cursor:not-allowed}.chip.disabled span{opacity:.4}
.stepper{display:grid;grid-template-columns:42px 1fr 42px;border:1px solid #d8e5dc;border-radius:10px;overflow:hidden;background:#fff}
.stepper button{border:0;background:#f2f7f1;color:var(--deep);font-size:18px;font-weight:700}
.stepper button:hover{background:#e3f0e2}
.field .stepper input{border:0;border-radius:0;text-align:center;font-weight:800;box-shadow:none!important}
.estimate-main .per{font-size:13px;color:#5f8270;font-weight:700;letter-spacing:0}
.impact{margin-top:12px;padding-top:12px;border-top:1px dashed #c7e0c7;font-size:11px;color:#47685a;line-height:1.7}
.impact ul{margin:6px 0 0;padding:0;list-style:none}
.impact li{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #dcecd9}
.impact li:last-child{border-bottom:0}
.estimate-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}
.estimate-side{text-align:right}
.mbar{position:relative;height:8px;border-radius:99px;background:#d6e8d3;margin:4px 0 12px}
.mbar span{position:absolute;inset:0 auto 0 0;border-radius:99px;background:linear-gradient(90deg,#3aa173,#187f5d);transition:width .25s}
.mbar span.warn{background:linear-gradient(90deg,#e3a73b,#ba741d)}
.mbar i{position:absolute;top:-4px;width:2px;height:16px;background:var(--deep);border-radius:2px}
.use-price{margin-left:4px;padding:4px 9px;border-radius:7px;background:#fff!important;border:1px solid #c9e2c8!important}
.rows-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.ingredient-head,.ingredient-row{display:grid;grid-template-columns:minmax(0,1fr) 78px 86px 78px 30px;gap:7px;align-items:center}
.ingredient-head{font-size:9.5px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;color:#87968d;margin:0 0 6px;padding:0 2px}
.ingredient-head .right,.row-cost{text-align:right}
.ingredient-row{margin-bottom:8px}
.ingredient-row input{height:44px;text-align:right;font-weight:700}
.ing-pick{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;padding:0 10px 0 12px;border:1px solid #d8e5dc;border-radius:10px;background:#fff;color:#22382e;text-align:left;min-width:0}
.ing-pick:hover{border-color:#9fcbb3}
.ing-pick .icon{flex:none;transform:rotate(90deg);color:#7a8f84}
.ing-pick-text{display:flex;flex-direction:column;min-width:0}
.ing-pick-name{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ing-pick small{font-size:10px;color:#7b8c82;margin-top:1px}
.ing-pick.empty{border-style:dashed;color:#6f8379}.ing-pick.empty .ing-pick-name{font-weight:600}
.ing-pick.missing{border-color:#e4b1ab;background:#fff6f5;color:var(--danger)}
.unit-toggle{display:flex;height:44px;border:1px solid #d8e5dc;border-radius:10px;overflow:hidden}
.unit-toggle button{flex:1;border:0;background:#fff;font-size:11px;font-weight:800;color:#6d8177}
.unit-toggle button.on{background:#e3f2df;color:var(--deep)}
.unit-static{height:44px;display:grid;place-items:center;border-radius:10px;background:#f4f8f3;font-size:11px;font-weight:800;color:#5d7268}
.row-cost{font-size:11.5px;font-weight:800;color:#2b4a3c;white-space:nowrap}
.remove-row{height:44px}
.empty-rows{padding:16px;border:1px dashed #d3e2d6;border-radius:12px;text-align:center;font-size:11px;color:#7b8a80}
.picker{position:fixed;z-index:60;background:#fff;border:1px solid #d6e4d8;border-radius:14px;box-shadow:0 22px 50px rgba(7,40,28,.22);display:flex;flex-direction:column;overflow:hidden;animation:pickIn .14s ease-out}
@keyframes pickIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.picker-search{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #edf2ec;color:#7a8f84}
.picker-search input{flex:1;border:0;font-size:13px;height:28px;background:transparent;box-shadow:none!important;color:var(--text)}
.picker-list{overflow:auto;padding:6px;min-height:0;flex:1 1 auto;max-height:260px}
.picker-opt{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:9px;background:none;text-align:left;color:#22382e}
.picker-opt:hover,.picker-opt.active{background:#eef7ec}
.picker-opt.current .picker-opt-name::after{content:" \2713";color:var(--primary)}
.picker-opt-name{font-size:12.5px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.picker-opt small{font-size:10px;color:#7d8e84;white-space:nowrap}
.picker-opt em{font-style:normal;color:#b07a1f;font-weight:700;margin-right:6px}
.picker-empty{padding:14px 10px;font-size:11.5px;color:#7b8a80}
.picker-new{display:flex;align-items:center;gap:8px;padding:12px 14px;border:0;border-top:1px solid #edf2ec;background:#f8fbf7;color:var(--primary);font-weight:800;font-size:12px;text-align:left}
.picker-new:hover,.picker-new.active{background:#e8f5e4}
.picker-form{padding:14px;display:flex;flex-direction:column;gap:11px;overflow:auto}
.picker-form-title{display:flex;align-items:center;gap:7px;font-weight:800;font-size:13px;color:var(--deep)}
.qi-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:9px}
.picker-form .chip span{min-height:32px;padding:6px 11px}
.picker-form .hint{margin:0}
.picker-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}
.btn-sm{padding:9px 13px;font-size:11.5px}
.chart-box{position:relative}
.chart-summary{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.chart-total{font-size:24px;font-weight:800;letter-spacing:-.8px;color:var(--deep);display:flex;align-items:center;gap:9px}
.chart-summary small{font-size:10.5px;color:#82918a}
.delta{font-size:10.5px;font-weight:800;letter-spacing:0;padding:4px 8px;border-radius:99px}
.delta.up{background:#e2f3e3;color:#18784f}.delta.down{background:#fbe8e6;color:var(--danger)}
.chart-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:10.5px;color:#5f7268;font-weight:700}
.chart-legend span,.chart-tip div{display:flex;align-items:center;gap:6px}
.lg-gross,.lg-profit{display:inline-block;width:10px;height:10px;border-radius:3px;background:#1f8a60}
.lg-profit{background:#e3a73b}
.chart-plot{width:100%;touch-action:pan-y}
.chart-plot svg{display:block;overflow:visible}
.chart-plot .grid{stroke:#edf2eb;stroke-dasharray:3 5}
.chart-plot .axis0{stroke:#d5e1d6}
.chart-plot .ylab,.chart-plot .xlab{font-size:10px;fill:#8a998f;font-weight:700}
.chart-plot .xlab.now{fill:var(--primary)}
.ln-gross,.ln-profit{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ln-gross{stroke:#1a7f57}.ln-profit{stroke:#e3a73b;stroke-width:2.4}
.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:draw .9s ease-out forwards}
.draw-fade{opacity:0;animation:fadeIn .6s .35s ease-out forwards}
@keyframes draw{to{stroke-dashoffset:0}}@keyframes fadeIn{to{opacity:1}}
.guide{stroke:#9db8a8;stroke-width:1;stroke-dasharray:3 3}
.dot-gross{fill:#fff;stroke:#1a7f57;stroke-width:2.6}.dot-profit{fill:#fff;stroke:#e3a73b;stroke-width:2.4}
.pulse{fill:#1f8a60;opacity:.18;transform-box:fill-box;transform-origin:center;animation:pulse 2s ease-out infinite}
@keyframes pulse{0%{transform:scale(.6);opacity:.35}100%{transform:scale(1.8);opacity:0}}
.chart-tip{position:absolute;pointer-events:none;background:var(--deep);color:#fff;border-radius:11px;padding:10px 12px;font-size:11px;line-height:1.7;box-shadow:0 12px 30px rgba(7,40,28,.25);white-space:nowrap;z-index:3}
.chart-tip strong{display:block;font-size:11px;color:var(--lime);margin-bottom:2px}
.chart-tip b{margin-left:auto;padding-left:12px}
.chart-tip small{display:block;color:#b5cbbf;font-size:10px}
@media (prefers-reduced-motion:reduce){.draw,.draw-fade,.pulse,.picker{animation:none;stroke-dashoffset:0;opacity:1}}
@media(max-width:560px){
.ingredient-head{display:none}
.ingredient-row{grid-template-columns:minmax(0,1fr) 84px 44px;grid-template-areas:"pick pick pick" "qty unit del" "cost cost cost";row-gap:6px;padding:10px;border:1px solid #e6eee6;border-radius:12px}
.ingredient-row .ing-pick{grid-area:pick}.ingredient-row input{grid-area:qty}.ingredient-row .unit-toggle,.ingredient-row .unit-static{grid-area:unit}.ingredient-row .row-cost{grid-area:cost;text-align:left;font-size:11px;color:#6e8277}.ingredient-row .remove-row{grid-area:del;width:100%}
.ingredient-row .row-cost::before{content:"Biaya: "}
.qi-grid{grid-template-columns:1fr}
.chart-total{font-size:20px}
}

/* ---- v1.0: activation gate, onboarding, banners, license ---- */
.gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 16px;background:radial-gradient(1200px 500px at 50% -10%,#1c5a49 0%,var(--deep) 55%,var(--deep2) 100%)}
.gate-card{width:min(100%,460px);background:#fff;border-radius:22px;padding:30px 28px 26px;box-shadow:0 30px 80px rgba(2,21,15,.35)}
.gate-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.gate-brand .brand-title{color:var(--deep)}.gate-brand .brand-sub{color:#7c8f85}
.gate h1{font-size:22px;letter-spacing:-.6px;margin:0 0 6px}
.gate-sub{font-size:12.5px;color:var(--muted);line-height:1.6;margin:0 0 18px}
.gate textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;word-break:break-all}
.gate-msg{min-height:18px;font-size:11.5px;margin:10px 0;color:#56826b}
.gate-btn{width:100%;padding:14px}
.gate-alt{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid #edf2ec}
.gate-choices{display:grid;gap:9px;margin:20px 0 10px}
.gate-choices .btn{width:100%;padding:14px}
.gate-foot{color:#a9c4b8;font-size:10.5px;margin-top:16px;text-align:center}
.notice-banner{display:flex;align-items:center;gap:14px;background:#fff8ea;border:1px solid #f0dcb1;color:#6b4b12;border-radius:14px;padding:13px 16px;margin-bottom:18px}
.notice-banner>div{flex:1;display:flex;flex-direction:column;gap:3px;font-size:11.5px;line-height:1.5}
.notice-banner strong{font-size:12.5px}
.notice-banner .icon{flex:none}
.notice-banner.demo{background:#eef6ff;border-color:#cfe0f2;color:#244b6e}
.top-pill.demo{background:#eef6ff;color:#2d5d88}
.start-guide{margin-bottom:20px}
.start-guide .mbar{margin:-6px 0 14px}
.start-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.start-step{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:14px;padding:13px}
.start-step .step-copy{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.start-step strong{font-size:12px}.start-step small{font-size:10.5px;color:#7a8a81;line-height:1.5}
.step-num{width:30px;height:30px;flex:none;border-radius:10px;display:grid;place-items:center;background:#eef4ed;color:var(--deep);font-weight:800;font-size:12px}
.start-step.done{background:#f4faf2}.start-step.done .step-num{background:var(--primary);color:#fff}.start-step.done strong{color:#4f6b5d}
.license-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.license-grid div{display:flex;flex-direction:column;gap:4px;min-width:0}
.license-grid small{font-size:10px;color:#82918a;font-weight:700;text-transform:uppercase;letter-spacing:.4px}
.license-grid strong{font-size:12.5px;overflow-wrap:anywhere}
@media(max-width:850px){.start-steps,.license-grid{grid-template-columns:1fr}}
@media(max-width:560px){.notice-banner{flex-wrap:wrap}.notice-banner .btn{width:100%}.install-btn{display:none}.gate-card{padding:24px 18px}}
