
/* Son portal sürümündeki Okul Bilgisi ve KPI/Gösterge veri giriş düzeni */
#layerSchool .portal-school-excel-wrap{overflow:auto;border:1px solid #8ea9c4;border-radius:4px;background:#fff;box-shadow:none}
#layerSchool .portal-school-excel-table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed;background:#fff}
#layerSchool .portal-school-excel-table col.portal-label-col{width:15%}
#layerSchool .portal-school-excel-table col.portal-value-col{width:18.333%}
#layerSchool .portal-school-excel-table th,#layerSchool .portal-school-excel-table td{height:38px;padding:0;border:1px solid #9fb4ca;vertical-align:middle}
#layerSchool .portal-school-excel-table th{padding:6px 8px;background:#dfeaf4;color:#0a2d52;font-size:12px;line-height:1.2;text-align:left;font-weight:950}
#layerSchool .portal-school-excel-table td{background:#fff}
#layerSchool .portal-school-excel-table input,#layerSchool .portal-school-excel-table select,#layerSchool .portal-school-excel-table textarea{height:36px;min-height:36px;padding:5px 7px;font-size:12px;font-weight:700;color:#111827;background:#fff;border:0;border-radius:0;box-shadow:none}
#layerSchool .portal-school-excel-table input:disabled,#layerSchool .portal-school-excel-table select:disabled,#layerSchool .portal-school-excel-table textarea:disabled{background:#f4f7fa;color:#111827;-webkit-text-fill-color:#111827;opacity:1}
#layerSchool .portal-school-department-block{margin-top:12px}
#layerSchool .portal-school-department-block>label{display:block;padding:8px 10px;margin:0;background:#0f355d;color:#fff;border-radius:4px 4px 0 0;font-size:13px}
#layerSchool .portal-school-department-block .table-wrap{border-radius:0 0 4px 4px}
#layerSchool .portal-school-save-row{justify-content:flex-end;margin-top:10px}
#layerSchool .portal-school-save-row .primary{min-width:145px;height:38px;padding:7px 14px;border-radius:8px}

