:root{--ink:#2b2421;--muted:#756b65;--cream:#f8f5f0;--paper:#fffefa;--rose:#b9475a;--rose-dark:#923446;--rose-soft:#f8e9ec;--cocoa:#43332c;--sand:#d7b98e;--line:#e8e0d8;--success:#27735a;--shadow:0 14px 40px rgba(72,48,38,.08)}*{box-sizing:border-box}body,html{background:var(--cream)}body{margin:0;color:var(--ink);font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:100vh}.app-shell>aside{color:#fff;padding:28px 22px;display:flex;flex-direction:column;position:-webkit-sticky;position:sticky;top:0;height:100vh;z-index:30}.brand-row{justify-content:space-between}.brand,.brand-row{display:flex;align-items:center}.brand{gap:8px;font-size:24px;letter-spacing:-1px}.brand b{background:var(--rose);color:#fff;padding:2px 8px;border-radius:7px}.brand span{font-weight:800}.app-shell aside>small{color:#c1b5af;margin:10px 0 26px}.app-shell nav{display:grid;grid-gap:3px;gap:3px}.app-shell nav p{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#9f9089;margin:22px 12px 7px;font-weight:800}.app-shell nav :is(button,a),.logout{border:0;background:transparent;color:#d6ccc7;text-align:left;padding:10px 13px;border-radius:10px}.app-shell nav :is(button,a).active,.app-shell nav :is(button,a):hover{background:#5a463e;color:#fff}.app-shell nav :is(button,a).active{box-shadow:inset 3px 0 var(--rose)}.app-shell nav :is(button,a) span{margin-right:9px}.logout{margin-top:auto}.workspace{padding:34px clamp(24px,4vw,64px) 64px;min-width:0}.workspace>header{display:flex;align-items:center;gap:16px;margin-bottom:30px}.workspace>header>div:nth-child(2){flex:1 1}.workspace h1{font:650 clamp(30px,4vw,42px)/1.08 Georgia,serif;margin:4px 0;letter-spacing:-.025em}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--rose);font-weight:850}.eyebrow.light{color:#efb7c0}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eadfd4;color:#73594c;font-weight:850}.avatar.small{width:38px;height:38px}.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;width:40px;height:40px;color:var(--muted)}.close-menu,.menu-button,.scrim{display:none}.welcome{background:linear-gradient(125deg,#3c2d28,#5a3b3c);border-radius:24px;padding:clamp(32px,5vw,62px);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:var(--shadow);overflow:hidden}.welcome h2{font:650 clamp(36px,5vw,58px)/1 Georgia,serif;letter-spacing:-.035em;margin:14px 0}.welcome p{color:#e0d4cf;max-width:590px;font-size:16px}.light-button{border:0;background:#fff;color:var(--cocoa);padding:12px 17px;border-radius:10px;font-weight:800;margin-top:12px}.light-button span{margin-left:18px}.welcome-mark{font:700 92px/1 Georgia,serif;color:#ffffff14;border:1px solid #ffffff20;border-radius:50%;width:190px;height:190px;display:grid;place-items:center;transform:rotate(8deg)}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px;margin:18px 0}.quick-grid>button{border:1px solid var(--line);background:var(--paper);border-radius:16px;padding:20px;display:flex;align-items:center;text-align:left;gap:14px;color:var(--ink);box-shadow:0 4px 14px rgba(72,48,38,.03)}.quick-grid>button:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.quick-grid>button div{flex:1 1}.quick-grid b,.quick-grid small{display:block}.quick-grid small{color:var(--muted);margin-top:3px}.quick-grid i{font-style:normal;color:var(--rose);font-size:20px}.quick-icon{width:42px;height:42px;border-radius:12px;background:var(--rose-soft);color:var(--rose);display:grid;place-items:center;font-weight:900}.quick-icon.sand{background:#f4eadb;color:#946e37}.quick-icon.cocoa{background:#eee7e3;color:var(--cocoa)}.principle{display:flex;gap:28px;align-items:center;border-top:1px solid var(--line);margin-top:30px;padding:24px 4px}.principle span{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--muted)}.principle p{margin:0;font:italic 18px Georgia,serif}.embedded-intro,.page-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.embedded-intro p,.page-intro p{color:var(--muted);max-width:720px;margin:0;font-size:16px}.primary,.secondary{border:0;border-radius:10px;padding:11px 17px;font-weight:800}.primary{background:var(--rose);color:#fff;box-shadow:0 5px 13px rgba(185,71,90,.2)}.primary:hover{background:var(--rose-dark)}.primary:disabled{opacity:.6}.secondary{background:#eee7e1;color:var(--ink)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0}.toolbar>span{color:var(--muted);font-size:12px;white-space:nowrap}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:0 13px;width:min(440px,100%)}.search span{font-size:20px;color:var(--muted)}.search input{width:100%;border:0;outline:0;background:transparent;padding:11px 0}.entity-list{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden}.entity-row,.product-list>:is(button,a){display:flex;align-items:center;gap:16px;width:100%;padding:15px 18px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink)}.entity-row:last-child,.product-list>:is(button,a):last-child{border-bottom:0}.product-list>:is(button,a):hover{background:#fcf7f5}.entity-row>div:first-child,.product-list>:is(button,a)>div:nth-child(2){flex:1 1}.entity-row b,.entity-row small,.product-list b,.product-list small{display:block}.entity-row small,.product-list small{color:var(--muted);margin-top:2px}.product-list code{font:700 11px ui-monospace,monospace;color:var(--muted);background:#f2ece7;border-radius:6px;padding:5px 7px}.product-list>:is(button,a)>i{font-size:25px;font-style:normal;color:#aa9c94}.product-monogram{width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#f6dfe4,#ead2c7);display:grid;place-items:center;color:var(--rose-dark);font:700 19px Georgia,serif}.product-monogram.large{width:72px;height:72px;border-radius:20px;font-size:30px}.badge{font-size:11px;border-radius:20px;padding:5px 9px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.badge.success{color:var(--success);background:#e7f3ed}.badge.muted{color:#806f67;background:#eee8e4}.ghost-danger{border:0;background:transparent;color:var(--rose-dark);padding:8px}.empty-state,.loading-state{background:var(--paper);border:1px dashed #d9cec5;border-radius:16px;min-height:230px;display:grid;place-content:center;text-align:center;color:var(--muted);padding:32px}.empty-state>div{font-size:27px;color:var(--rose)}.empty-state b{color:var(--ink);margin-top:8px}.empty-state p{margin:5px 0}.loading-state{display:flex;align-items:center;gap:10px;min-height:180px}.loading-state i{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--rose);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.entity-form{background:var(--paper);border:1px solid var(--line);border-radius:20px;margin-bottom:24px;box-shadow:var(--shadow);overflow:hidden}.form-heading{padding:25px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.form-heading h2{font:650 28px Georgia,serif;margin:5px 0}.form-heading p,.form-section>p{color:var(--muted);margin:0}.form-section{padding:24px 28px;border-bottom:1px solid var(--line)}.form-section h3{font-size:15px;margin:0 0 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.field{font-size:12px;font-weight:750;display:grid;grid-gap:6px;gap:6px;align-content:start}.field.wide{grid-column:span 2}.field>span em{color:var(--rose);font-style:normal;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.field>small{font-weight:400;color:var(--muted);min-height:18px}.field input,.field select,.member-list select{border:1px solid #dcd2ca;border-radius:10px;padding:11px 12px;background:#fff;min-width:0;outline:0;color:var(--ink)}.field input:focus,.field select:focus,.search-select:focus-within{border-color:var(--rose);box-shadow:0 0 0 3px var(--rose-soft)}.search-select{display:flex;border:1px solid #dcd2ca;border-radius:10px;background:#fff}.search-select input{border:0;box-shadow:none!important;flex:1 1}.search-select button{border:0;background:transparent;color:var(--muted);padding:0 12px}.field-error{color:var(--rose-dark)!important}.check-field{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);padding:13px;border-radius:10px}.check-field input{accent-color:var(--rose);margin-top:4px}.check-field span b,.check-field span small{display:block}.check-field span small{font-weight:400;color:var(--muted)}.form-actions{padding:18px 28px;display:flex;justify-content:flex-end;gap:10px}.entity-form.compact .form-section{border-bottom:0}.info-callout{background:#f1e8e2;border-left:4px solid var(--sand);padding:17px 20px;border-radius:0 12px 12px 0;margin:20px 0}.info-callout p{margin:4px 0 0;color:var(--muted)}.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:28px 0 22px}.tabs button{border:0;background:transparent;padding:11px 14px;color:var(--muted);font-weight:750}.tabs button.active{color:var(--rose);box-shadow:0 2px var(--rose)}.back{border:0;background:transparent;color:var(--rose-dark);font-weight:750;padding:0;margin-bottom:20px}.detail-hero{display:flex;align-items:center;gap:18px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:24px;margin-bottom:16px}.detail-hero>div:nth-child(2){flex:1 1}.detail-hero h2{font:650 32px Georgia,serif;margin:7px 0 2px}.detail-hero p{margin:0;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:14px;gap:14px}.detail-grid article{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px}.detail-grid article.history{grid-column:span 2}.detail-grid h3{margin:6px 0 18px}dl{margin:0}dl>div{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:11px 0}dt{color:var(--muted)}dd{margin:0;font-weight:700;text-align:right}.history ul{list-style:none;padding:0;margin:0}.history li{display:flex;gap:12px;padding:10px 0}.history li>i{width:8px;height:8px;border-radius:50%;background:var(--rose);margin-top:6px}.history li b,.history li small{display:block}.history li small,.muted-text{color:var(--muted)}.member-list{display:grid;grid-gap:10px;gap:10px}.member-list article{display:flex;align-items:center;gap:14px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:15px 17px}.member-list article>div:nth-child(2){flex:1 1}.member-list b,.member-list small{display:block}.member-list small{color:var(--muted)}.member-list label{display:flex;align-items:center;gap:9px}.member-list label span{font-size:11px;color:var(--muted)}.toast{display:grid;grid-template-columns:1fr auto;position:relative;background:#fff0f2;color:#832f3e;border:1px solid #f1cfd5;border-radius:12px;padding:13px 45px 13px 15px;margin-bottom:18px}.toast b,.toast span{display:block}.toast span{grid-column:1}.toast button{position:absolute;right:10px;top:10px;border:0;background:transparent;color:inherit}.inline-error{color:var(--rose-dark);background:var(--rose-soft);padding:10px;border-radius:9px}.login{min-height:100vh;display:grid;grid-template-columns:minmax(360px,540px) 1fr;background:var(--paper);padding:0}.login>section{padding:clamp(32px,7vw,80px);display:flex;flex-direction:column;justify-content:center}.login-copy{margin:60px 0 24px}.login h1{font:650 clamp(38px,5vw,58px)/1 Georgia,serif;letter-spacing:-.04em;margin:12px 0}.login p{color:var(--muted)}.login form{display:grid;grid-gap:17px;gap:17px}.login-art{background:linear-gradient(145deg,#3b2c27,#7b404b);color:#fff;display:flex;flex-direction:column;justify-content:flex-end;padding:70px;background-size:cover}.login-art span{color:#e8c2c7;text-transform:uppercase;letter-spacing:.15em;font-size:11px}.login-art b{font:650 clamp(42px,6vw,82px)/.95 Georgia,serif;max-width:700px;margin-top:14px}.center{min-height:100vh;display:grid;place-items:center}.scrim{position:fixed;inset:0;background:#0008;border:0;z-index:20}.nav-group{display:grid;grid-gap:3px;gap:3px}.nav-group-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;font-weight:750}.nav-group-toggle i{font-style:normal;color:#a99b94}.nav-group-toggle.contains-active{color:#fff}.nav-children{display:grid;grid-gap:2px;gap:2px;margin:0 0 6px 12px;padding-left:9px;border-left:1px solid #6b554b}.nav-children :is(button,a){padding:8px 11px!important;font-size:13px}.product-direct-form{display:grid;grid-gap:14px;gap:14px}.product-direct-form .detail-hero{margin-bottom:0}.product-direct-form .detail-hero>div:nth-child(2){flex:1 1}.form-card .form-grid{grid-template-columns:1fr}.form-card .field.wide{grid-column:auto}.form-stack{display:grid;grid-gap:17px;gap:17px}.save-feedback{background:#e7f3ed;color:var(--success);border:1px solid #cce5da;border-radius:11px;padding:11px 14px;font-weight:750}.read-only-note{color:var(--muted);background:#f0eae5;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:750}@media(max-width:900px){.quick-grid{grid-template-columns:1fr}.welcome-mark{display:none}.detail-grid{grid-template-columns:1fr}.detail-grid article.history{grid-column:auto}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}.app-shell>aside{position:fixed;transform:translateX(-105%);transition:transform .2s;width:min(310px,86vw)}.app-shell>aside.open{transform:translateX(0)}.close-menu,.menu-button,.scrim{display:block}.workspace{padding:22px 16px 50px}.workspace>header{margin-bottom:22px}.workspace h1{font-size:30px}.welcome{padding:30px 24px;border-radius:18px}.welcome h2{font-size:38px}.embedded-intro,.page-intro{align-items:stretch;flex-direction:column}.embedded-intro .primary,.page-intro .primary{width:100%}.toolbar{align-items:stretch;flex-direction:column}.toolbar>span{align-self:flex-end}.product-list>:is(button,a){display:grid;grid-template-columns:44px 1fr auto}.product-list code{grid-column:2}.product-list .badge{grid-column:3;grid-row:2}.product-list>:is(button,a)>i{grid-column:3;grid-row:1}.entity-row{align-items:flex-start;flex-wrap:wrap}.entity-row>div:first-child{min-width:60%}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.form-actions,.form-heading,.form-section{padding-left:18px;padding-right:18px}.form-actions{position:-webkit-sticky;position:sticky;bottom:0;background:var(--paper);z-index:2}.detail-hero{align-items:flex-start;flex-wrap:wrap}.detail-hero>div:nth-child(2){min-width:calc(100% - 95px)}.detail-hero .primary{width:100%}.member-list article{align-items:flex-start;flex-wrap:wrap}.member-list article>div:nth-child(2){min-width:calc(100% - 60px)}.member-list label{width:100%;justify-content:space-between;margin-left:52px}.principle{align-items:flex-start;flex-direction:column;gap:8px}.login{grid-template-columns:1fr}.login-art{display:none}.login-copy{margin:50px 0 22px}}.danger{border:1px solid #a33;background:#fff;color:#8b1f1f;border-radius:8px;padding:.7rem 1rem;font-weight:700;cursor:pointer}.danger:hover{background:#fff2f2}.danger:disabled{opacity:.5;cursor:not-allowed}.detail-actions{display:flex;gap:.6rem;align-items:center}.test-data-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:1rem;gap:1rem}.test-data-grid .form-card{display:flex;flex-direction:column;align-items:flex-start}.test-data-grid .form-card p{flex:1 1;color:var(--muted,#6b625d)}.test-delete-strip{display:flex;align-items:flex-end;gap:.75rem;padding:1rem;border:1px solid #ead9d0;border-radius:12px;background:#fff8f4;margin-bottom:1rem}.test-delete-strip .field{flex:1 1}.app-shell nav a,.product-list>a{text-decoration:none;font:inherit}.record-details{display:grid;grid-gap:12px;gap:12px}.record-details h2,.record-details h3,.record-details p{margin:0}.record-details ul{margin:8px 0;padding-left:22px}.record-details li{margin:6px 0}.record-details a{color:var(--rose-dark)}.build2-section{margin-top:32px;border-top:1px solid var(--line);padding-top:28px}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.recipe-block h3,.section-heading h2{margin:5px 0 4px}.recipe-block p,.section-heading p{margin:0;color:var(--muted)}.version-line{display:flex;align-items:center;gap:10px;margin-top:10px}.recipe-status{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eee8df;color:#6c5b49;font-size:11px;font-weight:800;letter-spacing:.05em}.recipe-status.closed,.recipe-status.published{background:#e1f1e8;color:#226446}.recipe-status.draft,.recipe-status.in_progress{background:#fff0cd;color:#805e11}.recipe-status.submitted{background:#e5ebf8;color:#304d82}.recipe-block{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin:14px 0}.row-list{margin-top:18px;display:grid;grid-gap:12px;gap:12px}.row-list-item{border-top:1px solid #eee7de;padding-top:12px}.row-list-item:first-child{border-top:0;padding-top:0}.row-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.row-actions button{border:0;background:#f5f1eb;border-radius:8px;padding:7px 10px}.add-row{justify-self:start}.recipe-line,.shelf-card{display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:10px;gap:10px}.component-card>select,.recipe-line input,.recipe-line select,.shelf-card input,.shelf-card select,.step-card input,.step-card textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff;color:var(--ink)}.component-card{display:grid;grid-template-columns:180px 1fr;grid-gap:12px;gap:12px}.component-card .recipe-line{grid-column:1/-1}.step-card{display:grid;grid-template-columns:34px 1fr;grid-gap:12px;gap:12px}.step-card>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--cocoa);color:#fff}.step-card textarea{min-height:84px;margin:8px 0;resize:vertical}.publish-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:16px;background:#2c211b;color:#fff;padding:18px 20px;margin:18px 0}.publish-bar div{display:grid;grid-gap:4px;gap:4px}.publish-bar small,.publish-bar span{color:#dbcfc3}.version-history{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.version-history span{background:#f4efe8;border-radius:9px;padding:8px 12px}.stock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin:16px 0}.stock-summary>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;justify-content:space-between;align-items:center}.stock-summary b{font-size:28px}.balance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));grid-gap:12px;gap:12px}.balance-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;grid-gap:14px;gap:14px}.balance-grid h3{margin:5px 0}.balance-grid>article>b{font-size:24px;color:#2e684d}.balance-grid>article>b.negative{color:#a13c35}.inventory-row{width:100%;display:grid;grid-template-columns:1fr auto auto;align-items:center;text-align:left;border:0;background:#fff;padding:16px}.count-progress{background:#f1ebe3;border-radius:12px;padding:12px 16px;margin-bottom:12px;font-weight:700}.count-list{display:grid;grid-gap:8px;gap:8px}.count-list article{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.count-list article>div:first-child{display:grid;grid-gap:3px;gap:3px}.count-input{display:flex;align-items:center;gap:6px}.count-input input{width:110px;border:1px solid var(--line);border-radius:9px;padding:10px;text-align:right;font-size:16px}.count-input button{border:0;border-radius:9px;background:var(--cocoa);color:#fff;padding:10px}.movement-preview{display:flex;align-items:center;gap:12px;background:#f4efe8;border-radius:12px;padding:14px;margin-bottom:16px}.movement-list{display:grid;grid-gap:8px;gap:8px}.movement-list article{display:grid;grid-template-columns:150px 1fr auto auto;align-items:center;grid-gap:14px;gap:14px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}.movement-type{font-size:11px;font-weight:800;color:#745d48}.movement-list article>div{display:grid}.movement-list time{font-size:12px;color:var(--muted)}.subheading{font-size:20px;margin:28px 0 12px}@media(max-width:720px){.publish-bar,.section-heading{align-items:stretch;flex-direction:column}.component-card,.recipe-line,.shelf-card{grid-template-columns:1fr}.component-card .recipe-line{grid-column:auto}.stock-summary{grid-template-columns:1fr}.count-list article{align-items:stretch;flex-direction:column}.count-input input{flex:1 1;width:auto}.movement-list article{grid-template-columns:1fr auto}.movement-list article>div,.movement-type{grid-column:1}.movement-list time{grid-column:1/-1}.movement-preview{align-items:flex-start;flex-direction:column}}.stock-toolbar{display:grid;grid-template-columns:220px minmax(260px,1fr) 220px;grid-gap:14px;gap:14px;align-items:end;margin:18px 0}.stock-toolbar .search{width:100%}.operational-stock{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.stock-head,.stock-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(120px,.8fr) minmax(160px,1fr) minmax(150px,1fr);grid-gap:16px;gap:16px;align-items:center;padding:14px 18px}.stock-head{background:#f3eee8;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.stock-row{border-top:1px solid var(--line)}.stock-item{display:grid}.stock-item small{color:var(--muted)}.stock-row label{display:flex;align-items:center;gap:7px}.stock-row input{width:110px;border:1px solid #dcd2ca;border-radius:10px;padding:10px;text-align:right;font-size:16px}.negative{color:#a13c35}.count-confirm{position:-webkit-sticky;position:sticky;bottom:12px;align-items:center;gap:20px;background:#2c211b;color:#fff;border-radius:15px;padding:16px 18px;margin-top:16px;box-shadow:var(--shadow)}.balance-grid>div,.count-confirm{display:flex;justify-content:space-between}.balance-grid>div{border-top:1px solid var(--line);padding:10px 0}@media(max-width:720px){.stock-toolbar{grid-template-columns:1fr}.stock-head{display:none}.stock-row{grid-template-columns:1fr 1fr;padding:16px}.stock-item{grid-column:1/-1}.stock-row>div:not(.stock-item),.stock-row>label{display:grid;grid-gap:4px;gap:4px}.stock-row>div:not(.stock-item):before,.stock-row>label:before{content:attr(data-label);font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.stock-row label{grid-column:1/-1;grid-template-columns:1fr auto}.stock-row label:before{grid-column:1/-1}.stock-row input{width:100%}.count-confirm{align-items:stretch;flex-direction:column}.count-confirm .primary{width:100%}}.purchase-lines{display:grid;grid-gap:12px;gap:12px;margin:18px 0}.request-line{display:grid;grid-template-columns:minmax(240px,2fr) minmax(110px,1fr) minmax(150px,1fr) auto;grid-gap:12px;gap:12px;align-items:end}.remove-line{border:0;background:transparent;color:#9b3b32;padding:10px 4px;cursor:pointer}.remove-line:disabled{opacity:.35}.purchase-card{display:grid;grid-template-columns:1fr auto auto;grid-gap:12px;gap:12px;align-items:center;padding:16px}.purchase-card small:last-child{grid-column:1/-1}.modal-backdrop{position:fixed;inset:0;z-index:80;background:rgba(35,25,20,.5);display:grid;place-items:center;padding:20px}.purchase-modal{width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 80px rgba(0,0,0,.24)}.purchase-modal.wide{width:min(1040px,100%)}.modal-heading{position:-webkit-sticky;position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 16px;background:#fff;border-bottom:1px solid var(--line,#e8e1db)}.modal-heading h2{margin:4px 0 0}.modal-form{padding:22px 24px 0}.modal-actions{position:-webkit-sticky;position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin:24px -24px 0;padding:16px 24px;background:#fff;border-top:1px solid var(--line,#e8e1db)}.list-title,.section-title{margin:20px 0 12px}.section-title:first-child{margin-top:0}.purchase-table,.receipt-table{display:grid;border:1px solid var(--line,#e8e1db);border-radius:14px;overflow:hidden}.purchase-table-head,.purchase-table-row{display:grid;grid-template-columns:minmax(210px,2fr) minmax(130px,1fr) minmax(120px,1fr) minmax(130px,1fr) auto;grid-gap:14px;gap:14px;align-items:center;padding:12px 14px}.purchase-table-head,.receipt-head{background:#f8f5f2;color:#6c625d;font-size:.8rem;font-weight:700;text-transform:uppercase}.purchase-table-row+.purchase-table-row,.receipt-row+.receipt-row{border-top:1px solid var(--line,#e8e1db)}.purchase-item{display:grid;grid-gap:8px;gap:8px}.price-reference span,.purchase-item small{color:#766d67;font-size:.78rem}.price-reference{display:grid;grid-gap:5px;gap:5px}.compact-field>span{display:none}.with-unit{display:flex;align-items:center;gap:8px}.with-unit small{white-space:nowrap}.add-line{margin-top:12px}.purchase-total{display:flex;justify-content:flex-end;align-items:baseline;gap:18px;padding:18px 4px}.purchase-total strong{font-size:1.45rem}.receive-choice{max-width:320px;margin-left:auto}.pending-list,.purchase-list{display:grid;background:#fff;border:1px solid var(--line,#e8e1db);border-radius:16px;overflow:hidden}.purchase-list article,.purchase-list-head{display:grid;grid-template-columns:120px 90px 1fr 160px 130px;grid-gap:14px;gap:14px;align-items:center;padding:13px 16px}.pending-list article,.pending-list-head{display:grid;grid-template-columns:120px 1fr 190px auto;grid-gap:14px;gap:14px;align-items:center;padding:13px 16px}.pending-list-head,.purchase-list-head{background:#f8f5f2;color:#6c625d;font-size:.8rem;font-weight:700;text-transform:uppercase}.pending-list article+article,.purchase-list article+article{border-top:1px solid var(--line,#e8e1db)}.pending-list article div{display:grid;grid-gap:3px;gap:3px}.pending-list small{color:#766d67}.receipt-head,.receipt-row{display:grid;grid-template-columns:2fr repeat(4,1fr);grid-gap:14px;gap:14px;align-items:center;padding:12px 14px}.receipt-row .field>span{display:none}.receiving-list{display:grid;grid-gap:16px;gap:16px}.receiving-list>details{background:#fff;border:1px solid var(--line,#e8e1db);border-radius:16px;padding:18px}.receive-line{display:flex;justify-content:space-between;gap:18px;align-items:center;border-top:1px solid #eee;padding:12px 0}.sales-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:14px;gap:14px;margin:18px 0}.sales-summary article{display:grid;grid-gap:8px;gap:8px;background:#fff;border:1px solid #eee;border-radius:16px;padding:18px}.sales-summary strong{font-size:1.5rem}.receiving-list summary{display:grid;grid-template-columns:1fr auto;grid-gap:6px;gap:6px;cursor:pointer}.receiving-list summary small{grid-column:1/-1}@media(max-width:720px){.modal-backdrop{padding:0;align-items:end}.purchase-modal,.purchase-modal.wide{width:100%;max-height:94vh;border-radius:20px 20px 0 0}.modal-actions,.modal-form,.modal-heading{padding-left:16px;padding-right:16px}.modal-actions{margin-left:-16px;margin-right:-16px}.request-line{grid-template-columns:1fr}.purchase-card{grid-template-columns:1fr auto}.purchase-card a{grid-column:1/-1;text-align:center}.pending-list-head,.purchase-list-head,.purchase-table-head,.receipt-head{display:none}.purchase-table,.receipt-table{border:0;gap:12px;overflow:visible}.purchase-table-row{grid-template-columns:1fr 1fr;border:1px solid var(--line,#e8e1db)!important;border-radius:14px}.purchase-item,.purchase-table-row .remove-line{grid-column:1/-1}.receipt-row{grid-template-columns:1fr 1fr;border:1px solid var(--line,#e8e1db)!important;border-radius:14px}.receipt-row b{grid-column:1/-1}.receipt-row span:before{display:block;color:#766d67;font-size:.75rem}.receipt-row span:nth-child(2):before{content:"Pedido"}.receipt-row span:nth-child(3):before{content:"Já recebido"}.receipt-row span:nth-child(5):before{content:"Unidade"}.receipt-row .field>span{display:block}.pending-list,.purchase-list{border:0;background:transparent;gap:10px}.pending-list article,.purchase-list article{grid-template-columns:1fr auto;border:1px solid var(--line,#e8e1db)!important;border-radius:14px;background:#fff}.pending-list article div,.purchase-list article span:nth-child(3){grid-column:1/-1}.pending-list article button{grid-column:1/-1;width:100%}.receive-line{align-items:stretch;flex-direction:column}.sales-summary{grid-template-columns:1fr}.stock-toolbar{align-items:stretch}.stock-toolbar .primary{width:100%}}.inline-create{border:0;background:transparent;color:var(--rose-dark);font-size:.82rem;font-weight:750;text-align:left;padding:0;align-self:end;margin-top:-10px}.purchase-table-head,.purchase-table-row{grid-template-columns:minmax(190px,1.8fr) minmax(150px,1.25fr) minmax(105px,.75fr) minmax(115px,.85fr) minmax(150px,1.15fr) 64px;gap:16px}.purchase-table-row{align-items:start}.purchase-table-row>.field,.purchase-table-row>.price-reference,.purchase-table-row>.remove-line{margin-top:0}.presentation-field,.price-reference,.purchase-item{min-width:0}.presentation-field b,.price-reference b,.purchase-item b{overflow-wrap:anywhere}.presentation-field small,.purchase-item small{display:block;margin-top:4px;color:#766d67;font-size:.75rem;line-height:1.3}.presentation-field>span{display:none}.purchase-table-row input,.purchase-table-row select{width:100%;min-width:0}.purchase-price-field{display:grid;grid-gap:6px;gap:6px}.purchase-price-field small{color:#766d67;font-size:.72rem;line-height:1.3}.receipt-unit{display:grid;grid-gap:3px;gap:3px}.receipt-unit small{color:#766d67;font-size:.75rem}@media(max-width:720px){.purchase-table-row{grid-template-columns:1fr;padding:16px;gap:14px}.purchase-table-row>*{grid-column:1!important}.purchase-table-row .compact-field>span,.purchase-table-row .presentation-field>span,.purchase-table-row .price-reference span{display:block}.purchase-table-row .remove-line{justify-self:start}.receipt-unit{align-self:end}}.import-status{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;background:#eee;color:#5f5752;font-size:.75rem;font-weight:700}.import-status.completed,.import-status.new{background:#def4e7;color:#27603e}.import-status.changed,.import-status.partial,.import-status.pending{background:#fff0ce;color:#7a5410}.import-status.error{background:#f9dfdc;color:#8b3028}.nested-modal{z-index:70;background:rgba(33,27,24,.62)}.text-action{justify-self:start;border:0;background:transparent;color:#8b4c34;font-weight:700;cursor:pointer;padding:2px 0}.text-action:hover{text-decoration:underline}.account-row{display:grid;grid-template-columns:1fr auto auto;grid-gap:1rem;gap:1rem;align-items:center;padding:1rem;border-bottom:1px solid #eadfd7;background:#fff}.account-row small{display:block;color:#76665c;margin-top:.25rem}.account-totalizer{background:#f8f2ed}.account-totalizer b{font-weight:800}.account-calculated{background:#f2e5e8;border-left:4px solid #b9475a}.account-calculated b{font-weight:850}.formula-term{display:grid;grid-template-columns:1fr 160px auto;grid-gap:.75rem;gap:.75rem;align-items:flex-end;margin:.75rem 0}.formula-editor{margin-top:1rem}.cmv-card{display:flex;gap:1rem;align-items:flex-end;justify-content:space-between;padding:1.25rem;margin-bottom:1rem;background:#fff8f1;border:1px solid #ead8c7;border-radius:18px}.cmv-card h2{margin:.35rem 0}.cmv-card small{color:#76665c}.cmv-pendencies{display:grid;grid-gap:.6rem;gap:.6rem;margin:1rem 0}.cmv-pendencies article{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;background:#fff6e8;border:1px solid #efd3aa;border-radius:12px;color:#70420d}.cmv-status{display:inline-block;margin-top:.75rem;padding:.35rem .7rem;border-radius:999px;font-size:.8rem;font-weight:800}.cmv-status.closed{background:#e5f3eb;color:#24633d}.cmv-status.open{background:#fff0d9;color:#8b5415}.cmv-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:.75rem;gap:.75rem;margin:1rem 0}.cmv-summary-grid article{display:grid;grid-gap:.35rem;gap:.35rem;padding:1rem;background:#fff;border:1px solid #eadfd7;border-radius:14px}.cmv-summary-grid article span{color:#76665c}.cmv-summary-grid article b{font-size:1.1rem}.cmv-summary-grid article.result{background:#4a2d22;color:#fff}.cmv-summary-grid article.result span{color:#eadfd7}.cmv-composition{margin-top:1rem;padding:1rem;background:#fff;border:1px solid #eadfd7;border-radius:16px}.cmv-composition-table{display:grid;grid-template-columns:minmax(220px,1fr) repeat(3,130px);grid-gap:.5rem;gap:.5rem;align-items:center}.cmv-composition-row>:not(:first-child),.cmv-composition-table>b:not(:first-child){text-align:right}.cmv-composition-row{display:contents}.cmv-composition-row>*{padding:.65rem 0;border-top:1px solid #eee}.entry-filters{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.entry-filters button{border:1px solid #d9cbc1;background:#fff;padding:.6rem 1rem;border-radius:999px;color:#604b40}.entry-filters button.active{background:#4a2d22;color:#fff;border-color:#4a2d22}.entry-list article span:first-child{display:grid;grid-gap:.2rem;gap:.2rem}.entry-list article small{color:#76665c}.entry-status{font-weight:700}.entry-status.pago{color:#24633d}.entry-status.pendente{color:#8b5415}.entry-status.vencido{color:#a12e2e}.budget-flow-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.budget-lines{display:grid;grid-gap:.5rem;gap:.5rem}.budget-line{display:grid;grid-template-columns:minmax(180px,1fr) 150px 120px 130px;grid-gap:.6rem;gap:.6rem;align-items:center;padding:.6rem;border-bottom:1px solid #eee}.dre-report-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:1.25rem}.dre-report-header p{margin:.35rem 0;color:#76665c}.dre-status-note{display:inline-block;color:#8b5415;background:#fff6e8;border:1px solid #efd3aa;border-radius:8px;padding:.35rem .6rem}.dre-report-actions{display:flex;align-items:flex-end;gap:.75rem}.dre-table{overflow-x:auto;background:#fff;border:1px solid #dfd3cb;border-radius:18px}.dre-head,.dre-row{display:grid;grid-template-columns:minmax(300px,2.5fr) repeat(6,minmax(86px,1fr));align-items:center}.dre-head{background:#4a2d22;color:#fff;padding:0 1rem;min-height:48px}.dre-head>:first-child{text-align:left}.dre-head>:not(:first-child),.dre-row>span{text-align:right}.dre-row{min-height:46px;padding:0 1rem;border-bottom:1px solid #eee}.dre-row:last-child{border-bottom:0}.dre-account-cell{display:flex;align-items:center;min-width:0;height:100%}.dre-account,.dre-toggle{border:0;background:transparent;text-align:left;color:inherit}.dre-toggle{flex:0 0 28px}.dre-toggle:disabled{cursor:default}.dre-account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dre-postable{background:#fff;color:#4d4039}.dre-postable .dre-account{font-weight:500}.dre-totalizer{background:#f5eee8;color:#3f3029;border-top:1px solid #dccbc0}.dre-totalizer .dre-account{font-weight:800;text-transform:uppercase;letter-spacing:.02em}.dre-calculated{background:#eadcdf;color:#3d252a;border-top:4px solid #fff;border-bottom:2px solid #cfaeb5;min-height:54px}.dre-calculated .dre-account,.dre-calculated>span{font-weight:850}.dre-calculated.result-positive>span:nth-of-type(3){color:#24633d}.dre-calculated.result-negative>span:nth-of-type(3){color:#a12e2e}.dre-row:hover{filter:brightness(.985)}.drill-summary{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:.5rem;gap:.5rem}.drill-summary p{padding:.75rem;background:#faf5f0;border-radius:10px}.drill-table{margin:1rem 1.5rem 1.5rem;border:1px solid #eadfd7;border-radius:14px;overflow:hidden}.drill-head,.drill-table article{display:grid;grid-template-columns:110px 150px minmax(220px,1fr) 120px;grid-gap:.75rem;gap:.75rem;align-items:center;padding:.75rem 1rem}.drill-head{background:#f6eee8;color:#604b40}.drill-table article+article{border-top:1px solid #eee}.drill-table article b:last-child{text-align:right}@media(max-width:1000px){.dre-head,.dre-row{grid-template-columns:minmax(260px,2fr) repeat(6,minmax(82px,1fr));min-width:820px}.cmv-summary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.budget-flow-actions,.cmv-card,.cmv-pendencies article,.dre-report-actions,.dre-report-header{align-items:stretch;flex-direction:column}.cmv-summary-grid{grid-template-columns:1fr 1fr}.account-row{grid-template-columns:1fr auto}.account-row>div:last-child{grid-column:1/-1}.budget-line,.drill-summary,.formula-term{grid-template-columns:1fr}.cmv-composition,.drill-table{overflow:auto}.cmv-composition-table,.drill-head,.drill-table article{min-width:680px}.dre-table{margin:0 -4px}.dre-head,.dre-row{min-width:790px}}.account-row:has(.account-toggle),.account-row:has(.account-toggle-placeholder){grid-template-columns:auto 1fr auto auto}.account-row:has(.drag-handle){grid-template-columns:auto auto 1fr auto auto}.account-toggle,.account-toggle-placeholder{width:28px;min-width:28px}.account-toggle{display:grid;place-items:center;height:28px;border:0;border-radius:8px;background:#eee7e1;color:#604b40;font-size:1.25rem;line-height:1}.account-toggle:hover{background:#e3d7cf}.drag-handle{color:#a3948b;font-size:1.35rem;line-height:1;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.account-branch.branch-dragging{opacity:.45}.account-row.dragging{opacity:1}.account-row.drag-target{box-shadow:inset 0 3px #b9475a;background:#fff7f8}.account-row[draggable=true]{transition:background .15s,box-shadow .15s}.account-branch{transition:opacity .15s}@media(max-width:800px){.account-row:has(.account-toggle),.account-row:has(.account-toggle-placeholder){grid-template-columns:auto 1fr auto}.account-row:has(.drag-handle){grid-template-columns:auto auto 1fr auto}.account-row:has(.drag-handle)>div:last-child{grid-column:3/-1}}.account-row.drag-target-before{box-shadow:inset 0 4px #b9475a}.account-row.drag-target-after{box-shadow:inset 0 -4px #b9475a}.account-row[draggable=true]{transition:background .12s,box-shadow .12s,transform .12s}.account-row[draggable=true]:active{cursor:-webkit-grabbing;cursor:grabbing}.account-actions{display:flex;align-items:center;justify-content:flex-end;gap:.4rem;flex-wrap:wrap}.account-actions .danger{padding:.55rem .75rem}.modal-action-spacer{flex:1 1}.dre-zero-filter{display:flex;align-items:center;gap:.55rem;align-self:flex-end;padding:.65rem .8rem;border:1px solid #dfd3cb;border-radius:10px;background:#fff;color:#604b40;font-size:.85rem;font-weight:700;white-space:nowrap}.dre-zero-filter input{width:17px;height:17px;accent-color:#b9475a}.entry-mode-picker{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 0 1rem}.entry-mode-picker button{border:1px solid #d9cbc1;background:#fff;padding:.65rem 1rem;border-radius:10px;color:#604b40;font-weight:750}.entry-mode-picker button.active{background:#4a2d22;color:#fff;border-color:#4a2d22}.entry-mode-picker small{flex-basis:100%;color:#76665c}@media(max-width:520px){.cmv-summary-grid{grid-template-columns:1fr}}.budget-workspace{display:grid;grid-gap:1.25rem;gap:1.25rem}.budget-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;padding:1.5rem 1.65rem;border-radius:20px;background:linear-gradient(135deg,#40271f,#6e3d32);color:#fff;box-shadow:0 16px 34px rgba(74,45,34,.16)}.budget-header h2{margin:.35rem 0;font-size:1.8rem}.budget-header p{margin:0;color:#eadfd7}.budget-header .eyebrow{color:#e8bbb1}.budget-back{display:block;margin:0 0 1rem;padding:0;border:0;background:transparent;color:#fff;font-weight:750}.budget-header-actions{display:flex;gap:.65rem;flex-wrap:wrap}.budget-header-actions .secondary{background:#fff}.budget-mode-tabs{display:inline-flex;width:max-content;padding:.3rem;border:1px solid #dfd3cb;border-radius:13px;background:#fff}.budget-mode-tabs button{padding:.7rem 1rem;border:0;border-radius:10px;background:transparent;color:#604b40;font-weight:750}.budget-mode-tabs button.active{background:#4a2d22;box-shadow:0 4px 12px rgba(74,45,34,.18)}.budget-scenario-card{display:grid;grid-template-columns:minmax(260px,1.3fr) minmax(240px,1fr) minmax(240px,1fr);grid-gap:1.25rem;gap:1.25rem;align-items:center;padding:1.35rem 1.5rem;border:1px solid #e4d4c9;border-radius:18px;background:#fff8f3}.budget-scenario-card h3{margin:.25rem 0}.budget-scenario-card p{margin:0;color:#76665c}.budget-hero-input{display:grid;grid-gap:.45rem;gap:.45rem;padding:1rem;border:1px solid #dfd3cb;border-radius:14px;background:#fff}.budget-hero-input span,.budget-required span{color:#76665c;font-size:.8rem;font-weight:750;text-transform:uppercase}.budget-hero-input input{width:100%;border:0;border-bottom:1px solid #eadfd7;border-radius:0;padding:.35rem 0;font-size:1.25rem;background:transparent}.budget-hero-input b{font-size:1.4rem}.budget-required{display:grid;grid-gap:.35rem;gap:.35rem;padding:1rem;border-radius:14px;background:#4a2d22;color:#fff}.budget-required small,.budget-required span{color:#eadfd7}.budget-required strong{font-size:1.55rem}.budget-required button{margin-top:.45rem}.budget-kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:.75rem;gap:.75rem}.budget-kpis article{display:grid;grid-gap:.35rem;gap:.35rem;padding:1.05rem 1.15rem;border:1px solid #e3d7cf;border-radius:15px;background:#fff}.budget-kpis span{color:#76665c;font-size:.82rem;font-weight:700}.budget-kpis strong{font-size:1.35rem}.budget-kpis small{color:#8a7b72}.budget-kpis article.positive{border-color:#bad9c5;background:#f3fbf6}.budget-kpis article.positive strong,.positive-text{color:#24633d}.budget-kpis article.negative{border-color:#e3b8b8;background:#fff5f5}.budget-kpis article.negative strong,.negative-text{color:#a12e2e}.budget-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.75fr);grid-gap:1rem;gap:1rem;align-items:start}.budget-editor,.budget-insights>section{border:1px solid #dfd3cb;border-radius:18px;background:#fff;overflow:hidden}.budget-editor>header{display:flex;align-items:center;justify-content:space-between;padding:1.15rem 1.25rem}.budget-editor>header h3{margin:.25rem 0 0}.budget-editor>header>span{color:#76665c;font-size:.85rem}.budget-editor-head,.budget-editor-row{display:grid;grid-template-columns:minmax(190px,1.5fr) 125px 125px 130px 85px;grid-gap:.65rem;gap:.65rem;align-items:center;padding:.7rem 1rem}.budget-editor-head{background:#f5eee8;color:#76665c;font-size:.75rem;font-weight:800;text-transform:uppercase}.budget-editor-row{min-height:62px;border-top:1px solid #eee}.budget-editor-row input,.budget-editor-row select{width:100%;min-width:0}.budget-editor-row strong,.budget-editor-row>span{text-align:right}.budget-editor-row>span{color:#76665c;font-size:.85rem}.budget-insights{display:grid;grid-gap:1rem;gap:1rem;position:-webkit-sticky;position:sticky;top:1rem}.budget-insights>section{padding:1.15rem}.budget-insights h3{margin:.3rem 0 1rem}.budget-insight-list{display:grid;grid-gap:.7rem;gap:.7rem}.budget-insight-list article{display:grid;grid-template-columns:1fr auto;grid-gap:.2rem .75rem;gap:.2rem .75rem;padding:.8rem;border-radius:12px;background:#faf5f0}.budget-insight-list article small{grid-column:1/-1;color:#76665c}.budget-impact{display:grid;grid-template-columns:1fr auto;grid-gap:.45rem;gap:.45rem;margin:.8rem 0}.budget-impact i{grid-column:1/-1;height:5px;border-radius:99px;background:#b9475a}.budget-version{display:grid;grid-gap:.35rem;gap:.35rem;background:#f7eff1!important}.budget-version>b{font-size:1.35rem}.budget-version small{color:#76665c}@media(max-width:1100px){.budget-layout{grid-template-columns:1fr}.budget-insights{position:static;grid-template-columns:repeat(3,1fr)}.budget-scenario-card{grid-template-columns:1fr 1fr}.budget-scenario-card>div:first-child{grid-column:1/-1}}@media(max-width:800px){.budget-header{align-items:stretch;flex-direction:column}.budget-header-actions>*{flex:1 1}.budget-mode-tabs{display:grid;width:100%;grid-template-columns:1fr 1fr}.budget-insights,.budget-kpis,.budget-scenario-card{grid-template-columns:1fr}.budget-editor{overflow-x:auto}.budget-editor-head,.budget-editor-row{min-width:720px}}@media(max-width:520px){.budget-mode-tabs{grid-template-columns:1fr}.budget-header-actions{display:grid}.budget-kpis{grid-template-columns:1fr}}.budget-editor>header small{display:block;margin-top:.25rem;color:#8a7b72}.budget-order-badge{padding:.45rem .7rem;border-radius:999px;background:#f4ece6;color:#604b40!important;font-weight:750}.budget-editor-head,.budget-editor-row{grid-template-columns:minmax(230px,1.45fr) 172px 130px 125px 75px}.budget-group-title{display:flex;align-items:stretch;gap:.8rem;padding:1rem 1rem .65rem;background:#faf7f4;border-top:1px solid #e5d9d1}.budget-group-title i{width:5px;border-radius:99px;background:#a96753}.budget-group-title div{display:grid;grid-gap:.1rem;gap:.1rem}.budget-group-title span{color:#9a6a5a;font-size:.68rem;font-weight:850;letter-spacing:.12em}.budget-group-title b{font-size:1.02rem;color:#49352d}.budget-account-identity{display:grid;grid-template-columns:34px 1fr;grid-gap:.7rem;gap:.7rem;align-items:center;min-width:0}.budget-account-identity>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f2e8e2;color:#8d5847;font-size:.72rem;font-weight:850}.budget-account-identity>div{display:grid;grid-gap:.18rem;gap:.18rem;min-width:0}.budget-account-identity b{font-size:.95rem;color:#3f3029}.budget-account-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#927e72;font-size:.72rem}.budget-type-toggle{display:grid;grid-template-columns:1fr 1fr;padding:3px;border:1px solid #ded1c8;border-radius:11px;background:#f4efeb}.budget-type-toggle button{min-height:34px;padding:.35rem .45rem;border:0;border-radius:8px;background:transparent;color:#77655c;font-size:.73rem;font-weight:800;white-space:nowrap}.budget-type-toggle button.active{background:#fff;color:#4a2d22;box-shadow:0 2px 8px rgba(74,45,34,.14)}.budget-value-input{display:grid;grid-template-columns:auto 1fr;align-items:center;overflow:hidden;border:1px solid #ded1c8;border-radius:10px;background:#fff}.budget-value-input:focus-within{border-color:#a96753;box-shadow:0 0 0 3px rgba(169,103,83,.12)}.budget-value-input span{padding-left:.65rem;color:#9a6a5a;font-size:.78rem;font-weight:800}.budget-value-input input{min-width:0;padding:.65rem .55rem;border:0!important;outline:0;background:transparent}.budget-editor-row{position:relative;border-left:5px solid #a96753;background:linear-gradient(90deg,#fffaf7,#fff 34%);transition:background .15s,transform .15s}.budget-editor-row:hover{z-index:1;background:#fff8f3;box-shadow:0 5px 18px rgba(74,45,34,.08)}.budget-editor-row.group-1,.budget-group-title.group-1 i{border-left-color:#b57a36;background-color:#b57a36}.budget-editor-row.group-2,.budget-group-title.group-2 i{border-left-color:#557d71;background-color:#557d71}.budget-editor-row.group-3,.budget-group-title.group-3 i{border-left-color:#765d8c;background-color:#765d8c}.budget-editor-row.group-4,.budget-group-title.group-4 i{border-left-color:#a34f5f;background-color:#a34f5f}.budget-editor-row.group-1,.budget-editor-row.group-2,.budget-editor-row.group-3,.budget-editor-row.group-4{background-color:#fff;background-image:linear-gradient(90deg,rgba(249,243,238,.7),#fff 34%)}@media(max-width:800px){.budget-editor-head,.budget-editor-row{min-width:790px}}.budget-header{padding:1.65rem 1.8rem;border-radius:24px;background:radial-gradient(circle at 88% 12%,rgba(218,143,118,.32),transparent 32%),linear-gradient(135deg,#36221d,#713f34);box-shadow:0 18px 40px rgba(74,45,34,.18)}.budget-header h2{font-size:clamp(1.55rem,3vw,2rem);line-height:1.08}.budget-mode-tabs{display:grid;width:100%;grid-template-columns:1fr 1fr;grid-gap:.65rem;gap:.65rem;padding:.55rem;border-radius:20px;background:rgba(255,255,255,.84);box-shadow:0 8px 24px rgba(74,45,34,.07);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.budget-mode-tabs button{display:grid;grid-template-columns:40px 1fr;grid-gap:.75rem;gap:.75rem;align-items:center;padding:.85rem 1rem;border:1px solid transparent;border-radius:15px;text-align:left}.budget-mode-tabs button i{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1e7e1;color:#98604f;font-style:normal;font-size:.72rem;font-weight:900}.budget-mode-tabs button span{display:grid;grid-gap:.15rem;gap:.15rem}.budget-mode-tabs button b{font-size:.9rem}.budget-mode-tabs button small{color:#8a776c;font-size:.72rem;font-weight:600}.budget-mode-tabs button.active{border-color:#4a2d22;background:linear-gradient(135deg,#4a2d22,#754235);color:#fff;box-shadow:0 8px 20px rgba(74,45,34,.2)}.budget-mode-tabs button.active i{background:rgba(255,255,255,.14);color:#fff}.budget-mode-tabs button.active small{color:#eadfd7}.budget-scenario-card{position:relative;overflow:hidden;padding:1.5rem;border-radius:22px;background:linear-gradient(135deg,#fffaf6,#f8eee8);box-shadow:0 10px 28px rgba(74,45,34,.06)}.budget-scenario-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#b9475a}.mode-inverse .budget-scenario-card:before{background:#557d71}.budget-kpis article{position:relative;overflow:hidden;border-radius:18px;box-shadow:0 6px 18px rgba(74,45,34,.05)}.budget-kpis article:after{content:"";position:absolute;right:-18px;bottom:-26px;width:74px;height:74px;border-radius:50%;background:rgba(185,71,90,.06)}.budget-editor,.budget-insights>section{border-radius:22px;box-shadow:0 8px 26px rgba(74,45,34,.06)}.budget-editor>header{padding:1.35rem 1.4rem;background:linear-gradient(180deg,#fff,#fffaf7)}.budget-editor-head{padding:.8rem 1rem;background:#49352d;color:#f4e8e1;letter-spacing:.05em}.budget-insight-list article{border:1px solid #eee0d7;background:linear-gradient(135deg,#fffaf7,#f7eee8)}.budget-version{border-color:#dec2c9!important;background:linear-gradient(135deg,#fbf2f4,#f4e5e8)!important}@media(max-width:800px){.budget-header{padding:1.35rem;border-radius:20px}.budget-header-actions{display:grid;grid-template-columns:1fr}.budget-mode-tabs{grid-template-columns:1fr;padding:.4rem;border-radius:17px}.budget-mode-tabs button{padding:.75rem}.budget-scenario-card{padding:1.2rem}.budget-editor{overflow:visible;border:0;background:transparent;box-shadow:none}.budget-editor>header{border:1px solid #dfd3cb;border-radius:18px;margin-bottom:.7rem}.budget-editor-head{display:none}.budget-group-title{margin-top:.75rem;border:1px solid #e5d9d1;border-radius:16px 16px 0 0}.budget-editor-row{min-width:0;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.55rem;padding:1rem;border:1px solid #e5d9d1;border-left:5px solid #a96753;border-radius:16px;box-shadow:0 6px 18px rgba(74,45,34,.05)}.budget-group-title+.budget-editor-row{border-radius:0 0 16px 16px}.budget-account-identity{grid-column:1/-1}.budget-type-toggle,.budget-value-input{width:100%}.budget-editor-row>span,.budget-editor-row>strong{display:grid;grid-gap:.18rem;gap:.18rem;text-align:left;padding:.55rem .65rem;border-radius:10px;background:#f8f2ee}.budget-editor-row>strong:before{content:"Impacto"}.budget-editor-row>span:before{content:"% da receita"}.budget-editor-row>span:before,.budget-editor-row>strong:before{color:#927e72;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}}@media(max-width:420px){.budget-editor-row{grid-template-columns:1fr}.budget-account-identity,.budget-editor-row>span,.budget-editor-row>strong{grid-column:1}.budget-kpis article{padding:1rem}}.dre-totalizer.dre-depth-0{min-height:54px;background:#e9ddd4;border-top:3px solid #b99b88;color:#35251f}.dre-totalizer.dre-depth-0 .dre-account{font-size:.96rem;font-weight:900;letter-spacing:.045em}.dre-totalizer.dre-depth-0>span{font-size:.95rem;font-weight:850}.dre-totalizer.dre-depth-1{min-height:49px;background:#f5eee8;border-top:1px solid #dccbc0;color:#4d3c34}.dre-totalizer.dre-depth-1 .dre-account{font-size:.88rem;font-weight:760;letter-spacing:.025em}.dre-totalizer.dre-depth-1>span{font-size:.88rem;font-weight:720}.formula-term-actions{display:flex;gap:.4rem;align-items:center;padding-bottom:.15rem}.formula-term-actions .secondary{min-width:42px}.dre-totalizer.result-positive{background:#e8f4ec;color:#264d35;border-color:#bddbc7}.dre-totalizer.result-negative{background:#fae9e9;color:#6f2929;border-color:#e7bcbc}.dre-totalizer.result-neutral{background:#f5eee8;color:#3f3029}.dre-calculated,.dre-calculated.result-negative,.dre-calculated.result-neutral,.dre-calculated.result-positive{background:#e7effb;color:#253d62;border-bottom-color:#b7c9e5}.dre-calculated.result-negative>span:nth-of-type(3),.dre-calculated.result-positive>span:nth-of-type(3){color:inherit}.dre-table{max-height:calc(100vh - 150px);overflow:auto}.dre-head{position:-webkit-sticky;position:sticky;top:0;z-index:5;box-shadow:0 2px 8px rgba(42,25,18,.18)}@media(max-width:720px){.formula-term{grid-template-columns:1fr}.formula-term-actions{justify-content:flex-end}.dre-head,.dre-row{grid-template-columns:minmax(220px,2.2fr) repeat(6,minmax(82px,1fr))}}.dependency-modal{max-width:760px}.dependency-groups{display:grid;grid-gap:.75rem;gap:.75rem;max-height:42vh;overflow:auto}.dependency-groups article{border:1px solid #ead9d0;border-radius:12px;overflow:hidden}.dependency-groups article header{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 1rem;background:#faf4ef}.dependency-groups article header span{color:#755f53;font-size:.8rem}.dependency-groups ul{list-style:none;margin:0;padding:0}.dependency-groups li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;border-top:1px solid #eee}.danger-callout{padding:1rem;border:1px solid #d79b9b;background:#fff2f2;border-radius:12px;color:#742626}.danger-callout p{margin:.35rem 0 0}.reset-impact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.5rem;gap:.5rem;margin:0;padding-left:1.25rem}.system-reset-card{border-color:#d79b9b!important;background:#fff8f8!important}@media(max-width:640px){.reset-impact{grid-template-columns:1fr}.dependency-groups article header,.dependency-groups li{align-items:flex-start;flex-direction:column}}.module-delete-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #ead6d6;border-radius:14px;background:#fff8f8}.module-delete-toolbar>div:first-child{display:grid;grid-gap:.15rem;gap:.15rem}.module-delete-toolbar>div:first-child small{color:#76665c}.module-delete-toolbar>div:last-child{display:flex;gap:.55rem}.selected-delete-record{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:1rem;border:1px solid #eadfd7;border-radius:12px;background:#faf7f4}.selected-delete-record>div{display:grid;grid-gap:.2rem;gap:.2rem}.selected-delete-record small{color:#76665c}.dependency-tree{display:grid;grid-gap:.65rem;gap:.65rem;margin:.8rem 0}.dependency-tree-group{overflow:hidden;border:1px solid #eadfd7;border-radius:12px;background:#fff}.dependency-tree-group>header{display:flex;justify-content:space-between;gap:1rem;padding:.7rem .85rem;background:#f6eee8}.dependency-tree-group>header span{color:#76665c;font-size:.8rem}.dependency-tree-group>article{padding:.55rem .75rem;border-top:1px solid #eee}.dependency-tree-group>article>div{display:grid;grid-template-columns:auto 1fr auto;grid-gap:.55rem;gap:.55rem;align-items:center}.dependency-tree-group>article small{color:#927e72}.dependency-tree-group .dependency-tree{margin:.55rem 0 0 .7rem}.dependency-modal.wide{width:min(900px,100%)}@media(max-width:720px){.module-delete-toolbar{align-items:stretch;flex-direction:column}.module-delete-toolbar>div:last-child{display:grid;grid-template-columns:1fr 1fr}.selected-delete-record{align-items:stretch;flex-direction:column}}.sales-order-row{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:18px 22px;text-align:left;background:var(--surface,#fffdf9);color:inherit;border:1px solid #e8e0d8;border-radius:14px;margin:8px 0;cursor:pointer}.sales-order-row:focus-visible,.sales-order-row:hover{background:#fff5f4;border-color:#b84a60}.sales-order-row>span:first-child{flex:1 1;min-width:0}.sales-order-row small{display:block;font-weight:400;color:#786b64;margin-top:6px;overflow-wrap:anywhere}.sales-order-row b{overflow-wrap:anywhere}.import-day-list{max-height:65vh;overflow:auto}@media(max-width:640px){.sales-order-row{flex-wrap:wrap;padding:14px;gap:10px}.sales-order-row>span:first-child{flex-basis:100%}}.app-shell>aside{overflow-y:auto;overscroll-behavior:contain;min-height:0;background:var(--cocoa);scrollbar-width:thin;scrollbar-color:#8b7265 var(--cocoa)}.app-shell>aside>.brand-row,.app-shell>aside>.logout,.app-shell>aside>small{flex-shrink:0}.app-shell>aside>nav{flex:1 0 auto;align-content:start}.purchase-modal.wide{min-width:0;max-width:calc(100vw - 40px);scrollbar-gutter:stable}.purchase-table-head,.purchase-table-row,.purchase-table-row>*{min-width:0}.purchase-price-field>span{display:block}.purchase-modal .form-grid>.muted-text{grid-column:1/-1}.purchase-item .search-select input{width:0;min-width:0}.nested-modal .modal-form{display:grid;grid-gap:14px;gap:14px}.nested-modal{z-index:100}@media(max-width:720px){.purchase-modal.wide{max-width:100vw}.purchase-modal .form-grid{grid-template-columns:minmax(0,1fr)}}.report-table-scroll{overflow-x:auto;background:var(--paper);border:1px solid var(--line);border-radius:16px}.operational-report-table{width:100%;border-collapse:collapse;text-align:left}.operational-report-table td,.operational-report-table th{padding:14px;border-bottom:1px solid var(--line)}.operational-report-table th{background:var(--rose-soft)}.report-bar{height:5px;background:var(--rose);border-radius:4px;margin-top:8px}.preferred-suppliers{max-height:180px;overflow-y:auto;margin:12px 0;display:grid;grid-gap:8px;gap:8px}.preferred-suppliers .check-field{padding:8px;border:1px solid var(--line);border-radius:10px}.field textarea{font:inherit;border:1px solid var(--line);border-radius:12px;padding:12px;min-height:90px;resize:vertical;width:100%;box-sizing:border-box}@media(min-width:721px) and (max-width:1100px){.purchase-table-head{display:none}.purchase-table-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.purchase-table-row .purchase-item{grid-column:1/-1}.purchase-table-row .compact-field>span,.purchase-table-row .presentation-field>span{display:block}}@font-face{font-family:Inter;src:url(/fonts/InterVariable.woff2) format("woff2");font-weight:100 900;font-display:swap}.approved-shell{--pink:#ed5999;--ink:#25212a;--muted:#797884;--line:#e9e9ed;--cocoa:#382923;--green:#078454;--paper:#fff;--rose:#ed5999;--rose-dark:#a83e6c;--rose-soft:#fce3ef;--success:#078454;--shadow:0 2px 4px #22222202;display:block;background:#fafafb;color:var(--ink);font:14px Inter,Arial,sans-serif;min-height:100vh}.approved-shell *{box-sizing:border-box}.approved-shell a{color:inherit;text-decoration:none}.approved-shell :is(button,input,select,textarea){font-family:inherit}.approved-shell .approved-button,.approved-shell button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dddde4;border-radius:7px;padding:11px 16px;background:#fff;color:var(--ink);cursor:pointer;font-size:13px;font-weight:500}.approved-shell :is(button,a):focus-visible{outline:2px solid var(--pink);outline-offset:3px}.approved-shell button:disabled{cursor:default;opacity:.5}.approved-shell .primary{background:linear-gradient(105deg,#ef6aab,#ec508f);color:#fff;border-color:#e95698;box-shadow:0 2px 3px #d34d8920}.approved-shell>.approved-sidebar{position:fixed;inset:0 auto 0 0;width:204px;height:100dvh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 12px;z-index:30;overflow:visible;color:var(--ink)}.approved-brand{font-size:25px;padding:0 12px;letter-spacing:-1px;white-space:nowrap}.approved-brand b{font:700 29px Georgia,serif}.approved-brand-sub{color:var(--muted);font-size:11px;padding:7px 12px 30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approved-shell aside>.approved-brand-sub{margin:0;color:var(--muted)}.approved-shell .approved-sidebar nav a{color:inherit;background:transparent}.approved-sidebar nav{display:flex;flex-direction:column;gap:5px;margin:0;padding:0}.approved-nav-item{position:relative}.approved-nav-item>div:first-child,.approved-sidebar .approved-nav-item a{display:flex;border-radius:7px;height:44px;align-items:center}.approved-sidebar .approved-nav-item a{gap:13px;padding:12px;font-size:13px;font-weight:400;flex:1 1;white-space:nowrap}.approved-sidebar .approved-nav-item a:hover{background:#faf7f9}.approved-nav-item>div.selected{background:#fbe3ef;color:#d84789}.approved-sidebar .pdv-icon{width:19px;height:19px;flex-shrink:0}.approved-nav-item>div>button{border:0;background:transparent;padding:4px;width:22px;font-size:11px;color:var(--muted)}.approved-user{margin-top:auto;border-top:1px solid var(--line);padding:20px 10px 4px;display:flex;gap:10px;align-items:center}.approved-user>div{min-width:0}.approved-user b{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.approved-user button{display:block;border:0;font-size:11px;color:var(--muted);margin-top:4px;padding:0;background:transparent}.approved-avatar{background:linear-gradient(130deg,#b7b7b7,#d1d1d1);color:white;border-radius:50%;width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;font-size:11px}.approved-shell>.workspace{margin-left:204px;padding:0;min-width:0;min-height:100vh;position:relative}.approved-shell .approved-page-header{padding:28px 36px 23px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;min-height:142px}.approved-breadcrumb{font-size:11px;color:var(--muted);margin-bottom:13px}.approved-breadcrumb span{margin:0 9px;color:#c6c4ca}.approved-shell h1{font:650 27px/1.2 Inter,Arial,sans-serif;letter-spacing:-.8px;margin:0 0 9px}.approved-shell h2{font:600 15px Inter,Arial,sans-serif;letter-spacing:-.2px;margin:0}.approved-shell h3{font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:600}.approved-shell p{line-height:1.65}.approved-page-header p{margin:0;color:var(--muted);font-size:13px}.approved-content{padding:26px 36px;min-width:0}.approved-page-actions{position:absolute;top:59px;right:36px;display:flex;gap:12px}.approved-shell .toolbar{justify-content:flex-start}.approved-shell .toolbar>span{margin-left:auto}.approved-shell .toolbar>label{flex:1 1;max-width:310px}.approved-shell .toolbar>label select{width:100%}.approved-shell .module-delete-toolbar{margin-top:24px;background:white;border-color:var(--line)}.approved-shell :is(.approved-panel,.form-card,.entity-form,.entity-list,.detail-hero,.tag-report-table,.cash-table){background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;overflow:hidden;box-shadow:0 2px 4px #22222202}.approved-panel>header{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #efeff2}.approved-panel>header small{font-size:11px;color:var(--muted)}.approved-panel>.approved-text-link,.approved-panel>p{margin:20px 22px}.approved-panel>.approved-text-link{display:block}.approved-shell .approved-text-link{color:#a83e6c}.approved-text-link span{font-size:11px;margin-left:5px;color:#ae8c9b}.approved-table{overflow:auto}.approved-shell table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.approved-shell th{background:#fafafb;font-weight:500;font-size:11px;color:#777580;padding:13px 22px;border:0;text-transform:none;letter-spacing:normal}.approved-shell td{padding:18px 22px;border-top:1px solid #f0f0f3;font-size:13px;font-weight:400}.approved-shell :is(td,th):last-child{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.approved-shell tr:hover td{background:#fffcfd}.approved-shell td a{color:#a83e6c}.approved-shell .badge{display:inline-flex;align-items:center;white-space:nowrap;background:#f1f0f3;color:#72707c;font-size:11px;line-height:1.4;padding:5px 9px;border-radius:5px;font-weight:500}.approved-shell .badge.success{background:#e3f5eb;color:#078454}.approved-shell .badge i{display:none}.approved-shell :is(.cash-cards,.summary-grid,.tag-report-cards){display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));grid-gap:15px;gap:15px;margin:0 0 23px}.approved-shell :is(.cash-cards,.summary-grid,.tag-report-cards)>*{border:1px solid var(--line);border-radius:9px;padding:20px 22px;background:white;box-shadow:none}.approved-shell :is(.cash-cards,.summary-grid,.tag-report-cards) small{color:var(--muted);font-size:12px;font-weight:400}.approved-shell :is(.cash-cards,.summary-grid,.tag-report-cards) strong{display:block;font-size:26px;font-weight:600;letter-spacing:-.8px;margin:10px 0 6px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.approved-shell :is(.cash-cards,.summary-grid,.tag-report-cards) span{font-size:10px;color:#99949c}.approved-shell :is(.toolbar,.tag-report-filters,.stock-toolbar){display:flex;align-items:flex-end;gap:14px;margin:0 0 24px;flex-wrap:wrap}.approved-shell .toolbar .search{min-width:190px;max-width:310px;background:white;border:1px solid #dedee5;border-radius:6px}.approved-shell label{font-size:12px;font-weight:400;min-width:0}.approved-shell label>span{color:#74717a}.approved-shell :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]){border:1px solid #dedee5;border-radius:6px;background:white;padding:11px 12px;min-width:0;color:#46424d;font-size:13px;max-width:100%}.approved-shell .search input{border:0!important;background:transparent!important}.approved-shell .field{gap:8px}.approved-shell .search-select{border:1px solid #dedee5;border-radius:6px}.approved-shell .search-select input{border:0!important}.approved-shell .search-select button{border:0}.approved-shell .tabs{display:flex;border-bottom:1px solid var(--line);gap:30px;margin:0 0 23px;overflow:auto}.approved-shell .tabs button{padding:0 2px 14px;color:#85808a;font-size:13px;border:0;border-radius:0;background:transparent;white-space:nowrap}.approved-shell .tabs .active{color:#d74888;border-bottom:2px solid #e95c9b;font-weight:600;box-shadow:none}.approved-shell :is(.info-callout,.tag-report-note){background:#fff8ed;border:1px solid #f3e4ce;border-radius:8px;padding:16px 20px;margin:0 0 22px;line-height:1.75;font-size:12px;color:#896743}.approved-shell .form-grid{gap:22px}.approved-shell .form-heading h2{font:600 23px Inter,sans-serif}.approved-shell .detail-hero h2{font:650 27px Inter,sans-serif}.approved-shell .detail-grid{gap:22px}.approved-shell :is(.detail-grid article,.member-list article){border-radius:10px;border-color:var(--line)}.approved-shell :is(.form-actions,.modal-actions){display:flex;justify-content:flex-end;gap:12px;align-items:center;padding:16px 22px;border-top:1px solid var(--line)}.approved-shell .modal-backdrop{background:#22182655;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.approved-shell .purchase-modal{background:white;border-radius:12px;box-shadow:0 20px 70px #21172635;width:min(940px,90%);overflow:auto}.approved-shell .modal-heading{padding:25px;border-bottom:1px solid var(--line)}.approved-shell .modal-heading h2{font-size:23px;margin-top:8px}.approved-shell .tag-report-bar{height:5px;background:#f5e8ef;border-radius:3px}.approved-shell .tag-report-bar i{background:#ed5999}.approved-shell :is(.empty-state,.loading-state){border:1px solid var(--line);border-radius:10px;background:#fff}.approved-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:22px;gap:22px}.approved-wide-left{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.approved-panel>.approved-metrics{margin:0 22px 22px}.approved-panel>.approved-metrics strong{font-size:21px}.approved-shell .dre-head,.approved-shell .dre-row{grid-template-columns:minmax(240px,2fr) repeat(7,minmax(90px,1fr));min-width:1020px}.approved-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));grid-gap:15px;gap:15px;margin:0 0 23px}.approved-metrics>div{border:1px solid var(--line);border-radius:9px;padding:20px 22px;background:white}.approved-metrics small{color:var(--muted);font-size:12px}.approved-metrics strong{display:block;font-size:26px;font-weight:600;letter-spacing:-.8px;margin:10px 0 6px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.approved-metrics span{font-size:10px;color:#99949c}.approved-record-fields{margin:0;padding:5px 22px 20px;display:grid;grid-template-columns:1fr 1fr;grid-gap:23px;gap:23px}.approved-record-fields>div{padding:18px 0 0;display:block;border:0}.approved-record-fields dt{font-size:11px;color:var(--muted);margin-bottom:9px}.approved-record-fields dd{margin:0;font-size:13px;line-height:1.6;text-align:left;font-weight:400}.approved-related{display:flex;gap:24px;align-items:center;margin-bottom:21px;font-size:12px;color:var(--muted)}.approved-related .back{margin:0}.approved-panel-body{padding:23px}.approved-production-panels{display:flex;flex-direction:column}.approved-consumption{order:0}.approved-yield{order:1}.approved-consumption .form-stack{padding:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.approved-yield .approved-panel-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:22px;gap:22px}.approved-yield dl{grid-column:1/-1}.approved-shell .approved-row-link{padding:0;border:0;background:transparent;color:#a83e6c;font-weight:400;text-align:left}.approved-secondary-line{display:block;font-size:11px;color:var(--muted);margin-top:5px}.approved-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.approved-shell .sales-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:15px;gap:15px;margin:0 0 23px}.approved-shell .sales-summary article{border:1px solid var(--line);border-radius:9px;padding:20px 22px;background:white}.approved-shell .sales-summary small{font-size:12px;color:var(--muted)}.approved-shell .sales-summary strong{display:block;font-size:26px;font-weight:600;letter-spacing:-.8px;margin:10px 0 6px}.approved-shell tr.sales-order-row{display:table-row;border:0;background:transparent;box-shadow:none}.approved-shell .badge.reversed{background:#fde6ed;color:#c23658}.approved-product-actions{display:flex;align-items:center;gap:14px;margin-bottom:22px}.approved-product-actions .detail-actions{margin-left:auto}.approved-shell .approved-product .detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.approved-shell .approved-identification .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approved-product-tabs a{padding:0 2px 14px;color:#85808a;font-size:13px}.approved-product-tabs a:first-child{color:#d74888;border-bottom:2px solid #e95c9b}.approved-shell .dre-table{border:0;border-radius:0;overflow:auto;margin:0}.approved-shell .dre-head{background:#fafafb;color:#777580;font-size:11px}.approved-shell .dre-row{background:white;border-top:1px solid #f0f0f3;font-size:13px;min-height:55px}.approved-shell .dre-row>span{font-weight:400}.approved-shell .dre-account{padding:0;border:0;background:transparent;text-align:left;color:#a83e6c}.approved-shell .dre-toggle{padding:3px;border:0;background:transparent}.approved-shell .dre-report-header{background:transparent;border:0;padding:0;margin-bottom:24px;box-shadow:none}.approved-shell .dre-report>button{margin-bottom:20px}.approved-shell .drill-table{border:1px solid var(--line);border-radius:10px;background:white;overflow:auto}.approved-shell .drill-head{background:#fafafb;font-size:11px;font-weight:500}.approved-shell .drill-table article{padding:18px 22px;font-size:13px}.approved-shell .drill-summary{background:white;border:1px solid var(--line);border-radius:10px}.approved-shell .cash-filterbar{border:0;background:transparent;padding:0;margin-bottom:24px}.approved-shell .cash-filterbar label{max-width:310px;flex:1 1}.approved-shell .cash-workspace>.cash-table{margin-top:0}.approved-shell .cash-workspace .cash-cards article{border-color:var(--line);border-radius:9px}.approved-shell .cash-workspace .cash-cards strong{font-size:26px;font-weight:600}.approved-shell .cash-section-title{padding:19px 22px;background:white;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0}.approved-shell .cash-statement{border-radius:0 0 10px 10px;margin-top:0}.approved-shell .cash-backdrop{background:#22182655;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.approved-shell .cash-dialog{border-radius:12px;box-shadow:0 20px 70px #21172635}.approved-shell .tag-report-table{border:0;border-radius:0;margin:0}.approved-shell .tag-report-table .tag-report-link{padding:0;border:0;background:transparent;color:#a83e6c}.approved-shell .approved-cash-account .cash-dialog,.approved-shell .approved-cash-detail .cash-dialog{width:100%;max-height:none;background:white;border:1px solid var(--line);box-shadow:0 2px 4px #22222202;border-radius:10px;padding:22px}.approved-shell .cash-workspace:has(>.approved-cash-detail)>:not(.approved-cash-detail){display:none}.approved-shell .approved-cash-account .cash-fields,.approved-shell .approved-cash-detail .cash-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:22px}.approved-shell .history-planning .form-card{box-shadow:0 2px 4px #22222202}.approved-shell .history-table{border:1px solid var(--line);border-radius:8px}.approved-shell .history-table th{font-weight:500}.approved-shell .history-planning .detail-hero{border:0;background:transparent;padding:0}.approved-shell .history-planning .detail-hero h2{font-size:18px}.approved-shell .history-planning .publish-bar{background:white;border:1px solid var(--line);border-radius:10px;padding:16px 22px}.approved-purchases:has(>.approved-purchase-detail)>:not(.approved-purchase-detail):not(.modal-backdrop):not(.cash-backdrop):not(.cash-backdrop){display:none}.approved-shell button.back{padding:0;border:0;background:transparent;color:#a83e6c;font-weight:400;font-size:12px}.approved-shell .approved-product>.back{display:inline-flex;margin-right:24px}.approved-product .approved-product-actions{display:inline-flex}.approved-product .detail-actions{position:absolute;top:59px;right:36px}.approved-shell .approved-product-tabs a{color:#85808a;border-radius:0;background:transparent;font-weight:400;padding:0 2px 14px}.approved-shell .approved-product-tabs a:first-child{color:#d74888}.approved-product .detail-grid>.approved-identification{order:0}.approved-product .detail-grid>article:nth-child(2){order:1}.approved-product .detail-grid>.history{order:2}.approved-product .detail-grid>article:nth-child(3){order:3}.approved-product .detail-grid>article:nth-child(4){order:4}.approved-product .detail-grid>article:nth-child(5){order:5}.approved-product .detail-grid>article>h3:first-child{margin:0 -22px 22px;padding:0 22px 19px;border-bottom:1px solid var(--line)}.approved-shell .cash-workspace>.tabs{margin-bottom:23px}.approved-shell .cash-section-title h3{font-size:15px;font-weight:600;margin:0}.approved-shell .cash-table td,.approved-shell .cash-table th{padding:18px 22px}.approved-shell .cash-table th{padding:13px 22px;background:#fafafb;font-size:11px;font-weight:500}.approved-shell .cash-table td{font-size:13px}.approved-shell .cash-statement .cash-number{font-weight:400}.approved-shell .cash-detail{border:0;padding:0;background:transparent;color:#a83e6c}@media(max-width:600px){.approved-product .detail-actions{position:static}.approved-shell .approved-cash-account .cash-fields,.approved-shell .approved-cash-detail .cash-fields{grid-template-columns:1fr}.approved-page-actions{position:static;margin-bottom:22px}.approved-consumption .form-stack,.approved-shell .approved-identification .form-grid,.approved-shell .approved-product .detail-grid,.approved-yield .approved-panel-body{grid-template-columns:1fr}.approved-product-actions,.approved-product-actions .detail-actions{flex-wrap:wrap}.approved-record-fields,.approved-shell .sales-summary{grid-template-columns:1fr}.approved-shell .cash-filterbar{flex-wrap:wrap}}.approved-welcome{background:linear-gradient(105deg,#392b25,#574037);color:#fff;border-radius:12px;padding:38px;margin-bottom:25px;position:relative;overflow:hidden}.approved-welcome small{color:#d8b9aa;letter-spacing:1.5px;font-size:10px}.approved-shell .approved-welcome h2{font-size:34px;font-weight:550;line-height:1.3;letter-spacing:-1px;margin:20px 0}.approved-welcome p{font-size:13px;color:#e1cec4}.approved-welcome .approved-button{margin-top:16px}.approved-welcome-mark{position:absolute;right:80px;top:60px;font:700 115px Georgia,serif;color:#ffffff12;letter-spacing:-8px}.approved-welcome-mark span{display:block;text-align:right;font:45px Inter,sans-serif;letter-spacing:12px}.approved-shell .close-menu,.approved-shell .menu-button{display:none}@media(max-width:900px){.approved-shell>.approved-sidebar{width:165px}.approved-shell>.workspace{margin-left:165px}.approved-content,.approved-shell .approved-page-header{padding:22px}.approved-two{grid-template-columns:1fr}.approved-welcome-mark{display:none}.approved-sidebar .approved-nav-item a{font-size:12px;gap:8px;padding:10px}}@media(max-width:600px){.approved-shell>.approved-sidebar{width:204px;transform:translateX(-105%)}.approved-shell>.approved-sidebar.open{transform:translateX(0)}.approved-shell>.workspace{margin-left:0}.approved-shell .approved-page-header{flex-wrap:wrap}.approved-shell .close-menu,.approved-shell .menu-button{display:inline-flex}.approved-brand{display:flex;align-items:center;justify-content:space-between}.approved-brand button{padding:4px}.approved-submenu{left:0;top:100%;max-width:calc(100vw - 30px)}.approved-shell .detail-grid,.approved-shell .form-grid{grid-template-columns:1fr}.approved-shell .field.wide{grid-column:auto}.approved-shell .toolbar{align-items:stretch}.approved-shell .toolbar .search{max-width:none;min-width:0}.approved-shell .approved-welcome h2{font-size:28px}.approved-welcome{padding:26px}.approved-shell .purchase-modal{width:calc(100% - 24px)}}.approved-catalog-detail .form-section{padding:23px}.approved-catalog-detail .form-grid{grid-template-columns:1fr}.approved-catalog-detail .check-field{border:0;padding:0;background:transparent}.approved-catalog-detail .check-field b{font-weight:400}.approved-catalog-detail .check-field small{font-size:11px;margin-top:16px;line-height:1.7}.approved-catalog-detail .form-actions{margin:0}.approved-catalog-detail>.back{margin-bottom:20px}.approved-plan-criteria .approved-record-fields{padding:0;margin:0 0 24px;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.approved-plan-criteria .approved-record-fields>div{padding:0}.approved-plan-criteria dd{border:1px solid #dedee5;border-radius:6px;padding:11px 12px;background:white}.approved-plan-checks{padding:0 22px;list-style:none;color:#078454;font-size:12px;line-height:2.8;margin:18px 0}.approved-plan-suggestions .history-table{border:0;border-radius:0}.approved-plan-suggestions>button{margin:15px 22px}.approved-shell .history-planning>.form-card{padding:20px 22px}.approved-shell .history-planning>.form-card>h2{margin-bottom:20px}.approved-shell .history-planning .publish-bar{color:var(--ink)}.approved-shell .history-planning .publish-bar small{color:var(--muted)}@media(max-width:600px){.approved-plan-criteria .approved-record-fields{grid-template-columns:1fr}}.approved-shell .dre-head,.approved-shell .dre-row{grid-template-columns:minmax(260px,2.3fr) repeat(4,minmax(100px,1fr));min-width:740px}.approved-shell .dre-comparatives{grid-template-columns:minmax(240px,2fr) repeat(7,minmax(90px,1fr));min-width:1020px}.approved-shell .dre-report-actions{width:100%;display:flex;justify-content:flex-start;gap:14px;align-items:flex-end}.approved-shell .dre-report-actions>.field{order:-1;width:310px}.approved-dre-tools{display:flex;gap:18px;align-items:center;margin:0 0 22px}.approved-shell .dre-zero-filter{padding:11px;background:white;border:1px solid #dedee5;border-radius:6px}.approved-shell .dre-row>span{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.approved-extra{margin:0 0 22px}.approved-shell .tag-report-filters{padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}.approved-shell .tag-report-cards article:first-child{background:white;color:var(--ink)}.approved-shell .tag-report-cards article:first-child small,.approved-shell .tag-report-cards article:first-child span{color:var(--muted)}.approved-shell .purchase-modal{padding:0}.approved-shell .purchase-modal .modal-heading{padding:25px;margin:0}.approved-shell .purchase-modal .modal-actions{margin:0}.approved-shell .modal-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.approved-shell .approved-yield .approved-panel-body>.primary{grid-column:1/-1;justify-self:end}.approved-shell .approved-cash-help{font-size:11px;color:var(--muted);margin-bottom:18px}.approved-shell .cash-filterbar{justify-content:flex-start}.approved-shell .cash-filterbar>label{flex:0 1 310px}.approved-shell .cash-list-toolbar{background:transparent;border:0;padding:0 0 18px;gap:14px}.approved-shell .cash-name{border:0;padding:0;background:transparent;color:#a83e6c}.approved-shell .approved-purchase-detail>.primary{display:flex;margin-left:auto;margin-bottom:20px}.approved-shell .approved-cash-account .cash-dialog>h2,.approved-shell .approved-cash-detail .cash-dialog>h2{padding:0 22px 20px;margin:0 -22px;border-bottom:1px solid var(--line)}.approved-shell .badge.warning{background:#fff1dc;color:#be812f}.approved-shell .stock-toolbar>.field{width:310px}.approved-shell .stock-toolbar{flex-wrap:wrap}.approved-shell .count-confirm{border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px}.approved-customers>.field{width:310px;max-width:100%;margin-bottom:24px}.approved-shell .approved-customers>.modal-actions{background:transparent;border:0}.approved-shell .approved-stock .stock-toolbar>.field{max-width:100%}.approved-shell .test-data-grid>.form-card{padding:22px}.approved-shell .test-data-grid h3{margin-top:0}.approved-shell .test-data-grid .field{margin-bottom:14px}.approved-shell .toolbar>label.field{width:310px}.approved-shell .dre-report-actions{flex-wrap:wrap}.approved-shell .dre-row.dre-calculated,.approved-shell .dre-row.dre-group{box-shadow:none;border-color:#f0f0f3;border-width:1px 0 0;background:white;color:var(--ink)}.approved-shell .dre-row:not(.dre-postable) .dre-account{color:var(--ink);font-weight:600}.approved-shell .dre-row:not(.dre-postable)>span{font-weight:600}.approved-shell .tag-report-filters>.field{width:310px;max-width:100%}.approved-shell .tag-report-cards article{min-height:0}.approved-shell .tag-report-cards{margin-bottom:23px}.approved-shell .cash-list-toolbar{flex-wrap:wrap}.approved-shell .cash-workspace .approved-panel>.cash-table{margin:0;border:0;border-radius:0}.approved-shell .cash-filterbar{display:flex;gap:14px}.approved-shell .cash-filterbar>.field{flex:1 1 180px}.approved-shell .cash-workspace .approved-extra{font-size:11px;color:var(--muted)}.approved-shell .tag-report,.approved-shell .tag-report-cards article{display:block}.approved-shell .tag-report .purchase-modal .tag-report-table{margin:0}.approved-shell .cash-backdrop,.approved-shell .modal-backdrop{left:204px}.approved-shell .approved-extra>summary{cursor:pointer}.approved-shell .pending-list{border-color:var(--line);border-radius:10px}.approved-shell .pending-list-head{background:#fafafb;font-size:11px;font-weight:500;color:var(--muted)}@media(max-width:900px){.approved-shell .cash-backdrop,.approved-shell .modal-backdrop{left:165px}}@media(max-width:600px){.approved-shell .cash-backdrop,.approved-shell .modal-backdrop{left:0}}.approved-product .product-photo-field{margin:0;width:100%;gap:12px}.approved-product .product-photo-field>h3{display:none}.approved-product .product-photo-preview{width:100%;height:190px;background:#f5f5f7;border-radius:7px}.approved-product .approved-product-actions{margin:0;display:block;height:0}.approved-shell .approved-identification .form-grid>.field.wide{grid-column:auto}.approved-identification .form-grid>.field:nth-child(4){order:1}.approved-identification .form-grid>.field:nth-child(6){order:2}.approved-shell .history-planning>.approved-extra .form-card{padding:22px;margin-top:16px}@media(min-width:601px) and (max-width:720px){.approved-shell>.approved-sidebar{transform:none}}.approved-shell .approved-customers>.modal-actions,.approved-shell .approved-purchase-detail>.modal-actions,.approved-shell .approved-sale-detail .modal-actions,.approved-shell .approved-sale-detail>.modal-actions{margin-left:0;margin-right:0;max-width:100%;flex-wrap:wrap}.approved-shell .cash-review{display:grid;grid-gap:20px;gap:20px}.approved-shell .cash-review .form-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}.approved-shell .cash-review .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:16px;gap:16px}.approved-shell .cash-review td small{display:block;color:var(--muted);margin-top:4px}.approved-shell .cash-review table{width:100%;border-collapse:collapse}.approved-shell .cash-review td,.approved-shell .cash-review th{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line)}.approved-shell .cash-review th{font-size:12px;color:var(--muted);background:#fafafb}.approved-shell .cash-review .form-card>p{line-height:1.6}.approved-shell .cash-review .form-card>.field{margin:16px 0}.approved-sidebar nav{overflow-y:auto;min-height:0;flex:1 1}.approved-sidebar .approved-submenu{position:static;inset:auto;box-shadow:none;border:0;width:auto;max-width:none;margin:0 0 8px 16px;padding:0 0 0 12px;border-left:1px solid var(--line);background:transparent}.approved-sidebar .approved-group-toggle{display:flex;width:100%;align-items:center;gap:12px;text-align:left;padding:12px;color:inherit;background:transparent;border:0}.approved-group-toggle>span{margin-left:auto}.approved-sidebar .approved-submenu a.active{font-weight:500;background:var(--rose-soft);color:var(--rose-dark)}.approved-sidebar .approved-submenu{min-width:0}.approved-sidebar .approved-nav-item .approved-group-toggle{width:100%;font-size:13px;padding:12px;color:inherit;justify-content:flex-start}.approved-sidebar .approved-group-toggle:hover{background:#faf7f9}.approved-sidebar .approved-group-toggle{font-weight:400}.approved-sidebar .approved-submenu a{height:auto;min-height:36px;padding:9px 10px;font-size:12px;white-space:normal}.approved-sidebar .approved-nav-item>.selected{color:var(--rose-dark);background:var(--rose-soft)}.approved-shell>.scrim{position:fixed;inset:0;z-index:29;width:100%;height:100dvh;background:#25212a66;border:0;border-radius:0;padding:0}.approved-shell .purchase-modal.production-modal{padding:20px;max-height:90vh}.approved-shell .production-modal .modal-heading{padding:0 0 18px}.production-actions{margin-top:18px}.production-actions summary{cursor:pointer}.production-actions button{margin:8px 8px 0 0}