:root{--green:#137d66;--green-dark:#116450;--mint:#e9f5ef;--ink:#202e2b;--muted:#78847f;--line:#e8eeeb;--bg:#f7f9f8;--white:#fff;--peach:#fff0e4;--orange:#b96b30;--shadow:0 5px 24px #1d4a3505;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #6dbca6;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #31947c;outline-offset:1px;border-color:transparent}input[type=number]{appearance:textfield;-moz-appearance:textfield}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2378847f' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:37px!important}::selection{background:#c5ecdc}.icon{display:inline-block;vertical-align:middle;flex-shrink:0}.skip-link{position:fixed;top:-80px;left:12px;background:var(--green);color:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}.initial-loading{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:var(--muted)}
.app-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 20px 20px;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 33px}.brand img{width:37px;height:37px}.brand-name{font-weight:760;font-size:21px;letter-spacing:-.9px}.brand-name span{font-weight:450;color:var(--green)}.nav-label{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#99a39e;margin:12px 16px}.side-nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:12px;color:#77827c;font-weight:550;min-height:46px}.nav-link:hover{background:#f6f8f7;color:var(--green)}.nav-link.active{background:var(--mint);color:var(--green);font-weight:650}.nav-link .icon{width:20px;height:20px}.nav-link .nav-count{margin-left:auto;font-size:10px;background:#fff;border-radius:6px;padding:3px 6px}.side-bottom{margin-top:auto;padding-top:35px}.side-tip{background:linear-gradient(135deg,#f1f7f1,#e9f5ef);padding:17px;border-radius:14px;margin:0 4px 20px}.side-tip .icon{color:var(--green);margin-bottom:10px}.side-tip b{display:block;font-size:12px;margin-bottom:6px}.side-tip p{font-size:11px;color:var(--muted);line-height:1.7}.account-card{display:flex;align-items:center;gap:11px;padding:16px 9px 3px;border-top:1px solid var(--line)}.avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:13px;background:#eaf1e7;color:#60755d;font-size:12px;font-weight:700}.account-card b{display:block;font-size:12px}.account-card small{color:var(--muted);font-size:10px}.workspace{margin-left:238px}.topbar{height:83px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumbs{font-size:12px;color:#9ba69f;display:flex;align-items:center;gap:12px}.breadcrumbs .icon{width:12px;height:12px}.breadcrumbs strong{color:#53635b;font-weight:500}.top-actions{display:flex;gap:14px;align-items:center}.mode-chip{display:flex;gap:6px;align-items:center;font-size:11px;color:#74847b;border:1px solid var(--line);border-radius:30px;padding:7px 11px;background:#fff}.mode-chip .icon{width:14px;height:14px}.mode-dot{width:6px;height:6px;background:#5ba88e;border-radius:50%}.top-date{color:#89958d;font-size:11px;padding-right:14px;border-right:1px solid var(--line)}.mobile-brand{display:none}.main{max-width:1360px;margin:auto;padding:33px 38px 40px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:27px}.eyebrow{display:flex;align-items:center;gap:7px;color:#8a9690;font-size:11px;margin-bottom:8px}.eyebrow .icon{width:15px;height:15px;color:#c29d5c}h1{font-size:27px;font-weight:650;letter-spacing:-1px;line-height:1.35}.page-subtitle{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.6}.head-actions{display:flex;gap:10px;align-items:center}.btn{border:1px solid var(--line);background:#fff;border-radius:10px;min-height:43px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s;line-height:1.35}.btn:hover{background:#f7f9f8}.btn:active{transform:translateY(1px)}.btn .icon{width:17px;height:17px}.btn-primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 4px 9px #137d6610}.btn-primary:hover{background:var(--green-dark)}.btn-soft{background:var(--mint);color:var(--green);border-color:transparent}.btn-danger{color:#b44d4d;background:#fff3f2;border-color:#f8deda}.btn-text{border:0;background:transparent;color:var(--green);padding:6px 0;min-height:40px;font-size:11px}.btn-text:hover{background:transparent;text-decoration:underline}.btn-full{width:100%}.icon-btn{border:1px solid var(--line);background:#fff;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:11px}.icon-btn:hover{background:var(--mint)}.icon-btn .icon{width:18px;height:18px}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff5e9;border:1px solid #fae9d3;border-radius:12px;padding:11px 15px;margin-bottom:21px;color:#956d3d;font-size:11px;line-height:1.5}.demo-banner .btn{background:transparent;border-color:#ead8be;color:#956d3d;min-height:34px;padding:6px 10px;font-size:10px}.demo-banner strong{font-weight:650}.welcome-banner{display:flex;align-items:center;gap:17px;padding:20px 23px;margin-bottom:23px;background:#edf5ef;border:1px solid #dfede2;border-radius:16px}.welcome-banner>.icon{color:var(--green);width:30px;height:30px}.welcome-banner h3{font-size:13px;margin-bottom:6px}.welcome-banner p{font-size:11px;color:#748a7b;line-height:1.7}.welcome-banner .btn{margin-left:auto}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:21px 21px 17px;box-shadow:var(--shadow);min-width:0}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin-bottom:17px}.stat-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f0f6f1;color:#60816c}.stat-icon .icon{width:18px;height:18px}.stat-card.primary{background:#137d66;color:#fff;border-color:#137d66;position:relative;overflow:hidden}.stat-card.primary:after{content:"";position:absolute;width:170px;height:170px;border:1px solid #ffffff0d;border-radius:50%;right:-63px;top:32px;box-shadow:0 0 0 26px #ffffff05,0 0 0 53px #ffffff04;pointer-events:none}.stat-card.primary .stat-label{color:#c5e5d9}.stat-card.primary .stat-icon{background:#ffffff16;color:#fff}.stat-value{font-size:25px;letter-spacing:-.9px;font-weight:650;line-height:1.3;white-space:nowrap}.stat-foot{display:flex;gap:6px;align-items:center;font-size:10px;margin-top:14px;color:#8c9891;line-height:1.5}.stat-foot .icon{width:13px;height:13px}.stat-card.primary .stat-foot{color:#c2e3d3}.stat-card .green{color:#308c65}.stat-card .orange{color:#b08547}.period-select{border:1px solid var(--line);border-radius:10px;color:#65746b;background-color:#fff;font-size:11px;min-height:40px;padding:8px 35px 8px 12px;max-width:190px}.content-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px;margin-bottom:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:23px 23px 0}.panel-title{font-weight:650;font-size:14px;letter-spacing:-.25px}.panel-subtitle{font-size:10px;color:#96a098;margin-top:6px;line-height:1.6}.panel-body{padding:22px 23px}.chart-legend{display:flex;gap:5px;align-items:center;color:#8c978f;font-size:10px}.chart-legend:before{content:"";width:6px;height:6px;background:#398a70;border-radius:50%}.sales-chart{display:block;width:100%;height:191px;overflow:visible;margin-top:4px}.chart-wrap{padding:10px 23px 15px}.chart-axes{font-size:10px;fill:#a4afa7;font-family:inherit}.chart-empty{height:191px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#a4afa7;font-size:11px}.chart-empty .icon{width:35px;height:35px;stroke-width:1}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:22px 19px 15px}.quick-action{display:flex;flex-direction:column;align-items:center;gap:11px;font-size:10px;text-align:center;color:#718078;padding:9px 0;border-radius:12px;min-height:92px}.quick-action:hover{background:#f7faf8}.quick-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#eaf5ef;color:#34866a}.quick-action:nth-child(2) .quick-icon{background:#f2eef8;color:#9b86b5}.quick-action:nth-child(3) .quick-icon{background:#fff2e6;color:#bd9167}.mini-reminder{display:flex;align-items:center;gap:11px;background:#faf8f3;border:1px solid #f0ece2;border-radius:12px;margin:1px 21px 21px;padding:12px;color:#a28257}.mini-reminder .icon{width:19px;height:19px}.mini-reminder p{font-size:10px;line-height:1.6}.mini-reminder b{display:block;color:#86704f;font-size:11px;font-weight:550}.mini-reminder>.icon:last-child{margin-left:auto;width:14px}.order-panel .panel-head{padding-bottom:15px}.table-header,.order-row{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(140px,1fr) 100px 105px 100px 25px;gap:14px;align-items:center}.table-header{background:#fafbf9;padding:13px 23px;color:#929d95;font-size:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.order-row{padding:17px 23px;font-size:11px;border-bottom:1px solid #f0f3ef;min-height:79px}.order-row:last-child{border:0}.order-row:hover{background:#fcfdfb}.order-customer{display:flex;align-items:center;gap:11px;min-width:0}.customer-avatar{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eff2ec;color:#89977d;font-size:10px;font-weight:650;flex-shrink:0}.customer-avatar.rose{background:#f8edeb;color:#b18c87}.customer-avatar.lilac{background:#f0edf8;color:#a18bb4}.customer-avatar.sage{background:#edf5f0;color:#85a18d}.customer-name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-meta{font-size:10px;color:#9aa59d;margin-top:6px}.product-cell{color:#738178;font-size:11px;line-height:1.6}.product-cell small{display:block;color:#a3ada5;font-size:10px}.row-price{font-weight:650;font-size:11px}.badge{display:inline-flex;align-items:center;gap:5px;justify-content:center;font-size:9px;font-weight:550;border-radius:6px;padding:5px 8px;white-space:nowrap;background:#f2f5f1;color:#84937e}.badge-green{background:#edf7f0;color:#4f9166}.badge-orange{background:#fff5e8;color:#bd9052}.badge-blue{background:#edf3fa;color:#7b98b9}.badge-red{background:#fcf0ee;color:#bc837c}.badge-purple{background:#f3eff9;color:#9b86b8}.row-chevron{color:#a0ada4;width:15px;height:15px}.row-detail{border:0;background:transparent;width:100%;text-align:left;border-radius:0;cursor:pointer}.table-footer{border-top:1px solid var(--line);padding:14px 23px;display:flex;align-items:center;justify-content:space-between;color:#99a39c;font-size:10px}.top-product{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0f3ef}.top-product:last-child{border:0}.product-thumb{width:43px;height:43px;border-radius:12px;background:#f6eee7;color:#ba9278;display:flex;align-items:center;justify-content:center;flex-shrink:0}.product-thumb.rose{background:#f8eded;color:#c6a3a0}.product-thumb.lilac{background:#f0edf8;color:#b1a0c6}.product-thumb.sage{background:#edf3e9;color:#a2b095}.product-thumb .icon{width:23px;height:23px;stroke-width:1.4}.top-product b{display:block;font-size:11px;font-weight:600}.top-product small{display:block;font-size:10px;color:#9ca69f;margin-top:5px}.top-product strong{margin-left:auto;font-size:11px;font-weight:600;white-space:nowrap}.top-product strong small{text-align:right;font-weight:400}.section-heading{font-size:14px;font-weight:650;letter-spacing:-.2px;margin-bottom:18px}.grid-bottom{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.dashboard-order-list .table-header,.dashboard-order-list .order-row{grid-template-columns:minmax(150px,1fr) 95px 88px 19px}.empty-state{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:50px 24px;gap:12px}.empty-icon{width:62px;height:62px;border-radius:20px;background:#f2f7f2;color:#7fa78b;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.empty-icon .icon{width:29px;height:29px;stroke-width:1.35}.empty-state h3{font-size:14px}.empty-state p{font-size:11px;line-height:1.9;max-width:285px;color:#99a39b}.empty-state .btn{margin-top:4px}
.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.search-field{position:relative;flex:1;min-width:180px;max-width:400px}.search-field>.icon{position:absolute;left:14px;top:12px;color:#9aa69d;width:17px;height:17px}.search-field input{width:100%;background:#fff;border:1px solid var(--line);border-radius:11px;height:43px;padding:11px 14px 11px 41px;color:var(--ink);font-size:12px}.search-field input::placeholder{color:#a1aba4}.filter-tabs{display:flex;gap:6px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff;max-width:100%;overflow-x:auto;scrollbar-width:none}.filter-tab{border:0;background:none;padding:9px 13px;border-radius:8px;font-size:11px;white-space:nowrap;color:#89958c;min-height:34px}.filter-tab.active{background:#eaf4ee;color:var(--green);font-weight:650}.filter-tab .count{margin-left:5px;font-size:10px;background:#fff8;padding:2px 5px;border-radius:4px}.result-note{color:#96a197;font-size:11px;margin-left:auto;white-space:nowrap}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{padding:21px;background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;gap:14px}.product-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-card .product-thumb{width:52px;height:52px;border-radius:16px}.product-card .product-thumb .icon{width:28px;height:28px}.product-card h3{font-size:14px;font-weight:650;margin-bottom:6px}.product-card .variant{font-size:11px;color:#8b978e}.product-sku{font-size:9px;color:#a1aba4;margin-top:8px;letter-spacing:.4px}.product-values{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:14px}.product-values small{display:block;font-size:9px;color:#96a197;margin-bottom:7px}.product-values strong{font-size:12px;font-weight:650}.product-actions{display:flex;gap:8px;margin-top:2px}.product-actions .btn{flex:1;min-height:37px;padding:8px 9px;font-size:10px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:23px;align-items:start}.form-section{padding:24px;margin-bottom:20px}.form-section h2{font-size:14px;font-weight:650;display:flex;gap:10px;align-items:center;margin-bottom:23px}.form-section h2>.icon{color:#6f9982;width:19px;height:19px}.form-section h2 .step{font-size:10px;letter-spacing:0;width:23px;height:23px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#edf5ef;color:var(--green)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 17px}.field{display:flex;flex-direction:column;gap:9px;min-width:0}.field>label,.field-label{font-size:11px;font-weight:550;color:#6d7e73}.field input,.field select,.field textarea{width:100%;height:45px;border:1px solid #e4ebe5;background:#fff;border-radius:10px;padding:11px 12px;color:#4a5f52;font-size:12px;min-width:0}.field input::placeholder,.field textarea::placeholder{color:#b1b9b2}.field textarea{min-height:80px;resize:vertical;line-height:1.6}.field small{font-size:10px;line-height:1.6;color:#9ba69b}.field .required{color:var(--green)}.field-full{grid-column:1/-1}.input-prefix{display:flex;align-items:center;border:1px solid #e4ebe5;border-radius:10px;overflow:hidden;height:45px;background:#fff}.input-prefix>span{font-size:11px;color:#98a398;padding:0 12px;border-right:1px solid var(--line)}.input-prefix input{border:0!important;border-radius:0}.input-prefix:focus-within{outline:2px solid #31947c;outline-offset:1px}.input-prefix input:focus{outline:0}.label-hint{font-weight:400;color:#b1bab0;font-size:10px;margin-left:5px}.order-item{padding:17px;border:1px solid var(--line);border-radius:12px;background:#fbfcfa;margin-bottom:12px}.order-item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;font-size:10px;color:#96a18f}.order-item-top .icon-btn{border:0;width:28px;height:28px;background:transparent}.order-item-main{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:15px}.order-item .field select{background-color:#fff}.quantity-control{display:flex;height:45px;border:1px solid #e4ebe5;border-radius:10px;overflow:hidden;background:#fff}.quantity-control button{width:32px;flex-shrink:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center;color:#7c9380}.quantity-control button:hover{background:var(--mint)}.quantity-control .icon{width:13px;height:13px}.quantity-control input{padding:0 4px;width:100%;text-align:center;border:0;border-radius:0;font-size:12px}.item-price{display:flex;justify-content:space-between;gap:10px;color:#96a18f;font-size:10px;padding-top:14px;line-height:1.7}.item-price b{color:#58725e;font-size:11px;font-weight:600}.add-line{width:100%;border:1px dashed #c9ddcf;background:#f8fbf7;color:#679476;font-size:11px}.discount-options{display:flex;background:#f1f5f1;padding:4px;border-radius:9px;margin-bottom:12px;gap:4px}.discount-options button{flex:1;border:0;background:transparent;color:#8b9c8c;border-radius:6px;padding:8px 9px;font-size:10px;min-height:32px}.discount-options button.active{background:#fff;color:#4c7e5c;box-shadow:0 2px 6px #1a342109;font-weight:600}.summary-panel{padding:23px;position:sticky;top:25px}.summary-panel h2{font-size:14px;margin-bottom:23px;display:flex;align-items:center;gap:9px}.summary-panel h2 .icon{color:var(--green);width:19px;height:19px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#8b9a8d;margin-bottom:15px}.summary-row b{color:#617765;font-weight:550}.summary-row.total{border-top:1px dashed #dae4d9;padding-top:18px;margin-top:18px;color:#5d7462;font-weight:600}.summary-row.total b{font-size:23px;letter-spacing:-1px;color:var(--green)}.summary-panel .btn{margin-top:15px}.summary-note{margin-top:13px;text-align:center;font-size:9px;color:#a0ad9f;line-height:1.7}.summary-note .icon{width:12px;height:12px;margin-right:3px}.payment-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px}.payment-choice{position:relative}.payment-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.payment-choice span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e4ebe5;border-radius:10px;padding:12px 5px;font-size:11px;color:#8a9b8b;pointer-events:none}.payment-choice input:checked+span{background:#eff7ef;border-color:#96bd9b;color:#427e50;font-weight:600}.payment-choice input:focus-visible+span{outline:2px solid var(--green)}.payment-choice .icon{width:15px;height:15px}.collapsible{border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.collapsible summary{font-size:11px;color:#7c917f;cursor:pointer;display:flex;align-items:center;gap:9px;min-height:30px;list-style:none}.collapsible summary .icon{width:15px;height:15px}.collapsible[open] summary{margin-bottom:20px}.form-error{border-radius:10px;background:#fff0ed;color:#a85849;padding:12px 14px;font-size:11px;line-height:1.7;margin:15px 0;display:none}.form-error:not(:empty){display:block}.form-note{font-size:11px;color:#91a18e;line-height:1.9;display:flex;gap:7px;align-items:flex-start}.form-note .icon{width:15px;height:15px;margin-top:2px}.mobile-submit{display:none}.report-filter{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.report-custom{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted);flex-wrap:wrap}.report-custom input{border:1px solid var(--line);border-radius:8px;padding:10px;color:#637862;background:#fff;max-width:150px;font-size:11px}.report-explanation{display:flex;align-items:flex-start;gap:9px;background:#f0f6f0;padding:15px 18px;border-radius:12px;font-size:10px;line-height:1.9;color:#8a9e89;margin:20px 0}.report-explanation .icon{width:16px;height:16px;flex-shrink:0;margin-top:1px}.financial-list{padding:7px 0}.financial-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);color:#81917e;font-size:11px}.financial-row b{font-weight:550;color:#4f6b51}.financial-row:last-child{border:0}.financial-row.total{margin-top:4px;color:var(--green);font-weight:650}.financial-row.total b{color:var(--green);font-size:17px;letter-spacing:-.4px}.data-list{display:flex;flex-direction:column}.data-row{display:flex;align-items:center;gap:14px;padding:19px 23px;border-bottom:1px solid var(--line)}.data-row:last-child{border:0}.data-row-main{flex:1;min-width:0}.data-row-main b{font-size:12px;font-weight:600;display:block}.data-row-main small{font-size:10px;color:#98a595;display:block;margin-top:7px;line-height:1.8}.data-row-value{font-size:12px;font-weight:650;text-align:right;white-space:nowrap}.data-row-value small{font-size:9px;color:#9ca895;font-weight:400;display:block;margin-top:7px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(270px,1fr);gap:22px;align-items:start}.settings-grid .form-section{margin:0}.settings-option{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.settings-option:last-child{border:0}.settings-option>.icon{width:21px;height:21px;color:#84a181}.settings-option b{font-size:11px;font-weight:600;display:block}.settings-option small{color:#9daa96;font-size:10px;line-height:1.8;display:block;margin-top:6px}.settings-option .btn{margin-left:auto;min-height:36px;font-size:10px;padding:8px 11px}.more-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.more-card{display:flex;align-items:center;gap:12px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px;font-size:12px;font-weight:550;min-height:85px}.more-card .icon{color:#729675}.more-card>.icon:last-child{margin-left:auto;width:15px;height:15px;color:#a9b4a0}.more-card p{font-size:10px;font-weight:400;color:#a1ad98;margin-top:5px}.footer-note{display:flex;justify-content:space-between;color:#b0b9ac;font-size:9px;margin-top:29px;line-height:1.8}.footer-note .icon{width:10px;height:10px;margin:0 3px}
dialog{border:1px solid var(--line);border-radius:22px;width:min(560px,calc(100vw - 28px));padding:0;box-shadow:0 30px 90px #1c372a25;color:var(--ink);max-height:90dvh;background:#fff}dialog::backdrop{background:#23382b55;backdrop-filter:blur(4px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:23px 25px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{font-size:17px;letter-spacing:-.4px}.modal-head p{font-size:10px;color:#97a38f;margin-top:6px}.modal-content{padding:23px 25px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.modal-actions .btn{min-width:100px}.detail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.detail-heading h3{font-size:15px}.detail-heading small{display:block;font-size:10px;color:#96a18c;margin-top:7px}.detail-line{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);gap:12px;font-size:11px}.detail-line small{display:block;color:#95a18a;font-size:10px;margin-top:6px}.detail-line b{font-weight:600}.detail-totals{padding:20px 0 8px}.detail-info{font-size:11px;color:#8e9e81;line-height:1.9;border-top:1px solid var(--line);padding-top:17px}.detail-section-title{font-size:11px;color:#6b845c;font-weight:600;margin:20px 0 12px}.inline-form{display:flex;gap:9px;align-items:center}.inline-form .field{flex:1}.inline-form .field input,.inline-form .field select{height:43px}.inline-form .btn{align-self:flex-end}.danger-section{margin-top:24px;padding-top:15px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;color:#a5af9c;font-size:10px;line-height:1.7}.danger-section .btn{font-size:10px;min-height:35px;padding:8px 10px}.confirm-text{font-size:12px;color:#829372;line-height:1.9}.login-page{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 30%,#edf5ed,#f8faf7 65%);padding:25px}.login-card{width:min(400px,100%);padding:36px;border-radius:25px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 50px #2d4c2a06}.login-card>img{width:49px;height:49px;margin-bottom:24px}.login-card h1{font-size:25px}.login-card p{font-size:12px;line-height:1.9;color:#94a387;margin:12px 0 27px}.login-card .btn{margin-top:22px}.password-toggle{position:relative}.password-toggle input{padding-right:45px}.password-toggle .icon-btn{position:absolute;right:4px;top:3px;border:0;background:transparent}.bottom-nav{display:none}#toast{position:fixed;bottom:24px;left:calc(50% + 119px);transform:translate(-50%,20px);padding:13px 20px;background:#244a38;color:#fff;border-radius:12px;box-shadow:0 8px 30px #14302422;z-index:100;opacity:0;pointer-events:none;font-size:12px;transition:opacity .2s,transform .2s;max-width:calc(100vw - 35px);text-align:center;line-height:1.6}#toast.visible{opacity:1;transform:translate(-50%,0)}.receipt-content{font-size:12px;line-height:1.8}.receipt-logo{text-align:center;margin-bottom:22px}.receipt-logo h3{font-size:21px;letter-spacing:-.7px}.receipt-logo p{font-size:10px;color:#98a58b}.receipt-label{border-top:1px dashed #d8e1d0;border-bottom:1px dashed #d8e1d0;padding:13px 0;display:flex;justify-content:space-between;margin-bottom:12px;font-size:10px}.receipt-footer{text-align:center;border-top:1px dashed #d8e1d0;padding-top:17px;margin-top:18px;font-size:10px;color:#99a88c}.receipt-badge{text-align:center;margin-top:14px}.low-stock-note{padding:13px 18px;background:#fffaef;border:1px solid #f4e9ce;color:#b39c6c;font-size:11px;border-radius:12px;margin-bottom:20px;display:flex;gap:9px;align-items:center}.low-stock-note .icon{width:17px;height:17px}.muted{color:var(--muted)}.hidden,[hidden]{display:none!important}.sync-status{font-size:9px;color:#a2ae98;display:flex;gap:5px;align-items:center}.sync-status .icon{width:11px;height:11px}
@media(min-width:1600px){.main{padding-top:43px}.stats-grid{gap:22px}.stat-value{font-size:30px}.sales-chart{height:210px}}
@media(max-width:1250px){.sidebar{width:208px;padding:28px 14px 17px}.workspace{margin-left:208px}.main{padding:29px 27px}.topbar{padding:0 27px}.stat-card{padding:18px 16px}.stat-value{font-size:22px}.stats-grid{gap:12px}.content-grid,.grid-bottom{gap:17px;grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr)}.table-header,.order-row{grid-template-columns:minmax(145px,1.1fr) minmax(100px,1fr) 85px 85px 85px 15px;gap:9px}.order-row,.table-header{padding-left:19px;padding-right:19px}.form-layout{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.products-grid{gap:14px}#toast{left:calc(50% + 104px)}}
@media(max-width:1050px){.sidebar{width:185px;padding:26px 10px}.brand{gap:9px;padding-left:9px}.brand-name{font-size:18px}.brand img{width:33px;height:33px}.nav-link{font-size:11px;gap:11px;padding:12px}.side-tip{padding:14px}.workspace{margin-left:185px}.main{padding:25px 22px}.topbar{padding:0 22px;height:75px}.top-date{display:none}h1{font-size:24px}.stat-card{padding:16px 13px}.stat-label{font-size:10px}.stat-icon{width:28px;height:28px}.stat-value{font-size:19px}.stat-foot{font-size:9px}.content-grid,.grid-bottom{grid-template-columns:minmax(0,1fr)}.content-grid .quick-panel{display:none}.top-products-panel .panel-body{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.top-product:nth-child(3){border:0}.form-layout{grid-template-columns:minmax(0,1fr) 260px;gap:14px}.form-section{padding:20px}.form-grid{gap:17px 12px}.summary-panel{padding:19px}.summary-row.total b{font-size:21px}.order-item-main{grid-template-columns:minmax(0,1fr) 100px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-panel.full-list .table-header,.order-panel.full-list .order-row{grid-template-columns:minmax(140px,1fr) 90px 90px 80px 15px}.order-panel.full-list .product-cell{display:none}#toast{left:calc(50% + 92px)}.settings-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){:root{font-size:14px;--radius:18px}.sidebar{display:none}.workspace{margin:0}.topbar{height:75px;padding:0 20px;background:#fff;gap:8px;border-bottom:0}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:19px;letter-spacing:-.8px;font-weight:700;min-width:0}.mobile-brand img{width:32px;height:32px}.mobile-brand span{font-weight:400;color:var(--green)}.breadcrumbs{display:none}.top-actions{gap:9px}.top-actions>.avatar{width:33px;height:33px;font-size:10px;border-radius:11px}.mode-chip{padding:6px 8px;font-size:9px;border-color:#edf1eb;max-width:150px}.mode-chip .icon{width:12px;height:12px}.main{padding:20px 20px 112px;max-width:620px}.page-head{margin-bottom:23px;align-items:flex-end}.eyebrow{font-size:10px;margin-bottom:8px;gap:5px}.eyebrow .icon{width:13px;height:13px}h1{font-size:25px;letter-spacing:-.9px}.page-subtitle{font-size:11px;margin-top:7px;line-height:1.7;max-width:250px}.head-actions{gap:7px}.head-actions .btn{font-size:11px;min-height:40px;padding:10px 12px;gap:6px}.head-actions .btn .icon{width:16px;height:16px}.head-actions .desktop-label{display:none}.page-head.dashboard-head{align-items:flex-start}.dashboard-head .head-actions{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:21px}.stat-card{padding:17px 16px 15px;border-radius:17px}.stat-label{margin-bottom:14px;font-size:10px;gap:5px}.stat-icon{width:28px;height:28px;border-radius:9px}.stat-icon .icon{width:16px;height:16px}.stat-value{font-size:23px;letter-spacing:-.75px}.stat-foot{font-size:9px;gap:4px;margin-top:12px}.stat-foot .icon{width:11px;height:11px}.content-grid,.grid-bottom{grid-template-columns:1fr;gap:19px;margin-bottom:21px}.panel-head{padding:20px 18px 0}.panel-title{font-size:13px}.panel-subtitle{font-size:9px;max-width:260px}.panel-body{padding:17px 18px}.chart-wrap{padding:10px 15px 15px}.sales-chart{height:165px}.chart-empty{height:165px}.chart-legend{font-size:9px}.period-select{font-size:10px;padding:8px 33px 8px 10px;min-height:36px;max-width:142px}.content-grid .quick-panel{display:block;order:-1;background:transparent;border:0;box-shadow:none}.quick-panel .panel-head{padding:0}.quick-panel .panel-head h2{font-size:12px}.quick-actions{padding:10px 0 0;grid-template-columns:repeat(3,1fr);gap:10px}.quick-action{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 7px;min-height:78px;gap:8px;font-size:9px;flex-direction:row;justify-content:center}.quick-icon{width:33px;height:33px;border-radius:10px;flex-shrink:0}.quick-icon .icon{width:17px;height:17px}.quick-panel .mini-reminder{display:none}.demo-banner{font-size:10px;padding:11px 12px;margin-bottom:19px;gap:8px}.demo-banner .btn{font-size:9px;min-height:32px;padding:7px 8px}.welcome-banner{padding:16px;gap:11px;align-items:flex-start;flex-wrap:wrap;margin-bottom:20px}.welcome-banner>.icon{width:23px;height:23px}.welcome-banner>div{flex:1;min-width:160px}.welcome-banner h3{font-size:12px}.welcome-banner p{font-size:10px}.welcome-banner .btn{font-size:10px;min-height:33px;padding:8px 11px;margin-left:34px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid #e9eee6;z-index:40;padding:8px 10px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;gap:2px;box-shadow:0 -3px 15px #19321a03}.bottom-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:53px;min-height:47px;color:#a2ad9a;font-size:9px;border-radius:10px}.bottom-link .icon{width:21px;height:21px;stroke-width:1.65}.bottom-link.active{color:var(--green);font-weight:600}.bottom-link.active .icon{stroke-width:2}.bottom-link.new-order{margin-top:-22px;gap:6px;color:#8a9e7d}.bottom-link.new-order .new-icon{height:44px;width:44px;display:flex;align-items:center;justify-content:center;border-radius:15px;background:var(--green);color:#fff;box-shadow:0 4px 12px #137d6625;border:4px solid var(--bg);box-sizing:content-box}.bottom-link.new-order.active{color:var(--green)}.bottom-link.new-order .icon{width:23px;height:23px}.table-header{display:none}.order-panel .panel-head{padding:19px 18px 13px}.order-row,.dashboard-order-list .order-row,.order-panel.full-list .order-row{display:grid;grid-template-columns:minmax(0,1fr) auto 15px;gap:8px;padding:17px 17px;min-height:87px}.order-row .order-customer{grid-row:1/3;gap:10px}.order-row .product-cell{display:none}.order-row .row-price{grid-column:2;grid-row:1;align-self:end;font-size:11px;text-align:right}.order-row .payment-cell{grid-column:2;grid-row:2;text-align:right;align-self:start}.order-row .status-cell{display:none}.order-row>.row-chevron{grid-column:3;grid-row:1/3;width:13px;height:13px}.customer-name{font-size:11px}.order-meta{font-size:9px}.customer-avatar{width:34px;height:34px;font-size:10px}.badge{font-size:8px;padding:4px 6px}.table-footer{padding:13px 18px;font-size:9px}.top-products-panel .panel-body{display:block;padding-top:9px}.top-product{padding:13px 0}.top-product:nth-child(3){border-bottom:1px solid #f0f3ef}.footer-note{margin-top:23px;font-size:8px;gap:15px}.form-layout{display:block}.form-section{padding:20px 17px;margin-bottom:17px;border-radius:17px}.form-section h2{font-size:13px;margin-bottom:21px;gap:8px}.form-section h2 .step{font-size:9px;width:21px;height:21px}.form-grid{gap:18px 12px}.field>label,.field-label{font-size:10px}.field{gap:8px}.field input,.field select,.field textarea{font-size:16px;height:46px;padding:10px 11px}.field small{font-size:9px}.input-prefix{height:46px}.field select{font-size:12px}.input-prefix>span{font-size:10px}.field textarea{font-size:13px}.order-item{padding:13px}.order-item-main{gap:10px;grid-template-columns:minmax(0,1fr) 102px}.order-item select{font-size:11px}.quantity-control{height:46px}.quantity-control input{font-size:14px;height:44px}.quantity-control button{width:30px}.item-price{font-size:9px;gap:5px}.item-price b{font-size:10px}.summary-panel{position:static;padding:20px 18px;border-radius:17px}.summary-panel h2{font-size:13px}.summary-panel>.btn{display:none}.summary-panel>.form-error{display:none}.summary-note{font-size:9px;margin-top:20px}.summary-row{font-size:11px}.summary-row.total b{font-size:24px}.mobile-submit{display:flex;align-items:center;justify-content:space-between;padding:12px 19px;background:#fff;border:1px solid var(--line);border-radius:16px;position:sticky;bottom:86px;gap:15px;margin:18px 0 0;box-shadow:0 6px 25px #1f49210c;z-index:10}.mobile-submit small{color:#a1af96;font-size:9px;display:block;margin-bottom:4px}.mobile-submit b{font-size:16px;color:var(--green);letter-spacing:-.5px}.mobile-submit .btn{font-size:11px;min-height:42px;padding:10px 14px}.form-note{font-size:10px;margin-bottom:16px}.payment-choice span{font-size:10px;min-height:44px}.payment-choice .icon{width:13px;height:13px}.discount-options button{min-height:35px;font-size:10px}.toolbar{gap:11px;align-items:stretch;margin-bottom:17px}.toolbar .search-field{max-width:none;flex-basis:100%}.search-field input{font-size:16px;height:46px}.search-field>.icon{top:14px}.toolbar .filter-tabs{flex:1}.toolbar .period-select{max-width:130px}.result-note{font-size:10px;align-self:center;margin-right:2px}.filter-tab{font-size:10px;padding:9px 11px}.products-grid{gap:12px}.product-card{padding:16px 13px;gap:13px;border-radius:16px}.product-card .product-thumb{width:41px;height:41px;border-radius:12px}.product-card .product-thumb .icon{width:23px;height:23px}.product-card h3{font-size:12px;line-height:1.5;margin-bottom:4px}.product-card .variant{font-size:10px;line-height:1.5}.product-card .badge{font-size:7px;padding:4px 5px}.product-sku{font-size:8px}.product-values{gap:6px}.product-values small{font-size:8px}.product-values strong{font-size:11px}.product-actions .btn{font-size:9px;padding:7px 5px;min-height:35px;gap:5px}.product-actions .icon{width:13px;height:13px}.report-filter{display:block;margin-bottom:20px}.report-filter .filter-tabs{width:100%;margin-bottom:13px;gap:3px}.report-filter .filter-tab{flex:1;font-size:9px;padding:8px}.report-custom{gap:8px;font-size:10px}.report-custom input{font-size:13px;max-width:calc(50% - 20px);min-height:43px}.report-explanation{font-size:9px;padding:14px;line-height:1.9;margin:17px 0}.financial-row{font-size:10px;padding:14px 0}.financial-row.total b{font-size:17px}.settings-grid{gap:17px}.settings-option{gap:11px}.settings-option small{font-size:9px}.settings-option b{font-size:11px}.settings-option .btn{font-size:9px;padding:8px}.more-card{padding:17px 14px;font-size:11px;gap:10px;min-height:85px}.more-card .icon{width:21px;height:21px}.more-card p{font-size:9px}.more-grid{gap:12px}.data-row{padding:17px 16px;gap:11px}.data-row-main b{font-size:11px}.data-row-main small{font-size:9px}.data-row-value{font-size:11px}.data-row-value small{font-size:8px}.data-row .icon-btn{height:34px;width:34px;border-radius:9px}.data-row .icon-btn .icon{width:15px;height:15px}.low-stock-note{font-size:10px;padding:12px 14px;margin-bottom:17px}dialog{border-radius:21px;max-height:88dvh}.modal-head{padding:19px 19px 16px}.modal-head h2{font-size:16px}.modal-content{padding:20px 19px}.modal-content .form-grid{gap:17px 12px}.modal-content .field input{font-size:16px}.modal-content .field select{font-size:12px}.modal-actions .btn{flex:1;min-height:45px;font-size:11px}.detail-line{font-size:11px}.detail-info{font-size:10px}.danger-section{font-size:9px}.login-card{padding:30px 25px}.login-card h1{font-size:24px}.login-card .field input{font-size:16px}#toast{left:50%;bottom:99px;font-size:11px;padding:12px 16px}.empty-state{padding:35px 20px}.empty-state p{font-size:10px}.empty-state h3{font-size:13px}.mode-chip button{font-size:inherit}}
@media(max-width:370px){.main{padding-left:15px;padding-right:15px}.topbar{padding-left:15px;padding-right:15px}.stat-value{font-size:21px}.stat-card{padding:15px 13px}.stat-label{font-size:9px}.stat-foot{font-size:8px}.quick-actions{gap:7px}.quick-action{font-size:8px;gap:6px;padding:11px 5px}.quick-icon{width:29px;height:29px}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.order-item-main{grid-template-columns:minmax(0,1fr) 92px}.bottom-link{min-width:48px}.mobile-brand{font-size:18px}.mode-chip{font-size:8px}.head-actions .btn{font-size:10px;padding:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body{background:#fff}body>*{display:none!important}#invoice-print{display:block!important;font-family:Arial,sans-serif;width:80mm;margin:0 auto;color:#111;padding:5mm}#invoice-print .badge{border:1px solid #ddd}#invoice-print .receipt-content{font-size:10pt}#invoice-print .detail-line{break-inside:avoid}#invoice-print .receipt-logo h3{font-size:17pt}@page{margin:10mm}}
