@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');:root{font-family:Manrope,Arial,sans-serif;color:#152c35;background:#f3f6f6;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}.app{display:flex;min-height:100vh}aside{width:240px;background:#fff;border-right:1px solid #e4ebea;padding:28px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:11px;font-size:15px;font-weight:800}.brand small{display:block;font-size:11px;color:#89999c;font-weight:500;margin-top:4px}.logo{display:grid;place-items:center;background:#0b5c58;color:#bcebe2;width:40px;height:40px;border-radius:12px;font-size:34px}.side-label,.overline,.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:800;color:#829593}.side-label{margin:53px 10px 14px}nav{display:grid;gap:5px}.nav{text-align:left;border:0;background:transparent;border-radius:9px;color:#687e80;padding:13px 12px;font-size:14px;font-weight:700}.nav.active{background:#e5f3f0;color:#075e58}.nav b{float:right;background:#d4e9e4;border-radius:20px;padding:2px 7px;font-size:11px}.side-bottom{margin-top:auto;background:#eef7f4;border-radius:13px;padding:17px;color:#325f5b;font-size:13px}.side-bottom p{font-size:12px;line-height:1.6;color:#718b86;margin:7px 0 0}main{margin-left:240px;width:calc(100% - 240px);padding:32px 44px 60px;max-width:1700px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.05em;margin:8px 0 5px}header p,.page-top p{font-size:14px;color:#80918f}.header-right{font-size:12px;color:#849491;display:flex;align-items:center;gap:8px}.dot{width:7px;height:7px;background:#56b69e;border-radius:50%}.avatar{display:grid;place-items:center;width:38px;height:38px;background:#dcece8;border-radius:50%;font-weight:800;color:#176860;font-size:14px;margin-left:15px}.intro{background:#095d59;border-radius:15px;padding:26px 30px;color:white;display:flex;justify-content:space-between;overflow:hidden;min-height:152px}.pill{font-size:10px;letter-spacing:.12em;font-weight:800;color:#bce8dc;background:#21756d;padding:6px 9px;border-radius:5px}.intro h2{font-size:23px;letter-spacing:-.04em;margin:15px 0 7px}.intro p{font-size:13px;color:#c4e0da;line-height:1.6;max-width:570px}.intro-art{font-size:145px;line-height:.7;color:#3d8b7d;transform:rotate(-12deg);padding-right:50px}.intro-art i{font-style:normal;font-size:44px;color:#a0d5bc}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0 22px}.stat{background:#fff;border:1px solid #e6eceb;border-radius:12px;padding:18px 19px;min-height:118px}.stat span,.stat small{display:block;color:#829391;font-size:12px}.stat strong{display:block;font-size:23px;letter-spacing:-.05em;margin:11px 0 7px}.stat.highlight{background:#e4f3ee;border-color:#d5ebe2}.stat.highlight strong{color:#087668}.stat.highlight small{color:#4f897d}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px}.card{background:white;border:1px solid #e5ecea;border-radius:13px}.card-head{display:flex;justify-content:space-between;align-items:center;padding:24px}.overline{color:#56a598;font-size:10px}.card h3{font-size:18px;letter-spacing:-.04em;margin:8px 0}.card-head p,.settings>p,.connect-card p{font-size:13px;color:#889996;line-height:1.6}.button{border-radius:8px;padding:10px 14px;font-weight:800;font-size:12px;white-space:nowrap}.outline{color:#176b62;background:white;border:1px solid #cfe1dc}.primary{color:white;background:#08766c;border:1px solid #08766c}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;color:#98a8a5;letter-spacing:.06em;background:#f8faf9;padding:13px 15px;white-space:nowrap}td{padding:12px 8px;border-bottom:1px solid #f0f3f2}td:first-child{padding-left:20px}td input{width:100%;min-width:70px;border:1px solid #e4ece9;border-radius:7px;padding:9px;color:#24423f;font-size:13px}td:first-child input{min-width:125px;font-weight:700}.retail{font-weight:800;color:#08766c;white-space:nowrap;font-size:13px}.delete{border:0;background:none;color:#aab9b5;font-size:20px}.table-foot{display:flex;justify-content:space-between;padding:19px 24px;font-size:11px;color:#95a6a2}.settings{padding:24px}.settings label{display:block;font-size:12px;font-weight:800;margin-top:20px}.input-wrap{display:flex;align-items:center;border:1px solid #dfe9e6;border-radius:8px;margin-top:8px;padding-right:12px;color:#8b9e99}.input-wrap input{border:0;background:transparent;width:100%;padding:11px;color:#24423f;min-width:0}.divider{height:1px;background:#edf2f0;margin:23px 0}.detail{display:flex;justify-content:space-between;font-size:12px;margin:14px 0;color:#82938e}.detail strong{color:#284b45}.formula{background:#f1f8f5;padding:15px;border-radius:9px;margin-top:22px;font-size:12px;color:#2f6b61}.formula p{line-height:1.6;color:#6d9389;margin-top:7px}.warning{color:#ad6e28;background:#fff6e8;border-radius:8px;padding:10px;margin-top:12px;font-size:12px}.page-top{display:flex;align-items:end;justify-content:space-between;margin:15px 0 22px}.page-top h2{font-size:25px;letter-spacing:-.04em;margin:9px 0}.notice{background:#eaf5f1;border:1px solid #d9ece5;padding:15px 18px;border-radius:10px;color:#568078;font-size:13px;line-height:1.5;margin-bottom:18px}.empty{text-align:center;color:#93a4a0;padding:35px;font-size:13px}.order-card{padding:22px;margin-bottom:14px}.order-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.order-head input{border:0;border-bottom:1px solid #dbe8e4;padding:8px;font-weight:800;color:#183e38;font-size:16px}.order-head .delete{margin-left:auto}.order-line{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;align-items:end;margin-top:12px}.order-line label{font-size:11px;color:#82938e}.order-line input,.order-line select{width:100%;margin-top:5px;border:1px solid #dfe9e6;border-radius:7px;padding:9px;background:white;color:#24423f}.order-total{text-align:right;color:#08766c;font-size:18px;font-weight:800;margin-top:20px}.connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.connect-card{padding:25px}.connect-card p{margin-bottom:20px}.connect-icon{background:#e3f3ed;color:#08766c;border-radius:10px;width:42px;height:42px;display:grid;place-items:center;font-size:22px}.file-button{display:inline-block;cursor:pointer}code{word-break:break-all}@media(max-width:1100px){main{padding:28px}.content-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){aside{position:static;width:auto;padding:14px}.app{display:block}.brand{margin-bottom:14px}.side-label,.side-bottom{display:none}nav{display:flex;overflow-x:auto}.nav{white-space:nowrap;padding:8px;font-size:12px}main{margin:0;width:100%;padding:22px 15px}.header-right{display:none}h1{font-size:24px}.intro{padding:22px}.intro-art{display:none}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:19px}.card-head{align-items:start;gap:12px;flex-direction:column}.order-line{grid-template-columns:1fr 1fr}.connect-grid{grid-template-columns:1fr}.page-top{align-items:start;gap:10px;flex-direction:column}}

