:root{font-family:-apple-system,BlinkMacSystemFont,Hiragino Kaku Gothic ProN,Hiragino Sans,Yu Gothic,sans-serif;color:#232936;background:#f7f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}input,select,textarea{color:#28303d}.app-shell{min-height:100vh}.app-header{background:linear-gradient(105deg,#c42e77,#e44b69);color:#fff;box-shadow:0 2px 8px #9f22582b}.header-inner{height:60px;max-width:1360px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{border:0;background:none;color:#fff;font-size:18px;font-weight:800;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:0}.brand:first-letter{color:#ffe270}.header-actions{display:flex;gap:8px}.header-actions button{border:0;border-radius:20px;padding:8px 14px;font-size:12px;font-weight:700;white-space:nowrap}.header-ghost{background:#fff2;color:#fff}.header-primary{background:#fff;color:#b82d65}.workspace{max-width:1360px;margin:auto;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 60px)}.desktop-sidebar{background:#fff;border-right:1px solid #eceef1;padding:24px 15px}.sidebar-context{display:flex;flex-direction:column;gap:5px;padding:4px 12px 24px;border-bottom:1px solid #edf0f3;margin-bottom:16px}.sidebar-context strong{font-size:15px}.sidebar-context span{font-size:12px;color:#858b95}.desktop-sidebar nav{display:grid;gap:4px}.desktop-sidebar nav button{border:0;background:transparent;text-align:left;padding:12px 14px;color:#5c6471;font-weight:700;border-radius:10px;font-size:14px}.desktop-sidebar nav button.active,.desktop-sidebar nav button:hover{background:#fff0f6;color:#c42e77}.main-content{padding:0 32px 80px;min-width:0}.demo-strip{background:#fffbea;border-bottom:1px solid #f5eac1;color:#6f5d38;min-height:35px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 18px;font-size:12px;margin:0 -32px 28px}.demo-strip button{border:0;background:none;text-decoration:underline;color:#6f5d38;font-weight:700;white-space:nowrap}.notice{background:#eaf8ee;border:1px solid #afe0bd;color:#227242;border-radius:9px;padding:10px 14px;margin:0 0 16px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.notice button{border:0;background:none;color:inherit;font-size:19px}.list-toolbar{display:flex;gap:16px;align-items:center}.search-box{border:1px solid #e4e7ec;background:#fff;border-radius:12px;height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;box-shadow:0 2px 5px #182a4007;flex:1}.search-box span{font-size:28px;color:#8b95a0;line-height:1;transform:rotate(-25deg)}.search-box input{border:0;outline:0;width:100%;background:transparent;font-size:14px}.search-box input::placeholder{color:#a1a8b1}.desktop-export,.outline-button{border:1px solid #dbdfe7;border-radius:10px;background:#fff;color:#3c4b61;padding:11px 16px;font-size:13px;font-weight:700;white-space:nowrap}.categories{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:18px 0 19px}.categories::-webkit-scrollbar{display:none}.categories button{border:1px solid #e3e6eb;background:#fff;color:#59606c;border-radius:20px;white-space:nowrap;padding:8px 15px;font-weight:700;font-size:12px;box-shadow:0 1px 2px #172d4708}.categories button.selected{background:#c93479;border-color:#c93479;color:#fff}.scan-banner{width:100%;height:46px;border-radius:11px;border:1px solid #cbd5e7;background:#f0f4ff;color:#2456a7;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:7px}.scan-banner:hover{background:#e9effe}.list-meta{display:flex;justify-content:space-between;align-items:center;margin:18px 4px 17px;font-size:13px;color:#555e69}.list-meta>div{display:flex;align-items:center;gap:12px}.low-badge{color:#b94f31;background:#fff0eb;border-radius:15px;padding:5px 9px;font-size:12px;font-weight:700}.mobile-csv{display:none}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{min-height:110px;background:#fff;border:1px solid #f0f1f4;border-radius:17px;display:flex;align-items:center;padding:12px 14px;gap:12px;box-shadow:0 2px 7px #1c36500a}.product-check{display:flex;align-items:center;flex:0 0 auto}.product-check input{appearance:none;width:20px;height:20px;border:1px solid #9299a2;border-radius:3px;background:#fff;cursor:pointer;margin:0}.product-check input:checked{background:#c93479;border-color:#c93479}.product-check input:checked:after{content:"✓";color:#fff;font-size:15px;display:block;text-align:center;line-height:18px}.product-open{border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:0;min-width:0;flex:1;color:inherit}.product-image,.detail-image,.upload-preview{width:56px;height:56px;flex:0 0 56px;border:1px solid #e3e6ea;background:#f8f9fb;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#a7adb5;text-align:center;font-size:10px;line-height:1.3;overflow:hidden}.product-image img,.detail-image img,.upload-preview img{width:100%;height:100%;object-fit:cover}.product-info{flex:1;min-width:0}.product-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.product-tags span{font-size:10px;font-weight:700;border-radius:3px;padding:3px 5px;white-space:nowrap}.id-tag{background:#f0f1f3;color:#5c636d}.category-tag{background:#fff0f6;color:#bb3974}.status-tag{background:#fff8e9;color:#ac7929}.product-info h3{font-size:14px;line-height:1.35;margin:5px 0 6px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-info p{margin:0 0 3px;font-size:11px;color:#737a84;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info .price{color:#3a4553;font-size:12px;font-weight:700}.product-info .price span{font-size:11px;font-weight:400}.stock-number{display:flex;flex-direction:column;text-align:right;align-self:flex-end;flex:0 0 36px}.stock-number span{font-size:10px;color:#a2a7ae}.stock-number strong{font-size:21px;line-height:1.1;color:#232936}.stock-number strong.low{color:#c3396b}.order-floating{position:fixed;right:28px;bottom:26px;border:0;border-radius:26px;background:#c93479;color:#fff;padding:13px 19px;box-shadow:0 8px 24px #9d235966;font-size:13px;font-weight:800;z-index:3}.order-floating strong{margin-left:8px;background:#fff2;padding:3px 8px;border-radius:12px}.narrow-page{max-width:720px;margin:0 auto}.narrow-page>h2,.page-heading{font-size:20px;margin:10px 0 16px;padding-bottom:13px;border-bottom:1px solid #e4e7eb}.detail-card,.form-card{background:#fff;border:1px solid #eef0f3;border-radius:16px;padding:26px 28px;box-shadow:0 2px 9px #243a4c08}.detail-head{display:flex;gap:18px;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid #eef0f3}.detail-image{width:96px;height:96px;flex-basis:96px;font-size:13px}.detail-head h2{font-size:20px;margin:10px 0 8px;line-height:1.4}.detail-head p{font-size:12px;color:#7d8590;margin:0 0 8px}.detail-head strong{font-size:17px}.detail-card h3{font-size:15px;margin:24px 0 12px}.store-stock-list{border:1px solid #e9ecf0;border-radius:11px;overflow:hidden}.store-stock-list>div{padding:14px 17px;border-bottom:1px solid #e9ecf0;display:flex;justify-content:space-between;align-items:center;font-size:13px}.store-stock-list>div:last-child{border-bottom:0}.store-stock-list>div.current{background:#fff3f8}.store-stock-list small{font-size:11px;color:#c93479}.store-stock-list strong{font-size:18px}.detail-note{font-size:13px;color:#666f7a;line-height:1.7}.detail-actions,.form-actions,.scan-actions{display:flex;gap:12px;margin-top:24px}.detail-actions button,.form-actions button,.scan-actions button{flex:1;min-height:44px;border-radius:10px;font-weight:800;font-size:13px}.secondary-button{border:0;background:#e9ebef;color:#414853}.pink-button{border:0;background:#c93479;color:#fff}.primary-blue{border:0;background:#3863e2;color:#fff}.primary-blue:disabled{background:#d3d6dc;color:#f7f7f7}.form-card h2{font-size:20px;margin:0 0 20px;padding-bottom:15px;border-bottom:1px solid #e9ecf0}.field-label{display:block;font-size:13px;font-weight:800;margin:17px 0 0}.field-label input,.field-label select,.field-label textarea{display:block;width:100%;border:1px solid #d8dde4;border-radius:10px;background:#fff;min-height:43px;padding:10px 12px;margin-top:8px;outline-color:#d24b82;font-size:14px}.field-label input:disabled{background:#f1f2f4;color:#5d636d}.required{color:#d04a6f}.image-upload{display:flex;align-items:center;gap:14px;margin-top:9px}.upload-preview{width:64px;height:64px;flex-basis:64px}.upload-button{display:inline-block;border-radius:20px;background:#fff0f7;color:#bd346f;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}.upload-button input{display:none}.status-field{border:0;margin:18px 0;padding:0}.status-field legend{font-size:13px;font-weight:800;margin-bottom:8px}.status-field label{display:inline-flex;gap:5px;align-items:center;margin-right:18px;font-size:13px}.status-field input{accent-color:#c93479}.scan-page .mode-switch{display:flex;background:#e7eaf0;border-radius:10px;padding:4px;margin-bottom:15px}.mode-switch button{flex:1;border:0;background:transparent;color:#666e79;padding:10px;font-weight:800;font-size:13px;border-radius:8px}.mode-switch button.active{background:#fff;color:#c02d70;box-shadow:0 1px 4px #142e4518}.camera-button{width:100%;min-height:48px;background:#3765e5;color:#fff;border:0;border-radius:11px;font-size:14px;font-weight:800;box-shadow:0 2px 5px #1d4fb326}.camera-preview{display:none;width:100%;max-height:280px;object-fit:cover;border-radius:11px;margin:12px 0}.camera-preview.active{display:block}.hid-form{margin-top:17px}.hid-form>label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.hid-form>div{display:flex;gap:8px}.hid-form input{min-width:0;flex:1;height:45px;border:1px solid #d6dce6;border-radius:9px;padding:0 12px;font-size:14px}.hid-form button{border:0;background:#252d3d;color:#fff;border-radius:9px;padding:0 16px;font-weight:800;font-size:13px}.form-error{background:#fff0ef;color:#b73538;padding:10px 12px;border-radius:8px;font-size:12px}.scan-queue{margin-top:16px;min-height:82px;border:1px dashed #d7dce4;border-radius:11px;background:#fff}.queue-empty{margin:0;min-height:82px;display:flex;align-items:center;justify-content:center;color:#abb2bb;font-size:12px;text-align:center;padding:10px}.queue-row{padding:12px 14px;border-bottom:1px solid #eff1f4;display:flex;align-items:center;justify-content:space-between;gap:10px}.queue-row:last-child{border-bottom:0}.queue-row>div:first-child{min-width:0}.queue-row strong,.order-row strong,.history-row strong{display:block;font-size:13px;line-height:1.4}.queue-row small,.order-row small,.history-row small{display:block;color:#88919d;font-size:11px;margin-top:4px}.qty-control{display:flex;align-items:center;border:1px solid #dfe3e9;border-radius:8px;overflow:hidden;flex:0 0 auto}.qty-control button{border:0;background:#f4f5f7;width:27px;height:30px;font-size:16px}.qty-control span{min-width:27px;text-align:center;font-weight:800;font-size:13px}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 16px}.page-title-row h2{margin:0;font-size:20px}.empty-state{padding:42px 20px;color:#9ba3ad;text-align:center;font-size:13px;background:#fff;border:1px dashed #dfe3e9;border-radius:12px}.order-list,.history-list{background:#fff;border:1px solid #eceef2;border-radius:13px;overflow:hidden}.order-row,.history-row{display:flex;align-items:center;gap:15px;padding:15px 17px;border-bottom:1px solid #edf0f3}.order-row:last-child,.history-row:last-child{border-bottom:0}.order-row>div,.history-row>div{flex:1;min-width:0}.order-row label{font-size:11px;color:#7d8590;display:grid;gap:4px}.order-row input{width:58px;height:33px;border:1px solid #d9dee5;border-radius:7px;text-align:center;font-weight:700}.order-row>button{border:0;background:none;color:#9ca4af;font-size:21px}.history-row>span{border-radius:6px;padding:5px 7px;font-size:11px;font-weight:800}.history-row>span.in{background:#e7f7ef;color:#26946b}.history-row>span.out{background:#fff0f4;color:#c93479}.history-row>b{font-size:15px}.mobile-bottom-nav{display:none}@media(max-width:900px){.workspace{grid-template-columns:165px minmax(0,1fr)}.main-content{padding-left:24px;padding-right:24px}.demo-strip{margin-left:-24px;margin-right:-24px}.product-grid{grid-template-columns:1fr}}@media(max-width:640px){.app-header{position:sticky;top:0;z-index:5}.header-inner{height:60px;padding:0 16px}.brand{font-size:16px}.header-actions button{padding:7px 10px;font-size:11px}.workspace{display:block;min-height:calc(100vh - 60px)}.desktop-sidebar{display:none}.main-content{padding:0 16px 90px}.demo-strip{margin:0 -16px 16px;padding:5px 16px;font-size:10px;min-height:35px}.list-toolbar{display:block}.search-box{height:46px}.desktop-export{display:none}.categories{padding:16px 0 17px}.categories button{padding:7px 14px}.scan-banner{height:46px}.list-meta{font-size:12px;margin:17px 2px 16px}.low-badge{font-size:11px;padding:4px 7px}.mobile-csv{display:block;border:1px solid #dde2ea;background:#fff;border-radius:6px;color:#606b79;padding:4px 6px;font-size:10px;font-weight:800}.product-grid{gap:10px}.product-card{padding:13px 12px;min-height:110px;border-radius:16px;gap:11px}.product-open{gap:12px}.product-info h3{font-size:13px}.product-info p{font-size:10px}.product-info .price{font-size:11px}.product-info .price span{font-size:10px}.stock-number{flex-basis:30px}.stock-number strong{font-size:20px}.order-floating{right:14px;bottom:72px}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:58px;display:flex;align-items:stretch;background:#fff;border-top:1px solid #e6e9ee;z-index:4;padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom-nav button{flex:1;border:0;background:#fff;color:#8b929e;font-size:12px;font-weight:800}.mobile-bottom-nav button.active{color:#c93479}.mobile-bottom-nav span{display:inline-block;margin-left:3px;background:#c93479;color:#fff;border-radius:9px;min-width:16px;padding:1px 3px;font-size:10px}.narrow-page>h2,.page-heading{margin-top:6px}.detail-card,.form-card{padding:20px 18px}.detail-head h2{font-size:17px}.detail-image{width:72px;height:72px;flex-basis:72px}.detail-actions{flex-direction:column}.scan-page .mode-switch{margin-top:2px}.page-title-row h2{font-size:19px}}@media(max-width:370px){.header-inner{padding:0 10px}.brand{font-size:14px}.header-actions button{padding:6px 8px}.main-content{padding-left:10px;padding-right:10px}.demo-strip{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}.product-card{gap:7px;padding:11px 9px}.product-open{gap:7px}.product-image{width:49px;height:49px;flex-basis:49px}.product-info h3{font-size:12px}.low-badge{font-size:10px}}@media(max-width:900px){.product-grid{grid-template-columns:minmax(0,1fr)}.product-card{min-width:0}}.form-help{margin:7px 0 0;color:#7f8894;font-size:11px;line-height:1.5}.scan-return-help{margin-top:16px;padding:10px 12px;border-radius:8px;background:#f0f4ff;color:#365895}.scan-error-actions{display:grid;gap:8px;margin-top:12px}.scan-error-actions .form-error{margin:0}.scan-error-actions .outline-button{justify-self:start;border-color:#d5a1b9;color:#b82d65}.load-more{display:flex;justify-content:center;padding:20px 0 28px}.qty-control input{width:48px;min-width:0;height:30px;border:0;text-align:center;font-size:13px;font-weight:800;background:#fff}.qty-control input::-webkit-inner-spin-button,.qty-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(145deg,#fff2f8,#f5f7fd)}.login-card{width:min(100%,420px);background:#fff;border:1px solid #f0e5ec;border-radius:18px;padding:36px 30px;text-align:center;box-shadow:0 16px 48px #8c355a19}.login-card h1{font-size:23px;margin:8px 0}.login-card p{font-size:13px;color:#69727f;line-height:1.6}.login-mark{font-size:34px}.google-button{display:flex;justify-content:center;margin:24px auto 0;min-height:42px}.context-bar{display:flex;align-items:center;gap:12px;min-height:55px;border-bottom:1px solid #eceef2;margin:0 -32px 25px;padding:10px 32px;background:#fff;flex-wrap:wrap}.context-bar>div{display:flex;flex-direction:column;gap:2px;margin-right:auto}.context-bar strong{font-size:13px}.context-bar span{font-size:11px;color:#8c949e}.context-bar label{font-size:11px;font-weight:700;color:#68717e;display:flex;align-items:center;gap:5px}.context-bar select{border:1px solid #dce1e8;border-radius:8px;background:#fff;min-height:32px;padding:3px 7px;font-size:12px}.sidebar-logout{margin:28px 12px;border:0;background:none;color:#7d8794;font-size:12px;text-decoration:underline}.mobile-logout{display:none}@media(max-width:900px){.context-bar{margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}}@media(max-width:640px){.context-bar{margin-left:-16px;margin-right:-16px;padding:8px 16px;margin-bottom:16px}.context-bar>div{width:100%}.mobile-logout{display:inline-block;border:0;background:none;color:#8a6679;font-size:11px;text-decoration:underline;margin-left:auto}}@media(max-width:370px){.context-bar{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}}.read-only-banner{display:flex;align-items:flex-start;gap:12px;background:#fff8e9;border:1px solid #ecd59f;color:#654b1d;border-radius:10px;padding:11px 14px;margin:0 0 18px;font-size:12px;line-height:1.5}.read-only-banner strong{white-space:nowrap;font-size:12px}.read-only-banner span{flex:1}@media(max-width:640px){.read-only-banner{display:block;margin-bottom:14px}.read-only-banner strong{display:block;margin-bottom:3px}}
