:root{font-family:'Century Gothic','Avenir Next',Arial,sans-serif;color:#30242d;background:#fbf8fa;font-size:14px;--red:#b4104c;--pink:#fbe9f1;--line:#ebdce5;--secondary:#736571;--warn:#8a570d;--bad:#b21837}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.44;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e2689e;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:26px}h2{font-size:19px}h3{font-size:15px}p{line-height:1.55}.muted{color:var(--secondary)}.small{font-size:12px}.tiny{font-size:11px}.error{color:var(--bad)}.warn{color:var(--warn)}.ok{color:#166b47}.loading{padding:70px;text-align:center}button{border:1px solid #e8d6df;border-radius:8px;padding:10px 13px;background:#fff;color:#4e3140;min-height:39px}button:hover{background:#fcf0f6}.primary{color:#fff;background:var(--red);border-color:var(--red)}.primary:hover{background:#900c40}.danger{color:var(--bad);border-color:#efbdcb}.ghost{border-color:transparent;background:transparent}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:#f6eef2;padding:5px 8px;font-size:11px;color:#7a4c62}.pill.warn{background:#fff4e7;color:#905610}.pill.ok{background:#eaf6f0;color:#20754f}.pill.bad{background:#fff1f2;color:#ac1937}.row{display:flex;gap:10px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:12px}.space{margin-top:20px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px}.grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.menu{position:fixed;left:0;top:0;bottom:0;width:220px;border-right:1px solid var(--line);background:white;padding:28px 15px;display:flex;flex-direction:column;gap:8px}.menu img{width:185px;height:auto}.menu .subtitle{font-size:11px;color:var(--secondary);margin:10px 5px 27px}.menu button{text-align:left;border:0;background:transparent;width:100%;padding:14px}.menu button.active{background:var(--pink);color:#a0074a;font-weight:700}.menu footer{margin-top:auto;font-size:10px;line-height:1.7;color:var(--secondary);padding:12px;border-top:1px solid var(--line)}.main{margin-left:220px}.topbar{background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:14px 28px;min-height:70px}.topbar .person{font-size:12px;color:#6a4055}.content{max-width:1400px;margin:auto;padding:28px 30px 65px}.notice{background:#fff4e7;border:1px solid #f0d8aa;border-radius:9px;padding:12px 16px;color:#785115;font-size:12px;line-height:1.55;margin:15px 0}.notice.red{background:#fff1f3;border-color:#f3ced5;color:#a31938}.notice.ok{background:#eaf7f0;border-color:#cae8d6;color:#27744a}.header{margin-bottom:22px}.header p{margin-top:7px;color:var(--secondary)}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0}.field input,.field select,.field textarea{border:1px solid #dfd0d8;border-radius:7px;padding:11px;color:#382c34;background:white;min-width:0;width:100%}.field textarea{min-height:80px;resize:vertical}.auth{max-width:450px;margin:70px auto;padding:26px}.auth img{max-width:235px}.auth h1{margin:22px 0 9px}.auth .field{margin:15px 0}.auth button{width:100%;margin-top:8px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px}.stat span{color:var(--secondary);font-size:11px}.stat strong{font-size:27px;display:block;margin-top:7px}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.toolbar input,.toolbar select{padding:9px 10px;border:1px solid var(--line);border-radius:8px;min-height:39px;max-width:100%}.toolbar input{flex:1;min-width:180px}.tablewrap{overflow:auto;border-radius:10px;border:1px solid var(--line);background:#fff}table{border-collapse:collapse;width:100%;text-align:left}th{background:#fcf7fa;color:#685461;font-size:11px}th,td{padding:11px 12px;border-bottom:1px solid var(--line)}td{font-size:12px}tr:last-child td{border:0}.empty{text-align:center;padding:35px;color:var(--secondary)}.ship{border:1px solid var(--line);padding:15px;border-radius:10px;display:flex;gap:15px;justify-content:space-between;align-items:center;background:white;margin-bottom:10px}.ship h3{margin-bottom:5px}.ship p{font-size:11px;color:var(--secondary)}.ship button{white-space:nowrap}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.chip{padding:12px 16px;font-size:12px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer}.chip.selected{border-color:#bd3b77;background:#fcebf2}.search{max-width:350px}.panel{border:1px solid var(--line);background:white;border-radius:12px;padding:20px;margin:14px 0}.panel h3{margin-bottom:10px}.panel .field{margin:12px 0}.badge{font-size:11px;color:#7a5262}.modal{border:1px solid var(--line);border-radius:15px;box-shadow:0 18px 60px #57102e26;width:min(700px,calc(100vw - 22px));max-height:92vh;padding:0;color:inherit}.modal::backdrop{background:#23101c66}.modal header,.modal footer{position:sticky;background:white;padding:20px;z-index:1}.modal header{top:0;border-bottom:1px solid var(--line)}.modal footer{bottom:0;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.modal .inside{padding:20px}.modal .inside .field{margin:12px 0}.modal label.check{display:flex;gap:10px;align-items:flex-start;margin:11px 0;padding:10px;border-bottom:1px solid var(--line);cursor:pointer}.modal label.check input{width:19px;height:19px;accent-color:var(--red)}#toast{position:fixed;bottom:15px;left:50%;transform:translateX(-50%);display:none;background:#55263f;color:#fff;border-radius:10px;padding:12px 17px;box-shadow:0 6px 18px #0002;z-index:90;max-width:90vw}.postit-page{display:none}.postit-slip{border:1px dashed #a3a3a3;padding:10px 12px;margin-bottom:9px;break-inside:avoid;background:white;font-size:11px}.postit-slip .meta{font-size:10px;color:#333}.postit-slip .entries{border-collapse:collapse;width:100%}.postit-slip .entries td{padding:5px 3px;border:1px solid #bbb;font-size:11px}.postit-slip .entries .qty{font-size:17px;font-weight:bold;text-align:center}.postit-slip .entries .total{font-size:29px;text-align:center}.print-preview{display:grid;grid-template-columns:1fr 1fr;gap:14px}.print-preview .postit-slip{margin:0}.saved{font-size:11px;color:#167148}.mobile-nav{display:none}@media(max-width:850px){.menu{display:none}.main{margin:0}.topbar{padding:12px 15px;min-height:60px}.content{padding:20px 14px 90px}.grid,.grid.three{grid-template-columns:1fr 1fr}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;border-top:1px solid var(--line);background:#fff;z-index:5;padding:7px}.mobile-nav button{flex:1;border:0;background:none;font-size:11px;padding:8px 3px;min-width:0}.mobile-nav button.active{color:var(--red);background:var(--pink)}.ship{align-items:flex-start}.ship .actions{flex-direction:column}.postit-slip .entries td{font-size:9px}.print-preview{gap:8px}.auth{margin:30px auto}.topbar img{width:150px}}
@media print{@page{size:letter portrait;margin:9mm}body.printing{background:white;color:black}body.printing>*:not(.postit-page){display:none!important}body.printing .postit-page{display:grid;grid-template-columns:repeat(2,minmax(0,94.95mm));column-gap:5mm;align-content:start;gap:3mm;width:100%;font-family:Arial,sans-serif}body.printing .postit-slip{width:94.95mm;margin:0;border:.3mm dashed #999;padding:2.5mm 3mm;break-inside:avoid}body.printing .postit-slip .entries td{padding:1.5mm;font-size:9pt}body.printing .postit-slip .entries .qty{font-size:14pt}body.printing .postit-slip .entries .total{font-size:24pt}body.printing .postit-slip .meta{font-size:8pt}}