/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@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}.fixed{position:fixed}.block{display:block}.hidden{display:none}.grow{flex-grow:1}}: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:#0f172a;--ink-secondary:#334155;--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:#0369a1;--info-bg:#f0f9ff;--info-border:#bae6fd;--shadow-sm:0 1px 2px 0 #0f172a0d;--shadow-md:0 4px 6px -1px #0f172a12,0 2px 4px -2px #0f172a0d;--shadow-lg:0 10px 15px -3px #0f172a14,0 4px 6px -4px #0f172a0a;--shadow-modal:0 20px 25px -5px #0f172a26,0 8px 10px -6px #0f172a1a;--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:14px;line-height:1.5}.home-metric strong,.metric strong,.num,.product-body strong,.tabular,.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}.sheet-app{max-width:1500px;margin:auto;padding:40px 32px;color:#173c33}.connection,.modal-actions,.pagination,.sheet-header,.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.sheet-header{margin-bottom:28px}.sheet-header h1{font-size:30px;margin:8px 0}.eyebrow{letter-spacing:2px;font-size:11px;font-weight:700}.connection{padding:18px 22px;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:20px 0}.sheet-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:24px 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){background:#174d3d;color:white;border:0;border-radius:8px;padding:10px 16px;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:24px;flex-wrap:wrap}.table-toolbar h2{margin:0 0 6px;font-size:22px}.table-toolbar small{color:#738177}.login input,.sheet-app input,.sheet-app select{border:1px solid #d4ddd7;border-radius:8px;padding:11px 12px;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:15px;white-space:nowrap}.sheet-app td{padding:13px 15px;border-bottom:1px solid #edf0ed;max-width:340px;min-width:85px}.sheet-app tr:hover td{background:#fafcfb}.pagination{padding:18px 24px;justify-content:flex-end;font-size:13px}.sheet-message{padding:12px 24px;background:#eef6ef}.sheet-overlay{background:#10281f88}.sheet-modal{width:560px;overflow:auto;background:white;border-radius:16px;padding:28px;box-shadow:0 20px 70px #0003}.login label,.sheet-modal label{display:flex;flex-direction:column;gap:7px;margin:15px 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}.modal-actions{margin-top:22px}.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:46px;line-height:1.2;margin:40px 0 24px}.login-brand p{line-height:1.8;opacity:.8}.login-panel{display:flex;align-items:center;justify-content:center;padding:32px}.login-form{width:360px}.login-form h2{font-size:30px;margin:14px 0}.login-form button{width:100%;margin:15px 0}.login-form small{color:#6c7e73}.brand-mark{display:inline-flex;background:#e3edb7;color:#174d3d;padding:16px;border-radius:12px;font-weight:800}.alert{padding:14px;background:#fee;color:#a11}@media(max-width:800px){.sheet-app{padding:24px 14px}.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:24px}}.sheet-app{max-width:none;padding:0}.sheet-header{padding:14px 30px;margin:0;border-bottom:1px solid #e2e8e3;background:#fff}.sheet-header h1{font-size:17px;margin:3px 0}.sheet-header .eyebrow{font-size:9px;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:28px 16px;display:flex;flex-direction:column;gap:5px}.mill-brand{display:flex;align-items:center;gap:12px;padding:0 14px 30px}.mill-brand small{display:block;font-size:8px;letter-spacing:1.7px;opacity:.55;margin-top:4px}.nav-caption{font-size:9px;letter-spacing:1.5px;opacity:.5;padding:0 14px 12px}.mill-nav>button{display:flex;gap:12px;align-items:center;background:transparent;color:#bdcfc5;text-align:left;font-size:13px;padding:13px 14px}.mill-nav>button:hover{background:#ffffff0b}.mill-nav>button.current{background:#e5edbf;color:#223e2e;font-weight:700}.nav-bottom{margin-top:auto;padding:40px 12px 0;font-size:11px;color:#bad0c4}.nav-bottom div{margin-top:8px;font-size:10px;opacity:.6}.live-dot{display:inline-block;width:6px;height:6px;background:#b1d59f;border-radius:50%;margin-right:6px}.mill-content{padding:30px;min-width:0;max-width:1700px;width:100%;margin:auto}.mill-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.mill-top small{font-size:9px;letter-spacing:1.3px;color:#819185}.mill-top h2{font-size:27px;letter-spacing:-.7px;margin:8px 0 0}.top-actions{display:flex;align-items:center;gap:9px}.operation-toolbar>button,.top-actions button{display:flex;gap:8px;align-items:center}.top-actions input{max-width:165px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.metric{padding:22px;background:white;border:1px solid #e2e7df;border-radius:13px;min-width:0}.metric small{font-size:11px;color:#6f7f73}.metric strong{font-size:26px;letter-spacing:-.7px;display:block;margin:17px 0 8px;overflow-wrap:anywhere}.metric span{font-size:10px;color:#8b968d}.report-note{font-size:11px;line-height:1.7;color:#819084;margin:14px 0 20px}.mill-card>.report-note{padding:0 22px}.setup-banner{background:#eaf0df;border:1px solid #dbe5cd;border-radius:12px;padding:20px}.setup-banner div{flex:1}.setup-banner b{font-size:13px}.setup-banner p{font-size:12px;margin:7px 0 0;line-height:1.6;color:#607355}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.sheet-app .quick-card{display:flex;align-items:center;justify-content:space-between;gap:8px;background:white;border:1px solid #dfe6db;color:#285440;padding:18px 14px;font-size:12px;white-space:normal}.two-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mill-card{border:1px solid #e0e6dc;border-radius:13px;background:white;overflow:hidden;margin-bottom:22px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px}.card-heading h3{font-size:14px;margin:0}.card-heading h2{font-size:22px;margin:6px 0}.card-heading small{font-size:10px;color:#8a978a;letter-spacing:1px}.output-bars{padding:0 22px}.output-bars>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0e9;padding:16px 0;font-size:13px}.output-bars strong{font-size:21px}.output-bars small{font-size:10px;color:#8b968b}.count-badge{border-radius:6px;background:#f4eedd;color:#926b34;padding:4px 9px;font-size:11px}.empty-small{padding:40px 22px;text-align:center;color:#8d9a8e;font-size:12px}.debt-item{padding:15px 22px;border-top:1px solid #f0f2ed;display:flex;justify-content:space-between;gap:12px;font-size:12px}.debt-item small{display:block;margin-top:7px;color:#a58048}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:36px 10px;color:#8b988c}.empty-state b{color:#5b6e5c;font-size:13px}.empty-state span{font-size:11px}.operation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.search-group{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.search-group>input{width:310px}.search-group label{display:flex;align-items:center;gap:7px;font-size:11px}.mill-content table{font-size:11px}.mill-content th{font-size:9px;letter-spacing:.3px}.mill-content td,.mill-content th{padding:14px 12px}.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:10px}.row-actions .secondary{padding:6px 9px;font-size:10px}.status-pill{font-size:10px;background:#eef5e9;color:#527b44;padding:4px 7px;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 17px;margin:0 0 20px;font-size:12px;line-height:1.6}.mill-footer{font-size:10px;color:#8d9a8e;display:flex;align-items:center;gap:6px;margin-top:28px}.transaction-modal{width:670px}.transaction-modal .card-heading{padding:0}.form-grid{gap:0 18px}.transaction-modal textarea{border:1px solid #d4ddd7;border-radius:8px;padding:12px;min-height:70px;resize:vertical;font:inherit}.form-help{font-size:12px!important;line-height:1.7}.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-tabs button{font-size:11px}.mill-content .sheet-message{font-size:12px}@media(max-width:1150px){.mill-shell{grid-template-columns:190px minmax(0,1fr)}.mill-content{padding:22px}.metric strong{font-size:22px}.metric-grid{gap:10px}.quick-grid{grid-template-columns:1fr 1fr}.top-actions button{font-size:11px}.mill-nav>button{font-size:11px;padding:12px 9px;gap:8px}}@media(max-width:800px){.sheet-header{padding:12px 18px}.mill-shell{display:block}.mill-nav{padding:10px;flex-direction:row;overflow-x:auto;position:sticky;top:0;z-index:5}.mill-nav>button{flex-shrink:0;gap:7px;padding:10px}.mill-brand,.nav-bottom,.nav-caption{display:none}.mill-content{padding:20px 14px}.mill-top{align-items:flex-start;flex-direction:column;gap:14px}.mill-top h2{font-size:25px}.metric-grid{grid-template-columns:1fr 1fr}.metric{padding:16px}.metric strong{font-size:22px}.two-panels{grid-template-columns:1fr}.setup-banner{flex-wrap:wrap}.setup-banner div{min-width:200px}.operation-toolbar{align-items:stretch;flex-direction:column}.operation-toolbar>button{justify-content:center;padding:14px}.search-group>input{width:100%}.search-group{gap:10px}.form-grid{grid-template-columns:1fr}.sheet-overlay{padding:12px}.transaction-modal{max-height:94dvh;padding:20px}.modal-actions{flex-direction:column-reverse;align-items:stretch}.card-heading{padding:17px}.card-heading select{max-width:180px}.mill-footer{line-height:1.6}.sheet-app input,.sheet-app select,.transaction-modal textarea{font-size:16px;min-height:44px}.mill-content .sheet-tabs{gap:5px}.mill-content .sheet-tabs button{white-space:normal}.quick-card{min-height:65px}}.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:12px}.sheet-app:has(.home-shell)>.sheet-header{display:none}.home-shell{grid-template-columns:250px minmax(0,1fr);min-height:100vh;background:#f5f8f9;color:#102332}.home-shell .mill-nav{background:linear-gradient(155deg,#113f34,#0b302a);padding:28px 13px 18px;position:sticky;top:0;height:100vh;gap:8px}.home-shell .mill-brand{padding:0 17px 29px;gap:15px}.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:5px}.home-shell .nav-caption{display:none}.home-shell .mill-nav>button{padding:15px 18px;font-size:15px;gap:19px;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 .nav-bottom{padding:0;margin-top:auto}.home-profile{gap:12px;padding:14px;border:1px solid #ffffff15;border-radius:9px;color:#f0f7f4}.home-profile>span{width:42px;height:42px;background:#526966;font-size:17px}.home-profile b{font-size:14px;font-weight:500}.home-profile small{margin-top:5px;font-size:12px;color:#bacfca}.home-shell .nav-bottom .home-profile div{margin:0;opacity:1}.home-profile svg{margin-left:auto}.home-shell .mill-content{padding:22px 30px;max-width:1900px;margin:0 auto}.home-shell .mill-top{margin-bottom:30px;min-height:61px}.home-title h2{font-size:28px;margin:0 0 8px;letter-spacing:-.6px;color:#101b24;font-weight:700}.home-title p{display:flex;align-items:center;gap:14px;color:#536b7b;margin:0;font-size:14px}.home-shell .top-actions{gap:14px}.home-shell .top-actions input{max-width:195px;min-height:47px;border-color:#dce5e9;font-size:14px}.home-shell .top-actions button{padding:13px 19px;font-size:14px;min-height:47px}.sheet-app .home-logout{background:#fff7f7;border:1px solid #ffd9da;color:#b9141b;display:flex;gap:10px;align-items:center}.home-shell .mill-footer{font-size:11px}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.home-metric{display:flex;gap:20px;padding:23px 20px;min-width:0;border:1px solid #e5ecef;border-radius:13px;background:#fff;box-shadow:0 3px 10px #173b4b02}.home-icon{width:58px;height:58px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e9f7ef;color:#0b533e}.metric-body{min-width:0}.metric-body>p{font-size:13px;color:#496173;line-height:1.5;margin:3px 0 12px}.metric-body>strong{font-size:clamp(23px,2vw,34px);line-height:1.25;letter-spacing:-.8px;color:#080e13;display:block;overflow-wrap:anywhere}.metric-body>strong small{font-size:16px;letter-spacing:0;white-space:nowrap}.home-metric.loss .home-icon{background:#fff1f2;color:#b21219}.home-metric.loss strong{color:#a3060d}.metric-trend{gap:8px;flex-wrap:wrap;font-size:12px;margin-top:12px;line-height:1.4}.metric-trend>span:last-child{color:#6e8393}.metric-trend.positive{color:#009052}.metric-trend.negative{color:#bc1822}.metric-trend.neutral{color:#718694}.metric-period{display:block;font-size:12px;color:#7c90a0;margin-top:10px}.home-shortcuts{gap:18px;margin:20px 0}.sheet-app .home-shortcuts button{display:flex;align-items:center;gap:18px;text-align:left;white-space:normal;min-height:66px;padding:16px 22px;background:#fff;border:1px solid #e0e9ed;border-radius:11px;color:#102d39;font-size:16px;font-weight:600}.home-shortcuts button>svg{flex-shrink:0}.home-shortcuts button>svg:last-child{margin-left:auto;width:18px}.sheet-app .home-shortcuts button:first-child{background:linear-gradient(110deg,#104f3f,#10543f);border-color:#164f41;color:white}.home-shortcuts button:hover{box-shadow:0 3px 12px #0d4b4012;transform:translateY(-1px)}.home-panels{gap:18px}.home-card{background:white;border:1px solid #e2eaee;border-radius:12px;min-width:0;overflow:hidden}.home-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px}.home-card h3{display:flex;align-items:center;gap:17px;font-size:18px;font-weight:650;letter-spacing:-.4px;margin:0}.home-card h3>svg{width:27px;height:27px;color:#133943;flex-shrink:0}.home-month{display:flex;gap:12px;white-space:nowrap;font-size:12px;padding:8px 14px;border-radius:24px;background:#f0f5f6;color:#3c5664}.home-production{padding:0 24px}.home-product{gap:18px;padding:15px 0;border-top:1px solid #edf1f3}.home-product .home-icon{width:52px;height:52px}.product-body>div:first-child{align-items:center;margin-bottom:9px;gap:8px}.product-body b{font-size:14px;font-weight:600}.product-body strong{font-size:21px;line-height:1.2;color:#102126}.product-body small{font-size:12px;color:#61788c;font-weight:400;margin-left:7px}.product-progress{gap:15px}.progress-track{height:10px;background:#e5ecef;border-radius:8px}.progress-track>span{border-radius:8px;background:linear-gradient(90deg,#104737,#0b6949)}.product-progress>span{color:#5e7687;min-width:35px}.sheet-app .debt-count{display:flex;gap:15px;background:#fff0f2;color:#c11d29;padding:9px 12px;border-radius:22px}.home-debts{padding:4px 14px 20px}.sheet-app .home-debt{display:flex;width:100%;align-items:center;gap:15px;white-space:normal;text-align:left;padding:19px 17px;border:1px solid #ffe3e7;background:#fff7f8;color:#bb1020;border-radius:10px;margin-bottom:10px}.home-debt .home-icon{background:#ffeaed;color:#bd1020;width:52px;height:52px}.debt-person{flex:1;min-width:0}.debt-person b{font-size:14px;color:#15222a;display:block;overflow-wrap:anywhere}.debt-person>small{display:block;color:#9c545c;font-size:12px;margin-top:9px}.debt-person em{font-style:normal;color:#d51b2b}.home-debt>strong{font-size:20px;white-space:nowrap}.home-debt>strong small{font-size:13px}.home-empty{padding:55px 20px;color:#748994;font-size:14px}.home-note{color:#718590;line-height:1.6;margin:12px 0}.home-card>.home-note{padding:0 24px;margin:1px 0 13px}.home-recent{margin-top:20px;padding-bottom:18px}.sheet-app .home-all{background:#f0f5f5;color:#164d3d;display:flex;gap:14px;font-size:13px;padding:10px 17px}.home-recent .table-scroll{margin:0 18px;border:1px solid #edf2f4;border-radius:9px}.home-recent th{background:#f3f6f7;color:#526d7f;font-size:10px;font-weight:500;padding:17px}.home-recent td{font-size:13px;padding:18px 17px;color:#112f37}.home-recent td:first-child{font-weight:700}.home-recent tr:last-child td{border-bottom:0}@media(min-width:1500px){.home-metric{min-height:172px}.home-panels>.home-card{min-height:300px}}@media(max-width:1300px){.home-shell{grid-template-columns:215px minmax(0,1fr)}.home-shell .mill-content{padding:22px}.home-metric{gap:12px;padding:19px 14px}.home-metric>.home-icon{width:43px;height:43px}.metric-body>strong{font-size:24px}.home-shortcuts{gap:12px}.sheet-app .home-shortcuts button{font-size:13px;padding:15px;gap:10px}.home-card h3{font-size:16px;gap:10px}.home-card>header{padding:18px}.home-debt>strong{font-size:16px}.home-debt{flex-wrap:wrap}.home-metrics{gap:12px}}@media(max-width:1080px){.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.home-panels{grid-template-columns:1fr}.home-shell .mill-top{align-items:flex-start;flex-wrap:wrap}.home-metric{padding:20px}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.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:10px;position:sticky;flex-direction:row;gap:6px}.home-shell .mill-brand,.home-shell .nav-bottom{display:none}.home-shell .mill-nav>button{padding:10px 12px}.home-shell .mill-content{padding:20px 14px}.home-title h2{font-size:25px}.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:11px;font-size:12px}.home-shell .mill-top{margin-bottom:22px;gap:20px}.home-metric{padding:15px;gap:10px}.metric-body>strong{font-size:23px}.metric-body>strong small{font-size:12px}.home-metric>.home-icon{display:none}.metric-body>p{font-size:12px}.home-shortcuts button>svg{width:22px}.home-card>header{padding:17px 14px}.home-card h3{font-size:15px}.home-month{font-size:11px;padding:7px}.home-production{padding:0 15px}.home-debt .home-icon{display:none}.home-debt>strong{font-size:18px}.home-recent .table-scroll{margin:0 10px}.home-recent td,.home-recent th{white-space:nowrap}.home-note{font-size:10px}}.mill-shell:not(.home-shell){grid-template-columns:245px minmax(0,1fr);background:#f5f8f8;min-height:calc(100vh - 70px);color:#102332}.mill-shell:not(.home-shell) .mill-nav{background:linear-gradient(155deg,#103f33,#07352c);padding:25px 13px;gap:9px}.mill-shell:not(.home-shell) .mill-brand{padding:0 14px 28px;gap:15px}.mill-shell:not(.home-shell) .mill-brand>svg{width:32px;height:38px;color:#e5f0d8}.mill-shell:not(.home-shell) .mill-brand b{font-size:19px}.mill-shell:not(.home-shell) .mill-brand small{font-size:10px;letter-spacing:1px;margin-top:6px}.mill-shell:not(.home-shell) .nav-caption{display:none}.mill-shell:not(.home-shell) .mill-nav>button{display:flex;align-items:center;gap:18px;font-size:14px;font-weight:600;padding:15px 16px;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:28px 30px;align-self:start;margin:0 auto;max-width:1900px}.mill-shell:not(.home-shell) .mill-top{margin-bottom:25px;gap:20px}.mill-shell:not(.home-shell) .mill-top small{font-size:12px;color:#708592;letter-spacing:.3px}.mill-shell:not(.home-shell) .mill-top h2{font-size:30px;font-weight:700;color:#101c28;margin-top:17px;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:14px}.mill-shell:not(.home-shell) .top-actions button{min-height:46px;font-size:13px;padding:12px 18px}.mill-shell:not(.home-shell) .operation-toolbar{padding:17px 18px;border:1px solid #e4ebed;border-radius:11px;background:white;box-shadow:0 3px 7px #142f3a04;margin-bottom:18px;gap:16px}.mill-shell:not(.home-shell) .search-group{flex:1;gap:20px}.mill-shell:not(.home-shell) .search-group>input{width:min(520px,100%);background:#f5f8f8;min-height:46px;font-size:14px}.mill-shell:not(.home-shell) .search-group label{font-size:12px;color:#5f7481}.mill-shell:not(.home-shell) .operation-toolbar>button{min-height:45px;background:#0b4938;padding:13px 21px;font-size:14px;border-radius:8px}.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:22px 24px}.mill-shell:not(.home-shell) .card-heading h3{font-size:17px;color:#142934}.mill-shell:not(.home-shell) table{font-size:13px}.mill-shell:not(.home-shell) th{background:#f2f6f6;color:#5e7482;font-size:10px;letter-spacing:.25px;font-weight:600;padding:21px 17px;border-bottom:1px solid #e9eff0}.mill-shell:not(.home-shell) td{padding:19px 17px;border-bottom:1px solid #e6edef;color:#18313e}.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:7px 12px;border-radius:5px;background:#eaf5e9;color:#347647;font-size:12px;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 12px;font-size:12px}.mill-shell:not(.home-shell) .pagination{padding:22px 24px;gap:13px;min-height:78px;color:#627989;font-size:12px}.mill-shell:not(.home-shell) .pagination button{border:1px solid #dfe8e9;background:white;color:#155743;padding:10px 15px;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:17px 21px;border-radius:9px;color:#527066;font-size:12px;line-height:1.7}.mill-shell:not(.home-shell) .mill-card>.report-note{margin:0 18px 18px}.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:9px;margin-bottom:21px}.mill-shell:not(.home-shell) .sheet-tabs button{padding:12px 16px;font-size:12px;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:12px;line-height:1.7}.mill-shell:not(.home-shell) .table-toolbar{padding:23px}.mill-shell:not(.home-shell) .table-toolbar h2{font-size:21px}.mill-shell:not(.home-shell) .table-toolbar small{font-size:12px}.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 16px}.mill-shell:not(.home-shell) .mill-footer{font-size:11px;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:23px}.mill-shell:not(.home-shell) .mill-nav>button{font-size:12px;gap:12px;padding:14px 12px}.mill-shell:not(.home-shell) .search-group>input{width:min(380px,100%)}.mill-shell:not(.home-shell) td,.mill-shell:not(.home-shell) th{padding:16px 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:10px;gap:6px}.mill-shell:not(.home-shell) .mill-brand,.mill-shell:not(.home-shell) .nav-bottom{display:none}.mill-shell:not(.home-shell) .mill-nav>button{padding:10px 12px;gap:8px}.mill-shell:not(.home-shell) .mill-content{padding:20px 14px}.mill-shell:not(.home-shell) .mill-top h2{font-size:26px;margin-top:10px}.mill-shell:not(.home-shell) .top-actions{flex-wrap:wrap;gap:8px}.mill-shell:not(.home-shell) .operation-toolbar{padding:13px}.mill-shell:not(.home-shell) .search-group>input{width:100%}.mill-shell:not(.home-shell) .sheet-tabs{gap:6px}.mill-shell:not(.home-shell) .sheet-tabs button{padding:10px 12px}.mill-shell:not(.home-shell) .table-toolbar{padding:17px}.mill-shell:not(.home-shell) .table-toolbar input{min-width:0;width:100%}.mill-shell:not(.home-shell) .pagination{padding:18px 12px}.mill-shell:not(.home-shell) .report-note{padding:14px;font-size:12px}.mill-shell:not(.home-shell) table{font-size:12px}.mill-shell:not(.home-shell) input,.mill-shell:not(.home-shell) select{font-size:16px}}.report-heading h2{font-size:22px;margin:0 0 8px}.report-footnote,.report-heading p{font-size:12px;color:#627b87;line-height:1.7}.report-export{gap:10px}.report-export button{display:flex;gap:8px;white-space:nowrap;font-size:12px}.report-context{gap:24px;padding:20px;background:#eef5f3;border:1px solid #dfe9e5;border-radius:10px}.report-context div{gap:9px;min-width:90px;max-width:100%;overflow-wrap:anywhere}.report-context small{color:#6a818c}.report-context b{font-size:12px;font-weight:500}.report-filters{gap:13px;align-items:end;background:white;border:1px solid #e1eaeb;padding:18px;border-radius:10px}.report-filters label{gap:7px;color:#536e7a;flex:1 1 170px;min-width:0}.report-filters input,.report-filters select{width:100%;font-size:13px}.report-filters button{font-size:12px;min-height:42px}.report-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0}.report-kpis>div{background:white;border:1px solid #dfe9e9;border-radius:9px;padding:18px}.report-kpis small{font-size:12px;color:#6e838d;margin-bottom:14px}.report-kpis strong{font-size:22px;overflow-wrap:anywhere}.report-types{margin:20px 0}.sheet-app .report-types button{display:flex;gap:9px;background:white;color:#2a5360;border:1px solid #dce7e6;font-size:12px;padding:12px}.sheet-app .report-types button.selected{background:#104b3b;color:white;border-color:#104b3b}.report-ranking>button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:transparent;color:#173d35;border-radius:0;padding:15px 20px;font-size:12px;white-space:normal}.report-ranking>button>span:first-child{width:30%;overflow-wrap:anywhere}.rank-track{height:7px;background:#e6edeb;border-radius:8px;flex:1;overflow:hidden}.rank-track i{display:block;height:100%;background:#187859;border-radius:8px}.report-ranking b{min-width:65px;text-align:right}.report-empty{padding:30px;color:#6d848c;font-size:13px}.report-print-table{display:none}.report-monthly{margin-top:20px;font-size:13px}.report-monthly summary{cursor:pointer;padding:15px;background:#edf5f1;border-radius:8px}@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:19px}}@media print{@page{size:A4 landscape;margin:12mm}body{background:white!important}.mill-footer,.mill-nav,.mill-top,.pagination,.report-export,.report-filters,.report-monthly,.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:9px!important}.report-explorer td,.report-explorer th{padding:6px!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}.report-explorer .two-panels{display:none!important}}.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);padding:24px 14px 18px;gap:6px;overflow-y:auto;z-index:40}.sheet-app .mill-shell .mill-brand{gap:13px;padding:4px 10px 22px;margin-bottom:12px;color:#ffffff}.sheet-app .mill-shell .mill-brand svg{color:var(--primary-gold);flex-shrink:0}.sheet-app .mill-shell .mill-brand b{font-size:16px;letter-spacing:-.02em;line-height:1.2;display:block}.sheet-app .mill-shell .mill-brand small{font-size:11px;color:#9ebdb0;letter-spacing:.03em;display:block;margin-top:3px}.sheet-app .mill-shell .nav-caption{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#658c7c;padding:8px 12px 4px}.sheet-app .mill-shell .mill-nav>button{display:flex;align-items:center;gap:13px;width:100%;height:44px;padding:0 14px;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:#bed5ca;font-size:13.5px;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 .nav-bottom{margin-top:auto;padding:12px 14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:var(--radius-md);color:#cde2d7;font-size:11px;line-height:1.5}.sheet-app .mill-shell .nav-bottom .live-dot{display:inline-block;width:7px;height:7px;background:#4ade80;border-radius:50%;margin-right:6px;box-shadow:0 0 8px #4ade80}.sheet-app .mill-shell .nav-bottom div{font-size:10px;color:#8dafa1;margin-top:4px}.home-profile{display:flex;align-items:center;gap:10px}.home-profile>span{width:34px;height:34px;border-radius:50%;background:#195b45;color:#ffffff;display:grid;place-items:center;font-weight:700;font-size:13px}.home-profile b{display:block;font-size:13px;color:#ffffff}.home-profile small{display:block;font-size:11px;color:#8bb1a2}.sheet-app .mill-shell .mill-content{width:100%;max-width:1780px;margin:0 auto;padding:0 32px 36px;min-height:100vh}.ui-topbar{height:64px;background:var(--surface);border-bottom:1px solid var(--line);margin:0 -32px 24px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:30;box-shadow:0 1px 3px rgba(0,0,0,.02)}.ui-topbar-title{font-size:14px;font-weight:600;color:var(--ink);letter-spacing:-.01em}.ui-topbar-tools{display:flex;align-items:center;gap:14px;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:9px;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:11px;font-weight:700}.ui-profile b{font-size:12.5px;font-weight:600;color:var(--ink)}.ui-profile small{display:block;font-size:10px;color:var(--ink-muted)}.ui-profile>div{position:absolute;right:0;top:46px;min-width:220px;padding:6px;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:10px;align-items:center;padding:10px 12px;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;margin-bottom:22px}.sheet-app .mill-shell .ui-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;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{font-size:24px;color:var(--ink);margin:4px 0 0}.section-description{color:var(--ink-muted);font-size:13px;line-height:1.4;margin:4px 0 0}.sheet-app .mill-shell .top-actions{gap:10px;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 12px;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 16px;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:12px 16px;margin-bottom:20px;font-size:13px;line-height:1.5}.setup-banner{display:flex;gap:16px;align-items:center;background:#eef7f2;border:1px solid #c9e6d7;border-radius:var(--radius-md);padding:18px 22px;margin-bottom:20px}.setup-banner svg{color:var(--primary);flex-shrink:0}.setup-banner b{font-size:14px;color:var(--ink)}.setup-banner p{font-size:12.5px;color:var(--ink-muted);margin:3px 0 0}.setup-banner button{margin-left:auto;background:var(--primary);color:#ffffff;border:0;border-radius:var(--radius-sm);padding:9px 16px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s ease}.setup-banner button:hover{background:var(--primary-hover);color:#ffffff}.home-metrics,.ui-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.home-metric,.ui-metric{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;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}.home-metric:hover,.ui-metric:hover{box-shadow:var(--shadow-md)}.home-icon,.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}.metric-body,.ui-metric>div{min-width:0;flex:1}.metric-body>p,.ui-metric p{font-size:12.5px;font-weight:500;color:var(--ink-muted);margin:0 0 6px;line-height:1.3}.metric-body>strong,.ui-metric strong{display:block;font-size:22px;font-weight:700;color:var(--ink);letter-spacing:-.02em;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.metric-body>strong small,.ui-metric strong small{font-size:12.5px;font-weight:500;color:var(--ink-muted);margin-left:4px}.metric-period,.ui-metric div>small{display:block;color:var(--ink-faint);font-size:11px;margin-top:6px}.metric-trend{display:flex;gap:6px;align-items:center;font-size:11.5px;font-weight:600;margin-top:8px}.metric-trend.positive{color:var(--success)}.metric-trend.negative{color:var(--danger)}.metric-trend.neutral{color:var(--ink-muted)}.home-metric.loss .home-icon,.ui-metric.red .ui-metric-icon{background:var(--danger-bg);color:var(--danger);border-color:var(--danger-border)}.home-metric.loss strong,.ui-metric.red strong{color:var(--danger)}.ui-scope{font-size:11px;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:12px 0}.ui-production-strip .ui-metric{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:4px 22px}.ui-production-strip .ui-metric:last-child{border-right:0}.ui-production-strip .ui-metric-icon{display:none}.home-shortcuts-section{margin:18px 0 24px}.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-action-card,.sheet-app .home-shortcuts button.home-action-card,.sheet-app button.home-action-card{display:flex!important;align-items:center!important;gap:15px!important;padding:16px 18px!important;min-height:80px!important;background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:14px!important;cursor:pointer!important;text-align:left!important;white-space:normal!important;box-shadow:0 1px 3px rgba(0,0,0,.04)!important;transition:all .2s cubic-bezier(.16,1,.3,1)!important;position:relative!important}.home-action-card:hover,.sheet-app .home-shortcuts button.home-action-card:hover,.sheet-app button.home-action-card:hover{background:#ffffff!important;border-color:#092e23!important;box-shadow:0 8px 22px rgba(9,46,35,.08)!important;transform:translateY(-2px)!important}.action-icon-box{width:46px!important;height:46px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;transition:transform .2s ease!important}.home-action-card:hover .action-icon-box{transform:scale(1.06)!important}.action-icon-box.tone-emerald{background:#ecfdf5!important;color:#059669!important;border:1px solid #a7f3d0!important}.action-icon-box.tone-blue{background:#eff6ff!important;color:#2563eb!important;border:1px solid #bfdbfe!important}.action-icon-box.tone-green{background:#f0fdf4!important;color:#16a34a!important;border:1px solid #bbf7d0!important}.action-icon-box.tone-amber{background:#fffbeb!important;color:#d97706!important;border:1px solid #fde68a!important}.action-body{display:flex!important;flex-direction:column!important;gap:3px!important;flex:1!important;min-width:0!important}.action-title{font-size:14.5px!important;font-weight:700!important;color:#0f172a!important;line-height:1.25!important}.action-subtitle{font-size:11.5px!important;font-weight:450!important;color:#64748b!important;line-height:1.35!important}.action-arrow{width:28px!important;height:28px!important;border-radius:50%!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#94a3b8!important;flex-shrink:0!important;transition:all .2s ease!important}.home-action-card:hover .action-arrow{background:#092e23!important;border-color:#092e23!important;color:#ffffff!important;transform:translateX(2px)!important}.home-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.home-card,.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,.home-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line-subtle);background:var(--surface)}.card-heading h3,.home-card h3{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650;color:var(--ink);margin:0}.home-card h3 svg{color:var(--primary)}.home-month{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;font-weight:500;padding:4px 10px;border-radius:var(--radius-full);background:var(--surface-alt);color:var(--ink-muted);border:1px solid var(--line)}.home-production{padding:6px 20px}.home-product{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line-subtle)}.home-product:last-child{border-bottom:0}.product-body{flex:1;min-width:0}.product-body>div:first-child{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.product-body b{font-size:13px;color:var(--ink)}.product-body strong{font-size:15px;color:var(--ink)}.product-progress{display:flex;align-items:center;gap:12px}.progress-track{height:8px;background:#e2e8f0;border-radius:var(--radius-full);flex:1;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:var(--radius-full);background:linear-gradient(90deg,#0e3d2f,#15803d)}.product-progress>span{font-size:12px;font-weight:600;color:var(--ink-secondary);min-width:36px;text-align:right}.sheet-app .debt-count{display:inline-flex;gap:8px;align-items:center;background:var(--danger-bg);border:1px solid var(--danger-border);color:var(--danger);font-size:12px;font-weight:600;padding:5px 12px;border-radius:var(--radius-full);cursor:pointer;transition:all .15s ease}.sheet-app .debt-count:hover{background:#fde8e8;border-color:#f87171;color:#991b1b}.home-debts{padding:10px 16px 16px}.sheet-app .home-debt,.sheet-app button.home-debt{display:flex!important;width:100%!important;align-items:center!important;gap:14px!important;padding:13px 16px!important;border:1px solid #fee2e2!important;background:#fffafa!important;border-radius:12px!important;margin-bottom:9px!important;cursor:pointer!important;text-align:left!important;transition:all .15s ease!important;box-shadow:0 1px 2px rgba(0,0,0,.02)!important}.sheet-app .home-debt:hover,.sheet-app button.home-debt:hover{background:#fee2e2!important;border-color:#fca5a5!important;transform:translateY(-1px)!important}.sheet-app .home-debt .home-icon{width:42px!important;height:42px!important;border-radius:10px!important;background:#fee2e2!important;color:#dc2626!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}.sheet-app .home-debt .debt-person{flex:1!important;min-width:0!important}.sheet-app .home-debt .debt-person b{font-size:13.5px!important;font-weight:600!important;color:#1e293b!important;display:block!important;overflow-wrap:anywhere!important}.sheet-app .home-debt .debt-person small{display:block!important;font-size:11.5px!important;color:#64748b!important;margin-top:3px!important}.sheet-app .home-debt .debt-person em{font-style:normal!important;color:#dc2626!important;font-weight:600!important}.sheet-app .home-debt>strong{font-size:15.5px!important;font-weight:700!important;color:#dc2626!important;white-space:nowrap!important}.sheet-app .home-debt>strong small{font-size:11.5px!important;font-weight:500!important;color:#991b1b!important}.sheet-app .home-debt>svg:last-child{color:#94a3b8!important;flex-shrink:0!important}.home-empty{padding:40px 16px;text-align:center;color:var(--ink-muted);font-size:13px}.home-note{font-size:11px;color:var(--ink-muted);line-height:1.5;padding:10px 20px 14px;margin:0}.sheet-app .home-all{background:var(--surface-alt);border:1px solid var(--line);color:var(--primary);font-size:12px;font-weight:600;padding:6px 12px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;gap:6px;cursor:pointer;transition:all .15s ease}.sheet-app .home-all:hover{background:var(--surface-hover);border-color:var(--primary);color:var(--primary-hover)}.ui-filters{align-items:flex-end;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:18px}.ui-search{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 12px;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:11px;font-weight:600;color:var(--ink-muted)}.sheet-app .ui-filter select{width:100%;color:var(--ink);padding:0 10px}.sheet-app .ui-filter select,.sheet-app .ui-filter-toggle{font-size:12.5px;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 14px;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:16px;align-items:center;font-size:12px;background:#eef7f3;border:1px solid #d3eadc;padding:10px 16px;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:20px}.sheet-app .ui-debt-tabs button{height:34px;padding:0 18px;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:24px}.ui-list,.ui-list>header{background:var(--surface)}.ui-list>header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid var(--line-subtle)}.ui-list h3{font-size:14.5px;font-weight:650;margin:0;color:var(--ink)}.ui-list h3>span{font-size:12px;font-weight:500;color:var(--ink-muted);margin-left:6px}.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:12px 16px!important;background:var(--surface-alt)!important;font-size:12.5px!important;font-weight:600!important;letter-spacing:normal!important;text-transform:none!important;color:#475569!important;white-space:nowrap!important;border-bottom:1px solid var(--line)!important}.sheet-app .mill-shell .ui-table td,.sheet-app td{padding:12px 14px;font-size:13px;color:var(--ink-secondary);border-bottom:1px solid var(--line-subtle);line-height:1.4;height:48px;vertical-align:middle}.sheet-app .mill-shell .ui-table tr:hover td,.sheet-app tr:hover td{background:var(--surface-hover)}.tabular,.ui-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ui-id{color:var(--primary);font-size:12.5px;font-weight:650}.ui-person,.ui-person b{display:block}.ui-person b{font-size:13px;font-weight:600;color:var(--ink)}.ui-person small{display:block;color:var(--ink-muted);font-size:11px;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:#1e293b!important;font-size:13px!important}.ui-person small{font-size:11px!important;color:#64748b!important}.status-pill,.ui-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:var(--radius-sm);font-size:11.5px;font-weight:600;white-space:nowrap;line-height:1.3}.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:12px 18px;border-top:1px solid var(--line);background:var(--surface);font-size:12.5px;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:12px;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 14px;border-radius:var(--radius-sm);font-size:12.5px;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:12px 16px;margin:18px 0;padding:0}.ui-detail dl>div{background:var(--canvas);border:1px solid var(--line);border-radius:var(--radius-sm);padding:10px 14px}.ui-detail dt{font-size:11px;font-weight:600;color:var(--ink-muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}.ui-detail dd{margin:0;font-size:13.5px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}.ui-debt-documents{display:flex;flex-direction:column;gap:10px;margin:16px 0;max-height:400px;overflow-y:auto}.ui-debt-documents article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;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:11.5px;color:var(--ink-muted)}.ui-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:42px 16px;color:var(--ink-muted)}.ui-empty svg{color:var(--ink-faint)}.ui-empty b{font-size:14px;color:var(--ink-secondary)}.ui-empty span{font-size:12px}.sheet-overlay{position:fixed;inset:0;background:rgba(15,23,42,.65);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100;padding:24px}.sheet-modal{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-modal);padding:24px;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 14px}.sheet-modal label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:600;color:var(--ink-secondary);margin-bottom:12px}.sheet-modal input:not([type=checkbox]),.sheet-modal select,.sheet-modal textarea{border:1px solid var(--line);border-radius:var(--radius-sm);padding:9px 12px;font-size:13.5px;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:12px}.full-width{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;padding-top:16px;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 16px;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;gap:0 24px}.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:16px;display:flex;flex-direction:column}.ui-customer-picker>header{display:flex;align-items:center;gap:8px;color:var(--primary);margin-bottom:6px}.ui-customer-picker h3{font-size:14px;font-weight:700;margin:0;color:var(--ink)}.ui-customer-picker h3 small{background:#e2f0e7;color:var(--primary);padding:2px 7px;border-radius:var(--radius-full);font-size:11px}.ui-customer-picker>p{font-size:11.5px;color:var(--ink-muted);margin:0 0 10px}.ui-customer-list{max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;margin-top:10px}.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:10px 12px;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:12.5px;font-weight:600}.ui-customer-list small{font-size:10.5px;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:11px;font-weight:600;padding:3px 8px;border-radius:4px;margin-top:6px}.ui-customer-phone{gap:6px;color:var(--ink-muted);margin-top:6px}.ui-customer-phone,.ui-customer-select{display:flex;align-items:center;font-size:11px}.ui-customer-select{justify-content:flex-end;gap:4px;font-weight:600;color:var(--primary);margin-top:8px}.settings-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}.settings-workspace>.scope-note{grid-column:1/-1;font-size:12.5px;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:10px;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:10px;padding:10px 12px;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 20px 20px}.ui-setting-row{display:flex;align-items:center;gap:16px;padding:12px 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 12px;background:var(--surface-alt);color:var(--ink);font-size:13px}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 22px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:18px}.report-heading h2{font-size:20px;font-weight:700;color:var(--ink);margin:0 0 4px}.report-heading p{font-size:12.5px;color:var(--ink-muted);margin:0}.report-export{display:flex;gap:8px}.report-export button{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:12.5px;font-weight:600}.report-context{display:flex;gap:20px;flex-wrap:wrap;padding:14px 20px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:18px}.report-context div{display:flex;flex-direction:column;gap:4px}.report-context small{font-size:11px;color:var(--ink-muted)}.report-context b{font-size:12.5px;color:var(--ink)}.report-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.report-kpis>div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:14px;box-shadow:var(--shadow-sm)}.report-kpis small{display:block;font-size:11.5px;color:var(--ink-muted);margin-bottom:6px}.report-kpis strong{font-size:18px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}.report-types{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.sheet-app .report-types button{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--ink-secondary);font-size:12.5px;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}.sheet-app .report-ranking>button:hover{background:var(--surface-hover);color:var(--ink)}.report-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end;padding:14px 18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);margin-bottom:18px}.report-filters label{display:flex;flex-direction:column;gap:4px;font-size:11px;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 10px;font-size:12.5px;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)}.home-metrics,.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 12px;gap:6px;overflow-x:auto;z-index:50}.sheet-app .mill-shell .mill-brand,.sheet-app .mill-shell .nav-bottom,.sheet-app .mill-shell .nav-caption{display:none}.sheet-app .mill-shell .mill-nav>button{height:36px;padding:0 10px;font-size:12px;white-space:nowrap;width:auto}.sheet-app .mill-shell .mill-content{padding:0 16px 24px}.ui-topbar{margin:0 -16px 18px;padding:0 16px}.home-metrics,.home-panels,.home-shortcuts,.ui-metrics{grid-template-columns:1fr}.sheet-app .mill-shell .sale-entry-modal{display:block}.ui-customer-picker{margin-top:16px}.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:24px 16px 20px;display:flex;flex-direction:column}.sheet-app .mill-shell .mill-brand{display:flex;align-items:center;gap:12px;padding:0 8px 24px;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:15px;font-weight:700;color:#ffffff;letter-spacing:.02em}.sheet-app .mill-shell .mill-brand small{font-size:10px;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:12px;width:100%;height:44px;padding:0 14px;border:none!important;border-radius:10px!important;background:transparent!important;color:#bed5ca!important;font-size:13.5px;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:12px;padding:14px;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:11px;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 32px;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:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:0 14px;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:13.5px;color:#0f172a;width:100%}.ui-global-search input::placeholder{color:#94a3b8}.ui-global-search kbd{font-size:11px;font-weight:600;color:#64748b;background:#ffffff;border:1px solid #cbd5e1;border-radius:6px;padding:2px 7px;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 12px 6px;font-size:11px;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:12px;width:100%;padding:9px 12px;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:13.5px;color:#0f172a}.ui-global-dropdown .item-tag{font-size:10px;font-weight:600;padding:2px 6px;border-radius:4px;background:#e2e8f0;color:#475569}.ui-global-dropdown .item-info small{display:block;font-size:11.5px;color:#64748b}.sheet-app .ui-topbar-tools{display:flex;align-items:center;gap:12px}.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:10px;padding:4px 12px 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:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.sheet-app .ui-profile .ui-user-name{font-size:13.5px;font-weight:600;color:#0f172a}.sheet-app .mill-shell .mill-top{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px;gap:20px}.ui-breadcrumbs{display:flex;align-items:center;gap:6px;font-size:13px;color:#64748b;margin-bottom:4px}.ui-breadcrumbs span:last-child{color:#0f172a;font-weight:600}.sheet-app .mill-shell .mill-top h2{font-size:28px;font-weight:700;color:#0f172a;margin:0;letter-spacing:-.02em}.sheet-app .mill-shell .section-description{font-size:14px;color:#64748b;margin:4px 0 0}.sheet-app .mill-shell .top-actions{display:flex;align-items:center;gap:12px}.ui-month-picker{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;font-size:13.5px;font-weight:500;color:#0f172a;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 20px;background:#092e23;color:#ffffff;font-size:13.5px;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:12px;margin-bottom:24px;flex-wrap:wrap}.ui-filters .ui-search{display:flex;align-items:center;gap:10px;background:#ffffff;border:1px solid #e2e8f0;border-radius:10px;padding:0 14px;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:13.5px;color:#0f172a;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 16px;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:13.5px;font-weight:500;color:#334155;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 18px!important;background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:10px!important;font-size:13.5px!important;font-weight:500!important;color:#334155!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:20px;margin-bottom:24px}.ui-metric-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:22px 20px;display:flex;align-items:center;gap:16px;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:12.5px;font-weight:500;color:#64748b;margin:0}.ui-metric-num{font-size:21px;font-weight:700;color:#0f172a;letter-spacing:-.02em;line-height:1.25;white-space:nowrap}.ui-metric-trend-text{font-size:12px;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:20px 24px;border-bottom:1px solid #f1f5f9}.ui-list-header h3{font-size:18px;font-weight:700;color:#0f172a;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:14px 20px;font-size:12.5px;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:16px 20px;font-size:13.5px;color:#1e293b;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:10px;font-weight:500;color:#0f172a}.ui-category-cell .category-icon{color:#64748b;flex-shrink:0}.ui-badge-dot{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:20px;font-size:12.5px;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:#475569}.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:16px 24px;border-top:1px solid #f1f5f9;background:#ffffff}.ui-pagination-count{font-size:13px;color:#64748b}.ui-pagination-controls{display:flex;align-items:center;gap:6px}.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 10px;border-radius:8px;background:#092e23;color:#ffffff;font-size:13.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}