:root{--ink:#20352e;--muted:#7a8781;--green:#176c4e;--line:#e7ebe8;--bg:#f5f7f5}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;transition:background .15s}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{border:1px solid #dfe5e0;border-radius:7px;background:#fff;padding:11px 12px;color:var(--ink);outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #176c4e10}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:17px;font-weight:650;letter-spacing:-.25px}h3{font-size:16px;font-weight:600}small{font-size:11px;color:var(--muted)}strong{font-weight:600}.primary{background:var(--green);color:#fff;padding:12px 17px;border-radius:7px;font-weight:600;box-shadow:0 3px 5px #176c4e12}.primary:hover{background:#10583e}.secondary{background:#fff;border:1px solid #dce3de;padding:10px 14px;border-radius:7px;font-weight:500}.secondary:hover{background:#f3f7f4}.danger{background:#fff0ed;color:#bc4837;padding:11px 15px;border-radius:6px}.link{background:none;color:var(--green);font-weight:600;padding:0;white-space:nowrap}.icon-button{background:none;color:var(--muted);padding:7px;border-radius:5px}.icon-button:hover{background:#edf3ee;color:var(--green)}.brand{display:flex;align-items:center;gap:11px}.brand-symbol{display:flex;align-items:center;justify-content:center;width:36px;height:38px;background:var(--green);color:#fff;border-radius:10px 10px 10px 2px;font-size:25px;font-style:italic;font-weight:800}.brand>span{font-weight:800;letter-spacing:2px;font-size:22px}.brand small{display:block;font-size:7px;letter-spacing:1.6px;font-weight:500;margin-top:4px}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:29px 20px 0;display:flex;flex-direction:column;z-index:30}.workspace-tag{border:1px solid var(--line);background:#f8faf8;border-radius:6px;font-size:11px;padding:10px 12px;margin:27px 0 28px;display:flex;align-items:center;gap:8px;color:#67796e}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39a777}.nav-label{font-size:9px;letter-spacing:1.5px;margin:0 12px 11px;color:#9ba59e}nav{display:flex;flex-direction:column;gap:5px}nav button{justify-content:flex-start;padding:12px;border-radius:7px;background:none;color:#748078;font-size:12px;gap:12px;min-height:44px}nav button.active{background:#eaf4ee;color:#146647;font-weight:600}nav button:hover{background:#f1f6f2}nav button small{margin-left:auto;background:#fff;border-radius:4px;padding:2px 5px;color:var(--green)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 0;display:flex;align-items:center;gap:9px}.user-avatar,.mini-avatar{background:#f0e6d4;color:#827151;display:flex;align-items:center;justify-content:center;border-radius:50%;width:35px;height:35px;font-weight:600}.sidebar-bottom>div:nth-child(2){flex:1;overflow:hidden}.sidebar-bottom strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-bottom small{display:block;margin-top:4px;font-size:10px}.workspace{margin-left:248px;flex:1;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:10px}.breadcrumb{display:flex;gap:11px;align-items:center;font-size:11px;color:#909a94}.breadcrumb strong{font-weight:500;color:#526058}.topbar-right{display:flex;align-items:center;gap:9px;color:#829087;font-size:10px}.topbar-right .mini-avatar{width:30px;height:30px;margin-left:8px;font-size:11px}.divider{height:16px;width:1px;background:var(--line);margin:0 10px}.content{padding:34px 36px 0;max-width:1660px;margin:auto}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;color:#81958a}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading h1{margin:9px 0 10px}.page-heading p{font-size:12px;color:var(--muted);line-height:1.7}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px 21px 20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7b8980;font-size:11px;margin-bottom:18px}.stat-icon{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center}.mint{color:#298563;background:#e9f5ee}.violet{color:#8077b6;background:#f0edf8}.amber{color:#af8b35;background:#fff7e5}.sky{color:#6d94b3;background:#edf4fa}.stat-card>strong{display:block;font-size:27px;letter-spacing:-1px;margin-bottom:10px;white-space:nowrap}.stat-card>small{font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;margin-bottom:22px}.card-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 24px;border-bottom:1px solid #edf0ed;gap:16px}.card-heading p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.6}.card-heading .link{font-size:10px}.quick-actions{padding:25px 21px}.quick-actions h2{margin-top:10px}.quick-actions>p{color:var(--muted);font-size:11px;margin:8px 0 17px}.quick-actions>button{background:none;width:100%;justify-content:flex-start;text-align:left;gap:11px;padding:17px 0;border-bottom:1px solid #edf0ed}.quick-actions>button:last-child{border-bottom:0}.quick-actions>button>span{flex:1}.quick-actions strong{font-size:11px;display:block}.quick-actions small{font-size:9px;display:block;margin-top:5px}.quick-icon{background:#f1f6f2;border-radius:7px;color:#54816a;width:36px;height:36px;display:flex;justify-content:center;align-items:center}.quick-actions svg:last-child{color:#9aa89d}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}th{text-align:left;font-size:9px;color:#7f8d84;font-weight:500;background:#fbfcfa;padding:14px 18px;border-bottom:1px solid var(--line)}td{padding:19px 18px;border-bottom:1px solid #edf1ed;color:#586a5f}td strong{display:block;color:#354e40;font-weight:500}td small{display:block;margin-top:6px;font-size:9px}.right{text-align:right}.badge{display:inline-flex;align-items:center;gap:4px;font-size:9px;border-radius:5px;padding:5px 7px}.green{background:#eaf5ee;color:#488a67}.blue{background:#edf3fa;color:#5b83a5}.info-strip{display:flex;align-items:center;gap:12px;color:#7e8b81;font-size:11px;border:1px solid #e5eae3;border-radius:8px;background:#f1f5ef;padding:17px 20px;line-height:1.6}.info-strip svg{color:#7c967e;flex-shrink:0}.workspace-footer{display:flex;justify-content:space-between;padding:30px 0 22px;color:#a1aca4;font-size:9px}.workspace-footer>span:first-child{letter-spacing:1px;font-weight:600}.workspace-footer>span>span{letter-spacing:0;font-weight:400;margin-left:9px}.padded{padding:25px 26px}.padded h2{margin:3px 0 7px}.muted{font-size:12px;color:var(--muted);margin-bottom:23px;line-height:1.7}.section-number{float:left;display:flex;align-items:center;justify-content:center;width:29px;height:29px;border-radius:7px;background:#eaf4ee;color:#4b8165;font-size:11px;font-weight:600;margin-right:12px}.form-grid{display:grid;gap:20px;margin:22px 0}.form-grid.two{grid-template-columns:1fr 1fr}.form-grid.three{grid-template-columns:repeat(3,1fr)}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:4px}.field>span{font-size:11px;font-weight:600;color:#66796c}.field input,.field select,.field textarea{width:100%}.field small{line-height:1.6}.field textarea{min-height:80px;resize:vertical}.search-input{display:flex;align-items:center;background:#fff;border:1px solid #dfe5e0;border-radius:7px;padding:0 12px;gap:9px;color:#8c9c91;min-width:0}.search-input input{width:100%;border:0;background:none;box-shadow:none;padding:11px 0;font-size:12px}.picker{position:relative;min-width:0}.suggestions{position:absolute;top:70px;left:0;right:0;z-index:15;background:#fff;box-shadow:0 10px 30px #12382220;border:1px solid var(--line);border-radius:7px;max-height:310px;overflow:auto}.suggestions button{background:#fff;display:flex;width:100%;justify-content:space-between;text-align:left;padding:13px;gap:12px;border-bottom:1px solid var(--line);font-size:11px}.suggestions button:hover{background:#eef7f0}.suggestions small{display:block;margin-top:4px}.suggestions p{padding:15px;font-size:12px;color:var(--muted)}.customer-card{display:flex;align-items:center;gap:12px;padding:15px;background:#f4f9f5;border:1px solid #e0ece3;border-radius:7px;margin-top:13px;font-size:12px}.customer-card>div:nth-child(2){flex:1}.customer-card p{font-size:10px;color:#809185;line-height:1.8}.customer-card small{font-size:10px}.customer-icon{width:35px;height:35px;display:flex;align-items:center;justify-content:center;color:#4d8c6a;background:#e8f2e9;border-radius:6px}.customer-card>svg{color:#6f9e7b}.item-add{display:grid;grid-template-columns:minmax(180px,3fr) .7fr .8fr 1.2fr .7fr auto;gap:12px;align-items:end;margin:23px 0 18px}.add-button{margin-bottom:4px;font-size:12px;height:41px}.empty{min-height:215px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#9cad9d;text-align:center;padding:25px}.empty strong{font-size:13px;color:#647a69}.empty p{font-size:11px;color:#8f9d92}.order-total{display:flex;justify-content:space-between;align-items:center;background:#f8faf7;border-top:1px solid var(--line);padding:19px 20px;margin-top:0;font-size:11px;color:#849288}.order-total>div{text-align:right}.order-total small{display:block;margin-bottom:7px}.order-total strong{font-size:24px;color:var(--green);letter-spacing:-.7px}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:22px 0 0}.hint{font-size:11px;color:#819288;line-height:1.8;margin-bottom:15px;display:flex;align-items:center;gap:7px}.toolbar{display:flex;align-items:center;gap:12px;padding:20px 24px;flex-wrap:wrap}.toolbar .search-input{flex:1;min-width:200px}.toolbar select{font-size:11px}.toolbar h2{margin-right:20px}.table-footer{display:flex;justify-content:space-between;padding:17px 24px;color:#92a096;font-size:10px}.status-choices{display:flex;gap:15px}.status-choices button{flex:1;border:1px solid var(--line);padding:20px;background:#fff;border-radius:8px;color:#89988d;justify-content:flex-start}.status-choices button.selected{background:#eef7f1;border-color:#7eaf8e;color:#236b49}.status-choices button svg:last-child{margin-left:auto}.import-preview{border-top:1px solid var(--line);margin-top:25px;padding-top:22px}.narrow{max-width:560px}.narrow .stat-icon{margin-bottom:18px}.narrow .field{margin-bottom:20px}.error{background:#fff0ed;border:1px solid #f3d5cf;color:#b34a38;padding:13px 15px;border-radius:7px;font-size:12px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.error button{background:none;color:inherit}.toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#173f2c;color:#fff;padding:15px 20px;border-radius:9px;box-shadow:0 10px 40px #12382230;font-size:12px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#15342477;z-index:60;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:900px;max-width:100%;max-height:90vh;overflow:auto;margin:0;box-shadow:0 30px 100px #12382230}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.detail-meta small,.detail-meta strong,.detail-meta span{display:block}.detail-meta strong{margin:9px 0;font-size:13px}.detail-meta span{font-size:11px;color:#819285}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:#164b37;color:#fff;min-height:100vh;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;background-image:radial-gradient(ellipse at bottom left,#286a4e80,transparent 60%)}.login-story .brand-symbol{background:#ecf3ce;color:#235541}.login-story .brand small{color:#a2b7a7}.login-story h1{font-size:48px;line-height:1.2;margin:23px 0;letter-spacing:-2px}.login-story .eyebrow{color:#b3cdac}.login-story p{max-width:400px;font-size:14px;line-height:1.9;color:#b8ccbc}.story-chips{display:flex;gap:20px;margin-top:35px;flex-wrap:wrap}.story-chips span{display:flex;gap:7px;align-items:center;font-size:10px;color:#c4d4c7}.login-story>small{color:#82a38d;font-size:10px}.login-main{display:flex;align-items:center;justify-content:center;background:#fbfcfa;padding:40px}.login-box{width:360px;max-width:100%}.login-box h2{font-size:27px;letter-spacing:-.8px;margin:14px 0}.login-box>p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:31px}.login-box .field{margin:18px 0}.login-submit{width:100%;justify-content:space-between;margin-top:14px}.login-note{display:flex;gap:11px;padding-top:26px;border-top:1px solid var(--line);margin-top:30px;font-size:10px;color:#97a295;line-height:1.8}.login-note svg{flex-shrink:0;color:#80a389}.loading{height:100vh;display:flex;align-items:center;justify-content:center;color:var(--green)}.mobile-menu{display:none}@media(min-width:1500px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 300px}table{font-size:12px}th{font-size:10px}}@media(max-width:1180px){.sidebar{width:220px;padding-left:13px;padding-right:13px}.workspace{margin-left:220px}.content{padding:28px 24px 0}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:1fr}.quick-actions{display:none}.stat-card{padding:16px}.stat-card>strong{font-size:22px}.item-add{grid-template-columns:2fr 1fr 1fr}.item-add>.picker{grid-column:span 3}}@media(max-width:800px){.sidebar{transform:translate(-100%);transition:transform .2s;width:245px}.sidebar.open{transform:translate(0)}.workspace{margin-left:0}.mobile-menu{display:flex}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#12382266;z-index:25}.topbar{height:62px;padding:0 18px}.topbar-right>span{display:none}.breadcrumb{flex:1}.content{padding:26px 18px 0}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading>.primary{font-size:0;padding:12px}.page-heading>.primary svg{width:21px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.card-heading{padding:18px}.padded{padding:20px 18px}.form-grid.two,.form-grid.three{grid-template-columns:1fr}.toolbar{padding:18px}.table-footer{padding:15px}.status-choices{gap:8px}.status-choices button{padding:15px 10px;font-size:12px}.status-choices button svg{width:16px}.login{grid-template-columns:1fr}.login-story{min-height:auto;padding:28px}.login-story>div:nth-child(2),.login-story>small{display:none}.login-main{padding:45px 25px;align-items:flex-start}.login-box{width:400px}.detail-meta{gap:14px;grid-template-columns:1fr 1fr}.modal-backdrop{padding:12px}.toast{left:18px;right:18px;font-size:11px}.workspace-footer>span:last-child{display:none}.info-strip{align-items:flex-start}.item-add{gap:10px}.item-add .field>span{font-size:10px}.workspace-footer{padding-top:25px}.form-footer{flex-wrap:wrap}}.customer-results{position:relative;top:auto;margin-top:10px;max-height:310px;box-shadow:none}.customer-results button{min-height:48px}.sidebar{height:100dvh;overflow:hidden}.sidebar>.brand,.sidebar>.workspace-tag,.sidebar>.nav-label{flex-shrink:0}.sidebar>nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:12px}.sidebar>nav button{flex-shrink:0}.sidebar-bottom{flex-shrink:0;flex-wrap:wrap;background:#fff}.sidebar-bottom .logout-button{flex-basis:100%;justify-content:center;background:#f1f6f2;color:var(--green);font-size:12px;font-weight:600;padding:10px;min-height:40px}.item-add>.item-note{grid-column:1 / -1}.product-code-name input{flex:0 1 110px;min-width:70px;width:110px}.selected-product-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:var(--ink)}@media(max-width:600px){.product-code-name input{flex-basis:85px;width:85px}.selected-product-name{font-size:12px}}.cash-choice{display:flex;align-items:center;gap:10px;font-size:16px}.cash-choice input{width:20px;height:20px}.status-choices{flex-wrap:wrap}