td select{min-width:80px;border:1px solid #e4ece9;border-radius:7px;padding:9px;color:#24423f;background:white;font-size:13px}td input[aria-label="Вес одной штуки в кг"]{min-width:90px}

.assortment th:last-child,.assortment td.product-action{position:sticky;right:0;z-index:1;background:#fff}.assortment th:last-child{background:#f8faf9}.delete-product{border:1px solid #e5d7d4;border-radius:7px;padding:8px 10px;color:#a3453b;background:#fff;font-size:12px;font-weight:700}.delete-product:hover{background:#fff2f0}.delete-product:focus-visible{outline:3px solid #7dd4c9;outline-offset:2px}

.head-actions{display:flex;gap:8px;flex-wrap:wrap}#print-area{display:none}@media print{body{background:#fff;color:#000;font-family:Arial,sans-serif}.app{display:none!important}#print-area{display:block!important;padding:0;font-size:11pt}.print-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.print-heading p{font-size:9pt;letter-spacing:.1em;color:#555}.print-heading h1{font-size:22pt;margin:8px 0}.print-heading span{color:#555;font-size:10pt}#print-area table{width:100%;border-collapse:collapse}#print-area th,#print-area td{border-bottom:1px solid #ccc;padding:9px 6px;text-align:left;color:#000;background:#fff;font-size:10pt;white-space:normal}#print-area tr{break-inside:avoid}.print-totals{margin:25px 0 0 auto;width:300px;max-width:100%}.print-totals p{display:flex;justify-content:space-between;padding:5px 0}.print-note{font-size:9pt;margin-top:20px;color:#555}@page{margin:15mm}}

.inventory{padding:20px 24px;margin-bottom:18px}.inventory h3{margin:0 0 7px}.inventory p{font-size:13px;color:#81928e}.inventory-list>div{display:grid;grid-template-columns:1fr 2fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf2f0;font-size:13px}.inventory-list{margin-top:15px}.inventory-list span{color:#80928d}.inventory-list b{color:#08766c}.inventory-list .negative{color:#ae493f}.order-status{padding:6px 9px;border-radius:7px;background:#f0f4f3;color:#6c817c;font-size:12px;font-weight:800}.order-status.issued{background:#e3f4ec;color:#13745e}.order-status.cancelled{background:#fbebea;color:#a34a44}.order-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}.order-footer .order-total{margin:0}.status-actions{display:flex;gap:8px}.history-card{margin-bottom:12px;padding:20px}.history-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;align-items:center}.history-card summary small,.history-card summary span{display:block;color:#82938e;font-size:12px;margin-top:6px}.history-detail{border-top:1px solid #e6efec;margin-top:18px;padding-top:14px;font-size:13px;line-height:1.8;color:#49635d}.history-detail h3{margin-top:16px}.order-card input:disabled,.order-card select:disabled{background:#f5f8f7;color:#5d716c}@media(max-width:700px){.inventory-list>div{grid-template-columns:1fr auto}.inventory-list span{grid-column:1/-1;grid-row:2}.history-card summary{align-items:start;flex-direction:column}}

.payment-fields{display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:14px;margin-top:16px;background:#f5f9f7;border-radius:9px}.payment-fields label{font-size:12px;color:#627c75;font-weight:700}.payment-fields input{display:block;width:150px;margin-top:6px;border:1px solid #dfe9e6;border-radius:7px;padding:9px;background:#fff}.payment-fields p{font-size:12px;color:#628078;line-height:1.5;flex:1;min-width:200px}.backup-card{margin:18px 0}
