    :root {
      --teal-primary: #0d9488;
      --teal-hover: #0f766e;
      --teal-light: #f0fdfa;
      --border-color: #e2e8f0;
      --border-hover: #cbd5e1;
      --text-dark: #1c1c1e;
      --text-muted: #8e8e93;
      --bg-canvas: #ffffff;
      --apple-radius: 8px;
      --apple-card-radius: 14px;
    }

    html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; -webkit-font-smoothing: antialiased; }
    body {
      margin: 0; padding: 0; width: 100%; max-width: 100%; min-height: 100vh;
      background-color: var(--bg-canvas); color: var(--text-dark);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
      box-sizing: border-box; overflow-x: hidden; scrollbar-width: none; -ms-overflow-style: none;
    }
    html::-webkit-scrollbar, body::-webkit-scrollbar { display: none !important; width: 0px !important; }
    *, *::before, *::after { box-sizing: inherit; }

    .main-wrapper { display: flex; flex-direction: column; width: 100%; min-width: 0; background: #ffffff; }

    .top-header {
      min-height: 52px; border-bottom: 1px solid var(--border-color); display: flex;
      align-items: center; justify-content: space-between; padding: 0.35rem 1.2rem; background: white; width: 100%;
      gap: 0.6rem; flex-wrap: wrap;
    }
    .header-left-controls { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
    .header-right-controls { display: flex; align-items: center; gap: 0.6rem; }

    .pin-auth-box {
      display: inline-flex; align-items: center; gap: 0.3rem; background: #f8fafc;
      padding: 0.15rem 0.35rem; border: 1px solid var(--border-color); border-radius: 8px; height: 34px;
    }
    .pin-auth-input {
      width: 110px; height: 26px; border: 1px solid #cbd5e1; border-radius: 6px;
      font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-align: center; outline: none; background: white;
    }
    .pin-auth-input:focus { border-color: var(--teal-primary); }

    .permission-notice-top {
      font-size: 0.78rem; font-weight: 600; color: #d97706; display: inline-flex; align-items: center; gap: 4px;
    }

    .cloud-status-indicator {
      width: 18px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
      flex: 0 0 auto; cursor: default;
    }
    .live-dot {
      width: 8px; height: 8px; border-radius: 50%; background: #ef4444;
      box-shadow: 0 0 0 0 rgba(239,68,68,0.5);
      animation: cloudPulse 1.35s ease-in-out infinite;
    }
    @keyframes cloudPulse {
      0%, 100% { opacity: 0.35; box-shadow: 0 0 0 0 rgba(239,68,68,0.35); }
      50% { opacity: 1; box-shadow: 0 0 0 4px rgba(239,68,68,0); }
    }

    .btn {
      height: 34px; padding: 0 0.75rem; border-radius: var(--apple-radius); font-size: 0.78rem; font-weight: 600;
      cursor: pointer; border: 1.5px solid var(--border-color); background: white; color: var(--text-dark);
      transition: all 0.15s ease; user-select: none; display: inline-flex; align-items: center; justify-content: center;
      gap: 0.35rem; box-sizing: border-box; outline: none; white-space: nowrap;
    }
    .btn:hover { background: #f8fafc; border-color: var(--border-hover); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
    .btn-teal { background: var(--teal-primary); color: white; border-color: var(--teal-primary); }
    .btn-teal:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
    .btn-danger { background: #ff3b30; color: white; border: none; }
    .btn-danger:hover { background: #e02d23; }

    .select-dropdown {
      height: 34px; padding: 0 0.65rem; border: 1.5px solid var(--border-color); border-radius: var(--apple-radius);
      font-size: 0.78rem; font-weight: 600; color: var(--text-dark); background: white; cursor: pointer; outline: none;
      transition: all 0.15s ease; display: inline-flex; align-items: center; box-sizing: border-box; white-space: nowrap;
    }
    .select-dropdown:hover { border-color: var(--border-hover); background: #f8fafc; }

    .unified-toolbar-group {
      display: inline-flex; background: #f1f5f9; padding: 3px; border-radius: 10px; gap: 2px; align-items: center;
    }
    .unified-toolbar-btn {
      height: 30px; padding: 0 0.75rem; font-size: 0.76rem; font-weight: 700; border: none; background: none;
      border-radius: 7px; cursor: pointer; color: #475569; transition: all 0.15s ease; display: inline-flex;
      align-items: center; gap: 4px; white-space: nowrap; user-select: none;
    }
    .unified-toolbar-btn:hover { background: rgba(255,255,255,0.7); color: #0f172a; }
    .unified-toolbar-btn.active {
      background: white; color: #0f766e; box-shadow: 0 2px 6px rgba(0,0,0,0.08); font-weight: 800;
    }

    .toolbar-section {
      padding: 0.6rem 1.2rem 0.45rem 1.2rem; display: flex; justify-content: flex-start;
      align-items: center; flex-wrap: wrap; gap: 0.5rem; width: 100%; border-bottom: 1px solid var(--border-color);
    }
    .page-title-area { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
    .page-title-area h2 { font-size: 1.18rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.4px; margin: 0; margin-right: 0.2rem; }
    .action-toolbar { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
    .header-view-switches { display:flex; align-items:center; gap:0.45rem; flex-wrap:wrap; min-width:0; }
    .header-view-switches .unified-toolbar-group {
      background:#f4fbfa; border:1px solid #d9eeea; box-shadow:none; gap:4px; padding:4px;
    }
    .top-header .unified-toolbar-btn {
      min-height:34px; padding:0 12px; border:1px solid transparent; border-radius:10px;
      background:transparent; color:#335b57; font-size:0.77rem; font-weight:700;
    }
    .top-header .unified-toolbar-btn:hover { background:#ffffff; border-color:#d2ebe6; color:#0f766e; }
    .top-header .unified-toolbar-btn.active {
      background:#0f766e; color:#fff; border-color:#0f766e; box-shadow:0 6px 14px rgba(15,118,110,.18);
    }
    .header-action-btn,.header-icon-btn,.v2692-workflow-actions>#btnSaveSchedule,.v2692-workflow-actions>#v267SubmitButton,.v2692-workflow-more>summary {
      border-radius:10px; min-height:36px; font-weight:700; transition:all .16s ease;
    }
    .header-action-btn,.header-icon-btn {
      background:#f0fdfa !important; border:1px solid #b8e8df !important; color:#0f766e !important;
      box-shadow:none;
    }
    .header-action-btn:hover,.header-icon-btn:hover,.v2692-workflow-more>summary:hover {
      background:#dff7f1 !important; border-color:#8fd5c8 !important; color:#115e59 !important;
      transform:translateY(-1px);
    }
    .header-icon-btn { width:36px; min-width:36px; padding:0 !important; justify-content:center; font-size:0.95rem; }
    .auth-status-badge { display:none; align-items:center; gap:0.35rem; }
    .auth-status-label { display:none; }
    .toolbar-section.is-relocated { display:none; }

    .status-legend-bar {
      padding: 0.4rem 1.2rem; display: flex; justify-content: space-between; align-items: center;
      font-size: 0.76rem; border-bottom: 1px solid var(--border-color); background: #fafbfc; width: 100%;
    }
    .legend-items { display: flex; align-items: center; gap: 0.8rem; }
    .legend-item { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; color: #636366; font-size: 0.74rem; }
    .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
    .dot-green { background: #34c759; }
    .dot-amber { background: #ff9500; }
    .dot-red { background: #ff3b30; }

    .cards-pool-drawer {
      display: none; background: #f8fafc; border-bottom: 2px solid #cbd5e1; padding: 0.8rem 1.2rem; animation: slideDown 0.2s ease-out;
      position: -webkit-sticky; position: sticky; top: 0; z-index: 1000; box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
    .cards-pool-header {
      display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; flex-wrap: wrap; gap: 0.4rem;
    }
    .cards-pool-title { font-size: 0.86rem; font-weight: 800; color: #0f766e; display: flex; align-items: center; gap: 6px; }
    .pool-cards-container {
      display: flex; flex-wrap: wrap; gap: 0.45rem; max-height: 160px; overflow-y: auto; padding: 6px 4px;
    }

    .pool-card-item {
      background: white; border: 1.5px solid #cbd5e1; border-radius: 8px; padding: 0.38rem 0.65rem;
      cursor: grab; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700;
      box-shadow: 0 1px 3px rgba(0,0,0,0.04); user-select: none; -webkit-user-select: none;
      touch-action: none !important; -webkit-touch-callout: none !important;
      transition: transform 0.1s ease, border-color 0.1s ease;
    }
    .pool-card-item * { pointer-events: none; }
    .pool-card-item:hover { border-color: var(--teal-primary); transform: translateY(-1px); box-shadow: 0 3px 6px rgba(0,0,0,0.08); }
    .pool-card-item.selected { border-color: var(--teal-primary); background: #f0fdfa; box-shadow: 0 0 0 2px var(--teal-primary); }
    .pool-badge-count { background: #0d9488; color: white; padding: 1px 6px; border-radius: 10px; font-size: 0.68rem; }

    .dashboard-container { padding: 0.6rem 1.2rem 1.5rem 1.2rem; width: 100%; }
    .day-card-section {
      background: white; border: 1px solid #e5e5ea; border-radius: var(--apple-card-radius);
      overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.03); margin-bottom: 1.4rem;
    }
    .day-card-header {
      background: #f8fafc; border-bottom: 1px solid #e5e5ea;
      padding: 0.65rem 1.2rem; display: flex; justify-content: space-between; align-items: center;
    }
    .day-card-header h3 { font-size: 0.98rem; font-weight: 800; color: #0f766e; display: flex; align-items: center; gap: 0.4rem; margin: 0; }
    .branch-name-badge {
      font-size: 0.78rem; font-weight: 800; color: #0f766e; background: #f0fdfa; border: 1px solid #ccfbf1; padding: 0.25rem 0.7rem; border-radius: 20px;
    }

    .schedule-table {
      table-layout: fixed !important; width: 100% !important; min-width: 100% !important; max-width: 100% !important;
      border-collapse: collapse; font-size: 0.75rem;
    }
    .schedule-table th, .schedule-table td {
      border: 1px solid #efeff4; text-align: center; vertical-align: middle; padding: 2px;
    }
    .schedule-table th {
      background: #f0fdfa; color: #115e59; font-weight: 700; font-size: 0.72rem; padding: 0.55rem 0.2rem; text-transform: uppercase;
    }
    .col-saat { width: 80px !important; min-width: 80px !important; max-width: 80px !important; background: #f8fafc; }

    .row-hour-title { background: #f8fafc; font-weight: 700; font-size: 0.72rem; color: #1c1c1e; line-height: 1.2; }

    .slot-cell {
      height: 64px; max-height: 64px; padding: 2px; vertical-align: top; cursor: pointer; background: white; transition: background-color 0.15s ease; position: relative;
    }
    .slot-cell:hover { background-color: #f5f5f7; }
    .slot-cell.drag-over { background-color: #f0fdfa !important; border: 2px dashed #0d9488 !important; }

    .slot-card {
      height: 100%; border-radius: 5px; padding: 0.25rem 0.35rem; display: flex; flex-direction: column;
      justify-content: center; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,0.04); overflow: hidden;
      user-select: none; -webkit-user-select: none; touch-action: none !important; -webkit-touch-callout: none !important;
      transition: transform 0.1s ease; position: relative; cursor: grab;
    }
    .slot-card * { pointer-events: none; }
    .slot-card.is-dragging { opacity: 0.35; transform: scale(0.95); }
    .slot-card.needs-teacher { border: 1.5px dashed #f59e0b !important; background: #fffbeb !important; }

    .slot-course {
      font-weight: 800; font-size: 0.71rem; line-height: 1.1; margin-bottom: 2px; white-space: normal; word-break: break-word; letter-spacing: -0.2px;
    }
    .slot-teacher { font-size: 0.64rem; line-height: 1.1; opacity: 0.9; white-space: normal; word-break: break-word; }
    .teacher-warning-badge { font-size: 0.6rem; font-weight: 800; color: #d97706; display: inline-flex; align-items: center; gap: 2px; }

    .break-row td { height: 34px !important; }
    .break-cell-banner {
      background: #fffbeb; color: #b45309; font-weight: 800; font-size: 0.76rem; letter-spacing: 1px;
      text-transform: uppercase; border: 1px dashed #fde68a !important; padding: 6px !important;
    }

    /* V2.6.5: Matematik ailesi aynı mavi renk grubunda, alt dersler ayrı ve sabit tonda. */
    .c-mat { --course-accent:#2563eb; background:#eff6ff; color:#1e40af; border-left:3px solid var(--course-accent); }
    .c-mat-1 { --course-accent:#3b82f6; background:#dbeafe; color:#1e3a8a; border-left:3px solid var(--course-accent); }
    .c-mat-2 { --course-accent:#1d4ed8; background:#bfdbfe; color:#172554; border-left:3px solid var(--course-accent); }
    .c-mat-3 { --course-accent:#1e40af; background:#93c5fd; color:#172554; border-left:3px solid var(--course-accent); }
    .c-geo { background: #eef2ff; color: #3730a3; border-left: 3px solid #5856d6; }
    .c-turk { background: #fef2f2; color: #991b1b; border-left: 3px solid #ff3b30; }
    .c-edeb { background: #fff7ed; color: #9a3412; border-left: 3px solid #ff9500; }
    .c-tar { background: #fffbeb; color: #92400e; border-left: 3px solid #ffcc00; }
    .c-cog { background: #f7fee7; color: #3f6212; border-left: 3px solid #34c759; }
    .c-fiz { background: #ecfeff; color: #155e75; border-left: 3px solid #32ade6; }
    .c-kim { background: #f0f9ff; color: #075985; border-left: 3px solid #00c7be; }
    .c-biy { background: #f0fdf4; color: #166534; border-left: 3px solid #30d158; }
    .c-deg { background: #faf5ff; color: #6b21a8; border-left: 3px solid #af52de; }
    .c-din { background: #fdf4ff; color: #86198f; border-left: 3px solid #da8eee; }
    .c-divan { background: #fdf2f8; color: #9d174d; border-left: 3px solid #ff2d55; }

    /* V2.6.9.10.1: il geneli ders yükünde aynı personeli ID ile tek satırda birleştir. */
    .v269101-kurum-list { display:flex; flex-wrap:wrap; justify-content:center; gap:4px; min-width:150px; }
    .v269101-kurum-chip { display:inline-flex; align-items:center; gap:4px; padding:3px 6px; border:1px solid #ccfbf1;
      border-radius:7px; background:#f0fdfa; color:#0f766e; font-size:.66rem; font-weight:750; line-height:1.15; }
    .v269101-kurum-chip small { color:#475569; font-size:.61rem; font-weight:800; white-space:nowrap; }
    @media print {
      body.printing-stat .v269101-kurum-list { gap:2px !important; min-width:0 !important; }
      body.printing-stat .v269101-kurum-chip { padding:1px 3px !important; font-size:6.2pt !important; border-radius:4px !important; }
      body.printing-stat .v269101-kurum-chip small { font-size:5.7pt !important; }
    }

    .stats-tabs-bar {
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem;
      border-bottom: 1.5px solid #efeff4; padding-bottom: 0.8rem; margin-bottom: 1rem;
    }
    .stats-tabs-group { display: inline-flex; background: #f1f5f9; padding: 3px; border-radius: 10px; gap: 3px; flex-wrap: wrap; }
    .stat-tab-btn {
      height: 32px; padding: 0 0.8rem; font-size: 0.76rem; font-weight: 700; border: none; background: none;
      border-radius: 7px; cursor: pointer; color: #64748b; transition: all 0.15s ease; display: inline-flex; align-items: center; gap: 4px;
    }
    .stat-tab-btn.active { background: white; color: var(--text-dark); box-shadow: 0 2px 5px rgba(0,0,0,0.06); }

    .stat-tab-pane { display: none; }
    .stat-tab-pane.active { display: block; }

    .teacher-stats-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
    .teacher-stats-table th, .teacher-stats-table td { border: 1px solid #efeff4; padding: 0.5rem 0.6rem; text-align: center; }
    .teacher-stats-table th { background: #f8fafc; color: #3a3a3c; font-weight: 700; user-select: none; }
    .teacher-stats-table th.sortable-th { cursor: pointer; transition: background 0.15s ease; }
    .teacher-stats-table th.sortable-th:hover { background: #e2e8f0; color: #0f766e; }
    .teacher-stats-table td.name-cell { text-align: left; font-weight: 700; color: var(--text-dark); }
    .load-badge { font-weight: 700; padding: 0.18rem 0.55rem; border-radius: 10px; font-size: 0.74rem; display: inline-block; }
    .course-mini-chip { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 5px; font-size: 0.68rem; font-weight: 600; margin: 2px; background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }

    .duty-select {
      width: 100%; height: 26px; border-radius: 6px; font-size: 0.72rem; font-weight: 700;
      outline: none; border: 1px solid #cbd5e1; cursor: pointer; padding: 0 3px; background: white;
    }
    .duty-nobet { background: #f0fdfa !important; color: #0f766e !important; border-color: #5eead4 !important; }
    .duty-tatil { background: #fffbeb !important; color: #d97706 !important; border-color: #fde68a !important; }
    .duty-dogum { background: #faf5ff !important; color: #9333ea !important; border-color: #e9d5ff !important; }
    .duty-ucretsiz { background: #fef2f2 !important; color: #dc2626 !important; border-color: #fecaca !important; }
    .duty-izin { background: #fff7ed !important; color: #c2410c !important; border-color: #fed7aa !important; }

    .gender-select {
      height: 24px; width: 44px; border-radius: 6px; font-size: 0.74rem; font-weight: 800;
      border: 1px solid #cbd5e1; outline: none; cursor: pointer; text-align: center; background: white;
    }
    .gender-k { background: #fdf2f8; color: #db2777; border-color: #fbcfe8; }
    .gender-e { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }

    .modal-overlay {
      position: fixed !important;
      top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
      width: 100vw !important; height: 100vh !important;
      background: rgba(0, 0, 0, 0.58) !important;
      display: none;
      align-items: flex-start !important;
      justify-content: center !important;
      z-index: 999999 !important;
      overflow: hidden !important;
      padding: 24px 12px !important;
      backdrop-filter: blur(5px) !important;
    }
    .modal {
      background: #ffffff !important;
      border-radius: var(--apple-card-radius) !important;
      width: 92% !important;
      max-width: 560px !important;
      max-height: calc(100vh - 48px) !important;
      overflow-y: auto !important;
      padding: 1.5rem !important;
      margin: 0 auto !important;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
      position: relative !important;
    }
    .modal-wide {
      max-width: 1150px !important;
      width: 96% !important;
      max-height: calc(100vh - 48px) !important;
      padding: 1.2rem !important;
    }

    .curriculum-table {
      width: 100% !important; table-layout: fixed !important; border-collapse: collapse; font-size: 0.72rem;
    }
    .curriculum-table th, .curriculum-table td {
      border: 1px solid #e2e8f0; padding: 4px 2px; text-align: center; vertical-align: middle;
    }
    .curriculum-table th {
      background: #f8fafc; color: #1e293b; font-weight: 700; font-size: 0.68rem; line-height: 1.15; word-break: break-word;
    }
    .curriculum-table th.col-base-group, .curriculum-table td.col-base-group {
      width: 90px !important; min-width: 90px !important; max-width: 90px !important; text-align: left; padding-left: 6px; font-weight: 800; color: #0f766e;
    }
    .curriculum-table th.col-total, .curriculum-table td.col-total {
      width: 48px !important; font-weight: 800; background: #f0fdf4; color: #166534;
    }
    .curriculum-table th.col-action, .curriculum-table td.col-action {
      width: 38px !important; min-width: 38px !important; max-width: 38px !important;
    }
    .curriculum-input {
      width: 30px !important; height: 24px !important; border-radius: 5px; border: 1px solid #cbd5e1;
      text-align: center; font-size: 0.72rem; font-weight: 700; outline: none; padding: 0; background: white;
    }
    .curriculum-input:focus { border-color: var(--teal-primary); background: #f0fdfa; box-shadow: 0 0 0 2px rgba(13,148,136,0.2); }

    .teachers-table-wide {
      width: 100%; border-collapse: collapse; font-size: 0.78rem;
    }
    .teachers-table-wide th, .teachers-table-wide td {
      border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left; white-space: nowrap;
    }
    .teachers-table-wide th {
      background: #f8fafc; color: #334155; font-weight: 700;
    }

    .day-toggle-pill {
      border: 1.5px solid #cbd5e1; background: white; color: #475569; padding: 6px 14px; border-radius: 20px;
      font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.15s ease; user-select: none;
    }
    .day-toggle-pill.selected {
      background: var(--teal-primary); color: white; border-color: var(--teal-primary); box-shadow: 0 2px 6px rgba(13,148,136,0.25);
    }

    .modal-header { font-size: 1.15rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; }
    .modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1.2rem; }
    .form-group-modal { margin-bottom: 0.9rem; text-align: left; }
    .form-group-modal label { display: block; font-size: 0.78rem; font-weight: 600; color: #48484a; margin-bottom: 0.35rem; }
    .form-group-modal select, .form-group-modal input {
      width: 100%; padding: 0.6rem 0.7rem; border: 1px solid var(--border-color); border-radius: 8px; outline: none; font-size: 0.85rem; background: #f5f5f7;
    }
    .warning-box { background: #fef2f2; border: 1.5px solid #ef4444; color: #991b1b; padding: 0.65rem 0.8rem; border-radius: 8px; font-size: 0.78rem; margin-top: 0.6rem; display: none; line-height: 1.35; }
    .sube-item { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0.75rem; border: 1px solid #e5e5ea; border-radius: 7px; margin-bottom: 0.35rem; background: #f5f5f7; }

    @media print {
      body.printing-stat { background: white !important; }
      body.printing-stat .top-header, body.printing-stat .toolbar-section, body.printing-stat .status-legend-bar,
      body.printing-stat .dashboard-container, body.printing-stat .cards-pool-drawer, body.printing-stat .no-print,
      body.printing-stat .modal-actions, body.printing-stat .stats-tabs-bar { display: none !important; }
      body.printing-stat #statsModal { display: block !important; position: static !important; background: white !important; padding: 0 !important; }
      body.printing-stat #statsModal .modal { box-shadow: none !important; border: none !important; width: 100% !important; max-width: 100% !important; padding: 0 !important; }
      body.printing-stat .stat-tab-pane { display: none !important; }
      body.printing-stat .stat-tab-pane.active { display: block !important; }
      body.printing-stat .teacher-stats-table { font-size: 8pt !important; width: 100% !important; page-break-inside: avoid !important; }
      body.printing-stat .teacher-stats-table th, body.printing-stat .teacher-stats-table td { padding: 3px 4px !important; border: 1px solid #94a3b8 !important; }
      body.printing-stat .stat-print-title { display: block !important; margin-bottom: 8px; font-size: 13pt; font-weight: bold; border-bottom: 2px solid #0d9488; padding-bottom: 4px; }
      body:not(.printing-stat) .stat-print-title { display: none !important; }

      @page { size: A4 landscape; margin: 10mm; }
      body:not(.printing-stat) .top-header, body:not(.printing-stat) .toolbar-section, body:not(.printing-stat) .status-legend-bar,
      body:not(.printing-stat) .cards-pool-drawer, body:not(.printing-stat) .no-print { display: none !important; }
      body:not(.printing-stat) .dashboard-container { padding: 0 !important; margin: 0 !important; width: 100% !important; }
      body:not(.printing-stat) .day-card-section { box-shadow: none !important; border: 1.5px solid #475569 !important; margin: 0 0 15px 0 !important; width: 100% !important; page-break-inside: avoid !important; }
      body:not(.printing-stat) .schedule-table { min-width: 100% !important; width: 100% !important; table-layout: fixed !important; }
      body:not(.printing-stat) .schedule-table th, body:not(.printing-stat) .schedule-table td { border: 1px solid #94a3b8 !important; padding: 1.5px !important; white-space: normal !important; word-break: break-word !important; }
      body:not(.printing-stat) .col-saat { width: 52px !important; min-width: 52px !important; max-width: 52px !important; }
      body:not(.printing-stat) .slot-cell { height: 40px !important; max-height: 40px !important; }
      body:not(.printing-stat) .slot-card { padding: 1px 2px !important; }
      body:not(.printing-stat) .slot-course { font-size: 6.8px !important; line-height: 1.1 !important; white-space: normal !important; }
      body:not(.printing-stat) .slot-teacher { font-size: 6.2px !important; line-height: 1.1 !important; white-space: normal !important; }
      body:not(.printing-stat) .break-row td { height: 20px !important; }
      body:not(.printing-stat) .break-cell-banner { font-size: 6.5px !important; padding: 2px !important; }
    }

    /* V2.6: ayrı yönetim çalışma alanı; mevcut program tasarımı korunur. */
    .admin-mode .toolbar-section, .admin-mode .cards-pool-drawer, .admin-mode #dashboardContainer, .admin-mode #v267WorkflowBar { display:none !important; }
    #adminPanel { display:none; padding:22px clamp(12px,3vw,42px); width:100%; box-sizing:border-box; max-width:1700px; margin:0 auto; }
    .admin-mode #adminPanel { display:block; }
    .admin-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:19px; }
    .admin-heading h1 { margin:0; font-size:1.65rem; letter-spacing:-.04em; color:#0f172a; }
    .admin-heading p { font-size:.8rem; margin:5px 0 0; color:#64748b; }
    .admin-nav { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; padding:7px; background:#f1f5f9; border-radius:13px; width:fit-content; max-width:100%; }
    .admin-nav button { background:transparent; border:0; border-radius:9px; padding:10px 13px; font-weight:750; cursor:pointer; color:#475569; font-size:.79rem; }
    .admin-nav button.active { background:white; color:#0f766e; box-shadow:0 2px 9px #0f172a16; }
    .admin-pane {display:none;} .admin-pane.active {display:block;}
    .admin-kpis {display:grid; grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin-bottom:17px;}
    .admin-kpi {border:1px solid #e2e8f0;border-radius:13px;padding:15px;background:white;box-shadow:0 2px 10px #0f172a08;}
    .admin-kpi small {color:#64748b;font-weight:700;font-size:.72rem;} .admin-kpi strong {display:block;font-size:1.7rem;color:#0f766e;margin-top:6px;}
    .admin-surface {background:white;border:1px solid #e2e8f0;border-radius:14px;padding:17px;margin-bottom:16px;overflow-x:auto;box-shadow:0 3px 13px #0f172a08;}
    .admin-surface h2 {font-size:1.05rem;margin:0 0 12px;color:#0f172a;}
    .admin-table {border-collapse:collapse;width:100%;min-width:750px;font-size:.78rem;}
    .admin-table th {text-align:left;background:#f8fafc;color:#475569;padding:11px 9px;border-bottom:1px solid #e2e8f0;}
    .admin-table td {padding:10px 9px;border-bottom:1px solid #f1f5f9;vertical-align:middle;color:#334155;}
    .admin-table tr:last-child td {border-bottom:0;}
    .admin-filter-row {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px;}
    .admin-filter-row input,.admin-filter-row select,.admin-editor-grid input,.admin-editor-grid select {min-height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 10px;background:white;color:#334155;font:inherit;max-width:100%;}
    .admin-filter-row input {min-width:230px;flex:1;}
    .admin-editor-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
    .admin-editor-grid label {display:flex;flex-direction:column;gap:5px;font-size:.78rem;font-weight:700;color:#475569;}
    .admin-editor-grid .full {grid-column:1 / -1;}
    .admin-editor-grid input,.admin-editor-grid select {width:100%;box-sizing:border-box;}
    .admin-days {display:flex;flex-wrap:wrap;gap:7px;margin:7px 0;}
    .admin-days label {display:flex;align-items:center;gap:4px;border:1px solid #cbd5e1;padding:7px;border-radius:7px;font-size:.73rem;cursor:pointer;}
    .admin-hint {font-size:.74rem;color:#64748b;line-height:1.5;}
    .admin-chip {font-size:.7rem;font-weight:750;background:#f0fdfa;color:#0f766e;padding:4px 8px;border-radius:8px;display:inline-block;}
    .admin-chip.warn {background:#fff7ed;color:#9a3412;}
    @media(max-width:650px){.admin-editor-grid{grid-template-columns:1fr;}#adminPanel{padding:12px}.admin-nav button{padding:9px 10px}}
    @media print {#adminPanel,#adminPanelToggle{display:none!important;}body.admin-mode .toolbar-section,body.admin-mode #dashboardContainer{display:block!important;}}

    /* V2.6.5: Günler ayrı zaman şeritlerinde; aynı satırda yanlış saat veya mola hizalanmaz. */
    .weekly-period-controls { display:flex;gap:5px;margin:12px 16px 5px;padding:4px;border-radius:10px;background:#f1f5f9;width:max-content;max-width:calc(100% - 32px);flex-wrap:wrap; }
    .weekly-period-button { border:0;border-radius:7px;background:transparent;padding:9px 13px;font-weight:800;color:#475569;cursor:pointer;font-size:.78rem; }
    .weekly-period-button.active { color:#0f766e;background:#fff;box-shadow:0 2px 6px #0f172a18; }
    .weekly-period-content { padding:8px 14px 17px; }
    .weekly-period-content[hidden] { display:none !important; }
    .weekly-period-title { color:#0f766e;font-size:.89rem;font-weight:800;margin:8px 0 11px; }
    .weekly-day-grid { display:grid;gap:9px;overflow-x:auto;align-items:start;padding-bottom:5px; }
    .weekly-day-grid.weekday { grid-template-columns:repeat(5,minmax(185px,1fr)); }
    .weekly-day-grid.weekend { grid-template-columns:repeat(2,minmax(240px,1fr)); }
    .weekly-single-day { border:1px solid #e2e8f0;border-radius:9px;min-width:0;overflow:hidden;break-inside:avoid; }
    .weekly-single-day-title { background:#eafaf7;color:#115e59;text-align:center;font-size:.78rem;font-weight:800;padding:10px 5px; }
    .weekly-day-table { width:100% !important;min-width:0 !important;max-width:none !important;table-layout:fixed !important; }
    .weekly-day-table th,.weekly-day-table td { overflow-wrap:anywhere; }
    .weekly-day-table .weekly-time-cell { width:74px !important;min-width:74px !important;max-width:74px !important;font-size:.7rem;background:#f8fafc;text-align:center;line-height:1.2; }
    .weekly-time-cell strong,.weekly-time-cell span { display:block; }
    .weekly-time-cell span { color:#64748b;font-size:.66rem;margin-top:3px; }
    .weekly-lesson-cell { height:66px;max-height:none;vertical-align:middle; }
    .weekly-lesson-cell .slot-card { min-height:56px;height:auto;padding:5px 6px; }
    .weekly-lesson-cell .slot-course { font-size:.73rem; }
    .weekly-lesson-cell .slot-teacher { font-size:.65rem; }
    .weekly-break-row td { height:auto !important; background:#fffbeb;color:#92400e;padding:8px 4px !important;font-weight:800;font-size:.68rem; }
    .weekly-break-row td span { font-weight:600;white-space:nowrap; }
    .weekly-off-status { display:block;color:#a16207;background:#fffbeb;padding:7px 4px;border-radius:5px;font-weight:750;font-size:.68rem; }
    @media (max-width:980px) { .weekly-day-grid { overflow-x:auto; } .weekly-day-grid.weekday { grid-template-columns:repeat(5,minmax(185px,1fr)); } }
    @media print {
      body:not(.printing-stat) .weekly-period-controls { display:none !important; }
      body:not(.printing-stat) .weekly-period-content[hidden] { display:block !important; }
      body:not(.printing-stat) .weekly-period-content { padding:4px 0 10px !important;break-before:auto; }
      body:not(.printing-stat) .weekly-day-grid { overflow:visible !important;gap:4px !important; }
      body:not(.printing-stat) .weekly-day-grid.weekday { grid-template-columns:repeat(5,minmax(0,1fr)) !important; }
      body:not(.printing-stat) .weekly-day-grid.weekend { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
      body:not(.printing-stat) .weekly-day-table .weekly-time-cell { width:37px !important;min-width:37px !important;max-width:37px !important;font-size:6.4px !important; }
      body:not(.printing-stat) .weekly-day-table .weekly-time-cell span { font-size:5.6px !important; }
      body:not(.printing-stat) .weekly-lesson-cell { height:auto !important;max-height:none !important;min-height:28px !important; }
      body:not(.printing-stat) .weekly-lesson-cell .slot-card { min-height:27px !important;height:auto !important; }
      body:not(.printing-stat) .weekly-break-row td { height:auto !important;font-size:6.5px !important; }
      body:not(.printing-stat) .weekly-single-day { page-break-inside:avoid !important; }
    }

    /* V2.6.6: independent day clocks across the same landscape A4 page. */
    .v266-weekly-layout{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,2fr);gap:10px;align-items:start;padding:10px;overflow-x:auto;}
    .v266-weekly-layout .weekly-period-content{display:block!important;min-width:0;padding:0;}
    .v266-weekly-layout .weekly-period-title{padding:7px 8px;margin:0 0 6px;background:#f0fdfa;border-radius:8px;font-size:.8rem;}
    .v266-weekly-layout .weekly-day-grid{overflow:visible;gap:4px;min-width:0;}
    .v266-weekly-layout .weekly-day-grid.weekday{grid-template-columns:repeat(5,minmax(0,1fr));}
    .v266-weekly-layout .weekly-day-grid.weekend{grid-template-columns:repeat(2,minmax(0,1fr));}
    .v266-weekly-layout .weekly-day-table .weekly-time-cell{width:38px!important;min-width:38px!important;max-width:38px!important;font-size:.58rem;}
    .v266-weekly-layout .weekly-day-table .weekly-time-cell span{font-size:.52rem;}
    .v266-weekly-layout .weekly-day-table th{font-size:.56rem;padding:4px 1px;}
    .v266-weekly-layout .weekly-single-day-title{padding:7px 2px;font-size:.61rem;overflow-wrap:anywhere;}
    .v266-weekly-layout .weekly-lesson-cell{height:auto;min-height:36px;padding:2px!important;}
    .v266-weekly-layout .weekly-lesson-cell .slot-card{min-height:34px;padding:3px 2px;}
    .v266-weekly-layout .weekly-lesson-cell .slot-course{font-size:.58rem;line-height:1.12;}
    .v266-weekly-layout .weekly-lesson-cell .slot-teacher{font-size:.51rem;line-height:1.13;}
    .v266-weekly-layout .weekly-break-row td{padding:4px 1px!important;font-size:.54rem;white-space:normal;}
    .v266-weekly-layout .weekly-break-row span{display:block;font-size:.49rem;}
    @media(max-width:1050px){.v266-weekly-layout{min-width:1100px;}}
    @media print{
      @page{size:A4 landscape;margin: 10mm;}
      body:not(.printing-stat) .weekly-view-section{margin:0!important;border:0!important;break-inside:avoid!important;}
      body:not(.printing-stat) .weekly-view-section .day-card-header{padding:3px 6px!important;min-height:0!important;margin:0!important;}
      body:not(.printing-stat) .weekly-view-section .day-card-header h3{font-size:9pt!important;margin:0!important;}
      body:not(.printing-stat) .v266-weekly-layout{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,2fr)!important;min-width:0!important;overflow:visible!important;gap:3px!important;padding:2px!important;align-items:start;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-period-content{display:block!important;padding:0!important;margin:0!important;break-before:auto!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-period-title{font-size:6pt!important;margin:0 0 2px!important;padding:2px!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-grid{gap:1px!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-grid.weekday{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-grid.weekend{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-single-day-title{padding:2px 0!important;font-size:5.6pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-table th,body:not(.printing-stat) .v266-weekly-layout .weekly-day-table td{padding:1px!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-table .weekly-time-cell{width:25px!important;min-width:25px!important;max-width:25px!important;font-size:4.9pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-day-table .weekly-time-cell span{font-size:4.5pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-lesson-cell{min-height:0!important;height:auto!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-lesson-cell .slot-card{min-height:0!important;height:auto!important;padding:1px!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-lesson-cell .slot-course{font-size:5pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-lesson-cell .slot-teacher{font-size:4.45pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-break-row td{padding:1px!important;font-size:4.5pt!important;}
      body:not(.printing-stat) .v266-weekly-layout .weekly-single-day{break-inside:avoid!important;}
      #v266Gate{display:none!important;}
      body.v266-portal-active #v266Portal{display:block!important;padding:0!important;}
      body.v266-portal-active .v266-exit,body.v266-portal-active .v266-portal-controls{display:none!important;}
    }

    /* V2.6.6.1 — login-only visual refinement. The embedded, original logo's background is #201f1d. */
    body:not(.v266-authenticated) .main-wrapper{filter:blur(14px);pointer-events:none;user-select:none;}
    .v266-gate{
      position:fixed;inset:0;z-index:200000;display:flex;align-items:flex-start;justify-content:center;
      padding:clamp(22px,5.5vh,64px) 18px 28px;overflow:auto;
      background:radial-gradient(ellipse at 50% 0%,#ffffff 0%,#f4f6f9 64%,#edf1f5 100%);
      backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px);
      font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
      -webkit-font-smoothing:antialiased;font-synthesis:none;color:#1d1d1f;
    }
    .v266-gate[hidden],#v266Portal[hidden],#v266PortalBranchWrap[hidden],#v266PortalSubjectWrap[hidden]{display:none!important;}
    .v266-auth-card{
      flex:none;width:min(100%,448px);padding:0;overflow:hidden;background:#fff;
      border:1px solid rgba(210,217,226,.64);border-radius:27px;
      box-shadow:0 32px 95px rgba(25,36,55,.10),0 9px 30px rgba(25,36,55,.055),0 1px 3px rgba(25,36,55,.04);
    }
    .v266-brand{
      display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:none;
      height:auto;min-height:185px;margin:0;padding:18px 24px 21px;border-radius:0;
      background:#201f1d;overflow:hidden;
    }
    .v266-brand img{display:block;width:min(100%,256px);height:137px;object-fit:contain;mix-blend-mode:normal;}
    .v266-eyebrow{
      margin:0;color:rgba(255,255,255,.70);text-align:center;font-size:10px;
      font-weight:650;letter-spacing:2.2px;line-height:1.5;
    }
    .v266-auth-body{padding:27px 34px 24px;}
    .v266-auth-card h1{
      margin:0;color:#1d1d1f;text-align:center;font-size:30px;font-weight:730;
      line-height:1.16;letter-spacing:-1.05px;
    }
    .v266-gate-desc{margin:9px 0 25px;text-align:center;color:#77808e;font-size:13px;line-height:1.48;font-weight:450;letter-spacing:-.08px;}
    .v266-login-switch{display:flex;gap:3px;padding:4px;margin:0 0 25px;background:#f0f2f5;border:1px solid #e9edf1;border-radius:13px;}
    .v266-login-switch button{
      flex:1;min-height:41px;padding:10px 5px;border:0;border-radius:10px;background:transparent;
      color:#697586;cursor:pointer;font:600 13px/1.25 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
      letter-spacing:-.15px;transition:background .16s ease,color .16s ease,box-shadow .16s ease;
    }
    .v266-login-switch button.selected{background:#fff;color:#145f59;box-shadow:0 1px 5px rgba(31,41,55,.11),0 1px 2px rgba(31,41,55,.04);}
    .v266-login-switch button:focus-visible,#v266LoginButton:focus-visible{outline:3px solid rgba(13,148,136,.35);outline-offset:2px;}
    #v266AuthForm label{display:block;margin:0 0 8px;color:#3a4552;font-size:12px;font-weight:650;letter-spacing:-.08px;}
    #v266Credential{
      display:block;width:100%;height:52px;padding:0 16px;background:#fff;border:1px solid #d9e0e7;
      border-radius:12px;outline:none;color:#202b36;font:450 16px/1.3 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
      letter-spacing:0;box-shadow:0 1px 2px rgba(20,30,40,.025);transition:border-color .17s ease,box-shadow .17s ease;
    }
    #v266Credential::placeholder{color:#a1aab5;opacity:1;}
    #v266Credential:focus{border-color:#0d9488;box-shadow:0 0 0 4px rgba(13,148,136,.11);}
    #v266GateError{min-height:21px;margin:7px 0;color:#b42318;font-size:12px;line-height:1.4;}
    #v266LoginButton{
      display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:52px;
      background:#0d8f84;border:1px solid #0d8f84;border-radius:13px;color:#fff;
      font:650 15px/1.25 -apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
      letter-spacing:-.15px;cursor:pointer;box-shadow:0 5px 12px rgba(13,143,132,.12);
      transition:background .17s ease,box-shadow .17s ease,transform .17s ease;
    }
    #v266LoginButton:not(:disabled):hover{background:#0c8076;box-shadow:0 7px 16px rgba(13,143,132,.18);}
    #v266LoginButton:not(:disabled):active{transform:scale(.99);}
    #v266LoginButton:disabled{opacity:.55;cursor:wait;}
    .v266-gate-footer{text-align:center;font-size:9px;letter-spacing:1.35px;color:#a2aab5;font-weight:650;margin-top:25px;line-height:1.5;}
    .v266-gate-footer span{padding:0 5px;color:#0d9488;}
    @media(max-width:600px){
      .v266-gate{padding:19px 13px 26px;}
      .v266-auth-card{width:min(100%,425px);border-radius:23px;}
      .v266-brand{min-height:164px;padding:16px 20px 18px;}
      .v266-brand img{width:min(100%,230px);height:122px;}
      .v266-eyebrow{font-size:9px;letter-spacing:1.65px;}
      .v266-auth-body{padding:25px 23px 22px;}
      .v266-auth-card h1{font-size:28px;letter-spacing:-.85px;}
      .v266-gate-desc{margin-bottom:22px;}
      .v266-login-switch{margin-bottom:23px;}
      .v266-gate-footer{margin-top:23px;font-size:8px;letter-spacing:1px;}
    }
    @media(max-height:650px){.v266-gate{padding-top:12px;}.v266-brand{min-height:140px;padding-top:8px;padding-bottom:11px;}.v266-brand img{height:111px;}.v266-auth-body{padding-top:19px;padding-bottom:17px;}.v266-gate-desc{margin-bottom:15px;}.v266-login-switch{margin-bottom:17px;}.v266-gate-footer{margin-top:14px;}}
    @media(prefers-reduced-motion:reduce){.v266-gate button,#v266Credential{transition:none!important;}}
    body.v266-portal-active .main-wrapper,body.v266-portal-active .modal-overlay{display:none!important;}
    #v266Portal{min-height:100vh;max-width:1400px;margin:0 auto;padding:20px 16px 50px;background:white;}
    .v266-portal-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;border-bottom:1px solid #e1e8ed;padding-bottom:16px;}
    .v266-portal-kicker{font-size:9px;letter-spacing:1.3px;color:#0d9488;font-weight:850;}
    .v266-portal-header h1{font-size:20px;margin:5px 0 4px;letter-spacing:-.4px;color:#18343e;}
    .v266-portal-header p{font-size:12px;color:#637987;margin:0;}
    .v266-exit{border:1px solid #e1e7ec;background:#fff;border-radius:10px;padding:10px 12px;color:#475569;font-weight:750;cursor:pointer;}
    .v266-portal-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:8px;padding:12px;background:#f5f8fa;border-radius:14px;margin:12px 0;}
    .v266-portal-controls label{font-size:11px;font-weight:750;color:#4d6570;}
    .v266-portal-controls select{display:block;width:100%;margin-top:6px;border-radius:9px;height:40px;border:1px solid #d7e2e8;padding:0 7px;background:#fff;color:#143c48;font-weight:700;font-size:12px;}
    .v266-readonly-note{font-size:10px;color:#67818a;margin:12px 3px;}
    .v266-portal-grid{display:grid;gap:10px;}
    .v266-portal-day{border:1px solid #e1e9ef;border-radius:13px;background:#fff;overflow:hidden;}
    .v266-portal-day h2{padding:11px 13px;margin:0;background:#f1faf8;color:#0f766e;font-size:12px;}
    .v266-portal-lesson{border-top:1px solid #f0f3f5;padding:9px 11px;display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;align-items:start;}
    .v266-portal-time{font-size:10px;font-weight:800;color:#667887;line-height:1.4;}
    .v266-portal-time span{display:block;font-weight:600;font-size:10px;}
    .v266-portal-entries{display:grid;gap:5px;}
    .v266-portal-entry{background:#f5f8fa;border:1px solid #e5ebef;border-radius:8px;padding:7px 9px;border-left:3px solid #0d9488;font-size:11px;color:#334155;}
    .v266-portal-entry strong{display:block;font-size:12px;color:#173b46;margin-bottom:3px;}
    .v266-portal-break{background:#fffbeb;color:#92400e;font-size:10px;font-weight:750;padding:6px 12px;}
    .v266-portal-empty{padding:20px;text-align:center;color:#8496a2;font-size:12px;}
    @media(max-width:600px){#v266Portal{padding:14px 10px}.v266-portal-lesson{grid-template-columns:78px minmax(0,1fr);gap:6px}.v266-portal-header h1{font-size:17px}.v266-portal-header{margin-bottom:12px}body.v266-authenticated:not(.v266-portal-active) #v266SettingsButton,body.v266-authenticated:not(.v266-portal-active) #btnSaveSchedule{display:none!important;}}


    /* V2.6.7: long Wix iframe pages — each day has an accessible local card tray. */
    .v267-day-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
    .v267-day-pool-button{border:1px solid #99f6e4;background:#f0fdfa;border-radius:8px;padding:6px 10px;
      color:#0f766e;font:750 12px -apple-system,BlinkMacSystemFont,"SF Pro Text",sans-serif;cursor:pointer;}
    .day-card-section>.cards-pool-drawer{position:relative!important;top:auto!important;z-index:3;
      display:block;box-shadow:0 5px 15px #0f172a18;border-radius:0;background:#f8fafc;}
    #slotModal.v267-anchored-modal{position:absolute!important;right:auto!important;bottom:auto!important;
      height:auto!important;min-height:0!important;overflow:visible!important;background:transparent!important;
      backdrop-filter:none!important;padding:0 12px 16px!important;align-items:flex-start!important;}
    #slotModal.v267-anchored-modal>.modal{margin:0 auto!important;max-height:min(680px,85vh)!important;
      border:1px solid #d1d5db;box-shadow:0 16px 45px #0f172a55!important;}
    #slotModal.v267-anchored-modal .modal-header{position:sticky;top:-24px;background:white;z-index:2;padding:6px 0;}
    .v267-workflow-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
      padding:10px 13px;margin:10px 20px 0;border:1px solid #ccfbf1;border-radius:11px;background:#f0fdfa;}
    .v267-workflow-bar[hidden]{display:none!important;}
    .v267-workflow-bar .status{font-size:.8rem;font-weight:850;color:#115e59;}
    .v267-workflow-bar .message{font-size:.73rem;color:#475569;}
    .v267-workflow-bar button{border:0;background:#0d9488;color:white;border-radius:8px;padding:9px 12px;font-weight:750;cursor:pointer;}
    .v267-workflow-bar button:disabled{opacity:.45;cursor:not-allowed;}
    .v267-status-pill{display:inline-flex;border-radius:14px;padding:4px 8px;font-weight:800;font-size:.7rem;
      background:#f1f5f9;color:#334155;white-space:nowrap;}
    .v267-status-pill.pending{background:#fff7ed;color:#9a3412;}
    .v267-status-pill.approved{background:#dcfce7;color:#166534;}
    .v267-status-pill.changes_requested{background:#fee2e2;color:#991b1b;}
    .v267-reviews td{vertical-align:middle;}
    .v267-review-actions{display:flex;gap:5px;flex-wrap:wrap;}
    .v267-review-actions button{border:1px solid #cbd5e1;border-radius:7px;background:#fff;padding:6px 8px;font-size:.7rem;cursor:pointer;}
    .v267-review-actions button.approve{background:#0d9488;color:#fff;border-color:#0d9488;}
    .v267-personal-action{border:1px solid #0d9488;background:#f0fdfa;color:#0f766e;border-radius:9px;padding:9px 12px;font-weight:800;cursor:pointer;}
    @media print{.v267-day-actions,.v267-workflow-bar,.cards-pool-drawer,#slotModal,.v267-personal-action{display:none!important;}
      body.v266-portal-active #v266Gate,body.v266-portal-active #v266Application{display:none!important;}
      body.v266-portal-active #v266Portal{display:block!important;background:#fff!important;padding:0!important;}
      body.v266-portal-active .v266-portal-controls,body.v266-portal-active .v266-exit{display:none!important;}
      body.v266-portal-active .v266-portal-day{break-inside:avoid;page-break-inside:avoid;}
    }


    /* V2.6.9: self-contained, measured iframe-width adaptivity. Do not globally scale type. */
    .v269-short{display:none;}
    .v269-more{display:none;position:relative;flex:none;z-index:3005;font-family:inherit;}
    .v269-more>summary{list-style:none;display:flex;gap:5px;align-items:center;justify-content:center;
      height:34px;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;font-size:.77rem;
      font-weight:750;color:#1c1c1e;background:white;white-space:nowrap;cursor:pointer;}
    .v269-more>summary::-webkit-details-marker{display:none;}
    .v269-more[open]>summary{border-color:#0d9488;background:#f0fdfa;}
    .v269-more-panel{position:absolute;right:0;top:calc(100% + 7px);z-index:3010;width:220px;
      display:flex;flex-direction:column;gap:5px;padding:9px;border-radius:12px;border:1px solid #cbd5e1;
      background:#fff;box-shadow:0 12px 28px #0f172a24;}
    .v269-more-panel>*{width:100%!important;min-height:36px;justify-content:center;max-width:100%;}
    .v269-more-panel>select{text-align:center;}
    .v269-divan[hidden],.v269-add[hidden],#v269More[hidden]{display:none!important;}
    .v269-divan{padding:11px 12px 9px;margin:9px 0;border:1px solid #b8e5df;background:#f4fbfa;border-radius:11px;}
    .v269-divan .v269-participant-row{display:flex;gap:6px;align-items:center;margin:7px 0;}
    .v269-participant-select{flex:1;min-width:0;max-width:100%;height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 7px;font-size:13px;}
    .v269-divan .v269-add{width:100%;height:34px;border-style:dashed;background:#fff;color:#0f766e;margin-top:4px;}
    .v269-divan .v269-remove{width:36px;min-width:36px;padding:0;color:#b91c1c;background:#fff;}
    #slotModal .modal{max-height:min(86vh,840px);overflow-y:auto;overscroll-behavior:contain;}
    #slotModal .modal-actions{position:sticky;bottom:-24px;background:#fff;padding-top:9px;z-index:4;}
    #v269ExceptionModal .v269-exception-modal{width:min(96vw,610px);max-height:90vh;overflow-y:auto;}
    .v269-exception-modal h2{margin:0 0 12px;font-size:20px;color:#0f766e;}
    .v269-exception-modal label[hidden]{display:none!important;}
    .v269-exception-modal label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#334155;margin-bottom:10px;}
    .v269-exception-modal label select,.v269-exception-modal label input,.v269-exception-modal label textarea{
      width:100%;max-width:100%;min-height:35px;border:1px solid #cbd5e1;border-radius:8px;padding:7px;font:inherit;font-weight:500;}
    .v269-exception-item{padding:8px 0;border-bottom:1px solid #e2e8f0;font-size:12px;}
    .v269-exception-item p{margin:4px 0;color:#64748b;}
    .v269-exception-scroll{width:100%;max-width:100%;overflow-x:auto;}
    .v269-exception-scroll .admin-table{min-width:780px;}
    .v269-workflow-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
    /* V3.0.2 — Nöbet/izin: kompakt kolonlar + gerektiğinde yatay kaydırma. */
    #statsModal .modal.v2699-duty-layout{width:calc(100vw - 14px)!important;max-width:1560px!important;padding:10px!important;}
    .v2699-duty-help{font-size:11px;line-height:1.35;color:#475569;margin:6px 0 9px;}
    .v269-duty-scroll{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:auto!important;overscroll-behavior:contain;}
    #dutyTable{width:100%!important;min-width:1180px!important;max-width:none!important;table-layout:fixed!important;font-size:10px!important;}
    #dutyTable th,#dutyTable td{box-sizing:border-box;min-width:0!important;max-width:none!important;padding:4px 2px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    #dutyTable th{font-size:10px!important;letter-spacing:0;}
    #dutyTable .v301-col-no{width:28px!important;}
    #dutyTable .v301-col-name{width:160px!important;}
    #dutyTable .v301-col-type{width:58px!important;}
    #dutyTable .v301-col-gender{width:38px!important;}
    #dutyTable .v301-col-duty{width:40px!important;}
    #dutyTable .v301-col-role{width:128px!important;}
    #dutyTable .v301-col-day{width:66px!important;}
    #dutyTable .v301-col-process{width:43px!important;}
    #dutyTable .v301-process-group{background:#f7fafb;color:#31545a;font-weight:800;text-align:center;letter-spacing:.02em;border-left:2px solid #d8e5e7;}
    #dutyTable .duty-select{box-sizing:border-box;min-width:0!important;width:100%!important;max-width:100%!important;height:28px!important;padding:0 1px!important;border:1px solid #cbd5e1;border-radius:5px;font-family:inherit!important;font-size:10px!important;font-weight:700;text-align:center;text-align-last:center;letter-spacing:0;}
    #dutyTable .gender-select{width:34px!important;min-width:34px!important;max-width:34px!important;height:26px!important;padding:0 0 0 2px!important;font-size:9px!important;text-align:center!important;text-align-last:center!important;}
    #dutyTable .v301-process-state{width:31px!important;height:27px!important;min-width:31px!important;padding:0!important;border-radius:7px!important;border:1px solid #d4dee3!important;background:#fff!important;color:#94a3b8!important;font-weight:900!important;font-size:12px!important;line-height:25px!important;}
    #dutyTable .v301-process-state.has-record{background:#ecfdf5!important;border-color:#99f6e4!important;color:#0f766e!important;}
    #dutyTable .v301-process-state:disabled{opacity:.35;cursor:not-allowed;}
    #dutyTable .v2699-person-name{font-size:10px;font-weight:700;overflow:hidden;text-overflow:ellipsis;}
    #dutyTable .v2699-person-details{display:none;}
    #dutyTable .v2699-person-details summary{cursor:pointer;color:#0f766e;font-size:9px;font-weight:600;}
    #dutyTable .v2699-person-details span{display:block;white-space:normal;overflow-wrap:anywhere;color:#475569;font-size:9px;font-weight:400;}
    #dutyTable .v2699-full-leave{background:#f4f1f9;}
    #dutyTable .v2699-full-leave .duty-select{background:#e8e2f2!important;color:#51465f!important;opacity:1;}
    #dutyTable .duty-askerlik{background:#f1f5f9!important;color:#334155!important;border-color:#cbd5e1!important;}
    @media screen and (max-width:1100px){
      #statsModal .modal.v2699-duty-layout{padding:6px!important;}
      #dutyTable{min-width:1100px!important;}
      #dutyTable th,#dutyTable td{padding:3px 1px!important;font-size:9px!important;}
      #dutyTable .v301-col-name{width:145px!important;}
      #dutyTable .v301-col-role{width:110px!important;}
      #dutyTable .v301-col-day{width:61px!important;}
      #dutyTable .v301-col-process{width:40px!important;}
      #dutyTable .duty-select{font-size:9px!important;height:26px!important;}
    }
    @media screen and (max-width:700px){
      #dutyTable{min-width:1010px!important;}
      #dutyTable .v301-col-type,#dutyTable td.v301-col-type,#dutyTable .v301-col-duty,#dutyTable td.v301-col-duty,#dutyTable .v301-col-role,#dutyTable td.v301-col-role{display:none!important;}
      #dutyTable .v2699-person-details{display:block;margin-top:2px;}
      #dutyTable .v301-col-name{width:130px!important;}
      #dutyTable .v301-col-day{width:58px!important;}
      #dutyTable .v301-col-process{width:39px!important;}
    }
    #dashboardContainer .day-card-section:not(.weekly-view-section)>div[style*="overflow-x"]{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;}
    #dashboardContainer .day-card-section:not(.weekly-view-section) .schedule-table{min-width:var(--v269-table-min,100%)!important;
      width:var(--v269-table-min,100%)!important;max-width:none!important;}
    #dashboardContainer .day-card-section:not(.weekly-view-section) .schedule-table .col-saat{width:80px!important;}
    .v269-more-panel button[style*="display: none"]{display:none!important;}
    @media screen and (max-width:1280px){
      .v269-more{display:block;}
      .v269-short{display:inline;}.v269-long{display:none;}
      .top-header{gap:6px;padding:6px 12px;flex-wrap:nowrap;}
      .header-left-controls,.header-right-controls,.action-toolbar{gap:5px;flex-wrap:nowrap;min-width:0;}
      .header-left-controls{flex:1 1 auto;}
      .header-right-controls{flex:none;}
      #headerBranchSelect{min-width:0!important;width:clamp(175px,26vw,300px);max-width:100%;text-overflow:ellipsis;}
      #dayFilterSelect,#classScheduleSelect,#teacherScheduleSelect{min-width:0;max-width:clamp(120px,16vw,205px);text-overflow:ellipsis;}
      .top-header .btn,.top-header .unified-toolbar-btn{height:34px;padding:0 8px;font-size:.75rem;}
      .header-view-switches{width:100%;order:5;}
      .toolbar-section{padding:6px 12px;}
      .page-title-area,.action-toolbar{min-width:0;}
      .unified-toolbar-btn{padding:0 8px;font-size:.73rem;}
      .admin-nav{max-width:100%;overflow-x:auto;flex-wrap:nowrap;}
      .admin-nav button{white-space:nowrap;flex:none;}
    }
    @media screen and (max-width:1050px){
      .page-title-area h2{display:none;}
      .header-view-switches .unified-toolbar-group{width:100%;overflow:auto;flex-wrap:nowrap;}
      .status-legend-bar{padding:6px 12px;gap:5px;flex-wrap:wrap;}
      .legend-items{gap:6px;flex-wrap:wrap;}
      .dashboard-container{padding:7px 10px 14px;}
      .v266-weekly-layout{min-width:980px;}
      #dashboardContainer .weekly-view-section{overflow-x:auto;}
      #dashboardContainer .weekly-view-section .v266-weekly-layout{width:980px;}
      .toolbar-section{overflow-x:auto;}
    }
    @media screen and (max-width:850px){
      .top-header{padding:5px 8px;gap:4px;}
      .top-header .header-left-controls>span:first-child{display:none;}
      #headerBranchSelect{width:clamp(130px,28vw,220px);}
      #dayFilterSelect,#classScheduleSelect,#teacherScheduleSelect{max-width:145px;width:clamp(105px,17vw,145px);}
      .top-header .btn,.top-header .unified-toolbar-btn{font-size:.72rem;padding:0 6px;}
      .v269-more>summary{padding:0 7px;font-size:.72rem;}
      .toolbar-section{padding:5px 8px;}
      .unified-toolbar-btn{padding:0 6px;font-size:.7rem;}
      .day-card-header{flex-wrap:wrap;gap:5px;}
      .day-card-header .branch-name-badge{font-size:.69rem;}
      #slotModal .modal{width:min(96vw,570px)!important;max-width:96vw;}
      .v269-workflow-bar{margin:6px 8px;}
      .admin-heading{flex-wrap:wrap;gap:8px;}
    }
    @media screen and (max-width:690px){
      /* Phones keep the established mobile portal. Narrow desktop iframe degrades gracefully. */
      .top-header{flex-wrap:wrap;}
      .header-left-controls,.header-right-controls{width:100%;flex:1 1 100%;}
      #headerBranchSelect{width:60vw;max-width:70%;}
      .header-right-controls .action-toolbar{width:100%;justify-content:space-between;}
      .toolbar-section{overflow-x:auto;}
      .page-title-area{min-width:max-content;}
      .header-view-switches{width:100%;}
      .v269-more-panel{right:0;}
    }
    @media print{
      .v269-more,.v269-workflow-actions,#v269ExceptionModal{display:none!important;}
      #dashboardContainer .day-card-section:not(.weekly-view-section) .schedule-table{
        min-width:100%!important;width:100%!important;max-width:100%!important;}
      .v269-duty-scroll{overflow:visible!important;}
      #dutyTable{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:5.5pt!important;}
      #dutyTable th:nth-child(n):nth-child(n),#dutyTable td:nth-child(n):nth-child(n){min-width:0!important;max-width:none!important;width:auto!important;padding:1px!important;overflow-wrap:anywhere;}
      #dutyTable td:nth-child(2){min-width:0!important;}
      #dutyTable .duty-select,#dutyTable .v269-person-flag{min-width:0!important;max-width:100%!important;width:100%!important;
        height:18px!important;font-size:5pt!important;padding:0!important;}
    }


    /* V2.6.9.1: read-only curriculum reconciliation and institution setup guide. */
    #v2691AuditModal .modal,#v2691GuideModal .modal{width:min(96vw,1060px);max-width:96vw;max-height:91vh;overflow:auto;overscroll-behavior:contain;}
    #v2691GuideModal .modal{width:min(95vw,810px);}
    .v2691-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:9px;}
    .v2691-heading h2{font-size:1.13rem;color:#0f766e;margin:0;}
    .v2691-muted{font-size:.77rem;color:#64748b;line-height:1.5;margin:6px 0 12px;}
    .v2691-audit-scroll{overflow:auto;max-height:48vh;max-width:100%;border:1px solid #e2e8f0;border-radius:9px;}
    .v2691-audit-scroll table{min-width:710px;margin:0;width:100%;}
    .v2691-audit-scroll th{position:sticky;top:0;background:#f8fafc;z-index:2;}
    .v2691-status{font-size:.74rem;font-weight:700;padding:4px 7px;border-radius:6px;display:inline-block;}
    .v2691-ok{background:#dcfce7;color:#166534;}.v2691-warn{background:#fef3c7;color:#92400e;}
    .v2691-issues{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px;font-size:.76rem;line-height:1.5;margin:12px 0;overflow-wrap:anywhere;}
    .v2691-guide-step{border:1px solid #e2e8f0;border-radius:11px;padding:13px;margin:9px 0;background:#fff;}
    .v2691-guide-step.active{border-color:#0d9488;background:#f0fdfa;}
    .v2691-guide-step.done{background:#f8fafc;}
    .v2691-guide-top{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;}
    .v2691-guide-step h3{font-size:.91rem;margin:0;flex:1;}
    .v2691-guide-step p{font-size:.78rem;color:#475569;line-height:1.52;margin:7px 0;}
    .v2691-guide-ctrls{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px;}
    .v2691-guide-ctrls button{min-height:32px;}
    .v2691-guide-step:not(.active) .v2691-guide-ctrls{display:none;}
    .v2691-guide-head{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;}
    .v2691-guide-head progress{height:10px;width:min(230px,100%);accent-color:#0d9488;}
    /* V2.6.9.2: understated action hierarchy, no duplicated Save button. */
    .v2692-workflow-bar{position:relative;z-index:20;flex-wrap:nowrap;padding:10px 13px;background:#f7fcfb;gap:15px;}
    .v2692-workflow-info{min-width:0;flex:1 1 auto;}
    .v2692-workflow-subrow{display:flex;align-items:center;flex-wrap:wrap;gap:3px 9px;margin-top:3px;}
    .v2692-workflow-bar .status{font-size:.79rem;line-height:1.3;}
    .v2692-workflow-bar .message{font-size:.71rem;line-height:1.4;}
    .v2692-workflow-extra{font-size:.69rem;line-height:1.45;color:#64748b;margin-top:3px;overflow-wrap:anywhere;}
    .v2692-workflow-extra[hidden]{display:none!important;}
    .v2692-workflow-bar .v2692-details-link{border:0;background:none!important;color:#0f766e!important;
      padding:1px 2px!important;border-radius:3px;font-size:.7rem;font-weight:750;cursor:pointer;text-decoration:underline;
      text-underline-offset:3px;white-space:nowrap;}
    .v2692-workflow-bar .v2692-details-link:focus-visible,.v2692-workflow-more>summary:focus-visible{outline:2px solid #0d9488;outline-offset:3px;}
    .v2692-workflow-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 0 auto;flex-wrap:nowrap;}
    .v2692-workflow-actions>button{min-height:34px;white-space:nowrap;padding:7px 11px;font-size:.75rem;}
    .v2692-workflow-actions #btnSaveSchedule{background:#0f766e;color:#fff;border:1px solid #0f766e;box-shadow:0 6px 14px rgba(15,118,110,.18);}
    .v2692-workflow-actions #v267SubmitButton{background:#14b8a6;color:#fff;border:1px solid #14b8a6;box-shadow:0 6px 14px rgba(20,184,166,.18);}
    .v2692-workflow-more>summary{background:#f0fdfa!important;border:1px solid #b8e8df!important;color:#0f766e!important;}
    .v2692-workflow-more{position:relative;z-index:80;flex:0 0 auto;}
    .v2692-workflow-more>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:5px;
      cursor:pointer;white-space:nowrap;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:.75rem;
      font-weight:750;min-height:34px;border-radius:8px;padding:7px 10px;}
    .v2692-workflow-more>summary::-webkit-details-marker{display:none;}
    .v2692-workflow-more[open]>summary{border-color:#0d9488;background:#eefbf8;}
    .v2692-workflow-menu{position:absolute;right:0;top:calc(100% + 6px);width:240px;max-width:calc(100vw - 24px);
      display:flex;flex-direction:column;gap:3px;padding:7px;background:#fff;border:1px solid #dbe3e8;
      border-radius:11px;box-shadow:0 12px 34px #0f172a30;z-index:90;}
    .v2692-workflow-bar .v2692-workflow-menu button{border:0;background:#fff!important;color:#334155!important;
      padding:10px 12px!important;font-size:.76rem;font-weight:650;text-align:left;border-radius:7px;cursor:pointer;white-space:nowrap;}
    .v2692-workflow-bar .v2692-workflow-menu button:hover,.v2692-workflow-bar .v2692-workflow-menu button:focus-visible{background:#f0fdfa!important;color:#115e59!important;}
    @media screen and (max-width:760px){
      .v2692-workflow-bar{flex-wrap:wrap;gap:8px;padding:9px 10px;}
      .v2692-workflow-info{flex:1 1 100%;}
      .v2692-workflow-actions{width:100%;justify-content:flex-end;}
      .v2692-workflow-actions>button{padding:7px 9px;}
    }
    @media screen and (max-width:360px){.v2692-workflow-actions{flex-wrap:wrap}.v2692-workflow-more{margin-left:auto;}}
    @media print{.v2692-workflow-bar{display:none!important;}}
    @media print{#v2691AuditModal,#v2691GuideModal{display:none!important;}}


    /* V2.6.9.4 FINAL — approved V4 dark strip and mini status, real bindings retained. */
    .top-header {
      --al-header:#2c2c2c;--al-muted:#e1e5e6;--al-line:#667075;
      display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
      align-items:center;column-gap:clamp(10px,1.5vw,26px);row-gap:0;
      min-height:58px;padding:7px 19px;background:var(--al-header);color:#fff;
      border-top:1px solid rgba(255,255,255,.10);border-bottom:none;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Arial,sans-serif;
    }
    .top-header .header-left-controls,.top-header .header-right-controls {
      width:auto;min-width:0;display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(6px,.55vw,11px);
    }
    .top-header .header-left-controls{grid-column:1;grid-row:1;justify-self:start;}
    .top-header .header-right-controls{grid-column:3;grid-row:1;justify-self:end;}
    .top-header .action-toolbar{display:flex;gap:clamp(5px,.5vw,10px);align-items:center;flex-wrap:nowrap;min-width:0;}
    .top-header .v2694-branch-label{font-size:12px;font-weight:700;color:var(--al-muted);white-space:nowrap;}
    .top-header .select-dropdown {
      box-sizing:border-box;height:38px;min-height:38px;border:1px solid transparent;
      border-bottom:1px solid #68747a;border-radius:4px 4px 0 0;background-color:transparent;
      color:#fff;padding:0 28px 0 9px;font-size:12px;font-weight:750;line-height:1;
      appearance:none;-webkit-appearance:none;text-overflow:ellipsis;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23f9fbfc' stroke-width='1.7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat:no-repeat;background-position:right 11px center;
    }
    .top-header .select-dropdown:hover,.top-header .select-dropdown:focus-visible {
      background-color:#353b3e;border-color:transparent;border-bottom-color:#c6d2d7;outline:none;
    }
    .top-header select option{color:#1d2930;background:#fff;}
    .top-header #headerBranchSelect {min-width:130px!important;width:clamp(130px,14vw,258px);max-width:none;flex:1 1 220px;}
    .top-header #v269YearSelect {width:102px;min-width:102px;max-width:102px;flex:0 0 102px;}
    .top-header #dayFilterSelect,.top-header #classScheduleSelect,.top-header #teacherScheduleSelect {
      width:clamp(120px,14vw,255px);min-width:120px;max-width:255px;flex:0 1 auto;
    }
    .top-header .header-view-switches {grid-column:2;grid-row:1;justify-self:center;width:auto;min-width:0;order:initial;}
    .top-header .header-view-switches .unified-toolbar-group {
      display:flex;justify-content:center;align-items:center;gap:clamp(15px,1.5vw,30px);
      padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;
      width:auto;overflow:visible;flex-wrap:nowrap;
    }
    .top-header .unified-toolbar-btn,.top-header .unified-toolbar-btn.active {
      position:relative;flex:0 0 auto;box-sizing:border-box;height:42px;min-height:42px;
      margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;color:#fff;
      box-shadow:none;font-family:inherit;font-size:13px;font-weight:750;line-height:1.2;letter-spacing:0;
      white-space:nowrap;opacity:.94;transform:none;
    }
    .top-header .unified-toolbar-btn.active{opacity:1;}
    .top-header .unified-toolbar-btn::after {
      content:"";position:absolute;left:2px;right:2px;bottom:2px;height:2px;border-radius:2px;
      background:#fff;opacity:0;transform:scaleX(.65);transition:opacity .15s,transform .15s;
    }
    .top-header .unified-toolbar-btn:hover,.top-header .unified-toolbar-btn:focus-visible,
    .top-header .unified-toolbar-btn.active:hover {background:transparent;border:0;color:#fff;opacity:1;box-shadow:none;}
    .top-header .unified-toolbar-btn:hover::after,.top-header .unified-toolbar-btn:focus-visible::after {
      opacity:.65;transform:scaleX(1);
    }
    .top-header .unified-toolbar-btn.active::after{opacity:1;transform:scaleX(1);}
    .top-header .header-action-btn,.top-header .header-icon-btn {
      box-sizing:border-box;height:38px!important;min-height:38px!important;border:0!important;border-radius:0!important;
      padding:0 6px!important;background:transparent!important;box-shadow:none!important;color:#fff!important;
      font:inherit;font-size:12px!important;font-weight:750;line-height:1;white-space:nowrap;
      display:inline-flex;align-items:center;justify-content:center;gap:7px;transform:none;
    }
    .top-header .header-action-btn:hover,.top-header .header-icon-btn:hover {
      background:rgba(255,255,255,.095)!important;border:0!important;color:#fff!important;
      box-shadow:none!important;transform:none;
    }
    .top-header .header-icon-btn{width:34px!important;min-width:34px;flex:0 0 34px;padding:0!important;}
    .top-header .header-icon-btn svg,.top-header .header-action-btn svg {display:block;flex-shrink:0;}
    .top-header #authLockButton,.top-header #authLockButton:hover {color:#ff5964!important;}
    .top-header #authLockButton:hover{background:rgba(255,76,91,.12)!important;color:#ff7079!important;}
    .top-header #authLockButton:focus-visible{outline:2px solid #ff7079;outline-offset:2px;}
    .top-header #adminPanelToggle {color:#d1e2e8!important;}
    .top-header #adminPanelToggle:hover{color:#fff!important;background:rgba(145,193,210,.12)!important;}
    .top-header #authStatusBadge{height:38px;padding:0;background:transparent;border:0;border-radius:0;gap:0;}
    .top-header #authStatusText{display:none!important;}
    .top-header #v269More{display:none!important;}
    .top-header .header-action-btn:focus-visible,.top-header .header-icon-btn:focus-visible,
    .top-header .unified-toolbar-btn:focus-visible{outline:2px solid #e0f2fe;outline-offset:2px;}
    /* Approved mini status: the original live workflow IDs still supply every value and action. */
    #v267WorkflowBar.v2694-status-card {
      display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:20px;
      margin:12px 14px 0;padding:14px 16px;min-height:83px;
      border:1px solid #dce5e8;border-radius:13px;background:#fff;color:#263941;box-shadow:none;
    }
    #v267WorkflowBar.v2694-status-card[hidden]{display:none!important;}
    #v267WorkflowBar .v2694-status-main{min-width:0;flex:1 1 auto;display:grid;gap:8px;}
    #v267WorkflowBar .v2694-status-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
    #v267WorkflowBar .v2694-status-top strong{font-size:13px;font-weight:750;letter-spacing:-.15px;color:#263941;}
    #v267WorkflowBar .v2694-state{
      display:inline-flex;align-items:center;padding:4px 10px;border:1px solid #d7e5e9;
      border-radius:99px;background:#ecf3f5;color:#304e59;font-size:11px;font-weight:750;line-height:1.2;
    }
    #v267WorkflowBar .v2694-summary{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0;}
    #v267WorkflowBar .v2694-summary .message[hidden]{display:none!important;}
    #v267WorkflowBar .v2694-count {
      font-size:11px;color:#40565f;background:#f6f9fa;border:1px solid #e2e9ec;border-radius:99px;
      display:inline-flex;align-items:center;padding:5px 9px;white-space:nowrap;line-height:1.2;
    }
    #v267WorkflowBar .v2694-count strong{color:#304e59;margin-right:4px;font-variant-numeric:tabular-nums;}
    #v267WorkflowBar #v2692AuditDetails {
      height:auto;min-height:0;border:none!important;background:none!important;color:#304e59!important;
      font:inherit;font-size:11px;font-weight:750;text-decoration:underline;text-underline-offset:3px;
      padding:5px 4px!important;cursor:pointer;white-space:nowrap;border-radius:2px;
    }
    #v267WorkflowBar #v2692AuditDetails:hover{color:#152e38!important;background:none!important;}
    #v267WorkflowBar #v2692WorkflowExtra{font-size:11px;color:#677b83;line-height:1.4;margin:0;}
    #v267WorkflowBar .v2692-workflow-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;width:auto;flex-wrap:nowrap;}
    #v267WorkflowBar .v2694-action {
      box-sizing:border-box;height:38px;min-height:38px;max-height:38px;
      padding:0 16px!important;border:1px solid #304e59!important;border-radius:22px!important;
      display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;
      font-family:inherit;font-size:12px;font-weight:750;letter-spacing:0;line-height:1;cursor:pointer;
      transition:background .15s,color .15s,border-color .15s;box-shadow:none!important;transform:none!important;
    }
    #v267WorkflowBar .v2694-action svg{width:14px;height:14px;flex-shrink:0;display:block;}
    #v267WorkflowBar #btnSaveSchedule.v2694-action,
    #v267WorkflowBar .v2692-workflow-more>summary.v2694-action {
      background:#fff!important;color:#304e59!important;border-color:#304e59!important;
    }
    #v267WorkflowBar #v267SubmitButton.v2694-action{
      background:#304e59!important;color:#fff!important;border-color:#304e59!important;
    }
    #v267WorkflowBar #btnSaveSchedule.v2694-action:hover,
    #v267WorkflowBar .v2692-workflow-more>summary.v2694-action:hover,
    #v267WorkflowBar .v2692-workflow-more[open]>summary.v2694-action {
      background:#ecf3f5!important;color:#304e59!important;
    }
    #v267WorkflowBar #v267SubmitButton.v2694-action:hover {background:#253f49!important;border-color:#253f49!important;}
    #v267WorkflowBar .v2692-workflow-more{position:relative;z-index:80;}
    #v267WorkflowBar .v2692-workflow-menu{border-color:#dce5e8;border-radius:12px;background:#fff;}
    #v267WorkflowBar .v2692-workflow-menu button:hover{background:#f0f5f6!important;color:#263941!important;}
    #v267WorkflowBar .v2694-action:focus-visible{outline:2px solid #426c7a;outline-offset:3px;}
    /* Match the same white, restrained weekly day heading; leave schedule data alone. */
    #dashboardContainer .weekly-view-section>.day-card-header {
      min-height:53px;padding:11px 16px;border-bottom:1px solid #dce5e8;background:#fff;
    }
    #dashboardContainer .weekly-view-section>.day-card-header h3{
      font-size:14px;font-weight:780;letter-spacing:-.12px;color:#304e59;overflow-wrap:anywhere;
    }
    #dashboardContainer .weekly-view-section>.day-card-header .branch-name-badge{
      color:#304e59;font-size:11px;font-weight:700;background:#fff;border:1px solid #dce8eb;
      border-radius:99px;padding:6px 11px;max-width:45%;text-align:right;white-space:normal;
    }
    @media screen and (max-width:1499px){
      .top-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);row-gap:0;}
      .top-header .header-left-controls{grid-column:1;grid-row:1;}
      .top-header .header-right-controls{grid-column:2;grid-row:1;justify-self:end;}
      .top-header .header-view-switches{grid-column:1/-1;grid-row:2;justify-self:center;width:auto;}
    }
    @media screen and (max-width:1020px){
      .top-header{grid-template-columns:minmax(0,1fr);row-gap:0;padding:6px 12px;}
      .top-header .header-left-controls{grid-column:1;grid-row:1;width:100%;justify-self:stretch;}
      .top-header .header-view-switches{grid-column:1;grid-row:2;justify-self:stretch;width:100%;}
      .top-header .header-view-switches .unified-toolbar-group{justify-content:center;overflow-x:auto;scrollbar-width:thin;gap:16px;width:100%;}
      .top-header .header-right-controls{grid-column:1;grid-row:3;justify-self:stretch;width:100%;justify-content:flex-end;}
      .top-header .header-right-controls .action-toolbar{justify-content:flex-end;width:100%;}
      .top-header #headerBranchSelect{width:auto;flex:1 1 130px;}
      .top-header #dayFilterSelect,.top-header #classScheduleSelect,.top-header #teacherScheduleSelect{width:auto;flex:1 1 135px;max-width:none;}
    }
    @media screen and (max-width:830px){
      #v267WorkflowBar.v2694-status-card{flex-wrap:wrap;gap:12px;margin:9px 10px 0;padding:12px;}
      #v267WorkflowBar .v2694-status-main{flex:1 1 100%;}
      #v267WorkflowBar .v2692-workflow-actions{width:100%;justify-content:flex-start;}
    }
    @media screen and (max-width:520px){
      .top-header{padding:6px 8px;gap:1px;}
      .top-header .header-left-controls,.top-header .header-right-controls{gap:4px;}
      .top-header .v2694-branch-label{display:none;}
      .top-header #headerBranchSelect{min-width:0!important;flex:1 1 140px;max-width:none;}
      .top-header #v269YearSelect{width:91px;min-width:91px;max-width:91px;flex-basis:91px;}
      .top-header .header-view-switches .unified-toolbar-group{justify-content:flex-start;gap:14px;}
      .top-header .header-right-controls .action-toolbar{gap:4px;}
      .top-header .header-action-btn{padding:0 4px!important;}
      .top-header #dayFilterSelect,.top-header #classScheduleSelect,.top-header #teacherScheduleSelect{min-width:0;flex-basis:120px;}
      #v267WorkflowBar .v2692-workflow-actions{gap:5px;}
      #v267WorkflowBar .v2694-action{flex:1 1 auto;padding:0 8px!important;font-size:11px;}
      #dashboardContainer .weekly-view-section>.day-card-header{padding:11px;align-items:flex-start;}
      #dashboardContainer .weekly-view-section>.day-card-header h3{font-size:12px;}
    }
    @media print{
      .top-header,#v267WorkflowBar{display:none!important;}
    }

  
    /* V2.6.9.5: single-credential minimal login, approved layout. */
    #v266Gate.v266-gate{
      background:radial-gradient(circle at 8% 10%,#eaf9fa 0,transparent 27%),
        radial-gradient(circle at 93% 90%,#edf8f7 0,transparent 24%),#f9fbfd;
      padding:clamp(38px,8vh,90px) 18px 34px;
    }
    #v266Gate .v266-auth-card{
      width:min(100%,460px);min-height:0;border-radius:26px;
      box-shadow:0 25px 85px rgba(31,54,66,.10),0 3px 12px rgba(31,54,66,.04);
      border:1px solid #e9edf2;background:white;
    }
    #v266Gate .v266-auth-body{padding:61px 36px 58px;}
    #v266Gate h1{font-size:34px;line-height:1.17;letter-spacing:-1.1px;font-weight:780;color:#171a23;}
    #v266Gate .v266-gate-desc{font-size:13.5px;line-height:1.5;color:#6b7889;margin:17px 0 32px;}
    #v266Gate #v266Credential{height:53px;border:1px solid #d1dae5;border-radius:13px;padding:0 17px;
      font-size:15px;color:#202a36;background:white;}
    #v266Gate #v266Credential:focus{border-color:#348b81;box-shadow:0 0 0 4px rgba(52,139,129,.12);}
    #v266Gate #v266GateError{min-height:22px;margin:7px 0 4px;}
    #v266Gate #v266LoginButton{height:54px;border-radius:13px;background:#318b80;border-color:#318b80;
      font-size:15px;box-shadow:0 8px 20px rgba(49,139,128,.12);}
    #v266Gate #v266LoginButton:not(:disabled):hover{background:#28786f;border-color:#28786f;}
    .v2695-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
      margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
    @media(max-width:600px){#v266Gate.v266-gate{padding:22px 13px 26px;}
      #v266Gate .v266-auth-body{padding:54px 24px 48px;}
      #v266Gate h1{font-size:30px;}
      #v266Gate .v266-gate-desc{font-size:13px;margin:14px 0 28px;}}
    @media(max-height:620px){#v266Gate.v266-gate{padding-top:12px;}
      #v266Gate .v266-auth-body{padding-top:28px;padding-bottom:25px;}}

    /* V2.6.9.5: schedule shell only. Course cards and c-* colors are untouched. */
    @media screen {
      #dashboardContainer .day-card-section {border-color:#d6e6e4;box-shadow:0 4px 16px rgba(21,49,59,.035);}
      #dashboardContainer .day-card-section>.day-card-header {
        background:#f3f7f7;border-bottom:1px solid #d6e6e4;min-height:52px;padding:11px 15px;
      }
      #dashboardContainer .day-card-section>.day-card-header h3 {
        color:#1f5c5b;font-weight:800;font-size:14px;letter-spacing:.05px;
      }
      #dashboardContainer .day-card-header .branch-name-badge {
        background:#fff;color:#1f5c5b;border-color:#d6e6e4;
      }
      #dashboardContainer .day-card-section:not(.weekly-view-section) .schedule-table th,
      #dashboardContainer .weekly-day-table th {
        background:#eef4f4;color:#214b4a;border-color:#d7e3e2;font-weight:800;
      }
      #dashboardContainer .day-card-section:not(.weekly-view-section) .schedule-table th {line-height:1.25;}
      #dashboardContainer .weekly-period-title {
        background:#f3f7f7;color:#1f5c5b;border:1px solid #d6e6e4;
        border-radius:8px;padding:9px 11px;margin:0 0 6px;font-weight:800;
      }
      #dashboardContainer .weekly-single-day {border-color:#d7e3e2;}
      #dashboardContainer .weekly-single-day-title {
        background:#eef4f4;color:#214b4a;border-bottom:1px solid #d7e3e2;font-weight:800;
      }
      #dashboardContainer .break-row .row-hour-title,
      #dashboardContainer .break-cell-banner,
      #dashboardContainer .weekly-break-row td {
        background:#f7f1de!important;color:#9a6500!important;border-color:#e8d8a4!important;
      }
      #dashboardContainer .break-row .row-hour-title span {color:#9a6500!important;}
      #dashboardContainer .break-cell-banner {border-style:solid!important;letter-spacing:.15px;}
      #dashboardContainer .weekly-break-row td {border-style:solid!important;}
      #dashboardContainer .weekly-off-status {
        background:#eff1f3;color:#626b78;border:1px solid #d9dee5;
        border-radius:5px;font-weight:750;padding:7px 4px;
      }
      #dashboardContainer .weekly-off-status.weekly-off-holiday {
        background:#cbd5df!important;color:#25384b!important;border:1px solid #9aaabd!important;
        font-weight:800;box-shadow:inset 3px 0 #64748b;
      }
    }

    /* V2.6.9.6: Only Divan multi-room visual, audit controls; all other subject palettes unchanged. */
    .v2696-rooms[hidden]{display:none!important}
    .v2696-rooms{margin-top:10px;border-color:#b9c8ed;background:#f5f7ff}
    .v2696-room-first{font-size:12px;color:#334155;margin:4px 0 7px}
    .v2696-room-note{font-size:11px;color:#475569;line-height:1.5;margin:6px 0 0}
    #dashboardContainer .slot-card.c-divan.v2696-shared-card{
      background:linear-gradient(110deg,#e7f3ff 0%,#e7f3ff 49%,#f1e6ff 51%,#f1e6ff 100%)!important;
      border:1px solid #bec6e7!important;border-left:4px solid #6956b8!important;color:#273c5c!important;
    }
    .v2696-shared-badge{display:inline-block;margin-top:4px;padding:2px 6px;border-radius:7px;
      background:#e1e3f7;color:#3c4486;font-size:10px;font-weight:800}
    .v2696-clean-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:start;
      margin:8px 0;padding:10px;border:1px solid #d9e3ea;border-radius:9px;background:#fff}
    .v2696-clean-row input{width:17px;height:17px;margin-top:3px;accent-color:#0f766e}
    .v2696-clean-row strong{font-size:12px;color:#233542}
    .v2696-clean-row small{display:block;margin-top:4px;font-size:11px;color:#526171;overflow-wrap:anywhere}
    .v2696-clean-summary{border:1px solid #f3d18c;background:#fffaf0;padding:11px;border-radius:10px;font-size:12px;line-height:1.5}
    #v2696CleanupModal .modal{max-height:90vh;overflow-y:auto;width:min(96vw,760px)}
    #v2696CleanupModal .modal-actions{position:sticky;bottom:-1px;background:#fff;padding:10px 0;z-index:1}
    #v2696CleanList{max-height:42vh;overflow:auto;overscroll-behavior:contain}
    .v2696-clean-status{min-height:20px;color:#334155;font-size:12px;font-weight:700}
    @media print{#v2696CleanupModal{display:none!important}}

    /* V2.6.9.10: four accessible, self-contained SVG duty headers (no font/CDN). */
    #dutyTable th.v2610-icon-header{position:relative!important;overflow:visible!important;z-index:5;vertical-align:middle;}
    #dutyTable th.v2610-icon-header:hover,#dutyTable th.v2610-icon-header:focus-within{z-index:25;}
    #dutyTable .v2610-icon{--v2610-color:#0f766e;--v2610-bg:#eefbf8;
      display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
      width:27px;height:27px;border-radius:8px;background:var(--v2610-bg);color:var(--v2610-color);
      border:1px solid currentColor;cursor:help;outline-offset:2px;}
    #dutyTable .v2610-icon svg{width:19px;height:19px;display:block;stroke:currentColor;
      stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
    #dutyTable .v2610-icon--part{--v2610-color:#3b5f9b;--v2610-bg:#edf3ff;}
    #dutyTable .v2610-icon--unpaid{--v2610-color:#a16207;--v2610-bg:#fffbeb;}
    #dutyTable .v2610-icon--baby{--v2610-color:#8c488e;--v2610-bg:#faf2ff;}
    #dutyTable .v2610-clock-half{fill:#98b6ea;stroke:none;}
    #dutyTable .v2610-money-slash{stroke-width:2.7;}
    #dutyTable th.v2610-icon-header::after{
      content:attr(data-tooltip);position:absolute;right:0;top:calc(100% + 5px);
      width:max-content;max-width:min(245px,75vw);white-space:normal!important;
      padding:7px 10px;border-radius:8px;background:#223c43;color:#fff;
      font-size:11px;font-weight:750;line-height:1.3;letter-spacing:0;
      box-shadow:0 5px 16px #0f172a32;pointer-events:none;opacity:0;visibility:hidden;
      transform:translateY(-3px);transition:opacity .12s,transform .12s,visibility .12s;z-index:50;
    }
    #dutyTable th.v2610-icon-header:hover::after,#dutyTable th.v2610-icon-header:focus-within::after{
      opacity:1;visibility:visible;transform:translateY(0);
    }
    @media(max-width:650px){#dutyTable .v2610-icon{width:23px;height:23px;border-radius:6px;}
      #dutyTable .v2610-icon svg{width:17px;height:17px;}}
    @media print{#dutyTable th.v2610-icon-header::after{display:none!important;}
      #dutyTable .v2610-icon{border-color:#64748b;background:#fff!important;color:#334155!important;}}


    /* V3.0.2 — Özel süreç başlıkları: yalnız ikon, tam ad hover/focus bilgisinde. */
    #dutyTable .v301-process-icon{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:7px;border:1px solid #cbd5e1;background:#fff;font-size:15px;line-height:1;cursor:help;outline-offset:2px;}
    #dutyTable th.v301-process-header{position:relative!important;overflow:visible!important;text-align:center;}
    #dutyTable th.v301-process-header::after{content:attr(data-tooltip);position:absolute;right:0;top:calc(100% + 5px);width:max-content;max-width:min(245px,75vw);white-space:normal!important;padding:7px 10px;border-radius:8px;background:#223c43;color:#fff;font-size:11px;font-weight:750;line-height:1.3;box-shadow:0 5px 16px #0f172a32;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .12s,transform .12s,visibility .12s;z-index:50;}
    #dutyTable th.v301-process-header:hover::after,#dutyTable th.v301-process-header:focus-within::after{opacity:1;visibility:visible;transform:translateY(0);}

    /* V2.6.9.8 · Yönetici tarafından belirlenen ve değiştirilebilen şifreler */
    .v2697-admin-panel{max-width:100%;color:#203341}
    .v2697-section-title{display:flex;justify-content:space-between;align-items:start;gap:10px;flex-wrap:wrap}
    .v2697-section-title h2{margin-bottom:4px}
    .v2697-primary,.v2697-account{display:flex;justify-content:space-between;align-items:center;gap:12px;
      flex-wrap:wrap;background:#f9fbfc;border:1px solid #dce5e8;border-radius:12px;padding:13px;margin:9px 0}
    .v2697-primary span,.v2697-account small{color:#526570;font-size:12px}
    .v2697-account-info{min-width:180px;display:grid;gap:4px}
    .v2697-account-actions{display:flex;gap:6px;flex-wrap:wrap}
    .v2697-account-actions .btn{font-size:12px;padding:7px 10px;min-height:34px}
    .v2697-status{font-size:12px;min-height:22px;font-weight:650;color:#275853;margin:8px 0}
    .v2697-create{border:1px solid #d7e6e4;border-radius:14px;padding:15px;margin:16px 0;background:#fbfefd}
    .v2698-entry{display:grid;grid-template-columns:minmax(150px,1.15fr) minmax(145px,1fr) minmax(145px,1fr) auto;
      gap:9px;align-items:end;margin:12px 0;padding:12px;border:1px solid #dbe7e6;border-radius:12px;background:#fff}
    .v2698-entry label,.v2698-pw-dialog label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#314e50}
    .v2698-entry input,.v2698-pw-dialog input{height:39px;min-width:0;width:100%;padding:8px 10px;border-radius:9px;
      border:1px solid #cbd9dd;background:#fff;color:#1c3338;font:inherit;font-size:13px}
    .v2698-create-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:11px}
    .v2698-pw-overlay[hidden]{display:none!important}
    .v2698-pw-overlay{position:fixed;inset:0;z-index:999999;background:rgba(18,31,40,.6);display:grid;place-items:center;padding:16px}
    .v2698-pw-dialog{width:min(100%,490px);border-radius:17px;background:#fff;padding:22px;box-shadow:0 20px 70px rgba(0,0,0,.2);display:grid;gap:15px}
    .v2698-pw-dialog h2{font-size:19px;margin:0;color:#1b3c3e}
    .v2698-pw-dialog p{font-size:12px;color:#566470;margin:0;line-height:1.6}
    .v2698-pw-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}
    .v2697-history{border-top:1px solid #e1e7ea;padding-top:12px;margin-top:15px;font-size:12px}
    .v2697-history p{margin:7px 0;color:#53606c}
    @media(max-width:880px){.v2698-entry{grid-template-columns:1fr 1fr}.v2698-entry label:first-child{grid-column:1/-1}}
    @media(max-width:530px){.v2698-entry{grid-template-columns:1fr}.v2698-entry label:first-child{grid-column:auto}}
    @media print{#v2697AdminPanel,.v2698-pw-overlay{display:none!important}}


    /* V3.0 — merkezî roller, özel izin süreçleri ve şifre yönetimi */
    .v300-only-super[hidden]{display:none!important}
    .v300-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px;margin:10px 0 14px}
    .v300-summary-card{border:1px solid #dce7e8;background:#fbfefe;border-radius:12px;padding:11px 12px}
    .v300-summary-card small{display:block;color:#64748b;font-size:11px;font-weight:750;margin-bottom:4px}
    .v300-summary-card strong{font-size:22px;color:#155e59}
    .v300-subtabs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
    .v300-subtabs button{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;padding:7px 10px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
    .v300-subtabs button.active{background:#0f766e;color:#fff;border-color:#0f766e}
    .v300-process-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:9px 0}
    .v300-process-toolbar select,.v300-process-toolbar input{height:34px;border:1px solid #cbd5e1;border-radius:8px;padding:5px 8px;font:inherit;font-size:12px;background:#fff}
    .v300-user-password{display:inline-flex;align-items:center;gap:5px;max-width:220px}
    .v300-user-password input{width:120px;height:30px;border:1px solid #d7e1e5;border-radius:7px;padding:4px 7px;font:inherit;font-size:12px;background:#f8fafc}
    .v300-modal-overlay[hidden]{display:none!important}
    .v300-modal-overlay{position:fixed;inset:0;z-index:1000000;background:rgba(18,31,40,.62);display:grid;place-items:center;padding:14px}
    .v300-process-dialog{width:min(1040px,98vw);max-height:94vh;overflow:auto;border-radius:17px;background:#fff;padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.24)}
    .v300-process-dialog h2{margin:0;color:#173d3c;font-size:20px}.v300-process-dialog h3{margin:0 0 9px;font-size:14px;color:#244d4a}
    .v300-process-person{margin:5px 0 14px;color:#64748b;font-size:12px;font-weight:650}
    .v300-process-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .v300-process-card{border:1px solid #dbe5e8;border-radius:13px;padding:13px;background:#fbfdfd}
    .v300-process-card>label,.v300-field-row label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:750;color:#52636b}
    .v300-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
    .v300-process-card input[type=date],.v300-process-card input[type=time],.v300-process-card select{height:34px;border:1px solid #cbd5e1;border-radius:7px;padding:5px 7px;background:#fff;font:inherit;font-size:12px}
    .v300-week-table{width:100%;border-collapse:collapse;margin-top:8px;font-size:11px}.v300-week-table th,.v300-week-table td{border-bottom:1px solid #edf1f2;padding:5px;text-align:center}.v300-week-table th:first-child,.v300-week-table td:first-child{text-align:left}
    .v300-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;flex-wrap:wrap}
    .v300-note{font-size:11px;color:#64748b;line-height:1.45;margin:7px 0}
    .v300-password-dialog{width:min(470px,96vw);background:#fff;border-radius:16px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.22)}
    .v300-password-dialog h2{margin:0 0 8px}.v300-password-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750;margin:9px 0}.v300-password-dialog input{height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 9px;font:inherit}
    .v300-role-pill{font-size:10px;font-weight:800;padding:3px 7px;border-radius:999px;background:#e8f4f3;color:#0f766e;white-space:nowrap}
    @media(max-width:760px){.v300-summary-grid{grid-template-columns:1fr 1fr}.v300-process-grid{grid-template-columns:1fr}.v300-field-row{grid-template-columns:1fr}}


    /* V3.0.2 — sade yönetim navigasyonu, kompakt süreç ikonları ve premium üst bar */
    .v302-top-action{height:32px!important;padding:0 10px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.055)!important;color:#fff!important;border-radius:9px!important;gap:6px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);transition:background .15s ease,border-color .15s ease,transform .15s ease!important;}
    .v302-top-action:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.28)!important;transform:translateY(-1px);}
    .v302-top-action svg,.v302-top-icon svg{display:block;flex:none;}
    .v302-top-icon{width:32px!important;height:32px!important;padding:0!important;border-radius:9px!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.055)!important;}
    .v302-top-icon:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.28)!important;}
    .v302-exit-action:hover{background:rgba(239,68,68,.16)!important;border-color:rgba(248,113,113,.35)!important;}
    .v302-auth-status{margin-left:2px;}
    .v302-auth-status .auth-status-label{white-space:nowrap;}
    .admin-mode .header-view-switches,.admin-mode #dayFilterSelect,.admin-mode #classScheduleSelect,.admin-mode #teacherScheduleSelect,.admin-mode #v269More{display:none!important;}
    .admin-mode .top-header{grid-template-columns:auto 1fr!important;}
    .admin-mode .header-right-controls{justify-self:end!important;margin-left:auto!important;}
    .admin-mode .header-right-controls .action-toolbar{justify-content:flex-end!important;}
    .admin-mode #authStatusText{display:none!important;}
    .admin-mode #headerBranchSelect{min-width:260px;}
    .v302-name-line{display:flex;align-items:center;gap:5px;min-width:0;}
    .v302-name-line>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;}
    .v302-process-inline{display:inline-flex;align-items:center;gap:2px;flex:none;}
    .v302-process-chip{appearance:none;border:0;background:transparent;padding:0 1px;margin:0;display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1.1;cursor:pointer;border-radius:5px;min-width:19px;height:20px;transition:background .12s ease,transform .12s ease;}
    button.v302-process-chip:hover{background:#eef8f7;transform:translateY(-1px);}
    .v302-process-chip.is-readonly{cursor:help;}
    #dutyTable{min-width:900px!important;}
    #dutyTable .v301-col-name{width:190px!important;}
    #dutyTable .v301-col-gender{width:34px!important;}
    #dutyTable .gender-select{width:31px!important;height:23px!important;padding:0!important;font-size:10px!important;}
    .v302-process-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;}
    .v302-process-card-head h3{margin:0!important;}
    .v302-clear-process{font-size:10px!important;padding:4px 7px!important;min-height:26px!important;color:#b42318!important;border-color:#fecaca!important;background:#fff7f7!important;}
    .v302-clear-process[hidden]{display:none!important;}
    .v302-account-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;}
    .v302-account-card h2{margin:0 0 5px;font-size:1rem;color:#0f172a}.v302-account-card p{margin:0;color:#64748b;font-size:.76rem;line-height:1.5;}
    #v302LeaveContainer>.admin-surface,#v302ProcessContainer>.admin-surface,#v302SuperAdminContainer>.admin-surface{margin-top:0;}
    @media(max-width:720px){.v302-account-card{align-items:stretch;flex-direction:column}.v302-top-action span{display:none}.admin-mode #headerBranchSelect{min-width:180px;}}
    @media print{
      @page{size:A4 landscape;margin: 10mm;}
      html,body{margin:0!important;padding:0!important;}
      body.printing-stat #statsModal .modal{zoom:.92;}
      body:not(.printing-stat) #dashboardContainer,body:not(.printing-stat) .weekly-view-section{zoom:.92;}
      body.printing-stat .teacher-stats-table{font-size:7.2pt!important;}
      body.printing-stat .teacher-stats-table th,body.printing-stat .teacher-stats-table td{padding:2px 3px!important;}
      .v302-process-chip{font-size:10pt!important;height:auto!important;min-width:0!important;}
    }
