
        * { box-sizing: border-box; }
        body { font-family: 'Segoe UI', Arial, sans-serif; background-color: #f4f6f9; margin: 0; padding: 15px; }
        
        .login-container { max-width: 400px; margin: 60px auto; background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); border-top: 5px solid #154296; }
        .login-container h2 { text-align: center; color: #154296; margin-top: 0; font-weight: 800; }
        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #333; font-size: 14px; }
        .form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
        
        .app-container { max-width: 1200px; margin: 0 auto; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: none; }
        
        /* PROJE YÖNETİMİ VE AKSİYON BARİ */
        .action-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 15px; background: #eef3fb; padding: 10px 15px; border-radius: 6px; border: 1px solid #154296; }
        .project-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; justify-content: space-between; }
        .project-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .project-input, .project-select { padding: 8px 12px; font-size: 13px; border: 1px solid #ccc; border-radius: 4px; outline: none; font-weight: 600; }
        .project-input { min-width: 180px; }
        
        .btn-action { padding: 8px 12px; font-size: 13px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; color: white; transition: 0.2s; }
        .btn-save { background-color: #28a745; }
        .btn-save:hover { background-color: #218838; }
        .btn-delete { background-color: #dc3545; }
        .btn-delete:hover { background-color: #c82333; }
        
        .btn-pdf { background-color: #154296; color: white; padding: 8px 16px; font-size: 13px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: 0.2s; }
        .btn-pdf:hover { background-color: #0d2b66; }
        
        .btn-json { background-color: #6f42c1; color: white; padding: 8px 16px; font-size: 13px; font-weight: bold; border: none; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: 0.2s; }
        .btn-json:hover { background-color: #59339d; }

        /* STANDART EKRAN GÖRÜNÜMÜ (BÜYÜK/OKUNAKLI) */
        #pdfArea { padding: 10px; background: #fff; width: 100%; margin: 0 auto; transition: all 0.3s ease; }

        .kurumsal-baslik { text-align: center; font-weight: 800; font-size: 13px; color: #000; line-height: 1.4; margin-bottom: 10px; text-transform: uppercase; }
        .header-container { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 15px; border: 2px solid #000; padding: 5px 10px; background: #fff; height: 50px; }
        .logo-box { position: absolute; left: 10px; display: flex; align-items: center; height: 100%; }
        .koski-logo-badge { background-color: #154296; color: #ffffff; font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; font-size: 18px; letter-spacing: 1.5px; padding: 4px 12px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #0d2b66; }
        .header-title { font-weight: bold; font-size: 18px; color: #000; text-align: center; width: 100%; letter-spacing: 0.5px; }
        
        .btn { background-color: #154296; color: white; padding: 12px; border: none; border-radius: 4px; cursor: pointer; width: 100%; font-size: 16px; font-weight: bold; }
        .btn:hover { background-color: #0d2b66; }
        .error { color: red; font-size: 13px; margin-top: 10px; text-align: center; font-weight: bold; }
        
        .table-responsive { overflow-x: auto; margin-bottom: 10px; -webkit-overflow-scrolling: touch; }
        table { width: 100%; border-collapse: collapse; table-layout: fixed; border: 2px solid #000; }
        th, td { border: 1px solid #000; padding: 6px 4px; text-align: center; font-size: 12px; vertical-align: middle; word-wrap: break-word; line-height: 1.2; }
        th { font-weight: bold; background-color: #ffffff; color: #000; font-size: 11px; padding: 8px 4px; }
        
        .th-red { color: #ff0000 !important; }
        .bg-yellow { background-color: #ffff00 !important; }
        .bg-green-status { background-color: #92d050 !important; color: #000 !important; font-weight: bold; }
        .bg-red-status { background-color: #ffc7ce !important; color: #9c0006 !important; font-weight: bold; }
        .bg-blue { background-color: #00b0f0 !important; color: #000 !important; font-weight: bold; }
        .bg-orange { background-color: #ffc000 !important; color: #000 !important; font-weight: bold; }
        .bg-red-atu { background-color: #ff0000 !important; color: #fff !important; font-weight: bold; }
        .text-red { color: #ff0000 !important; font-weight: bold; }
        .text-black { color: #000 !important; font-weight: bold; }
        
        input.table-input, select.table-select { width: 100%; text-align: center; border: none; background: transparent; font-size: 12px; font-weight: bold; outline: none; font-family: inherit; padding: 2px; }
        
        .chart-section { border: 2px solid #000; padding: 10px; background: #fff; margin-bottom: 10px; border-radius: 3px; }
        .chart-info-card { background: #eef3fb; border: 1px solid #154296; padding: 8px 12px; margin-bottom: 10px; border-radius: 3px; font-size: 12px; color: #000; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-weight: 600; }
        .chart-info-card span { white-space: nowrap; }
        .chart-container { position: relative; width: 100%; height: 200px; }

        .footer-container { display: flex; justify-content: space-between; margin-top: 15px; padding: 10px 5px 0 5px; font-size: 11px; color: #154296; font-weight: 700; border-top: 2px solid #154296; background: #fff; page-break-inside: avoid; }
        .footer-version, .footer-author { font-style: italic; }

        /* ==============================================================
           PDF MODU (Sadece İndirme Esnasında Devreye Girer ve Küçülür) 
           ============================================================== */
        .pdf-mode-active {
            max-width: 1050px !important; 
            padding: 2px !important;
        }
        .pdf-mode-active .kurumsal-baslik { font-size: 10px !important; margin-bottom: 4px !important; }
        .pdf-mode-active .header-container { height: 32px !important; margin-bottom: 4px !important; border-width: 1px !important; }
        .pdf-mode-active .koski-logo-badge { font-size: 12px !important; padding: 2px 6px !important; }
        .pdf-mode-active .header-title { font-size: 13px !important; }
        
        .pdf-mode-active th, .pdf-mode-active td { font-size: 8.5px !important; padding: 2px 1px !important; }
        .pdf-mode-active th { font-size: 8px !important; }
        .pdf-mode-active input.table-input, .pdf-mode-active select.table-select { font-size: 8.5px !important; padding: 0 !important; }
        
        .pdf-mode-active table { border-width: 1px !important; margin-bottom: 2px !important; }
        .pdf-mode-active .chart-section { padding: 4px !important; margin-bottom: 4px !important; border-width: 1px !important; }
        .pdf-mode-active .chart-info-card { padding: 3px 6px !important; font-size: 8px !important; margin-bottom: 4px !important; }
        .pdf-mode-active .chart-container { height: 130px !important; }
        
        .pdf-mode-active .footer-container { margin-top: 6px !important; padding-top: 4px !important; font-size: 8px !important; border-top-width: 1px !important;}
        
        @media (max-width: 768px) {
            .app-container { padding: 10px; }
            .project-controls { width: 100%; justify-content: space-between; }
            .btn-pdf { width: 100%; margin-top: 5px; }
            .chart-container { height: 160px; }
        }
    