:root{
  --bg:#f4f6fb;--panel:#fff;--panel-2:#f8fafc;--text:#172033;--muted:#6f7b91;--line:#e5eaf2;
  --primary:#4f46e5;--primary-2:#6d5dfc;--primary-soft:#eef0ff;--success:#16a34a;--success-soft:#eaf9ef;
  --warning:#d97706;--warning-soft:#fff6e5;--danger:#dc2626;--danger-soft:#fff0f0;--info:#0284c7;--info-soft:#eaf7ff;
  --shadow:0 18px 50px rgba(27,39,66,.10);--shadow-sm:0 8px 28px rgba(27,39,66,.07);--radius:18px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--primary)}
.login-screen{min-height:100vh;display:grid;grid-template-columns:1.25fr .75fr;background:#fff}.login-visual{position:relative;padding:42px;background:linear-gradient(145deg,#111827 0%,#1e293b 56%,#312e81 100%);color:#fff;overflow:hidden}.login-visual:before,.login-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(1px);opacity:.18}.login-visual:before{width:520px;height:520px;background:#8b5cf6;right:-160px;top:-180px}.login-visual:after{width:400px;height:400px;background:#2563eb;left:-170px;bottom:-150px}.login-brand,.brand,.mobile-brand{display:flex;align-items:center;gap:12px}.brand-logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;font-weight:900;letter-spacing:.04em;box-shadow:0 10px 25px rgba(79,70,229,.25)}.login-brand strong,.brand strong{display:block;font-size:17px}.login-brand small,.brand small{display:block;color:#9ca3af;margin-top:3px}.login-copy{position:absolute;left:9%;right:9%;top:50%;transform:translateY(-42%);max-width:760px;z-index:1}.login-copy .eyebrow{color:#c4b5fd}.login-copy h1{font-size:clamp(38px,5.4vw,76px);line-height:1.02;letter-spacing:-.055em;margin:18px 0 20px}.login-copy p{font-size:18px;line-height:1.7;color:#cbd5e1;max-width:680px}.flow-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:34px}.flow-preview span{padding:9px 12px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);border-radius:999px;font-size:12px;font-weight:700}.flow-preview i{color:#a5b4fc}.login-panel{display:grid;place-items:center;padding:34px}.login-card{width:min(420px,100%)}.mobile-brand{display:none;margin-bottom:36px}.login-card h2{font-size:34px;letter-spacing:-.04em;margin:10px 0 8px}.login-card>p{color:var(--muted);margin:0 0 30px}.login-card label,.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:800;color:#536078;margin-bottom:16px}.login-card input,.field input,.field select,.field textarea,.table-search,.select-input{width:100%;border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px 13px;color:var(--text);outline:none;transition:.2s}.login-card input{margin-top:8px;padding:14px}.login-card input:focus,.field input:focus,.field select:focus,.field textarea:focus,.table-search:focus,.select-input:focus{border-color:#a5b4fc;box-shadow:0 0 0 4px #eef2ff}.demo-info{margin-top:18px;background:var(--panel-2);border:1px solid var(--line);padding:12px;border-radius:12px;font-size:12px;color:var(--muted)}
.btn{border:0;border-radius:13px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;transition:.2s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 10px 22px rgba(79,70,229,.2)}.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--text)}.btn.danger{background:var(--danger);color:#fff}.btn.success{background:var(--success);color:#fff}.btn.soft{background:var(--primary-soft);color:var(--primary)}.btn.wide{width:100%;padding:14px}.btn.small{padding:8px 11px;border-radius:10px;font-size:12px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;place-items:center;color:var(--text)}.icon-btn.danger-soft{background:var(--danger-soft);border-color:transparent;color:var(--danger)}
.app-shell{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}.sidebar{height:100vh;position:sticky;top:0;background:#101827;color:#fff;padding:23px 16px;display:flex;flex-direction:column;z-index:40}.brand{padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.08)}.main-nav{display:flex;flex-direction:column;gap:5px;margin-top:20px}.main-nav button{display:flex;align-items:center;gap:11px;width:100%;border:0;background:transparent;color:#aeb8c9;text-align:left;padding:11px 13px;border-radius:12px;font-weight:700}.main-nav button span{width:22px;text-align:center;font-size:18px}.main-nav button:hover,.main-nav button.active{background:rgba(255,255,255,.09);color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.user-mini{display:flex;align-items:center;min-width:0;gap:9px}.user-mini>span{width:36px;height:36px;border-radius:11px;background:#334155;display:grid;place-items:center;font-size:11px;font-weight:900}.user-mini div{min-width:0}.user-mini strong,.user-mini small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-mini strong{font-size:12px}.user-mini small{font-size:10px;color:#94a3b8;margin-top:3px}.main-content{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;background:rgba(244,246,251,.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:30;border-bottom:1px solid rgba(229,234,242,.9)}.topbar-title{display:flex;align-items:center;gap:12px}.topbar-title h1{font-size:25px;letter-spacing:-.035em;margin:0}.topbar-title p{margin:4px 0 0;color:var(--muted);font-size:12px}.menu-btn{display:none}.topbar-actions{display:flex;align-items:center;gap:9px}.global-search{width:min(310px,28vw);display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:0 12px}.global-search span{font-size:18px;color:var(--muted)}.global-search input{border:0;outline:0;padding:11px 0;width:100%;min-width:0}.page-content{padding:22px 24px 36px}
.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.stat-card,.panel,.mini-panel{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:var(--radius)}.stat-card{padding:17px}.stat-head{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:700}.stat-icon{width:40px;height:40px;border-radius:13px;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary);font-size:18px}.stat-value{font-size:27px;letter-spacing:-.05em;font-weight:900;margin-top:10px}.stat-foot{font-size:11px;color:var(--muted);margin-top:6px}.dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-top:14px}.panel{padding:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.panel-head h2,.panel-head h3{margin:0;font-size:16px;letter-spacing:-.02em}.panel-head p{margin:4px 0 0;font-size:11px;color:var(--muted)}.stage-bars{display:flex;flex-direction:column;gap:11px}.stage-bar-row{display:grid;grid-template-columns:120px 1fr 48px;gap:10px;align-items:center;font-size:12px}.stage-bar-label{font-weight:800}.stage-bar-track{height:10px;border-radius:999px;background:#edf1f6;overflow:hidden}.stage-bar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#7c3aed)}.stage-bar-count{text-align:right;color:var(--muted);font-weight:800}.deadline-list{display:flex;flex-direction:column;gap:9px}.deadline-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border-radius:13px;background:var(--panel-2);border:1px solid var(--line);cursor:pointer}.deadline-item:hover{border-color:#c7d2fe}.deadline-item strong{display:block;font-size:12px}.deadline-item small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.date-chip{font-size:10px;border-radius:999px;padding:6px 8px;background:var(--warning-soft);color:var(--warning);font-weight:800}.date-chip.late{background:var(--danger-soft);color:var(--danger)}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.toolbar-left,.toolbar-right,.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:8px 12px;font-size:11px;font-weight:800}.filter-chip.active{background:var(--primary-soft);border-color:#c7d2fe;color:var(--primary)}.board-wrap{overflow-x:auto;padding-bottom:10px}.kanban-board{display:grid;grid-template-columns:repeat(7,minmax(280px,1fr));gap:12px;min-width:2030px;align-items:start}.kanban-column{background:#edf1f6;border:1px solid #e4e9f0;border-radius:18px;padding:11px;min-height:610px;transition:.2s}.kanban-column.drag-over{outline:3px dashed #818cf8;outline-offset:-4px;background:#eef2ff}.column-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 11px}.column-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:900}.stage-dot{width:9px;height:9px;border-radius:50%}.column-count{min-width:27px;height:27px;border-radius:9px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:10px;font-weight:800;color:var(--muted)}.kanban-cards{display:flex;flex-direction:column;gap:9px;min-height:540px}.order-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;box-shadow:0 5px 16px rgba(27,39,66,.05);cursor:grab;transition:.2s}.order-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.order-card.dragging{opacity:.45}.card-top,.card-bottom,.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.order-number{font-size:11px;font-weight:900;color:#405069}.priority{font-size:9px;padding:5px 7px;border-radius:999px;font-weight:900;text-transform:uppercase}.priority.low{background:#edf7ef;color:#18823b}.priority.normal{background:#edf3ff;color:#315fbd}.priority.high{background:#fff2db;color:#a45a00}.priority.urgent{background:#ffe7e7;color:#bd1e1e}.order-customer{font-size:14px;font-weight:900;margin-top:9px;line-height:1.35}.order-product{color:var(--muted);font-size:10px;margin-top:4px}.card-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px}.meta-box{padding:8px;background:var(--panel-2);border-radius:10px}.meta-box span{display:block;font-size:8px;letter-spacing:.06em;color:var(--muted);font-weight:800;text-transform:uppercase;margin-bottom:4px}.meta-box strong{font-size:11px}.progress-line{height:6px;border-radius:999px;background:#e9edf3;margin-top:11px;overflow:hidden}.progress-line i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#7c3aed)}.card-bottom{margin-top:11px;font-size:10px;color:var(--muted)}.late-text{color:var(--danger);font-weight:900}.assignee-badge{width:29px;height:29px;border-radius:9px;background:#334155;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}.empty-column{border:2px dashed #cbd5e1;color:#94a3b8;border-radius:14px;padding:28px 10px;text-align:center;font-size:11px}
.data-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.data-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line)}.data-card-head h2{font-size:15px;margin:0}.data-table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:850px}.data-table th,.data-table td{padding:12px 15px;border-bottom:1px solid var(--line);text-align:left;font-size:11px;vertical-align:middle}.data-table th{background:#fafbfc;color:#718096;text-transform:uppercase;letter-spacing:.06em;font-size:9px;position:sticky;top:0}.data-table tr:hover td{background:#fbfcff}.cell-title{font-weight:900;font-size:12px}.cell-sub{color:var(--muted);font-size:10px;margin-top:3px}.table-actions{display:flex;gap:6px}.status-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:999px;font-size:9px;font-weight:900}.status-badge.active{background:var(--info-soft);color:var(--info)}.status-badge.completed{background:var(--success-soft);color:var(--success)}.status-badge.cancelled{background:var(--danger-soft);color:var(--danger)}.stage-badge{display:inline-flex;padding:6px 8px;border-radius:8px;background:var(--primary-soft);color:var(--primary);font-size:9px;font-weight:900}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.customer-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow-sm);cursor:pointer;transition:.2s}.customer-card:hover{transform:translateY(-2px);border-color:#c7d2fe}.customer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.customer-avatar{width:42px;height:42px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900}.customer-card h3{font-size:14px;margin:12px 0 4px}.customer-card p{margin:0;color:var(--muted);font-size:10px}.customer-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.customer-stats div{padding:9px;border-radius:11px;background:var(--panel-2)}.customer-stats span{display:block;color:var(--muted);font-size:9px;margin-bottom:3px}.customer-stats strong{font-size:13px}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-table{width:100%;border-collapse:collapse}.report-table td{padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.report-table td:last-child{text-align:right;font-weight:900}.bar-chart{display:flex;align-items:flex-end;gap:12px;height:240px;padding-top:25px}.bar-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:40px}.bar-item i{width:70%;max-width:44px;min-height:4px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#7c3aed,#4f46e5)}.bar-item strong{font-size:10px;margin-top:7px}.bar-item span{font-size:8px;color:var(--muted);margin-top:3px;text-align:center}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.settings-card h3{margin:0 0 5px;font-size:15px}.settings-card>p{margin:0 0 16px;color:var(--muted);font-size:11px;line-height:1.6}
.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:100;display:flex;align-items:center;justify-content:center;padding:18px}.modal{width:min(740px,100%);max-height:92vh;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(15,23,42,.32);overflow:auto}.modal.small{width:min(520px,100%)}.modal-head,.modal-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}.modal-foot{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0}.modal-head h2{font-size:18px;margin:0}.modal-head p{font-size:10px;color:var(--muted);margin:4px 0 0}.modal-body{padding:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{margin:0}.field.full{grid-column:1/-1}.field textarea{min-height:90px;resize:vertical}.drawer-backdrop{justify-content:flex-end;padding:0}.drawer{height:100%;width:min(780px,100%);background:#fff;box-shadow:-25px 0 80px rgba(15,23,42,.25);overflow:auto}.drawer-head{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);padding:17px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.drawer-head h2{margin:0;font-size:19px}.drawer-head p{margin:5px 0 0;color:var(--muted);font-size:11px}.drawer-body{padding:18px}.detail-hero{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.detail-kpi{padding:12px;border-radius:13px;background:var(--panel-2);border:1px solid var(--line)}.detail-kpi span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.detail-kpi strong{font-size:12px}.tabs{display:flex;gap:5px;overflow:auto;margin:18px 0 13px;border-bottom:1px solid var(--line)}.tabs button{border:0;background:transparent;padding:10px 12px;color:var(--muted);font-size:11px;font-weight:900;border-bottom:2px solid transparent}.tabs button.active{color:var(--primary);border-bottom-color:var(--primary)}.tab-pane{display:none}.tab-pane.active{display:block}.timeline{display:flex;flex-direction:column;gap:10px}.timeline-item{display:grid;grid-template-columns:14px 1fr;gap:10px}.timeline-dot{width:10px;height:10px;border-radius:50%;background:var(--primary);margin-top:4px;box-shadow:0 0 0 4px var(--primary-soft)}.timeline-content{padding-bottom:12px;border-bottom:1px solid var(--line)}.timeline-content strong{font-size:11px}.timeline-content p{font-size:10px;color:var(--muted);margin:4px 0}.timeline-content small{font-size:9px;color:#98a2b3}.note-card,.file-card{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:12px;margin-bottom:8px;background:var(--panel-2)}.note-card strong,.file-card strong{display:block;font-size:11px}.note-card p{font-size:11px;line-height:1.55;margin:5px 0}.note-card small,.file-card small{font-size:9px;color:var(--muted)}.inline-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.inline-form textarea,.inline-form input,.inline-form select{border:1px solid var(--line);border-radius:12px;padding:11px;outline:none}.file-upload{display:grid;grid-template-columns:1fr 160px auto;gap:8px;margin-bottom:13px}.stage-stepper{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:14px 0}.stage-step{position:relative;text-align:center;font-size:8px;color:var(--muted);padding-top:22px}.stage-step:before{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#dbe1ea;top:0;left:50%;transform:translateX(-50%);z-index:2}.stage-step:after{content:"";position:absolute;height:3px;background:#dbe1ea;top:6px;left:-50%;right:50%;z-index:1}.stage-step:first-child:after{display:none}.stage-step.done:before,.stage-step.done:after{background:var(--primary)}.stage-step.current{color:var(--primary);font-weight:900}.stage-step.current:before{background:#fff;border:4px solid var(--primary);width:16px;height:16px;top:-1px}.toast-root{position:fixed;right:18px;bottom:18px;z-index:200;display:flex;flex-direction:column;gap:8px}.toast{min-width:260px;max-width:420px;padding:12px 14px;border-radius:13px;background:#111827;color:#fff;box-shadow:var(--shadow);font-size:11px;animation:toastIn .25s ease}.toast.error{background:#991b1b}.toast.success{background:#166534}@keyframes toastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.mobile-overlay{display:none}
@media(max-width:1250px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.topbar-actions .btn.secondary{display:none}}
@media(max-width:1400px) and (min-width:981px){.topbar-actions .btn.secondary{display:none}.global-search{width:min(280px,23vw)}}
@media(max-width:980px){.login-screen{grid-template-columns:1fr}.login-visual{display:none}.mobile-brand{display:flex}.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:255px;transition:.25s}.sidebar.open{left:0}.mobile-overlay.open{display:block;position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:35}.menu-btn{display:grid}.topbar-actions{flex:1;justify-content:flex-end}.global-search{width:min(330px,46vw)}}
@media(max-width:720px){.login-panel{padding:22px}.page-content{padding:15px}.topbar{padding:14px 15px;align-items:flex-start}.topbar-title h1{font-size:20px}.topbar-actions{width:100%;flex-wrap:wrap}.topbar{flex-direction:column}.global-search{width:100%;order:3}.topbar-actions .btn{flex:1}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-grid,.report-grid,.settings-grid{grid-template-columns:1fr}.toolbar{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.detail-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-form{grid-template-columns:1fr}.file-upload{grid-template-columns:1fr}.modal-backdrop{padding:9px}.modal{max-height:96vh}.stage-stepper{overflow:auto;grid-template-columns:repeat(7,85px);padding-bottom:8px}.login-card h2{font-size:29px}}
@media(max-width:480px){.stats-grid{grid-template-columns:1fr}.topbar-actions .btn.secondary{display:none}.btn{padding:10px 12px}.page-content{padding:12px}.panel{padding:14px}.detail-hero{grid-template-columns:1fr 1fr}}

/* Üretim yükü renk ölçeği ve yenilenmiş sipariş genel görünümü */
.stage-load-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px}.stage-load-row{border:1px solid var(--line);border-left:4px solid var(--load-color);border-radius:14px;padding:12px;background:linear-gradient(135deg,var(--load-soft),#fff 68%);transition:.2s ease}.stage-load-row:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.stage-load-main,.stage-load-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-load-title{display:flex;align-items:center;gap:9px}.stage-load-title>div{display:flex;flex-direction:column;gap:2px}.stage-load-title strong{font-size:11px}.stage-load-title small,.stage-load-footer span{font-size:8px;color:var(--muted)}.stage-load-icon{width:10px;height:10px;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.75)}.load-level{padding:5px 7px;border-radius:999px;color:var(--load-color);background:#fff;border:1px solid var(--load-color);font-size:8px;font-weight:900;white-space:nowrap}.stage-load-meter{height:8px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden;margin:11px 0 7px}.stage-load-meter i{display:block;height:100%;border-radius:inherit;background:var(--load-color)}.stage-load-footer strong{font-size:10px;color:var(--load-color)}.load-legend{display:flex;align-items:center;justify-content:flex-end;gap:13px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.load-legend span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:8px}.load-legend i{width:20px;height:6px;border-radius:99px}.legend-low{background:#16a34a}.legend-mid{background:#f59e0b}.legend-high{background:#dc2626}
.order-detail-drawer{width:min(980px,100%);background:#f7f9fc}.order-detail-head{padding:18px 22px;background:#fff}.order-detail-heading h2{font-size:21px;margin:7px 0 2px}.order-detail-title-line,.order-detail-head-actions{display:flex;align-items:center;gap:8px}.order-detail-number{font-size:10px;letter-spacing:.08em;font-weight:900;color:var(--primary);background:var(--primary-soft);padding:6px 8px;border-radius:8px}.order-detail-body{padding:18px 22px 30px}.order-progress-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:14px;background:linear-gradient(135deg,#111827,#29344a);color:#fff;border-radius:18px;padding:17px 19px;overflow:hidden;box-shadow:0 14px 36px rgba(15,23,42,.18)}.order-progress-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-75px;top:-110px;background:rgba(255,255,255,.06)}.order-progress-copy>span{font-size:8px;letter-spacing:.12em;color:#a5b4fc;font-weight:900}.order-progress-copy>div{display:flex;align-items:baseline;gap:10px;margin-top:6px}.order-progress-copy strong{font-size:20px}.order-progress-copy em{font-size:9px;color:#cbd5e1;font-style:normal}.order-progress-value{text-align:right;z-index:1}.order-progress-value strong{display:block;font-size:22px}.order-progress-value span{font-size:8px;color:#cbd5e1}.order-progress-bar{grid-column:1/-1;height:7px;border-radius:999px;background:rgba(255,255,255,.13);overflow:hidden}.order-progress-bar i{display:block;height:100%;border-radius:inherit}.order-stage-stepper{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px 12px 10px;margin:12px 0 9px}.stage-actions{background:#fff;border:1px solid var(--line);padding:9px 11px;border-radius:13px}.order-detail-tabs{background:#fff;border:1px solid var(--line);border-radius:13px;padding:4px;margin:13px 0}.order-detail-tabs button{flex:1;border-radius:9px;border-bottom:0;padding:9px}.order-detail-tabs button.active{background:var(--primary-soft);border-bottom:0}.order-general-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.general-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow-sm)}.general-card-wide{grid-column:1/-1}.general-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-bottom:12px}.general-card-head>div{display:flex;align-items:center;gap:8px}.general-card-head h3{font-size:13px;margin:0}.general-card-icon{width:30px;height:30px;border-radius:9px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900}.general-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.general-info{padding:10px;border-radius:11px;background:var(--panel-2);border:1px solid #edf1f6}.general-info span,.general-list span{display:block;font-size:8px;color:var(--muted);margin-bottom:4px}.general-info strong,.general-list strong{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.general-list{display:flex;flex-direction:column}.general-list>div{display:grid;grid-template-columns:110px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid var(--line)}.general-list>div:last-child{border-bottom:0}.general-list.compact>div{grid-template-columns:90px 1fr}.due-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:#eff6ff;color:#1d4ed8;margin-bottom:7px}.due-summary span{font-size:11px;font-weight:800}.due-summary strong{font-size:10px}.due-summary.soon{background:#fffbeb;color:#b45309}.due-summary.late{background:#fef2f2;color:#b91c1c}.production-description-card p{font-size:11px;line-height:1.75;color:#475569;margin:0;white-space:pre-wrap}.order-detail-drawer .note-card{background:#fff}
@media(max-width:760px){.stage-load-grid{grid-template-columns:1fr}.order-detail-head{padding:14px 15px}.order-detail-head-actions .btn{display:none}.order-detail-body{padding:13px}.order-progress-card{grid-template-columns:1fr}.order-progress-value{text-align:left}.order-general-grid{grid-template-columns:1fr}.general-card-wide{grid-column:auto}.general-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.general-list>div,.general-list.compact>div{grid-template-columns:90px 1fr}}
@media(max-width:460px){.general-info-grid{grid-template-columns:1fr}.order-progress-copy>div{align-items:flex-start;flex-direction:column;gap:3px}.load-legend{justify-content:flex-start}}

/* v2026.07.24.7 — Modern üretim föyü */
.production-drawer{width:min(1180px,100%)}
.order-form-modal{width:min(1020px,100%)}
.order-form-body{background:#f7f9fc;display:flex;flex-direction:column;gap:14px}
.form-section{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow-sm)}
.form-section-title{display:flex;align-items:center;gap:10px;padding-bottom:13px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.form-section-title>span,.section-number{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--primary);color:#fff;font-size:9px;font-weight:900;flex:0 0 auto}
.form-section-title h3,.sheet-section-head h3{font-size:13px;margin:0;color:var(--text)}
.form-section-title p,.sheet-section-head p{font-size:9px;color:var(--muted);margin:3px 0 0}
.size-form-block{display:grid;grid-template-columns:76px 1fr;gap:12px;align-items:end;padding:11px 0;border-bottom:1px solid var(--line)}
.size-form-block:last-child{border-bottom:0}
.size-form-block>strong{font-size:9px;color:var(--muted);padding-bottom:11px}
.size-input-grid{display:grid;grid-template-columns:repeat(7,minmax(58px,1fr));gap:7px}
.size-input{display:flex;flex-direction:column;gap:5px}
.size-input span{font-size:8px;font-weight:900;color:#667085;text-align:center}
.size-input input{text-align:center;border:1px solid var(--line);border-radius:10px;padding:9px 5px;min-width:0;outline:none}
.size-input input:focus{border-color:#818cf8;box-shadow:0 0 0 3px #eef2ff}
.design-upload-box{border:2px dashed #cbd5e1;border-radius:14px;padding:16px;display:flex;align-items:center;gap:12px;cursor:pointer;background:#f8fafc;transition:.2s}
.design-upload-box:hover{border-color:var(--primary);background:var(--primary-soft)}
.design-upload-box input{display:none}
.design-upload-box>span{width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:18px}
.design-upload-box strong{display:block;font-size:11px}.design-upload-box small{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.remove-image-check{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:10px;color:var(--danger)}

.production-sheet{background:#f4f7fb;border:1px solid #dfe5ee;border-radius:20px;overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.09)}
.sheet-brand-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 20px;background:#fff;border-bottom:1px solid var(--line)}
.sheet-logo{display:flex;align-items:center;gap:11px}.sheet-logo>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;font-size:12px;font-weight:900;box-shadow:0 8px 18px rgba(79,70,229,.2)}
.sheet-logo strong{display:block;font-size:18px;letter-spacing:.02em}.sheet-logo small{display:block;font-size:8px;letter-spacing:.15em;color:var(--muted);margin-top:3px}
.designer-chip{text-align:right;border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:9px 12px;min-width:165px}.designer-chip small{display:block;font-size:7px;color:var(--muted);letter-spacing:.12em}.designer-chip strong{display:block;font-size:10px;margin-top:4px}
.sheet-summary-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr .8fr;background:#fff;border-bottom:1px solid var(--line)}
.sheet-summary-grid>div{padding:13px 15px;border-right:1px solid var(--line);min-width:0}.sheet-summary-grid>div:last-child{border-right:0}.sheet-summary-grid small{display:block;font-size:7px;font-weight:900;letter-spacing:.1em;color:#98a2b3;margin-bottom:5px}.sheet-summary-grid strong{display:block;font-size:10px;line-height:1.35;overflow-wrap:anywhere}.sheet-summary-grid span{display:block;font-size:8px;color:var(--muted);margin-top:4px}.delivery-summary.soon{background:#fffbeb}.delivery-summary.soon strong,.delivery-summary.soon span{color:#b45309}.delivery-summary.late{background:#fef2f2}.delivery-summary.late strong,.delivery-summary.late span{color:#b91c1c}
.sheet-spec-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;padding:14px 16px;background:#f8fafc;border-bottom:1px solid var(--line)}
.sheet-spec-grid>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}.sheet-spec-grid span{display:block;font-size:7px;color:var(--muted);margin-bottom:5px}.sheet-spec-grid strong{font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.size-distribution-card{margin:14px 16px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.sheet-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid var(--line)}.sheet-section-head>div{display:flex;align-items:center;gap:10px}.sheet-section-head.compact{padding:0 0 12px;border-bottom:0}.sheet-section-head.compact .section-number{width:27px;height:27px}
.size-total-badge{font-size:8px;font-weight:900;color:var(--primary);background:var(--primary-soft);padding:6px 8px;border-radius:999px}
.size-table-wrap{overflow:auto}.size-table{width:100%;border-collapse:collapse;min-width:660px}.size-table th,.size-table td{padding:10px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;font-size:9px}.size-table th{background:#f8fafc;color:#475569;font-weight:900}.size-table tbody th{text-align:left;padding-left:14px;color:var(--text)}.size-table .total-cell{background:#eef2ff;color:var(--primary);font-weight:900}.size-table tr:last-child>*{border-bottom:0}.size-table tr>*:last-child{border-right:0}
.child-size-row{display:grid;grid-template-columns:80px repeat(7,minmax(50px,1fr)) 72px;align-items:stretch;border-top:1px solid var(--line);overflow:auto}.child-size-row>strong{display:grid;place-items:center;background:#111827;color:#fff;font-size:8px}.child-size-row>div{padding:8px;text-align:center;border-right:1px solid var(--line)}.child-size-row>div:last-child{border-right:0}.child-size-row span{display:block;font-size:7px;color:var(--muted)}.child-size-row b{display:block;font-size:9px;margin-top:4px}.child-total{background:#eef2ff}.child-total b{color:var(--primary)}
.shipping-banner{margin:0 16px 12px;border-radius:15px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#fff7cc,#facc15);color:#713f12;box-shadow:0 9px 22px rgba(234,179,8,.16)}.shipping-banner small{display:block;font-size:7px;font-weight:900;letter-spacing:.12em}.shipping-banner strong{display:block;font-size:20px;margin-top:3px}.shipping-banner>span{font-size:10px;font-weight:800;text-align:right}.shipping-banner.late{background:linear-gradient(135deg,#fee2e2,#f87171);color:#7f1d1d}.shipping-banner.soon{background:linear-gradient(135deg,#fef3c7,#fbbf24)}
.sheet-order-number{margin:0 16px 12px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 16px;display:flex;align-items:center;gap:11px}.sheet-order-number small{font-size:8px;font-weight:900;color:var(--muted)}.sheet-order-number>strong{font-size:19px;color:#e11d48;margin-right:auto}.sheet-order-number .priority{font-size:8px}
.sheet-production-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);gap:13px;padding:0 16px 14px}.design-preview-card,.production-instructions{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;min-width:0}
.design-preview-frame{height:390px;border:1px solid #e2e8f0;border-radius:14px;display:grid;place-items:center;background:radial-gradient(circle at center,#fff,#f1f5f9);overflow:hidden}.design-preview-frame img{width:100%;height:100%;object-fit:contain;padding:12px}.design-placeholder{text-align:center;color:var(--muted);padding:25px}.design-placeholder>span{display:block;font-size:42px;filter:grayscale(.3)}.design-placeholder strong{display:block;font-size:11px;color:var(--text);margin:10px 0 5px}.design-placeholder small{display:block;font-size:9px;line-height:1.5;margin-bottom:12px}.design-caption{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:9px;color:var(--muted)}.design-caption strong{color:var(--text)}
.production-instructions{display:flex;flex-direction:column;gap:9px}.instruction-card{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:start;border:1px solid var(--line);border-left:4px solid #64748b;border-radius:13px;padding:11px;background:#f8fafc}.instruction-card.cut{border-left-color:#ef4444}.instruction-card.sew{border-left-color:#10b981}.instruction-card.print{border-left-color:#f59e0b}.instruction-icon{width:34px;height:34px;border-radius:10px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:15px}.instruction-card small{font-size:8px;font-weight:900;color:#e11d48;letter-spacing:.08em}.instruction-card p{font-size:10px;line-height:1.55;margin:5px 0 0;white-space:pre-wrap;color:#334155}.destination-card{margin-top:auto;border-radius:13px;padding:13px;background:linear-gradient(135deg,#111827,#334155);color:#fff}.destination-card small{display:block;font-size:7px;letter-spacing:.12em;color:#cbd5e1}.destination-card strong{display:block;font-size:15px;margin:5px 0}.destination-card span{display:block;font-size:8px;color:#cbd5e1;line-height:1.4}
.sheet-description{margin:0 16px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px 15px}.sheet-description strong{display:block;font-size:8px;color:var(--muted);letter-spacing:.1em}.sheet-description p{font-size:10px;line-height:1.65;color:#475569;margin:7px 0 0;white-space:pre-wrap}

@media(max-width:850px){.sheet-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-summary-grid>div:nth-child(2){border-right:0}.sheet-summary-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.sheet-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-production-grid{grid-template-columns:1fr}.design-preview-frame{height:320px}.size-input-grid{grid-template-columns:repeat(4,minmax(58px,1fr))}}
@media(max-width:600px){.production-drawer .order-detail-head-actions .btn.soft{display:none}.sheet-brand-row{align-items:flex-start}.designer-chip{min-width:120px}.sheet-summary-grid{grid-template-columns:1fr}.sheet-summary-grid>div{border-right:0;border-bottom:1px solid var(--line)}.sheet-summary-grid>div:last-child{border-bottom:0}.sheet-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shipping-banner{align-items:flex-start;flex-direction:column}.shipping-banner>span{text-align:left}.sheet-order-number{align-items:flex-start;flex-wrap:wrap}.sheet-order-number>strong{width:100%;order:3}.size-form-block{grid-template-columns:1fr}.size-form-block>strong{padding-bottom:0}.size-input-grid{grid-template-columns:repeat(3,minmax(58px,1fr))}.design-preview-frame{height:260px}.sheet-production-grid{padding-inline:10px}.size-distribution-card,.shipping-banner,.sheet-order-number,.sheet-description{margin-left:10px;margin-right:10px}}

@media print{
  body.print-production-sheet{background:#fff;margin:0;padding:0}.print-production-sheet .production-sheet{box-shadow:none;border:0;border-radius:0}.print-production-sheet .design-preview-frame{height:390px}.print-production-sheet .btn{display:none!important}
  @page{size:A4 landscape;margin:8mm}
}

/* ===== WEN SPORT MODERN UI v5 ===== */
:root{--bg:#f2f5fa;--panel:#fff;--text:#142033;--muted:#657188;--line:#e3e9f1;--radius:20px;--shadow-sm:0 8px 24px rgba(20,32,51,.06);--shadow:0 20px 60px rgba(20,32,51,.13)}
body{background:linear-gradient(180deg,#f7f9fc 0,#f1f4f9 100%);font-size:14px}
.sidebar{background:linear-gradient(180deg,#0b1220 0%,#111c30 100%);padding:22px 14px;box-shadow:16px 0 40px rgba(15,23,42,.08)}
.brand{border-bottom-color:rgba(255,255,255,.1);padding:0 8px 20px}.brand-logo{border-radius:16px;background:linear-gradient(135deg,#6366f1,#2563eb);box-shadow:0 10px 30px rgba(37,99,235,.35)}
.main-nav button{min-height:44px;border-radius:13px;padding:11px 13px;font-size:13px}.main-nav button.active{background:linear-gradient(135deg,rgba(99,102,241,.28),rgba(37,99,235,.18));box-shadow:inset 0 0 0 1px rgba(165,180,252,.15)}
.topbar{padding:18px 28px;background:rgba(247,249,252,.88);border-bottom:1px solid rgba(226,232,240,.85)}.topbar-title h1{font-size:27px}.page-content{padding:24px 28px 42px;max-width:1900px;width:100%;margin:auto}
.btn{border-radius:12px;min-height:40px}.btn.primary{background:linear-gradient(135deg,#4f46e5,#2563eb);box-shadow:0 10px 24px rgba(79,70,229,.22)}.btn.secondary:hover,.icon-btn:hover{border-color:#c7d2fe;background:#f8faff}
.global-search{height:44px;border-radius:14px;box-shadow:0 5px 18px rgba(20,32,51,.04)}
.stats-grid{gap:15px}.stat-card{position:relative;overflow:hidden;padding:19px;border-radius:19px;transition:.2s}.stat-card:after{content:"";position:absolute;right:-22px;bottom:-35px;width:100px;height:100px;border-radius:50%;background:var(--primary-soft)}.stat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.stat-head,.stat-value,.stat-foot{position:relative;z-index:1}.stat-value{font-size:31px}
.panel,.data-card,.customer-card,.settings-card{border-color:#e4eaf2;box-shadow:0 10px 34px rgba(20,32,51,.055)}.panel{border-radius:20px}.panel-head h2{font-size:17px}
.stage-load-row{border-radius:15px!important;transition:.2s}.stage-load-row:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(20,32,51,.08)}
.kanban-toolbar{position:sticky;top:82px;z-index:20;background:rgba(247,249,252,.94);backdrop-filter:blur(14px);padding:12px 0}.kanban-summary{display:block;margin-top:8px;color:var(--muted);font-weight:700}.density-switch{display:flex;padding:3px;background:#e9eef6;border-radius:11px}.density-switch button{border:0;background:transparent;padding:7px 10px;border-radius:8px;color:var(--muted);font-size:10px;font-weight:900}.density-switch button.active{background:#fff;color:var(--primary);box-shadow:0 3px 10px rgba(20,32,51,.1)}.drag-tip{font-size:10px;color:var(--muted);font-weight:700}
.board-wrap{scrollbar-color:#bac5d5 transparent;scrollbar-width:thin}.kanban-board{gap:14px;grid-template-columns:repeat(7,minmax(300px,1fr));min-width:2185px}.kanban-column{position:relative;background:#eef2f7;border:0;border-radius:20px;padding:11px;min-height:650px;box-shadow:inset 0 0 0 1px #e2e8f0}.kanban-column:before{content:"";position:absolute;left:15px;right:15px;top:0;height:3px;background:var(--column-color);border-radius:0 0 999px 999px}.column-head{padding:8px 5px 13px}.column-title>div{display:flex;flex-direction:column;gap:3px}.column-title strong{font-size:13px}.column-title small{font-size:9px;color:var(--muted);font-weight:700}.column-count{background:#fff;color:var(--text);font-size:11px;box-shadow:0 4px 12px rgba(20,32,51,.06)}
.order-card{position:relative;overflow:hidden;border:0;border-radius:17px;padding:14px 14px 13px;box-shadow:0 5px 18px rgba(20,32,51,.075)}.order-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--stage-color)}.order-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(20,32,51,.13)}.order-card.is-late{box-shadow:inset 0 0 0 1px #fecaca,0 5px 18px rgba(220,38,38,.08)}.order-card.is-urgent:after{content:"ACİL";position:absolute;right:-29px;top:12px;transform:rotate(45deg);width:90px;text-align:center;background:#dc2626;color:#fff;font-size:8px;font-weight:900;padding:3px}.card-stage-line{display:flex;align-items:center;gap:6px;margin-top:9px;color:var(--muted);font-size:9px;font-weight:800}.card-stage-line span{width:7px;height:7px;border-radius:50%}.order-customer{font-size:15px;margin-top:8px}.order-product{font-size:11px}.meta-box{background:#f6f8fb;border:1px solid #edf1f5}.due-pill{padding:6px 8px;background:#f2f5f9;border-radius:999px;font-weight:800}.due-pill.late-text{background:#fff0f0}.progress-line{height:5px}.assignee-badge{border-radius:50%;box-shadow:0 4px 10px rgba(15,23,42,.2)}.empty-column{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:rgba(255,255,255,.45);border-color:#cbd5e1}.empty-column b{color:#64748b}.empty-column span{font-size:9px}
.compact-board .kanban-board{grid-template-columns:repeat(7,minmax(250px,1fr));min-width:1835px}.compact-board .order-card{padding:10px 11px}.compact-board .card-meta{display:none}.compact-board .order-customer{font-size:13px}.compact-board .kanban-column{min-height:560px}
.drawer-backdrop{background:rgba(10,18,32,.62);backdrop-filter:blur(3px)}.production-drawer{width:min(1180px,96vw);background:#f5f7fb}.order-detail-head{padding:18px 22px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}.order-detail-heading h2{font-size:22px!important}.order-detail-number{font-size:12px!important}.order-detail-head-actions{display:flex;gap:8px;align-items:center}.order-detail-body{padding:20px 22px 34px}.order-progress-card{border-radius:18px!important;box-shadow:0 9px 28px rgba(20,32,51,.07)}.order-stage-stepper{background:#fff;border:1px solid var(--line);padding:16px 13px 12px;border-radius:17px}.stage-actions{margin:10px 0 4px}.order-detail-tabs{position:sticky;top:85px;z-index:4;background:#f5f7fb;padding-top:8px}.order-detail-tabs button{font-size:12px;padding:12px 16px}
.production-sheet{background:#f6f8fc;border:0;border-radius:22px;box-shadow:0 18px 55px rgba(20,32,51,.10)}.sheet-brand-row{padding:20px 22px}.sheet-logo>span{width:48px;height:48px;border-radius:15px}.sheet-logo strong{font-size:21px}.designer-chip{padding:11px 14px;border-radius:14px}.sheet-summary-grid>div{padding:16px 17px}.sheet-summary-grid small,.sheet-spec-grid span{font-size:8px}.sheet-summary-grid strong{font-size:12px}.sheet-summary-grid span{font-size:9px}.sheet-spec-grid{padding:15px 18px;gap:10px}.sheet-spec-grid>div{padding:12px;border-radius:14px;box-shadow:0 4px 14px rgba(20,32,51,.035)}.sheet-spec-grid strong{font-size:10px}.size-distribution-card{margin:16px 18px;border-radius:18px}.sheet-section-head{padding:15px 16px}.sheet-section-head h3{font-size:14px!important}.size-table th,.size-table td{padding:12px 9px;font-size:10px}.shipping-banner{margin:0 18px 14px;padding:17px 19px;border-radius:17px}.shipping-banner strong{font-size:23px}.sheet-order-number{margin:0 18px 14px;padding:15px 18px}.sheet-order-number>strong{font-size:22px}.sheet-production-grid{padding:0 18px 16px;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:15px}.design-preview-card,.production-instructions{border-radius:18px;padding:16px}.design-preview-frame{height:440px;border-radius:16px;background:linear-gradient(145deg,#fff,#edf2f8)}.instruction-card{border-radius:15px;padding:13px}.instruction-card p{font-size:11px}.destination-card{border-radius:15px;padding:15px}.sheet-description{margin:0 18px 18px;padding:15px 17px;border-radius:16px}.sheet-description p{font-size:11px}
.modal{border-radius:24px}.modal-head{position:sticky;top:0;background:#fff;z-index:4}.form-section{border-radius:16px!important}.field input,.field select,.field textarea{min-height:44px}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.production-drawer{width:100vw}.sheet-production-grid{grid-template-columns:1fr}.design-preview-frame{height:360px}}
@media(max-width:760px){.page-content{padding:16px}.topbar{padding:14px 16px}.topbar-actions{width:100%;overflow:auto;padding-bottom:3px}.kanban-toolbar{top:70px;align-items:flex-start}.toolbar-right{width:100%;justify-content:space-between}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-head{flex-direction:column}.order-detail-head-actions{width:100%}.order-detail-head-actions .btn{flex:1}.order-detail-body{padding:14px}.order-detail-tabs{top:133px}.sheet-summary-grid{grid-template-columns:1fr 1fr}.sheet-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.design-preview-frame{height:300px}}
@media(max-width:500px){.stats-grid{grid-template-columns:1fr}.topbar-title h1{font-size:22px}.quickCustomerBtn{display:none}.sheet-summary-grid{grid-template-columns:1fr}.sheet-spec-grid{grid-template-columns:1fr 1fr}.production-drawer{width:100%}.order-detail-head-actions .btn.soft{display:none}.design-preview-frame{height:250px}.sheet-production-grid{padding-left:10px;padding-right:10px}.size-distribution-card,.shipping-banner,.sheet-order-number,.sheet-description{margin-left:10px;margin-right:10px}}
.delivery-panel{margin-top:14px;padding:22px;overflow:hidden}.delivery-panel-head{align-items:flex-start;margin-bottom:17px}.delivery-panel-head h2{font-size:21px;margin-top:5px}.delivery-panel-head p{font-size:12px;line-height:1.55;max-width:700px}.panel-kicker{display:inline-flex;align-items:center;gap:6px;font-size:9px;letter-spacing:.13em;font-weight:900;color:var(--primary);background:var(--primary-soft);border-radius:999px;padding:6px 9px}.heat-legend,.chart-legend{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted);flex-wrap:wrap}.heat-legend{justify-content:flex-end;background:var(--panel-2);border:1px solid var(--line);padding:8px 10px;border-radius:12px}.heat-legend i,.chart-legend i{width:17px;height:10px;border-radius:4px}.heat-legend .level-0{background:#eef2f7;border:1px solid #dce3ec}.heat-cell.level-1,.heat-legend .level-1{background:#dcfce7}.heat-cell.level-2,.heat-legend .level-2{background:#86efac}.heat-cell.level-3,.heat-legend .level-3{background:#fbbf24;color:#713f12}.heat-cell.level-4,.heat-legend .level-4{background:#ef4444;color:#fff}.delivery-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}.delivery-overview>div{background:linear-gradient(145deg,#fbfcff,#f4f7fb);border:1px solid var(--line);border-radius:14px;padding:13px 15px;min-width:0}.delivery-overview span{display:block;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.delivery-overview strong{display:block;margin-top:5px;font-size:17px;letter-spacing:-.03em}.delivery-overview small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.delivery-calendar-shell{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px;overflow-x:auto}.delivery-month-row{min-width:910px;display:grid;grid-template-columns:44px repeat(12,minmax(66px,1fr));gap:7px;margin-bottom:7px}.delivery-month-row span{font-size:10px;font-weight:900;color:#475569;padding-left:3px}.delivery-calendar-body{min-width:910px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:7px}.weekday-labels{display:grid;grid-template-rows:repeat(7,58px);gap:7px}.weekday-labels span{display:flex;align-items:center;font-size:9px;font-weight:800;color:#8490a4}.delivery-heatmap{display:grid;grid-template-rows:repeat(7,58px);grid-auto-flow:column;grid-auto-columns:minmax(66px,1fr);gap:7px}.heat-cell{position:relative;border:1px solid transparent;border-radius:11px;background:#eef2f7;color:#64748b;padding:6px 7px;text-align:left;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;align-items:center;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;min-width:0}.heat-cell:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(27,39,66,.14);border-color:rgba(79,70,229,.35);z-index:2}.heat-cell:focus-visible{outline:3px solid rgba(79,70,229,.25);outline-offset:2px}.heat-cell.selected{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--primary),0 10px 24px rgba(79,70,229,.22);z-index:3}.heat-cell.today:after{content:"BUGÜN";position:absolute;right:5px;top:4px;font-size:6px;letter-spacing:.04em;font-weight:900;background:#111827;color:#fff;border-radius:999px;padding:3px 4px}.heat-cell.past{opacity:.77}.heat-cell.future{opacity:1}.heat-cell.weekend.level-0{background:#f7f8fb}.heat-day{font-size:10px;font-weight:900;align-self:start}.heat-cell strong{grid-column:1/-1;display:block;font-size:17px;letter-spacing:-.05em;align-self:end}.heat-cell em{grid-column:1/-1;font-style:normal;font-size:15px;font-weight:900;opacity:.45;align-self:end}.heat-cell small{grid-column:1/-1;font-size:7px;font-weight:800;opacity:.78;align-self:end}.delivery-help{display:flex;align-items:center;gap:8px;margin:12px 2px 0;color:var(--muted);font-size:10px}.delivery-help span{background:#111827;color:#fff;border-radius:999px;padding:5px 8px;font-weight:800}.delivery-date-details{margin-top:13px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(27,39,66,.05)}.delivery-date-details.empty{min-height:102px;padding:20px;display:flex;align-items:center;justify-content:center;gap:13px;background:linear-gradient(145deg,#fbfcff,#f7f9fd);border-style:dashed}.delivery-empty-icon{width:42px;height:42px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-size:20px;font-weight:900}.delivery-date-details.empty strong{font-size:12px}.delivery-date-details.empty p{margin:4px 0 0;color:var(--muted);font-size:10px}.selected-delivery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;background:linear-gradient(135deg,#111827,#263449);color:#fff}.selected-delivery-head>div>span{display:block;color:#a5b4fc;font-size:8px;font-weight:900;letter-spacing:.13em}.selected-delivery-head h3{font-size:20px;margin:5px 0 2px;letter-spacing:-.03em}.selected-delivery-head p{margin:0;color:#cbd5e1;font-size:10px}.selected-delivery-summary{display:flex;gap:8px}.selected-delivery-summary>div,.selected-delivery-kpis{min-width:75px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.08);padding:9px 11px;border-radius:12px;text-align:center}.selected-delivery-summary strong,.selected-delivery-kpis strong{display:block;font-size:18px}.selected-delivery-summary small,.selected-delivery-kpis small{display:block;color:#cbd5e1;font-size:8px;margin-top:2px}.delivery-order-list{display:flex;flex-direction:column}.delivery-order-row{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;padding:12px 14px;display:grid;grid-template-columns:110px minmax(0,1fr) 62px 70px 70px;gap:12px;align-items:center;text-align:left;color:var(--text);transition:.16s}.delivery-order-row:last-child{border-bottom:0}.delivery-order-row:hover{background:#f8faff}.delivery-order-stage{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900}.delivery-order-stage i{width:9px;height:9px;border-radius:50%;background:var(--delivery-stage);box-shadow:0 0 0 4px color-mix(in srgb,var(--delivery-stage) 15%,white)}.delivery-order-main{min-width:0}.delivery-order-main strong,.delivery-order-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-order-main strong{font-size:11px}.delivery-order-main small{font-size:9px;color:var(--muted);margin-top:4px}.delivery-order-quantity{text-align:center}.delivery-order-quantity strong{display:block;font-size:15px}.delivery-order-quantity small{display:block;font-size:8px;color:var(--muted)}.delivery-order-open{font-size:9px;font-weight:800;color:var(--primary);text-align:right}.delivery-no-orders{padding:26px;text-align:center;color:var(--muted);font-size:11px}.delivery-loading{min-height:96px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:10px}.delivery-loading span{width:20px;height:20px;border:3px solid #dce3ec;border-top-color:var(--primary);border-radius:50%;animation:delivery-spin .7s linear infinite}@keyframes delivery-spin{to{transform:rotate(360deg)}}.report-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.monthly-production-panel{margin-bottom:14px}.monthly-chart{height:300px;display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));gap:8px;align-items:end;overflow-x:auto;padding:30px 8px 0;border-bottom:1px solid var(--line)}.month-group{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:44px}.month-bars{height:230px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:5px}.month-bars i{width:15px;min-height:2px;border-radius:6px 6px 2px 2px}.month-bars .designed,.chart-legend i.designed{background:#8b5cf6}.month-bars .sewn,.chart-legend i.sewn{background:#10b981}.month-group strong{font-size:9px;margin-top:5px}.month-group span{font-size:9px;color:var(--muted);margin-top:3px}.report-year{display:flex;align-items:center;gap:9px}.report-year label{font-size:11px;font-weight:800;color:var(--muted)}
.report-command{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;background:linear-gradient(135deg,#111827,#24324a);color:#fff;border-radius:20px;padding:21px 22px;margin-bottom:14px;box-shadow:var(--shadow)}.report-command h2{margin:5px 0 4px;font-size:22px}.report-command p{margin:0;color:#cbd5e1;font-size:11px}.report-command .eyebrow{color:#a5b4fc}.report-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.report-period-tabs{display:flex;gap:4px;padding:4px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:12px}.report-period-tabs button{border:0;background:transparent;color:#cbd5e1;padding:8px 10px;border-radius:9px;font-size:10px;font-weight:800;cursor:pointer}.report-period-tabs button.active{background:#fff;color:#111827}.report-date-nav{display:flex;align-items:center;gap:5px}.report-date-nav input{height:34px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:#fff;border-radius:9px;padding:0 8px;font-weight:700;color-scheme:dark}.report-date-nav .btn{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.08)}.report-kpis-six{grid-template-columns:repeat(3,minmax(0,1fr))}.report-trend-chart{grid-template-columns:repeat(var(--report-columns),minmax(44px,1fr))}.month-bars .new-orders,.chart-legend i.new-orders{background:#2563eb}.report-shortages{grid-column:1/-1}.v12-report-quality{margin-top:14px}
@media(max-width:900px){.delivery-panel-head{flex-direction:column}.heat-legend{justify-content:flex-start}.delivery-overview{grid-template-columns:1fr 1fr}.delivery-overview>div:last-child{grid-column:1/-1}.delivery-order-row{grid-template-columns:95px minmax(0,1fr) 55px 65px}.delivery-order-open{display:none}}
@media(max-width:760px){.report-kpis{grid-template-columns:1fr}.monthly-chart{grid-template-columns:repeat(12,52px)}.delivery-panel{padding:15px}.delivery-overview{grid-template-columns:1fr}.delivery-overview>div:last-child{grid-column:auto}.delivery-calendar-shell{margin-left:-2px;margin-right:-2px}.selected-delivery-head{align-items:flex-start;flex-direction:column}.delivery-order-row{grid-template-columns:1fr 54px;gap:8px}.delivery-order-stage{grid-column:1}.delivery-order-main{grid-column:1}.delivery-order-quantity{grid-column:2;grid-row:1/3}.delivery-order-row>.priority{display:none}.delivery-help{align-items:flex-start;line-height:1.45}}
@media(max-width:760px){.report-command{align-items:stretch;flex-direction:column;padding:17px}.report-command h2{font-size:18px}.report-controls{justify-content:flex-start}.report-period-tabs{width:100%;overflow-x:auto}.report-period-tabs button{flex:1;white-space:nowrap}.report-date-nav{width:100%}.report-date-nav input{flex:1;min-width:0}.report-controls>.btn.primary{width:100%}.report-kpis-six{grid-template-columns:repeat(2,minmax(0,1fr))}.report-trend-chart{grid-template-columns:repeat(var(--report-columns),52px)}}
@media(max-width:480px){.delivery-month-row,.delivery-calendar-body{min-width:830px}.delivery-month-row{grid-template-columns:38px repeat(12,minmax(60px,1fr))}.delivery-calendar-body{grid-template-columns:38px minmax(0,1fr)}.delivery-heatmap{grid-auto-columns:minmax(60px,1fr)}.delivery-panel-head h2{font-size:18px}}

/* v2026.07.24.8 — Kullanıcı yetkileri, kişisel pano ve geri gönderme açıklaması */
.own-board-toggle{display:flex;align-items:center;gap:9px;border:1px solid #cbd5e1;background:#fff;color:var(--text);border-radius:13px;padding:7px 10px;text-align:left;min-width:155px;transition:.18s}.own-board-toggle:hover{border-color:#818cf8;background:#f8faff}.own-board-toggle>span{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;background:#eef2ff;color:var(--primary);font-weight:900}.own-board-toggle strong,.own-board-toggle small{display:block}.own-board-toggle strong{font-size:10px}.own-board-toggle small{font-size:8px;color:var(--muted);margin-top:2px}.own-board-toggle.active{background:linear-gradient(135deg,#4338ca,#2563eb);border-color:transparent;color:#fff;box-shadow:0 8px 20px rgba(79,70,229,.24)}.own-board-toggle.active>span{background:rgba(255,255,255,.16);color:#fff}.own-board-toggle.active small{color:#dbeafe}.empty-permission{min-height:220px;display:grid;place-content:center;text-align:center}.empty-permission p{color:var(--muted);font-size:11px}
.backward-note-modal{width:min(590px,100%)}.backward-warning{display:flex;align-items:flex-start;gap:12px;border:1px solid #fecaca;background:#fff7f7;border-radius:14px;padding:13px;margin-bottom:14px}.backward-warning>span{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#dc2626;color:#fff;font-size:17px;font-weight:900;flex:0 0 auto}.backward-warning strong{font-size:11px;color:#991b1b}.backward-warning p{margin:4px 0 0;color:#7f1d1d;font-size:9px;line-height:1.55}.backward-note-modal textarea{min-height:125px}.backward-note-modal .field small{font-size:8px;color:var(--muted)}.stage-permission-info{border:1px dashed #cbd5e1;background:#f8fafc;color:var(--muted);padding:10px 12px;border-radius:12px;font-size:10px;text-align:center;margin:10px 0}
.user-table{min-width:1040px}.user-name-cell{display:flex;align-items:center;gap:10px}.user-name-cell>span{width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,#334155,#111827);display:grid;place-items:center;color:#fff;font-size:9px;font-weight:900;flex:0 0 auto}.permission-badges{display:flex;gap:5px;flex-wrap:wrap;max-width:360px}.permission-badges span{font-size:8px;font-weight:800;padding:5px 7px;border-radius:999px;background:#eef2ff;color:#4338ca;border:1px solid #dbe3ff}.permission-badges.stages span{background:color-mix(in srgb,var(--badge-color) 11%,white);color:color-mix(in srgb,var(--badge-color) 80%,black);border-color:color-mix(in srgb,var(--badge-color) 25%,white)}.permission-badges em{font-style:normal;color:var(--muted);font-size:9px}
.user-permission-modal{width:min(980px,100%)}.user-permission-body{background:#f7f9fc;display:flex;flex-direction:column;gap:14px}.permission-section{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;box-shadow:var(--shadow-sm);transition:.18s}.permission-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--line)}.permission-section-title>span{width:30px;height:30px;border-radius:9px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}.permission-section-title h3{font-size:13px;margin:0}.permission-section-title p{font-size:9px;color:var(--muted);margin:3px 0 0}.permission-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.permission-choice,.stage-permission-choice{position:relative;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px;padding:11px;cursor:pointer;background:#fff;transition:.18s;min-width:0}.permission-choice:hover,.stage-permission-choice:hover{border-color:#a5b4fc;background:#fafbff;transform:translateY(-1px)}.permission-choice input,.stage-permission-choice input{position:absolute;opacity:0;pointer-events:none}.permission-choice-icon{width:35px;height:35px;border-radius:10px;background:#f1f5f9;display:grid;place-items:center;font-size:16px;flex:0 0 auto}.permission-choice div,.stage-permission-choice div{min-width:0}.permission-choice strong,.permission-choice small,.stage-permission-choice strong,.stage-permission-choice small{display:block}.permission-choice strong,.stage-permission-choice strong{font-size:10px}.permission-choice small,.stage-permission-choice small{font-size:8px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.permission-choice>i,.stage-permission-choice>i{margin-left:auto;width:21px;height:21px;border-radius:7px;border:1px solid #cbd5e1;display:grid;place-items:center;color:transparent;font-size:10px;font-style:normal}.permission-choice:has(input:checked),.stage-permission-choice:has(input:checked){border-color:#818cf8;background:#f4f5ff;box-shadow:0 0 0 2px #eef2ff}.permission-choice:has(input:checked)>i,.stage-permission-choice:has(input:checked)>i{background:var(--primary);border-color:var(--primary);color:#fff}.permission-choice:has(input:checked) .permission-choice-icon{background:#e0e7ff;color:#4338ca}.stage-permission-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stage-permission-choice>span{width:10px;height:38px;border-radius:999px;background:var(--stage-color);flex:0 0 auto}.stage-permission-choice:has(input:checked){border-color:color-mix(in srgb,var(--stage-color) 55%,white);background:color-mix(in srgb,var(--stage-color) 7%,white);box-shadow:0 0 0 2px color-mix(in srgb,var(--stage-color) 12%,white)}.stage-permission-choice:has(input:checked)>i{background:var(--stage-color);border-color:var(--stage-color)}.primary-stage-field{margin-top:13px;max-width:420px}.primary-stage-field small{display:block;margin-top:5px;font-size:8px;color:var(--muted)}.permission-disabled{opacity:.48;pointer-events:none;filter:grayscale(.2)}.admin-permission-notice{display:flex;align-items:flex-start;gap:12px;background:linear-gradient(135deg,#111827,#334155);color:#fff;border-radius:16px;padding:15px}.admin-permission-notice>span{width:38px;height:38px;border-radius:11px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:18px}.admin-permission-notice strong{font-size:11px}.admin-permission-notice p{font-size:9px;color:#cbd5e1;margin:4px 0 0}.hidden{display:none!important}
@media(max-width:900px){.permission-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-toolbar{align-items:flex-start;flex-direction:column}.kanban-toolbar .toolbar-right{width:100%;justify-content:space-between}}
@media(max-width:580px){.permission-choice-grid,.stage-permission-grid{grid-template-columns:1fr}.own-board-toggle{min-width:0;flex:1}.kanban-toolbar .toolbar-right{flex-wrap:wrap}.density-switch{order:3}.user-permission-modal .modal-body{padding:12px}.permission-section{padding:12px}}

/* v2026.07.24.9 — Birime aktarılan işler için canlı bildirim merkezi */
.notification-center{position:relative;display:flex;align-items:center;flex:0 0 auto}.notification-btn{position:relative;width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:#fff;color:#475569;display:grid;place-items:center;transition:.18s;box-shadow:0 4px 14px rgba(27,39,66,.04)}.notification-btn:hover,.notification-btn.active{border-color:#a5b4fc;background:#f8faff;color:var(--primary);transform:translateY(-1px)}.notification-bell{font-size:18px;line-height:1}.notification-btn.has-unread .notification-bell{animation:notification-ring .8s ease-in-out 1}.notification-badge{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 5px;border:2px solid var(--bg);border-radius:999px;background:#dc2626;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;box-shadow:0 5px 12px rgba(220,38,38,.28)}@keyframes notification-ring{0%,100%{transform:rotate(0)}25%{transform:rotate(-14deg)}50%{transform:rotate(12deg)}75%{transform:rotate(-7deg)}}
.notification-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(410px,calc(100vw - 28px));max-height:min(570px,calc(100vh - 95px));display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5ee;border-radius:20px;box-shadow:0 28px 80px rgba(15,23,42,.22);overflow:hidden;z-index:100}.notification-panel:before{content:"";position:absolute;right:15px;top:-7px;width:14px;height:14px;background:#fff;border-left:1px solid #dfe5ee;border-top:1px solid #dfe5ee;transform:rotate(45deg)}.notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px 13px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfcff)}.notification-panel-head strong,.notification-panel-head small{display:block}.notification-panel-head strong{font-size:14px}.notification-panel-head small{font-size:9px;color:var(--muted);margin-top:3px}.notification-panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap}.notification-panel-head button{border:0;background:transparent;color:var(--primary);font-size:9px;font-weight:900;padding:6px;border-radius:8px}.notification-panel-head button:hover{background:var(--primary-soft)}.notification-panel-head .notification-clear-all{color:#dc2626;background:#fff1f2}.notification-panel-head .notification-clear-all:hover{background:#ffe4e6}.notification-panel-head button:disabled{opacity:.42;cursor:default;background:transparent}.notification-list{overflow:auto;min-height:130px;max-height:440px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.notification-loading{padding:38px 18px;text-align:center;color:var(--muted);font-size:10px}.notification-empty{min-height:190px;padding:32px 22px;display:grid;place-items:center;text-align:center;align-content:center}.notification-empty>span{width:44px;height:44px;border-radius:14px;background:var(--success-soft);color:var(--success);display:grid;place-items:center;font-size:19px;font-weight:900;margin-bottom:10px}.notification-empty strong{font-size:12px}.notification-empty p{font-size:9px;line-height:1.55;color:var(--muted);margin:5px 0 0}.notification-item{position:relative;width:100%;border:0;border-bottom:1px solid #eef1f5;background:#fff;padding:13px 15px;display:grid;grid-template-columns:39px minmax(0,1fr) 9px;gap:11px;align-items:start;text-align:left;color:var(--text);transition:.16s}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#f8faff}.notification-item.unread{background:linear-gradient(90deg,color-mix(in srgb,var(--notification-stage) 7%,white),#fff 72%)}.notification-item.unread:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--notification-stage)}.notification-stage-icon{width:39px;height:39px;border-radius:12px;background:color-mix(in srgb,var(--notification-stage) 13%,white);color:color-mix(in srgb,var(--notification-stage) 78%,black);display:grid;place-items:center;font-size:9px;font-weight:900;border:1px solid color-mix(in srgb,var(--notification-stage) 22%,white)}.notification-copy{min-width:0}.notification-copy strong{display:block;font-size:10px;line-height:1.35}.notification-copy p{font-size:9px;line-height:1.5;color:#526077;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-copy small{display:block;font-size:8px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-unread-dot{width:8px;height:8px;border-radius:50%;background:var(--notification-stage);margin-top:5px;box-shadow:0 0 0 4px color-mix(in srgb,var(--notification-stage) 12%,transparent)}.notification-permission{border:0;border-top:1px solid var(--line);background:#f8fafc;color:var(--primary);padding:11px 15px;font-size:9px;font-weight:900;text-align:center}.notification-permission:hover{background:#eef2ff}
@media(max-width:760px){.notification-panel{position:fixed;left:12px;right:12px;top:72px;width:auto;max-height:calc(100vh - 88px)}.notification-panel:before{display:none}.notification-btn{width:40px;height:40px}.topbar-actions .global-search{min-width:220px}}
@media(max-width:500px){.notification-panel{left:8px;right:8px;top:68px;border-radius:17px}.notification-item{padding:12px;grid-template-columns:36px minmax(0,1fr) 8px}.notification-stage-icon{width:36px;height:36px}.notification-panel-head{align-items:flex-start;padding:14px 13px 12px}.notification-panel-actions{max-width:190px}.notification-panel-head button{font-size:8px;padding:6px 5px}}


/* v2026.07.24.10 — Admin siparişe özel pano bildirimi */
.special-notification-btn{border:1px solid #ddd6fe!important;background:linear-gradient(135deg,#faf5ff,#f3e8ff)!important;color:#6d28d9!important;box-shadow:0 7px 18px rgba(124,58,237,.1)}.special-notification-btn:hover{border-color:#a78bfa!important;background:linear-gradient(135deg,#f5f3ff,#ede9fe)!important;transform:translateY(-1px)}
.special-notification-modal{width:min(880px,100%)}.special-notification-body{background:#f7f8fc;display:flex;flex-direction:column;gap:14px}.notification-order-preview{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#171129,#312e81);color:#fff;border-radius:17px;padding:15px 17px;box-shadow:0 14px 32px rgba(49,46,129,.17)}.notification-order-symbol{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:20px;color:#ddd6fe;flex:0 0 auto}.notification-order-preview small,.notification-order-preview strong,.notification-order-preview p{display:block}.notification-order-preview small{font-size:7px;letter-spacing:.14em;color:#c4b5fd;font-weight:900}.notification-order-preview strong{font-size:13px;margin-top:4px}.notification-order-preview p{font-size:9px;color:#dbeafe;margin:4px 0 0}.special-notification-fields{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.special-notification-fields .field small{font-size:8px;color:var(--muted);margin-top:4px}.special-recipient-section{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.special-recipient-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line)}.special-recipient-head strong,.special-recipient-head small{display:block}.special-recipient-head strong{font-size:11px}.special-recipient-head small{font-size:8px;color:var(--muted);margin-top:3px}.select-all-recipients{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:800;color:#5b21b6;cursor:pointer}.select-all-recipients input{accent-color:#7c3aed}.special-recipient-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;max-height:290px;overflow:auto}.special-recipient-card{position:relative;display:grid;grid-template-columns:39px minmax(0,1fr) 22px;align-items:center;gap:10px;border:1px solid var(--line);border-radius:13px;padding:10px;background:#fff;cursor:pointer;transition:.17s}.special-recipient-card:hover{border-color:#c4b5fd;background:#fcfaff}.special-recipient-card>input{position:absolute;opacity:0;pointer-events:none}.special-recipient-avatar{width:39px;height:39px;border-radius:12px;background:#f3e8ff;color:#6d28d9;border:1px solid #e9d5ff;display:grid;place-items:center;font-size:9px;font-weight:900}.special-recipient-card div{min-width:0}.special-recipient-card strong,.special-recipient-card small,.special-recipient-card em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.special-recipient-card strong{font-size:10px}.special-recipient-card small{font-size:8px;color:var(--muted);margin-top:2px}.special-recipient-card em{font-size:7px;color:#7c3aed;font-style:normal;margin-top:4px}.special-recipient-card>i{width:21px;height:21px;border-radius:7px;border:1px solid #d8dee8;display:grid;place-items:center;color:transparent;font-size:9px;font-style:normal}.special-recipient-card:has(input:checked){border-color:#a78bfa;background:#faf7ff;box-shadow:0 0 0 2px #f3e8ff}.special-recipient-card:has(input:checked)>i{background:#7c3aed;border-color:#7c3aed;color:#fff}.special-recipient-empty{grid-column:1/-1;display:flex;align-items:flex-start;gap:11px;padding:18px;border:1px dashed #d8dee8;border-radius:13px;background:#f8fafc}.special-recipient-empty>span{width:34px;height:34px;border-radius:10px;background:#fef3c7;color:#b45309;display:grid;place-items:center;font-weight:900}.special-recipient-empty strong{font-size:10px}.special-recipient-empty p{font-size:8px;color:var(--muted);margin:4px 0 0;line-height:1.5}.special-message-field{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.message-counter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}.message-counter span,.message-counter b{font-size:8px}.message-counter span{color:var(--muted)}.message-counter b{color:#7c3aed}.special-send-btn{background:linear-gradient(135deg,#7c3aed,#4f46e5)!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(124,58,237,.22)}.special-send-btn:hover{transform:translateY(-1px);filter:brightness(.98)}.special-send-btn:disabled{opacity:.55;cursor:wait;transform:none}.notification-item.special .notification-stage-icon{font-size:16px;background:#f3e8ff;color:#7c3aed;border-color:#ddd6fe}.notification-item.special.unread{background:linear-gradient(90deg,#faf5ff,#fff 72%)}
@media(max-width:700px){.special-recipient-grid{grid-template-columns:1fr}.special-notification-fields{grid-template-columns:1fr}.notification-order-preview{align-items:flex-start}.special-recipient-head{align-items:flex-start;flex-direction:column}.order-detail-head-actions .special-notification-btn{order:-1}}

.quantity-input-row{display:flex;gap:8px;align-items:center}.quantity-input-row input{min-width:0;flex:1}.quantity-input-row .btn{white-space:nowrap}.quantity-field small{color:var(--muted);line-height:1.4}
@media(max-width:600px){.quantity-input-row{align-items:stretch;flex-direction:column}}

/* ===== v12 Deneme Modülleri ===== */
.v12-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:var(--shadow);margin-bottom:18px;overflow:hidden;position:relative}.v12-hero:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(79,70,229,.08);right:-70px;top:-90px}.v12-hero>div,.v12-hero>button{position:relative;z-index:1}.v12-hero h2{margin:4px 0 8px;font-size:26px}.v12-hero p{margin:0;color:var(--muted);max-width:720px}.hero-count{min-width:140px;text-align:center;padding:15px 22px;border-radius:18px;background:#fff;border:1px solid var(--line)}.hero-count strong{font-size:34px;display:block}.hero-count span{color:var(--muted);font-size:12px}.workshop-hero{background:linear-gradient(135deg,#eef2ff,#fff)}.planning-hero{background:linear-gradient(135deg,#ecfeff,#fff)}.approval-hero{background:linear-gradient(135deg,#faf5ff,#fff)}.backup-hero{background:linear-gradient(135deg,#eff6ff,#fff)}.integration-hero{background:linear-gradient(135deg,#f0fdf4,#fff)}
.v12-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.v12-stat{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.v12-stat-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:22px;background:#eef2ff;color:#4338ca}.v12-stat>div{min-width:0}.v12-stat small,.v12-stat em{display:block;color:var(--muted);font-style:normal;font-size:11px}.v12-stat strong{display:block;font-size:24px;line-height:1.15;margin:3px 0}.v12-stat.red .v12-stat-icon{background:#fef2f2;color:#dc2626}.v12-stat.green .v12-stat-icon{background:#ecfdf5;color:#059669}.v12-stat.orange .v12-stat-icon{background:#fff7ed;color:#ea580c}.v12-stat.purple .v12-stat-icon{background:#faf5ff;color:#9333ea}
.v12-grid{display:grid;gap:16px;margin-bottom:18px}.v12-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.v12-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.v12-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 8px 28px rgba(15,23,42,.045);margin-bottom:18px}.v12-panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.v12-panel-head h3{margin:0;font-size:18px}.v12-panel-head p{margin:4px 0 0;color:var(--muted);font-size:12px}.v12-count{padding:7px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:800}.v12-count.danger{background:#fef2f2;color:#dc2626}.v12-empty{padding:32px;text-align:center;color:var(--muted);display:grid;place-items:center;gap:8px}.v12-empty span{font-size:30px}.v12-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.v12-table{width:100%;border-collapse:collapse;min-width:720px}.v12-table th{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#64748b;background:#f8fafc;text-align:left;padding:12px;border-bottom:1px solid var(--line)}.v12-table td{padding:12px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.v12-table tbody tr:last-child td{border-bottom:0}.v12-table td strong,.v12-table td small{display:block}.v12-table td small{color:var(--muted);margin-top:3px}.v12-table tbody tr:hover{background:#fafbff}.v12-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:800;font-size:10px;background:#eef2ff;color:#4338ca}.v12-status.success{background:#ecfdf5;color:#047857}.v12-status.danger{background:#fef2f2;color:#b91c1c}.v12-status.warning{background:#fffbeb;color:#b45309}.v12-status.info{background:#eff6ff;color:#1d4ed8}.btn.tiny{padding:7px 10px;font-size:11px;border-radius:9px}
.v12-stage-tabs{display:flex;gap:8px;overflow:auto;padding:3px 2px 13px;margin-bottom:6px}.v12-stage-tab{border:1px solid var(--line);background:#fff;border-radius:13px;padding:10px 13px;display:flex;align-items:center;gap:7px;white-space:nowrap;color:#64748b;font-weight:700}.v12-stage-tab i{width:9px;height:9px;border-radius:50%}.v12-stage-tab.active{border-color:#a5b4fc;background:#eef2ff;color:#3730a3}.workshop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}.workshop-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:17px;box-shadow:0 7px 22px rgba(15,23,42,.045)}.workshop-card.late{border-color:#fecaca}.workshop-card header{display:flex;justify-content:space-between;gap:12px}.workshop-card header span{font-size:11px;font-weight:900;color:#4f46e5}.workshop-card h3{margin:4px 0;font-size:17px}.workshop-card header b{font-size:25px;text-align:center}.workshop-card header b small{display:block;font-size:9px;color:var(--muted);text-transform:uppercase}.workshop-meta{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.workshop-meta>span{padding:6px 8px;background:#f8fafc;border-radius:9px;font-size:10px}.workshop-actions{display:flex;gap:7px;flex-wrap:wrap}.active-work{margin-top:12px;padding:9px;background:#ecfdf5;border-radius:10px;color:#047857;font-size:10px;display:flex;align-items:center;gap:7px}.pulse{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #d1fae5}
.quality-list{display:grid;gap:9px}.quality-order{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:15px}.quality-order span{color:#4f46e5;font-size:10px;font-weight:900}.quality-order h3{margin:3px 0;font-size:14px}.quality-order p,.quality-order small{margin:0;color:var(--muted);font-size:11px}.quality-order>div:last-child{text-align:right;display:grid;gap:7px}.quality-rule{display:grid;grid-template-columns:32px 1fr;gap:10px;align-items:center}.quality-rule span{width:29px;height:29px;border-radius:10px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-weight:900}.quality-rule p{margin:0;color:#475569;font-size:12px}.quality-check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:18px}.quality-check-grid label{border:1px solid var(--line);border-radius:12px;padding:11px;display:flex;align-items:center;gap:8px;font-size:12px}.quality-check-grid input{display:none}.quality-check-grid label span{width:24px;height:24px;border-radius:8px;background:#f1f5f9;color:#94a3b8;display:grid;place-items:center}.quality-check-grid label:has(input:checked){border-color:#86efac;background:#f0fdf4}.quality-check-grid input:checked+span{background:#16a34a;color:#fff}
.capacity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px;margin-bottom:18px}.capacity-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px}.capacity-card header{display:flex;align-items:center;gap:9px}.capacity-card header i{width:11px;height:11px;border-radius:50%}.capacity-card header div{flex:1}.capacity-card header strong,.capacity-card header small{display:block}.capacity-card header small{color:var(--muted);font-size:10px}.capacity-card header b{font-size:15px}.capacity-meter{height:8px;background:#eef2f7;border-radius:999px;margin:13px 0;overflow:hidden}.capacity-meter i{display:block;height:100%;background:#4f46e5;border-radius:inherit}.capacity-card.warning .capacity-meter i{background:#f59e0b}.capacity-card.danger .capacity-meter i{background:#dc2626}.capacity-card footer{display:flex;justify-content:space-between;color:var(--muted);font-size:10px}.capacity-form-grid{display:grid;gap:9px}.capacity-form-grid label{display:grid;grid-template-columns:1fr 110px 70px;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:9px}.capacity-form-grid label span{display:flex;align-items:center;gap:8px;font-weight:700}.capacity-form-grid i{width:9px;height:9px;border-radius:50%}.capacity-form-grid input{padding:9px;border:1px solid var(--line);border-radius:9px}.capacity-form-grid small{color:var(--muted)}
.low-stock-row{background:#fff7ed!important}.stock-current,.finance-summary-mini{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border-radius:14px;padding:14px;margin-bottom:15px}.stock-current strong{font-size:20px}.positive{color:#047857}.negative{color:#dc2626}.finance-summary-mini{gap:10px}.finance-summary-mini div{flex:1}.finance-summary-mini span,.finance-summary-mini strong{display:block}.finance-summary-mini span{color:var(--muted);font-size:10px}.finance-summary-mini strong{font-size:18px;margin-top:3px}
.integration-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px}.integration-card>span{display:inline-grid;place-items:center;width:48px;height:48px;background:#ecfdf5;color:#047857;border-radius:14px;font-weight:900}.integration-card h3{margin:12px 0 4px}.integration-card p{color:var(--muted);font-size:12px;margin:0}.v12-report-section{margin-top:22px;border-top:2px dashed var(--line);padding-top:22px}.wide-modal{max-width:850px}
@media(max-width:1100px){.v12-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.v12-grid.three{grid-template-columns:1fr}.v12-grid.two{grid-template-columns:1fr}}
@media(max-width:700px){.v12-hero{align-items:flex-start;flex-direction:column;padding:20px}.v12-hero h2{font-size:21px}.v12-stats{grid-template-columns:1fr}.workshop-grid{grid-template-columns:1fr}.quality-check-grid{grid-template-columns:1fr}.capacity-form-grid label{grid-template-columns:1fr 1fr}.capacity-form-grid label small{display:none}.v12-panel{padding:13px}.v12-stat{padding:14px}}
.quality-photo-link{display:block;color:#4f46e5;font-size:10px;font-weight:800;margin-top:4px;text-decoration:none}.quality-photo-link:hover{text-decoration:underline}
.material-allocation-empty{padding:28px;text-align:center;color:var(--muted);background:#f8fafc;border-radius:14px;margin-top:14px}.material-allocation-list{display:grid;gap:8px;margin-top:14px}.material-allocation-list label{display:grid;grid-template-columns:1fr 130px 130px;gap:9px;align-items:center;border:1px solid var(--line);border-radius:13px;padding:10px}.material-allocation-list strong,.material-allocation-list small{display:block}.material-allocation-list small{color:var(--muted);margin-top:3px}.material-allocation-list input{border:1px solid var(--line);border-radius:9px;padding:9px}.row-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:700px){.material-allocation-list label{grid-template-columns:1fr 1fr}.material-allocation-list label>div{grid-column:1/-1}}


/* ===== v17 Sade Sipariş Föyü + Modal Katman Düzeltmesi ===== */
body.modal-open,body.drawer-open{overflow:hidden}
#drawerRoot .drawer-backdrop{z-index:240}
#modalRoot .modal-backdrop{z-index:520;background:rgba(8,15,30,.72);backdrop-filter:blur(8px);animation:v16FadeIn .16s ease}
#modalRoot .modal{position:relative;z-index:521;box-shadow:0 36px 110px rgba(2,8,23,.48);animation:v16ModalIn .2s ease}
.drawer-backdrop.modal-underlay{filter:saturate(.75) brightness(.72);transition:filter .18s ease;pointer-events:none}
@keyframes v16FadeIn{from{opacity:0}to{opacity:1}}
@keyframes v16ModalIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
.order-form-modal{width:min(1120px,calc(100vw - 28px));max-height:94vh}
.order-form-modal .modal-head{background:linear-gradient(180deg,#fff 75%,rgba(255,255,255,.95));box-shadow:0 8px 22px rgba(15,23,42,.05)}
.order-form-modal .modal-foot{position:sticky;bottom:0;z-index:5;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);box-shadow:0 -10px 30px rgba(15,23,42,.07)}
.edit-order-btn{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;border:0!important;box-shadow:0 9px 22px rgba(79,70,229,.24)}

.production-drawer{width:min(1280px,97vw)}
.order-detail-body{padding:18px 22px 40px}
.foy-command-bar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.5fr) minmax(190px,.8fr) 130px;gap:12px;background:linear-gradient(135deg,#101827,#1e293b 58%,#312e81);color:#fff;border-radius:20px;padding:16px 18px;box-shadow:0 18px 40px rgba(15,23,42,.18);margin-bottom:13px}
.foy-stage-command,.foy-deadline-command,.foy-quantity-command{display:flex;align-items:center;gap:12px;min-width:0}.foy-stage-dot{width:16px;height:16px;border-radius:50%;box-shadow:0 0 0 6px rgba(255,255,255,.09);flex:0 0 auto}.foy-stage-command small,.foy-stage-command strong,.foy-stage-command em,.foy-deadline-command small,.foy-deadline-command strong,.foy-deadline-command em{display:block}.foy-stage-command small,.foy-deadline-command small{font-size:8px;letter-spacing:.13em;color:#a5b4fc;font-weight:900}.foy-stage-command strong,.foy-deadline-command strong{font-size:16px;margin-top:3px}.foy-stage-command em,.foy-deadline-command em{font-size:9px;color:#cbd5e1;font-style:normal;margin-top:3px}.foy-command-progress{align-self:center}.foy-command-progress>div{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#cbd5e1;margin-bottom:8px}.foy-command-progress b{font-size:12px;color:#fff}.foy-command-progress>i{display:block;height:9px;background:rgba(255,255,255,.13);border-radius:999px;overflow:hidden}.foy-command-progress>i>em{display:block;height:100%;border-radius:inherit}.foy-deadline-command{padding-left:15px;border-left:1px solid rgba(255,255,255,.12);display:block}.foy-command-bar.late .foy-deadline-command strong,.foy-command-bar.late .foy-deadline-command em{color:#fecaca}.foy-command-bar.soon .foy-deadline-command strong,.foy-command-bar.soon .foy-deadline-command em{color:#fde68a}.foy-quantity-command{justify-content:center;text-align:center;padding-left:14px;border-left:1px solid rgba(255,255,255,.12);display:block}.foy-quantity-command strong,.foy-quantity-command span{display:block}.foy-quantity-command strong{font-size:29px;line-height:1}.foy-quantity-command span{font-size:8px;letter-spacing:.1em;color:#cbd5e1;margin-top:5px;font-weight:900}
.modern-stepper{grid-template-columns:repeat(7,minmax(88px,1fr));gap:0;padding:14px 10px 10px}.modern-stepper .stage-step{padding:27px 5px 0;font-size:8px}.modern-stepper .stage-step b{font-size:8px}.modern-stepper .stage-step>span{position:absolute;width:16px;height:16px;border-radius:50%;background:#dce2ec;top:0;left:50%;transform:translateX(-50%);z-index:3}.modern-stepper .stage-step:before{display:none}.modern-stepper .stage-step.done>span{background:var(--primary)}.modern-stepper .stage-step.current>span{width:19px;height:19px;top:-2px;background:#fff;border:5px solid var(--stage-color);box-shadow:0 0 0 5px color-mix(in srgb,var(--stage-color) 14%,white)}.modern-stepper .stage-step.current b{color:var(--primary)}.stage-action-hint{font-size:9px;color:var(--muted)}

.modern-production-sheet{background:#edf2f8;border:1px solid #dce4ef;border-radius:24px;overflow:hidden;box-shadow:0 22px 65px rgba(15,23,42,.11)}
.foy-cover{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 22px;background:linear-gradient(135deg,#101827,#1e293b);color:#fff}.foy-brand{display:flex;align-items:center;gap:12px}.foy-brand>span{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#2563eb);font-size:14px;font-weight:900;box-shadow:0 11px 25px rgba(79,70,229,.34)}.foy-brand strong,.foy-brand small,.foy-cover-order small,.foy-cover-order strong{display:block}.foy-brand strong{font-size:19px;letter-spacing:.02em}.foy-brand small{font-size:8px;color:#a5b4fc;letter-spacing:.15em;margin-top:3px;font-weight:900}.foy-cover-order{text-align:right}.foy-cover-order>small{font-size:7px;color:#94a3b8;letter-spacing:.13em;font-weight:900}.foy-cover-order>strong{font-size:20px;margin:3px 0 7px}.foy-cover-order>div{display:flex;justify-content:flex-end;gap:6px}
.foy-customer-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:12px;padding:18px 20px 12px}.foy-customer-hero>div:first-child{background:#fff;border:1px solid #e3e9f2;border-radius:18px;padding:17px 18px}.foy-customer-hero small{font-size:8px;letter-spacing:.12em;color:#64748b;font-weight:900}.foy-customer-hero h2{font-size:24px;line-height:1.15;margin:5px 0 4px;letter-spacing:-.035em}.foy-customer-hero p{font-size:10px;color:#64748b;margin:0}.foy-deadline-card{min-width:235px;border-radius:18px;padding:15px 17px;display:flex;flex-direction:column;justify-content:center;background:#eef2ff;border:1px solid #c7d2fe}.foy-deadline-card strong,.foy-deadline-card span{display:block}.foy-deadline-card strong{font-size:22px;margin:4px 0 3px;color:#3730a3}.foy-deadline-card span{font-size:10px;font-weight:800;color:#4f46e5}.foy-deadline-card.soon{background:#fffbeb;border-color:#fde68a}.foy-deadline-card.soon strong,.foy-deadline-card.soon span{color:#b45309}.foy-deadline-card.late{background:#fef2f2;border-color:#fecaca}.foy-deadline-card.late strong,.foy-deadline-card.late span{color:#b91c1c}
.foy-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 20px 14px}.foy-summary-item{display:flex;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e3e9f2;border-radius:15px;padding:12px}.foy-summary-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;font-size:14px;flex:0 0 auto}.foy-summary-item small,.foy-summary-item strong,.foy-summary-item em{display:block}.foy-summary-item small{font-size:7px;letter-spacing:.09em;color:#64748b;font-weight:900}.foy-summary-item strong{font-size:10px;margin-top:4px;line-height:1.35}.foy-summary-item em{font-size:8px;color:#94a3b8;font-style:normal;margin-top:3px;line-height:1.35}
.foy-content-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.72fr);gap:13px;padding:0 20px 20px}.foy-main-column,.foy-side-column{display:flex;flex-direction:column;gap:13px}.foy-section,.foy-design-card,.foy-contact-card,.foy-check-card{background:#fff;border:1px solid #e1e8f1;border-radius:18px;box-shadow:0 7px 22px rgba(15,23,42,.04)}.foy-section{padding:16px}.foy-section-title{display:flex;align-items:center;gap:10px;margin-bottom:13px}.foy-section-title>span{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:9px;font-weight:900;flex:0 0 auto}.foy-section-title h3,.foy-section-title p{margin:0}.foy-section-title h3{font-size:13px}.foy-section-title p{font-size:8px;color:#748197;margin-top:3px}.foy-section-title>b{margin-left:auto;border-radius:999px;background:#eef2ff;color:#4338ca;padding:7px 10px;font-size:9px}.foy-section-title.compact{padding:15px 15px 0;margin:0}.foy-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.foy-spec-item{border:1px solid #e7ecf3;background:#f8fafc;border-radius:13px;padding:11px}.foy-spec-item span,.foy-spec-item strong{display:block}.foy-spec-item span{font-size:7px;letter-spacing:.08em;color:#78859b;font-weight:900}.foy-spec-item strong{font-size:10px;margin-top:5px;line-height:1.35}
.foy-size-groups{display:grid;gap:9px}.foy-size-groups>article{border:1px solid #e5eaf2;border-radius:14px;overflow:hidden}.foy-size-groups header{display:flex;align-items:center;justify-content:space-between;background:#f8fafc;padding:9px 11px;border-bottom:1px solid #e5eaf2}.foy-size-groups header strong{font-size:9px;letter-spacing:.08em}.foy-size-groups header span{font-size:8px;color:#64748b;font-weight:800}.foy-size-groups article>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:9px}.foy-size-groups article>div>div{min-height:48px;border-radius:10px;background:#f4f6f9;color:#9aa5b5;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid transparent}.foy-size-groups article>div>div.has-value{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}.foy-size-groups small,.foy-size-groups b{display:block}.foy-size-groups small{font-size:7px}.foy-size-groups b{font-size:13px;margin-top:3px}.foy-size-groups article.child>div>div.has-value{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
.foy-instruction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.foy-instruction{display:flex;align-items:flex-start;gap:10px;border:1px solid #e5eaf2;background:#fafbfd;border-radius:14px;padding:12px;min-height:112px}.foy-instruction>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:#4f46e5;flex:0 0 auto}.foy-instruction small{display:block;font-size:7px;letter-spacing:.08em;font-weight:900;color:#64748b}.foy-instruction p{font-size:9px;line-height:1.55;margin:5px 0 0;color:#334155}.foy-instruction.cut>span{background:#fff7ed;color:#c2410c}.foy-instruction.print>span{background:#eff6ff;color:#1d4ed8}.foy-instruction.sew>span{background:#ecfdf5;color:#047857}.foy-general-note{background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;border-radius:17px;padding:14px 15px}.foy-general-note>div{display:flex;align-items:center;gap:8px}.foy-general-note>div>span{width:25px;height:25px;border-radius:8px;background:#f97316;color:#fff;display:grid;place-items:center;font-weight:900}.foy-general-note strong{font-size:8px;letter-spacing:.09em;color:#9a3412}.foy-general-note p{font-size:10px;line-height:1.6;color:#7c2d12;margin:8px 0 0}
.foy-design-card{overflow:hidden}.foy-design-frame{height:460px;margin:13px;border-radius:15px;background:linear-gradient(145deg,#fff,#edf2f8);border:1px dashed #cbd5e1;display:grid;place-items:center;overflow:hidden}.foy-design-frame img{width:100%;height:100%;object-fit:contain;background:#fff}.foy-design-card footer{display:grid;grid-template-columns:1fr 90px;border-top:1px solid #e5eaf2}.foy-design-card footer>div{padding:11px 13px}.foy-design-card footer>div+div{border-left:1px solid #e5eaf2}.foy-design-card footer small,.foy-design-card footer strong{display:block}.foy-design-card footer small{font-size:7px;color:#64748b;letter-spacing:.08em;font-weight:900}.foy-design-card footer strong{font-size:10px;margin-top:4px}.foy-contact-card,.foy-check-card{padding:15px}.foy-contact-card>small,.foy-check-card>small{font-size:7px;letter-spacing:.1em;color:#64748b;font-weight:900}.foy-contact-card strong{display:block;font-size:12px;margin-top:6px}.foy-contact-card p{font-size:9px;line-height:1.5;color:#64748b;margin:5px 0}.foy-contact-card a{display:inline-flex;margin-top:6px;font-size:9px;font-weight:800;color:#4338ca;text-decoration:none}.foy-check-card ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:7px}.foy-check-card li{display:flex;align-items:center;gap:8px;font-size:9px;color:#9a3412}.foy-check-card li span{width:22px;height:22px;border-radius:7px;background:#fff7ed;color:#f97316;display:grid;place-items:center;font-weight:900}.foy-check-card li.ok{color:#047857}.foy-check-card li.ok span{background:#ecfdf5;color:#10b981}

@media(max-width:1000px){.foy-command-bar{grid-template-columns:1fr 1fr}.foy-command-progress{order:3}.foy-quantity-command{order:4}.foy-content-layout{grid-template-columns:1fr}.foy-design-frame{height:380px}.foy-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.production-drawer{width:100vw}.order-detail-head{padding:13px 14px}.order-detail-head-actions{flex-wrap:wrap;justify-content:flex-end}.order-detail-head-actions .special-notification-btn,.order-detail-head-actions .btn.soft{display:none}.order-detail-body{padding:12px 10px 28px}.foy-command-bar{grid-template-columns:1fr;padding:14px}.foy-command-progress,.foy-deadline-command,.foy-quantity-command{border-left:0;padding-left:0}.foy-quantity-command{text-align:left}.foy-quantity-command strong{font-size:22px}.stage-action-hint{display:none}.foy-customer-hero{grid-template-columns:1fr;padding:12px 10px 9px}.foy-deadline-card{min-width:0}.foy-summary-grid{grid-template-columns:1fr;padding:0 10px 10px}.foy-content-layout{padding:0 10px 12px}.foy-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.foy-instruction-grid{grid-template-columns:1fr}.foy-size-groups article>div{overflow-x:auto;grid-template-columns:repeat(7,minmax(54px,1fr))}.foy-design-frame{height:300px}.foy-cover{padding:15px}.foy-cover-order>strong{font-size:15px}.foy-customer-hero h2{font-size:20px}.modern-production-sheet{border-radius:18px}.order-form-modal{width:100%;max-height:98vh;border-radius:18px}.modal-backdrop{padding:6px}}
@media print{.print-production-sheet .modern-production-sheet{background:#fff}.print-production-sheet .foy-command-bar,.print-production-sheet .order-stage-stepper,.print-production-sheet .stage-actions,.print-production-sheet .order-detail-tabs{display:none!important}.print-production-sheet .foy-content-layout{grid-template-columns:1.45fr .72fr}.print-production-sheet .foy-design-frame{height:390px}.print-production-sheet .foy-cover{-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-production-sheet .foy-section,.print-production-sheet .foy-design-card,.print-production-sheet .foy-contact-card,.print-production-sheet .foy-check-card{break-inside:avoid}}

/* v85 — Yeni sipariş formunda yazılabilir müşteri seçimi */
.customer-combobox{position:relative;min-width:0}
.customer-combobox-input{min-width:0;padding-right:42px!important;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%)!important;background-position:calc(100% - 19px) 50%,calc(100% - 13px) 50%!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important}
.customer-combobox-input::-webkit-search-cancel-button{margin-right:13px}
.customer-combobox-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:40;max-height:300px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px;background:#fff;border:1px solid #cbd5e1;border-radius:13px;box-shadow:0 18px 42px rgba(15,23,42,.18)}
.customer-combobox-option{display:flex;width:100%;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;padding:11px 12px;border:0;border-radius:9px;background:#fff;color:var(--text);text-align:left;touch-action:manipulation}
.customer-combobox-option strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.customer-combobox-option small{max-width:100%;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:10px;font-weight:600}
.customer-combobox-option:hover,.customer-combobox-option.active{background:var(--primary-soft);color:var(--primary)}
.customer-combobox-empty{padding:13px 12px;color:var(--muted);font-size:11px;font-weight:700}
@media(max-width:700px){.customer-combobox-results{max-height:42vh}.customer-combobox-option{min-height:48px;justify-content:center;padding:10px 12px}.customer-combobox-input{font-size:16px}}

/* v99 — Türkiye il/ilçe aramalı ve kaydırılabilir seçim alanı */
.turkey-location-combobox{position:relative;min-width:0;width:100%}
.turkey-location-combobox:focus-within{z-index:65}
.turkey-location-input{width:100%;min-width:0;padding-right:42px!important;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%)!important;background-position:calc(100% - 19px) 50%,calc(100% - 13px) 50%!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important}
.turkey-location-input::-webkit-search-cancel-button{margin-right:13px}
.turkey-location-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:70;max-height:290px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:6px;background:#fff;border:1px solid #cbd5e1;border-radius:13px;box-shadow:0 18px 42px rgba(15,23,42,.2)}
.turkey-location-option{display:flex;width:100%;min-height:42px;align-items:center;padding:10px 12px;border:0;border-radius:9px;background:#fff;color:var(--text);font:inherit;font-size:12px;font-weight:750;text-align:left;touch-action:manipulation;cursor:pointer}
.turkey-location-option:hover,.turkey-location-option.active{background:var(--primary-soft);color:var(--primary)}
.turkey-location-empty{padding:13px 12px;color:var(--muted);font-size:11px;font-weight:700;line-height:1.45}
@media(max-width:700px){.turkey-location-results{max-height:42vh;max-height:42dvh}.turkey-location-option{min-height:48px;padding:11px 12px}.turkey-location-input{font-size:16px}}

/* v86 — kullanıcı dostu Ayarlar merkezi */
.settings-page{display:grid;gap:16px;width:100%;max-width:1180px;margin:0 auto}
.settings-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;border-radius:22px;background:linear-gradient(135deg,#4338ca,#2563eb 58%,#0891b2);color:#fff;box-shadow:0 18px 44px rgba(37,99,235,.2)}
.settings-hero:after{content:"";position:absolute;right:-70px;bottom:-100px;width:270px;height:270px;border-radius:50%;background:rgba(255,255,255,.12)}
.settings-hero-copy,.settings-account-chip{position:relative;z-index:1;display:flex;align-items:center;gap:14px}
.settings-hero-icon{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:17px;background:rgba(255,255,255,.15);font-size:25px}
.settings-hero-copy small,.settings-card-head>div>small{display:block;margin-bottom:4px;font-size:9px;font-weight:900;letter-spacing:.14em}
.settings-hero h2{margin:0;font-size:25px;letter-spacing:-.035em}.settings-hero p{margin:5px 0 0;color:#dbeafe;font-size:11px}
.settings-account-chip{min-width:270px;padding:11px 13px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(15,23,42,.16);backdrop-filter:blur(8px)}
.settings-account-chip>span{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#fff;color:#4338ca;font-size:12px;font-weight:900}.settings-account-chip>div{min-width:0;flex:1}.settings-account-chip strong,.settings-account-chip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-account-chip strong{font-size:12px}.settings-account-chip small{margin-top:3px;color:#dbeafe;font-size:9px}.settings-account-chip>b{padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.17);font-size:8px;white-space:nowrap}
.settings-quick-nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:10px}.settings-quick-nav>button{display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e3e9f2;border-radius:15px;background:#fff;color:var(--text);text-align:left;box-shadow:0 7px 22px rgba(15,23,42,.045);transition:.18s}.settings-quick-nav>button:hover,.settings-quick-nav>button.active{transform:translateY(-1px);border-color:#bfdbfe;box-shadow:0 11px 26px rgba(37,99,235,.09)}.settings-quick-nav>button>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eef2ff;color:#4f46e5;font-size:17px}.settings-quick-nav strong,.settings-quick-nav small{display:block}.settings-quick-nav strong{font-size:11px}.settings-quick-nav small{margin-top:3px;color:var(--muted);font-size:9px}.settings-quick-nav i{color:#94a3b8;font-size:20px;font-style:normal}
.settings-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.settings-page-grid .settings-card{padding:20px;border-radius:19px;scroll-margin-top:95px}.settings-card-wide{grid-column:1/-1}
.settings-card-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:19px;padding-bottom:15px;border-bottom:1px solid #e8edf4}.settings-card-head>div{min-width:0}.settings-card-head>div>small{color:#6366f1}.settings-card-head h3{margin:0;font-size:17px;letter-spacing:-.02em}.settings-card-head p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.settings-card-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#eef2ff;color:#4f46e5;font-size:18px}.settings-card-icon.info{background:#ecfeff;color:#0891b2}.settings-card-icon.danger{background:#fff1f2;color:#e11d48}
.password-settings-form{display:grid;gap:14px}.password-settings-form .field{gap:7px}.password-input-wrap{position:relative}.password-input-wrap input{padding-right:74px}.password-input-wrap>button{position:absolute;top:50%;right:7px;transform:translateY(-50%);min-width:57px;padding:7px 8px;border:0;border-radius:9px;background:#f1f5f9;color:#475569;font-size:9px;font-weight:900}.password-input-wrap>button:hover{background:#e0e7ff;color:#4338ca}
.password-strength{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin-top:-4px}.password-strength>div{height:6px;overflow:hidden;border-radius:999px;background:#edf1f6}.password-strength i{display:block;width:0;height:100%;border-radius:inherit;background:#94a3b8;transition:.2s}.password-strength strong{min-width:92px;color:var(--muted);font-size:9px;text-align:right}.password-strength[data-level="weak"] i{background:#ef4444}.password-strength[data-level="medium"] i{background:#f59e0b}.password-strength[data-level="good"] i{background:#0ea5e9}.password-strength[data-level="strong"] i{background:#16a34a}.password-strength[data-level="weak"] strong{color:#dc2626}.password-strength[data-level="medium"] strong{color:#d97706}.password-strength[data-level="good"] strong{color:#0284c7}.password-strength[data-level="strong"] strong{color:#15803d}
.password-rules{display:flex;flex-wrap:wrap;gap:7px 12px;margin:-4px 0 2px;padding:0;list-style:none}.password-rules li{display:flex;align-items:center;gap:5px;color:#94a3b8;font-size:9px;font-weight:700}.password-rules li span{width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#f1f5f9;color:#94a3b8;font-size:8px}.password-rules li.passed{color:#15803d}.password-rules li.passed span{background:#dcfce7;color:#16a34a}.password-settings-form .field>small.error{color:#dc2626}.password-settings-form .field>small.success{color:#15803d}.settings-submit{width:100%;margin-top:2px}
.settings-info-list{display:grid;gap:2px}.settings-info-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:53px;padding:9px 4px;border-bottom:1px solid #edf1f5}.settings-info-list>div:last-child{border-bottom:0}.settings-info-list span{display:flex;align-items:center;gap:9px;min-width:0}.settings-info-list i{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#f1f5f9;color:#475569;font-size:13px;font-style:normal}.settings-info-list small{color:var(--muted);font-size:10px;font-weight:700}.settings-info-list strong{max-width:55%;overflow-wrap:anywhere;font-size:11px;text-align:right}.settings-info-list .online-status{display:flex;align-items:center;gap:5px;color:#15803d}.settings-info-list .online-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #dcfce7}
.settings-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:17px;padding-top:15px;border-top:1px solid #e8edf4}.settings-admin-links{justify-content:space-between}.settings-admin-links>span{color:var(--muted);font-size:9px;font-weight:800}.settings-admin-links>div{display:flex;gap:7px}
.settings-advanced-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;width:100%;max-width:1180px;margin:8px auto 0;padding:16px 4px 2px;border-bottom:1px solid #dfe7f1}.settings-advanced-heading small{display:block;color:#4f46e5;font-size:8px;font-weight:950;letter-spacing:.14em}.settings-advanced-heading h2{margin:4px 0 0;font-size:19px}.settings-advanced-heading p{margin:5px 0 10px;color:var(--muted);font-size:10px}.settings-advanced-heading>span{margin-bottom:10px;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:8px;font-weight:900}.settings-page~.ent-panel{width:100%;max-width:1180px;margin-left:auto;margin-right:auto;scroll-margin-top:90px}
.cache-version-box{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}.cache-version-box span,.cache-version-box strong{display:block}.cache-version-box span{color:var(--muted);font-size:9px}.cache-version-box strong{margin-top:4px;font-size:11px;overflow-wrap:anywhere}.cache-version-box em{display:flex;align-items:center;gap:6px;color:#15803d;font-size:9px;font-style:normal;font-weight:900;white-space:nowrap}.cache-version-box em i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #dcfce7}.settings-safety-note{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 13px;border-radius:13px;background:#f0fdf4;color:#166534}.settings-safety-note>span{width:23px;height:23px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#dcfce7;font-weight:900}.settings-safety-note p{margin:0;font-size:10px;line-height:1.55}.settings-safety-note strong{display:block;margin-bottom:2px}
html[data-visual-theme="studio"] .settings-quick-nav>button,html[data-visual-theme="studio"] .cache-version-box{background:#0d1a2d;color:#e8f1fb;border-color:rgba(148,163,184,.2)}html[data-visual-theme="studio"] .settings-card-head,html[data-visual-theme="studio"] .settings-card-actions,html[data-visual-theme="studio"] .settings-info-list>div{border-color:rgba(148,163,184,.18)}html[data-visual-theme="studio"] .settings-card-head p,html[data-visual-theme="studio"] .settings-info-list small,html[data-visual-theme="studio"] .settings-admin-links>span{color:#9aadc5}html[data-visual-theme="studio"] .password-input-wrap>button,html[data-visual-theme="studio"] .settings-info-list i{background:#162a43;color:#c8d7e9}
@media(max-width:780px){.settings-hero{align-items:flex-start;flex-direction:column;padding:20px}.settings-account-chip{width:100%;min-width:0}.settings-quick-nav{grid-template-columns:1fr}.settings-page-grid{grid-template-columns:1fr}.settings-card-wide{grid-column:auto}.settings-page-grid .settings-card{padding:16px;scroll-margin-top:70px}.settings-card-head{margin-bottom:16px}.settings-admin-links{align-items:stretch;flex-direction:column}.settings-admin-links>div{display:grid;grid-template-columns:1fr 1fr}.settings-card-actions>.btn{width:100%}.cache-version-box{align-items:flex-start;flex-direction:column}.password-rules{display:grid;grid-template-columns:1fr 1fr}.settings-info-list strong{max-width:52%}.settings-advanced-heading{align-items:flex-start;flex-direction:column;gap:0;padding-inline:2px}.settings-advanced-heading>span{margin-bottom:12px}.settings-page~.ent-panel{scroll-margin-top:70px}}
@media(max-width:380px){.settings-hero-copy{align-items:flex-start}.settings-hero-icon{width:44px;height:44px;border-radius:14px}.settings-hero h2{font-size:21px}.settings-account-chip>b{display:none}.password-rules{grid-template-columns:1fr}.settings-admin-links>div{grid-template-columns:1fr}.settings-info-list>div{align-items:flex-start;flex-direction:column;gap:5px}.settings-info-list strong{max-width:100%;padding-left:40px;text-align:left}}
@media(max-width:560px){.system-order-settings{padding:14px}.system-order-settings .catalog-card>header{padding:13px}.system-order-settings .catalog-list{padding:6px}.system-order-settings .catalog-row{grid-template-columns:16px minmax(0,1fr) 82px;gap:7px;padding:9px 3px}.system-order-settings .catalog-row .catalog-drag{grid-column:1;grid-row:1}.system-order-settings .catalog-row .catalog-name{grid-column:2;grid-row:1;width:100%;font-size:10px}.system-order-settings .catalog-row label{grid-column:3;grid-row:1;display:grid;align-items:start;gap:2px;min-width:0}.system-order-settings .catalog-row label small{font-size:7px}.system-order-settings .catalog-row label input{width:100%;font-size:10px}.system-order-settings .catalog-row [data-catalog-toggle]{grid-column:2;grid-row:2;width:100%}.system-order-settings .catalog-row [data-catalog-save]{grid-column:3;grid-row:2;width:100%}.system-order-settings .catalog-row .btn.tiny{min-width:0;padding-inline:6px;font-size:8px}.system-diagnostics .ent-panel-head,.system-reset-panel .ent-panel-head{align-items:stretch;flex-direction:column}.system-diagnostics .ent-panel-head>.btn,.system-reset-panel .ent-panel-head>.btn{width:100%}.diagnostic-error{align-items:stretch;flex-direction:column}.diagnostic-error .btn{width:100%}}

/* v17 — sade föy, büyük beden etiketleri ve çocuk şort grubu */
.foy-size-groups header{padding:12px 14px}
.foy-size-groups header strong{font-size:13px;letter-spacing:.065em}
.foy-size-groups header span{font-size:11px}
.foy-size-groups article>div>div{min-height:68px;border-radius:12px}
.foy-size-groups small{font-size:16px;font-weight:950;line-height:1;color:inherit}
.foy-size-groups b{font-size:20px;margin-top:7px;line-height:1}
.foy-size-groups article.child-sort>div>div.has-value{background:#fff7ed;color:#c2410c;border-color:#fed7aa}
.size-form-block>strong{font-size:11px;line-height:1.25}
.size-input span{font-size:13px}
.size-input input{font-size:15px;font-weight:800}
#modalRoot .modal-backdrop{z-index:14000}
#drawerRoot .drawer-backdrop{z-index:9000}
body.modal-open{overflow:hidden}
body.modal-open #drawerRoot .drawer-backdrop.modal-underlay{filter:brightness(.72);pointer-events:none}
@media(max-width:700px){
  .foy-size-groups article>div{grid-template-columns:repeat(7,minmax(68px,1fr))}
  .foy-size-groups article>div>div{min-height:62px}
  .foy-size-groups small{font-size:15px}
  .foy-size-groups b{font-size:19px}
}

/* v49 — A4 üretim föyü, altı kolon müşteri dizini ve atölye hesabı */
.customer-directory-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.customer-directory-card{min-height:228px;padding:14px;border-radius:17px}
.customer-directory-card .customer-avatar{width:40px;height:40px;border-radius:12px}
.customer-directory-card h3{font-size:12px}.customer-contact-list{margin:13px 0 11px}.customer-stats{gap:6px}.customer-stats div{padding:9px}.customer-card-foot{margin:11px -14px -14px;padding:9px 14px}
@media(max-width:1450px){.customer-directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.customer-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.customer-directory-grid{grid-template-columns:1fr}.customer-directory-card{min-height:220px}}

.foy-fabric-highlight{border-color:#67e8f9!important;background:linear-gradient(135deg,#ecfeff,#f0fdfa)!important;box-shadow:inset 4px 0 0 #06b6d4}
.foy-fabric-highlight .foy-summary-icon{background:#cffafe;color:#0e7490}.foy-fabric-highlight strong{color:#0f6f7c!important;font-size:12px!important}
.foy-file-number-card.has-number,.foy-file-summary.has-number{border-color:#f59e0b!important;background:linear-gradient(135deg,#fff7d6,#fff)!important;box-shadow:0 9px 24px rgba(245,158,11,.16)}
.foy-file-number-card.has-number strong,.foy-file-summary.has-number strong{font-size:18px;color:#92400e}

.settings-submenu{position:sticky;top:0;z-index:8;display:flex;gap:7px;margin-bottom:14px;padding:7px;border:1px solid #dfe7f1;border-radius:15px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(15,23,42,.06)}
.settings-submenu button{border:0;border-radius:10px;padding:10px 14px;background:transparent;color:#64748b;font-size:10px;font-weight:850;cursor:pointer}.settings-submenu button.active,.settings-submenu button:hover{background:#15243a;color:#fff}
.system-reset-panel,.workshop-account-panel{scroll-margin-top:72px}.system-reset-panel>small{display:block;margin-top:10px;color:#748197;font-size:9px}
.workshop-period-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.workshop-period-tools select,.workshop-period-tools input{height:38px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;padding:0 10px;color:#17243b;font-size:9px;font-weight:750}
.workshop-account-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.workshop-account-kpis article{padding:13px;border:1px solid #dfe7f1;border-radius:13px;background:linear-gradient(145deg,#fff,#f7f9fd)}.workshop-account-kpis small,.workshop-account-kpis strong{display:block}.workshop-account-kpis small{color:#748197;font-size:7px;letter-spacing:.09em;font-weight:900}.workshop-account-kpis strong{margin-top:5px;font-size:13px;color:#15243a}
.workshop-account-table table{width:100%;border-collapse:collapse}.workshop-account-table th,.workshop-account-table td{padding:10px;border-bottom:1px solid #e8edf4;text-align:left;font-size:9px}.workshop-account-table th{background:#f5f8fc;color:#64748b;font-size:7px;letter-spacing:.08em}.workshop-account-table td strong,.workshop-account-table td small{display:block}.workshop-account-table td small{margin-top:3px;color:#8a97aa;font-size:7px}
.workshop-rate-input{display:flex;align-items:center;gap:6px}.workshop-rate-input input{width:100px;height:34px;border:1px solid #dce5f0;border-radius:9px;padding:0 9px;font-weight:800}.workshop-rate-input span{color:#64748b;font-size:8px}
.workshop-account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0}.workshop-account-actions p{margin:0;color:#748197;font-size:8px}
.workshop-worker-settlements{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:9px;margin-top:8px}.workshop-worker-settlements>article{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #dfe7f1;border-radius:14px;background:#fff}.workshop-worker-settlements small,.workshop-worker-settlements strong,.workshop-worker-settlements span{display:block}.workshop-worker-settlements small{font-size:7px;color:#748197;letter-spacing:.08em}.workshop-worker-settlements strong{margin-top:4px;font-size:12px}.workshop-worker-settlements span{margin-top:3px;color:#718096;font-size:8px}
.bulk-select-all{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding:9px 11px;border-radius:10px;background:#eef4ff;color:#315fe6;font-size:9px;font-weight:850}.bulk-order-list{max-height:360px;overflow:auto}.bulk-order-list label{cursor:pointer}
@media(max-width:760px){.settings-submenu{overflow-x:auto}.workshop-account-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-worker-settlements>article{grid-template-columns:1fr}.workshop-account-actions{align-items:stretch;flex-direction:column}.workshop-account-actions .btn{width:100%}}

@page{size:A4 landscape;margin:6mm}
@media print{
  html,body.print-production-sheet{width:285mm!important;min-height:198mm!important;height:auto!important}
  .print-production-sheet .modern-production-sheet{width:1900px!important;zoom:.55!important;min-height:1160px!important}
  .print-production-sheet .foy-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .print-production-sheet .foy-design-frame{height:520px!important;margin:7px!important}
  .print-production-sheet .foy-design-frame img{width:100%!important;height:100%!important;object-fit:contain!important}
  .print-production-sheet .foy-instruction{min-height:90px!important}
  .print-production-sheet .print-hide-finance,.print-production-sheet .foy-finance-card,.print-production-sheet .print-suppress,.print-production-sheet .foy-version-card,.print-production-sheet .foy-check-card,.print-production-sheet .foy-file-number-card.empty,.print-production-sheet .foy-file-summary.empty{display:none!important}
  .print-production-sheet .foy-file-number-card.has-number{display:block!important;border-width:2px!important;padding:13px!important}.print-production-sheet .foy-file-number-card.has-number strong{font-size:22px!important}
  .print-production-sheet .foy-fabric-highlight{border-width:2px!important;box-shadow:inset 7px 0 0 #06b6d4!important}.print-production-sheet .foy-fabric-highlight strong{font-size:14px!important}
  .print-production-sheet .foy-contact-card{padding:12px!important}
}


/* v17 — beden ve adet kutuları v16 ölçülerine göre yaklaşık %15 küçültüldü */
.foy-size-groups header{padding:10px 12px}
.foy-size-groups header strong{font-size:11px;letter-spacing:.055em}
.foy-size-groups header span{font-size:9px}
.foy-size-groups article>div>div{min-height:58px;border-radius:10px}
.foy-size-groups small{font-size:14px;font-weight:950;line-height:1}
.foy-size-groups b{font-size:17px;margin-top:6px;line-height:1}
.size-form-block>strong{font-size:9px;line-height:1.25}
.size-input span{font-size:11px}
.size-input input{font-size:13px;font-weight:800}
@media(max-width:700px){
  .foy-size-groups article>div{grid-template-columns:repeat(7,minmax(58px,1fr))}
  .foy-size-groups article>div>div{min-height:53px}
  .foy-size-groups small{font-size:13px}
  .foy-size-groups b{font-size:16px}
}

/* v20 Atölye İşe Başla / Duraklat / Bitir düzeltmesi */
.workshop-card.paused{border-color:#f59e0b;background:linear-gradient(180deg,#fff,#fffbeb)}
.workshop-image-thumb{width:100%;min-width:0;display:grid;grid-template-columns:64px minmax(0,1fr) 28px;align-items:center;gap:11px;margin:12px 0 0;padding:7px;border:1px solid #dbe5f2;border-radius:14px;background:linear-gradient(135deg,#f8fbff,#fff);color:var(--text);font:inherit;text-align:left;cursor:zoom-in;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;touch-action:manipulation}.workshop-image-thumb:hover,.workshop-image-thumb:focus-visible{border-color:#a5b4fc;box-shadow:0 9px 24px rgba(79,70,229,.12);outline:0;transform:translateY(-1px)}.workshop-image-thumb-frame{width:64px;height:64px;display:block;overflow:hidden;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.workshop-image-thumb-frame img{display:block;width:100%;height:100%;object-fit:cover}.workshop-image-thumb-copy{min-width:0;display:grid;gap:3px}.workshop-image-thumb-copy strong{overflow:hidden;text-overflow:ellipsis;color:#27364b;font-size:11px;white-space:nowrap}.workshop-image-thumb-copy small{color:var(--muted);font-size:9px;font-weight:700}.workshop-image-thumb>i{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;color:#4338ca;font-size:13px;font-style:normal;font-weight:900}.workshop-image-preview-modal{width:min(1080px,100%);max-height:calc(100dvh - 28px);display:flex;flex-direction:column;overflow:hidden;background:#fff}.workshop-image-preview-modal .modal-head{position:relative;flex:0 0 auto;padding-right:74px}.workshop-image-preview-modal .modal-head>div{min-width:0}.workshop-image-preview-modal .modal-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workshop-image-preview-close{position:absolute;top:14px;right:17px;z-index:2;flex:0 0 auto;font-size:22px}.workshop-image-preview-body{height:min(76dvh,780px);min-height:280px;display:grid;place-items:center;overflow:hidden;padding:16px;background:radial-gradient(circle at center,#26344d 0,#101827 72%)}.workshop-image-preview-body img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
@media(max-width:700px){.workshop-image-preview-modal{width:100%;max-height:calc(100dvh - 12px);border-radius:18px}.workshop-image-preview-modal .modal-head{min-height:68px;padding:12px 66px 12px 13px}.workshop-image-preview-modal .modal-head h2{font-size:14px}.workshop-image-preview-modal .modal-head p{display:none}.workshop-image-preview-body{height:calc(100dvh - 86px);min-height:220px;padding:8px}.workshop-image-preview-close{top:12px;right:13px;width:42px;height:42px}}
@media(max-width:380px){.workshop-image-thumb{grid-template-columns:56px minmax(0,1fr) 26px;gap:8px}.workshop-image-thumb-frame{width:56px;height:56px}.workshop-image-thumb-copy small{font-size:8px}.workshop-image-thumb>i{width:24px;height:24px}}
.active-work{justify-content:flex-start}.active-work>div{display:grid;gap:2px}.active-work small{font-variant-numeric:tabular-nums;font-size:15px;font-weight:900}.active-work em{font-style:normal;color:#92400e}.active-work.is-paused{background:#fffbeb;color:#92400e}.active-work.is-paused .pulse{background:#f59e0b;box-shadow:0 0 0 4px #fef3c7}
.finish-equation{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:14px;border-radius:14px;background:#f8fafc;margin-bottom:16px}.finish-equation span,.finish-equation strong{padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:10px}.finish-equation strong{color:var(--primary)}
.inline-alert{margin-top:14px;padding:12px 14px;border-radius:12px;background:#eef2ff;color:#3730a3;font-size:12px;line-height:1.5}

/* v22 Üretim panosunda İşe Başla / Duraklat / Bitir */
.kanban-work-status{display:flex;align-items:flex-start;gap:9px;margin:10px 0 2px;padding:10px 11px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;color:#1e3a8a}
.kanban-work-status.paused{border-color:#fde68a;background:#fffbeb;color:#92400e}
.kanban-work-status .pulse{width:9px;height:9px;margin-top:4px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.kanban-work-status.paused .pulse{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.12)}
.kanban-work-status div{display:flex;min-width:0;flex-direction:column;gap:2px}
.kanban-work-status strong{font-size:12px}.kanban-work-status small,.kanban-work-status em{font-size:10px;line-height:1.35;font-style:normal;color:inherit;opacity:.82}
.kanban-work-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}
.kanban-work-actions:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.kanban-work-actions .btn{min-height:34px;padding:7px 8px;white-space:nowrap}
.compact-board .kanban-work-status{padding:7px 8px;margin-top:7px}.compact-board .kanban-work-actions{gap:5px;margin-top:7px;padding-top:7px}.compact-board .kanban-work-actions .btn{font-size:10px;min-height:30px;padding:5px}
@media (max-width:720px){.kanban-work-actions{position:relative;grid-template-columns:repeat(2,minmax(0,1fr))}.kanban-work-actions:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.kanban-work-actions .btn{min-height:42px;font-size:12px}}

.delivery-receipt-modal{width:min(560px,100%)}.delivery-receipt{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:20px}.delivery-receipt strong{display:block;color:#166534;font-size:16px}.delivery-receipt p{margin:9px 0;color:#334155;line-height:1.55}.delivery-receipt small{color:#64748b;word-break:break-all}


/* v38 — MNG ayar kayıt durumu ve modal üstü okunabilir bildirim */
.shipping-saved-state,.shipping-missing-state{display:inline-flex;align-items:center;margin-left:6px;padding:2px 7px;border-radius:999px;font-size:9px;font-weight:900;vertical-align:middle}
.shipping-saved-state{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.shipping-missing-state{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}
.shipping-settings-inline-notice{position:sticky;top:0;z-index:8;margin:0 0 14px;padding:12px 14px;border-radius:12px;font-size:12px;font-weight:750;line-height:1.5;box-shadow:0 8px 22px rgba(15,23,42,.10)}
.shipping-settings-inline-notice.success{background:#ecfdf5;color:#166534;border:1px solid #a7f3d0}.shipping-settings-inline-notice.error{background:#fff1f2;color:#991b1b;border:1px solid #fecaca}
body.modal-open .toast-root{z-index:30000;top:14px;right:14px;bottom:auto;left:14px;align-items:center;pointer-events:none}
body.modal-open .toast{width:min(560px,calc(100vw - 28px));max-width:560px;font-size:13px;line-height:1.5;padding:14px 16px;text-align:left;pointer-events:auto;box-shadow:0 22px 60px rgba(15,23,42,.35)}
@media(max-width:700px){body.modal-open .toast-root{top:max(8px,env(safe-area-inset-top));right:8px;left:8px}.shipping-settings-inline-notice{font-size:11px}.shipping-saved-state,.shipping-missing-state{display:inline-flex;margin-top:4px;margin-left:0}}

/* v44 — modern müşteri kartı ve daha kompakt üretim föyü */
.customer-detail-modal{width:min(980px,calc(100vw - 28px));max-height:92vh;overflow:hidden;display:flex;flex-direction:column;background:#f3f6fb}
.customer-detail-head{flex:0 0 auto;padding:19px 21px;background:linear-gradient(135deg,#0b1f3a,#173963 72%,#245ea8);color:#fff;border:0}.customer-detail-identity{display:flex;align-items:center;gap:13px;min-width:0}.customer-detail-avatar{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#2dd4bf,#0ea5e9);color:#032334;font-size:13px;font-weight:950;box-shadow:0 10px 25px rgba(14,165,233,.24);flex:0 0 auto}.customer-detail-identity small{display:block;color:#8fdff1;font-size:8px;letter-spacing:.14em;font-weight:900}.customer-detail-identity h2{margin:4px 0 2px;color:#fff;font-size:21px;letter-spacing:-.025em}.customer-detail-identity p{margin:0;color:#c9d8ea;font-size:10px}.customer-detail-head-actions{display:flex;align-items:center;gap:8px}.customer-detail-head .btn.secondary,.customer-detail-head .icon-btn{background:rgba(255,255,255,.09);color:#fff;border-color:rgba(255,255,255,.17)}
.customer-detail-body{flex:1 1 auto;min-height:0;overflow:auto;padding:18px;background:linear-gradient(180deg,#edf2f8,#f7f9fc)}.customer-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.customer-detail-kpis article{display:flex;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #e0e7f0;background:#fff;border-radius:15px;box-shadow:0 7px 22px rgba(15,23,42,.045)}.customer-detail-kpis article>span{width:34px;height:34px;border-radius:11px;background:#eaf2ff;color:#2563eb;display:grid;place-items:center;font-size:14px;flex:0 0 auto}.customer-detail-kpis small,.customer-detail-kpis strong{display:block}.customer-detail-kpis small{font-size:7px;letter-spacing:.08em;color:#7c899d;font-weight:900}.customer-detail-kpis strong{font-size:11px;margin-top:4px;overflow-wrap:anywhere}.customer-detail-kpis article:nth-child(n+3) strong{font-size:18px;line-height:1}
.customer-detail-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.customer-detail-note-grid article{display:flex;align-items:flex-start;gap:11px;min-height:108px;padding:14px;border:1px solid #e0e7f0;background:#fff;border-radius:15px}.customer-detail-note-grid article>span{width:34px;height:34px;border-radius:11px;background:#ecfdf5;color:#059669;display:grid;place-items:center;font-size:15px;flex:0 0 auto}.customer-detail-note-grid article+article>span{background:#fff7ed;color:#ea580c}.customer-detail-note-grid small{font-size:7px;letter-spacing:.1em;color:#7c899d;font-weight:900}.customer-detail-note-grid h3{font-size:12px;margin:4px 0 5px}.customer-detail-note-grid p{font-size:10px;line-height:1.55;color:#64748b;margin:0;white-space:pre-wrap}
.customer-order-history{margin-top:10px;border:1px solid #dfe6ef;background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.045)}.customer-order-history-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid #e5ebf2}.customer-order-history-head small{font-size:7px;letter-spacing:.1em;color:#2563eb;font-weight:900}.customer-order-history-head h3{font-size:14px;margin:3px 0}.customer-order-history-head p{font-size:9px;color:#7c899d;margin:0}.customer-order-history-head>span{padding:7px 10px;border-radius:999px;background:#eef4ff;color:#2563eb;font-size:9px;font-weight:900}.customer-order-list{display:grid}.customer-order-row{width:100%;display:grid;grid-template-columns:minmax(150px,.85fr) minmax(180px,1.2fr) 72px 115px 26px;gap:12px;align-items:center;border:0;border-bottom:1px solid #edf1f5;background:#fff;padding:12px 16px;text-align:left;color:var(--text);cursor:pointer;transition:.16s}.customer-order-row:last-child{border-bottom:0}.customer-order-row:hover{background:#f7faff}.customer-order-main strong,.customer-order-main small,.customer-order-quantity b,.customer-order-quantity small{display:block}.customer-order-main strong{font-size:10px}.customer-order-main small{font-size:8px;color:#8794a7;margin-top:3px}.customer-order-product{font-size:10px;color:#475569}.customer-order-quantity{text-align:center}.customer-order-quantity b{font-size:14px}.customer-order-quantity small{font-size:7px;color:#8794a7}.customer-order-stage{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:850}.customer-order-stage i{width:8px;height:8px;border-radius:50%;background:var(--customer-stage);box-shadow:0 0 0 4px color-mix(in srgb,var(--customer-stage) 13%,white)}.customer-order-arrow{font-size:16px;color:#94a3b8}.customer-order-empty{padding:30px;text-align:center;color:#7c899d}.customer-order-empty>span{font-size:24px}.customer-order-empty strong{display:block;font-size:11px;margin-top:6px}.customer-order-empty p{font-size:9px;margin:4px 0 0}
.foy-command-bar{border-radius:16px;padding:13px 15px;margin-bottom:10px}.foy-quantity-command strong{font-size:21px}.foy-quantity-command span{font-size:7px;margin-top:4px}.modern-production-sheet{border-radius:19px;box-shadow:0 16px 46px rgba(15,23,42,.09)}.foy-cover{padding:15px 18px}.foy-brand>span{width:42px;height:42px;border-radius:13px;font-size:12px}.foy-brand strong{font-size:16px}.foy-cover-order>strong{font-size:17px}.foy-customer-hero{padding:14px 16px 10px;gap:9px}.foy-customer-hero>div:first-child{border-radius:14px;padding:14px 15px}.foy-customer-hero h2{font-size:19px}.foy-deadline-card{min-width:190px;border-radius:14px;padding:12px 14px}.foy-deadline-card strong{font-size:17px}.foy-summary-grid{gap:8px;padding:0 16px 11px}.foy-summary-item{gap:8px;border-radius:13px;padding:10px}.foy-summary-icon{width:30px;height:30px;border-radius:9px;font-size:12px}.foy-content-layout{gap:10px;padding:0 16px 16px;grid-template-columns:minmax(0,1.65fr) minmax(290px,.68fr)}.foy-main-column,.foy-side-column{gap:10px}.foy-section,.foy-design-card,.foy-contact-card,.foy-check-card{border-radius:15px}.foy-section{padding:13px}.foy-section-title{margin-bottom:10px}.foy-section-title>span{width:28px;height:28px;border-radius:9px}.foy-section-title h3{font-size:12px}.foy-spec-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.foy-spec-item{border-radius:11px;padding:9px}.foy-size-groups{gap:7px}.foy-size-groups>article{border-radius:12px}.foy-size-groups header{padding:8px 10px}.foy-size-groups header strong{font-size:9px}.foy-size-groups header span{font-size:8px}.foy-size-groups article>div{gap:5px;padding:7px}.foy-size-groups article>div>div{min-height:44px;border-radius:9px}.foy-size-groups small{font-size:10px;font-weight:850}.foy-size-groups b{font-size:13px;margin-top:4px}.foy-instruction{min-height:96px;padding:10px}.foy-design-frame{height:390px;margin:10px}.foy-design-card footer>div{padding:9px 11px}
@media(max-width:1000px){.customer-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.foy-spec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.foy-content-layout{grid-template-columns:1fr}}
@media(max-width:650px){.customer-detail-modal{width:100%;max-height:98vh;border-radius:18px}.customer-detail-head{align-items:flex-start;padding:14px}.customer-detail-avatar{width:42px;height:42px}.customer-detail-head-actions .btn{display:none}.customer-detail-body{padding:10px}.customer-detail-kpis,.customer-detail-note-grid{grid-template-columns:1fr}.customer-detail-kpis article{padding:11px}.customer-detail-note-grid article{min-height:0}.customer-order-history-head{align-items:flex-start}.customer-order-history-head p{display:none}.customer-order-row{grid-template-columns:minmax(0,1fr) 52px 22px;padding:11px 12px;gap:8px}.customer-order-product{grid-column:1;font-size:9px}.customer-order-quantity{grid-column:2;grid-row:1/3}.customer-order-stage{grid-column:1}.customer-order-arrow{grid-column:3;grid-row:1/3}.foy-quantity-command strong{font-size:18px}.foy-summary-grid{padding-left:10px;padding-right:10px}.foy-content-layout{padding-left:10px;padding-right:10px}.foy-spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.foy-size-groups article>div>div{min-height:42px}.foy-size-groups small{font-size:9px}.foy-size-groups b{font-size:12px}}

/* v45 — modern müşteri portföyü */
.customer-directory{display:grid;gap:18px}.customer-directory-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px 26px;border:1px solid #dce5f0;border-radius:22px;background:linear-gradient(118deg,#0b1f3a 0%,#143967 58%,#1f5eff 140%);box-shadow:0 18px 45px rgba(11,31,58,.15);color:#fff}.customer-directory-hero:after{content:"";position:absolute;right:-65px;top:-105px;width:275px;height:275px;border-radius:50%;background:radial-gradient(circle,rgba(93,196,255,.26),transparent 68%);pointer-events:none}.customer-directory-copy,.customer-directory-actions{position:relative;z-index:1}.customer-directory-copy>span{display:block;color:#71e5ef;font-size:8px;letter-spacing:.16em;font-weight:950}.customer-directory-copy h2{margin:6px 0 5px;color:#fff;font-size:23px;letter-spacing:-.035em}.customer-directory-copy p{margin:0;max-width:540px;color:#bfd0e5;font-size:10px;line-height:1.55}.customer-directory-actions{display:flex;align-items:center;gap:13px}.customer-directory-summary{display:flex;align-items:stretch;padding:5px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(6,20,39,.28);backdrop-filter:blur(10px)}.customer-directory-summary>span{display:grid;min-width:70px;padding:7px 12px;text-align:center}.customer-directory-summary>span+span{border-left:1px solid rgba(255,255,255,.12)}.customer-directory-summary small{color:#93abc7;font-size:7px;letter-spacing:.1em;font-weight:900}.customer-directory-summary b{margin-top:3px;color:#fff;font-size:16px}.customer-add-btn{min-height:46px;padding:0 17px;border:1px solid rgba(255,255,255,.18)!important;background:linear-gradient(135deg,#2dd4bf,#10b8c4)!important;color:#032334!important;box-shadow:0 10px 25px rgba(16,184,196,.24)!important}.customer-add-btn span{font-size:16px}.customer-search-status{display:flex;align-items:center;gap:6px;margin:-4px 2px -2px;color:#64748b;font-size:10px}.customer-search-status>span{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#e8efff;color:#1f5eff;font-size:14px}.customer-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-directory-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:246px;padding:18px;border:1px solid #dfe6ef;border-radius:20px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 12px 34px rgba(19,38,67,.07);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.customer-directory-card:hover,.customer-directory-card:focus-visible{transform:translateY(-4px);border-color:#9ab7ff;box-shadow:0 20px 42px rgba(19,38,67,.14);outline:0}.customer-card-accent{position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#1f5eff,#28c7c3 70%,#8b5cf6);opacity:.9}.customer-directory-card .customer-head{align-items:center}.customer-identity{display:flex;align-items:center;gap:11px;min-width:0}.customer-directory-card .customer-avatar{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,#e5edff,#e9fbfb);border:1px solid #d9e4fa;color:#1f5eff;box-shadow:0 7px 16px rgba(31,94,255,.1);font-size:12px;flex:0 0 auto}.customer-identity>div{min-width:0}.customer-identity small{display:block;color:#76859a;font-size:7px;letter-spacing:.12em;font-weight:900}.customer-directory-card h3{margin:4px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#16243c;font-size:14px}.customer-edit-btn{width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:#f6f8fc;color:#3d587d}.customer-edit-btn:hover{background:#e8efff;color:#1f5eff;border-color:#b9ccff}.customer-contact-list{display:grid;gap:7px;margin:17px 0 14px}.customer-contact-list>span{display:flex;align-items:center;gap:8px;min-width:0;color:#66758a;font-size:9px}.customer-contact-list i{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#eef4ff;color:#1f5eff;font-style:normal;font-size:8px;flex:0 0 auto}.customer-contact-list>span:first-child i{background:#eafaf7;color:#069685;font-size:6px}.customer-contact-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:720}.customer-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto}.customer-stats div{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:11px 12px;border:1px solid #e7edf5;border-radius:13px;background:#f6f8fb}.customer-stats span{margin:0;color:#76859a;font-size:7px;letter-spacing:.08em;font-weight:900}.customer-stats strong{grid-column:2;grid-row:1/3;color:#17243b;font-size:18px;line-height:1}.customer-stats small{color:#91a0b2;font-size:7px}.customer-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px -18px -18px;padding:11px 18px;border-top:1px solid #edf1f6;background:#fafcff;color:#738399;font-size:8px;font-weight:750}.customer-card-foot b{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#eaf1ff;color:#1f5eff;font-size:13px;transition:.18s}.customer-directory-card:hover .customer-card-foot b{background:#1f5eff;color:#fff;transform:translateX(2px)}.customer-directory-empty{grid-column:1/-1;padding:54px 24px;text-align:center;border:1px dashed #cbd7e5;border-radius:20px;background:#fff;color:#718096}.customer-directory-empty>span{font-size:28px;color:#9aa9ba}.customer-directory-empty h3{margin:7px 0 3px;font-size:14px}.customer-directory-empty p{margin:0;font-size:10px}
@media(max-width:1160px){.customer-directory-hero{align-items:flex-start}.customer-directory-actions{align-items:flex-end;flex-direction:column}.customer-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.customer-directory{gap:12px}.customer-directory-hero{display:grid;padding:18px;border-radius:18px}.customer-directory-actions{align-items:stretch}.customer-directory-summary{width:100%}.customer-directory-summary>span{min-width:0;flex:1}.customer-add-btn{width:100%;justify-content:center}.customer-directory-grid{grid-template-columns:1fr;gap:11px}.customer-directory-card{min-height:230px;padding:15px;border-radius:17px}.customer-card-foot{margin:12px -15px -15px;padding:10px 15px}.customer-directory-copy h2{font-size:20px}}


/* v39 — MNG modal bildirimi her zaman görünür ve okunabilir */
.shipping-modal{position:relative;display:flex;flex-direction:column;overflow:hidden!important}
.shipping-modal .modal-head{flex:0 0 auto;position:relative;z-index:12;background:#fff}
.shipping-modal .modal-body{flex:1 1 auto;min-height:0;overflow:auto}
.shipping-modal .modal-foot{flex:0 0 auto;position:relative;z-index:12;background:#fff}
.shipping-settings-inline-notice{flex:0 0 auto;position:relative!important;top:auto!important;z-index:20!important;margin:0!important;border-radius:0!important;padding:14px 18px!important;display:grid;grid-template-columns:34px minmax(0,1fr) 32px;align-items:start;gap:12px;font-size:13px!important;line-height:1.55!important;box-shadow:0 8px 20px rgba(15,23,42,.12)!important}
.shipping-settings-inline-notice.hidden{display:none!important}
.shipping-settings-inline-notice.error{background:#fff1f2!important;color:#7f1d1d!important;border:0!important;border-top:1px solid #fecaca!important;border-bottom:1px solid #fecaca!important}
.shipping-settings-inline-notice.success{background:#ecfdf5!important;color:#14532d!important;border:0!important;border-top:1px solid #a7f3d0!important;border-bottom:1px solid #a7f3d0!important}
.shipping-notice-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:18px;font-weight:950;background:rgba(255,255,255,.72);border:1px solid currentColor}
.shipping-notice-copy{min-width:0;display:block;overflow-wrap:anywhere;word-break:break-word}
.shipping-notice-copy strong{display:block;font-size:13px;margin-bottom:2px}
.shipping-notice-copy>span{display:block;font-weight:650;white-space:normal}
.shipping-notice-close{width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.72);color:inherit;font-size:20px;line-height:1;cursor:pointer}
.shipping-notice-close:hover{background:#fff}
@media(max-width:700px){.shipping-settings-inline-notice{grid-template-columns:30px minmax(0,1fr) 28px;padding:12px!important;gap:9px;font-size:12px!important}.shipping-notice-icon{width:28px;height:28px;font-size:16px}.shipping-modal .modal-foot{padding-bottom:max(12px,env(safe-area-inset-bottom))}}

/* v48 — renkli üretim föyü, alan yetkileri ve doğrudan tasarım yükleme */
.colorful-production-sheet{background:linear-gradient(145deg,#edf4ff 0%,#f7f5ff 48%,#eefbf8 100%);border-color:#d7e3f2}
.colorful-production-sheet .foy-cover{position:relative;overflow:hidden;background:linear-gradient(118deg,#0b1f3a 0%,#153b6e 58%,#4c1d95 125%)}
.colorful-production-sheet .foy-cover:after{content:"";position:absolute;right:22%;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(45,212,191,.24),transparent 68%);pointer-events:none}
.colorful-production-sheet .foy-cover>*{position:relative;z-index:1}
.colorful-production-sheet .foy-customer-hero>div:first-child{background:linear-gradient(135deg,#fff,#f5f8ff);border-left:4px solid #2563eb}
.colorful-production-sheet .foy-summary-item{box-shadow:0 7px 20px rgba(30,64,175,.055)}
.colorful-production-sheet .foy-summary-item:nth-child(1) .foy-summary-icon{background:#e8efff;color:#1d4ed8}
.colorful-production-sheet .foy-summary-item:nth-child(2) .foy-summary-icon{background:#e8fbf7;color:#047857}
.colorful-production-sheet .foy-summary-item:nth-child(3) .foy-summary-icon{background:#fff3df;color:#b45309}
.colorful-production-sheet .foy-summary-item:nth-child(4) .foy-summary-icon{background:#f1eaff;color:#7c3aed}
.colorful-production-sheet .foy-summary-item:nth-child(5) .foy-summary-icon{background:#ffecef;color:#be123c}
.colorful-production-sheet .foy-section{border-top:3px solid #5b7cfa}
.colorful-production-sheet .foy-size-section{border-top-color:#12b8a6}
.colorful-production-sheet .foy-main-column>.foy-section:nth-of-type(3){border-top-color:#f59e0b}
.colorful-production-sheet .foy-spec-item:nth-child(4n+1){background:#f3f6ff;border-color:#dce5ff}
.colorful-production-sheet .foy-spec-item:nth-child(4n+2){background:#effbf8;border-color:#d6f4ed}
.colorful-production-sheet .foy-spec-item:nth-child(4n+3){background:#fff8eb;border-color:#fce8bd}
.colorful-production-sheet .foy-spec-item:nth-child(4n+4){background:#faf5ff;border-color:#eadcff}
.colorful-production-sheet .foy-design-card{border-top:3px solid #8b5cf6}
.foy-design-frame{position:relative}
.design-replace-button{position:absolute;right:10px;bottom:10px;min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:rgba(11,31,58,.88);backdrop-filter:blur(8px);color:#fff;font-size:9px;font-weight:900;cursor:pointer;box-shadow:0 8px 20px rgba(11,31,58,.24)}
.design-replace-button:hover{background:#1f5eff}
.design-quick-upload-modal{width:min(680px,100%)}
.design-quick-drop{display:flex;align-items:center;justify-content:center;gap:14px;min-height:155px;padding:22px;border:2px dashed #a9bde3;border-radius:18px;background:linear-gradient(145deg,#f7faff,#edf4ff);cursor:pointer;text-align:left;transition:.18s}
.design-quick-drop:hover{border-color:#4f70e8;background:#f2f6ff;transform:translateY(-1px)}
.design-quick-drop input{position:absolute;width:1px;height:1px;opacity:0}
.design-quick-drop>span{width:55px;height:55px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#4f46e5,#2563eb);color:#fff;font-size:25px;box-shadow:0 10px 24px rgba(37,99,235,.25)}
.design-quick-drop strong,.design-quick-drop small{display:block}.design-quick-drop strong{font-size:14px}.design-quick-drop small{margin-top:5px;color:#6b7a90;font-size:10px}
.quick-design-preview{display:flex;align-items:center;gap:12px;margin-top:13px;padding:11px;border:1px solid #dce5f1;border-radius:14px;background:#fff}
.quick-design-preview img{width:82px;height:68px;border-radius:10px;object-fit:contain;background:#f3f6fa;border:1px solid #e6ebf2}.quick-design-preview strong,.quick-design-preview small{display:block}.quick-design-preview strong{font-size:11px}.quick-design-preview small{margin-top:4px;color:#748197;font-size:9px}
.foy-payment-card,.foy-file-number-card{background:#fff;border:1px solid #e1e8f1;border-radius:15px;box-shadow:0 7px 22px rgba(15,23,42,.04);overflow:hidden}
.foy-finance-card{border-top:3px solid #10b981}
.foy-finance-card>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:linear-gradient(135deg,#ecfdf5,#f5fffb);border-bottom:1px solid #d5f5e6}.foy-finance-card>header small,.foy-finance-card>header strong{display:block}.foy-finance-card>header small{font-size:7px;letter-spacing:.1em;color:#047857;font-weight:900}.foy-finance-card>header strong{margin-top:4px;color:#065f46;font-size:14px}.foy-finance-card>header>span{padding:5px 8px;border-radius:999px;background:#fff;color:#047857;font-size:7px;font-weight:900;border:1px solid #a7f3d0}
.foy-finance-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e6edf5}.foy-finance-kpis>div{padding:10px 8px;background:#fff}.foy-finance-kpis small,.foy-finance-kpis b{display:block}.foy-finance-kpis small{font-size:6px;letter-spacing:.07em;color:#748197;font-weight:900}.foy-finance-kpis b{font-size:9px;margin-top:5px;color:#142033}
.foy-latest-payment{margin:10px;padding:10px 11px;border-radius:11px;background:#effaf7;border:1px solid #ccefe5}.foy-latest-payment span,.foy-latest-payment strong,.foy-latest-payment small{display:block}.foy-latest-payment span{font-size:6px;letter-spacing:.1em;color:#078773;font-weight:900}.foy-latest-payment strong{font-size:10px;margin-top:4px}.foy-latest-payment small{font-size:8px;color:#60756f;margin-top:3px}.foy-finance-card>p{margin:12px;color:#748197;font-size:9px}
.foy-payment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #edf1f6}.foy-payment-row span,.foy-payment-row strong,.foy-payment-row small{display:block}.foy-payment-row strong{font-size:8px}.foy-payment-row small{font-size:7px;color:#748197;margin-top:2px}.foy-payment-row>b{font-size:9px;color:#047857}
.foy-file-number-card{padding:14px;border-top:3px solid #f59e0b;background:linear-gradient(145deg,#fff,#fffaf0)}.foy-file-number-card small,.foy-file-number-card strong{display:block}.foy-file-number-card small{font-size:7px;letter-spacing:.1em;color:#a16207;font-weight:900}.foy-file-number-card strong{font-size:15px;margin-top:5px;color:#713f12}.foy-file-number-card p{font-size:8px;line-height:1.45;color:#8a6a3c;margin:5px 0 0}.foy-file-number-form{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:11px}.foy-file-number-form input{min-width:0;height:36px;border:1px solid #f2d49c;border-radius:10px;padding:0 10px;background:#fff;font-size:10px;font-weight:800;color:#713f12}
.payment-modal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px}.payment-modal-summary>div{padding:13px;border:1px solid #dfe7f2;border-radius:13px;background:#f7f9fd}.payment-modal-summary small,.payment-modal-summary strong{display:block}.payment-modal-summary small{font-size:7px;letter-spacing:.09em;color:#748197;font-weight:900}.payment-modal-summary strong{margin-top:5px;font-size:14px}.payment-modal-summary>div:nth-child(2){background:#effbf8;border-color:#ccefe5}.payment-modal-summary>div:nth-child(3){background:#fff8eb;border-color:#fce2ae}
.sheet-access-locked{display:flex;align-items:flex-start;gap:14px;padding:22px;border:1px solid #dce5f1;border-radius:18px;background:#fff;color:#263853}.sheet-access-locked>span{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#eef3ff;color:#315fe6;font-size:20px}.sheet-access-locked strong{font-size:13px}.sheet-access-locked p{max-width:620px;margin:5px 0 0;color:#708097;font-size:10px;line-height:1.55}
.capability-permission-group+ .capability-permission-group{margin-top:15px}.capability-permission-group h4{margin:0 0 8px;color:#657188;font-size:9px;letter-spacing:.09em;text-transform:uppercase}.capability-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.capability-permission-choice{position:relative;display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid #e1e7f0;border-radius:13px;background:#fff;cursor:pointer;transition:.18s}.capability-permission-choice:hover{border-color:#9db4f5;background:#fafcff}.capability-permission-choice input{position:absolute;opacity:0;pointer-events:none}.capability-permission-choice>span{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#eef3ff;color:#315fe6;font-size:15px;flex:0 0 auto}.capability-permission-choice>div{min-width:0}.capability-permission-choice strong,.capability-permission-choice small{display:block}.capability-permission-choice strong{font-size:10px}.capability-permission-choice small{margin-top:3px;color:#748197;font-size:8px;line-height:1.35}.capability-permission-choice>i{margin-left:auto;width:21px;height:21px;border:1px solid #cbd5e1;border-radius:7px;display:grid;place-items:center;color:transparent;font-size:10px;font-style:normal;flex:0 0 auto}.capability-permission-choice:has(input:checked){border-color:#7c9df1;background:#f1f5ff;box-shadow:0 0 0 2px #e7edff}.capability-permission-choice:has(input:checked)>i{background:#315fe6;border-color:#315fe6;color:#fff}.permission-security-note{display:flex;align-items:flex-start;gap:10px;margin-top:13px;padding:11px 12px;border:1px solid #f5d391;border-radius:12px;background:#fffbeb;color:#7c5310}.permission-security-note>span{font-size:14px}.permission-security-note p{margin:0;font-size:8px;line-height:1.5}.permission-badges.capabilities span{background:#eef3ff;color:#315fe6}.permission-badges.capabilities b{align-self:center;color:#315fe6;font-size:9px}

@media(max-width:700px){.capability-permission-grid{grid-template-columns:1fr}.payment-modal-summary{grid-template-columns:1fr}.foy-finance-kpis{grid-template-columns:1fr}.foy-file-number-form{grid-template-columns:1fr}.design-quick-drop{align-items:flex-start;flex-direction:column}.sheet-access-locked{padding:15px}}

@page{size:A4 landscape;margin:6mm}
@media print{
  html,body.print-production-sheet{width:285mm!important;min-height:198mm!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}
  body.print-production-sheet{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .print-production-sheet .modern-production-sheet{width:1900px!important;max-width:none!important;zoom:.55!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  .print-production-sheet .foy-cover{padding:13px 17px!important}.print-production-sheet .foy-brand>span{width:38px!important;height:38px!important}.print-production-sheet .foy-brand strong{font-size:15px!important}.print-production-sheet .foy-customer-hero{padding:9px 13px 7px!important}.print-production-sheet .foy-customer-hero>div:first-child{padding:10px 12px!important}.print-production-sheet .foy-customer-hero h2{font-size:17px!important}.print-production-sheet .foy-deadline-card{padding:8px 11px!important}.print-production-sheet .foy-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:0 13px 8px!important;gap:6px!important}.print-production-sheet .foy-summary-item{padding:7px!important}.print-production-sheet .foy-content-layout{grid-template-columns:minmax(0,1.7fr) minmax(340px,.62fr)!important;gap:7px!important;padding:0 13px 8px!important}.print-production-sheet .foy-main-column,.print-production-sheet .foy-side-column{gap:6px!important}.print-production-sheet .foy-section{padding:8px!important}.print-production-sheet .foy-section-title{margin-bottom:6px!important}.print-production-sheet .foy-spec-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important}.print-production-sheet .foy-spec-item{padding:6px!important}.print-production-sheet .foy-size-groups{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.print-production-sheet .foy-size-groups header{padding:5px 7px!important}.print-production-sheet .foy-size-groups article>div{padding:4px!important;gap:3px!important}.print-production-sheet .foy-size-groups article>div>div{min-height:31px!important}.print-production-sheet .foy-instruction{min-height:62px!important;padding:6px!important}.print-production-sheet .foy-general-note{padding:7px 9px!important}.print-production-sheet .foy-general-note p{margin-top:4px!important}.print-production-sheet .foy-design-frame{height:260px!important;margin:6px!important}.print-production-sheet .foy-design-card footer>div{padding:5px 7px!important}.print-production-sheet .foy-version-card,.print-production-sheet .foy-check-card,.print-production-sheet .design-replace-button,.print-production-sheet .foy-file-number-form,.print-production-sheet .btn{display:none!important}.print-production-sheet .foy-contact-card,.print-production-sheet .foy-file-number-card{padding:8px!important}.print-production-sheet .foy-finance-card>header{padding:7px 9px!important}.print-production-sheet .foy-finance-kpis>div{padding:6px!important}.print-production-sheet .foy-latest-payment{margin:5px;padding:6px!important}.print-production-sheet .foy-payment-row{padding:4px 7px!important}.print-production-sheet .foy-section,.print-production-sheet .foy-design-card,.print-production-sheet .foy-payment-card,.print-production-sheet .foy-file-number-card,.print-production-sheet .foy-contact-card{break-inside:avoid!important}
}

/* WEN SPORT v52 — üretim föyü üst bilgi, finans özeti ve dosya numarası düzenleme */
.foy-top-info-grid{grid-template-columns:minmax(0,1.25fr) minmax(190px,.85fr) minmax(190px,.85fr);align-items:stretch}
.foy-top-info-grid.without-file-number{grid-template-columns:minmax(0,1fr) minmax(220px,.42fr)}
.foy-top-info-grid .foy-customer-card{min-width:0}
.foy-top-file-card{border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#f5f3ff,#fff);border:1px solid #ddd6fe;box-shadow:inset 4px 0 0 #7c3aed}
.foy-top-file-card small,.foy-top-file-card strong,.foy-top-file-card span{display:block}
.foy-top-file-card small{font-size:8px;letter-spacing:.12em;color:#6d28d9;font-weight:900}
.foy-top-file-card strong{font-size:17px;line-height:1.25;margin:5px 0 3px;color:#4c1d95;overflow-wrap:anywhere}
.foy-top-file-card span{font-size:8px;color:#8b5cf6;font-weight:750}
.foy-top-file-card.has-number{background:linear-gradient(145deg,#fff7d6,#fff);border-color:#f59e0b;box-shadow:inset 4px 0 0 #f59e0b}
.foy-top-file-card.has-number small,.foy-top-file-card.has-number strong{color:#92400e}.foy-top-file-card.has-number span{color:#a16207}
.foy-finance-summary-card{background:#fff;border:1px solid #dfe7f1;border-radius:15px;box-shadow:0 7px 22px rgba(15,23,42,.04);overflow:hidden;border-top:3px solid #2563eb}
.foy-finance-summary-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px dashed #dce5f0}
.foy-finance-summary-row:last-child{border-bottom:0}
.foy-finance-summary-row>span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eef4ff;color:#1d4ed8;font-size:11px;font-weight:900}
.foy-finance-summary-row small,.foy-finance-summary-row em,.foy-finance-summary-row strong{display:block}
.foy-finance-summary-row small{font-size:7px;letter-spacing:.08em;color:#64748b;font-weight:900}
.foy-finance-summary-row em{margin-top:3px;font-size:7px;color:#94a3b8;font-style:normal}
.foy-finance-summary-row strong{max-width:155px;text-align:right;font-size:10px;line-height:1.35;color:#142033;overflow-wrap:anywhere}
.production-file-number-field input{font-weight:850;letter-spacing:.02em}
.production-sheet-edit-modal .modal-body{padding-top:18px;padding-bottom:18px}
.production-sheet-edit-modal .production-file-number-field{padding:14px;border:1px solid #ddd6fe;border-radius:14px;background:linear-gradient(145deg,#faf5ff,#fff)}
@media(max-width:900px){.foy-top-info-grid,.foy-top-info-grid.without-file-number{grid-template-columns:1fr}.foy-top-file-card,.foy-deadline-card{min-width:0}.foy-finance-summary-row strong{max-width:none}}

/* v104 — rol bazlı günlük iş listesi ve ortak durum görünümü */
.dashboard-focus-panel{margin-bottom:16px}.dashboard-focus-panel .panel-kicker{display:block;margin-bottom:5px;color:#315fe6;font-size:9px;font-weight:900;letter-spacing:.11em}.dashboard-focus-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-focus-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:12px 13px;border:1px solid #e1e8f2;border-radius:13px;background:#fff;color:var(--text);text-align:left;cursor:pointer;transition:.16s}.dashboard-focus-card:hover,.dashboard-focus-card:focus-visible{border-color:#91aaf0;background:#f6f8ff;transform:translateY(-1px);outline:0}.dashboard-focus-card.is-late{border-left:4px solid #ef4444}.dashboard-focus-main{display:grid;gap:4px;min-width:0}.dashboard-focus-main strong,.dashboard-focus-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-focus-main strong{font-size:11px}.dashboard-focus-main small{color:var(--muted);font-size:9px}.dashboard-focus-stage{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:#f4f7fb;color:#43516a;font-size:8px;font-weight:850;white-space:nowrap}.dashboard-focus-stage i{width:7px;height:7px;border-radius:50%}.dashboard-focus-date{font-size:9px;font-weight:850;color:#64748b;white-space:nowrap}.dashboard-focus-card.is-late .dashboard-focus-date{color:#dc2626}.dashboard-focus-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:9px;padding:24px;border:1px dashed #cbd5e1;border-radius:13px;color:#64748b}.dashboard-focus-empty span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#dcfce7;color:#15803d}
@media(max-width:900px){.dashboard-focus-list{grid-template-columns:1fr}.dashboard-focus-card{grid-template-columns:minmax(0,1fr) auto}.dashboard-focus-date{grid-column:2}.dashboard-focus-stage{grid-column:1;grid-row:2;justify-self:start}}
@media(max-width:520px){.dashboard-focus-panel .panel-head{align-items:stretch;flex-direction:column}.dashboard-focus-panel .panel-head .btn{width:100%}.dashboard-focus-card{grid-template-columns:1fr}.dashboard-focus-stage,.dashboard-focus-date{grid-column:1;grid-row:auto;justify-self:start}}

/* v91 — Özel yazdırmada 4XL ve 5XL aynı yetişkin beden satırında */
.foy-size-groups article.adult>div{grid-template-columns:repeat(8,minmax(0,1fr))}
@media(max-width:700px){.foy-size-groups article.adult>div{grid-template-columns:repeat(8,minmax(54px,1fr))}}
@media print{.print-production-sheet .foy-size-groups article.adult>div{grid-template-columns:repeat(8,minmax(0,1fr))!important}}

/* v93 — sipariş düzenlemedeki genel üretim açıklaması föyde satır sonlarını korur */
.foy-general-note p{white-space:pre-wrap}
