.s668-matrix-overlay{position:fixed;inset:0;z-index:1780;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,17,52,.72);font-family:Inter,system-ui,sans-serif}
.s668-matrix-shell{display:flex;width:min(1540px,calc(100vw - 32px));height:min(930px,calc(100vh - 32px));min-width:0;flex-direction:column;overflow:hidden;border:1px solid #dce4f0;border-radius:16px;background:#f6f8fc;color:#0b1b48;box-shadow:0 28px 90px rgba(4,16,49,.3)}
.s668-matrix-head{display:flex;flex:0 0 auto;align-items:flex-start;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #e1e7f0;background:#fff}.s668-matrix-head>div{min-width:0}.s668-matrix-head span{color:#2f6df6;font-size:10px;font-weight:800;letter-spacing:.08em}.s668-matrix-head h2{margin:5px 0 2px;font-size:25px;line-height:1.1}.s668-matrix-head p{margin:0;color:#71809a;font-size:11px}.s668-matrix-close{display:grid;width:40px;height:40px;flex:0 0 auto;place-items:center;border:1px solid #d8e1ee;border-radius:50%;background:#fff;color:#61738f;font-size:24px;cursor:pointer}
.s668-matrix-notice{display:flex;align-items:center;gap:12px;padding:10px 24px;border-bottom:1px solid #bcebd5;background:#ecfdf4;color:#0d6a4a;font-size:11px}.s668-matrix-notice strong{white-space:nowrap}.s668-matrix-notice span{color:#4f7568}
.s668-sourcebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,340px) auto;align-items:center;gap:14px;padding:10px 18px;border-bottom:1px solid #dfe6ef;background:#f8fafc}.s668-sourcebar>div{display:grid;min-width:0;gap:2px}.s668-sourcebar>div>span{color:#2563eb;font-size:8px;font-weight:800;letter-spacing:.08em}.s668-sourcebar>div>strong{overflow:hidden;color:#0b1b48;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.s668-sourcebar>div>small{overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.s668-sourcebar label{display:grid;gap:4px;color:#64748b;font-size:8px;font-weight:700}.s668-sourcebar select{height:34px;min-width:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 9px;color:#0b1b48;font:600 10px inherit}.s668-sourcebar button{height:34px;border:1px solid #b8c8e0;border-radius:8px;background:#fff;padding:0 12px;color:#17336b;font:700 9px inherit;cursor:pointer}.s668-sourcebar.editable{box-shadow:inset 3px 0 0 #10b981}.s668-sourcebar.saving{background:#fff9e9;box-shadow:inset 3px 0 0 #f59e0b}.s668-sourcebar.saved{background:#effcf5;box-shadow:inset 3px 0 0 #10b981}.s668-sourcebar.error{background:#fff1f2;box-shadow:inset 3px 0 0 #e54855}
.s668-matrix-tools{display:grid;grid-template-columns:minmax(200px,1fr) 160px 190px auto auto;align-items:end;gap:9px;padding:10px 18px;border-bottom:1px solid #dfe6ef;background:#fff}.s668-matrix-tools label{display:grid;gap:5px;color:#61718a;font-size:9px;font-weight:700}.s668-matrix-tools input,.s668-matrix-tools select{height:34px;min-width:0;border:1px solid #cfd9e7;border-radius:8px;background:#fff;padding:0 10px;color:#0b1b48;font:600 10px inherit}.s668-zoom{display:flex;align-items:center;gap:8px;height:34px;padding:0 9px;border:1px solid #cfd9e7;border-radius:8px}.s668-zoom input{width:100%;height:auto;padding:0;border:0}.s668-zoom output{min-width:34px;color:#285fd4;font-size:9px;font-weight:800}.s668-print,.s668-fit{height:34px;padding:0 12px;border:1px solid #0b1b48;border-radius:8px;background:#0b1b48;color:#fff;font:700 9px inherit;cursor:pointer;white-space:nowrap}.s668-fit{border-color:#b8c8e0;background:#fff;color:#17336b}
.s668-matrix-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #dfe6ef;background:#fff}.s668-matrix-metric{padding:10px 18px;border-right:1px solid #e3e8f0}.s668-matrix-metric:last-child{border-right:0}.s668-matrix-metric span{display:block;color:#71809a;font-size:8px;font-weight:800;letter-spacing:.07em}.s668-matrix-metric strong{display:block;margin-top:3px;font-size:20px}.s668-matrix-metric.danger strong{color:#c62838}.s668-matrix-metric.success strong{color:#07845a}
.s668-print-heading{display:none}.s668-matrix-scroll{min-height:0;flex:1;overflow:auto;padding:12px 14px 18px;overscroll-behavior:contain}.s668-matrix-empty{display:grid;min-height:280px;place-items:center;border:1px dashed #cbd5e1;border-radius:12px;background:#fff;color:#71809a;text-align:center}.s668-matrix-empty strong{display:block;margin-bottom:5px;color:#0b1b48;font-size:16px}
.s668-matrix-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;font-size:clamp(6px,calc(9px * var(--s668-zoom,1)),10px)}.s668-matrix-table th,.s668-matrix-table td{height:max(30px,calc(46px * var(--s668-zoom,1)));min-width:max(18px,calc(34px * var(--s668-zoom,1)));max-width:max(18px,calc(34px * var(--s668-zoom,1)));padding:2px;border-right:1px solid #d7dfeb;border-bottom:1px solid #d7dfeb;text-align:center;vertical-align:middle}.s668-matrix-table thead th{position:sticky;top:0;z-index:5;height:26px;background:#0b1b48;color:#fff;font-size:7px;font-weight:800;letter-spacing:.02em}.s668-matrix-table thead tr:nth-child(2) th{top:26px;height:24px;background:#17336b;color:#dbeafe}.s668-matrix-table .s668-class-head{position:sticky;left:0;z-index:7;width:124px;min-width:124px;max-width:124px;background:#0b1b48}.s668-matrix-table tbody th{position:sticky;left:0;z-index:3;width:124px;min-width:124px;max-width:124px;padding:6px 8px;background:#f8fafc;text-align:left}.s668-matrix-table tbody th strong,.s668-matrix-table tbody th small{display:block}.s668-matrix-table tbody th strong{font-size:10px}.s668-matrix-table tbody th small{margin-top:2px;overflow:hidden;color:#71809a;font-size:7px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.s668-matrix-table td{position:relative;background:#fbfcfe;color:#0b1b48}.s668-matrix-table td.inactive{background:repeating-linear-gradient(135deg,#f1f5f9 0,#f1f5f9 4px,#f8fafc 4px,#f8fafc 8px)}.s668-matrix-table td.filled{background:var(--cell-bg);box-shadow:inset 2px 0 0 var(--cell-accent)}.s668-matrix-table td strong,.s668-matrix-table td small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s668-matrix-table td strong{font-size:1em;font-weight:750}.s668-matrix-table td small{margin-top:1px;color:#52647e;font-size:.78em;font-weight:550}.s668-matrix-table td.draggable{cursor:grab;transition:transform .12s ease,box-shadow .12s ease}.s668-matrix-table td.draggable:hover{z-index:2;box-shadow:inset 2px 0 0 var(--cell-accent),0 4px 12px rgba(15,35,78,.16);transform:translateY(-1px)}.s668-matrix-table td.dragging{opacity:.42}.s668-matrix-table td.drag-over{outline:2px solid #2563eb;outline-offset:-2px;background:#eaf2ff!important}.s668-cell-grip{position:absolute;right:1px;bottom:0;display:none;color:#315dba;font-size:7px;font-style:normal;letter-spacing:-2px}.s668-matrix-table td.draggable:hover .s668-cell-grip{display:block}.s668-matrix-table td.conflict{background:#fff0f1!important;box-shadow:inset 0 0 0 2px #e54855}.s668-matrix-table td.conflict:after{content:"!";position:absolute;right:2px;top:2px;display:grid;width:11px;height:11px;place-items:center;border-radius:50%;background:#d92d3c;color:#fff;font-size:7px;font-weight:900}.s668-matrix-table tbody tr:hover th{background:#eef4ff}.s668-matrix-table tbody tr:hover td{filter:brightness(.985)}
.s668-matrix-foot{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;border-top:1px solid #dfe6ef;background:#fff;color:#71809a;font-size:9px}.s668-legend{display:flex;align-items:center;gap:13px}.s668-legend i{display:inline-block;width:9px;height:9px;margin-right:4px;border-radius:2px;background:#e9f2ff}.s668-legend .conflict{background:#ffd9dd}.s668-legend .empty{border:1px solid #d7dfeb;background:#fbfcfe}
@media(max-width:1050px){.s668-sourcebar{grid-template-columns:minmax(0,1fr) minmax(210px,290px)}.s668-sourcebar button{display:none}.s668-matrix-tools{grid-template-columns:1fr 150px 180px}.s668-print,.s668-fit{width:100%}}
@media(max-width:820px){.s668-matrix-overlay{padding:0}.s668-matrix-shell{width:100vw;height:100vh;border:0;border-radius:0}.s668-sourcebar{grid-template-columns:1fr}.s668-sourcebar>div>small{white-space:normal}.s668-matrix-tools{grid-template-columns:1fr 1fr}.s668-matrix-metrics{grid-template-columns:repeat(2,1fr)}.s668-matrix-notice span{display:none}}
@media print{
  html,body{width:100%!important;height:auto!important;margin:0!important;background:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  body>*:not(.s668-matrix-overlay){display:none!important}
  .s668-matrix-overlay{position:static!important;display:block!important;padding:0!important;background:#fff!important}
  .s668-matrix-shell{display:block!important;width:100%!important;height:auto!important;overflow:visible!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
  .s668-matrix-head,.s668-matrix-notice,.s668-sourcebar,.s668-matrix-tools,.s668-matrix-metrics,.s668-matrix-foot{display:none!important}
  .s668-print-heading{display:flex!important;align-items:flex-end;justify-content:space-between;margin:0 0 3mm;padding:0 0 2mm;border-bottom:1.2pt solid #0b1b48;color:#0b1b48}.s668-print-heading strong{font-size:13pt;font-weight:750}.s668-print-heading span{font-size:6.5pt;color:#52647e}
  .s668-matrix-scroll{display:block!important;width:100%!important;overflow:visible!important;padding:0!important}
  .s668-matrix-table{width:100%!important;min-width:0!important;max-width:100%!important;border:1px solid #94a3b8!important;table-layout:fixed!important;font-size:4.6pt!important;--s668-zoom:1!important}
  .s668-matrix-table th,.s668-matrix-table td{width:auto!important;min-width:0!important;max-width:none!important;height:7.2mm!important;padding:.45mm!important;border-color:#b8c4d5!important}
  .s668-matrix-table thead th{position:static!important;height:5.2mm!important;font-size:5.2pt!important}
  .s668-matrix-table thead tr:nth-child(2) th{height:4.5mm!important}
  .s668-matrix-table .s668-class-head,.s668-matrix-table tbody th{position:static!important;width:22mm!important;min-width:22mm!important;max-width:22mm!important;padding:1mm!important}
  .s668-matrix-table tbody th strong{font-size:6.2pt!important}.s668-matrix-table tbody th small{font-size:4.5pt!important}
  .s668-matrix-table td strong{font-size:4.7pt!important}.s668-matrix-table td small{font-size:3.8pt!important}
  .s668-cell-grip{display:none!important}
  @page{size:A3 landscape;margin:7mm}
}

/* Sprint 7.5.18 — okunaklı matris ve A3 sayfayı dolduran çarşaf çıktı */
.s668-matrix-table td strong{font-size:1.12em!important;font-weight:850!important;letter-spacing:.025em}
.s668-matrix-table td small{font-size:.74em!important}
@media print{
  .s668-print-heading{margin-bottom:3.5mm!important;padding:0 0 2.5mm!important}
  .s668-print-heading strong{font-size:14pt!important;letter-spacing:-.015em}
  .s668-print-heading span{font-size:7pt!important}
  .s668-matrix-table{width:100%!important;min-width:100%!important;max-width:100%!important;font-size:5.2pt!important}
  .s668-matrix-table tbody tr{height:calc(var(--s668-print-row-mm,8) * 1mm)!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .s668-matrix-table tbody th,.s668-matrix-table tbody td{height:inherit!important;min-height:7mm!important;padding:.55mm .35mm!important}
  .s668-matrix-table .s668-class-head,.s668-matrix-table tbody th{width:23mm!important;min-width:23mm!important;max-width:23mm!important}
  .s668-matrix-table tbody th strong{font-size:7pt!important}.s668-matrix-table tbody th small{font-size:4.8pt!important}
  .s668-matrix-table td strong{font-size:5.8pt!important;font-weight:850!important;letter-spacing:.02em!important}
  .s668-matrix-table td small{margin-top:.5mm!important;font-size:4.1pt!important}
  @page{size:A3 landscape;margin:6mm}
}

