:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{width:100%;min-width:0;min-height:100%;margin:0;padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{min-height:100vh;overflow-x:hidden;background:#f6f7f9;color:#17191c}.purchase-page{width:100%}.purchase-page *,*{box-sizing:border-box}.stock-page{min-height:100vh;background:#f5f7fb;padding:30px;color:#172033}.stock-header{max-width:1000px;margin:0 auto 24px;display:flex;justify-content:space-between;align-items:center}.stock-header h1{margin:0;font-size:28px}.stock-header p{margin:5px 0 0;color:#718096}.new-button{border:0;background:#111827;color:#fff;padding:11px 18px;border-radius:8px;cursor:pointer}.search-card,.product-card{max-width:1000px;margin:0 auto 20px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px}.search-row{display:grid;grid-template-columns:1fr auto auto;gap:10px}input,select{width:100%;height:44px;border:1px solid #d7dce5;border-radius:8px;padding:0 13px;font-size:14px;background:#fff;outline:none}input:focus,select:focus{border-color:#2563eb}.search-button,.scan-button{height:44px;padding:0 18px;border:0;border-radius:8px;cursor:pointer;font-weight:600}.search-button{background:#2563eb;color:#fff}.scan-button{background:#eef2ff;color:#3730a3}.card-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px}.card-title h2{margin:0;font-size:20px}.card-title p{margin:5px 0 0;color:#718096;font-size:14px}.stock-status{background:#ecfdf5;color:#047857;padding:8px 12px;border-radius:20px;font-size:13px;font-weight:600}.form-group{margin-bottom:18px}.form-group label{display:block;margin-bottom:7px;font-size:13px;font-weight:600;color:#374151}.master-add-button{display:inline-grid;place-items:center;width:24px;height:24px;margin-left:6px;padding:0;border:0;border-radius:6px;background:#e8f0ff;color:#2563eb;cursor:pointer;vertical-align:middle}.master-add-button:hover{background:#dbe7ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.three-columns{grid-template-columns:repeat(3,1fr)}.pack-size{max-width:50%}.barcode-input{display:flex;gap:8px}.barcode-input input{flex:1}.barcode-input button{width:48px;border:1px solid #d7dce5;background:#f8fafc;border-radius:8px;cursor:pointer}.section-divider{border-top:1px solid #e5e7eb;margin:28px 0 20px;padding-top:20px;font-weight:700;font-size:16px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:30px}.cancel-button,.save-button{height:44px;padding:0 20px;border-radius:8px;cursor:pointer;font-weight:600}.cancel-button{background:#fff;border:1px solid #d7dce5;color:#374151}.save-button{background:#2563eb;border:0;color:#fff}.save-button:disabled{opacity:.6;cursor:not-allowed}.scanner-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;z-index:1400;display:flex;justify-content:center;align-items:center;padding:20px}.scanner-modal{width:min(500px,100%);background:#fff;border-radius:16px;overflow:hidden}.scanner-header{height:60px;padding:0 18px;display:flex;justify-content:space-between;align-items:center}.scanner-header h2{margin:0;font-size:18px}.scanner-header button{border:0;background:none;font-size:20px;cursor:pointer}.camera-container{position:relative;background:#000;aspect-ratio:4 / 3}.camera-container video{width:100%;height:100%;object-fit:cover}.scanner-frame{position:absolute;width:70%;height:35%;left:15%;top:32%;border:3px solid #22c55e;border-radius:10px}.scanner-modal>p{text-align:center;padding:0 15px 15px;color:#6b7280}@media(max-width:700px){.stock-page{padding:15px}.stock-header{align-items:flex-start}.stock-header h1{font-size:23px}.new-button{padding:9px 12px}.search-card,.product-card{padding:18px;border-radius:12px}.search-row{grid-template-columns:1fr}.search-button,.scan-button{width:100%}.form-grid,.three-columns{grid-template-columns:1fr;gap:0}.pack-size{max-width:100%}.card-title{align-items:flex-start}.form-actions{flex-direction:column-reverse}.cancel-button,.save-button{width:100%}.mobile-select{width:100%;min-height:48px;padding:10px 12px;background-color:#fff!important;color:#111827!important;font-size:16px!important;font-family:inherit;border:1px solid #d1d5db;border-radius:8px;opacity:1!important;-webkit-text-fill-color:#111827!important}@media(max-width:600px){.mobile-select{min-height:48px;font-size:16px!important;color:#111827!important;background-color:#fff!important;-webkit-text-fill-color:#111827!important}.mobile-select option{color:#111827!important;background-color:#fff!important}}}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f9;color:#17191c}button{font:inherit}.app-shell{min-height:100vh}.app-content{min-height:100vh;width:100%}.app-topbar{height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e8eaed}.topbar-left{display:flex;align-items:center;gap:16px}.topbar-kicker{margin:0 0 3px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#8a9099}.app-topbar h2{margin:0;font-size:21px;font-weight:700}.date-label{font-size:13px;color:#8a9099}.menu-button{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e4e8;border-radius:10px;background:#fff;color:#22262b;cursor:pointer;font-size:21px;transition:background .2s ease,border-color .2s ease}.menu-button:hover{background:#f3f4f6;border-color:#d4d8dd}.sliding-menu{position:fixed;z-index:1000;top:0;left:0;width:290px;height:100vh;display:flex;flex-direction:column;background:#fff;border-right:1px solid #e5e7eb;box-shadow:8px 0 30px #00000014;transform:translate(-100%);transition:transform .28s ease;overflow-y:auto}.sliding-menu.open{transform:translate(0)}.menu-header{min-height:82px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eceef1}.app-brand{display:flex;align-items:center;gap:12px}.brand-mark{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#17191c;color:#fff;font-size:18px;font-weight:800}.app-brand strong{display:block;font-size:15px}.app-brand span:last-child{display:block;margin-top:2px;font-size:11px;color:#8b9199}.close-menu{width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#737980;font-size:25px;line-height:1;cursor:pointer}.close-menu:hover{background:#f1f2f4;color:#17191c}.app-nav{flex:1;padding:22px 14px}.nav-group{margin-bottom:24px}.nav-group-label{margin:0 10px 8px;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9ca1a8}.nav-item{width:100%;display:flex;align-items:center;gap:12px;padding:11px 12px;margin-bottom:3px;border:0;border-radius:9px;background:transparent;color:#555b63;text-align:left;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s ease,color .18s ease}.nav-item:hover{background:#f3f4f6;color:#17191c}.nav-item.active{background:#17191c;color:#fff}.nav-icon{width:24px;display:inline-flex;justify-content:center;font-size:17px}.sidebar-footer{padding:18px;display:flex;align-items:center;gap:8px;border-top:1px solid #eceef1;font-size:12px;color:#777d85}.status-dot{width:8px;height:8px;border-radius:50%;background:#22a06b}.menu-overlay{position:fixed;z-index:900;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:0;background:#0f121659;cursor:pointer}.management-placeholder{min-height:calc(100vh - 76px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center}.placeholder-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;border-radius:16px;background:#e9ebee;font-size:27px}.eyebrow{margin:0 0 8px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b9199}.management-placeholder h1{margin:0 0 10px;font-size:30px}.management-placeholder>p:not(.eyebrow){max-width:480px;margin:0 0 24px;color:#737980;line-height:1.6}.placeholder-action{padding:11px 18px;border:0;border-radius:9px;background:#17191c;color:#fff;font-weight:600;cursor:pointer}.placeholder-action:hover{background:#30343a}@media(max-width:600px){.sliding-menu{width:min(290px,86vw)}.app-topbar{height:68px;padding:0 16px}.date-label{display:none}.app-topbar h2{font-size:18px}.management-placeholder{min-height:calc(100vh - 68px);padding:24px}}
