:root{--bg: #f5f6f8;--surface: #ffffff;--elevated: #ffffff;--hover: #f7f8fa;--input: #ffffff;--accent: #174a7e;--accent-hover: #103b68;--accent-soft: #edf4fa;--text-1: #17212f;--text-2: #4f5d6d;--text-3: #718096;--danger: #b42318;--warn: #946200;--success: #18794e;--info: #175cd3;--border: #dce1e7;--radius: 8px;--ring: #3b82b6}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text-1);font-size:14px;line-height:1.55;min-height:100vh}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}button:disabled{cursor:not-allowed;opacity:.58}:focus-visible{outline:3px solid color-mix(in srgb,var(--ring) 32%,transparent);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.numeric{text-align:right!important;font-variant-numeric:tabular-nums}.app-layout{display:flex;height:100vh;overflow:hidden}.main-content{flex:1;overflow-y:auto;padding:28px 32px 48px}.main-inner{max-width:1320px;margin:0 auto}.sidebar{width:252px;min-width:252px;height:100vh;background:#11253b;border-right:1px solid #0d1d2e;display:flex;flex-direction:column;padding:18px 14px;color:#f8fafc}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:8px 12px;margin-bottom:24px}.sidebar-brand-icon{width:42px;height:42px;border-radius:7px;background:#fff;color:#143d66;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.72rem;letter-spacing:.04em}.sidebar-brand-icon.compact{width:32px;height:32px;font-size:.6rem}.sidebar-brand b{font-size:.95rem;display:block;line-height:1.3}.sidebar-brand span{font-size:.68rem;color:#9fb0c3;text-transform:uppercase;letter-spacing:.04em}.nav-section-label{padding:0 13px 7px;color:#8297ad;font-size:.64rem;font-weight:700;letter-spacing:.12em}.sidebar-nav{display:flex;flex-direction:column;gap:2px;flex:1}.sidebar-link{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:6px;border-left:3px solid transparent;font-size:.87rem;color:#c2cedb;transition:background .15s,color .15s,border-color .15s}.sidebar-link:hover{background:#ffffff0f;color:#fff}.sidebar-link.active{background:#1a3857;border-left-color:#6ba4d6;color:#fff;font-weight:650}.sidebar-footer{padding:10px 12px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem;color:#94a3b8;display:flex;justify-content:space-between;align-items:center}.sidebar-footer>span{display:flex;flex-direction:column;min-width:0}.sidebar-footer strong{color:#eef4fa;font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.sidebar-footer small{color:#91a5b9;font-size:.68rem}.sidebar .btn-ghost{color:#d7deea;border-color:#ffffff29}.badge{background:var(--danger);color:#fff;font-size:.68rem;font-weight:700;border-radius:99px;padding:1px 7px;margin-left:auto}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:14px;flex-wrap:wrap}.page-head h1{font-size:1.4rem;font-weight:720;letter-spacing:-.015em}.page-head p{color:var(--text-2);font-size:.85rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;margin-bottom:16px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:20px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px}.stat-card .num{font-size:1.55rem;font-weight:750;color:#173f68;font-variant-numeric:tabular-nums}.stat-card .lbl{font-size:.74rem;color:var(--text-2);text-transform:uppercase;letter-spacing:.035em}table.data{width:100%;border-collapse:collapse}table.data th{position:sticky;top:0;z-index:2;background:#f8fafb;font-size:.69rem;text-transform:uppercase;letter-spacing:.045em;color:#5d6b7a;text-align:left;padding:9px 10px;border-bottom:1px solid #cfd6de;white-space:nowrap}table.data td{padding:9px 10px;border-bottom:1px solid #e6e9ed;font-size:.84rem;vertical-align:middle}table.data tr:hover td{background:var(--hover)}.mono{font-family:ui-monospace,Cascadia Code,monospace;font-size:.76rem;color:#295f91}.table-meta{font-size:.72rem;color:var(--text-3);margin-top:2px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}label.fld{display:flex;flex-direction:column;gap:4px;font-size:.78rem;color:var(--text-2)}input.inp,select.inp,textarea.inp{background:var(--input);border:1px solid #cbd3dc;border-radius:7px;padding:8px 11px;color:var(--text-1);outline:none;width:100%}input.inp:focus,select.inp:focus,textarea.inp:focus{border-color:var(--ring);box-shadow:0 0 0 3px #3b82b621}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:7px;min-height:36px;padding:7px 14px;font-size:.83rem;font-weight:650;transition:background .15s,border-color .15s,color .15s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-ghost{background:transparent;color:var(--text-2);border:1px solid var(--border)}.btn-ghost:hover{color:var(--text-1);background:var(--hover)}.btn-danger{background:transparent;color:var(--danger);border:1px solid rgba(248,113,113,.3)}.btn-danger:hover{background:#f871711a}.btn-sm{padding:4px 10px;font-size:.78rem}.tag{display:inline-block;font-size:.68rem;font-weight:750;border-radius:5px;padding:3px 7px;line-height:1.35;white-space:nowrap}.tag-saglam{background:#e8f7ef;color:#147a43}.tag-arizali{background:#fff4d8;color:#8a5200}.tag-hurda{background:#fdecec;color:#b42323}.tag-info{background:#eaf1ff;color:#1d4ed8}.tag-warning{background:#fff4d6;color:#825500}.tag-danger{background:#feeceb;color:#a62920}.tag-neutral{background:#eef1f4;color:#4c5968}.secondary-tag{display:block;width:max-content;margin-top:5px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0c1826a8;display:flex;align-items:center;justify-content:center;z-index:100;padding:20px}.modal{background:var(--elevated);border:1px solid var(--border);border-radius:9px;padding:24px;width:100%;max-width:560px;max-height:92vh;overflow-y:auto;box-shadow:0 18px 48px #0814223d}.modal h2{font-size:1.05rem;margin-bottom:16px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.login-box{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:36px;width:100%;max-width:380px}.login-box h1{font-size:1.2rem;text-align:center;margin-bottom:6px}.login-box .sub{text-align:center;color:var(--text-2);font-size:.82rem;margin-bottom:24px}.err{background:#fff0f0;border:1px solid #f4b8b8;color:var(--danger);border-radius:8px;padding:8px 12px;font-size:.82rem;margin-bottom:12px}.ok{background:#eaf7ef;border:1px solid #acd9bd;color:#17683a;border-radius:8px;padding:8px 12px;font-size:.82rem;margin-bottom:12px}.muted{color:var(--text-3);font-size:.8rem}.empty{text-align:center;color:var(--text-3);padding:32px}.public-wrap{min-height:100vh;padding:24px 16px;max-width:680px;margin:0 auto}.public-head{text-align:center;margin-bottom:24px}.public-head h1{font-size:1.3rem}.public-head p{color:var(--text-2);font-size:.85rem}.kalem-row{display:grid;grid-template-columns:1fr 100px 90px 90px 58px 92px 34px;gap:8px;margin-bottom:8px;align-items:center}.istat-wrap{min-height:100vh;padding:28px 20px;max-width:960px;margin:0 auto}.istat-urun-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}.istat-urun-head h2{font-size:1.1rem}.beden-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.beden-kutu{background:var(--elevated);border:1px solid var(--border);border-radius:var(--radius);padding:12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.beden-ad{font-size:1.05rem;font-weight:800}.head-actions,.filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.section-kicker{display:block;font-size:.65rem;font-weight:750;letter-spacing:.09em;color:#376a99;margin-bottom:3px}.toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;padding:14px 16px}.toolbar .fld{min-width:250px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.section-head h2{font-size:1rem;line-height:1.35}.section-head p{font-size:.8rem;color:var(--text-2);margin-top:2px}.table-scroll{overflow-x:auto;width:100%}.lookup-card{padding:16px}.lookup-form{display:flex;align-items:end;gap:10px;max-width:620px}.lookup-form .fld{flex:1}.lookup-input{height:42px;font-size:1rem}.student-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#173550;color:#fff;border-radius:8px;padding:15px 18px;margin-bottom:14px}.student-strip>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.student-strip strong{font-size:1.05rem}.student-strip span:not(.tag){color:#c7d0df;font-size:.82rem}.eyebrow{text-transform:uppercase;font-size:.68rem!important;color:#8fa0b9!important}.order-delivery{padding:0;overflow:hidden}.order-delivery>.section-head{padding:16px 18px 0}.order-delivery>.table-scroll{padding:0 8px}.tunic-callout{display:flex;align-items:center;gap:10px;margin:4px 18px 12px;padding:9px 12px;border-left:3px solid #2f6f9f;background:#f1f6fa;color:#29465f}.tunic-callout span{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em}.tunic-callout strong{font-size:.95rem;color:#132f49}.qty-input{width:72px!important;padding:6px 8px!important}.delivery-actions{display:flex;align-items:end;justify-content:flex-end;gap:14px;border-top:1px solid var(--border);background:#f8fafc;padding:14px 18px;margin-top:10px}.payment-select{width:180px}.delivery-total{display:flex;flex-direction:column;min-width:130px}.delivery-total span{font-size:.72rem;color:var(--text-3)}.delivery-total strong{font-size:1.05rem}.history-list{border-top:1px solid var(--border);padding:14px 18px}.history-list h3{font-size:.85rem;margin-bottom:8px}.history-row{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border);font-size:.8rem}.history-row:last-child{border-bottom:0}.order-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.student-list-head{align-items:end}.filters .inp{min-width:170px}.import-dropzone{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px dashed #9eb1c3;border-radius:8px;padding:16px 18px;margin-bottom:18px}.import-dropzone h2{font-size:.98rem;margin-bottom:2px}.import-dropzone p{font-size:.78rem;color:var(--text-2)}.preview-modal{max-width:1180px;padding:0;overflow:hidden;display:flex;flex-direction:column}.preview-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px 14px;border-bottom:1px solid var(--border)}.preview-header h2{margin:0;font-size:1.15rem}.preview-header p{font-size:.76rem;color:var(--text-2);margin-top:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text-2);font-size:1.25rem;line-height:1}.preview-modal>.err{margin:14px 22px 0}.preview-metrics{display:grid;grid-template-columns:repeat(9,minmax(92px,1fr));border-bottom:1px solid var(--border);background:#fafbfc;padding:0 14px}.preview-metrics>div{display:flex;flex-direction:column;padding:12px 9px;border-right:1px solid #e4e8ec}.preview-metrics>div:last-child{border-right:0}.preview-metrics strong{font-size:1.15rem;color:#173f68;font-variant-numeric:tabular-nums}.preview-metrics span{font-size:.67rem;color:var(--text-2);line-height:1.25;margin-top:2px}.preview-toolbar{display:flex;gap:8px;padding:12px 18px;border-bottom:1px solid var(--border)}.preview-toolbar .search-field{flex:1}.preview-toolbar select{width:210px}.preview-table-wrap{max-height:44vh;overflow:auto}.preview-table{min-width:1050px}.preview-table td{vertical-align:top!important}.preview-products{min-width:270px;max-width:390px}.preview-products>div{font-size:.76rem;margin-bottom:2px}.preview-product-row{padding:3px 0;border-bottom:1px dotted #e1e5e9}.preview-product-row:last-of-type{border-bottom:0}.preview-product-row .secondary-tag{margin-top:3px}.row-message{color:var(--danger);font-size:.72rem!important;margin-top:4px;padding-left:8px;border-left:2px solid #e2a7a2}.row-warning{color:var(--warn);font-size:.72rem!important;margin-top:4px;padding-left:8px;border-left:2px solid #e0bf72}.inline-warning{font-size:.69rem;color:var(--warn);margin-top:3px}.price-difference{font-size:.72rem;color:var(--danger);margin-top:2px}.price-match{font-size:.72rem;color:var(--success);margin-top:2px}.import-confirmation{display:flex;flex-direction:column;padding:12px 22px;background:#f5f8fb;border-top:1px solid var(--border)}.import-confirmation strong{font-size:.82rem}.import-confirmation span{font-size:.74rem;color:var(--text-2)}.preview-modal>.modal-actions{margin:0;padding:14px 22px;border-top:1px solid var(--border)}.order-edit-modal{max-width:860px}.compact-input{min-width:82px;padding:6px 8px!important}.order-edit-actions{display:flex;justify-content:flex-end;gap:6px;white-space:nowrap}.split-actions{justify-content:space-between}.change-history{border-top:1px solid var(--border);margin-top:14px;padding-top:12px}.change-history h3{font-size:.82rem;margin-bottom:6px}.change-history>div{display:flex;justify-content:space-between;gap:12px;color:var(--text-2);font-size:.76rem;padding:4px 0}.preview-errors{max-height:160px;overflow:auto}.warn-box{background:#fff8e6;border:1px solid #efd18b;color:#7a4a06;border-radius:8px;padding:9px 12px;font-size:.8rem;margin-bottom:12px}.check-row{display:flex;align-items:center;gap:8px;color:var(--text-2);font-size:.8rem;margin-top:8px}.student-search-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.student-search-results button{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--border);border-radius:7px;background:#fff;padding:9px 11px;text-align:left}.student-search-results button:hover{border-color:#8caac5;background:#f6f9fb}.student-search-results strong{font-size:.8rem}.student-search-results span{font-size:.7rem;color:var(--text-2)}.procurement-head{align-items:flex-end}.period-field{min-width:220px}.procurement-metrics{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:16px;overflow:hidden}.procurement-metrics>div{display:flex;flex-direction:column;padding:12px 14px;border-right:1px solid var(--border);min-width:0}.procurement-metrics>div:last-child{border-right:0}.procurement-metrics span{font-size:.66rem;color:var(--text-2);text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}.procurement-metrics strong{font-size:1.18rem;color:#173f68;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.procurement-metrics .metric-warning{background:#fff9eb}.procurement-metrics .metric-warning strong{color:var(--warn)}.procurement-panel{padding:16px 18px 12px}.procurement-filters{display:grid;grid-template-columns:minmax(250px,1.6fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;align-items:end;padding:12px 0 14px;border-top:1px solid var(--border)}.procurement-check{min-height:36px;margin:0;padding:0 4px;white-space:nowrap}.procurement-table-wrap{max-height:61vh;border:1px solid var(--border);border-radius:6px}.procurement-table{min-width:1240px}.procurement-table .procurement-needed td{background:#fffdf7}.procurement-table .procurement-needed:hover td{background:#fff9e8}.procurement-value{font-weight:800;color:#7a4a06}.define-size-button{display:block;margin-top:6px}.table-result-count{text-align:right;color:var(--text-3);font-size:.72rem;padding-top:8px}.procurement-groups>summary{cursor:pointer;font-size:.94rem;font-weight:700;color:#173f68}.procurement-groups>summary::marker{color:#527da5}.procurement-groups>.muted{margin-top:5px}.procurement-group-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px;margin-top:14px}.procurement-group{border:1px solid var(--border);border-radius:7px;overflow:hidden}.procurement-group header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;background:#f8fafb;border-bottom:1px solid var(--border);padding:10px 12px}.procurement-group header>div{display:flex;flex-direction:column;min-width:0}.procurement-group header strong{font-size:.8rem}.procurement-group header b{font-size:.78rem;white-space:nowrap;color:#173f68}.procurement-group table.data th,.procurement-group table.data td{padding:6px 11px}.product-stock-card{margin-bottom:12px;padding:15px 18px}.product-stock-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:11px}.product-stock-identity h2{font-size:1rem;line-height:1.4}.product-stock-identity>p{font-size:.77rem;color:var(--text-2);margin-top:2px}.product-stock-summary{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px;color:var(--text-2);font-size:.72rem}.product-stock-summary b{color:#173f68;font-variant-numeric:tabular-nums}.undefined-size-list{border-left:3px solid #c38118;background:#fff9eb;margin:0 0 10px;padding:4px 10px}.undefined-size-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0;font-size:.77rem;color:#70480a}.topbar,.sidebar-overlay{display:none}@media (max-width:820px){.topbar{display:flex;align-items:center;gap:10px;background:#121a2b;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);padding:10px 14px;position:sticky;top:0;z-index:90}.topbar b{font-size:.95rem}.hamburger{background:transparent;border:1px solid var(--border);border-radius:8px;color:var(--text-1);padding:5px 11px;font-size:1.15rem;line-height:1.3}.app-layout{flex-direction:column}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:200;width:272px;min-width:272px;transform:translate(-105%);transition:transform .2s ease;box-shadow:4px 0 24px #00000080}.sidebar.acik{transform:none}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:150}.main-content{padding:16px 14px}.card{padding:14px;overflow-x:auto}.modal{padding:18px}table.data th,table.data td{white-space:nowrap}input.inp,select.inp,textarea.inp{font-size:16px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:12px 14px}.stat-card .num{font-size:1.3rem}.istat-wrap{padding:18px 14px}.beden-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}.page-head h1{font-size:1.15rem}.lookup-form,.delivery-actions{align-items:stretch;flex-direction:column}.payment-select{width:100%}.delivery-actions .btn{justify-content:center}.student-strip{align-items:flex-start;flex-direction:column}.history-row{grid-template-columns:1fr auto}.student-list-head{align-items:stretch;flex-direction:column}.filters{align-items:stretch;flex-direction:column;width:100%}.import-dropzone{align-items:stretch;flex-direction:column}.preview-metrics{grid-template-columns:repeat(3,1fr)}.preview-metrics>div{border-bottom:1px solid #e4e8ec}.preview-toolbar{flex-direction:column}.preview-toolbar select{width:100%}.procurement-head{align-items:stretch}.procurement-head .head-actions{align-items:stretch;flex-direction:column;width:100%}.period-field{min-width:0}.procurement-metrics{grid-template-columns:repeat(2,1fr)}.procurement-metrics>div{border-bottom:1px solid var(--border)}.procurement-filters{grid-template-columns:1fr}.product-stock-head{flex-direction:column}.undefined-size-list>div{align-items:flex-start;flex-direction:column}}@media (max-width:720px){.kalem-head{display:none!important}.kalem-row{grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:10px;padding:10px;margin-bottom:10px}.kalem-row>:first-child{grid-column:1 / -1}.kalem-row .btn{justify-self:end}}.etiket-sayfa{background:#fff;color:#000;margin:0 auto;box-shadow:0 4px 24px #0006}.etiket{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;border:1px dashed #ccc}.etiket .baslik{font-size:7pt;font-weight:700;text-align:center;line-height:1.2}.etiket svg{max-width:95%;max-height:60%}.etiket .kod{font-size:7pt;font-weight:600;font-family:monospace}.etiket-bos{background:repeating-linear-gradient(45deg,#f5f5f5,#f5f5f5 6px,#fff 6px,#fff 12px)}@media print{body{background:#fff}.no-print{display:none!important}.main-content{padding:0;overflow:visible}.etiket-sayfa{box-shadow:none;margin:0}.etiket{border:none}.etiket-bos{background:none}@page{margin:0}}
