/* Ordering merchant visual structure; Salesforce modules and permissions remain shared. */
body{font:14px Inter,"Segoe UI",Arial,sans-serif;background:#f6f1e6;color:#173b32}
.sidebar{width:245px;background:#173b32;color:#dbe8e1}.shell{margin-left:245px}.brand{padding:28px;gap:12px}.brand img{width:48px;height:48px}.brand span{font:700 22px Georgia,serif}
nav{padding:0 18px}nav button{font:700 14px Inter,"Segoe UI",Arial,sans-serif;padding:13px 14px;margin:3px 0;color:inherit}nav button.active{background:#28564a}.merchant-nav-group{margin:12px 0;border:0}.merchant-nav-group summary{cursor:pointer;padding:10px 8px;color:#a8c6ba;font-size:11px;font-weight:800;letter-spacing:.08em}.merchant-nav-group button{padding-left:20px}
.topbar{background:transparent;border:0;min-height:94px;height:auto;padding:22px 42px}.crumb{color:#f46338;font-weight:800;font-size:11px;letter-spacing:.09em}.top-right .company{font:700 22px Georgia,serif}.top-right{gap:12px}.top-right .avatar,.top-right .admin-label,.top-right .role{display:none}.top-right button{border:1px solid #ded3c3;background:#fffdf8;padding:10px 13px;border-radius:9px;color:#173b32}
.shell main{padding:12px 42px 32px}.workspace{background:transparent;border:0;padding:0}.workspace>header,.welcome{margin-bottom:24px}h1,#title{font:700 34px Georgia,serif}h2{font:700 26px Georgia,serif}.product-workspace #module{background:transparent;border:0;padding:0;margin-top:0}.product-workspace #module>h2{margin-bottom:24px}.product-workspace #note{display:none}.product-workspace #refresh{display:none}
.product-count-summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 15px;background:#f5faf7;border:1px solid #d4e3da;border-radius:12px;margin:10px 0 18px}.product-count-summary span{background:#e4efea;border-radius:20px;padding:7px 10px;font-size:12px;font-weight:700}.product-count-summary .missing-photos{background:#fff0dc;color:#97501a}
.product-workspace .catalogue-tools{gap:10px;margin:18px 0}.product-workspace .catalogue-tools input{min-width:210px;max-width:330px;margin:0;padding:12px;border:1px solid #ded3c3;border-radius:10px;background:white}.product-workspace .catalogue-tools select{padding:11px;border:1px solid #ded3c3;border-radius:9px;max-width:230px;min-width:150px;background:#fff}.product-workspace .catalogue-tools button{font-weight:700;border-color:#ded3c3;background:#fffdf9;color:#173b32}.product-workspace .catalogue-tools .primary{background:#f46338;border-color:#f46338;color:#fff}
.product-table-wrap{overflow:auto;border:1px solid #ded3c3;border-radius:16px;background:#fffdf8}.product-table{width:100%;border-collapse:collapse;min-width:780px}.product-table th{font:700 11px Georgia,serif;letter-spacing:.06em;text-align:left;color:#7e827c;padding:18px 15px;border-bottom:1px solid #ded3c3;background:transparent}.product-table td{padding:18px 15px;border-bottom:1px solid #ded3c3;vertical-align:middle}.product-table tr:last-child td{border-bottom:0}.product-table tbody tr:hover{background:#fff8ed}.product-table .product-cell{display:flex;align-items:center;gap:12px;min-height:96px}.product-cell>div{min-width:0;flex:1}.product-cell img,.product-placeholder{width:50px;height:50px;object-fit:cover;border-radius:9px;flex-shrink:0}.product-placeholder{display:grid;place-items:center;background:#e5ece5;color:#7b9287;font-size:24px}.product-cell strong{font:700 14px Inter,"Segoe UI",Arial,sans-serif;line-height:1.5;overflow-wrap:anywhere}.product-cell small{display:block;color:#778479;margin-top:4px;font-size:11px}.product-cell p{font-size:12px;line-height:1.5;color:#7e827c;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-table td:nth-child(3){white-space:nowrap;font-weight:700}.product-table td:first-child{width:52%}.product-table button{padding:11px 14px;border:1px solid #ded3c3;border-radius:8px;background:white;color:#173b32;white-space:nowrap}
.product-dialog{width:min(920px,94vw);max-height:94vh;padding:28px;background:white;border-radius:18px;color:#173b32}.product-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 26px}.product-dialog-head p{font-size:11px;font-weight:900;letter-spacing:.16em;color:#f46338;margin:8px 0 18px}.product-dialog-head h2{margin:0;font:700 28px Georgia,serif}.product-dialog-head>button{border:0;background:none;font-size:25px;color:#173b32;align-self:flex-start}.product-dialog label{display:block;font-weight:700;font-size:14px;margin:18px 0}.product-dialog input,.product-dialog select,.product-dialog textarea{display:block;width:100%;margin-top:8px;min-height:45px;border:1px solid #ded3c3;border-radius:10px;padding:12px;background:white;font:inherit;color:inherit}.product-dialog input[readonly]{background:#f2f5f1;color:#62796e}.product-dialog textarea{min-height:102px}.product-dialog button{cursor:pointer}.product-dialog .modal-actions{bottom:-28px;gap:12px;margin-top:22px;z-index:2}.product-dialog .modal-actions button{font:700 14px Inter,"Segoe UI",Arial,sans-serif;min-height:44px;background:white;color:#173b32}.product-dialog .modal-actions button[type=submit],#product-picture-confirm{background:#173b32;color:white;border-color:#173b32}.product-dialog .product-help{font-size:12px;color:#738478}.product-dialog .product-image-preview{width:160px;height:110px;object-fit:contain;max-width:100%;max-height:none;border-radius:10px}.product-additional{margin-top:20px;border:1px solid #ded3c3;padding:15px;border-radius:10px}.product-additional summary{cursor:pointer;font-weight:700}.product-dialog #excel-panel{border:0;padding:0;margin:0}.product-dialog #excel-panel h2{display:none}.product-dialog #excel-kind{display:none}.product-dialog #excel-status{overflow-wrap:anywhere}.picture-match-list>div{display:grid;grid-template-columns:50px minmax(100px,1fr) minmax(150px,2fr);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ded3c3;overflow-wrap:anywhere}.picture-match-list>div:not(:has(img)){grid-template-columns:minmax(100px,1fr) minmax(150px,2fr)}.picture-match-list img{width:50px;height:50px;object-fit:contain}.picture-match-list span{font-size:12px}.product-dialog .error{white-space:pre-wrap}
@media(max-width:1000px){.topbar{padding:20px 24px}.shell main{padding:12px 24px}.top-right .company{font-size:18px}.product-workspace .catalogue-tools input{max-width:none}}
@media(max-width:760px){.sidebar{width:245px}.shell{margin-left:0}.topbar{padding:14px;gap:12px;flex-wrap:wrap}.shell main{padding:12px 14px}.top-right .company{display:none}.product-count-summary{gap:8px;padding:12px}.product-dialog{padding:20px;max-height:94vh}.product-dialog .modal-actions{bottom:-20px}.product-workspace .catalogue-tools input,.product-workspace .catalogue-tools select{flex:1 1 100%;max-width:100%;min-width:0}.product-workspace .catalogue-tools button{flex:1 1 42%;padding:12px}.picture-match-list>div{grid-template-columns:50px minmax(0,1fr)}.picture-match-list span{grid-column:1/-1}.picture-match-list>div:not(:has(img)){grid-template-columns:1fr}.product-dialog-head h2,h1,#title{font-size:28px}}
.product-workspace #app>.welcome,.product-workspace #stats{display:none}.product-workspace .catalogue-tools input{min-width:190px;flex:1 1 220px}.product-workspace .catalogue-tools button{font-size:12px;padding:11px}.product-table td:first-child{padding-top:12px;padding-bottom:12px}.product-table .product-cell{min-height:64px}.product-workspace #module>.form-row{margin-bottom:20px}
