*{box-sizing:border-box}.profile-logo-preview{display:block;max-width:140px;max-height:100px;object-fit:contain;border-radius:8px;margin:0 0 16px}body{margin:0;background:#f3f5f9;color:#18232c;font:16px/1.55 system-ui,sans-serif}header{background:#18232c;color:#fff;display:flex;gap:30px;padding:22px 5%;align-items:center}header b{font-size:23px;letter-spacing:2px}header span{font-size:13px;color:#c4d0d9}main{max-width:1150px;margin:auto;padding:35px 25px}h1{font-size:clamp(32px,5vw,49px);line-height:1.12;letter-spacing:-1.5px;margin:10px 0}h2{font-size:21px;margin:0 0 18px}.eyebrow{font-size:11px;letter-spacing:2px}.intro{font-size:18px;color:#61717d;margin-bottom:28px}section,details{background:#fff;border:1px solid #dce3ea;padding:25px;border-radius:15px;margin:20px 0}label{display:block;font-size:14px;font-weight:600}input,textarea{display:block;width:100%;border:1px solid #bac8d1;background:#fff;color:#18232c;border-radius:8px;padding:12px;font:inherit;margin:7px 0 16px}input:focus,textarea:focus{outline:2px solid #82a959;outline-offset:2px}textarea{font-family:ui-monospace,monospace;font-size:12px}button,.button{display:inline-block;border:0;background:#254f2e;color:white;padding:12px 18px;border-radius:8px;font:600 14px system-ui;cursor:pointer;text-decoration:none}button:disabled{opacity:.45;cursor:wait}.secondary{background:#eaf0e4;color:#284b2d}form#lookup{display:flex;align-items:center;gap:16px}#lookup label{flex:1}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.muted{color:#64727e}.small{font-size:13px}.check{display:flex;align-items:center;gap:9px;font-weight:400}.check input{width:18px;height:18px;margin:0;flex-shrink:0}.row{display:flex;justify-content:space-between;gap:20px;align-items:center}.row h2{margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat{padding:16px;background:#f1f5ec;border-radius:9px}.stat b{font-size:26px;display:block}.stat span{font-size:12px}.path{overflow-wrap:anywhere;font-size:13px}summary{font-weight:700;cursor:pointer}details form{margin-top:18px}#message:not(:empty){padding:16px;background:#e8f1df;border-left:4px solid #80a45c;border-radius:8px}#message.error{background:#faece5;border-color:#b97153}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.product{border:1px solid #dce3ea;border-radius:10px;overflow:hidden}.product .photo{display:block;width:100%;height:240px;object-fit:contain;background:#eef1f4}.product .placeholder{height:160px;display:grid;place-items:center;background:#eef1f4;color:#7e8b95}.product .body{padding:16px}.product h3{font-size:17px;margin:0 0 10px}.description{font-size:13px;white-space:pre-wrap}.price{font-weight:700}.gallery{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.gallery img{width:44px;height:54px;object-fit:cover;border-radius:4px}.gallery a{display:block}footer{font-size:13px;color:#6d7a84;padding:20px 0}@media(max-width:700px){main{padding:24px 14px}section,details{padding:20px}header{flex-wrap:wrap;gap:5px 25px}.products{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.row,form#lookup{align-items:stretch;flex-direction:column}.actions button{width:100%}#lookup button{margin-bottom:15px}}
[hidden]{display:none!important}.stores{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.store-card{background:#fff;border:1px solid #dce3ea;color:#18232c;text-align:left;display:flex;flex-direction:column;gap:9px;padding:20px}.store-card b{font-size:19px}.store-card span{font-size:13px}.store-card small{font-weight:400}.store-card.active{border:2px solid #477343;background:#f1f5ec}.job{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e3e8ed}.job p{margin:5px 0}.job small{color:#61717d}.job progress{display:block;width:100%;margin-top:12px;accent-color:#477343}#rename{display:flex;align-items:center;gap:15px}#rename label{flex:1}#lookup{flex-wrap:wrap}#lookup label{min-width:180px}#productCount{font-size:13px}@media(max-width:700px){.job,#rename{flex-direction:column;align-items:stretch}.store-card{width:100%}.job .actions{margin:0}}

select{display:block;width:100%;border:1px solid #bac8d1;background:white;color:#18232c;border-radius:8px;padding:12px;font:inherit;margin:7px 0 16px}.export-box{border-top:1px solid #dce3ea;margin-top:24px;padding-top:18px}.export-box h3{margin:0 0 16px}#csvExport{display:flex;gap:18px;align-items:center}#csvExport label{flex:1}.table-scroll{overflow:auto;max-height:390px;margin-top:15px}.table-scroll table{border-collapse:collapse;font-size:12px;min-width:100%}.table-scroll th,.table-scroll td{text-align:left;border:1px solid #dce3ea;padding:9px;min-width:95px;max-width:260px;overflow-wrap:anywhere}.table-scroll th{background:#f1f5ec;white-space:nowrap;position:sticky;top:0}#csvResult{font-size:14px}#csvWarnings li{font-size:13px;margin:8px 0}@media(max-width:700px){#csvExport{flex-direction:column;align-items:stretch}}

.connection-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}.connection-notice p{margin:0}.connection-notice .error{color:#842d1c;background:#faece5;padding:12px;border-radius:8px}

header #accountBar{margin-left:auto;display:flex;align-items:center;gap:12px}header #accountBar[hidden]{display:none}#loginPanel{max-width:520px;margin:36px auto}#loginPanel form,#teamAccess form{display:grid;gap:8px}#loginMessage.error,#teamMessage.error{color:#842d1c}#teamEmail{display:block;width:100%;min-height:48px;border:1px solid #bac8d1;background:#fff;color:#18232c;border-radius:8px;padding:12px;font:inherit;margin:7px 0 16px}