#layerData .portal-kpi-sheet-page{display:flex;flex-direction:column;gap:10px}
#layerData .portal-kpi-sheet-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px;box-shadow:0 6px 18px rgba(15,47,87,.08)}
#layerData .portal-kpi-title{margin:-2px 0 10px;padding:9px 12px;border-radius:8px;background:linear-gradient(135deg,#0a2d52 0%,#1d4ed8 70%,#06b6d4 100%);color:#fff;font-size:16px;line-height:1.2;font-weight:950}
#layerData .portal-kpi-notice{padding:8px 10px;border:1px solid #d4e1f0;border-left:5px solid #1d4ed8;border-radius:6px;background:#f8fbff;color:#475569;font-size:12px;font-weight:800}
#layerData .portal-kpi-top-grid{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:8px;align-items:end}
#layerData .portal-kpi-classification-grid{display:grid;grid-template-columns:130px minmax(300px,1fr) minmax(360px,1.15fr);gap:8px;align-items:end;margin:8px 0 9px}
#layerData .portal-kpi-classification-grid textarea{display:block!important;width:100%;height:58px;min-height:58px;padding:7px 9px;border:1px solid #7c3aed;border-radius:6px;background:#4b006f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px;line-height:1.3;font-weight:850;resize:none;overflow:auto}
#layerData .portal-kpi-field label,#layerData .portal-kpi-bottom-grid label{font-size:12px;margin-bottom:4px}
#layerData .portal-kpi-field input,#layerData .portal-kpi-field select,#layerData .portal-kpi-bottom-grid input,#layerData .portal-kpi-bottom-grid select{height:36px;min-height:36px;padding:5px 8px;border-radius:6px;font-size:12px}
#layerData #kpiScore{font-size:17px;text-align:center;font-weight:950}
#layerData #kpiDescriptor{width:100%;min-width:0}
#layerData #kpiScore{width:86px;max-width:86px;padding-left:5px;padding-right:5px}
#layerData .portal-gt-card{padding:8px;border:1px solid #d4e1f0;border-radius:8px;background:#fff}
#layerData .portal-gt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px;flex-wrap:wrap}
#layerData .portal-gt-title{font-size:14px;font-weight:1000;color:#0a2d52}
#layerData .portal-gt-subtitle{font-size:11px;font-weight:800;color:#64748b}
#layerData .portal-gt-table-wrap{overflow:auto;border:1px solid #9fb4ca;border-radius:4px}
#layerData .portal-gt-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:fixed;background:#fff}
#layerData .portal-metric-wrap{display:flex;flex-direction:column;gap:6px}
#layerData #kpiMetricChoice{width:100%;min-height:34px;font-weight:800}
#layerData .portal-gt-table th{padding:6px 7px;background:#0f355d;color:#fff;border:1px solid #214d78;font-size:11px;text-align:center;white-space:nowrap}
#layerData .portal-gt-table td{padding:0;border:1px solid #b6c7d8;vertical-align:top}
#layerData .portal-gt-table textarea{width:100%;height:78px;min-height:78px;padding:6px 7px;border:0;border-radius:0;background:#fff;font-size:11px;line-height:1.25;resize:none}
#layerData .portal-kpi-theme-row{margin:7px 0 3px}#layerData .portal-kpi-theme-row input{background:#f8fafc!important;color:#334155!important;border:1px solid #cbd5e1!important;font-weight:800}#layerData .portal-kpi-bottom-grid{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:8px;align-items:end;margin-top:8px}
#layerData .portal-evidence-source{margin-top:8px;padding:7px 9px;border:1px solid #d4e1f0;border-radius:6px;background:#f8fbff}
#layerData .portal-evidence-source label{font-size:11px;margin-bottom:3px}
#layerData .portal-evidence-source textarea{min-height:42px;height:42px;padding:5px 7px;border:0;background:transparent;font-size:11px;resize:none}
#layerData .portal-kpi-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:9px}
#layerData .portal-kpi-actions .primary{min-width:220px}
#layerData .portal-record-table th,#layerData .portal-record-table td{font-size:12px;padding:6px 7px}
#layerData .portal-record-table th{white-space:nowrap}
/* Kaydedilmiş Gösterge Verileri — kompakt kolon dengesi */
#layerData .portal-record-table{table-layout:fixed!important;min-width:900px!important;width:100%!important}
#layerData .portal-record-table th:nth-child(1),#layerData .portal-record-table td:nth-child(1){width:76px!important;text-align:center;white-space:nowrap}
#layerData .portal-record-table th:nth-child(2),#layerData .portal-record-table td:nth-child(2){width:auto!important;white-space:normal;overflow-wrap:anywhere}
#layerData .portal-record-table th:nth-child(3),#layerData .portal-record-table td:nth-child(3){width:70px!important;text-align:center;white-space:nowrap}
#layerData .portal-record-table th:nth-child(4),#layerData .portal-record-table td:nth-child(4){width:98px!important;text-align:center}
#layerData .portal-record-table th:nth-child(4){white-space:normal!important;line-height:1.15!important}
#layerData .portal-record-table th:nth-child(1){white-space:normal!important;line-height:1.15!important}
#layerData .portal-record-table th:nth-child(5),#layerData .portal-record-table td:nth-child(5){width:240px!important;white-space:normal;overflow-wrap:anywhere}
#layerData .portal-record-table th:nth-child(6),#layerData .portal-record-table td:nth-child(6){width:108px!important;min-width:108px!important;max-width:108px!important;text-align:center;white-space:nowrap!important;overflow:hidden;text-overflow:clip}
#layerData .portal-record-table td:nth-child(6){font-variant-numeric:tabular-nums}
#layerData .portal-record-table .visual-status{white-space:normal;line-height:1.15;padding:5px 7px}
@media(max-width:1100px){#layerData .portal-kpi-top-grid{grid-template-columns:1fr 1fr}#layerData .portal-kpi-classification-grid{grid-template-columns:1fr}}
@media(max-width:980px){
 #layerSchool .portal-school-excel-table,#layerSchool .portal-school-excel-table tbody,#layerSchool .portal-school-excel-table tr,#layerSchool .portal-school-excel-table th,#layerSchool .portal-school-excel-table td{display:block;width:100%}
 #layerSchool .portal-school-excel-table{min-width:0}
 #layerSchool .portal-school-excel-table th{border-bottom:0}
 #layerSchool .portal-school-excel-table td{border-top:0}
 #layerData .portal-kpi-top-grid,#layerData .portal-kpi-classification-grid,#layerData .portal-kpi-bottom-grid{grid-template-columns:1fr}
}

/* 18.08.2026 — GT puan açılır listeleri ve sabit alan okunabilirliği */
#layerData .portal-kpi-field label,
#layerData .portal-kpi-bottom-grid label,
#layerData .portal-evidence-source label{font-size:13px!important;font-weight:950!important;color:#0f2f57!important;letter-spacing:.01em}
#layerData #kpiScore.score-choice{width:100%!important;max-width:none!important;min-width:0!important;height:40px!important;font-size:13px!important;text-align:left!important;font-weight:900!important;padding:6px 30px 6px 9px!important;background:#111827!important;color:#fff!important;border:1px solid #111827!important}
#layerData #kpiScore.score-choice option{background:#fff;color:#111827;font-weight:800}
#layerData .portal-gt-table textarea,
#layerData .portal-gt-table textarea[readonly]{height:92px!important;min-height:92px!important;padding:8px 9px!important;background:#ffffff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;font-size:13px!important;line-height:1.42!important;font-weight:750!important;opacity:1!important}
#layerData .portal-gt-table th{font-size:12px!important;font-weight:950!important;letter-spacing:.01em}
#layerData #kpiIndicator.visual-readonly{background:#f8fafc!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;font-size:13px!important;font-weight:900!important;opacity:1!important}
#layerData .portal-evidence-source textarea,
#layerData .portal-evidence-source textarea[readonly]{min-height:48px!important;height:48px!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;font-size:12.5px!important;line-height:1.35!important;font-weight:800!important;opacity:1!important}

/* 18.08.2026 — Pasif alan okunabilirliği, Kalite Döngüsü/Puan genişlik dengesi */
#layerData .portal-kpi-classification-grid{grid-template-columns:minmax(250px,1fr) minmax(300px,1.15fr) 150px!important}
#layerData .portal-kpi-top-grid{grid-template-columns:minmax(0,1fr) 150px!important}
#layerData #kpiScore{width:150px!important;max-width:150px!important;min-width:150px!important}
#layerData #kpiScore.score-choice{width:150px!important;max-width:150px!important;min-width:150px!important;font-size:13px!important}
#layerData #kpiIndicator.visual-readonly{background:#123f72!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border-color:#123f72!important;font-size:13px!important;font-weight:950!important;opacity:1!important}
#layerData .portal-gt-table textarea,
#layerData .portal-gt-table textarea[readonly],
#layerData .portal-evidence-source textarea,
#layerData .portal-evidence-source textarea[readonly]{background:#f8fafc!important;color:#111827!important;-webkit-text-fill-color:#111827!important;font-weight:900!important;opacity:1!important}
#layerData input[readonly]:not(.visual-navy),
#layerData textarea[readonly],
#layerData input:disabled,
#layerData select:disabled,
#layerData textarea:disabled{color:#111827!important;-webkit-text-fill-color:#111827!important;opacity:1!important}
@media(max-width:1100px){#layerData .portal-kpi-classification-grid{grid-template-columns:1fr 1fr 150px!important}}
@media(max-width:980px){#layerData .portal-kpi-classification-grid,#layerData .portal-kpi-top-grid{grid-template-columns:1fr!important}#layerData #kpiScore,#layerData #kpiScore.score-choice{width:100%!important;max-width:none!important;min-width:0!important}}

/* Action plan text-alignment/readability fix */
#layerAction .action-plan-table{min-width:2140px!important;table-layout:fixed!important}
#layerAction .action-plan-table th,#layerAction .action-plan-table td{vertical-align:top!important}
#layerAction .action-plan-table th:nth-child(6),#layerAction .action-plan-table td:nth-child(6){width:320px!important}
#layerAction .action-plan-table th:nth-child(7),#layerAction .action-plan-table td:nth-child(7){width:340px!important}
#layerAction .action-plan-table th:nth-child(8),#layerAction .action-plan-table td:nth-child(8){width:25ch!important;min-width:25ch!important;max-width:25ch!important}
#layerAction .action-plan-table th:nth-child(9),#layerAction .action-plan-table td:nth-child(9),#layerAction .action-plan-table th:nth-child(10),#layerAction .action-plan-table td:nth-child(10){width:15ch!important;min-width:15ch!important;max-width:15ch!important}
#layerAction .action-plan-table .action-problem-cell,#layerAction .action-plan-table .action-activity-cell,#layerAction .action-plan-table .action-responsible-cell,#layerAction .action-plan-table .action-start-cell{padding:8px!important;vertical-align:top!important}
#layerAction .action-plan-table .action-problem-cell textarea,#layerAction .action-plan-table .action-activity-cell textarea,#layerAction .action-plan-table .action-responsible-cell textarea{display:block!important;width:100%!important;height:auto!important;min-height:92px!important;max-height:none!important;box-sizing:border-box!important;padding:8px 9px!important;line-height:1.4!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;resize:vertical!important;overflow:auto!important;margin:0!important}
#layerAction .action-plan-table .action-start-cell input[type=date],#layerAction .action-plan-table .action-end-cell input[type=date]{display:block!important;width:15ch!important;min-width:15ch!important;max-width:15ch!important;height:42px!important;box-sizing:border-box!important;padding:6px 8px!important;margin:0!important}
#layerAction .action-plan-table tbody tr{height:auto!important}
#layerAction .action-plan-table thead th{white-space:normal!important;line-height:1.25!important;padding:9px 8px!important}

/* 18.08.2026 — Rapor puan sütunları: tanım geniş + 8 karakter Puan */
.excel-report-table.report-score-second{table-layout:auto!important}
.excel-report-table.report-score-second th:nth-child(1),
.excel-report-table.report-score-second td:nth-child(1){width:auto!important;min-width:32ch!important;text-align:left!important;white-space:normal!important}
.excel-report-table.report-score-second th:nth-child(2),
.excel-report-table.report-score-second td:nth-child(2){width:8ch!important;min-width:8ch!important;max-width:8ch!important;text-align:center!important;white-space:nowrap!important;font-weight:900}
.report-swot-score-table{table-layout:fixed!important;min-width:900px}
.report-swot-score-table th:nth-child(1),.report-swot-score-table td:nth-child(1),
.report-swot-score-table th:nth-child(3),.report-swot-score-table td:nth-child(3){width:auto!important;min-width:32ch!important;text-align:left!important;white-space:normal!important}
.report-swot-score-table th:nth-child(2),.report-swot-score-table td:nth-child(2),
.report-swot-score-table th:nth-child(4),.report-swot-score-table td:nth-child(4){width:8ch!important;min-width:8ch!important;max-width:8ch!important;text-align:center!important;white-space:nowrap!important;font-weight:900}
.report-swot-qualitative-table th,.report-swot-qualitative-table td{width:50%;text-align:left!important;white-space:normal!important}

.overall-performance-excel .overall-ks-line{display:block;padding:4px 2px;border-bottom:1px solid #e5e7eb;white-space:normal;}
.overall-performance-excel .overall-ks-line:last-child{border-bottom:0;}

/* 7-7. Gösterge Sonuçları ve Kanıtlar: Kalite Alanı sütunu kaldırıldı */
.report-gt-results-table{table-layout:fixed!important;min-width:1120px!important;width:100%!important}
.report-gt-results-table th:nth-child(1),.report-gt-results-table td:nth-child(1){width:34%!important;min-width:320px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.report-gt-results-table th:nth-child(2),.report-gt-results-table td:nth-child(2){width:8ch!important;min-width:8ch!important;max-width:8ch!important;text-align:center!important;white-space:nowrap!important}
.report-gt-results-table th:nth-child(3),.report-gt-results-table td:nth-child(3){width:11ch!important;min-width:11ch!important;max-width:11ch!important;text-align:center!important;white-space:normal!important}
.report-gt-results-table th:nth-child(4),.report-gt-results-table td:nth-child(4){width:27%!important;min-width:260px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.report-gt-results-table th:nth-child(5),.report-gt-results-table td:nth-child(5){width:24%!important;min-width:220px!important;white-space:normal!important;overflow-wrap:anywhere!important}
.report-gt-results-table th:nth-child(6),.report-gt-results-table td:nth-child(6){width:14ch!important;min-width:14ch!important;max-width:14ch!important;text-align:center!important;white-space:nowrap!important}
