@media print{.sidebar,.topbar,.heading-actions,.filter-top,.pagination,.app-footer,.toast,.preview-banner{display:none!important}.main-shell{margin:0!important}.main-content{padding:0!important}.surface{border:0!important}.product-row{break-inside:avoid}.modal{height:auto!important;max-height:none!important;position:static!important}.modal-body{overflow:visible!important}}:root{color:#20312c;font-synthesis:none;--ink:#20312c;--muted:#76807b;--line:#e5eae7;--green:#21614d;--dark:#172b25;--paper:#fff;--amber:#99611b;background:#f4f6f5;font-family:Segoe UI,Tahoma,Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button{color:inherit}a{color:var(--green)}input,select,textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #d7dfda;border-radius:7px;outline:none;min-height:42px;padding:9px 12px}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #21614d12}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--green)}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #78ac95}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}fieldset{border:0;min-width:0;margin:0;padding:0}label{flex-direction:column;gap:7px;font-size:.875rem;font-weight:500;display:flex}h1,h2,h3,h4,p{margin:0}h1{letter-spacing:-.045em;font-size:1.85rem;font-weight:650;line-height:1.4}h2{font-size:1.2rem;line-height:1.5}h3{font-size:1rem;font-weight:650}h4{font-size:.9rem}small{font-size:.78rem}.mono{font-variant-numeric:tabular-nums;font-family:Consolas,Courier New,monospace}.eyebrow{letter-spacing:.14em;color:#708179;font-size:.68rem;font-weight:650}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-size:.875rem;font-weight:550;transition:background .15s;display:inline-flex}.button.primary{background:var(--green);color:#fff;box-shadow:0 2px 3px #17372c10}.button.primary:hover:not(:disabled){background:#174c3b}.button.secondary{background:#fff;border-color:#dfe5e1}.button.secondary:hover:not(:disabled){background:#f5f8f6}.button.small{min-height:36px;padding:7px 11px;font-size:.8rem}.button.danger-ghost{color:#a4402e;background:#fff2ef;border-color:#f1d6cf}.text-button{color:var(--green);text-underline-offset:3px;background:0 0;border:0;align-items:center;gap:6px;padding:8px 3px;font-size:.84rem;text-decoration:underline;display:inline-flex}.icon-button{color:#75837d;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;min-width:38px;min-height:38px;display:inline-flex}.icon-button:hover:not(:disabled){color:var(--ink);background:#eaf0ec}.icon-button.tiny{min-width:28px;min-height:28px}.checkbox{flex-direction:row;align-items:center;gap:8px;font-size:.82rem;font-weight:400;display:flex}.required{color:#a64b39}.sidebar{background:var(--dark);color:#aabdb3;z-index:30;flex-direction:column;width:238px;padding:34px 20px 18px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{color:#f2f6f3;letter-spacing:.1em;align-items:center;gap:12px;margin:0 8px 48px;font-size:1.18rem;font-weight:600;display:flex}.brand-mark{color:#1b3c2f;background:#d9e9df;border-radius:10px 2px;flex-shrink:0;place-items:center;width:40px;height:43px;font-family:Georgia,serif;font-size:2rem;line-height:1;display:grid}.brand span{letter-spacing:.2em;color:#8fa69a;margin-top:2px;font-size:.61rem;font-weight:400;display:block}.workspace-label{letter-spacing:.14em;color:#759084;justify-content:space-between;margin-bottom:18px;padding:0 12px;font-size:.56rem;display:flex}.workspace-label span{color:#799d8a;border:1px solid #3b5547;border-radius:3px;padding:1px 4px;font-size:.51rem}.sidebar nav{flex-direction:column;gap:7px;display:flex}.sidebar nav button{text-align:left;color:#adbbb4;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;padding:13px 12px;font-size:.86rem;display:flex;position:relative}.sidebar nav button:hover{background:#213b30}.sidebar nav button.active{color:#f0f9f3;background:#304d3f}.sidebar nav button:nth-last-child(2){margin-top:26px}.nav-current{background:#abd6bd;border-radius:50%;width:5px;height:5px;position:absolute;right:12px}.sidebar-bottom{border-top:1px solid #30493c;align-items:center;gap:9px;margin-top:auto;padding:20px 4px 2px;display:flex}.team-avatar{color:#e4eee7;background:#3a5745;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:.8rem;display:grid}.sidebar-bottom strong{color:#e3ebe6;font-size:.75rem;font-weight:500;display:block}.sidebar-bottom small{color:#91a697;font-size:.64rem}.main-shell{flex-direction:column;min-height:100vh;margin-left:238px;display:flex}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:68px;padding:0 40px;display:flex}.breadcrumb{color:#98a29c;align-items:center;gap:13px;font-size:.8rem;display:flex}.breadcrumb strong{color:#50635a;font-weight:500}.header-source{letter-spacing:.17em;color:#87968e;font-size:.6rem;font-weight:600}.header-source span{color:#bac7bf;padding:0 7px}.preview-banner,.offline-banner{color:#52695b;background:#e9f0ec;border-bottom:1px solid #dbe6df;align-items:center;gap:8px;min-height:32px;padding:7px 40px;font-size:.72rem;display:flex}.offline-banner{color:#8c5421;background:#fff0df}.preview-banner strong{font-weight:600}.main-content{width:100%;max-width:1640px;margin:0 auto;padding:32px 40px 20px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;display:flex}.page-heading .eyebrow{margin-bottom:5px}.page-heading p{color:#839087;margin-top:5px;font-size:.82rem}.heading-actions{align-items:center;gap:10px;display:flex}.stats-grid{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:repeat(3,1fr);margin-bottom:25px;display:grid;overflow:hidden}.stat{min-width:0;padding:20px 22px;position:relative}.stat:not(:last-child){border-right:1px solid var(--line)}.stat>span{color:#718278;font-size:.77rem}.stat>strong{letter-spacing:-.045em;font-variant-numeric:tabular-nums;margin-top:5px;font-size:1.75rem;font-weight:600;line-height:1.5;display:block}.stat strong small{color:#97a29b;letter-spacing:0;margin-left:8px;font-size:.7rem;font-weight:400}.stat>small{color:#99a39e;font-size:.65rem}.stat-icon{color:#8ba391;position:absolute;top:22px;right:20px}.amber-text{color:#9a702c}.surface{border:1px solid var(--line);background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 3px 8px #20312c02}.filter-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.source-tabs{border:1px solid #e4e9e5;border-radius:7px;align-items:center;gap:2px;padding:3px;display:flex}.source-tabs button{color:#7c8a81;background:0 0;border:0;border-radius:4px;min-height:33px;padding:7px 15px;font-size:.79rem}.source-tabs button.active{color:#255439;background:#ecf3ee;font-weight:600}.search-controls{align-items:center;gap:8px;display:flex}.search-box{color:#95a099;border:1px solid #e0e6e2;border-radius:7px;flex-direction:row;align-items:center;gap:8px;min-width:270px;padding-left:12px;display:flex;position:relative}.search-box:focus-within{border-color:#6a9680}.search-box input{box-shadow:none;background:0 0;border:0;min-height:38px;padding:8px 12px 8px 0;font-size:.81rem}.search-box button{color:#7d8f84;background:0 0;border:0;place-items:center;margin-right:6px;display:grid}.filter-toggle{min-height:40px;padding:8px 12px;font-size:.78rem}.filter-toggle.selected{background:#edf4ef;border-color:#b8cbbd}.extra-filters{border-bottom:1px solid var(--line);background:#f9fbfa;align-items:flex-end;gap:15px;padding:16px 20px;display:flex}.extra-filters label{flex:1;min-width:0;max-width:280px;font-size:.76rem}.extra-filters select{min-height:38px;padding:7px;font-size:.8rem}.extra-filters .text-button{white-space:nowrap}.list-toolbar{color:#89968e;justify-content:space-between;align-items:center;padding:14px 21px;font-size:.75rem;display:flex}.list-toolbar strong{color:#50665a;font-weight:600}.list-toolbar label{flex-direction:row;align-items:center;gap:6px;font-size:.75rem;font-weight:400}.list-toolbar select{color:#596d61;background:#f6f8f6;border:none;width:auto;min-height:30px;padding:3px 20px 3px 8px;font-size:.75rem}.table-head,.product-row{grid-template-columns:minmax(215px,1fr) 120px 145px 92px 104px 25px;align-items:center;gap:17px;padding:0 22px;display:grid}.table-head{color:#85968a;background:#f8faf8;border-top:1px solid #f2f5f3;border-bottom:1px solid #e9efea;min-height:37px;font-size:.65rem}.table-head span:nth-child(4){text-align:right}.product-row{border-bottom:1px solid #edf1ee;min-height:91px;padding-top:14px;padding-bottom:14px}.product-row:last-child{border-bottom:0}.product-row:hover{background:#fbfcfb}.product-main{align-items:center;gap:13px;min-width:0;display:flex}.product-main>div:last-child{min-width:0}.product-image{color:#b0beb4;background:#f4f6f4;border:1px solid #eef1ee;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:55px;height:55px;display:flex;overflow:hidden}.product-image img{object-fit:contain;mix-blend-mode:multiply;width:100%;height:100%}.product-image.large{background:#fafbf9;width:82px;height:82px}.sku{color:#8d9b91;letter-spacing:.04em;margin-bottom:2px;font-size:.7rem;display:block}.product-title{text-align:left;color:#3d5145;text-wrap:pretty;background:0 0;border:0;padding:0;font-size:.77rem;font-weight:600;line-height:1.55;display:block}.product-title:hover{text-underline-offset:3px;text-decoration:underline}.product-search-note{color:#b42318;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-size:.8rem;line-height:1.6}.product-reference{align-items:center;gap:8px;display:flex}.source-file-link{width:32px;height:32px;color:var(--muted);border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.source-file-link:hover,.source-file-link:focus-visible{color:#235cbb;background:#edf3ff}@media (width<=700px){.source-file-link{width:44px;height:44px}}.source-tag{color:#517f60;letter-spacing:.025em;background:#edf4ef;border-radius:4px;padding:3px 7px;font-size:.63rem;font-weight:600;display:inline-block}.source-tag.american{color:#7a7293;background:#f0eef7}.product-category small{color:#929d96;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:.67rem;display:block;overflow:hidden}.supplier-cell{color:#748578;overflow-wrap:anywhere;font-size:.72rem}.quantity-cell{text-align:right;font-variant-numeric:tabular-nums}.quantity-cell strong{color:#3c5e46;font-size:1.08rem;font-weight:600;display:block}.quantity-cell strong.zero{color:#adb6af}.quantity-cell small{color:#9aa69d;white-space:nowrap;font-size:.6rem;display:block}.status-cell{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.badge{white-space:nowrap;border-radius:4px;align-items:center;padding:3px 8px;font-size:.63rem;font-weight:500;display:inline-flex}.badge.green{color:#60846a;background:#edf5ee}.badge.amber{color:#9b742f;background:#fcf2df}.badge.blue{color:#5480a0;background:#eaf2fa}.badge.neutral{color:#87968a;background:#f0f3f1}.note-status{color:#a08b62;align-items:center;gap:3px;font-size:.59rem;display:flex}.row-open{color:#adbbb0;min-width:30px;min-height:34px}.pagination{border-top:1px solid var(--line);color:#95a198;justify-content:space-between;align-items:center;padding:15px 21px;font-size:.73rem;display:flex}.pagination>div{align-items:center;gap:17px;display:flex}.pagination strong{color:#51715b;font-weight:500}.pagination .icon-button{border:1px solid #e2e8e3;min-width:32px;min-height:32px}.table-footnote{color:#98a39c;margin:15px 3px 0;font-size:.67rem}.app-footer{color:#a2ada5;letter-spacing:.14em;justify-content:space-between;margin-top:auto;padding:20px 42px;font-size:.55rem;display:flex}.is-loading{opacity:.6;pointer-events:none}.loading{color:#7a9181;justify-content:center;align-items:center;gap:12px;padding:65px 20px;font-size:.88rem;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;color:#92a094;padding:50px 24px}.empty-state svg{margin-bottom:12px}.empty-state h3{color:#566c5f;margin-bottom:6px}.empty-state p{font-size:.84rem}.error-message{color:#9a4938;overflow-wrap:anywhere;background:#fff0ec;border:1px solid #f2d8d0;border-radius:7px;align-items:flex-start;gap:10px;margin-bottom:13px;padding:12px 15px;font-size:.84rem;display:flex}.error-message svg{flex-shrink:0;margin-top:2px}.toast{z-index:200;color:#f5fff8;background:#203f2e;border-radius:8px;align-items:center;gap:10px;max-width:calc(100vw - 30px);padding:14px 19px;font-size:.84rem;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 7px 35px #183a3330}.toast button{color:inherit;background:0 0;border:0;place-items:center;margin-left:10px;display:grid}.mobile-category,.mobile-menu-button,.mobile-backdrop{display:none}.modal{width:560px;max-width:calc(100vw - 40px);max-height:94vh;color:var(--ink);border:0;border-radius:13px;margin:auto;padding:0;box-shadow:0 30px 100px #10221940}.modal[open]{flex-direction:column;display:flex}.modal.wide{width:940px}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#172b2570}.modal-top{border-bottom:1px solid var(--line);flex-shrink:0;justify-content:space-between;align-items:center;padding:13px 25px;display:flex}.modal-top h2{color:#809084;font-size:.87rem;font-weight:500}.modal-body{flex:1;min-height:0;padding:25px 30px;overflow:auto}.detail-hero{flex-shrink:0;align-items:center;gap:20px;padding:25px 30px;display:flex}.detail-hero>div:nth-child(2){flex:1;min-width:0}.detail-hero .eyebrow{align-items:center;gap:10px;margin-bottom:6px;display:flex}.detail-hero .mono{letter-spacing:0;color:#71867a;font-size:.82rem}.detail-hero h2{max-width:590px;font-size:1.04rem;font-weight:650;line-height:1.5}.detail-hero p{color:#87968b;margin-top:6px;font-size:.78rem}.detail-hero p span{margin:0 7px}.detail-quantity{text-align:right;min-width:95px}.detail-quantity strong{letter-spacing:-.05em;color:#326a48;font-size:2rem;font-weight:600;line-height:1.4;display:block}.detail-quantity span{color:#8c9d90;font-size:.67rem}.review-strip{color:#9c7c3c;background:#fbf6e9;flex-shrink:0;align-items:center;gap:8px;padding:9px 30px;font-size:.73rem;display:flex}.review-strip svg{flex-shrink:0}.review-strip button{white-space:nowrap;color:#927130;background:0 0;border:0;margin-left:auto;font-size:.72rem;text-decoration:underline}.tabs{border-bottom:1px solid var(--line);flex-shrink:0;gap:10px;padding:0 25px;display:flex}.tabs button{color:#8c9a91;background:0 0;border:0;border-bottom:2px solid #0000;padding:16px 10px 13px;font-size:.79rem;position:relative}.tabs button.active{border-bottom-color:var(--green);color:var(--green);font-weight:600}.tab-dot{vertical-align:middle;background:#d3a751;border-radius:50%;width:5px;height:5px;margin-left:7px;display:inline-block}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.section-heading p{color:#8d9d91;margin-top:4px;font-size:.73rem}.help-line{color:#8e9a91;margin:10px 0 17px;font-size:.75rem}.operation-switch{background:#f2f5f2;border:1px solid #e4ebe4;border-radius:8px;width:max-content;max-width:100%;margin:17px 0 20px;padding:4px;display:flex}.operation-switch button{color:#7e9082;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;gap:7px;padding:9px 23px;font-size:.84rem;display:flex}.operation-switch button.active{color:#366746;background:#fff;font-weight:600;box-shadow:0 1px 5px #1238210c}.operation-switch button.active.sale{color:#ac3333;background:#fff0ee}.stock-mode-help{color:#52665a;background:#f5f8f6;border:1px solid #dbe5df;border-radius:8px;margin:-6px 0 18px;padding:10px 12px;font-size:.8rem}.stock-mode-help span{margin-top:3px;font-size:.75rem;display:block}.stock-mode-help.sale,.stock-preview.sale{color:#ac3333;background:#fff4f2;border-color:#edcfcb}.stock-entry-label{text-align:center;color:#63796b;margin-bottom:4px;font-size:.65rem;display:block}.stock-preview{color:#326742;background:#edf7ef;border-radius:4px;margin-top:9px;padding:5px 6px;font-size:.75rem}.variant-card.stock-edited{background:#f4faf5;border-color:#5d9471}.stock-direct-label{color:#63796b;margin-top:10px;font-size:.72rem;display:block}.stock-direct-label input{text-align:center;color:#326742;width:100%;min-height:44px;margin-top:4px;font-size:1.1rem;font-weight:600}.stepper :disabled{opacity:.45;cursor:not-allowed}.button.primary.stock-sale-submit{background:#ac3333;border-color:#ac3333}.variant-tools{color:#8b9b90;justify-content:space-between;gap:12px;margin-bottom:13px;font-size:.7rem;display:flex}.variant-tools label{font-size:.73rem}.variant-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.variant-card{background:#fcfdfc;border:1px solid #e3e9e3;border-radius:8px;min-width:0;padding:9px 10px 12px}.variant-card.has-stock{background:#fff;border-color:#cadbce}.variant-name{justify-content:space-between;align-items:center;gap:4px;display:flex}.variant-name strong{overflow-wrap:anywhere;font-size:.77rem;font-weight:500}.variant-bottom{justify-content:space-between;align-items:center;gap:6px;margin-top:8px;display:flex}.variant-stock{color:#3f7953;font-size:1.2rem;font-weight:600;line-height:1.2}.variant-stock small{color:#8ea394;margin-top:3px;font-size:.59rem;font-weight:400;display:block}.variant-stock.zero{color:#a9b7ac}.stepper{background:#fff;border:1px solid #e1e9e2;border-radius:5px;align-items:center;display:flex;overflow:hidden}.stepper input{text-align:center;font-variant-numeric:tabular-nums;border:0;border-radius:0;width:39px;min-height:35px;padding:5px 2px;font-size:.83rem}.stepper input:focus{box-shadow:inset 0 0 0 2px #93b7a0}.stepper button{color:#91a995;background:0 0;border:0;place-items:center;width:25px;height:35px;padding:0;display:grid}.stepper button:hover{background:#edf5ef}.stock-save-bar{background:#f0f6f1;border:1px solid #d7e6da;border-radius:8px;align-items:flex-end;gap:18px;margin:20px -5px -5px;padding:16px;display:flex;position:sticky;bottom:-25px;box-shadow:0 -3px 15px #ffffff90}.stock-save-bar label{flex:1;font-size:.73rem}.stock-save-bar input{background:#fff;font-size:.8rem}.stock-save-bar .button{font-size:.81rem}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.form-grid .full{grid-column:1/-1}.form-grid label{color:#607466;font-size:.79rem}.form-grid input,.form-grid textarea{font-size:.84rem}.form-grid small{color:#8da093;font-size:.68rem}.form-grid .checkbox{flex-direction:row;align-items:center;font-weight:400}.form-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.identity-summary{color:#879b8d;background:#f4f7f4;border-radius:7px;gap:25px;margin-bottom:23px;padding:12px 16px;font-size:.73rem;display:flex}.identity-summary strong{color:#587560;margin-left:8px;font-weight:500}.inline-editor{background:#f5f8f5;border:1px solid #d9e5db;border-radius:9px;margin-top:22px;padding:22px}.inline-editor h3{margin-bottom:18px}.attribute-row{align-items:center;gap:9px;margin-top:11px;display:flex}.attribute-row input{min-width:0;font-size:.82rem}.attribute-row input[type=number]{max-width:120px}.attribute-row .icon-button{flex-shrink:0}.note-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#5b7361;background:#f6f8f5;border:1px solid #e8ede7;border-radius:7px;margin:0 0 20px;padding:17px;font-family:inherit;font-size:.87rem;line-height:1.8}.note-suggestions{background:#fffcf5;border:1px solid #ebddbf;border-radius:8px;margin:20px 0;padding:18px}.note-suggestions h4{color:#8d753e;margin-bottom:6px}.note-suggestions p{color:#a18c62;margin-bottom:15px;font-size:.75rem}.note-suggestions>div{border-top:1px solid #f0e6d1;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.note-suggestions code{white-space:pre-wrap;font-size:.79rem}.note-suggestions .text-button{white-space:nowrap;font-size:.73rem}.review-confirm{border-top:1px solid var(--line);padding-top:20px}.review-confirm label{font-size:.8rem}.detail-footer{border-top:1px solid var(--line);background:#fbfcfa;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:14px 28px;display:flex}.order-state{align-items:center;gap:10px;display:flex}.order-state small{color:#9cab9e;font-size:.64rem}.order-state .text-button{font-size:.73rem}.archive-confirm{align-items:center;gap:8px;font-size:.7rem;display:flex}.archived-variants{border-top:1px solid var(--line);margin-top:18px}.archived-variants p{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.77rem;display:flex}.archived-variants p button{background:#fff;border:1px solid #ddd;border-radius:5px;padding:4px 8px;font-size:.7rem}.history-surface{padding:25px 30px}.history-list{flex-direction:column;display:flex}.history-item{grid-template-columns:15px 1fr;gap:14px;padding:0 0 23px;display:grid;position:relative}.history-item:not(:last-child):before{content:"";background:#e4ece5;width:1px;position:absolute;top:15px;bottom:0;left:5px}.history-marker{z-index:1;background:#e1eee4;border:2px solid #9cbc9f;border-radius:50%;width:11px;height:11px;margin-top:6px}.history-heading{justify-content:space-between;align-items:center;gap:15px;font-size:.82rem;display:flex}.history-heading strong{font-weight:550}.history-heading time{color:#9dad9f;white-space:nowrap;font-size:.66rem}.history-item p{color:#819a86;margin-top:5px;font-size:.76rem}.history-item small{color:#a0afa2;font-size:.66rem}.stock-change{color:#577d60;margin-left:8px;font-weight:600}.identity-fields{border-bottom:1px solid var(--line);margin-bottom:22px;padding-bottom:22px}.new-variants{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}.login-page{background:#183427;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.login-brand{color:#edf7ef;letter-spacing:.12em;align-items:center;gap:14px;margin-bottom:28px;font-size:1.1rem;display:flex}.login-brand small{letter-spacing:.2em;color:#9bb8a4;font-size:.6rem;display:block}.login-card{background:#fff;border-radius:13px;width:440px;max-width:100%;padding:40px;box-shadow:0 30px 80px #0a1d1340}.login-card h1{margin-top:9px}.login-card>p{color:#82978a;margin-bottom:24px;font-size:.87rem}.login-card label{margin-top:17px;font-size:.81rem}.login-card>.button{width:100%;margin-top:24px}.login-card>small{color:#96a79a;text-align:center;margin-top:20px;font-size:.7rem;display:block}.setup-message{color:#819483;background:#f2f6f2;border-radius:7px;padding:18px;font-size:.87rem}@media (width>=1500px){.table-head,.product-row{grid-template-columns:minmax(300px,1fr) 145px 185px 100px 120px 30px;gap:24px}.product-title{font-size:.85rem}.supplier-cell{font-size:.8rem}.product-row{min-height:96px}}@media (width<=1200px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.main-shell{margin-left:210px}.topbar{padding:0 25px}.main-content{padding:26px 24px}.preview-banner{padding-left:24px}.table-head,.product-row{grid-template-columns:minmax(195px,1fr) 100px 82px 89px 23px;gap:12px;padding-left:17px;padding-right:17px}.table-head span:nth-child(3),.supplier-cell{display:none}.filter-top{flex-direction:column;align-items:flex-start}.search-controls{width:100%}.search-box{flex:1}.stat{padding:17px}.stat>strong{font-size:1.55rem}.stat-icon{display:none}.stat>small{font-size:.6rem}.heading-actions .secondary span{display:none}.heading-actions .secondary{padding:11px}.page-heading{align-items:flex-start}.header-source{font-size:.52rem}.page-heading h1{font-size:1.6rem}}@media (width<=900px){.sidebar{width:235px;transition:transform .2s;transform:translate(-100%)}.sidebar.is-open{transform:translate(0)}.mobile-backdrop{z-index:29;background:#132c2550;border:0;display:block;position:fixed;inset:0}.main-shell{margin-left:0}.mobile-menu-button{display:flex}.topbar{height:58px;padding:0 18px}.breadcrumb{gap:9px}.preview-banner{padding:7px 20px;font-size:.68rem}.main-content{padding:25px 22px}.filter-top{flex-direction:row;align-items:center}.search-box{min-width:180px}.table-head,.product-row{grid-template-columns:minmax(195px,1fr) 100px 80px 98px 23px;gap:15px}.modal{max-width:calc(100vw - 24px)}.variant-grid{grid-template-columns:repeat(3,1fr)}.page-heading p{font-size:.77rem}.header-source{display:none}}@media (width<=620px){:root{font-size:16px}.main-content{padding:22px 15px}.topbar{padding:0 11px}.breadcrumb{font-size:.73rem}.preview-banner{align-items:flex-start;padding:8px 16px;font-size:.64rem}.preview-banner svg{flex-shrink:0;margin-top:1px}.page-heading{gap:10px;margin-bottom:20px}.page-heading .eyebrow{font-size:.55rem}.page-heading h1{font-size:1.55rem}.page-heading p{max-width:250px;font-size:.73rem}.heading-actions{flex-shrink:0;gap:6px;padding-top:16px}.heading-actions .button.primary{gap:5px;min-height:39px;padding:9px 11px;font-size:.76rem}.heading-actions .button.secondary{min-height:39px;padding:9px}.heading-actions svg{width:16px}.stats-grid{border-radius:8px;grid-template-columns:1fr 1fr;margin-bottom:20px}.stat{padding:14px 16px}.stat:nth-child(2){border-right:0}.stat:last-child{grid-column:1/-1}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat>span{font-size:.7rem}.stat>strong{font-size:1.65rem}.stat strong small{font-size:.63rem}.stat>small{font-size:.57rem}.filter-top{flex-direction:column;align-items:stretch;gap:13px;padding:13px}.source-tabs{width:100%;padding:3px}.source-tabs button{flex:1;min-height:38px;font-size:.76rem}.search-box{min-width:0}.search-box input{min-height:41px;font-size:.77rem}.filter-toggle{min-height:43px;padding:9px}.filter-toggle span{display:none}.list-toolbar{padding:12px 14px;font-size:.68rem}.list-toolbar label{font-size:.68rem}.list-toolbar select{max-width:130px;font-size:.68rem}.extra-filters{grid-template-columns:1fr 1fr;gap:12px;padding:14px;display:grid}.extra-filters label{max-width:none;font-size:.71rem}.extra-filters select{font-size:.73rem}.table-head{display:none}.product-row{grid-template-columns:minmax(0,1fr) 72px;align-items:start;gap:8px 9px;padding:16px 14px;position:relative}.product-main{grid-row:1/3;gap:11px}.product-image{width:49px;height:54px}.product-title{padding-right:3px;font-size:.74rem;line-height:1.55}.sku{font-size:.65rem}.product-category,.row-open{display:none}.mobile-category{color:#95a598;margin-top:5px;font-size:.58rem;display:block}.quantity-cell{text-align:right;grid-column:2}.quantity-cell strong{font-size:1.22rem}.quantity-cell small{white-space:normal;font-size:.55rem}.status-cell{grid-column:2;align-items:flex-end;gap:4px}.badge{padding:3px 6px;font-size:.56rem}.note-status{gap:2px;font-size:.54rem}.note-status svg{width:10px}.pagination{gap:8px;padding:12px 14px;font-size:.64rem}.pagination>div{gap:10px}.pagination .icon-button{min-width:38px;min-height:38px}.table-footnote{margin:12px 2px;font-size:.62rem}.app-footer{padding:14px 18px;font-size:.51rem}.modal{border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0}.modal-top{padding:9px 15px}.modal-top h2{font-size:.79rem}.modal-body{padding:20px 16px}.detail-hero{align-items:flex-start;gap:12px;padding:18px 16px}.product-image.large{width:61px;height:65px}.detail-hero h2{font-size:.82rem}.detail-hero .eyebrow{gap:7px;margin-bottom:4px}.detail-hero .mono{font-size:.72rem}.detail-hero p{margin-top:5px;font-size:.65rem}.detail-hero p span{margin:0 3px}.detail-quantity{min-width:52px}.detail-quantity strong{font-size:1.7rem}.detail-quantity span{max-width:58px;font-size:.54rem;display:block}.review-strip{align-items:flex-start;padding:9px 16px;font-size:.65rem}.review-strip button{font-size:.63rem}.tabs{justify-content:space-between;gap:0;padding:0 10px}.tabs button{white-space:nowrap;padding:14px 7px 12px;font-size:.69rem}.section-heading{gap:9px;margin-bottom:14px}.section-heading h3{font-size:.87rem}.section-heading p{font-size:.65rem}.section-heading .button{padding:7px 9px;font-size:.66rem}.help-line{font-size:.68rem}.operation-switch{width:100%;margin:14px 0 17px}.operation-switch button{flex:1;gap:6px;padding:10px 8px;font-size:.76rem}.variant-tools{flex-wrap:wrap;gap:6px;font-size:.61rem}.variant-tools label{font-size:.68rem}.variant-grid{grid-template-columns:repeat(2,1fr);gap:9px}.variant-card{padding:8px 9px 12px}.variant-name strong{font-size:.76rem}.stepper button{width:27px;height:38px}.stepper input{width:34px;min-height:38px;font-size:.86rem}.variant-stock{font-size:1.25rem}.stock-save-bar{flex-direction:column;align-items:stretch;gap:10px;margin-top:18px;padding:12px;bottom:-20px}.stock-save-bar label{font-size:.7rem}.stock-save-bar input{font-size:.8rem}.stock-save-bar button{min-height:45px}.form-grid{grid-template-columns:1fr;gap:15px}.form-grid .full{grid-column:auto}.form-grid input,.form-grid textarea{font-size:.875rem}.form-grid label{font-size:.75rem}.form-grid input,.form-grid select{min-height:45px}.form-grid .checkbox{font-size:.76rem}.form-grid .checkbox input{min-height:0}.identity-summary{flex-wrap:wrap;gap:12px;padding:11px;font-size:.65rem}.inline-editor{padding:15px}.attribute-row{gap:7px}.attribute-row input{min-height:42px;padding:8px;font-size:.76rem}.attribute-row input[type=number]{max-width:78px}.note-text{padding:13px;font-size:.78rem}.note-suggestions{padding:14px}.note-suggestions code{font-size:.72rem}.note-suggestions p{font-size:.7rem}.note-suggestions .text-button{font-size:.63rem}.detail-footer{flex-wrap:wrap;padding:11px 15px}.order-state{flex-wrap:wrap;gap:7px}.order-state .text-button{font-size:.65rem}.order-state small{font-size:.55rem}.archive-confirm{justify-content:flex-end;width:100%;font-size:.67rem}.history-heading{flex-direction:column;align-items:flex-start;gap:3px;font-size:.8rem}.history-heading time{font-size:.6rem}.history-item p{font-size:.7rem}.history-surface{padding:20px 16px}.login-card{padding:27px}.form-actions .button{font-size:.77rem}.toast{width:max-content;padding:13px 15px;font-size:.73rem;bottom:16px}.error-message{padding:11px;font-size:.75rem}.new-variants .section-heading{align-items:flex-start}.new-variants .section-heading p{max-width:170px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.product-title,.supplier-cell{font-size:.875rem}.table-head,.source-tag,.badge{font-size:.75rem}.sku{font-size:.8rem}.quantity-cell small,.note-status{font-size:.72rem}.product-category small{font-size:.75rem}.stat>small,.table-footnote{color:#748579;font-size:.75rem}.stat>span,.page-heading p{color:#697c6e}.list-toolbar,.pagination{font-size:.8rem}.section-heading p,.help-line{color:#708575;font-size:.8rem}.variant-name strong,.form-grid label,.sidebar nav button{font-size:.875rem}@media (width<=620px){input,textarea,select,.form-grid input,.form-grid textarea,.search-box input{font-size:1rem}.product-title{font-size:.875rem}.product-main{align-items:flex-start}.product-image{width:50px;height:56px}.sku{font-size:.78rem}.mobile-category{font-size:.72rem}.product-row{grid-template-columns:minmax(0,1fr) 78px;gap:9px}.quantity-cell small,.note-status{font-size:.65rem}.badge{font-size:.66rem}.source-tag{font-size:.7rem}.stat>small{font-size:.68rem}.stat>span{font-size:.78rem}.table-footnote{font-size:.7rem}.detail-hero h2{font-size:.875rem}.detail-hero p{font-size:.72rem}.section-heading p,.help-line{font-size:.75rem}.tabs button{font-size:.74rem}.variant-name strong{font-size:.875rem}.variant-tools label{font-size:.75rem}.stepper button{width:29px;min-height:44px}.stepper input{width:32px;min-height:44px;font-size:1rem}.variant-card{padding:8px 8px 12px}.variant-stock{font-size:1.2rem}.operation-switch button{min-height:44px;font-size:.84rem}.form-grid label,.note-text{font-size:.875rem}.note-suggestions p{font-size:.8rem}.detail-footer .text-button{min-height:40px}.section-heading .button{min-height:40px;font-size:.74rem}.list-toolbar{font-size:.75rem}.extra-filters select{font-size:.875rem}.attribute-row input,.stock-save-bar input{font-size:1rem}}.japanese-size{color:#c52222;white-space:nowrap;font-weight:600}.note-size-preview{margin:6px 0!important;font-size:14px!important}.note-size-preview small{color:var(--muted);margin-top:3px;display:block}.variant-label-preview{margin-bottom:10px;font-size:15px;font-weight:600}.product-type-picker{border:1px solid var(--line);background:#f5f8f6;border-radius:8px;margin-bottom:24px;padding:16px}.product-type-picker select{max-width:450px}.product-type-picker small{color:var(--muted);margin-top:6px;font-size:.78rem}.custom-variant-name{align-items:center;gap:4px;display:flex}.custom-variant-name input{min-width:0;font-size:.8rem}.variant-name strong{min-width:0;line-height:1.5}@media (width>=1000px){.modal.product-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.product-dialog .modal-top{padding:6px 22px}.product-dialog .detail-hero{gap:16px;padding:10px 22px}.product-dialog .product-image.large{width:64px;height:64px}.product-dialog .detail-hero h2{max-width:none}.product-dialog .detail-hero p{margin-top:2px}.product-dialog .detail-hero .eyebrow{margin-bottom:2px}.product-dialog .tabs button{padding-top:9px;padding-bottom:9px}.product-dialog .modal-body{padding:14px 22px}.product-dialog .section-heading{margin-bottom:10px}.product-dialog .section-heading h3{font-size:.9rem}.product-dialog .section-heading p{margin-right:12px;display:inline-block}.product-dialog .stock-mode-help{margin:0 0 8px;padding:6px 10px}.product-dialog .stock-mode-help span{margin-left:12px;display:inline}.product-dialog .variant-tools{margin-bottom:8px}.product-dialog .variant-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:8px}.product-dialog .variant-card{padding:5px 9px}.product-dialog .stock-direct-label{flex-direction:row;justify-content:space-between;align-items:center;gap:4px;margin-top:4px;font-size:.65rem;display:flex}.product-dialog .stock-direct-label input{width:54px;height:28px;min-height:28px;margin-top:0;padding:3px;font-size:1rem}.product-dialog .stock-save-bar{margin-top:12px;padding:10px 12px;bottom:-14px}.product-dialog .variant-name .icon-button.tiny{width:20px;height:20px;min-height:20px}.product-dialog .stock-save-bar label{white-space:nowrap;flex-direction:row;align-items:center;gap:10px}.product-dialog .stock-save-bar input{margin:0}}
