:root{--nav:#082f57;--blue:#0877f9;--bg:#f4f7fb;--green:#12a766;--red:#e5484d;--orange:#ef8f00;--muted:#667085}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Arial;background:var(--bg);color:#152238}.top{height:64px;background:var(--nav);color:#fff;display:flex;align-items:center;padding:0 22px;justify-content:space-between;position:sticky;top:0;z-index:10}.brand{font-weight:800;font-size:20px}.topuser{color:#dbeafe}.wrap{max-width:1280px!important;margin:auto;padding:22px!important}.layout{display:grid;grid-template-columns:250px 1fr;gap:18px}.side,.card{background:#fff;border-radius:14px;box-shadow:0 3px 15px #17365b12}.side{padding:12px;height:fit-content;position:sticky;top:86px}.side button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#152238;padding:12px;border-radius:9px;cursor:pointer;font-size:14px;font-weight:500}.side button:hover,.side button.active{background:#eaf3ff;color:#0867d8;font-weight:700}.content{min-width:0}.title{font-size:26px;font-weight:800;margin:0 0 16px}.card{padding:18px;margin-bottom:15px}.store{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #eee;padding:13px 0;margin:0!important;border-radius:0!important}.store:last-child{border-bottom:0}.badge{display:inline-block;font-size:12px;padding:5px 8px;border-radius:20px;background:#eef2f6}.warn{background:#fff0f0!important;color:#8f1d1d!important}.ok{background:#e7f8ef!important;color:#087443!important}.small,.muted{font-size:12px;color:var(--muted)}button,.btn{border:0;background:var(--blue);color:#fff;border-radius:9px;padding:11px 14px;cursor:pointer;font-weight:700}.gray{background:#eef2f6!important;color:#344054!important}.green{background:var(--green)!important;color:#fff!important}.red{background:#fff0f0!important;color:#b42318!important}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{min-width:0}.input,input,select,textarea{width:100%;border:1px solid #d9e0e8;border-radius:9px;padding:11px;font:inherit;background:#fff}textarea{min-height:90px}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:10px}.userbox{background:#eaf3ff;border-radius:10px;padding:10px 12px;font-size:13px}.login{max-width:430px;margin:55px auto}.login h1,.login h2{margin-top:0}.photo-preview{width:100%;max-height:280px;object-fit:contain;background:#eef2f6;border-radius:10px;margin-top:8px}.scanbox{padding:12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px}.qty{width:90px!important}.hidden{display:none!important}.mobilebar{display:none}.steps{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.step{font-size:12px;background:#eaf3ff;padding:7px 9px;border-radius:20px}table,.table{width:100%;border-collapse:collapse}.table th,.table td,table th,table td{text-align:left;padding:11px;border-bottom:1px solid #edf0f3;font-size:13px}.table th,table th{color:#667085}.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:800px){.wrap{padding:12px!important}.layout{display:block}.side{display:none}.top{padding:0 12px}.brand{font-size:15px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;box-shadow:0 -2px 10px #0001;z-index:20}.mobilebar button{flex:1;border:0;background:#fff;color:#344054;padding:12px 4px;font-size:10px;border-radius:0}.mobilebar button.active{background:#eaf3ff;color:#0867d8}.content{padding-bottom:70px}.login{margin:25px auto}.split{grid-template-columns:1fr}.row>*{flex:1}}

.notice{position:fixed;right:14px;top:74px;z-index:9999;min-width:240px;max-width:420px;padding:13px 16px;border-radius:10px;color:#fff;font-weight:700;box-shadow:0 8px 30px #0003;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.notice.show{opacity:1;transform:none}.notice.ok{background:#169b62}.notice.err{background:#d64545}@media(max-width:650px){.notice{left:12px;right:12px;min-width:0}}

/* v26 mobil saha düzeni */
.mobilebar{display:none!important}.navbuttons{display:flex;flex-direction:column;gap:4px}.store-main{width:100%;min-width:0}.store-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.store-title-row b{min-width:0}.visit-btn{flex:0 0 auto;padding:9px 12px;white-space:nowrap}.warntext{color:#9a6700;margin-top:8px}.mini{padding:7px 10px!important;min-width:36px!important}.scanner-stop{margin-top:10px}.scanbox video{border-radius:10px}
@media(max-width:800px){.layout{display:block}.side{display:block!important;position:static!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin-bottom:18px}.userbox{background:transparent!important;padding:0!important;font-size:18px}.navbuttons{display:flex;flex-direction:row!important;gap:0;overflow-x:auto;padding:10px 0 2px;scrollbar-width:none}.navbuttons::-webkit-scrollbar{display:none}.side button{display:block!important;width:auto!important;flex:0 0 auto!important;text-align:center!important;background:#0877f9!important;color:#fff!important;border-radius:10px!important;padding:11px 13px!important;margin:0 2px!important;font-size:13px!important;white-space:nowrap}.side button.active{background:#075fca!important}.content{padding-bottom:10px!important}.store{align-items:flex-start}.store-title-row{align-items:center}.store-title-row b{font-size:16px;line-height:1.2}.visit-btn{font-size:12px;padding:8px 10px}.top{height:56px}.brand{font-size:15px}.wrap{padding:12px!important}}

/* v27 seri barkod okuma */
.scanner-stop{display:block;width:100%;position:sticky;top:66px;z-index:1000;margin:10px 0 8px;padding:13px;font-size:15px;box-shadow:0 5px 18px #0002}.scanner-stop.hidden{display:none!important}.scanbox{position:relative;z-index:1;overflow:hidden}.scanbox video{width:100%!important;max-height:58vh!important;object-fit:cover!important}@media(max-width:800px){.scanner-stop{top:58px}.scanbox video{max-height:48vh!important}}

/* v28 */
@media(max-width:700px){.navbuttons{display:flex;gap:6px;overflow-x:auto;white-space:nowrap;padding-bottom:4px}.navbuttons button{flex:0 0 auto}.content .card select,.content .card input{width:100%}}
