/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.static{position:static}.block{display:block}.grid{display:grid}.table{display:table}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}}:root{--primary:#0e3d2f;--primary-hover:#14523f;--primary-active:#092c22;--primary-light:#eef7f3;--primary-border:#c3e2d3;--primary-accent:#d8edd9;--primary-gold:#cfa851;--canvas:#f0f4f3;--surface:#fff;--surface-alt:#f7faf9;--surface-hover:#f1f6f4;--surface-selected:#e7f4ed;--line:#d8e3de;--line-subtle:#e6eee9;--line-focus:#188661;--ink:#15241c;--ink-secondary:#3b4d44;--ink-muted:#5e7182;--ink-faint:#8ca0af;--success:#15803d;--success-bg:#f0fdf4;--success-border:#bbf7d0;--warning:#b45309;--warning-bg:#fffbeb;--warning-border:#fde68a;--danger:#b91c1c;--danger-bg:#fef2f2;--danger-border:#fecaca;--info:#2d7752;--info-bg:#f0f9ff;--info-border:#bae6fd;--shadow-sm:0 1px 2px 0 #15241c0d;--shadow-md:0 4px 6px -1px #15241c12,0 2px 4px -2px #15241c0d;--shadow-lg:0 10px 15px -3px #15241c14,0 4px 6px -4px #15241c0a;--shadow-modal:0 20px 25px -5px #15241c26,0 8px 10px -6px #15241c1a;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-full:9999px}*,:after,:before{box-sizing:border-box}body,html{background-color:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:13px;line-height:1.5}.metric strong,.num,.ui-metric strong,table td{font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--line-focus);outline-offset:2px}button,input,select,textarea{font-family:inherit;font-size:inherit}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}.sheet-app{max-width:1500px;margin:auto;padding:34px;color:#173c33}.connection,.modal-actions,.pagination,.sheet-header,.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:21px}.sheet-header{margin-bottom:34px}.sheet-header h1{font-size:26px;margin:8px 0}.eyebrow{letter-spacing:2px;font-size:13px;font-weight:700}.connection{padding:21px;background:#eaf5ef;border:1px solid #cee3d6;border-radius:14px;flex-wrap:wrap}.connection span{font-weight:700}.connection a{text-decoration:underline}.scope-note{color:#6b7280;font-size:13px;margin:21px 0}.sheet-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:21px 0}.login button,.sheet-app button:not(.ui-action-btn):not(.ui-pagination-nav):not(.ui-filter-toggle):not(.ui-icon-button):not(.ui-link):not(.ui-cancel):not(.ui-person):not([role=tab]):not(.dropdown-item):not(.home-shortcut-btn):not(.home-debt):not(.home-action-card):not(.home-metric-button):not(.finance-action-btn):not(.finance-tab-btn):not(.finance-cancel):not(.sale-payment-tab):not(.ui-customer-card):not(.theme-toggle):not(.profile-action){background:#174d3d;color:white;border:0;border-radius:8px;padding:8px 13px;cursor:pointer;white-space:nowrap}.sheet-app button:disabled{opacity:.5;cursor:wait}.sheet-app .secondary,.sheet-tabs button{background:white;color:#345c4f;border:1px solid #dbe3de}.sheet-tabs .selected{background:#174d3d;color:white}.sheet-card{background:white;border:1px solid #e1e7e3;border-radius:16px;overflow:hidden}.table-toolbar{padding:21px;flex-wrap:wrap}.table-toolbar h2{margin:0 0 8px;font-size:20px}.table-toolbar small{color:#738177}.login input,.sheet-app input,.sheet-app select{border:1px solid #d4ddd7;border-radius:8px;padding:13px;background:white;color:#183c32}.table-toolbar input{min-width:280px}.table-scroll{overflow:auto}.sheet-app table{width:100%;border-collapse:collapse;font-size:13px}.sheet-app th{background:#f3f6f4;text-align:left;padding:13px;white-space:nowrap}.sheet-app td{padding:13px;border-bottom:1px solid #edf0ed;max-width:340px;min-width:85px}.sheet-app tr:hover td{background:#fafcfb}.pagination{padding:21px;justify-content:flex-end;font-size:13px}.sheet-message{padding:13px 21px;background:#eef6ef}.sheet-overlay{background:#10281f88}.sheet-modal{width:560px;overflow:auto;background:white;border-radius:16px;padding:34px;box-shadow:0 20px 70px #0003}.login label,.sheet-modal label{display:flex;flex-direction:column;gap:8px;margin:13px 0;font-size:13px;font-weight:600}.sheet-modal input[type=checkbox]{align-self:flex-start;width:20px;height:20px}.sheet-modal p{font-size:13px;color:#63776b}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:#153f32;color:white;padding:12vh 9vw}.login-brand h1{font-size:42px;line-height:1.2;margin:34px 0 21px}.login-brand p{line-height:1.5;opacity:.8}.login-panel{display:flex;align-items:center;justify-content:center;padding:34px}.login-form{width:360px}.login-form h2{font-size:26px;margin:13px 0}.login-form button{width:100%;margin:13px 0}.login-form small{color:#6c7e73}.brand-mark{display:inline-flex;background:#e3edb7;color:#174d3d;padding:13px;border-radius:12px;font-weight:800}.alert{padding:13px;background:#fee;color:#a11}@media(max-width:800px){.sheet-app{padding:21px 13px}.login{grid-template-columns:1fr}.login-brand{display:none}.connection small{display:block}.table-toolbar input{min-width:0;width:100%}.sheet-header h1{font-size:26px}}.sheet-app{max-width:none;padding:0}.sheet-header{padding:13px 34px;margin:0;border-bottom:1px solid #e2e8e3;background:#fff}.sheet-header h1{font-size:16px;margin:3px 0}.sheet-header .eyebrow{font-size:13px;letter-spacing:1.5px}.mill-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 84px);background:#f4f6f3}.mill-nav{background:#173e33;color:#edf4ed;padding:34px 13px;display:flex;flex-direction:column;gap:4px}.mill-brand{display:flex;align-items:center;gap:13px;padding:0 13px 34px}.mill-brand small{display:block;font-size:13px;letter-spacing:1.7px;opacity:.55;margin-top:4px}.mill-nav>button{display:flex;gap:13px;align-items:center;background:transparent;color:#bdcfc5;text-align:left;font-size:13px;padding:13px}.mill-nav>button:hover{background:#ffffff0b}.mill-nav>button.current{background:#e5edbf;color:#223e2e;font-weight:700}.mill-content{padding:34px;min-width:0;max-width:1700px;width:100%;margin:auto}.mill-top{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:21px}.mill-top small{font-size:13px;letter-spacing:1.3px;color:#819185}.mill-top h2{font-size:26px;letter-spacing:-.7px;margin:8px 0 0}.top-actions,.top-actions button{display:flex;align-items:center;gap:8px}.top-actions input{max-width:165px}.metric{padding:21px;background:white;border:1px solid #e2e7df;border-radius:13px;min-width:0}.metric small{font-size:13px;color:#6f7f73}.metric strong{font-size:26px;letter-spacing:-.7px;display:block;margin:21px 0 8px;overflow-wrap:anywhere}.metric span{font-size:13px;color:#8b968d}.report-note{font-size:13px;line-height:1.5;color:#819084;margin:13px 0 21px}.mill-card>.report-note{padding:0 21px}.mill-card{border:1px solid #e0e6dc;border-radius:13px;background:white;overflow:hidden;margin-bottom:21px}.card-heading{padding:21px}.card-heading h3{font-size:13px}.card-heading h2{font-size:20px;margin:8px 0}.card-heading small{font-size:13px;color:#8a978a;letter-spacing:1px}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:34px 8px;color:#8b988c}.empty-state b{color:#5b6e5c;font-size:13px}.empty-state span,.mill-content table{font-size:13px}.mill-content th{font-size:13px;letter-spacing:.3px;padding:13px}.mill-content td{padding:13px}.sheet-app .text-button{padding:0;background:none;color:#347451;border:0;font-size:inherit;font-weight:600}.sheet-app .danger{color:#a6675e}.row-actions{display:flex;align-items:center;gap:8px}.row-actions .secondary{padding:8px;font-size:13px}.status-pill{font-size:13px;background:#eef5e9;color:#527b44;padding:4px 8px;border-radius:5px}.status-pill.muted{background:#f4eded;color:#a77a74}.void-row td{opacity:.5}.mill-notice{background:#fff4d9;border:1px solid #eadfbf;border-radius:9px;padding:13px 21px;margin:0 0 21px}.mill-footer{font-size:13px;color:#8d9a8e;display:flex;align-items:center;gap:8px;margin-top:34px}.transaction-modal{width:670px}.transaction-modal .card-heading{padding:0}.form-grid{gap:0 21px}.transaction-modal textarea{border:1px solid #d4ddd7;border-radius:8px;padding:13px;min-height:70px;resize:vertical;font:inherit}.form-help{font-size:13px!important;line-height:1.5}.transaction-modal select{max-width:100%;text-overflow:ellipsis}.transaction-modal label{min-width:0}.mill-content .connection{display:none}.mill-content .sheet-tabs{margin-top:0}.mill-content .sheet-message,.mill-content .sheet-tabs button{font-size:13px}@media(max-width:1150px){.mill-shell{grid-template-columns:190px minmax(0,1fr)}.mill-content{padding:21px}.metric strong{font-size:20px}.top-actions button{font-size:13px}.mill-nav>button{font-size:13px;padding:13px 8px;gap:8px}}@media(max-width:800px){.sheet-header{padding:13px 21px}.mill-shell{display:block}.mill-nav{padding:8px;flex-direction:row;overflow-x:auto;position:sticky;top:0;z-index:5}.mill-nav>button{flex-shrink:0;gap:8px;padding:8px}.mill-brand{display:none}.mill-content{padding:21px 13px}.mill-top{align-items:flex-start;flex-direction:column;gap:13px}.mill-top h2{font-size:26px}.metric{padding:13px}.metric strong{font-size:20px}.form-grid{grid-template-columns:1fr}.sheet-overlay{padding:13px}.transaction-modal{max-height:94dvh;padding:21px}.modal-actions{flex-direction:column-reverse;align-items:stretch}.card-heading{padding:21px}.card-heading select{max-width:180px}.mill-footer{line-height:1.5}.sheet-app input,.sheet-app select,.transaction-modal textarea{font-size:16px;min-height:44px}.mill-content .sheet-tabs{gap:4px}.mill-content .sheet-tabs button{white-space:normal}}.sheet-modal .modal-actions{flex-wrap:wrap}.sheet-modal{box-sizing:border-box}.sheet-modal fieldset{min-width:0;border:1px solid #d4ddd7;border-radius:8px;padding:13px}.sheet-app:has(.home-shell)>.sheet-header{display:none}.home-shell{grid-template-columns:250px minmax(0,1fr);min-height:100vh;background:#f5f8f9;color:#182a21}.home-shell .mill-nav{background:var(--ds-sidebar);padding:34px 13px 21px;position:sticky;top:0;height:100vh;gap:8px}.home-shell .mill-brand{padding:0 21px 34px;gap:13px}.home-shell .mill-brand>svg{width:33px;height:40px;color:#e3edb9}.home-shell .mill-brand b{font-size:20px;letter-spacing:-.5px}.home-shell .mill-brand small{font-size:13px;letter-spacing:0;font-weight:400;opacity:.75;margin-top:4px}.home-shell .mill-nav>button{padding:13px 21px;font-size:16px;gap:21px;color:#e8f2ef;font-weight:500;border:1px solid transparent}.home-shell .mill-nav>button svg{width:24px;height:24px;flex-shrink:0}.home-shell .mill-nav>button.current{background:linear-gradient(100deg,#e2efc7,#edf8df);border-color:#ccdfb7;color:#102e24;box-shadow:0 2px 5px #0002}.home-shell .mill-content{padding:21px 34px;max-width:1900px;margin:0 auto}.home-shell .mill-top{margin-bottom:34px;min-height:61px}.home-shell .top-actions{gap:13px}.home-shell .top-actions input{max-width:195px;min-height:47px;border-color:#dce5e9;font-size:13px}.home-shell .top-actions button{padding:13px 21px;font-size:13px;min-height:47px}.home-shell .mill-footer{font-size:13px}@media(max-width:1300px){.home-shell{grid-template-columns:215px minmax(0,1fr)}.home-shell .mill-content{padding:21px}}@media(max-width:1080px){.home-shell .mill-top{align-items:flex-start;flex-wrap:wrap}.home-shell .mill-nav>button{font-size:13px;gap:13px}}@media(max-width:800px){.home-shell{display:block}.home-shell .mill-nav{height:auto;padding:8px;position:sticky;flex-direction:row;gap:8px}.home-shell .mill-brand{display:none}.home-shell .mill-nav>button{padding:8px 13px}.home-shell .mill-content{padding:21px 13px}.home-shell .top-actions{width:100%;gap:8px;flex-wrap:wrap}.home-shell .top-actions input{max-width:165px}.home-shell .top-actions button{padding:13px;font-size:13px}.home-shell .mill-top{margin-bottom:21px;gap:21px}}.mill-shell:not(.home-shell){grid-template-columns:245px minmax(0,1fr);background:#f5f8f8;min-height:calc(100vh - 70px);color:#182a21}.mill-shell:not(.home-shell) .mill-nav{background:linear-gradient(155deg,#103f33,#07352c);padding:21px 13px;gap:8px}.mill-shell:not(.home-shell) .mill-brand{padding:0 13px 34px;gap:13px}.mill-shell:not(.home-shell) .mill-brand>svg{width:32px;height:38px;color:#e5f0d8}.mill-shell:not(.home-shell) .mill-brand b{font-size:20px}.mill-shell:not(.home-shell) .mill-brand small{font-size:13px;letter-spacing:1px;margin-top:8px}.mill-shell:not(.home-shell) .mill-nav>button{display:flex;align-items:center;gap:21px;font-size:13px;font-weight:600;padding:13px;color:#e0eeea;border:1px solid transparent;border-radius:8px}.mill-shell:not(.home-shell) .mill-nav>button svg{width:23px;height:23px;flex-shrink:0}.mill-shell:not(.home-shell) .mill-nav>button.current{background:linear-gradient(100deg,#e3f1df,#f0faec);border-color:#cadfcc;color:#093d2d;box-shadow:0 2px 5px #001f2512}.mill-shell:not(.home-shell) .mill-content{padding:34px;align-self:start;margin:0 auto;max-width:1900px}.mill-shell:not(.home-shell) .mill-top{margin-bottom:21px;gap:21px}.mill-shell:not(.home-shell) .mill-top small{font-size:13px;color:#708592;letter-spacing:.3px}.mill-shell:not(.home-shell) .mill-top h2{font-size:26px;font-weight:700;color:#15231c;margin-top:21px;letter-spacing:-.7px}.mill-shell:not(.home-shell) .top-actions{gap:13px}.mill-shell:not(.home-shell) .top-actions input{min-height:46px;max-width:200px;font-size:13px}.mill-shell:not(.home-shell) .top-actions button{min-height:46px;font-size:13px;padding:13px 21px}.mill-shell:not(.home-shell) .mill-card,.mill-shell:not(.home-shell) .sheet-card{border:1px solid #e1e9ed;border-radius:11px;box-shadow:0 3px 9px #0a314006;background:#fff}.mill-shell:not(.home-shell) .card-heading{padding:21px}.mill-shell:not(.home-shell) .card-heading h3{font-size:16px;color:#1b2d24}.mill-shell:not(.home-shell) table{font-size:13px}.mill-shell:not(.home-shell) th{background:#f2f6f6;color:#5e7482;font-size:13px;letter-spacing:.25px;font-weight:600;padding:21px;border-bottom:1px solid #e9eff0}.mill-shell:not(.home-shell) td{padding:21px;border-bottom:1px solid #e6edef;color:#21352b}.mill-shell:not(.home-shell) tr:hover td{background:#f8fbfa}.mill-shell:not(.home-shell) .text-button{color:#086346}.mill-shell:not(.home-shell) td:first-child{font-weight:600}.mill-shell:not(.home-shell) .status-pill{padding:8px 13px;border-radius:5px;background:#eaf5e9;color:#347647;font-size:13px;white-space:nowrap}.mill-shell:not(.home-shell) .status-pill.muted{background:#fff0ef;color:#c44545}.mill-shell:not(.home-shell) .danger{color:#b94646}.mill-shell:not(.home-shell) .row-actions .secondary{padding:8px 13px;font-size:13px}.mill-shell:not(.home-shell) .pagination{padding:21px;gap:13px;min-height:78px;color:#627989;font-size:13px}.mill-shell:not(.home-shell) .pagination button{border:1px solid #dfe8e9;background:white;color:#155743;padding:8px 13px;border-radius:7px}.mill-shell:not(.home-shell) .pagination button:disabled{opacity:.45;cursor:default}.mill-shell:not(.home-shell) .report-note{background:#edf5f2;border:1px solid #e0ece7;padding:21px;border-radius:9px;color:#527066;font-size:13px;line-height:1.5}.mill-shell:not(.home-shell) .mill-card>.report-note{margin:0 21px 21px}.mill-shell:not(.home-shell) .metric{border-color:#e2eaed;border-radius:11px;box-shadow:0 3px 8px #123c4303}.mill-shell:not(.home-shell) .metric strong{color:#0e3026}.mill-shell:not(.home-shell) .metric small{font-size:13px}.mill-shell:not(.home-shell) .sheet-tabs{gap:8px;margin-bottom:21px}.mill-shell:not(.home-shell) .sheet-tabs button{padding:13px;font-size:13px;border-radius:8px;border-color:#dfe8e7}.mill-shell:not(.home-shell) .sheet-tabs button.selected{background:#0c4939;color:white;border-color:#0c4939}.mill-shell:not(.home-shell) .scope-note{color:#607988;font-size:13px;line-height:1.5}.mill-shell:not(.home-shell) .table-toolbar{padding:21px}.mill-shell:not(.home-shell) .table-toolbar h2{font-size:20px}.mill-shell:not(.home-shell) .table-toolbar small{font-size:13px}.mill-shell:not(.home-shell) .table-toolbar input{background:#f5f8f8;min-height:44px}.mill-shell:not(.home-shell) input,.mill-shell:not(.home-shell) select,.mill-shell:not(.home-shell) textarea{border-color:#dae5e7;border-radius:8px}.mill-shell:not(.home-shell) input:focus-visible,.mill-shell:not(.home-shell) select:focus-visible,.mill-shell:not(.home-shell) textarea:focus-visible{outline:2px solid #87b4a3;outline-offset:2px}.mill-shell:not(.home-shell) .sheet-modal{border:1px solid #e3ebeb;border-radius:14px;box-shadow:0 22px 75px #082d3040}.mill-shell:not(.home-shell) .sheet-modal h2{color:#102e35}.mill-shell:not(.home-shell) .sheet-modal label{color:#405c67;font-size:13px}.mill-shell:not(.home-shell) .sheet-modal input,.mill-shell:not(.home-shell) .sheet-modal select{min-height:44px}.mill-shell:not(.home-shell) .modal-actions button{min-height:43px}.mill-shell:not(.home-shell) .empty-state{padding:55px 13px}.mill-shell:not(.home-shell) .mill-footer{font-size:13px;color:#718993}@media(max-width:1200px){.mill-shell:not(.home-shell){grid-template-columns:205px minmax(0,1fr)}.mill-shell:not(.home-shell) .mill-content{padding:21px}.mill-shell:not(.home-shell) .mill-nav>button{font-size:13px;gap:13px;padding:13px}.mill-shell:not(.home-shell) td,.mill-shell:not(.home-shell) th{padding:13px}.mill-shell:not(.home-shell) .mill-brand b{font-size:16px}}@media(max-width:800px){.mill-shell:not(.home-shell){display:block}.mill-shell:not(.home-shell) .mill-nav{padding:8px;gap:8px}.mill-shell:not(.home-shell) .mill-brand{display:none}.mill-shell:not(.home-shell) .mill-nav>button{padding:8px 13px;gap:8px}.mill-shell:not(.home-shell) .mill-content{padding:21px 13px}.mill-shell:not(.home-shell) .mill-top h2{font-size:26px;margin-top:8px}.mill-shell:not(.home-shell) .top-actions{flex-wrap:wrap;gap:8px}.mill-shell:not(.home-shell) .sheet-tabs{gap:8px}.mill-shell:not(.home-shell) .sheet-tabs button{padding:8px 13px}.mill-shell:not(.home-shell) .table-toolbar{padding:21px}.mill-shell:not(.home-shell) .table-toolbar input{min-width:0;width:100%}.mill-shell:not(.home-shell) .pagination{padding:21px 13px}.mill-shell:not(.home-shell) .report-note{padding:13px;font-size:13px}.mill-shell:not(.home-shell) table{font-size:13px}.mill-shell:not(.home-shell) input,.mill-shell:not(.home-shell) select{font-size:16px}}.finance-page{display:grid;gap:21px}.finance-balances,.finance-intro,.finance-table{background:#fff;border:1px solid #e2eaee;border-radius:15px}.finance-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:21px;padding:21px}.finance-balances h3,.finance-intro h3,.finance-table h3{margin:0;font-size:20px;color:#163b31}.finance-intro p,.finance-table header p{margin:8px 0 0;color:#687d87;font-size:13px}.finance-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.sheet-app .finance-actions button{display:inline-flex;align-items:center;gap:8px;background:#0b7757;border:1px solid #0b7757;border-radius:9px;color:#fff;padding:13px;font-size:13px;font-weight:650}.sheet-app .finance-actions button:not(:first-child){background:#fff;color:#0b6048;border-color:#cfe2d8}.finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.finance-metrics section{min-width:0;display:grid;align-content:start;gap:8px;padding:21px;background:#fff;border:1px solid #e2eaee;border-radius:14px}.finance-metrics svg{color:#087b56}.finance-metrics span{font-size:13px;color:#59707b}.finance-metrics strong{font-size:clamp(19px,2vw,27px);color:#102c25;overflow-wrap:anywhere}.finance-metrics strong small{font-size:13px;font-weight:500}.finance-metrics section>small{font-size:13px;line-height:1.5;color:#6b818b}.finance-balances header,.finance-table header{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:21px;border-bottom:1px solid #e8eef0}.finance-balances header small{color:#6f8790}.finance-balances>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:21px}.finance-balances>div span{display:flex;align-items:center;gap:8px;color:#53717b;font-size:13px}.finance-balances>div svg{color:#0b8058}.finance-balances>div b{margin-left:auto;color:#123b2c;font-size:16px;white-space:nowrap}.finance-balances>div .finance-balance-total{border-left:1px solid #e5eeea;padding-left:13px;font-weight:700}.finance-balances p{margin:0;padding:0 21px 21px;color:#6a7c84;font-size:13px}.finance-table header label{display:flex;align-items:center;gap:8px;color:#607680;font-size:13px}.finance-table input{border:1px solid #dce7e7;border-radius:7px;padding:8px;color:#14342b}.finance-table .table-scroll{overflow:auto}.finance-table table{width:100%;border-collapse:collapse;font-size:13px}.finance-table td,.finance-table th{padding:13px 21px;text-align:left;border-bottom:1px solid #edf1f2;white-space:nowrap}.finance-table th{color:#657b83;background:#f8fbfa;font-weight:650}.finance-table td{color:#16362e}.finance-tabs{display:flex;gap:8px;padding:13px 21px}.sheet-app .finance-tabs button{background:#f1f7f4;color:#245343;border:1px solid #e0ebe5;border-radius:8px;padding:8px 13px;font-size:13px}.sheet-app .finance-tabs button.selected{background:#0d7959;color:#fff;border-color:#0d7959}.sheet-app .finance-cancel{background:transparent;color:#b64444;border:0;padding:3px 8px;font-size:13px}@media(max-width:1100px){.finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-intro{display:block}.finance-actions{justify-content:flex-start;margin-top:13px}.finance-balances>div{grid-template-columns:1fr}.finance-balances>div .finance-balance-total{border-left:0;border-top:1px solid #e5eeea;padding:13px 0 0}}@media(max-width:600px){.finance-metrics{grid-template-columns:1fr}.finance-balances>div,.finance-intro{padding:13px}.finance-table header{align-items:flex-start;flex-direction:column}}.report-heading h2{margin:0 0 8px}.report-footnote,.report-heading p{font-size:13px;color:#627b87;line-height:1.5}.report-export button{display:flex;white-space:nowrap}.report-context{padding:21px;background:#eef5f3;border:1px solid #dfe9e5;border-radius:10px}.report-context div{gap:8px;min-width:90px;max-width:100%;overflow-wrap:anywhere}.report-context small{color:#6a818c}.report-context b{font-weight:500}.report-filters{align-items:end;background:white;border:1px solid #e1eaeb;padding:21px;border-radius:10px}.report-filters label{gap:8px;color:#536e7a;flex:1 1 170px;min-width:0}.report-filters input,.report-filters select{width:100%}.report-filters button{font-size:13px;min-height:42px}.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin:21px 0}.report-kpis>div{background:white;border:1px solid #dfe9e9;border-radius:9px;padding:21px}.report-kpis small{color:#6e838d;margin-bottom:13px}.report-kpis strong{overflow-wrap:anywhere}.sheet-app .report-types button{display:flex;background:white;color:#2a5360;border:1px solid #dce7e6;padding:13px}.sheet-app .report-types button.selected{background:#104b3b;color:white;border-color:#104b3b}.report-print-table{display:none}@media(min-width:1600px){.report-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:800px){.report-heading{align-items:start;flex-direction:column}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-export{flex-wrap:wrap}.report-kpis strong{font-size:20px}}@media print{@page{size:A4 landscape;margin:12mm}body{background:white!important}.mill-footer,.mill-nav,.mill-top,.pagination,.report-export,.report-filters,.report-screen-table,.report-types,.sheet-header{display:none!important}.mill-content,.mill-shell{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.report-print-table{display:table!important}.report-explorer .table-scroll{overflow:visible!important}.report-explorer table{font-size:13px!important}.report-explorer td,.report-explorer th{padding:8px!important;overflow-wrap:anywhere}.report-explorer thead{display:table-header-group}.report-context,.report-explorer tr,.report-kpis{break-inside:avoid}.report-heading h2{font-size:20px}.report-explorer .mill-card{overflow:visible!important;border:0!important;box-shadow:none!important}}.payroll-forms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:start}.payroll-forms form{display:flex;flex-direction:column;gap:13px}.payroll-forms label{display:flex;flex-direction:column;gap:8px}.payroll-forms input,.payroll-forms select{width:100%}.purchase-source-fields{grid-column:span 1;display:flex;flex-direction:column;gap:8px}.purchase-source-fields .sale-payment-tabs{display:flex}.purchase-source-fields .sale-payment-tab{flex:1}@media(max-width:900px){.payroll-forms{grid-template-columns:1fr}}.sheet-app:has(.home-shell)>.sheet-header,.sheet-app:has(.mill-shell)>.sheet-header{display:none!important}.sheet-app .home-shell,.sheet-app .mill-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;background-color:var(--canvas);color:var(--ink)}.sheet-app .mill-shell .mill-nav{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#09261d,#0e3d2f 50%,#08281f);gap:8px;overflow-y:auto;z-index:40}.sheet-app .mill-shell .mill-brand{padding:4px 8px 21px;margin-bottom:13px;color:#ffffff}.sheet-app .mill-shell .mill-brand svg{color:var(--primary-gold);flex-shrink:0}.sheet-app .mill-shell .mill-brand b{letter-spacing:-.02em;line-height:1.2;display:block}.sheet-app .mill-shell .mill-brand small{color:#9ebdb0;letter-spacing:.03em;display:block;margin-top:3px}.sheet-app .mill-shell .mill-nav>button{display:flex;align-items:center;gap:13px;width:100%;height:44px;padding:0 13px;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:#bed5ca;font-size:13px;font-weight:500;text-align:left;cursor:pointer;transition:all .15s ease-in-out;flex-shrink:0}.sheet-app .mill-shell .mill-nav>button svg{flex-shrink:0;opacity:.85}.sheet-app .mill-shell .mill-nav>button:hover{background:rgba(255,255,255,.08);color:#ffffff}.sheet-app .mill-shell .mill-nav>button.current{background:rgba(255,255,255,.16);color:#ffffff;font-weight:600;border-color:rgba(255,255,255,.14);box-shadow:0 2px 8px rgba(0,0,0,.15)}.sheet-app .mill-shell .mill-nav>button.current svg{color:#6ee7b7;opacity:1}.sheet-app .mill-shell .mill-content{width:100%;max-width:1780px;margin:0 auto;padding:0 34px 34px;min-height:100vh}.ui-topbar{height:64px;background:var(--surface);border-bottom:1px solid var(--line);margin:0 -32px 24px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:21px;position:sticky;top:0;z-index:30;box-shadow:0 1px 3px rgba(0,0,0,.02)}.ui-topbar-title{font-size:13px;font-weight:600;color:var(--ink);letter-spacing:-.01em}.ui-topbar-tools{display:flex;align-items:center;gap:13px;flex-shrink:0;margin-left:auto}.sheet-app .ui-icon-button{width:36px;height:36px;padding:0;border:1px solid var(--line);background:var(--surface);color:var(--ink-secondary);border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease}.sheet-app .ui-icon-button:hover{background:var(--surface-hover);color:var(--primary);border-color:var(--line-focus)}.ui-profile{position:relative}.ui-profile>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;padding:4px 8px 4px 4px;border-radius:var(--radius-full);border:1px solid var(--line);background:var(--surface-alt)}.ui-profile>summary::-webkit-details-marker{display:none}.ui-profile>summary>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:#ffffff;font-size:13px;font-weight:700}.ui-profile b{font-size:13px;font-weight:600;color:var(--ink)}.ui-profile small{display:block;font-size:13px;color:var(--ink-muted)}.ui-profile>div{position:absolute;right:0;top:46px;min-width:220px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);z-index:50}.sheet-app .ui-profile button,.ui-profile a{display:flex;gap:8px;align-items:center;padding:8px 13px;background:transparent;color:var(--ink-secondary);text-decoration:none;font-size:13px;font-weight:500;border:0;border-radius:var(--radius-sm);width:100%;cursor:pointer;text-align:left}.sheet-app .ui-profile button:hover,.ui-profile a:hover{background:var(--surface-hover);color:var(--primary)}.sheet-app .mill-shell .mill-top{align-items:center}.sheet-app .mill-shell .ui-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-muted);letter-spacing:0}.sheet-app .mill-shell .ui-breadcrumb>span{color:var(--ink);font-weight:600}.sheet-app .mill-shell .mill-top h2{color:var(--ink);margin:4px 0 0}.section-description{color:var(--ink-muted);font-size:13px;line-height:1.5;margin:4px 0 0}.sheet-app .mill-shell .top-actions{gap:8px;flex-shrink:0}.sheet-app .mill-shell .top-actions input[type=month]{height:40px;min-height:40px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 13px;background:var(--surface);font-size:13px;color:var(--ink);box-shadow:var(--shadow-sm)}.sheet-app .mill-shell .top-actions .section-add{height:40px;min-height:40px;padding:0 13px;background:var(--primary);color:#ffffff;border:0;border-radius:var(--radius-sm);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-shadow:var(--shadow-sm);transition:background .15s ease}.sheet-app .mill-shell .top-actions .section-add:hover{background:var(--primary-hover)}.mill-notice{background:var(--warning-bg);border:1px solid var(--warning-border);color:var(--warning);border-radius:var(--radius-md);padding:13px;margin-bottom:21px;font-size:13px;line-height:1.5}.ui-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:21px}.ui-metric{display:flex;gap:13px;align-items:flex-start;padding:21px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);min-width:0;position:relative;transition:box-shadow .15s ease}.ui-metric:hover{box-shadow:var(--shadow-md)}.ui-metric-icon{width:44px;height:44px;flex-shrink:0;border-radius:var(--radius-md);background:#eef7f3;color:var(--primary);display:grid;place-items:center;border:1px solid #d3ebd9}.ui-metric>div{min-width:0;flex:1}.ui-metric p{font-size:13px;font-weight:500;color:var(--ink-muted);margin:0 0 8px;line-height:1.2}.ui-metric strong{display:block;font-size:20px;font-weight:700;color:var(--ink);letter-spacing:-.02em;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ui-metric strong small{font-size:13px;font-weight:500;color:var(--ink-muted);margin-left:4px}.ui-metric div>small{display:block;color:var(--ink-faint);font-size:13px;margin-top:8px}.ui-metric.red .ui-metric-icon{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.ui-metric.red strong{color:var(--danger)}.ui-scope{font-size:13px;color:var(--ink-muted);margin:-6px 0 16px}.ui-production-strip{background:#f3f8f6;border:1px solid var(--line);border-radius:var(--radius-lg);gap:0;padding:13px 0}.ui-production-strip .ui-metric{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:4px 21px}.ui-production-strip .ui-metric:last-child{border-right:0}.ui-production-strip .ui-metric-icon{display:none}.mill-card,.sheet-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.card-heading{justify-content:space-between;gap:13px;padding:13px 21px;border-bottom:1px solid var(--line-subtle);background:var(--surface)}.card-heading,.card-heading h3{display:flex;align-items:center}.card-heading h3{gap:8px;font-size:16px;font-weight:650;color:var(--ink);margin:0}.ui-filters{align-items:flex-end;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.ui-search{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 13px;background:var(--surface-alt);height:38px;color:var(--ink-secondary)}.ui-search:focus-within{border-color:var(--line-focus);background:var(--surface)}.sheet-app .ui-search>input{width:100%;border:0!important;background:transparent!important;outline:none!important;font-size:13px!important;padding:0!important;box-shadow:none!important;color:var(--ink)!important}.ui-filter{display:flex;gap:4px;min-width:140px;font-size:13px;font-weight:600;color:var(--ink-muted)}.sheet-app .ui-filter select{width:100%;color:var(--ink);padding:0 8px}.sheet-app .ui-filter select,.sheet-app .ui-filter-toggle{font-size:13px;border:1px solid var(--line);border-radius:var(--radius-sm);height:38px;background:var(--surface)}.sheet-app .ui-filter-toggle{display:inline-flex;align-items:center;gap:8px;font-weight:600;padding:0 13px;color:var(--ink-secondary);cursor:pointer;transition:all .15s ease}.sheet-app .ui-filter-toggle:hover{background:var(--surface-hover);color:var(--ink);border-color:var(--ink-muted)}.ui-filter-extras{display:flex;gap:13px;align-items:center;font-size:13px;background:#eef7f3;border:1px solid #d3eadc;padding:8px 13px;border-radius:var(--radius-md);margin:-8px 0 16px}.sheet-app .ui-debt-tabs,.ui-debt-tabs{display:inline-flex;align-items:center;background:#edf2ef;border:1px solid var(--line);border-radius:var(--radius-md);padding:4px;gap:4px;width:max-content;max-width:100%;margin-bottom:21px}.sheet-app .ui-debt-tabs button{height:34px;padding:0 21px;border-radius:var(--radius-sm);border:0;font-size:13px;font-weight:500;background:transparent;color:var(--ink-secondary);cursor:pointer;transition:all .15s ease;white-space:nowrap}.sheet-app .ui-debt-tabs button:hover{background:rgba(14,61,47,.08);color:var(--ink)}.sheet-app .ui-debt-tabs button[aria-selected=true]{background:var(--surface);color:var(--primary);font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04)}.sheet-app .ui-debt-tabs button[aria-selected=true]:hover{background:var(--surface);color:var(--primary)}.ui-list{border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);margin-bottom:21px}.ui-list,.ui-list>header{background:var(--surface)}.ui-list>header{display:flex;align-items:center;justify-content:space-between;padding:13px 21px;border-bottom:1px solid var(--line-subtle)}.ui-list h3{font-size:16px;font-weight:650;margin:0;color:var(--ink)}.ui-list h3>span{font-size:13px;font-weight:500;color:var(--ink-muted);margin-left:8px}.table-scroll,.ui-table-scroll{overflow-x:auto;width:100%}.sheet-app .mill-shell .ui-table,.sheet-app table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.sheet-app .mill-shell .ui-table th,.sheet-app th{padding:13px!important;background:var(--surface-alt)!important;font-size:13px!important;font-weight:600!important;letter-spacing:normal!important;text-transform:none!important;color:#4f6158!important;white-space:nowrap!important;border-bottom:1px solid var(--line)!important}.sheet-app .mill-shell .ui-table td,.sheet-app td{padding:13px;font-size:13px;color:var(--ink-secondary);border-bottom:1px solid var(--line-subtle);line-height:1.5;height:48px;vertical-align:middle}.sheet-app .mill-shell .ui-table tr:hover td,.sheet-app tr:hover td{background:var(--surface-hover)}.ui-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ui-id{color:var(--primary);font-size:13px;font-weight:650}.ui-person{display:block}.ui-person b{display:block;font-size:13px;font-weight:600;color:var(--ink)}.ui-person small{display:block;color:var(--ink-muted);font-size:13px;margin-top:1px}.sheet-app .ui-table button.ui-link,.sheet-app button.ui-link,.ui-link{background:transparent!important;border:0!important;padding:0!important;color:#092e23!important;font-weight:600!important;font-size:13px!important;cursor:pointer!important;text-decoration:underline!important;text-underline-offset:2px!important;display:inline!important;box-shadow:none!important}.sheet-app button.ui-link:hover,.ui-link:hover{color:#10543f!important}.ui-person{display:flex!important;flex-direction:column!important;gap:2px!important;text-align:left!important}.ui-person b{font-weight:600!important;color:#25342d!important;font-size:13px!important}.ui-person small{font-size:13px!important;color:#64748b!important}.status-pill,.ui-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;white-space:nowrap;line-height:1.2}.status-pill:not(.muted),.ui-badge.green{background:var(--success-bg);color:var(--success);border:1px solid var(--success-border)}.status-pill.muted,.ui-badge.red{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger-border)}.ui-badge.amber{background:var(--warning-bg);color:var(--warning);border:1px solid var(--warning-border)}.ui-badge.gray{background:#f1f5f9;color:var(--ink-muted);border:1px solid #e2e8f0}.ui-red{color:var(--danger);font-weight:600}.pagination,.ui-pagination{display:flex;gap:8px;align-items:center;padding:13px 21px;border-top:1px solid var(--line);background:var(--surface);font-size:13px;color:var(--ink-muted)}.pagination>span,.ui-pagination>span{margin-right:auto}.sheet-app .pagination button,.sheet-app .ui-pagination button{display:grid;place-items:center;padding:0;width:32px;height:32px;border:1px solid var(--line);background:var(--surface);color:var(--ink-secondary);border-radius:var(--radius-sm);cursor:pointer;transition:all .15s ease}.sheet-app .pagination button:hover:not(:disabled),.sheet-app .ui-pagination button:hover:not(:disabled){background:var(--surface-hover);color:var(--ink);border-color:var(--ink-muted)}.sheet-app .pagination button:disabled,.sheet-app .ui-pagination button:disabled{opacity:.4;cursor:not-allowed}.ui-pagination>b{display:grid;place-items:center;width:32px;height:32px;background:var(--primary);color:#ffffff;border-radius:var(--radius-sm);font-size:13px;font-weight:600}.ui-production-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-app .ui-cancel,.sheet-app button.ui-cancel{height:34px;padding:0 13px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger-border);transition:all .15s ease}.sheet-app .ui-cancel:hover:not(:disabled),.sheet-app button.ui-cancel:hover:not(:disabled){background:#fde8e8;color:#991b1b;border-color:#f87171}.ui-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:13px 13px;margin:21px 0;padding:0}.ui-detail dl>div{background:var(--canvas);border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 13px}.ui-detail dt{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.ui-detail dd,.ui-detail dt{font-size:13px;font-weight:600}.ui-detail dd{margin:0;color:var(--ink);overflow-wrap:anywhere}.ui-debt-documents{display:flex;flex-direction:column;gap:8px;margin:13px 0;max-height:400px;overflow-y:auto}.ui-debt-documents article{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:13px;background:var(--canvas);border:1px solid var(--line);border-radius:var(--radius-sm)}.ui-debt-documents article>div{display:flex;flex-direction:column;gap:3px}.ui-debt-documents article b{font-size:13px;color:var(--ink)}.ui-debt-documents article span{font-size:13px;color:var(--ink-muted)}.ui-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:34px 13px;color:var(--ink-muted)}.ui-empty svg{color:var(--ink-faint)}.ui-empty b{color:var(--ink-secondary)}.ui-empty b,.ui-empty span{font-size:13px}.sheet-overlay{position:fixed;inset:0;background:rgba(21,36,28,.65);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100;padding:21px}.sheet-modal{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);padding:21px;width:600px;max-width:100%;max-height:90vh;overflow-y:auto}.sheet-modal h2{font-size:20px;font-weight:700;color:var(--ink);letter-spacing:-.02em;margin:0 0 13px}.sheet-modal label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:var(--ink-secondary);margin-bottom:13px}.sheet-modal input:not([type=checkbox]),.sheet-modal select,.sheet-modal textarea{border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 13px;font-size:13px;color:var(--ink);background:var(--surface);width:100%;min-height:38px}.sheet-modal input:focus-visible,.sheet-modal select:focus-visible,.sheet-modal textarea:focus-visible{border-color:var(--line-focus);outline:2px solid rgba(24,134,97,.2)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.full-width{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:21px;padding-top:13px;border-top:1px solid var(--line-subtle)}.sheet-app .login-form button,.sheet-app .section-add,.sheet-app .top-actions>button,.sheet-app button.primary,.sheet-modal .modal-actions button{height:38px;padding:0 13px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;cursor:pointer;border:0;background:var(--primary);color:#ffffff;transition:background .15s ease,transform .05s ease}.sheet-app .login-form button:hover,.sheet-app .section-add:hover,.sheet-app .top-actions>button:hover,.sheet-app button.primary:hover,.sheet-modal .modal-actions button:hover{background:var(--primary-hover);color:#ffffff}.sheet-app .secondary,.sheet-app button.secondary,.sheet-modal .modal-actions button.secondary,.sheet-modal .modal-actions button[type=button]{background:var(--surface);border:1px solid var(--line);color:var(--ink-secondary)}.sheet-app .secondary:hover,.sheet-app button.secondary:hover,.sheet-modal .modal-actions button.secondary:hover,.sheet-modal .modal-actions button[type=button]:hover{background:var(--surface-hover);border-color:var(--ink-muted);color:var(--ink)}.sheet-app .mill-shell .sale-entry-modal{width:1100px;display:grid;grid-template-columns:1fr 340px}.sheet-app .mill-shell .sale-entry-modal>.card-heading,.sheet-app .mill-shell .sale-entry-modal>.mill-notice,.sheet-app .mill-shell .sale-entry-modal>.modal-actions{grid-column:1/-1}.sheet-app .mill-shell .sale-entry-modal>.form-grid,.sheet-app .mill-shell .sale-entry-modal>.form-help,.sheet-app .mill-shell .sale-entry-modal>fieldset{grid-column:1}.ui-customer-picker{grid-column:2;grid-row:2/span 6;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-alt);padding:13px;display:flex;flex-direction:column}.ui-customer-picker>header{display:flex;align-items:center;gap:8px;color:var(--primary);margin-bottom:8px}.ui-customer-picker h3{font-size:13px;font-weight:700;margin:0;color:var(--ink)}.ui-customer-picker h3 small{background:#e2f0e7;color:var(--primary);padding:2px 8px;border-radius:var(--radius-full);font-size:13px}.ui-customer-picker>p{font-size:13px;color:var(--ink-muted);margin:0 0 8px}.ui-customer-list{max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin-top:8px}.sheet-app .ui-customer-list>button{height:auto;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:8px 13px;color:var(--ink);display:block;cursor:pointer;transition:all .15s ease}.sheet-app .ui-customer-list>button:hover{background:var(--surface-hover);border-color:var(--primary-light);color:var(--ink)}.sheet-app .ui-customer-list>button.selected{border-color:var(--primary);background:#edf8f2}.sheet-app .ui-customer-list>button.selected:hover{background:#e2f2ea;border-color:var(--primary)}.ui-customer-list button>span:first-child{display:flex;justify-content:space-between;align-items:center}.ui-customer-list b{font-size:13px;font-weight:600}.ui-customer-list small{font-size:13px;color:var(--ink-muted)}.ui-customer-list em{display:block;font-style:normal;background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger-border);font-size:13px;font-weight:600;padding:3px 8px;border-radius:4px;margin-top:8px}.ui-customer-phone{gap:8px;color:var(--ink-muted)}.ui-customer-phone,.ui-customer-select{display:flex;align-items:center;font-size:13px;margin-top:8px}.ui-customer-select{justify-content:flex-end;gap:4px;font-weight:600;color:var(--primary)}.settings-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:21px;align-items:start}.settings-workspace>.scope-note{grid-column:1/-1;font-size:13px;color:var(--ink-muted);margin:0 0 4px}.sheet-app .mill-shell .settings-workspace>.sheet-tabs{grid-column:1;display:flex;flex-direction:column;gap:4px;padding:8px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.sheet-app .mill-shell .settings-workspace>.sheet-tabs button{width:100%;text-align:left;display:flex;align-items:center;gap:8px;padding:8px 13px;height:42px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--ink-secondary);font-size:13px;font-weight:500;cursor:pointer}.sheet-app .mill-shell .settings-workspace>.sheet-tabs button:hover{background:var(--surface-hover);color:var(--primary)}.sheet-app .mill-shell .settings-workspace>.sheet-tabs button.selected{background:#edf7f2;color:var(--primary);font-weight:650}.ui-setting-list{padding:8px 21px 21px}.ui-setting-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--line-subtle)}.ui-setting-row>label{flex:0 0 220px;font-size:13px;font-weight:500;color:var(--ink-secondary)}.ui-setting-row>input{flex:1;height:38px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 13px;background:var(--surface-alt);color:var(--ink);font-size:13px}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:21px;padding:21px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:21px}.report-heading h2{font-size:20px;font-weight:700;color:var(--ink);margin:0 0 4px}.report-heading p{font-size:13px;color:var(--ink-muted);margin:0}.report-export{display:flex;gap:8px}.report-export button{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 13px;font-size:13px;font-weight:600}.report-context{display:flex;gap:21px;flex-wrap:wrap;padding:13px 21px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:21px}.report-context div{display:flex;flex-direction:column;gap:4px}.report-context small{font-size:13px;color:var(--ink-muted)}.report-context b{font-size:13px;color:var(--ink)}.report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-bottom:21px}.report-kpis>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:13px;box-shadow:var(--shadow-sm)}.report-kpis small{display:block;font-size:13px;color:var(--ink-muted);margin-bottom:8px}.report-kpis strong{font-size:20px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.report-types{display:flex;flex-wrap:wrap;gap:8px;margin:21px 0}.sheet-app .report-types button{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 13px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-secondary);font-size:13px;font-weight:500;cursor:pointer;transition:all .15s ease}.sheet-app .report-types button:hover{background:var(--surface-hover);color:var(--ink);border-color:var(--ink-muted)}.sheet-app .report-types button.selected{background:var(--primary);color:#ffffff;border-color:var(--primary);font-weight:600}.sheet-app .report-types button.selected:hover{background:var(--primary-hover);color:#ffffff}.report-filters{display:flex;gap:13px;flex-wrap:wrap;align-items:flex-end;padding:13px 21px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:21px}.report-filters label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600;color:var(--ink-muted)}.report-filters input,.report-filters select{height:38px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 8px;font-size:13px;color:var(--ink);background:var(--surface)}@media (max-width:1200px){.sheet-app .home-shell,.sheet-app .mill-shell{grid-template-columns:220px minmax(0,1fr)}.ui-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:860px){.sheet-app .home-shell,.sheet-app .mill-shell{display:block}.sheet-app .mill-shell .mill-nav{position:sticky;top:0;height:auto;flex-direction:row;padding:8px 13px;gap:8px;overflow-x:auto;z-index:50}.sheet-app .mill-shell .mill-brand{display:none}.sheet-app .mill-shell .mill-nav>button{height:36px;padding:0 8px;font-size:13px;white-space:nowrap;width:auto}.sheet-app .mill-shell .mill-content{padding:0 13px 21px}.ui-topbar{margin:0 -16px 18px;padding:0 13px}.ui-metrics{grid-template-columns:1fr}.sheet-app .mill-shell .sale-entry-modal{display:block}.ui-customer-picker{margin-top:13px}.settings-workspace{display:block}}@media print{.mill-nav,.report-export,.report-filters,.report-types,.top-actions,.ui-filters,.ui-pagination,.ui-topbar{display:none!important}.sheet-app .mill-shell,.sheet-app .mill-shell .mill-content{display:block!important;padding:0!important;background:#ffffff!important}.ui-table-scroll{overflow:visible!important}}.sheet-app .mill-shell .mill-nav{background:#092e23!important;border-right:1px solid rgba(255,255,255,.08);padding:21px 13px;display:flex;flex-direction:column}.sheet-app .mill-shell .mill-brand{display:flex;align-items:center;gap:13px;padding:0 8px 21px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}.sheet-app .mill-shell .mill-brand .brand-icon{color:#def2e6}.sheet-app .mill-shell .mill-brand b{font-size:16px;font-weight:700;color:#ffffff;letter-spacing:.02em}.sheet-app .mill-shell .mill-brand small{font-size:13px;font-weight:500;color:#8dafa1;letter-spacing:.05em}.sheet-app .mill-shell .nav-menu-list{display:flex;flex-direction:column;gap:4px;flex:1}.sheet-app .mill-shell .mill-nav button{display:flex;align-items:center;gap:13px;width:100%;height:44px;padding:0 13px;border:none!important;border-radius:10px!important;background:transparent!important;color:#bed5ca!important;font-size:13px;font-weight:500;text-align:left;cursor:pointer;transition:all .15s ease;box-shadow:none!important}.sheet-app .mill-shell .mill-nav button:hover{background:rgba(255,255,255,.08)!important;color:#ffffff!important}.sheet-app .mill-shell .mill-nav button.current{background:#def2e6!important;color:#092e23!important;font-weight:700!important;border-radius:10px!important}.sheet-app .mill-shell .mill-nav button.current svg{color:#092e23!important}.sheet-app .mill-shell .nav-help{margin-top:auto;display:flex;align-items:center;gap:13px;padding:13px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px}.sheet-app .mill-shell .nav-help .help-icon-wrapper{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:#def2e6;flex-shrink:0}.sheet-app .mill-shell .nav-help b{display:block;font-size:13px;font-weight:600;color:#ffffff}.sheet-app .mill-shell .nav-help small{display:block;font-size:13px;color:#9ebdb0;margin-top:2px}.sheet-app .ui-topbar{background:#ffffff;border-bottom:1px solid #e2e8f0;height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;margin:0 -32px 28px;position:sticky;top:0;z-index:40}.ui-global-search-container{position:relative;width:400px;max-width:100%}.ui-global-search{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:0 13px;height:42px;transition:all .15s ease;cursor:text;color:#64748b}.ui-global-search:focus-within{background:#ffffff;border-color:#092e23;box-shadow:0 0 0 3px rgba(9,46,35,.08)}.ui-global-search input{border:none;background:transparent;outline:none;font-size:13px;color:#15241c;width:100%}.ui-global-search input::placeholder{color:#94a3b8}.ui-global-search kbd{font-size:13px;font-weight:600;color:#64748b;background:#ffffff;border:1px solid #cbd5e1;border-radius:6px;padding:2px 8px;box-shadow:0 1px 1px rgba(0,0,0,.05);font-family:inherit;flex-shrink:0}.ui-global-dropdown{position:absolute;top:48px;left:0;right:0;background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.12);z-index:100;max-height:400px;overflow-y:auto;padding:8px}.ui-global-dropdown .dropdown-header{padding:8px 13px;font-size:13px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.ui-global-dropdown .dropdown-list{display:flex;flex-direction:column;gap:2px}.ui-global-dropdown .dropdown-item{display:flex;align-items:center;gap:13px;width:100%;padding:8px 13px;border:none;background:transparent;text-align:left;border-radius:8px;cursor:pointer;transition:background .12s ease}.ui-global-dropdown .dropdown-item:hover{background:#f1f5f9}.ui-global-dropdown .item-icon-box{width:32px;height:32px;border-radius:8px;background:#def2e6;color:#092e23;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ui-global-dropdown .item-info{flex:1;min-width:0}.ui-global-dropdown .item-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.ui-global-dropdown .item-title-row b{font-size:13px;color:#15241c}.ui-global-dropdown .item-tag{font-size:13px;font-weight:600;padding:2px 8px;border-radius:4px;background:#e2e8f0;color:#4f6158}.ui-global-dropdown .item-info small{display:block;font-size:13px;color:#64748b}.sheet-app .ui-topbar-tools{display:flex;align-items:center;gap:13px}.sheet-app .ui-topbar-tools .ui-icon-button{width:40px;height:40px;border-radius:10px;border:1px solid #e2e8f0;background:#ffffff;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.sheet-app .ui-topbar-tools .ui-icon-button:hover{background:#f8fafc;color:#092e23;border-color:#cbd5e1}.sheet-app .ui-profile>summary{display:flex;align-items:center;gap:8px;padding:4px 13px 4px 4px;background:#ffffff;border:1px solid #e2e8f0;border-radius:30px;cursor:pointer}.sheet-app .ui-profile .ui-avatar{width:32px;height:32px;border-radius:50%;background:#092e23;color:#ffffff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}.sheet-app .ui-profile .ui-user-name{font-size:13px;font-weight:600;color:#15241c}.sheet-app .mill-shell .mill-top{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:21px;gap:21px}.ui-breadcrumbs{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;margin-bottom:4px}.ui-breadcrumbs span:last-child{color:#15241c;font-weight:600}.sheet-app .mill-shell .mill-top h2{font-size:26px;font-weight:700;color:#15241c;margin:0;letter-spacing:-.02em}.sheet-app .mill-shell .section-description{font-size:13px;color:#64748b;margin:4px 0 0}.sheet-app .mill-shell .top-actions{display:flex;align-items:center;gap:13px}.ui-month-picker{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 13px;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;font-size:13px;font-weight:500;color:#15241c;cursor:pointer;position:relative;box-shadow:0 1px 2px rgba(0,0,0,.04)}.ui-month-picker input[type=month]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.sheet-app .mill-shell .section-add{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 21px;background:#092e23;color:#ffffff;font-size:13px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:background .15s ease;box-shadow:0 1px 3px rgba(9,46,35,.15)}.sheet-app .mill-shell .section-add:hover{background:#0e3d2f}.ui-filters{display:flex;align-items:center;gap:13px;margin-bottom:21px;flex-wrap:wrap}.ui-filters .ui-search{display:flex;align-items:center;gap:8px;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;padding:0 13px;height:42px;width:380px;max-width:100%;color:#64748b;box-shadow:0 1px 2px rgba(0,0,0,.02)}.ui-filters .ui-search:focus-within{border-color:#092e23;box-shadow:0 0 0 3px rgba(9,46,35,.08)}.ui-filters .ui-search input{border:none;background:transparent;outline:none;font-size:13px;color:#15241c;width:100%}.ui-filters .ui-search input::placeholder{color:#94a3b8}.ui-filter{display:inline-flex;flex-direction:column;font-size:0}.ui-filter select{height:42px;padding:0 34px 0 13px;background:#ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid #e2e8f0;border-radius:10px;font-size:13px;font-weight:500;color:#3b4d44;appearance:none;cursor:pointer;min-width:160px;box-shadow:0 1px 2px rgba(0,0,0,.02)}.ui-filter select:focus{outline:none;border-color:#092e23}.sheet-app button.ui-filter-toggle,.ui-filter-toggle{margin-left:auto;display:inline-flex!important;align-items:center!important;gap:8px!important;height:42px!important;padding:0 21px!important;background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:10px!important;font-size:13px!important;font-weight:500!important;color:#3b4d44!important;cursor:pointer!important;box-shadow:0 1px 2px rgba(0,0,0,.02)!important;transition:all .15s ease!important}.sheet-app button.ui-filter-toggle:hover,.ui-filter-toggle:hover{background:#f8fafc!important;border-color:#cbd5e1!important}.ui-metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:21px;margin-bottom:21px}.ui-metric-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:21px;display:flex;align-items:center;gap:13px;box-shadow:0 1px 3px rgba(0,0,0,.02)}.ui-metric-icon-box{width:50px;height:50px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ui-metric-icon-box.tone-green{background:#eef7f2;color:#16a34a}.ui-metric-icon-box.tone-amber{background:#fef3c7;color:#d97706}.ui-metric-icon-box.tone-blue{background:#eff6ff;color:#2563eb}.ui-metric-icon-box.tone-red{background:#fee2e2;color:#dc2626}.ui-metric-info{display:flex;flex-direction:column;gap:2px;min-width:0}.ui-metric-name{font-size:13px;font-weight:500;color:#64748b;margin:0}.ui-metric-num{font-size:20px;font-weight:700;color:#15241c;letter-spacing:-.02em;line-height:1.2;white-space:nowrap}.ui-metric-trend-text{font-size:13px;font-weight:600;margin-top:4px;display:inline-flex;align-items:center;gap:4px}.ui-metric-trend-text.trend-up{color:#16a34a}.ui-metric-trend-text.trend-down{color:#dc2626}.ui-list-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.02)}.ui-list-header{padding:21px;border-bottom:1px solid #f1f5f9}.ui-list-header h3{font-size:20px;font-weight:700;color:#15241c;margin:0;letter-spacing:-.01em}.ui-table-scroll{overflow-x:auto}.ui-table{width:100%;border-collapse:collapse;text-align:left}.ui-table thead th{background:#f8fafc;padding:13px 21px;font-size:13px;font-weight:600;color:#64748b;border-bottom:1px solid #e2e8f0;text-transform:none;letter-spacing:0}.ui-table thead th.num{text-align:right}.ui-table tbody td{padding:13px 21px;font-size:13px;color:#25342d;border-bottom:1px solid #f1f5f9;vertical-align:middle}.ui-table tbody td.num{text-align:right;font-variant-numeric:tabular-nums;font-weight:500}.ui-table tbody tr:hover td{background:#fafafa}.ui-category-cell{display:inline-flex;align-items:center;gap:8px;font-weight:500;color:#15241c}.ui-category-cell .category-icon{color:#64748b;flex-shrink:0}.ui-badge-dot{display:inline-flex;align-items:center;gap:8px;padding:4px 13px;border-radius:20px;font-size:13px;font-weight:500;white-space:nowrap}.ui-badge-dot .dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}.ui-badge-dot.tone-green{background:#def2e6;color:#0e3d2f}.ui-badge-dot.tone-green .dot{background:#16a34a}.ui-badge-dot.tone-amber{background:#fef3c7;color:#92400e}.ui-badge-dot.tone-amber .dot{background:#d97706}.ui-badge-dot.tone-red{background:#fee2e2;color:#991b1b}.ui-badge-dot.tone-red .dot{background:#dc2626}.ui-badge-dot.tone-gray{background:#f1f5f9;color:#4f6158}.ui-badge-dot.tone-gray .dot{background:#64748b}.sheet-app .ui-action-buttons{display:flex!important;align-items:center!important;gap:8px!important}.sheet-app .ui-table button.ui-action-btn,.sheet-app button.ui-action-btn,.ui-action-btn{width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:0!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;border-radius:8px!important;transition:all .15s ease!important}.sheet-app .ui-table button.ui-action-btn.view,.sheet-app button.ui-action-btn.view{color:#64748b!important}.sheet-app .ui-table button.ui-action-btn.view:hover,.sheet-app button.ui-action-btn.view:hover{background:#f1f5f9!important;color:#092e23!important}.sheet-app .ui-table button.ui-action-btn.edit,.sheet-app button.ui-action-btn.edit{color:#64748b!important}.sheet-app .ui-table button.ui-action-btn.edit:hover,.sheet-app button.ui-action-btn.edit:hover{background:#f1f5f9!important;color:#092e23!important}.sheet-app .ui-table button.ui-action-btn.delete,.sheet-app button.ui-action-btn.delete{color:#ef4444!important}.sheet-app .ui-table button.ui-action-btn.delete:hover,.sheet-app button.ui-action-btn.delete:hover{background:#fee2e2!important;color:#dc2626!important}.ui-pagination-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 21px;border-top:1px solid #f1f5f9;background:#ffffff}.ui-pagination-count{font-size:13px;color:#64748b}.ui-pagination-controls{display:flex;align-items:center;gap:8px}.sheet-app button.ui-pagination-nav,.ui-pagination-nav{width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;border-radius:8px!important;border:1px solid #e2e8f0!important;background:#ffffff!important;color:#64748b!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;transition:all .15s ease!important;padding:0!important;box-shadow:none!important}.sheet-app button.ui-pagination-nav:hover:not(:disabled),.ui-pagination-nav:hover:not(:disabled){background:#f8fafc!important;color:#092e23!important;border-color:#cbd5e1!important}.sheet-app button.ui-pagination-nav:disabled,.ui-pagination-nav:disabled{opacity:.4!important;cursor:not-allowed!important}.ui-pagination-pill{min-width:34px;height:34px;padding:0 8px;border-radius:8px;background:#092e23;color:#ffffff;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.sheet-app .mill-shell .sale-entry-modal{width:min(1100px,96vw);grid-template-columns:minmax(0,1fr) 340px;gap:0 21px}.sheet-app .mill-shell .sale-entry-modal>.sale-entry-main{grid-column:1;grid-row:2;min-width:0}.sheet-app .mill-shell .sale-entry-modal>.ui-customer-picker{grid-column:2;grid-row:2;align-self:start;position:sticky;top:0;max-height:calc(90vh - 145px)}.sale-entry-main{display:grid;gap:13px}.sale-entry-section{border:1px solid #dfe8e3;border-radius:12px;padding:13px 21px;background:#fff}.sale-entry-section-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #edf2ee;padding-bottom:13px;margin-bottom:13px}.sale-entry-section-heading strong{font-size:13px;color:#174d3d}.sale-entry-section-heading small{font-size:13px;color:#698174;text-align:right}.sale-entry-main .form-grid,.sale-entry-main .sale-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.sale-entry-main label{margin:8px 0;font-size:13px}.sale-entry-main input,.sale-entry-main select{width:100%;box-sizing:border-box}.sale-entry-main .form-grid:has(select){margin:0}.sale-entry-main .form-grid:has(select) label{max-width:300px}.sale-payment{border:1px solid #dfe8e3!important;border-radius:12px!important;padding:13px 21px 21px!important;margin:0}.sale-payment legend{padding:0 8px;font-size:13px;font-weight:700;color:#174d3d}.sale-payment .form-help{margin:0 0 13px;font-size:13px!important}.sale-payment-tabs{display:flex;padding:4px;background:#edf3ef;border-radius:9px;gap:4px;margin-bottom:13px}.sheet-app .sale-payment-tabs .sale-payment-tab{flex:1;border:0;border-radius:7px;background:transparent;color:#4d6a5d;padding:8px;font-size:13px;font-weight:700}.sheet-app .sale-payment-tabs .sale-payment-tab.selected{background:#0d7959;color:#fff;box-shadow:0 2px 8px #063b2826}.sale-payment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}.sale-payment-summary span{display:flex;justify-content:space-between;gap:13px;align-items:center;min-width:0;border:1px solid #e5eeea;background:#f8fbf9;border-radius:8px;padding:8px 13px;color:#60756b;font-size:13px}.sale-payment-summary strong{color:#183c32;font-size:13px;text-align:right}.sale-payment-summary .has-debt strong{color:#b34141}.sale-entry-note{margin:0!important}.sale-entry-note textarea{width:100%;box-sizing:border-box}.sale-entry-modal .ui-customer-list{max-height:none;overflow:auto}.sale-entry-modal .ui-customer-picker{overflow:hidden}.sale-entry-modal .ui-customer-picker>.ui-customer-list{min-height:0}.sale-entry-modal .modal-actions{margin-top:13px}@media(max-width:850px){.sheet-app .mill-shell .sale-entry-modal{display:block;width:min(620px,100%)}.sheet-app .mill-shell .sale-entry-modal>.ui-customer-picker{position:static;max-height:330px;margin-top:13px}.sale-entry-section-heading{align-items:flex-start;flex-direction:column}.sale-entry-section-heading small{text-align:left}}@media(max-width:520px){.sale-entry-main .form-grid,.sale-entry-main .sale-entry-grid,.sale-payment-summary{grid-template-columns:1fr}.sale-payment-summary span{padding:8px}.sale-entry-section,.sale-payment{padding:13px!important}}.expense-kind-switch{border:1px solid #dfe8e3;border-radius:12px;padding:13px 21px;margin:13px 0;background:#f8fbf9}.expense-kind-switch>strong{display:block;color:#174d3d;font-size:13px}.expense-kind-switch>small{display:block;color:#60756b;font-size:13px;line-height:1.5}.expense-kind-tabs{margin:8px 0}.expense-kind-tabs .sale-payment-tab{white-space:normal!important;line-height:1.5}html[data-theme=dark] .expense-kind-switch{background:#26342d;border-color:#42544b}html[data-theme=dark] .expense-kind-switch>strong{color:#eef4f6}html[data-theme=dark] .expense-kind-switch>small{color:#b8cbd4}@media(max-width:520px){.expense-kind-tabs{flex-direction:column}}.sale-total{margin:13px 0 0;font-size:16px}.sale-total b{font-size:20px}.sale-price-warning{margin:13px 0 0;padding:13px;border-radius:12px;border:1px solid #f59e0b;background:rgba(245,158,11,.14);line-height:1.5}.sale-price-warning p{margin:0 0 8px;font-weight:600}.sale-price-warning label{display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}.sale-price-warning input[type=checkbox]{width:22px;height:22px;flex:none}.sheet-app .settings-workspace{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);grid-template-areas:"scope scope" "nav note" "nav card";grid-template-rows:auto auto minmax(0,1fr);gap:13px 21px;align-items:start}.sheet-app .settings-workspace>.scope-note{grid-area:scope}.sheet-app .settings-workspace>.sheet-tabs{grid-area:nav;align-self:stretch;min-height:0}.sheet-app .settings-workspace>.report-note{grid-area:note;margin:0}.sheet-app .settings-workspace>.sheet-card{grid-area:card;min-width:0;margin:0}.sheet-app .ui-metric-trend-text.trend-neutral{color:#64748b}.sheet-app .ui-metric-card{min-width:0}.sheet-app .ui-metric-num{white-space:normal;overflow-wrap:anywhere}.sheet-app .ui-profile>summary>.ui-user-name{width:auto;height:auto;display:inline;border-radius:0;background:transparent;color:#15241c;font-size:13px}.sheet-app .mobile-bottom-nav,.sheet-app .mobile-more-backdrop,.sheet-app .mobile-more-menu{display:none}@media (max-width:1050px){.sheet-app .ui-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-app .settings-workspace{grid-template-columns:minmax(170px,210px) minmax(0,1fr)}}@media (max-width:800px){.sheet-app,.sheet-app .mill-content,.sheet-app .mill-shell{min-width:0;max-width:100%}.sheet-app .home-shell,.sheet-app .mill-shell{display:block}.sheet-app .mill-shell .mill-brand,.sheet-app .mill-shell .mill-nav,.sheet-app .mill-shell .nav-help{display:none}.sheet-app .mill-shell .nav-menu-list{display:flex;flex-direction:row;gap:4px;width:max-content}.sheet-app .mill-shell .mill-nav button{width:auto;min-height:40px;height:40px;padding:0 13px;flex:0 0 auto}.sheet-app .home-shell .mill-content,.sheet-app .mill-shell .mill-content,.sheet-app .mill-shell:not(.home-shell) .mill-content{width:100%;padding:0 14px calc(100px + env(safe-area-inset-bottom))}.sheet-app .mobile-bottom-nav{display:flex;align-items:center;justify-content:space-around;gap:3px;position:fixed;z-index:80;bottom:calc(10px + env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));min-height:58px;padding:8px;background:#0b4938;border:1px solid #ffffff30;border-radius:18px;box-shadow:0 8px 28px var(--ds-sidebar)40}.sheet-app .mobile-bottom-nav button{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;min-height:46px;gap:4px;padding:8px 4px;border:0;border-radius:22px;background:transparent;color:#d5e8de;font-size:13px;font-weight:600}.sheet-app .mobile-bottom-nav button span{display:none;white-space:nowrap}.sheet-app .mobile-bottom-nav button.current{flex:1.5 1 0;background:#c5ec70;color:#183c2d}.sheet-app .mobile-bottom-nav button.current span{display:inline;overflow:hidden;text-overflow:ellipsis}.sheet-app .mobile-bottom-nav button:focus-visible,.sheet-app .mobile-more-menu button:focus-visible{outline:2px solid #c5ec70;outline-offset:2px}.sheet-app .mobile-more-backdrop{display:block;position:fixed;inset:0;z-index:78;background:#09221e55}.sheet-app .mobile-more-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:fixed;z-index:79;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));padding:13px;border:1px solid #d8e7df;border-radius:18px;background:#fff;box-shadow:0 -12px 40px #09271f34}.sheet-app .mobile-more-menu button{display:flex;align-items:center;gap:8px;min-width:0;min-height:46px;padding:8px;border-radius:10px;background:#f3f8f5;color:#174637;text-align:left;font-size:13px}.sheet-app .mobile-more-menu button.current{background:#e2f3d0;font-weight:700}.sheet-app .ui-topbar{position:relative;top:auto;width:auto;height:auto;min-height:60px;margin:0 -14px 20px;padding:8px 13px;gap:8px}.sheet-app .ui-global-search-container{flex:1 1 130px;min-width:0;width:auto}.sheet-app .ui-global-search{min-width:0;padding:0 8px}.sheet-app .ui-global-search input{min-width:0}.sheet-app .ui-global-search kbd{display:none}.sheet-app .ui-topbar-tools{gap:4px;flex:0 0 auto}.sheet-app .ui-topbar-tools .ui-icon-button{width:38px;height:38px}.sheet-app .mill-shell .mill-top{display:flex;flex-direction:column;align-items:stretch;gap:13px}.sheet-app .mill-shell .mill-top .top-actions{display:flex;justify-content:flex-start;max-width:100%;flex-wrap:wrap}.sheet-app .ui-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sheet-app .ui-metric-card{padding:13px;gap:8px}.sheet-app .ui-metric-icon-box{width:38px;height:38px}.sheet-app .ui-metric-num{font-size:20px}.sheet-app .ui-filters{min-width:0}.sheet-app .ui-filters .ui-search{flex:1 1 100%;width:100%;min-width:0}.sheet-app .ui-filter{flex:1 1 145px;min-width:0}.sheet-app .ui-debt-tabs{display:flex;width:100%;flex-wrap:wrap}.sheet-app .ui-debt-tabs button{flex:1 1 auto;min-width:0;height:auto;min-height:34px;padding:8px;white-space:normal}.sheet-app .home-dashboard,.sheet-app .report-context,.sheet-app .report-explorer,.sheet-app .report-filters,.sheet-app .ui-list-card,.sheet-app .ui-table-scroll,.sheet-app .ui-workspace{min-width:0;max-width:100%}.sheet-app .table-scroll,.sheet-app .ui-table-scroll{overflow-x:auto;overscroll-behavior-x:contain}.sheet-app .settings-workspace{display:flex;flex-direction:column;gap:13px}.sheet-app .settings-workspace>*{width:100%;min-width:0}.sheet-app .mill-shell .settings-workspace>.sheet-tabs{display:flex;flex-direction:row;align-self:auto;overflow-x:auto;flex:0 0 auto;min-height:0;width:100%;margin:0}.sheet-app .mill-shell .settings-workspace>.sheet-tabs button{width:auto;flex:0 0 auto;white-space:nowrap}.sheet-app .ui-setting-row{flex-wrap:wrap;gap:8px}.sheet-app .ui-setting-row>label{flex:1 1 100%}.sheet-app .ui-setting-row>input{min-width:0;flex:1 1 150px}.sheet-app .sale-entry-modal{display:block;width:100%}.sheet-app .sale-entry-modal>fieldset{margin:13px 0}.sheet-app .sheet-overlay{padding:8px}.sheet-app .sheet-modal{width:min(100%,640px);max-width:100%;max-height:calc(100dvh - 20px);padding:21px}.sheet-app .form-grid{grid-template-columns:1fr}.sheet-app .sheet-modal input,.sheet-app .sheet-modal select,.sheet-app .sheet-modal textarea{max-width:100%}.sheet-app .report-export{flex-wrap:wrap}}@media print{.sheet-app .mobile-bottom-nav,.sheet-app .mobile-more-backdrop,.sheet-app .mobile-more-menu{display:none!important}}@media (max-width:480px){.sheet-app .ui-profile .ui-user-name{display:none}.sheet-app .ui-profile>summary{padding-right:4px;gap:3px}.sheet-app .ui-topbar-tools .ui-icon-button{width:34px;height:34px}.sheet-app .report-kpis,.sheet-app .ui-metrics-row{grid-template-columns:1fr}.sheet-app .ui-metric-card{align-items:center}.sheet-app .ui-metric-num{font-size:20px}.sheet-app .ui-filters{padding:13px}.sheet-app .ui-filter{flex:1 1 100%}.sheet-app .top-actions>*{min-width:0}.sheet-app .top-actions .section-add{flex:1 1 100%;justify-content:center}.sheet-app .report-export button{flex:1 1 auto;justify-content:center}.sheet-app .ui-pagination-bar{gap:8px;flex-wrap:wrap;padding:13px}.sheet-app .ui-pagination-count{flex:1 1 100%}.sheet-app .modal-actions{flex-wrap:wrap}.sheet-app .modal-actions button{flex:1 1 100%}}