    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    /* Tüm kaydırma çubuklarını gizle (kaydırma çalışmaya devam eder) */
    * {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    *::-webkit-scrollbar {
      width: 0 !important;
      height: 0 !important;
      display: none !important;
      background: transparent !important;
    }
    html, body {
      width: 100%;
      height: 100%;
      max-width: none;
      max-height: none;
      overflow: hidden;
      overflow-x: hidden;
      font-family: "Times New Roman", Times, serif;
      color: #f8fafc;
      background-color: #070b14;
    }
    #hem-ekran-sahne {
      width: 1920px;
      height: 956px;
      position: absolute;
      top: 0;
      left: 0;
      transform-origin: 0 0;
      overflow: hidden;
    }
    @media print {
      html {
        zoom: 1 !important;
      }
      html, body {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
      }
      #hem-ekran-sahne {
        transform: none !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
      }
    }

    /* Sabitlenmiş Üst Alan: 1920 × 120 px */
    .top-header {
      position: relative;
      width: 1920px;
      height: 120px;
      min-width: 1920px;
      min-height: 120px;
      max-width: 1920px;
      max-height: 120px;
      background: rgba(15, 23, 42, 0.96);
      border-bottom: 2px solid #38bdf8;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 36px 0 0;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
      z-index: 1000;
    }
    .header-logo-wrap {
      height: 120px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding-left: 24px;
      user-select: none;
    }
    .header-brand-top {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .header-logo-img {
      height: 76px;
      width: 76px;
      object-fit: contain;
      display: block;
      flex-shrink: 0;
      border-radius: 18px;
      background: radial-gradient(circle at 30% 25%, #1e3a8a 0%, #0f172a 65%, #070d19 100%);
      padding: 4px;
      border: 1.5px solid rgba(56, 189, 248, 0.45);
      box-shadow: 0 6px 22px rgba(56, 189, 248, 0.25), 0 0 18px rgba(245, 158, 11, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.2);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .header-logo-img:hover {
      transform: scale(1.04) rotate(-1deg);
      box-shadow: 0 8px 28px rgba(56, 189, 248, 0.4), 0 0 22px rgba(245, 158, 11, 0.4);
      border-color: #fbbf24;
    }
    .header-slogan {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0px;
      line-height: 0.98;
      white-space: nowrap;
    }
    .header-slogan-line1 {
      font-family: 'Mea Culpa', cursive !important;
      font-size: 36px;
      font-weight: 400;
      color: #f8fafc;
      letter-spacing: 0.4px;
    }
    body.sayfa-tema-acik .header-slogan-line1 {
      color: #0f172a !important;
    }
    .header-slogan-line2 {
      font-family: 'Mea Culpa', cursive !important;
      font-size: 36px;
      font-weight: 400;
      color: #e2a548;
      letter-spacing: 0.4px;
    }
    body.sayfa-tema-acik .header-slogan-line2 {
      color: #c8821e !important;
    }
    .header-brand-url {
      width: 100%;
      text-align: center;
      font-family: 'Times New Roman', Times, serif !important;
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 1.1px;
      color: #38bdf8;
      line-height: 1.15;
    }
    body.sayfa-tema-acik .header-brand-url {
      color: #0284c7 !important;
    }

    /* Üst Menü Navigasyon Grubu */
    .header-nav {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(30, 41, 59, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.32);
      color: #e2e8f0;
      padding: 10px 18px;
      border-radius: 12px;
      font-size: 14.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      user-select: none;
      height: 52px;
    }
    .nav-btn svg {
      width: 18px;
      height: 18px;
      color: #38bdf8;
      flex-shrink: 0;
    }
    .nav-btn:hover,
    .dropdown-wrapper.open .nav-btn {
      background: rgba(56, 189, 248, 0.2);
      border-color: #38bdf8;
      color: #ffffff;
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
      transform: translateY(-1px);
    }

    /* Açılır Menü kapsayıcıları (Yönetim ve Profil) */
    .dropdown-wrapper {
      position: relative;
      display: inline-block;
    }
    /* Yönetim ve Duyuru yalnız sistem yöneticisinde. Rapor: kullanıcıda üstte, yöneticide Yönetim altında. */
    #yonetimWrapper,
    #duyuruBtn {
      display: none !important;
    }
    body.hem-admin #yonetimWrapper {
      display: inline-block !important;
    }
    body.hem-admin #duyuruBtn {
      display: inline-flex !important;
    }
    #ustRaporBtn {
      display: inline-flex !important;
    }
    body.hem-admin #ustRaporBtn {
      display: none !important;
    }
    #yonetimRaporBtn {
      display: none !important;
    }
    body.hem-admin #yonetimRaporBtn {
      display: flex !important;
    }
    #yrGecisUyeRaporBtn {
      display: none !important;
    }
    body.hem-admin #yrGecisUyeRaporBtn {
      display: inline-flex !important;
    }
    .profile-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(56, 189, 248, 0.14);
      border: 1px solid rgba(56, 189, 248, 0.45);
      color: #f8fafc;
      padding: 10px 18px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      user-select: none;
      height: 52px;
    }
    .profile-btn:hover,
    .dropdown-wrapper.open .profile-btn {
      background: rgba(56, 189, 248, 0.28);
      border-color: #38bdf8;
      box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
    }
    .profile-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #ffffff;
      border: 1.5px solid #cbd5e1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #0b4f6c;
      font-weight: 700;
      overflow: hidden;
      flex-shrink: 0;
    }
    .profile-avatar img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #ffffff;
      border-radius: 50%;
      display: block;
    }
    .menu-chevron {
      width: 16px;
      height: 16px;
      transition: transform 0.2s ease;
      color: #38bdf8;
    }
    .dropdown-wrapper.open .menu-chevron {
      transform: rotate(180deg);
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      width: 235px;
      background: rgba(15, 23, 42, 0.98);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(56, 189, 248, 0.4);
      border-radius: 14px;
      padding: 8px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: all 0.18s ease;
      z-index: 2000;
    }
    .dropdown-wrapper.open .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .dropdown-item {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 10px 14px;
      border: none;
      background: transparent;
      color: #e2e8f0;
      font-size: 14px;
      font-weight: 500;
      text-align: left;
      border-radius: 9px;
      cursor: pointer;
      transition: all 0.15s ease;
      text-decoration: none;
    }
    .dropdown-item:hover,
    .submenu-wrapper:hover > .dropdown-item,
    .submenu-wrapper.sub-open > .dropdown-item {
      background: rgba(56, 189, 248, 0.16);
      color: #38bdf8;
    }
    .dropdown-item svg {
      width: 18px;
      height: 18px;
      color: #38bdf8;
      flex-shrink: 0;
    }
    .dropdown-divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.08);
      margin: 6px 4px;
    }
    #profileDropdown {
      min-width: 235px;
      width: max-content;
    }
    .dropdown-item.logout {
      color: #f87171;
      white-space: nowrap;
    }
    .dropdown-item.logout svg {
      color: #f87171;
    }
    .dropdown-item.logout:hover {
      background: rgba(248, 113, 113, 0.15);
      color: #fca5a5;
    }

    /* Solda Açılan Alt Menüler */
    .submenu-wrapper {
      position: relative;
      width: 100%;
    }
    .submenu-arrow-left {
      width: 15px !important;
      height: 15px !important;
      margin-right: -2px;
      transition: transform 0.18s ease;
    }
    .submenu-wrapper:hover .submenu-arrow-left,
    .submenu-wrapper.sub-open .submenu-arrow-left {
      transform: translateX(-3px);
    }
    .submenu-left {
      position: absolute;
      top: -8px;
      right: calc(100% + 10px);
      width: 205px;
      background: rgba(15, 23, 42, 0.98);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(56, 189, 248, 0.45);
      border-radius: 14px;
      padding: 8px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
      opacity: 0;
      visibility: hidden;
      transform: translateX(8px);
      transition: all 0.18s ease;
      z-index: 2100;
    }
    .submenu-left::after {
      content: "";
      position: absolute;
      top: 0;
      right: -14px;
      width: 14px;
      height: 100%;
    }
    .submenu-wrapper:hover > .submenu-left:not(.ders-saatleri-panel):not(.sifre-degistir-panel):not(.kurum-bilgileri-panel):not(.hesap-bilgileri-panel):not(.logo-panel):not(.profil-resmi-panel),
    .submenu-wrapper.sub-open > .submenu-left {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    /* Hesap Bilgileri Paneli */
    .hesap-bilgileri-panel {
      top: -46px;
      width: 720px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .hesap-field {
      margin-bottom: 12px;
    }
    .hesap-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 5px;
    }
    .hesap-input-gray {
      width: 100%;
      height: 38px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #e9ecef;
      outline: none;
    }
    .hesap-input-gray:focus {
      border-color: #0284c7;
      background: #f8fafc;
    }
    .hesap-select {
      width: 100%;
      height: 38px;
      padding: 6px 12px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      cursor: pointer;
    }
    .hesap-select:disabled {
      color: #64748b;
      background: #f8fafc;
      border-color: #cbd5e1;
      cursor: not-allowed;
    }
    .hesap-subtext {
      font-size: 12.5px;
      color: #334155;
      margin-bottom: 8px;
    }
    .brans-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
    }
    .brans-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #0d4a63;
      color: #ffffff;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 500;
    }
    .brans-tag-remove {
      background: transparent;
      border: none;
      color: #ffffff;
      font-size: 14px;
      line-height: 1;
      cursor: pointer;
      padding: 0;
      opacity: 0.85;
    }
    .brans-tag-remove:hover {
      opacity: 1;
    }
    .brans-add-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .brans-input {
      flex: 1;
      height: 38px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
    }
    .brans-input::placeholder {
      color: #64748b;
    }
    .brans-input:focus {
      border-color: #0284c7;
    }
    .brans-ekle-btn {
      width: 96px;
      height: 36px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #94a3b8;
      border-radius: 2px;
      font-size: 13.5px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.15s;
    }
    .brans-ekle-btn:hover {
      background: #f1f5f9;
    }
    .hesap-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }
    .hesap-kaydet-btn {
      width: 96px;
      height: 36px;
      background: #1d64f2;
      color: #ffffff;
      border: none;
      border-radius: 2px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
    }
    .hesap-kaydet-btn:hover {
      background: #1550cc;
    }

    /* Kurum Bilgileri Paneli */
    .kurum-bilgileri-panel {
      top: -86px;
      width: 580px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .kurum-field {
      margin-bottom: 14px;
    }
    .kurum-field:last-child {
      margin-bottom: 0;
    }
    .kurum-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .kurum-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 6px;
    }
    .kurum-label-row .kurum-label {
      margin-bottom: 0;
    }
    .kurum-add-btn {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      border: none;
      background: #0d4a63;
      color: #ffffff;
      font-size: 18px;
      font-weight: 500;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.15s;
    }
    .kurum-add-btn:hover {
      background: #083547;
    }
    .kurum-input {
      width: 100%;
      height: 40px;
      padding: 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14.5px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .kurum-input::placeholder {
      color: #64748b;
    }
    .kurum-input:focus {
      border-color: #0284c7;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .mudur-yardimcilari-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .mudur-yardimcisi-row {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .mudur-yardimcisi-row .kurum-input {
      flex: 1;
    }
    .kurum-sil-btn {
      height: 40px;
      padding: 0 16px;
      background: #dc2626;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 0.15s;
    }
    .kurum-sil-btn:hover {
      background: #b91c1c;
    }

    
    /* Logo Paneli (Profil -> Dikine A4 Sayfası 4 Köşe Logo & Filigran) */
    .logo-panel {
      top: -150px;
      width: 580px;
      max-height: 86vh;
      overflow-y: auto;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 16px 20px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .logo-panel-ust-bar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 10px;
    }
    .logo-panel-baslik {
      font-size: 15.5px;
      font-weight: 800;
      color: #0b4f6c;
      margin: 0 0 3px 0;
    }
    .logo-panel-aciklama {
      font-size: 12px;
      color: #475569;
      line-height: 1.35;
      margin: 0;
    }
    .filigran-toggle-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 34px;
      padding: 0 13px;
      border-radius: 8px;
      border: 1.5px solid #0284c7;
      background: #e0f2fe;
      color: #073b54;
      font-size: 12.5px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.18s ease;
      flex-shrink: 0;
    }
    .filigran-toggle-btn:hover,
    .filigran-toggle-btn.aktif {
      background: linear-gradient(135deg, #0b4f6c 0%, #073b54 100%);
      color: #ffffff;
      border-color: #0b4f6c;
      box-shadow: 0 4px 12px rgba(11, 79, 108, 0.3);
    }
    .filigran-toggle-btn svg {
      width: 15px;
      height: 15px;
      color: currentColor !important;
    }
    .logo-filigran-panel {
      display: none;
      background: #f1f5f9;
      border: 1px solid #94a3b8;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 12px;
    }
    .logo-filigran-panel.open {
      display: block;
    }
    .filigran-tur-satir {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .filigran-tur-etiket {
      font-size: 12px;
      font-weight: 800;
      color: #0b4f6c;
    }
    .filigran-tur-btn {
      height: 28px;
      padding: 0 11px;
      border-radius: 6px;
      border: 1px solid #94a3b8;
      background: #ffffff;
      color: #0f172a;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .filigran-tur-btn.aktif {
      background: #0b4f6c;
      color: #ffffff;
      border-color: #073b54;
    }
    .filigran-ayar-satir {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 6px;
    }
    .filigran-input {
      flex: 1;
      min-width: 180px;
      height: 30px;
      padding: 4px 10px;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      font-size: 12.5px;
      color: #0f172a;
      background: #ffffff;
    }
    .filigran-slider-grup {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 700;
      color: #334155;
    }
    .filigran-slider-grup input[type="range"] {
      width: 85px;
      accent-color: #0b4f6c;
    }
    /* Dikine (Portrait) A4 Sayfası Önizleme ve 4 Köşe Logo Alanı */
    .logo-a4-sahne {
      display: flex;
      justify-content: center;
      padding: 10px 6px;
      background: #e2e8f0;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      margin-bottom: 10px;
    }
    .logo-a4-dikine-sayfa {
      position: relative;
      width: 340px;
      height: 481px; /* 210:297 dikine A4 oranı */
      background: #ffffff;
      border: 1px solid #94a3b8;
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.22);
      padding: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
      font-family: "Times New Roman", Times, serif;
      color: #000000;
    }
    .logo-a4-ust-satir,
    .logo-a4-alt-satir {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 6px;
    }
    .logo-a4-alt-satir {
      align-items: flex-end;
    }
    .a4-kose-kutu {
      width: 96px;
      background: rgba(248, 250, 252, 0.94);
      border: 1.5px dashed #0284c7;
      border-radius: 8px;
      padding: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    }
    .a4-kose-etiket {
      font-family: "Times New Roman", Times, serif;
      font-size: 10px;
      font-weight: 800;
      color: #0b4f6c;
      text-transform: uppercase;
      letter-spacing: 0.2px;
    }
    .a4-kose-onizleme {
      width: 52px;
      height: 52px;
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .a4-kose-onizleme img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      display: block;
    }
    .a4-kose-bos {
      font-family: "Times New Roman", Times, serif;
      font-size: 9.5px;
      color: #64748b;
      font-weight: 700;
      text-align: center;
    }
    .a4-kose-butonlar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 3px;
      width: 100%;
    }
    .a4-kose-btn {
      font-family: "Times New Roman", Times, serif;
      height: 21px;
      padding: 0 6px;
      border-radius: 4px;
      border: 1px solid #94a3b8;
      background: #ffffff;
      color: #0f172a;
      font-size: 9.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.14s ease;
    }
    .a4-kose-btn.ekle {
      background: #0b4f6c;
      border-color: #073b54;
      color: #ffffff;
    }
    .a4-kose-btn.ekle:hover {
      background: #0284c7;
    }
    .a4-kose-btn.sil {
      color: #dc2626;
      border-color: #fca5a5;
    }
    .a4-kose-btn.sil:hover {
      background: #fee2e2;
    }
    .logo-a4-antet-orta {
      flex: 1;
      text-align: center;
      font-size: 9px;
      line-height: 1.25;
      padding-top: 6px;
      color: #0f172a;
    }
    .logo-a4-antet-orta strong {
      display: block;
      font-weight: 700;
      text-transform: uppercase;
    }
    .logo-a4-govde-sim {
      position: relative;
      z-index: 2;
      flex: 1;
      margin: 10px 8px;
      border-top: 1px solid #cbd5e1;
      border-bottom: 1px solid #cbd5e1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 7px;
      padding: 10px 6px;
      pointer-events: none;
    }
    .logo-a4-cizgi {
      height: 5px;
      border-radius: 3px;
      background: rgba(148, 163, 184, 0.24);
    }
    .logo-a4-filigran-onizleme {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      overflow: hidden;
    }
    .logo-a4-filigran-metin {
      transform: rotate(-32deg);
      font-family: "Times New Roman", Times, serif;
      font-weight: 800;
      color: #0f172a;
      text-align: center;
      white-space: nowrap;
      user-select: none;
      letter-spacing: 2px;
    }
    .logo-a4-filigran-onizleme img {
      object-fit: contain;
      max-width: 85%;
      max-height: 85%;
    }

    /* Profil Resmi Paneli */
    .profil-resmi-panel {
      top: -80px;
      width: 400px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 18px 20px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .profil-resmi-onizleme-kutu {
      width: 128px;
      height: 128px;
      border-radius: 50%;
      margin: 8px auto 12px;
      border: 3px solid #0b4f6c;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(11, 79, 108, 0.2);
      color: #0b4f6c;
      font-size: 30px;
      font-weight: 800;
      user-select: none;
      position: relative;
    }
    .profil-resmi-onizleme-kutu.has-img {
      cursor: grab;
    }
    .profil-resmi-onizleme-kutu.has-img.dragging {
      cursor: grabbing;
    }
    .profil-resmi-onizleme-kutu img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #ffffff;
      display: block;
      pointer-events: none;
    }
    .profil-resmi-olcek-kutu {
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 12px;
    }
    .profil-resmi-olcek-ust {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 6px;
    }
    .profil-resmi-olcek-rozet {
      background: #e0f2fe;
      color: #0369a1;
      border: 1px solid #bae6fd;
      border-radius: 999px;
      padding: 1px 8px;
      font-size: 11.5px;
      font-weight: 800;
    }
    .profil-resmi-olcek-satir {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .profil-resmi-olcek-btn {
      width: 28px;
      height: 28px;
      border-radius: 7px;
      border: 1px solid #cbd5e1;
      background: #ffffff;
      color: #0f172a;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      padding: 0;
    }
    .profil-resmi-olcek-btn:hover {
      background: #f1f5f9;
      border-color: #94a3b8;
    }
    .profil-resmi-olcek-sifirla {
      height: 28px;
      padding: 0 9px;
      border-radius: 7px;
      border: 1px solid #cbd5e1;
      background: #ffffff;
      color: #0b4f6c;
      font-size: 11.5px;
      font-weight: 700;
      cursor: pointer;
      flex-shrink: 0;
    }
    .profil-resmi-olcek-sifirla:hover {
      background: #e0f2fe;
      border-color: #7dd3fc;
    }
    .profil-resmi-olcek-ipucu {
      margin: 5px 0 0;
      font-size: 11px;
      color: #64748b;
      text-align: center;
    }

    /* Belgelerde (Önizleme & Baskı) 4 Köşe Alt Logolar ve Filigran Katmanı */
    .ko-baski-sayfa,
    .mit-sayfa,
    .sd-baski-sayfa {
      position: relative;
    }
    .baski-filigran-katman {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      z-index: 1;
      overflow: hidden;
    }
    .baski-filigran-katman .bf-metin {
      transform: rotate(-30deg);
      font-family: "Times New Roman", Times, serif;
      font-weight: 800;
      color: #000000;
      text-align: center;
      white-space: nowrap;
      letter-spacing: 2px;
    }
    .baski-filigran-katman img {
      object-fit: contain;
    }
    .baski-alt-kose-logolar {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-top: 6px;
      padding-top: 2px;
      min-height: 2.0cm;
      position: relative;
      z-index: 2;
      pointer-events: none;
    }
    .baski-alt-kose-logolar img {
      width: 2.0cm;
      height: 2.0cm;
      object-fit: contain;
      display: block;
    }

    /* Şifre Değiştir Paneli */
    .sifre-degistir-panel {
      top: -128px;
      width: 560px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .sifre-field {
      margin-bottom: 14px;
    }
    .sifre-label {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      margin-bottom: 6px;
    }
    .sifre-input-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }
    .sifre-input {
      width: 100%;
      height: 40px;
      padding: 6px 40px 6px 14px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14.5px;
      color: #0f172a;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    }
    .sifre-input:focus {
      border-color: #0284c7;
      background: #f0f7ff;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .sifre-input::-ms-reveal,
    .sifre-input::-ms-clear {
      display: none;
    }
    .sifre-eye-btn {
      position: absolute;
      right: 10px;
      background: transparent;
      border: none;
      padding: 4px;
      cursor: pointer;
      color: #1e3a5f;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      opacity: 0.8;
      transition: opacity 0.15s;
    }
    .sifre-eye-btn:hover {
      opacity: 1;
    }
    .sifre-eye-btn svg {
      width: 19px;
      height: 19px;
      pointer-events: none;
    }
    .sifre-eye-btn.showing {
      color: #0284c7;
      opacity: 1;
    }
    .sifre-actions {
      display: flex;
      justify-content: flex-end;
      margin-top: 16px;
    }
    .sifre-submit-btn {
      background: #1d64f2;
      color: #ffffff;
      border: none;
      border-radius: 4px;
      padding: 9px 18px;
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s;
    }
    .sifre-submit-btn:hover {
      background: #1550cc;
    }

    /* Ders Saatleri Yan Yana 3 Sütunlu Panel (Sabah | Öğlen | Akşam) */
    .ders-saatleri-panel {
      top: -172px;
      width: 1080px;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 14px;
      padding: 20px 24px;
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
      cursor: default;
    }
    .ders-panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid #e2e8f0;
    }
    .ders-panel-title {
      font-size: 16px;
      font-weight: 700;
      color: #0c4a6e;
    }
    .ders-columns {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .ders-col-title {
      font-size: 14.5px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 10px;
    }
    .ders-row {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
    }
    .ders-row:last-child {
      margin-bottom: 0;
    }
    .ders-num {
      width: 20px;
      font-size: 13.5px;
      font-weight: 700;
      color: #0c4a6e;
      flex-shrink: 0;
    }
    .ders-time-input {
      flex: 1;
      height: 36px;
      padding: 4px 10px;
      border: 1px solid #94a3b8;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #1e293b;
      background: #ffffff;
      outline: none;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .ders-time-input:focus {
      border-color: #0284c7;
      box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.18);
    }
    .ders-sep {
      color: #475569;
      font-weight: 600;
      font-size: 14px;
      padding: 0 1px;
    }

    /* Sabitlenmiş Döşeme Alanı: 1920 × 836 px, Tek Desen: 132 × 240 px (14.5 × 3.5 adet) */
    .tiled-viewport {
      width: 1920px;
      height: 836px;
      min-width: 1920px;
      min-height: 836px;
      max-width: 1920px;
      max-height: 836px;
      background-color: #070b14;
      background-image: url("/img/tema-dijital-bg.jpg?v=20261110i");
      background-repeat: repeat;
      background-position: top left;
      background-size: 200px 357px;
      overflow: hidden;
    }

    /* Sağ alt bilgi paneli */
    .hud {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: rgba(15, 23, 42, 0.94);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(56, 189, 248, 0.5);
      border-radius: 14px;
      padding: 16px 20px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
      font-size: 13.5px;
      line-height: 1.6;
      z-index: 9999;
      width: 370px;
    }
    .hud-title {
      font-weight: 700;
      font-size: 14.5px;
      color: #38bdf8;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .status-badge {
      font-size: 11.5px;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(34, 197, 94, 0.2);
      color: #4ade80;
      font-weight: 600;
    }
    .hud-row {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 4px 0;
    }
    .hud-row:last-of-type {
      border-bottom: none;
    }
    .hud-label {
      color: #94a3b8;
    }
    .hud-value {
      font-family: Consolas, monospace;
      font-weight: 600;
      color: #f8fafc;
    }
    .tiled-viewport.tema-el-sanati,
    .left-sidebar.tema-el-sanati {
      background-color: #faf7f2 !important;
      background-image: url("/img/tema-ebru-bg.png?v=20261110i") !important;
      background-size: 100px 100px !important;
      background-repeat: repeat !important;
    }
    /* Açık Tema: Bütün sayfa açık ton düz renk (desensiz) */
    body.sayfa-tema-acik,
    html:has(body.sayfa-tema-acik) {
      background-color: #f1f5f9 !important;
      color: #0f172a !important;
    }
    body.sayfa-tema-acik .top-header {
      background: #e2e8f0 !important;
      border-bottom: 2px solid #0284c7 !important;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    }
    body.sayfa-tema-acik .nav-btn {
      background: #ffffff !important;
      color: #0f172a !important;
      border-color: rgba(2, 132, 199, 0.35) !important;
    }
    body.sayfa-tema-acik .nav-btn svg {
      color: #0284c7 !important;
    }
    body.sayfa-tema-acik .profile-btn {
      background: #e0f2fe !important;
      color: #0f172a !important;
      border-color: rgba(2, 132, 199, 0.5) !important;
    }
    .tiled-viewport.tema-acik,
    .left-sidebar.tema-acik {
      background-color: #f8fafc !important;
      background-image: none !important;
    }

    /* Koyu Tema: Bütün sayfa koyu ton düz renk (desensiz) */
    body.sayfa-tema-koyu,
    html:has(body.sayfa-tema-koyu) {
      background-color: #0b1120 !important;
      color: #f8fafc !important;
    }
    body.sayfa-tema-koyu .top-header {
      background: #0f172a !important;
      border-bottom: 2px solid #38bdf8 !important;
    }
    .tiled-viewport.tema-koyu,
    .left-sidebar.tema-koyu {
      background-color: #0b1120 !important;
      background-image: none !important;
    }
    /* Ahşap Tema: 200 × 165 px döşeme (2x2 Ayna Yansıma) */
    .tiled-viewport.tema-ahsap,
    .left-sidebar.tema-ahsap {
      background-color: #5c3d1e !important;
      background-image: url("/img/tema-ahsap-bg.jpg?v=20261110i") !important;
      background-size: 200px 165px !important;
      background-repeat: repeat !important;
    }
    /* Kullanıcı Teması: Genişlik 200px (oran korumalı auto yükseklik) döşeme */
    .tiled-viewport.tema-kullanici {
      background-size: 200px auto !important;
      background-repeat: repeat !important;
    }
    /* Filtreli & Tab Tuşu ile Seçilebilir Combobox (İl, İlçe, HBOGM Branş) */
    .combo-wrap {
      position: relative;
      width: 100%;
    }
    .combo-wrap::after {
      content: "▾";
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #475569;
      font-size: 13px;
      pointer-events: none;
    }
    .combo-input {
      padding-right: 30px !important;
      cursor: text !important;
    }
    .combo-input:disabled {
      cursor: not-allowed !important;
    }
    .combo-list {
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      right: 0;
      max-height: 210px;
      overflow-y: auto;
      background: #ffffff;
      border: 1px solid #0284c7;
      border-radius: 8px;
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
      z-index: 3000;
      display: none;
      padding: 4px;
    }
    .combo-list.open {
      display: block;
    }
    .combo-option {
      padding: 7px 12px;
      font-size: 13.5px;
      color: #0f172a;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.1s ease;
    }
    .combo-option:hover,
    .combo-option.active {
      background: #0284c7;
      color: #ffffff;
      font-weight: 600;
    }
    .combo-empty {
      padding: 8px 12px;
      font-size: 13px;
      color: #64748b;
      font-style: italic;
    }
    /* Dijital Tema: 2x2 Ayna Birleşimli Desen, 200 × 357 px döşeme */
    .tiled-viewport.tema-dijital,
    .left-sidebar.tema-dijital {
      background-color: #070b14 !important;
      background-image: url("/img/tema-dijital-bg.jpg?v=20261110i") !important;
      background-size: 200px 357px !important;
      background-repeat: repeat !important;
    }
    /* Sabit Zemin Kuralı: Sayfa içerikleri kayabilir, zemin desenleri asla kaymaz */
    .tiled-viewport,
    .tiled-viewport.tema-dijital,
    .tiled-viewport.tema-el-sanati,
    .tiled-viewport.tema-ahsap,
    .tiled-viewport.tema-kullanici,
    .tiled-viewport.tema-acik,
    .tiled-viewport.tema-koyu,
    .left-sidebar,
    .left-sidebar.tema-dijital,
    .left-sidebar.tema-el-sanati,
    .left-sidebar.tema-ahsap,
    .left-sidebar.tema-kullanici,
    .left-sidebar.tema-acik,
    .left-sidebar.tema-koyu {
      background-attachment: fixed !important;
      background-position: 0px 120px !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
    }
    /* Alt Gövde Düzeni: Sol 200px Alan + Sağ 1720px Döşeme/İçerik Alanı (Toplam: 1920 × 836 px) */
    .body-workspace {
      display: flex;
      width: 1920px;
      height: 836px;
      min-width: 1920px;
      min-height: 836px;
      max-width: 1920px;
      max-height: 836px;
      overflow: hidden;
    }
    .left-sidebar {
      width: 200px;
      height: 836px;
      min-width: 200px;
      min-height: 836px;
      max-width: 200px;
      max-height: 836px;
      background-color: #0b1120;
      border-right: none;
      box-shadow: none;
      z-index: 900;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 18px 10px;
    }
    .sidebar-nav {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }
    .sidebar-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      width: 180px !important;
      min-width: 180px !important;
      max-width: 180px !important;
      height: 52px;
      min-height: 52px;
      max-height: 52px;
      padding: 8px 9px;
      background: rgb(216, 236, 255) !important;
      border: 1px solid rgba(2, 132, 199, 0.38) !important;
      color: #0f172a !important;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
      text-align: left;
      cursor: pointer;
      transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
      user-select: none;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }
    .sidebar-btn svg {
      width: 17px;
      height: 17px;
      color: #0284c7 !important;
      flex-shrink: 0;
    }
    .sidebar-btn:hover,
    .sidebar-group.open > .sidebar-btn {
      background: rgb(190, 214, 238) !important;
      border-color: #0284c7 !important;
      color: #071936 !important;
      box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
      transform: translateY(-1px);
    }
    .sidebar-group {
      display: flex;
      flex-direction: column;
      width: 180px;
    }
    .sidebar-btn .sidebar-chevron {
      margin-left: auto;
      width: 15px;
      height: 15px;
      transition: transform 0.2s ease;
      color: #0284c7 !important;
      flex-shrink: 0;
    }
    .sidebar-group.open > .sidebar-btn .sidebar-chevron {
      transform: rotate(180deg);
    }
    .sidebar-submenu {
      display: none;
      flex-direction: column;
      gap: 6px;
      margin-top: 6px;
      padding-left: 10px;
      width: 180px;
    }
    .sidebar-group.open > .sidebar-submenu {
      display: flex;
    }
    .sidebar-sub-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      width: 170px !important;
      min-width: 170px !important;
      max-width: 170px !important;
      height: 40px;
      min-height: 40px;
      max-height: 40px;
      padding: 6px 10px;
      background: #f4f3ee !important;
      border: 1px solid rgba(100, 116, 139, 0.42) !important;
      color: #0f172a !important;
      border-radius: 10px;
      font-family: 'Times New Roman', Times, serif !important;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
      white-space: nowrap;
      text-align: left;
      cursor: pointer;
      transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
      user-select: none;
      box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    }
    .sidebar-sub-btn svg {
      width: 15px;
      height: 15px;
      color: #0284c7 !important;
      flex-shrink: 0;
    }
    .sidebar-sub-btn:hover {
      background: #e6e4dc !important;
      border-color: #0284c7 !important;
      color: #071936 !important;
      box-shadow: 0 3px 8px rgba(2, 132, 199, 0.2);
      transform: translateX(2px);
    }
    /* Üstteki butonlar 150px genişlikte sabitlendi, aynı hafif açık mavi doku ve fare üzerine gelince 20 ton koyulaşma kuralına sahip */
    .nav-btn,
    .profile-btn,
    body.sayfa-tema-acik .nav-btn,
    body.sayfa-tema-acik .profile-btn {
      width: 150px !important;
      min-width: 150px !important;
      max-width: 150px !important;
      height: 52px !important;
      min-height: 52px !important;
      max-height: 52px !important;
      justify-content: center !important;
      padding: 10px 8px !important;
      white-space: nowrap !important;
      background: rgb(216, 236, 255) !important;
      color: #0f172a !important;
      border: 1px solid rgba(2, 132, 199, 0.38) !important;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    }
    .nav-btn svg,
    .profile-btn .menu-chevron,
    body.sayfa-tema-acik .nav-btn svg {
      color: #0284c7 !important;
    }
    .nav-btn:hover,
    .dropdown-wrapper.open .nav-btn,
    .profile-btn:hover,
    .dropdown-wrapper.open .profile-btn,
    body.sayfa-tema-acik .nav-btn:hover,
    body.sayfa-tema-acik .dropdown-wrapper.open .nav-btn,
    body.sayfa-tema-acik .profile-btn:hover,
    body.sayfa-tema-acik .dropdown-wrapper.open .profile-btn {
      background: rgb(190, 214, 238) !important;
      border-color: #0284c7 !important;
      color: #071936 !important;
      box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22) !important;
    }
    /* Tıklanan başlık ve alt butonların başka bir butona tıklanana kadar koyu mavi kalması */
    .sidebar-btn.secili-koyu-mavi,
    .sidebar-group.open > .sidebar-btn.secili-koyu-mavi,
    .sidebar-btn.secili-koyu-mavi:hover,
    .sidebar-sub-btn.secili-koyu-mavi,
    .sidebar-sub-btn.secili-koyu-mavi:hover,
    .nav-btn.secili-koyu-mavi,
    .dropdown-wrapper.open .nav-btn.secili-koyu-mavi,
    .nav-btn.secili-koyu-mavi:hover,
    .profile-btn.secili-koyu-mavi,
    .dropdown-wrapper.open .profile-btn.secili-koyu-mavi,
    .profile-btn.secili-koyu-mavi:hover,
    body.sayfa-tema-acik .nav-btn.secili-koyu-mavi,
    body.sayfa-tema-acik .dropdown-wrapper.open .nav-btn.secili-koyu-mavi,
    body.sayfa-tema-acik .profile-btn.secili-koyu-mavi,
    body.sayfa-tema-acik .dropdown-wrapper.open .profile-btn.secili-koyu-mavi,
    .dropdown-item.secili-koyu-mavi,
    .submenu-wrapper.sub-open > .dropdown-item.secili-koyu-mavi,
    .dropdown-item.secili-koyu-mavi:hover {
      background: linear-gradient(135deg, #0b4f6c 0%, #073b54 100%) !important;
      border-color: #38bdf8 !important;
      color: #ffffff !important;
      box-shadow: 0 4px 14px rgba(11, 79, 108, 0.45) !important;
    }
    .sidebar-btn.secili-koyu-mavi svg,
    .sidebar-btn.secili-koyu-mavi .sidebar-chevron,
    .sidebar-sub-btn.secili-koyu-mavi svg,
    .nav-btn.secili-koyu-mavi svg,
    .profile-btn.secili-koyu-mavi .menu-chevron,
    body.sayfa-tema-acik .nav-btn.secili-koyu-mavi svg,
    .dropdown-item.secili-koyu-mavi svg {
      color: #ffffff !important;
    }
    body.sayfa-tema-acik .left-sidebar {
      border-right: none !important;
      box-shadow: none !important;
      color: #0f172a !important;
    }
    body.sayfa-tema-koyu .left-sidebar {
      border-right: none !important;
      box-shadow: none !important;
      color: #f8fafc !important;
    }
    .tiled-viewport {
      width: 1720px !important;
      min-width: 1720px !important;
      max-width: 1720px !important;
      height: 836px !important;
      min-height: 836px !important;
      max-height: 836px !important;
    }
    button,
    .nav-btn,
    .profile-btn,
    .sidebar-btn,
    .dropdown-item,
    .hesap-kaydet-btn,
    .brans-ekle-btn,
    .kurum-ekle-btn,
    .kurum-sil-btn,
    .sifre-submit-btn {
      font-family: 'Times New Roman', Times, serif !important;
    }
    /* Ana İçerik Alanı (#tiledPage) İçerisinde Açılan Şablon Görünümleri (Sağdan Sabit 500px Boşluk) */
    #tiledPage {
      overflow-y: auto;
      overflow-x: hidden;
      padding: 22px 500px 22px 20px !important;
    }
    .workspace-view {
      display: none;
      width: 100%;
      max-width: 1200px;
    }
    .workspace-view.active {
      display: block;
    }
    .kt-card {
      width: 100%;
      margin: 0;
      background: #ffffff;
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 14px;
      padding: 22px 28px 24px;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    }
    .kt-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .kt-title {
      font-size: 20px;
      font-weight: 800;
      color: #0b4f6c;
      letter-spacing: 0.2px;
    }
    .kt-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 38px;
      padding: 0 18px;
      background: rgb(216, 236, 255) !important;
      border: 1px solid rgba(2, 132, 199, 0.38) !important;
      color: #0f172a !important;
      border-radius: 10px;
      font-family: 'Times New Roman', Times, serif !important;
      font-size: 14.5px;
      font-weight: 700;
      cursor: pointer;
      transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
      box-shadow: 0 2px 5px rgba(15, 23, 42, 0.06);
      white-space: nowrap;
    }
    .kt-btn:hover {
      background: rgb(190, 214, 238) !important;
      border-color: #0284c7 !important;
      color: #071936 !important;
      box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
      transform: translateY(-1px);
    }
    .kt-guncelle-bilgi {
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 14px;
      margin-bottom: 14px;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 600;
      line-height: 1.35;
      border: 1px solid #38bdf8;
      background: #f0f9ff;
      color: #0c4a6e;
    }
    .kt-guncelle-bilgi.show {
      display: flex;
    }
    .kt-guncelle-bilgi.success {
      border-color: #10b981;
      background: #ecfdf5;
      color: #065f46;
    }
    .kt-guncelle-bilgi.error {
      border-color: #ef4444;
      background: #fef2f2;
      color: #991b1b;
    }
    .kt-guncelle-kapat {
      background: transparent !important;
      border: none !important;
      color: inherit !important;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      padding: 0 4px;
      line-height: 1;
      opacity: 0.75;
    }
    .kt-guncelle-kapat:hover {
      opacity: 1;
    }
    .panel-kaydet-durum {
      display: none;
      margin-top: 8px;
      padding: 7px 10px;
      border-radius: 7px;
      font-size: 12.5px;
      font-weight: 600;
      background: #ecfdf5;
      border: 1px solid #10b981;
      color: #065f46;
      text-align: center;
    }
    .panel-kaydet-durum.show {
      display: block;
    }
    @keyframes hemYesilDugmeYanSon {
      0%, 100% {
        opacity: 1;
        transform: scale(1.12);
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.38), 0 0 12px 3px rgba(22, 163, 74, 0.95);
      }
      50% {
        opacity: 0.28;
        transform: scale(0.86);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 0 2px 0 rgba(22, 163, 74, 0.35);
      }
    }
    .nav-msg-green-dot {
      position: absolute;
      top: 4px;
      right: 5px;
      width: 13px;
      height: 13px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #86efac 0%, #22c55e 48%, #15803d 100%);
      border: 2px solid #ffffff;
      outline: 1.5px solid rgba(5, 46, 22, 0.55);
      box-shadow: 0 0 10px rgba(22, 163, 74, 0.95);
      pointer-events: none;
      z-index: 8;
      animation: hemYesilDugmeYanSon 1.3s ease-in-out infinite;
    }
    .baslik-yesil-nokta {
      display: inline-block;
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, #86efac 0%, #22c55e 55%, #15803d 100%);
      box-shadow: 0 0 0 2px #dcfce7, 0 0 8px rgba(34, 197, 94, 0.85);
      vertical-align: middle;
      margin-left: 8px;
      flex-shrink: 0;
      animation: hemYesilDugmeYanSon 1.35s ease-in-out infinite;
    }
    /* Yönetici görünümünde İletişim ve Sorun Bildir sağ alanı tam genişlik kullanır */
    body.hem-admin #tiledPage:has(#iletisimView.active),
    body.hem-admin #tiledPage:has(#sorunBildirView.active) {
      padding: 22px 20px 22px 20px !important;
    }
    body.hem-admin #iletisimView,
    body.hem-admin #sorunBildirView {
      max-width: 100% !important;
    }
    body:not(.hem-admin) .hem-admin-mesaj-panel {
      display: none !important;
    }
    #iletisimView .hem-koyu-kart,
    #sorunBildirView .hem-koyu-kart {
      background: linear-gradient(160deg, #0f172a 0%, #162440 100%) !important;
      border: 1px solid rgba(56, 189, 248, 0.28) !important;
      color: #f8fafc !important;
      box-shadow: 0 12px 30px rgba(2, 6, 23, 0.36) !important;
    }
    .hem-mesaj-kart {
      padding: 11px 13px;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      gap: 7px;
      transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }
    .hem-mesaj-kart.secili-kart {
      border-color: #38bdf8 !important;
      box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.28);
    }
    .hem-mesaj-aksiyon-btn {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.74rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      transition: filter 0.15s ease, transform 0.12s ease;
    }
    .hem-mesaj-aksiyon-btn:hover {
      filter: brightness(1.12);
    }
    .hem-mesaj-secenek {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.74rem;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      user-select: none;
      background: rgba(148, 163, 184, 0.14);
      border: 1px solid rgba(148, 163, 184, 0.36);
      color: #e2e8f0;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
    .hem-mesaj-secenek:hover {
      border-color: rgba(148, 163, 184, 0.65);
      background: rgba(148, 163, 184, 0.22);
    }
    .hem-mesaj-secenek input[type="checkbox"] {
      width: 14px;
      height: 14px;
      margin: 0;
      cursor: pointer;
      accent-color: #0284c7;
    }
    .hem-mesaj-secenek.secili-okundu {
      background: rgba(56, 189, 248, 0.2);
      border-color: rgba(56, 189, 248, 0.55);
      color: #bae6fd;
    }
    .hem-mesaj-secenek.secili-cevaplandi {
      background: rgba(34, 197, 94, 0.22);
      border-color: rgba(34, 197, 94, 0.58);
      color: #86efac;
    }
    .hem-mesaj-secenek.secili-cevaplandi input[type="checkbox"] {
      accent-color: #16a34a;
    }
        .ktp-grid-cards {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
          gap: 12px;
          margin-top: 10px;
        }
        .ktp-info-card {
          background: #ffffff;
          border: 1px solid #cbd5e1;
          border-radius: 10px;
          padding: 14px 16px;
          box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
        }
        .ktp-info-card h3 {
          margin: 0 0 6px;
          color: #0b4f6c;
          font-size: 15px;
        }
        .ktp-info-card p, .ktp-info-card ul {
          margin: 0;
          color: #334155;
          font-size: 13.5px;
          line-height: 1.5;
        }

    /* Tüm yazılar Times New Roman; slogan (Atölyede Eğitim / Ekranda Düzen) Mea Culpa kalır */
    html, body, button, input, select, textarea, table, th, td, a, label, p, h1, h2, h3, h4, h5, li, span, div, code {
      font-family: "Times New Roman", Times, serif !important;
    }
    .header-slogan-line1,
    .header-slogan-line2 {
      font-family: 'Mea Culpa', cursive !important;
    }


    /* ==========================================================================
       HİBRİT MOBİL VE TABLET UYUMLULUK MİMARİSİ (<= 960px)
       Masaüstü (> 960px) 1920x956 düzenine tek piksel bile dokunmaz!
       ========================================================================== */
    .mobil-hamburger-btn,
    .mobil-drawer-backdrop,
    .mobil-drawer-header,
    .mobil-alt-bar,
    .mobil-gorunume-don-fab {
      display: none;
    }

    /* Kullanıcı mobilde 'Masaüstü Görünüm'e geçtiyse geri dönüş rozeti göster */
    body.mobil-masaustu-zorla .mobil-gorunume-don-fab {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      position: fixed;
      left: 14px;
      bottom: 14px;
      z-index: 999999;
      padding: 10px 16px;
      border-radius: 999px;
      background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
      color: #ffffff !important;
      border: 2px solid #7dd3fc;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 8px 25px rgba(2, 132, 199, 0.55);
      cursor: pointer;
    }

    @media screen and (max-width: 960px) {
      /* Doğal dikey kaydırma ve tam genişlikli sahne (Masaüstü zorlanmamışsa) */
      html:has(body:not(.mobil-masaustu-zorla)),
      body:not(.mobil-masaustu-zorla) {
        width: 100% !important;
        height: auto !important;
        min-height: 100dvh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
      }

      body:not(.mobil-masaustu-zorla) #hem-ekran-sahne {
        width: 100% !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 100dvh !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        display: flex;
        flex-direction: column;
      }

      /* Üst Bar (Top Header) Mobil Düzeni */
      body:not(.mobil-masaustu-zorla) .top-header {
        position: sticky !important;
        top: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 8px 10px !important;
        gap: 8px !important;
        z-index: 2500 !important;
      }

      body:not(.mobil-masaustu-zorla) .header-logo-wrap {
        height: auto !important;
        padding-left: 2px !important;
        align-items: flex-start !important;
      }

      body:not(.mobil-masaustu-zorla) .header-brand-top {
        width: 100%;
        gap: 10px !important;
      }

      body:not(.mobil-masaustu-zorla) .mobil-hamburger-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 11px;
        background: rgba(56, 189, 248, 0.16) !important;
        border: 1.5px solid rgba(56, 189, 248, 0.48) !important;
        color: #f8fafc !important;
        cursor: pointer;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
      }

      body:not(.mobil-masaustu-zorla) .mobil-hamburger-btn svg {
        width: 22px;
        height: 22px;
        color: #38bdf8 !important;
      }

      body:not(.mobil-masaustu-zorla) .header-logo-img {
        width: 46px !important;
        height: 46px !important;
        border-radius: 12px !important;
        padding: 3px !important;
      }

      body:not(.mobil-masaustu-zorla) .header-slogan-line1,
      body:not(.mobil-masaustu-zorla) .header-slogan-line2 {
        font-size: 20px !important;
        line-height: 1.08 !important;
      }

      /* Üst Menü Butonları: Yatay Kaydırılabilir Şerit */
      body:not(.mobil-masaustu-zorla) .header-nav {
        width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        gap: 6px !important;
        padding: 2px 2px 4px !important;
        -webkit-overflow-scrolling: touch;
      }

      body:not(.mobil-masaustu-zorla) .nav-btn,
      body:not(.mobil-masaustu-zorla) .profile-btn {
        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        padding: 0 12px !important;
        font-size: 13.5px !important;
        border-radius: 9px !important;
        flex-shrink: 0 !important;
      }

      body:not(.mobil-masaustu-zorla) .profile-avatar {
        width: 24px !important;
        height: 24px !important;
      }

      /* Açılır Menüler (Evrak & Profil) Mobilde Sabit ve Ekran İçi */
      body:not(.mobil-masaustu-zorla) .dropdown-wrapper.open > .dropdown-menu {
        position: fixed !important;
        top: 108px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 180px) !important;
        overflow-y: auto !important;
        z-index: 3500 !important;
      }

      body:not(.mobil-masaustu-zorla) .submenu-wrapper.sub-open > .submenu-left {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-top: 6px !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08) !important;
      }

      body:not(.mobil-masaustu-zorla) .ders-columns {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }

      /* Sol Menü (Left Sidebar) -> Yandan Kayarak Açılan Mobil Çekmece (Drawer) */
      body:not(.mobil-masaustu-zorla) .body-workspace {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: calc(100dvh - 110px) !important;
        max-height: none !important;
        flex-direction: column !important;
      }

      body:not(.mobil-masaustu-zorla) .mobil-drawer-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(2, 6, 23, 0.72) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 3900 !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
      }

      body.mobil-menu-acik:not(.mobil-masaustu-zorla) .mobil-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
      }

      body:not(.mobil-masaustu-zorla) .left-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 270px !important;
        min-width: 270px !important;
        max-width: 84vw !important;
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        padding: 14px 14px 84px !important;
        background: #0b1325 !important;
        border-right: 1px solid rgba(56, 189, 248, 0.35) !important;
        box-shadow: 14px 0 38px rgba(0, 0, 0, 0.65) !important;
        z-index: 4000 !important;
        transform: translateX(-105%) !important;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1) !important;
        overflow-y: auto !important;
      }

      body.mobil-menu-acik:not(.mobil-masaustu-zorla) .left-sidebar {
        transform: translateX(0) !important;
      }

      body:not(.mobil-masaustu-zorla) .mobil-drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(56, 189, 248, 0.25);
      }

      body:not(.mobil-masaustu-zorla) .mobil-drawer-title {
        font-size: 15px;
        font-weight: 800;
        color: #f8fafc;
      }

      body:not(.mobil-masaustu-zorla) .mobil-drawer-close {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(239, 68, 68, 0.16) !important;
        border: 1px solid rgba(239, 68, 68, 0.4) !important;
        color: #fca5a5 !important;
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
      }

      body:not(.mobil-masaustu-zorla) .sidebar-nav,
      body:not(.mobil-masaustu-zorla) .sidebar-group,
      body:not(.mobil-masaustu-zorla) .sidebar-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
      }

      body:not(.mobil-masaustu-zorla) .sidebar-submenu {
        width: 100% !important;
      }

      body:not(.mobil-masaustu-zorla) .sidebar-sub-btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
      }

      /* Ana Çalışma Alanı (#tiledPage) Mobil Genişlik ve Kaydırma */
      body:not(.mobil-masaustu-zorla) .tiled-viewport,
      body:not(.mobil-masaustu-zorla) #tiledPage {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: calc(100dvh - 120px) !important;
        max-height: none !important;
        padding: 12px 10px 84px 10px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
      }

      body:not(.mobil-masaustu-zorla) .workspace-view {
        max-width: 100% !important;
      }

      body:not(.mobil-masaustu-zorla) .kt-card {
        padding: 14px 12px 18px !important;
        border-radius: 12px !important;
        overflow-x: auto !important;
      }

      body:not(.mobil-masaustu-zorla) .kt-header {
        flex-wrap: wrap !important;
        gap: 8px !important;
      }

      /* Modül Kartları, Formlar ve Tablolar İçin Akıllı Mobil Esneklik */
      body:not(.mobil-masaustu-zorla) #tiledPage table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }

      /* A4 Resmi Evrak Önizlemeleri Mobilde Ekrana Orantılı Sığsın */
      body:not(.mobil-masaustu-zorla) .a4-page,
      body:not(.mobil-masaustu-zorla) .a4-sheet,
      body:not(.mobil-masaustu-zorla) .evrak-a4-page {
        max-width: 100% !important;
        overflow-x: auto !important;
      }

      /* Mobil Alt Hızlı Erişim Barı */
      body:not(.mobil-masaustu-zorla) .mobil-alt-bar {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr);
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 62px !important;
        background: rgba(11, 19, 37, 0.96) !important;
        backdrop-filter: blur(14px) !important;
        border-top: 1.5px solid rgba(56, 189, 248, 0.38) !important;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5) !important;
        z-index: 3000 !important;
        padding: 4px 6px !important;
      }

      body:not(.mobil-masaustu-zorla) .mobil-alt-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        background: transparent !important;
        border: none !important;
        color: #cbd5e1 !important;
        text-decoration: none !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        cursor: pointer;
        padding: 4px 2px !important;
      }

      body:not(.mobil-masaustu-zorla) .mobil-alt-item svg {
        width: 19px !important;
        height: 19px !important;
        color: #38bdf8 !important;
        flex-shrink: 0;
      }

      body:not(.mobil-masaustu-zorla) .mobil-alt-item:active,
      body:not(.mobil-masaustu-zorla) .mobil-alt-item:hover {
        background: rgba(56, 189, 248, 0.15) !important;
        color: #ffffff !important;
      }

      body:not(.mobil-masaustu-zorla) #scrollNavWrap {
        bottom: 74px !important;
        right: 12px !important;
      }
    }
