:root{--nav:#102e32;--nav-active:#205d58;--green:#176b5b;--ink:#182b43;--muted:#7a8a9b;--line:#e1e7ee;--canvas:#f5f7fb;--white:#fff;--radius:10px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #55b99e;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:2rem;line-height:1.2;font-weight:700;letter-spacing:-.8px}h2{font-size:1.1rem;line-height:1.4;font-weight:650}h3{font-size:1rem;font-weight:650}small{display:block;font-size:.78rem;line-height:1.6;color:var(--muted)}svg{flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:var(--nav);color:#d4e3e3;display:flex;flex-direction:column;z-index:20;padding:30px 16px 22px}.logo{display:flex;align-items:center;gap:10px;position:relative;padding:0 15px 38px;color:#8adeca;font-size:2.35rem;line-height:1}.logo strong{color:#fff;font-size:2.25rem;font-weight:700;letter-spacing:-1.5px}.logo>span{position:absolute;top:45px;left:61px;color:#99bab9;font-size:.62rem;letter-spacing:3px}.nav-label{font-size:.65rem;letter-spacing:1.8px;color:#91acab;margin:20px 16px 12px}nav{display:flex;flex-direction:column;gap:4px;overflow-y:auto;padding-bottom:12px}.nav-button{display:flex;align-items:center;gap:13px;text-align:left;background:none;color:#c5d8d9;font-size:.875rem;padding:11px 15px;border-radius:7px;min-height:44px}.nav-button:hover{background:#1b4547}.nav-button.active{background:var(--nav-active);color:#f0fffa;font-weight:600;box-shadow:inset 3px 0 #85d9bd}.nav-button.active svg{color:#b0ead7}.nav-button>i{width:5px;height:5px;background:#a9c9bc;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:22px 12px 0}.private-label{font-size:.79rem;color:#d0e4dd;padding-bottom:20px}.private-label small{color:#87aaa6;margin-left:17px}.profile-button{display:flex;align-items:center;gap:10px;width:100%;background:none;color:#e3eeeb;border-top:1px solid #315153;padding:20px 0 0;text-align:left;font-size:.875rem}.profile-button small{color:#94b7af}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#315655;font-size:.875rem;color:white;flex-shrink:0}.main-layout{margin-left:240px;min-width:0}.topbar{height:78px;padding:0 37px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.top-left,.top-right{display:flex;gap:16px;align-items:center;min-width:0}.top-left select{border:0;background:transparent;padding-left:0;width:auto;max-width:300px;font-weight:600;font-size:.875rem}.store-icon{color:#6e8491;font-size:1.25rem}.role-badge{padding:4px 9px;border:1px solid var(--line);border-radius:5px;font-size:.7rem;color:#738596}.top-right form{margin:0}.workspace{max-width:1550px;padding:34px 37px 23px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:27px}.eyebrow{font-size:.64rem;font-weight:650;letter-spacing:1.8px;color:#83939e;margin-bottom:8px}.page-heading p{font-size:.9rem;color:var(--muted);margin-top:9px}.heading-actions{display:flex;align-items:center;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:6px;font-size:.875rem;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#0c594b}.secondary{border-color:#d9e2e9;background:white;color:#40586a}.secondary:hover{background:#f3f8f6;border-color:#a4bdb1}.full{width:100%}.text-button{display:inline-flex;align-items:center;gap:7px;background:none;color:var(--green);padding:6px 0;font-size:.875rem;font-weight:600}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;background:none;color:#73889b;border-radius:5px;font-size:1.2rem}.icon-button:hover{background:#edf4f1;color:var(--green)}.danger{color:#b85051}.mobile-menu{display:none}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stats.three{grid-template-columns:repeat(3,1fr)}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:21px 21px 20px;min-width:0;box-shadow:0 3px 8px #19304403}.stat>div{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#697c8d;font-size:.875rem}.stat-icon{display:grid;place-items:center;width:31px;height:31px;color:#478f76;background:#eef6f2;border-radius:8px}.stat strong{display:block;font-size:1.9rem;letter-spacing:-.8px;line-height:1.15;font-weight:700;margin:12px 0 10px;overflow-wrap:anywhere}.stat small{font-size:.73rem}.stat.attention{background:#fffcf3;border-color:#ece2c6}.attention .stat-icon{background:#fcf0d5;color:#ba8a30}.attention strong{color:#9b6c26}.panel{border:1px solid var(--line);background:white;border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 23px}.panel-heading p{font-size:.875rem;color:var(--muted);margin-top:5px}.muted{font-size:.875rem;color:var(--muted);line-height:1.6}.overview-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:23px;margin-bottom:24px}.overview-side{display:flex;flex-direction:column;gap:18px}.quick-actions{padding:0 19px 20px;display:flex;flex-direction:column;gap:10px}.quick-actions>button{display:flex;align-items:center;gap:12px;text-align:left;background:#fafcfb;border:1px solid #e3ece8;padding:13px;border-radius:7px;color:#7c988c}.quick-actions>button:hover{border-color:#7eb29b}.quick-actions>button>span:nth-child(2){flex:1}.quick-actions b{display:block;font-size:.87rem;color:#2e4558}.quick-actions small{font-size:.74rem;margin-top:3px}.quick-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;width:37px;height:37px;flex-shrink:0}.green{background:#e8f5ee;color:#217355}.blue{background:#edf2ff;color:#436cb2}.purple{background:#f0eefa;color:#7c60a9}.amber{background:#fff3d8;color:#a47025}.red{background:#fcebec;color:#ab5058}.gray{background:#f0f3f6;color:#758595}.health{padding:21px 23px}.health>div:first-child{display:flex;justify-content:space-between;align-items:center;color:#66947f}.health strong{display:block;font-size:1.75rem;line-height:1.2;margin:15px 0 5px;letter-spacing:-.8px}.health p{font-size:.875rem;color:var(--muted)}.health-bar{background:#f4e6c4;height:7px;border-radius:5px;margin:16px 0 8px;overflow:hidden}.health-bar i{height:100%;background:#429678;display:block;border-radius:5px}.bar-chart{min-height:280px;height:calc(100% - 85px);display:flex;align-items:flex-end;gap:12px;padding:35px 25px 25px;overflow-x:auto;background:repeating-linear-gradient(to top,transparent 0,transparent 64px,#ecf1f6 65px,transparent 66px);background-clip:content-box}.bar-item{flex:1;min-width:36px;display:flex;align-items:center;flex-direction:column;justify-content:end;height:100%}.bar-item>b{font-size:.72rem;font-weight:500;color:#799087;text-align:center;white-space:nowrap}.bar-track{width:100%;height:210px;display:flex;align-items:flex-end;justify-content:center;margin:9px 0 12px}.bar-track i{width:70%;min-width:12px;max-width:54px;border-radius:5px 5px 0 0;background:linear-gradient(#329980,#176b5b);min-height:3px}.bar-item>span{font-size:.69rem;color:#8a99a5;text-align:center;white-space:nowrap}.table-scroll{overflow-x:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:.875rem}thead{background:#f8fafc}th{padding:13px 19px;text-align:left;color:#718496;font-size:.75rem;font-weight:550;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:17px 19px;border-bottom:1px solid #eaf0f4;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}td small{font-size:.74rem;margin-top:4px;max-width:250px;overflow-wrap:anywhere}.numeric{text-align:right;white-space:nowrap}.product-cell{display:flex;align-items:center;gap:12px;min-width:220px}.product-name{font-size:.875rem;font-weight:600;text-align:left;padding:0;color:#354c60;background:transparent}.product-name:hover{color:var(--green);text-decoration:underline}.product-placeholder,.product-photo{display:flex;align-items:center;justify-content:center;width:44px;height:44px;object-fit:contain;border-radius:8px;flex-shrink:0}.tone-0{background:#f5efe4;color:#9b825a}.tone-1{background:#eaf1fa;color:#759ac7}.tone-2{background:#f1eef9;color:#9a86bf}.tone-3{background:#eaf3ed;color:#78a48c}.product-placeholder.large,.product-photo.large{width:100%;height:145px;object-fit:contain;border-radius:9px;padding:18px}.product-placeholder.large svg{width:44px;height:44px;opacity:.8}.badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:5px;font-size:.73rem;line-height:1.5;font-weight:500;white-space:nowrap}.filters{display:flex;align-items:center;gap:12px;padding:21px 22px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #dce5ec;border-radius:6px;background:white;color:#8796a5;flex:1;min-width:230px}.search input{border:0;padding:11px 0;width:100%;min-width:0;box-shadow:none!important;background:transparent}.table-caption{padding:0 22px 16px;color:#788b9a;font-size:.875rem}.table-caption span{float:right;color:#9ba7b1;font-size:.72rem}input,select,textarea{border:1px solid #d7e1e9;border-radius:6px;padding:10px 11px;outline:none;background:white;color:#354c62;font-size:.875rem;max-width:100%;min-width:0;line-height:1.5}input:focus,select:focus,textarea:focus{border-color:#5aaa90;box-shadow:0 0 0 3px #5aaa9017}textarea{min-height:78px;resize:vertical}.field{display:flex;flex-direction:column;gap:7px;color:#556b7d;font-size:.875rem;min-width:0}.field input,.field select{width:100%}.field>small{font-size:.75rem}.field:has(input:disabled){opacity:.7}.form-stack{display:flex;flex-direction:column;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:15px;padding-top:15px;border-top:1px solid var(--line);margin-top:4px}.save-hint{font-size:.72rem;color:#8d9aa6;flex:1}.form-note{font-size:.78rem;line-height:1.65;color:#7e8f9e}.form-error{background:#fff0ed;color:#ab493f;border:1px solid #f1d4cc;padding:12px 14px;border-radius:6px;font-size:.85rem;margin-bottom:16px}.form-error[hidden],.error-banner[hidden],.toast[hidden]{display:none}.error-banner{background:#fff0ed;border:1px solid #ebc9c2;padding:14px 18px;color:#a1483f;border-radius:8px;margin-bottom:22px;font-size:.875rem}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:48px 25px;min-height:235px;color:#99b8ab}.empty h3{color:#486074;margin:17px 0 8px}.empty p{font-size:.85rem;color:var(--muted);margin-bottom:18px;max-width:380px}.app-footer{display:flex;justify-content:space-between;gap:15px;color:#9ca8b1;font-size:.72rem;margin-top:32px}.loading-surface{min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#71927f}.loading-surface h2{font-size:1rem}.loader{width:35px;height:35px;border:3px solid #d6e6de;border-top-color:var(--green);border-radius:50%;animation:rotate 1s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}.chips{display:flex;align-items:center;gap:8px;margin-bottom:20px;flex-wrap:wrap}.chip{background:white;border:1px solid #e1e7ed;color:#607487;padding:7px 14px;font-size:.875rem;border-radius:20px}.chip.active{background:var(--green);border-color:var(--green);color:white}.pos-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:start}.pos-search{margin-bottom:17px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.product-tile{display:flex;flex-direction:column;text-align:left;padding:13px;background:white;border:1px solid var(--line);border-radius:9px;transition:border .15s,box-shadow .15s;min-width:0}.product-tile:hover{border-color:#73ad94;box-shadow:0 4px 12px #265a4410}.product-tile h3{font-size:.85rem;margin:13px 0 3px;line-height:1.45}.product-tile>small{font-size:.68rem}.product-tile>div{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:4px;flex-wrap:wrap}.product-tile strong{font-size:1.12rem;color:#263f52}.product-tile .badge{font-size:.64rem;padding:3px 6px}.sale-cart{position:sticky;top:20px}.sale-cart .panel-heading{padding-bottom:16px}.cart-form{padding:0 22px 22px;display:flex;flex-direction:column;gap:17px}.cart-lines{margin:3px 0}.cart-line{display:flex;gap:9px;align-items:center;padding:16px 0;border-bottom:1px solid #e8edf1;flex-wrap:wrap}.cart-line>div:first-child{flex:1;min-width:110px}.cart-line b{font-size:.82rem}.cart-line small{font-size:.71rem;margin-top:4px}.cart-line>strong{font-size:.88rem}.quantity-control{display:flex;align-items:center;border:1px solid #dce4e9;border-radius:5px;height:33px;overflow:hidden}.quantity-control button{width:26px;height:31px;background:#f8fafb;color:#476173}.quantity-control input{border:0!important;box-shadow:none;width:51px;text-align:center;padding:4px 0;font-size:.78rem;appearance:textfield}.quantity-control input::-webkit-inner-spin-button{appearance:none}.cart-line>.icon-button{width:23px}.cart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:145px;color:#afc0b7;font-size:.875rem;gap:15px}.cart-empty p{color:#93a198}.totals{border-top:1px solid #e2e9ee;padding-top:16px}.totals>div{display:flex;justify-content:space-between;gap:20px;margin:9px 0;font-size:.875rem;color:#6e8293}.totals b{font-weight:550;color:#344f62}.totals .grand-total{padding-top:12px;font-size:1.15rem;color:#1c3549}.grand-total strong{font-size:1.8rem;letter-spacing:-.7px}.invoice-info{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #dce6ef;background:#f0f5fa;border-radius:7px;color:#6b8094;font-size:.79rem;margin-bottom:22px}.footnote{font-size:.77rem;color:#8a98a5;line-height:1.7;margin-top:18px}.warehouse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.warehouse-card{padding:23px}.warehouse-head{display:flex;justify-content:space-between;margin-bottom:21px}.warehouse-card h2{font-size:1.05rem}.warehouse-card>p{color:#8595a3;font-size:.875rem;margin-top:7px}.warehouse-stats{display:flex;justify-content:space-between;gap:20px;margin:25px 0}.warehouse-stats strong{font-size:1.3rem;display:block;letter-spacing:-.4px}.warehouse-stats small{font-size:.7rem}.warehouse-card>.button{width:100%}.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:0 22px 22px}.contact-card{padding:21px;border:1px solid #e0e7ee;border-radius:8px}.contact-card>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.contact-avatar{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#e5f1eb;color:#548a72;font-size:.875rem;font-weight:600}.contact-card h3{font-size:1rem;margin:13px 0}.contact-card p{font-size:.875rem;color:#7f91a0;line-height:1.8;overflow-wrap:anywhere}.contact-card>small{margin-top:10px}.contact-note{margin-top:12px;padding-top:11px;border-top:1px solid #eaf0f3}.report-filter{padding:18px 22px;margin-bottom:23px}.report-filter form{display:flex;align-items:end;gap:17px}.category-bars{padding:0 23px 23px}.category-bars>div{margin:18px 0}.category-bars>div>div:first-child{display:flex;justify-content:space-between;gap:20px;font-size:.82rem;margin-bottom:10px}.category-track{height:9px;border-radius:6px;background:#edf3f0}.category-track i{display:block;height:100%;background:#509e83;border-radius:6px}.rank{display:inline-grid;place-items:center;min-width:25px;height:25px;background:#f1f6f3;color:#6b9480;border-radius:5px;font-size:.875rem}.permission-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:25px}.permission-summary>div{position:relative;background:white;border:1px solid var(--line);border-radius:10px;padding:22px 22px 22px 77px}.permission-summary .quick-icon{position:absolute;left:22px;top:23px}.permission-summary p{font-size:.82rem;color:#7b8e9e;margin-top:8px;line-height:1.7}.settings-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:23px}.settings-card{padding:26px}.settings-card>p{font-size:.85rem;color:#7d909f;line-height:1.75;margin:12px 0 20px}.section-title{display:flex;align-items:center;gap:16px;margin-bottom:27px;color:#4d8c70}.section-title h2{color:#2b4659}.section-title p{font-size:.875rem;color:#8395a2;margin-top:5px}.stack-buttons{display:flex;flex-direction:column;gap:12px;margin-top:20px}.spaced{margin-top:22px}.settings-card .form-footer{flex-wrap:wrap}.settings-card .save-hint{flex-basis:100%}dialog{width:550px;max-width:calc(100% - 32px);max-height:90dvh;overflow-y:auto;border:1px solid #dce6ec;border-radius:13px;background:white;color:var(--ink);padding:26px;box-shadow:0 25px 80px #102b3240}dialog.wide{width:780px}dialog::backdrop{background:#0d233c66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:25px}.modal-head h2{font-size:1.22rem;letter-spacing:-.3px}.modal-head p{font-size:.875rem;color:#8494a2;margin-top:7px}.modal-head .icon-button{flex-shrink:0;margin-top:-4px}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:22px;flex-wrap:wrap}.tx-add select{width:100%}.tx-lines{display:flex;flex-direction:column;gap:12px}.tx-line{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:7px;padding:14px;background:#fcfdfd}.tx-line>div:first-child{flex:1;font-size:.85rem}.tx-line .field{width:110px;flex-shrink:0;font-size:.76rem}.tx-line small{margin-top:5px;font-size:.72rem}.adjust-note{padding:13px 15px;border-radius:6px;border:1px solid #ebdfbf;background:#fffbec;font-size:.82rem;color:#977137;line-height:1.7}.product-detail>div:first-child{display:flex;align-items:center;gap:23px}.product-detail .large{width:130px;height:165px}.product-detail strong{display:block;font-size:1.55rem;margin:17px 0 3px}.product-detail h3{margin-bottom:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:24px 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-grid b{display:block;font-size:.87rem;margin-top:5px;font-weight:550}.detail-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e7edf1;font-size:.85rem}.detail-line small{margin-top:5px}.detail-line>.button{font-size:.74rem;padding:8px 10px;min-height:35px}.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:25px 0}.invoice-parties h3{margin:8px 0}.invoice-parties p{font-size:.82rem;color:#8a98a4}.invoice-detail>.totals{margin-top:15px}.balance-card{background:#eff7f3;border:1px solid #d6e8de;border-radius:8px;padding:18px 20px}.balance-card span{font-size:.85rem;color:#6b8879}.balance-card strong{display:block;font-size:1.8rem;color:#196449;margin:10px 0 3px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);z-index:100;background:#173c32;color:#effdf7;padding:14px 22px;font-size:.85rem;border-radius:9px;box-shadow:0 8px 30px #14372322;line-height:1.5}.login-body{background:white}.login-layout{display:grid;grid-template-columns:1fr 1.1fr;min-height:100dvh}.login-brand{background:radial-gradient(ellipse at 20% 80%,#23644f 0,transparent 65%),#102e32;color:white;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between}.login-brand .logo{padding:0;font-size:2.6rem}.login-brand .logo strong{font-size:2.5rem}.login-copy{margin:65px 0;max-width:430px}.login-copy .eyebrow{color:#95c6b1;font-size:.68rem;letter-spacing:2px;margin-bottom:19px}.login-copy h1{font-size:3.5rem;font-weight:600;line-height:1.14;letter-spacing:-1.5px}.login-copy p{font-size:1rem;line-height:1.8;color:#b3cec1;margin-top:25px;max-width:330px}.login-preview{margin-top:40px;border:1px solid #4c806c80;padding:25px;background:#6fa1860c;border-radius:12px;max-width:340px}.login-preview>span{font-size:.64rem;letter-spacing:1.8px;color:#a0c8b6}.login-preview>div{display:flex;align-items:flex-end;height:110px;gap:13px;margin:25px 0 13px}.login-preview i{flex:1;background:#79c7a1;border-radius:4px 4px 0 0;height:45%;opacity:.7}.login-preview i:nth-child(2){height:60%}.login-preview i:nth-child(3){height:52%}.login-preview i:nth-child(4){height:76%}.login-preview i:nth-child(5){height:69%}.login-preview i:nth-child(6){height:85%}.login-preview i:nth-child(7){height:100%;background:#b5ebd1}.login-preview small,.login-brand>small{color:#a5c7b5}.login-form{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:60px}.login-form>div{width:100%;max-width:365px}.login-icon{display:grid;place-items:center;width:51px;height:51px;background:#eaf5ee;color:#358665;font-size:1.5rem;border-radius:12px;margin-bottom:27px}.login-form h2{font-size:1.85rem;letter-spacing:-.7px}.login-form>div>p{color:#8798a5;font-size:.9rem;margin:10px 0 28px}.login-form form{display:flex;flex-direction:column;gap:22px}.login-form label{display:flex;flex-direction:column;gap:9px;font-size:.87rem;color:#536d80}.login-form input{padding:13px 14px}.login-form form>.button{margin-top:7px;padding:13px;justify-content:space-between}.login-form .login-help{font-size:.79rem;color:#8d9ba6;line-height:1.7;margin-top:24px!important}.login-security{font-size:.74rem;padding-top:25px;border-top:1px solid var(--line)}.login-form footer{position:absolute;bottom:25px;font-size:.72rem;color:#9bacb5}
@media(min-width:1700px){.workspace{padding-top:43px}.product-placeholder.large,.product-photo.large{height:180px}}@media(max-width:1250px){.sidebar{width:220px;padding-left:12px;padding-right:12px}.main-layout{margin-left:220px}.workspace{padding:28px 24px}.topbar{padding:0 24px}.stats{gap:12px}.stat{padding:18px 15px}.stat strong{font-size:1.6rem}.overview-grid{grid-template-columns:1.3fr 1fr;gap:18px}.pos-layout{grid-template-columns:1.05fr 1fr;gap:18px}.product-grid{grid-template-columns:1fr 1fr}.warehouse-grid{grid-template-columns:1fr 1fr}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.settings-grid{grid-template-columns:1fr}.contacts-grid{grid-template-columns:1fr 1fr}.login-brand{padding:40px}.login-copy h1{font-size:3rem}.login-form{padding:40px}.role-badge{display:none}.nav-button{font-size:.875rem}}
@media(max-width:950px){.overview-grid{grid-template-columns:1fr}.overview-side{display:grid;grid-template-columns:1.2fr 1fr}.stats{grid-template-columns:repeat(2,1fr)}.permission-summary{grid-template-columns:1fr}.page-heading{align-items:flex-start}.pos-layout{grid-template-columns:1fr}.sale-cart{position:static}.product-grid{grid-template-columns:repeat(3,1fr)}.bar-chart{height:300px}.login-copy h1{font-size:2.6rem}.login-form h2{font-size:1.6rem}.login-form{padding:35px}.top-left select{max-width:210px}.heading-actions .button{font-size:.77rem;padding:9px 11px}.product-detail .large{width:110px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:10px 0 40px #15323222}.sidebar.is-open{transform:translateX(0)}.main-layout{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:66px;padding:0 16px;gap:8px}.top-left{gap:8px}.top-right{gap:8px}.store-icon{display:none}.top-left select{font-size:.78rem;max-width:180px}.top-right .text-button{font-size:.74rem}.top-right .icon-button{width:27px}.workspace{padding:25px 17px 20px}.page-heading{flex-direction:column;gap:18px}.page-heading h1{font-size:1.75rem}.page-heading p{font-size:.875rem}.heading-actions{width:100%;justify-content:flex-start}.heading-actions .button{flex:1;font-size:.875rem}.stats{gap:11px}.stats.three{grid-template-columns:1fr 1fr}.stat{padding:16px 13px}.stat>div{font-size:.75rem}.stat-icon{width:27px;height:27px}.stat strong{font-size:1.5rem;margin:12px 0 8px}.stat small{font-size:.67rem}.overview-side{display:flex;flex-direction:column}.panel-heading{padding:18px;align-items:flex-start}.panel-heading h2{font-size:1rem}.panel-heading .muted{font-size:.71rem}.panel-heading .text-button{font-size:.73rem}.bar-chart{padding:25px 18px 20px;height:280px;gap:9px}.bar-item>b{font-size:.65rem}.bar-item>span{font-size:.63rem}.filters{padding:17px 15px;gap:10px}.search{min-width:100%}.filters select{flex:1}.table-caption{padding:0 15px 15px}.table-caption span{display:none}th{padding:11px 14px}td{padding:15px 14px}.product-cell{min-width:210px}.badge{font-size:.7rem}.product-grid{grid-template-columns:1fr 1fr;gap:12px}.product-placeholder.large,.product-photo.large{height:140px}.product-tile{padding:12px}.product-tile h3{font-size:.875rem}.product-tile strong{font-size:1.06rem}.product-tile .badge{font-size:.64rem}.warehouse-grid,.contacts-grid{grid-template-columns:1fr}.warehouse-card{padding:23px}.contacts-grid{padding:0 16px 16px}.permission-summary>div{padding-left:70px}.settings-card{padding:22px}.form-grid{gap:13px}.form-footer{flex-wrap:wrap}.save-hint{flex-basis:100%;font-size:.72rem}.form-footer>.button{width:100%}dialog{padding:23px 18px;max-height:92dvh}.modal-head{gap:10px;margin-bottom:23px}.modal-head h2{font-size:1.1rem}.tx-line{flex-wrap:wrap;padding:12px}.tx-line>div:first-child{flex-basis:100%}.tx-line .field{flex:1}.tx-line .icon-button{align-self:end}.report-filter{padding:17px}.report-filter form{flex-direction:column;align-items:stretch}.report-filter .form-grid{width:100%}.invoice-info{font-size:.73rem;align-items:flex-start;padding:12px}.app-footer{font-size:.66rem;flex-wrap:wrap;gap:7px}.invoice-parties{gap:18px}.invoice-parties h3{font-size:.91rem}.invoice-detail .dialog-actions{flex-direction:column;align-items:stretch}.detail-line{flex-wrap:wrap}.login-layout{display:flex;flex-direction:column;min-height:100dvh}.login-brand{padding:28px 27px 30px;min-height:0;background:radial-gradient(ellipse at 70% 0,#2d6852,transparent 80%),#102e32}.login-brand .logo{font-size:1.9rem}.login-brand .logo strong{font-size:2rem}.login-copy{margin:30px 0 0}.login-copy .eyebrow{font-size:.57rem;margin-bottom:12px}.login-copy h1{font-size:2rem;line-height:1.2;letter-spacing:-.7px}.login-copy h1 br{display:none}.login-copy p{font-size:.85rem;margin:13px 0 0;line-height:1.6;max-width:340px}.login-preview,.login-brand>small{display:none}.login-form{flex:1;padding:35px 27px 70px}.login-icon{display:none}.login-form h2{font-size:1.6rem}.login-form>div>p{margin-bottom:23px}.login-form form{gap:20px}.login-form footer{bottom:18px}.login-security{padding-top:18px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* Public guest experience, shared with the actual application UI. */
[hidden]{display:none!important}
.demo-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 35px;background:#eaf5ef;border-bottom:1px solid #cce3d6;color:#205c48}.demo-bar>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.demo-bar strong{font-size:.86rem}.demo-bar small{font-size:.75rem;color:#567b69}.demo-dot{width:7px;height:7px;border-radius:50%;background:#2c9362}.demo-controls{display:flex;align-items:center;gap:12px;flex-shrink:0}.demo-controls label{display:flex;align-items:center;gap:8px;font-size:.75rem}.demo-controls select{padding:7px 10px;background:#fff;font-size:.78rem;max-width:150px}.demo-controls .button{font-size:.75rem;padding:8px 12px}.demo-entry-link{display:block;font-size:.8rem;color:#176b5b;margin-top:22px;line-height:1.6}.demo-owner-link{font-size:.81rem;color:#176b5b;text-decoration:none}.demo-tag{display:block;font-size:.61rem;letter-spacing:1.5px;color:#458668;font-weight:700;margin-bottom:14px}.demo-features{display:grid;gap:22px;margin:25px 0 30px}.demo-features>div{display:flex;gap:14px;align-items:flex-start}.demo-features>div>span{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#edf5f0;color:#488569;font-size:.68rem;flex-shrink:0}.demo-features b{font-size:.85rem;font-weight:600;color:#284b43}.demo-features small{display:block;color:#80928c;font-size:.75rem;line-height:1.6;margin-top:4px}.demo-preview{margin-top:30px;border:1px solid #7da18c4d;border-radius:16px;background:#ffffff09;padding:24px;max-width:400px}.demo-preview>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:.62rem;letter-spacing:1.1px;color:#c4dfcf}.demo-live{background:#7dc7a11c;padding:6px 8px;border-radius:20px;color:#a5dfbc;letter-spacing:0}.demo-preview-stats{display:flex;justify-content:space-between;padding-top:25px}.demo-preview-stats small{display:block;font-size:.66rem;color:#a1c1af;margin-bottom:8px}.demo-preview-stats strong{font-size:1.55rem;font-weight:500;color:#f0f7f3}.demo-spark{display:flex;align-items:flex-end;height:90px;gap:10px;margin:25px 0 17px}.demo-spark i{flex:1;background:linear-gradient(#94d7b0,#63a48955);border-radius:4px 4px 0 0;height:35%}.demo-spark i:nth-child(2n){height:55%}.demo-spark i:nth-child(3n){height:45%}.demo-spark i:nth-child(5){height:63%}.demo-spark i:nth-child(7){height:75%}.demo-spark i:nth-child(8){height:68%}.demo-spark i:nth-child(9){height:85%}.demo-spark i:nth-child(10){height:100%;background:#b3e4c7}.demo-preview>small{color:#a1c1af;font-size:.68rem}.demo-login .login-form>div{max-width:390px}.demo-login .login-copy h1{font-size:3.2rem}.demo-login .login-copy p{max-width:370px}.demo-login .login-form h2{font-size:1.85rem}
@media(max-width:1150px){.demo-bar{align-items:flex-start;flex-direction:column;padding:13px 24px;gap:10px}.demo-login .login-copy h1{font-size:2.7rem}.demo-login .login-form h2{font-size:1.6rem}}
@media(max-width:760px){.demo-bar{padding:13px 17px}.demo-bar>div:first-child{column-gap:8px;row-gap:5px}.demo-bar small{font-size:.67rem}.demo-controls{width:100%;justify-content:space-between;gap:8px}.demo-controls select{font-size:.74rem;padding:7px}.demo-controls .button{font-size:.72rem}.demo-preview{display:none}.demo-login .login-copy{margin-top:24px}.demo-login .login-copy h1{font-size:2.1rem}.demo-login .login-copy p{font-size:.83rem;max-width:none}.demo-login .login-form{padding-top:29px}.demo-login .login-form h2{font-size:1.65rem}.demo-features{gap:18px;margin:22px 0}.demo-tag{font-size:.57rem}.demo-login .login-brand{padding-bottom:25px}.demo-login .login-help{font-size:.72rem}.top-left{min-width:0}.top-left select{min-width:0}.top-right{flex-shrink:0}}
