:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#23332c;background:#f3f5f1}*{box-sizing:border-box}body{margin:0}.shell{max-width:1120px;margin:auto;padding:22px 16px 70px}header{display:flex;justify-content:space-between;gap:15px;align-items:center}h1{font-size:25px;margin:0}h2{font-size:20px;margin:0 0 14px}h3{font-size:16px;margin:4px 0 7px}small,.hint{color:#68776e;font-size:13px}small{display:block}nav{display:flex;gap:7px;overflow-x:auto;padding:20px 0}button{border:0;border-radius:11px;padding:11px 14px;background:#1c503c;color:#fff;font-weight:650;cursor:pointer}nav button,.light{background:#e2e9e3;color:#214431;white-space:nowrap}nav .selected{background:#1c503c;color:#fff}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats article,.panel{background:#fff;border:1px solid #dce5dd;border-radius:17px;padding:18px;margin-bottom:15px}.stats h2{margin:9px 0 0}.line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8ede8}.line:last-child{border-bottom:0}.line span{min-width:0}.line small{margin-top:4px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.product{display:flex;gap:12px;border:1px solid #e2e9e2;border-radius:14px;padding:10px}.product img{width:105px;height:145px;object-fit:contain;background:#f7f7f4;border-radius:9px}.product p{font-size:13px}.form{display:grid;gap:10px;max-width:570px;margin-bottom:24px}input,select,textarea{width:100%;padding:12px;border:1px solid #cdd9d0;border-radius:10px;background:#fff;font:inherit}label{font-size:13px;font-weight:650}.client{padding:14px;border:1px solid #e2e9e2;border-radius:12px;margin:10px 0}.client p{font-size:14px}.warn{float:right;color:#a44916}.notice{padding:12px;background:#fff1d7;border-radius:12px;margin-bottom:12px}.login{max-width:420px;margin:12vh auto}.error{color:#a52e2e}@media(max-width:800px){.stats,.cards{grid-template-columns:repeat(2,1fr)}header{align-items:flex-start;flex-direction:column}.line{flex-wrap:wrap}}@media(max-width:520px){.cards{grid-template-columns:1fr}.shell{padding:15px 10px 60px}.panel{padding:13px}.stats article{padding:12px}.stats h2{font-size:18px}.product img{width:110px}}[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #287451;outline-offset:2px}.section-title,.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.section-title{justify-content:space-between;margin-bottom:10px}.section-title h2,.section-title h3{margin:0}.actions{margin:7px 0}.field{display:grid;gap:5px}.record{border-top:1px solid #e8ede8}.record summary{display:flex;justify-content:space-between;gap:12px;padding:12px 5px;cursor:pointer}.record summary span:first-child:before{content:"›";margin-right:6px}.record[open] summary span:first-child:before{content:"⌄"}.record-total{text-align:right}.record-body{padding:0 12px 12px}.photo-placeholder{display:grid;place-items:center;flex:0 0 84px;min-height:100px;background:#f3f5f1;border-radius:9px;color:#68776e;font-size:13px}.product{overflow-wrap:anywhere;align-items:start}.product img{flex-shrink:0}.sale-item{display:grid;gap:8px;min-width:0;margin:0 0 8px;border:1px solid #dce5dd;border-radius:12px;padding:10px}.sale-item legend{color:#68776e;font-size:13px}#operation{width:min(100% - 30px,480px);max-height:90dvh;border:1px solid #dce5dd;border-radius:16px;padding:20px;color:inherit}#operation .form{margin:0}#operation::backdrop{background:#12221a7a}@media(max-width:520px){header{gap:6px}.line,.record summary{overflow-wrap:anywhere}}
