@import url('data:text/css,');
:root{font-family:Inter,"Segoe UI",sans-serif;color:#253a33;background:#f5f6f1;font-synthesis:none;--green:#225940;--muted:#77847b;--border:#e2e6dc}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--border);border-radius:8px;padding:10px 15px;background:#fff;color:inherit;font-weight:600}button:hover{background:#edf3ec}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#17432f}.ghost{background:transparent}.small{font-size:12px;padding:7px 10px}a{color:var(--green)}input,select,textarea{border:1px solid #d8dfd5;border-radius:7px;padding:10px;background:white;color:#253a33;max-width:100%}input[type=number]{width:104px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.6}.muted{color:var(--muted)}.tiny{font-size:12px}.shell{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--border);padding:30px 19px;background:#fbfcf8;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 14px 32px;font-size:23px;font-weight:750;letter-spacing:-1px}.brand span{background:var(--green);color:white;border-radius:11px;padding:7px 9px;font-size:21px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;margin-top:3px}.nav-caption{font-size:10px;letter-spacing:1.7px;color:#98a293;margin:18px 14px 12px;font-weight:650}.nav{display:flex;flex-direction:column;gap:6px}.nav button{text-align:left;border:0;background:transparent;font-weight:500;font-size:13px;padding:12px 14px;display:flex;align-items:center;gap:12px}.nav button.active{background:#e7eee2;color:var(--green);font-weight:650}.nav .icon{font-size:17px;width:20px}.side-bottom{margin-top:auto;padding:20px 12px 0;font-size:12px}.local-dot{display:inline-block;width:7px;height:7px;background:#6a956c;border-radius:50%;margin-right:6px}.topbar{height:78px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 36px;background:#fbfcf8;gap:12px}.crumb{font-size:12px;color:#8c978f}.user{display:flex;align-items:center;gap:11px;font-size:12px}.avatar{height:32px;width:32px;border-radius:50%;background:#e7ecdf;display:grid;place-items:center;font-weight:700}.main{min-width:0}.content{padding:31px 36px 50px;max-width:1700px;margin:auto}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:26px}.heading p{font-size:13px;margin-top:8px;color:var(--muted)}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.eyebrow{font-size:10px;letter-spacing:2px;color:#78907a;font-weight:700;margin-bottom:9px}.badge{font-size:11px;background:#eaf0e5;border-radius:5px;padding:5px 8px;display:inline-block;font-weight:600}.badge.orange{background:#fff0d9;color:#99621b}.badge.red{background:#f8e5df;color:#a34832}.banner{border:1px solid #e4dfc9;background:#faf6e8;color:#7a6946;padding:12px 16px;font-size:12px;border-radius:9px;margin:18px 0;line-height:1.6}.steps{display:flex;background:#fff;border:1px solid var(--border);border-radius:11px;overflow:hidden;margin:22px 0}.step{flex:1;display:flex;gap:10px;padding:17px 16px;align-items:center;font-size:12px;border-right:1px solid var(--border);color:#8b958b}.step:last-child{border:0}.step span{border:1px solid #dce2d5;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:10px}.step.current{background:#edf3e8;color:#24573c;font-weight:650}.step.current span,.step.done span{background:#2f6849;color:#fff;border-color:#2f6849}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.stat{background:white;border:1px solid var(--border);border-radius:11px;padding:20px}.stat .value{font-size:29px;letter-spacing:-1px;margin:12px 0 7px}.stat .label{font-size:12px;color:var(--muted)}.stat .foot{font-size:11px;color:#8c978b}.stat .symbol{float:right;color:#819778}.panel{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden;margin-bottom:20px}.panel-head{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}.panel-head p{font-size:12px;color:var(--muted);margin-top:6px}.panel-body{padding:22px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:500;color:#7c887d;background:#fafbf7;font-size:11px;padding:12px 17px;white-space:nowrap}td{padding:14px 17px;border-top:1px solid #eff1eb;white-space:nowrap}td.product{font-weight:600;white-space:normal;min-width:145px}td small{display:block;color:#9aa397;font-weight:400;margin-top:4px}.num{text-align:right;font-variant-numeric:tabular-nums}.firm-row td{font-weight:650;background:#edf3e8;color:#3d6549;padding:11px 17px}.firm-row.f1 td{background:#f0edfa;color:#6a5d85}.firm-row.f2 td{background:#fff3e2;color:#967445}.grid2{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.market-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.market-card{border:1px solid var(--border);border-radius:9px;padding:15px;text-align:left;background:white;font-weight:500}.market-card strong{display:block;margin-bottom:9px;font-size:12px}.market-card .tiny{color:var(--muted)}.market-card.selected{border-color:#568568;background:#f0f5eb}.market-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.market-tabs button.active{background:#e6eee1;border-color:#77966b}.activity{padding:13px 0;border-bottom:1px solid #eff1eb;font-size:12px}.activity:last-child{border:0}.activity small{display:block;color:var(--muted);margin-top:6px}.empty{padding:65px 24px;text-align:center}.empty p{color:var(--muted);font-size:13px;margin:12px auto 23px;max-width:530px}.empty-symbol{font-size:36px;color:#88a176;margin-bottom:16px}.auth{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 20%,#e2ecd9,transparent 55%),#f6f7f0}.auth-card{background:#fff;width:430px;max-width:100%;border:1px solid var(--border);border-radius:18px;padding:36px;box-shadow:0 20px 60px #354a3510}.auth-card .brand{padding-left:0}.auth-card h1{font-size:24px}.auth-card form{display:flex;flex-direction:column;gap:19px;margin-top:25px}.auth-card p{font-size:13px;color:var(--muted);margin-top:12px}.error{color:#a34832;font-size:13px;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stack{display:flex;flex-direction:column;gap:15px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.search{min-width:240px}.action-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;background:#f8faf5}.action-bar p{font-size:12px;color:var(--muted)}.input-note{min-width:140px;width:160px}.saved{color:#54805a;font-size:11px}.right{text-align:right}.import-zone{border:2px dashed #c9d7c1;background:#fafcf6;border-radius:12px;padding:35px;text-align:center}.import-zone input{margin-top:15px}.mapping{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.notice{background:#eef3e9;padding:12px 15px;border-radius:8px;font-size:12px;line-height:1.6}dialog{border:1px solid var(--border);border-radius:14px;padding:28px;width:min(850px,94vw);max-height:90vh;overflow:auto;color:inherit}dialog::backdrop{background:#17362966;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:9px;background:#244a35;color:#fff;box-shadow:0 7px 30px #0002;font-size:13px;max-width:90vw;display:none;z-index:100}#toast.error{background:#8c4636;color:#fff}.plain-link{border:0;padding:0;color:#43754d;background:none;font-size:12px}.summary-line{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #eff1eb;font-size:12px}.checkbox{flex-direction:row;align-items:center}.nowrap{white-space:nowrap}@media(max-width:1100px){.shell{grid-template-columns:195px 1fr}.content{padding:25px 22px}.topbar{padding:0 22px}.grid2{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.steps{overflow:auto}.step{min-width:130px}.heading{flex-direction:column}}@media(max-width:700px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px}.brand{padding-bottom:15px}.sidebar .nav{display:flex;flex-direction:row;overflow:auto}.nav button{white-space:nowrap}.nav-caption,.side-bottom{display:none}.sidebar .nav.secondary{margin-top:8px}.content{padding:22px 14px}.topbar{height:auto;min-height:65px;padding:12px 14px;flex-wrap:wrap}.stats{gap:9px}.stat{padding:15px}.market-grid{grid-template-columns:repeat(2,1fr)}.mapping,.form-grid{grid-template-columns:1fr}.action-bar{flex-direction:column;align-items:flex-start}.heading h1{font-size:25px}.panel-head{padding:17px}.user button{padding:6px}.crumb{display:none}}@media print{.sidebar,.topbar,.actions,.steps,.banner,button,.toolbar,.action-bar{display:none!important}.shell{display:block}.content{padding:0}.panel{border:0}.table-wrap{overflow:visible}th,td{font-size:10px;padding:6px}.firm-row{print-color-adjust:exact}body{background:white}.stats{display:none}.heading{margin:0 0 15px}.panel{break-inside:auto}}
dialog.wide{width:min(1450px,97vw)}.report-table{max-height:48vh;border:1px solid var(--border);border-radius:8px}.report-table th{position:sticky;top:0;z-index:1}.report-table td{vertical-align:top}.issue-row{background:#fff1ed}.report-table .product{min-width:240px}.report-table .error{max-width:320px;white-space:normal}.report-table input[type=checkbox]{width:18px;height:18px}.report-table .input-note{width:200px}

.market-card.received,.market-tabs button.received{background:#e0f0e3;border-color:#73a980;color:#164e2c}.market-card.received .tiny{color:#28663a}.market-card.received:hover{background:#cde7d2}.market-tabs button.received.active{background:#bfe0c7;border:2px solid #28663a}.market-card.pending{background:#fff}

#modal-error{position:sticky;top:0;z-index:20;background:#fff0ec;border:2px solid #b33b2d;color:#8c261c;padding:14px;margin-bottom:14px;border-radius:8px;font-weight:600}.missing-field{border:2px solid #b33b2d!important;background:#fff0ec!important}

.purchase-table td{vertical-align:top}.purchase-quantity{font-size:19px!important;font-weight:700;color:#1d593c}.purchase-table input.purchase-quantity{width:115px;border:2px solid #6f9d7d}.purchase-money{font-size:17px;color:#1d593c}.purchase-table select{min-width:105px}.purchase-table td small{max-width:135px;white-space:normal;line-height:1.4}.purchase-table form{margin-top:8px}.purchase-table .missing-field{color:#9d3024}

/* Şahan corporate workspace */
:root{--green:#108cc3;--muted:#728397;--border:#e2e9f0;color:#24364b;background:#f3f6fa;font-family:"Segoe UI",Inter,Arial,sans-serif}
body{background:#f3f6fa}.shell{grid-template-columns:260px minmax(0,1fr)}
.sidebar{background:#fff;padding:25px 18px 18px;overflow-y:auto;border-right:1px solid #e1e8f0}
.sahan-brand{display:block;padding:0 12px 23px;margin-bottom:6px;border-bottom:1px solid #edf1f5}
.sahan-brand img{display:block;width:100%;max-width:210px;height:auto;object-fit:contain;margin:0 auto 16px}
.brand-caption{font-size:13px;letter-spacing:1.4px;color:#128bc1;font-weight:750;display:flex;gap:9px;align-items:center}
.sahan-brand .brand-caption span{font-size:10px;letter-spacing:.3px;background:none;color:#718296;padding:0;border-radius:0;font-weight:500}
.nav-group{margin-bottom:9px}.nav-caption{font-size:9px;letter-spacing:1.5px;color:#8b9aab;margin:17px 12px 7px;font-weight:700}
.nav{gap:3px}.nav button{font-size:12px;line-height:1.35;padding:10px 12px;border-radius:8px;color:#56687d;transition:background .15s,color .15s}
.nav button:hover{background:#f2f7fb;color:#167fb0}.nav button.active{background:#e8f4fc;color:#087eaf;box-shadow:inset 3px 0 #1295cc;font-weight:650}.nav .icon{font-size:16px;color:#7d92a8}
.nav button.active .icon{color:#118bc0}.side-bottom{padding-top:20px;color:#7b8ca0}
.topbar{background:#fff;height:76px;border-color:#e2e9f0}.crumb{color:#8392a4}.crumb strong{font-weight:650;color:#39546b}.avatar{background:#e7f3fa;color:#138abf}
.content{padding:34px 38px 55px;max-width:1720px}h1{font-size:29px;color:#18334d;letter-spacing:-.85px}h2{color:#24425c;font-weight:650}.eyebrow{color:#188bb8;font-size:10px;letter-spacing:1.65px}
.heading{margin-bottom:28px}.heading p{color:#7c8b9c}.panel{border-radius:12px;box-shadow:0 3px 14px #23435d04;border-color:#e2e9f0}.panel-head{border-color:#e9eef4;padding:21px 23px}.panel-head p{color:#8190a1}
th{background:#f7f9fc;color:#7a899b;letter-spacing:.15px}td{border-color:#eef2f6}.stat{border-color:#e0e8f0;box-shadow:0 3px 12px #14395c03;padding:22px;border-radius:12px}.stat .value{color:#1e4361;font-weight:650}.stat .symbol{color:#429cc4}.stat .foot{color:#8a99a7}
button{border-color:#dfe7ee;color:#3f566d;transition:background .15s,box-shadow .15s}.primary{background:#108bc1;border-color:#108bc1;color:#fff;box-shadow:0 3px 7px #108bc118}.primary:hover{background:#087bae;border-color:#087bae}button:hover{background:#eff7fc}
input,select,textarea{border-color:#dce5ed;color:#29445e;border-radius:8px}input:focus,select:focus,textarea:focus{outline:2px solid #a6d8ed;outline-offset:1px;border-color:#6ebadd}
.steps{border-color:#e1e9f0;border-radius:10px}.step{border-color:#e8eef3}.step.current{background:#eaf5fb;color:#137fab}.step.current span,.step.done span{background:#138dc0;border-color:#138dc0}.step span{border-color:#dce5ed}
.notice{background:#eef6fc;color:#45657b;border:1px solid #e0edf6}.badge{background:#eaf4fa;color:#3281a5}.badge.orange{background:#fff2df;color:#996821}.badge.red{background:#fceae6;color:#a34e3c}.banner{background:#fffbf0;border-color:#f1e5c5}
.market-card{border-color:#e0e8ef}.market-card.selected{background:#edf7fc;border-color:#71b7d7}.market-tabs button.active{background:#e8f5fc;border-color:#7ebfdc}.action-bar{background:#f7fafd;border-top:1px solid #e8eff5}
.auth{background:radial-gradient(ellipse at 15% 5%,#dceef9,transparent 55%),radial-gradient(ellipse at 90% 90%,#e6eef5,transparent 55%),#f4f8fb}.auth-card{border-color:#e0e9f1;box-shadow:0 24px 75px #184b7410;border-radius:18px;padding:40px}.auth-card .sahan-brand{padding:0 0 26px;margin-bottom:25px}.auth-card .sahan-brand img{max-width:285px;margin-bottom:20px}.auth-card .brand-caption{justify-content:center}.auth-card h1{font-size:24px}.auth-card .primary{padding:13px}
.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.report-card{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid #e0e8f0;border-radius:13px;padding:25px;min-height:265px;font-weight:400;box-shadow:0 3px 12px #14395c03}.report-card:hover{background:#fff;border-color:#8bc7e2;box-shadow:0 8px 25px #187fb00d}.report-card-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:24px}.report-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:11px;background:#eaf5fb;font-size:23px;color:#168cbe}.report-arrow{font-size:21px;color:#9aaebd}.report-card strong{font-size:18px;color:#23425b;letter-spacing:-.35px;margin-bottom:12px}.report-card .eyebrow{font-size:9px;margin-bottom:8px}.report-description{font-size:12px;color:#7b8c9c;line-height:1.8;margin-bottom:24px}.report-link{font-size:12px;color:#1289ba;font-weight:650;margin-top:auto}.report-context{display:flex;align-items:center;gap:13px;border:1px solid #deebf4;border-radius:10px;padding:18px 21px;background:#edf5fb;margin-bottom:25px}.report-context strong{display:block;font-size:13px;color:#305b78}.report-context div>span{display:block;font-size:11px;color:#7d93a5;margin-top:5px}.report-context .badge{margin-left:auto;background:#fff}.context-dot{width:9px;height:9px;border-radius:50%;background:#1493c7}.report-tabs{display:flex;gap:7px;padding:6px;background:#e9eff5;border-radius:10px;margin-bottom:27px;width:fit-content;flex-wrap:wrap}.report-tabs button{background:transparent;border:0;font-size:12px;padding:10px 15px}.report-tabs button.active{background:#fff;color:#137faa;box-shadow:0 2px 6px #244b6710}
@media(min-width:1500px){.sidebar{padding-top:30px}.content{padding-top:38px}}
@media(max-width:1150px){.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{grid-template-columns:225px minmax(0,1fr)}.content{padding:28px 24px}.brand-caption{font-size:12px}.sahan-brand .brand-caption span{font-size:9px}}
@media(max-width:700px){.shell{display:block}.sidebar{height:auto;padding:15px;position:static;overflow:visible}.sahan-brand{padding:0 5px 15px;display:flex;gap:18px;align-items:center}.sahan-brand img{width:145px;margin:0}.brand-caption{font-size:11px;display:block}.sahan-brand .brand-caption span{display:block;margin-top:5px}.nav-group{margin:6px 0}.nav-caption{display:block;font-size:8px;margin:12px 8px 5px}.nav{flex-direction:row;overflow:auto}.nav button{white-space:nowrap;padding:9px 11px}.nav .icon{font-size:14px}.content{padding:23px 15px}.report-grid{grid-template-columns:1fr}.report-card{min-height:220px}.topbar{height:auto}.auth-card .sahan-brand{display:block}.auth-card .sahan-brand img{width:100%;margin:0 auto 18px}.auth-card .brand-caption{display:flex}.report-tabs{width:100%}}
@media print{.report-tabs,.report-context{display:none!important}.report-grid{display:block}.report-card{break-inside:avoid;min-height:0;margin-bottom:15px}.sahan-brand{display:none}}


/* Compact purchase worksheet */
.purchase-panel .panel-head{gap:12px;flex-wrap:wrap}
.purchase-panel .panel-head>div{margin-right:auto}
.purchase-table{table-layout:fixed;width:100%;min-width:0}
.purchase-table th,.purchase-table td{padding:12px 9px;white-space:normal;overflow-wrap:anywhere;font-size:11px}
.purchase-table th:nth-child(1){width:18%}.purchase-table th:nth-child(2){width:8%}.purchase-table th:nth-child(3){width:8%}.purchase-table th:nth-child(4){width:8%}.purchase-table th:nth-child(5){width:8%}.purchase-table th:nth-child(6){width:10%}.purchase-table th:nth-child(7){width:9%}.purchase-table th:nth-child(8){width:12%}.purchase-table th:nth-child(9){width:19%}
.purchase-table td.product{min-width:0;font-size:12px}
.purchase-table input,.purchase-table select,.purchase-table input.purchase-quantity{width:100%;min-width:0;max-width:100%;padding:8px 6px;font-size:12px;box-sizing:border-box}
.purchase-table .purchase-quantity{font-size:16px!important;color:#24546b}.purchase-table input.purchase-quantity{border:1px solid #86b8ce;font-size:16px!important}
.purchase-table .purchase-money{font-size:14px;white-space:nowrap;color:#21647b}
.purchase-table td small{font-size:10px;line-height:1.4;max-width:100%;margin-top:5px}
.purchase-table td:last-child .small{margin-top:7px;font-size:10px;padding:6px 8px}
.purchase-table .saved{display:block;font-size:10px;margin-top:7px}
.purchase-incomplete{background:#fffbf1}
@media(max-width:900px){.purchase-table thead{display:none}.purchase-table,.purchase-table tbody{display:block;width:100%}.purchase-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px;border-bottom:1px solid #e0e8ef}.purchase-table td{display:block;border:0;padding:0;min-width:0}.purchase-table td.product{grid-column:1/-1;font-size:14px}.purchase-table td:last-child{grid-column:1/-1}.purchase-table td:not(:first-child)::before{display:block;font-size:10px;color:#7c8fa0;margin-bottom:5px}.purchase-table td:nth-child(2)::before{content:"Sipariş"}.purchase-table td:nth-child(3)::before{content:"Alış birimi"}.purchase-table td:nth-child(4)::before{content:"Bir koli/kasa içeriği"}.purchase-table td:nth-child(5)::before{content:"Alınan miktar"}.purchase-table td:nth-child(6)::before{content:"Birim fiyat (€)"}.purchase-table td:nth-child(7)::before{content:"Toplam tutar"}.purchase-table td:nth-child(8)::before{content:"Leverancier"}.purchase-table td:nth-child(9)::before{content:"Not / durum"}}

.extra-product-search{position:relative}.extra-product-search>small{display:block;margin-top:7px;font-size:11px}.extra-search-results{max-height:260px;overflow:auto;border:1px solid #c9dfe9;border-radius:9px;background:#fff;box-shadow:0 8px 24px #173f5c13;margin-top:5px}.extra-search-results[hidden]{display:none}.extra-search-results button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf2f5;border-radius:0;padding:11px 14px;background:#fff}.extra-search-results button:hover,.extra-search-results button:focus{background:#eaf5fc}.extra-search-results strong{display:block;font-size:13px;font-weight:650;color:#24445d}.extra-search-results small{display:block;font-size:10px;font-weight:400;color:#7e92a2;margin-top:4px}.search-hint{padding:12px 14px;color:#7c8e9c;font-size:11px}#extra-description strong{font-size:14px}#extra-description small{display:block;margin-top:7px;color:#69889e}
.purchase-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;background:#f7fafd;border-bottom:1px solid #e1eaf2;padding:16px 22px}.purchase-filters label{flex:1;min-width:145px;font-size:11px}.purchase-filters input,.purchase-filters select{width:100%;font-size:12px;padding:9px}.purchase-filter-summary{width:100%;display:flex;gap:16px;align-items:center;font-size:11px;color:#8092a1}.purchase-filter-summary strong{color:#3b647d}.extra-purchase-row>td{background:#fff3df!important}.extra-purchase-row>td:first-child{box-shadow:inset 4px 0 #e7a133}.extra-purchase-row .badge{background:#ffe2ac;color:#8c5405}.extra-dispatch-row>td{background:#fff9eb}.not-purchased-button{background:#fff0ed!important;border:1px solid #df8e7c!important;color:#ad4730!important;font-weight:700}.not-purchased-button:hover{background:#ffe0d7!important}.restore-purchase-button{background:#e8f4ed!important;border:1px solid #89b49a!important;color:#287044!important;font-weight:650}.purchase-table tr[hidden]{display:none!important}@media(max-width:700px){.purchase-filters{padding:14px;gap:9px}.purchase-filter-summary{display:block}.purchase-filter-summary span{display:block;margin-top:5px}}
.allocation-markets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 22px}.allocation-market{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7fafd;border-radius:8px;border:1px solid #e1eaf1}.allocation-market input{width:115px!important} @media(max-width:600px){.allocation-markets{grid-template-columns:1fr}}
.distribution-summary{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:14px 19px;background:#fff;border:1px solid #e1e9f1;border-radius:10px;margin-bottom:12px;color:#71869a;font-size:12px}.distribution-summary strong{color:#244c69;font-size:17px;margin-right:5px}.distribution-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;position:sticky;top:0;z-index:15;background:#f3f6faee;backdrop-filter:blur(12px);padding:12px 0 16px;border-bottom:1px solid #dce7ef;margin-bottom:18px;scroll-margin-top:0}.distribution-view-tabs{display:flex;gap:5px;background:#e5edf4;border-radius:10px;padding:5px}.distribution-view-tabs button{border:0;background:transparent;font-size:12px;padding:12px 18px}.distribution-view-tabs button[aria-selected=true]{background:#fff;color:#1187b9;box-shadow:0 2px 7px #204f7210}.distribution-toolbar>label{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:12px}.distribution-toolbar select{min-width:200px}#distribution-stock[hidden],#distribution-markets[hidden]{display:none!important}@media(max-width:700px){.distribution-toolbar{gap:10px}.distribution-view-tabs{width:100%}.distribution-view-tabs button{flex:1;padding:10px 8px}.distribution-toolbar>label{width:100%}.distribution-toolbar select{flex:1;min-width:0}.distribution-summary{gap:14px}}@media print{.distribution-toolbar,.distribution-summary{display:none!important}}
.market-tabs button.distribution-pending{background:#fff;border-color:#dce5ed;color:#60778a}.market-tabs button.distribution-approved{background:#e0f2e5!important;border-color:#78ac88!important;color:#246e3c!important;font-weight:700}.market-tabs button.active.distribution-pending{outline:2px solid #2191bf;outline-offset:1px}.market-tabs button.active.distribution-approved{outline:2px solid #367d4b;outline-offset:1px}
#modal-error{white-space:pre-line;line-height:1.65}

/* Shared worksheet spacing, typography and print layout */
.content table{font-size:12px;line-height:1.4;color:#29445e}
.content th{font-size:11px;font-weight:600;line-height:1.35;letter-spacing:0;white-space:normal;vertical-align:middle;padding:10px 12px}
.content td{padding:10px 12px;vertical-align:middle}
.content td.product{font-size:12px;font-weight:600;line-height:1.4}
.content td small{font-size:10.5px;line-height:1.4;color:#718397;margin-top:3px}
.content td input,.content td select{font-size:12px;line-height:1.35;padding:8px;min-height:34px}
.content td .badge{font-size:10.5px;line-height:1.3;font-weight:600;white-space:normal}
.content .num,.content input[type=number]{font-variant-numeric:tabular-nums}
.content .compact-table{max-width:1100px;table-layout:fixed}.content .compact-table td{white-space:normal;overflow-wrap:anywhere;min-width:0!important}
.content .wide-table th,.content .wide-table td{padding:9px 8px}
.content .wide-table td:not(.product){white-space:normal}
.needs-panel{max-width:1080px}
.content .needs-table{table-layout:fixed;max-width:none}
.needs-table th:nth-child(1){width:46%}.needs-table th:nth-child(2){width:20%}.needs-table th:nth-child(3){width:17%}.needs-table th:nth-child(4){width:17%}
.content .needs-table td{height:52px;white-space:normal;overflow-wrap:anywhere}
.content .needs-table td:nth-child(2){font-weight:500}
.need-quantity{font-size:14px;font-weight:700;color:#244c69}.quantity-unit{font-size:12px;color:#718397}
.content .purchase-table .purchase-quantity{font-size:15px!important}.content .purchase-table .purchase-money{font-size:14px}
@media(max-width:700px){.needs-table th:nth-child(1){width:40%}.needs-table th:nth-child(2){width:20%}.needs-table th:nth-child(3){width:20%}.needs-table th:nth-child(4){width:20%}.content .needs-table th,.content .needs-table td{padding:9px 7px;font-size:11px}.quantity-unit{display:block;font-size:10px}.content .needs-table td.product{min-width:0;font-size:11px}}
@media print{
 @page{size:A4 portrait;margin:10mm}
 html,body{background:#fff!important;color:#182b3b!important}
 .shell,.main{display:block!important;width:100%!important;margin:0!important}
 .content{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
 .sidebar,.topbar,.actions,.steps,.banner,.toolbar,.action-bar,.market-tabs,.purchase-filters,.report-tabs,.distribution-toolbar,.distribution-summary,#toast,dialog{display:none!important}
 .heading{margin:0 0 5mm!important}.heading h1{font-size:17pt;letter-spacing:0}.heading p{font-size:9pt;color:#40556a}
 .panel,.needs-panel{width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;margin-bottom:5mm}
 .panel-head{padding:3mm 0;border-bottom:1px solid #aebdc8}.panel-head h2{font-size:11pt}.panel-head p{font-size:8pt}.panel-body{padding:3mm 0}
 .table-wrap{overflow:visible!important;max-height:none!important}
 .content table,.content .compact-table,.content .purchase-table{display:table!important;width:100%!important;max-width:none!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse}
 .content thead,.content .purchase-table thead{display:table-header-group!important}.content tbody,.content .purchase-table tbody{display:table-row-group!important}
 .content tr,.content .purchase-table tr{display:table-row!important;break-inside:avoid;padding:0!important}
 .content th,.content td,.content .purchase-table th,.content .purchase-table td{display:table-cell!important;min-width:0!important;padding:1.5mm 1mm!important;font-size:8pt!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere;border-bottom:1px solid #d2dbe2}
 .content td::before{display:none!important}.content td small{font-size:7pt!important;color:#43596a!important;line-height:1.25}
 .content td input,.content td select,.content td textarea,.content .purchase-table input.purchase-quantity{width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#182b3b!important;font-size:8pt!important;box-shadow:none!important;appearance:none}
 .content td.product,.need-quantity,.content .purchase-table .purchase-quantity,.content .purchase-table .purchase-money{font-size:8.5pt!important;color:#182b3b!important}.quantity-unit{font-size:8pt;display:inline}
 .content .needs-table td{height:auto}.content .badge{font-size:7pt;padding:1mm}.content .grid2{display:block}
 .content .wide-table th,.content .wide-table td{font-size:7pt!important;padding:1mm .7mm!important}
 .firm-row,.needs-table td:nth-child(2),.issue-row,.extra-purchase-row{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

@media print{.content .purchase-table td[hidden],.content .purchase-table tr[hidden]{display:none!important}.content .needs-table th:nth-child(1){width:46%}.content .needs-table th:nth-child(2){width:20%}.content .needs-table th:nth-child(3),.content .needs-table th:nth-child(4){width:17%}}

.mooij-list th:nth-child(1){width:32%}.mooij-list th:nth-child(2){width:12%}.mooij-list th:nth-child(3){width:34%}.mooij-list th:nth-child(4){width:22%}.mooij-row-actions{display:flex;gap:8px;align-items:center}.mooij-mail-button{font-size:20px;padding:4px 13px;line-height:1.2;color:#108bc1}.badge.green{background:#e0f2e5;color:#246e3c}.mooij-mail-button:disabled{color:#246e3c;background:#e0f2e5;opacity:1}

th.sortable-heading{cursor:pointer;user-select:none}th.sortable-heading::after{content:" ↕";font-size:10px;color:#8ba0af;white-space:nowrap}th.sortable-heading[aria-sort=ascending]::after{content:" ▲";color:#108bc1}th.sortable-heading[aria-sort=descending]::after{content:" ▼";color:#108bc1}th.sortable-heading:hover{background:#e9f3fa;color:#24546b}th.sortable-heading:focus-visible{outline:2px solid #108bc1;outline-offset:-2px}@media print{th.sortable-heading::after{display:none}th.sortable-heading{background:#f2f5f7!important}}

.allocation-market>span small{display:block;font-size:10px;font-weight:400;color:#718397;margin-top:4px}.allocation-market>span{font-weight:600}

.test-purchase-button{background:#fff3db;border:1px dashed #d69b39;color:#865a16;font-size:12px}

.test-reset-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border:1px dashed #d4ad65;border-radius:10px;background:#fff9eb;margin-top:28px}.test-reset-controls strong{font-size:13px;color:#865a16}.test-reset-controls p{font-size:11px;color:#87765a;margin-top:4px}@media(max-width:700px){.test-reset-controls{flex-direction:column;align-items:flex-start}}@media print{.test-reset-controls{display:none!important}}
/* Operational release, finance work and tablet workspaces */
.purchase-section-tabs{display:flex;gap:8px;position:sticky;top:0;z-index:25;background:#f3f6fa;padding:9px 0 12px}.purchase-section-tabs button.active{background:#108bc1;color:white;border-color:#108bc1}
.operational-purchase-panel .purchase-table th:nth-child(6),.operational-purchase-panel .purchase-table td:nth-child(6),.operational-purchase-panel .purchase-table th:nth-child(7),.operational-purchase-panel .purchase-table td:nth-child(7){display:none}
.operational-purchase-panel .purchase-table th:nth-child(1){width:25%}.operational-purchase-panel .purchase-table th:nth-child(2){width:9%}.operational-purchase-panel .purchase-table th:nth-child(3),.operational-purchase-panel .purchase-table th:nth-child(4){width:9%}.operational-purchase-panel .purchase-table th:nth-child(5){width:10%}.operational-purchase-panel .purchase-table th:nth-child(8){width:14%}.operational-purchase-panel .purchase-table th:nth-child(9){width:10%}.operational-purchase-panel .purchase-table th:nth-child(10){width:14%}
.purchase-panel>.table-wrap,.finance-table-wrap{max-height:66vh;overflow:auto;scrollbar-gutter:stable}.purchase-panel thead th,.finance-table thead th{position:sticky;top:0;z-index:12;background:#f1f6fa;box-shadow:0 1px 0 #ccdce7}
.finance-table{table-layout:fixed}.finance-table th:first-child{width:26%}.finance-table input,.finance-table select{width:100%;min-width:0}.pallet-form{display:grid;grid-template-columns:1.3fr .7fr 1fr 1.2fr auto;align-items:end;gap:12px;margin-top:18px}.pallet-form input,.pallet-form select{width:100%}
@media(pointer:coarse){button,input,select{min-height:44px}.small{padding:10px 12px}.nav button{min-height:44px}}
@media(max-width:1100px){.pallet-form{grid-template-columns:repeat(2,minmax(0,1fr))}.pallet-form button{grid-column:1/-1}.content{padding:20px 16px}.purchase-section-tabs button{flex:1;font-size:12px}.purchase-section-tabs{top:0}}
@media(max-width:900px){.purchase-panel>.table-wrap,.finance-table-wrap{max-height:none;overflow:visible}.operational-purchase-panel .purchase-table td:nth-child(9)::before{content:'Statiegeld / kasa'}.operational-purchase-panel .purchase-table td:nth-child(10)::before{content:'Not / durum'}.finance-table thead{display:none}.finance-table,.finance-table tbody{display:block}.finance-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;border-bottom:1px solid #dde7ee}.finance-table td{display:block;min-width:0;border:0;padding:0;white-space:normal}.finance-table td:first-child,.finance-table td:last-child{grid-column:1/-1}.finance-table td:not(:first-child)::before{display:block;font-size:11px;color:#718397;margin-bottom:6px}.finance-table td:nth-child(2)::before{content:'Alış birimi fiyatı (€)'}.finance-table td:nth-child(3)::before{content:'Statiegeld / kasa'}.finance-table td:nth-child(4)::before{content:'Depozitolu kasa adedi'}.finance-table td:nth-child(5)::before{content:'Ürün / statiegeld tutarı'}#distribution-markets table thead{display:none}#distribution-markets table,#distribution-markets tbody{display:block}#distribution-markets tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-bottom:1px solid #dce6ee}#distribution-markets td{display:block;border:0;padding:0;white-space:normal;min-width:0}#distribution-markets td:first-child,#distribution-markets td:last-child{grid-column:1/-1}#distribution-markets td::before{content:attr(data-label);display:block;font-size:11px;color:#718397;margin-bottom:6px}#distribution-markets td:first-child::before{display:none}#distribution-markets input{width:100%;min-height:44px}}
@media print{.purchase-section-tabs{display:none!important}.purchase-panel>.table-wrap,.finance-table-wrap{max-height:none;overflow:visible}.content .operational-purchase-panel .purchase-table th:nth-child(6),.content .operational-purchase-panel .purchase-table td:nth-child(6),.content .operational-purchase-panel .purchase-table th:nth-child(7),.content .operational-purchase-panel .purchase-table td:nth-child(7){display:none!important}.pallet-form{display:none!important}.finance-table thead{display:table-header-group!important}.finance-table tr,#distribution-markets tbody tr{display:table-row!important}}
@media(max-width:1100px){.content td input,.content td select,.content button,.content .small{min-height:44px!important}.content td input,.content td select{font-size:14px!important}.purchase-section-tabs button{min-height:44px}.finance-table td,.purchase-table td{scroll-margin-top:65px}}
