  :root{
    /* === TEACHERIM RENKLERİ (tek yerden yönet) === */
    --t-primary: #41b19e;   /* indigo */
    --t-accent:  #359183;   /* yeşil */
    --t-text:    #2c3e50;   /* slate-900 */
    --t-muted:   #B5EAD7;   /* slate-400 */
    --t-bg:      #ffffff;
  }

  /* Reset + tipografi */
  .teacherim_menu_wrap *, .teacherim_menu_wrap *::before, .teacherim_menu_wrap *::after{ box-sizing:border-box }
  .teacherim_menu_wrap{
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
    background: var(--t-bg);
    color: var(--t-text);
  }

  /* NAV kapsayıcı */
  .teacherim_menu_nav{
    position: relative;
    max-width: 1100px;
    margin: 18px auto;
    padding: 10px 14px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
    background:
      linear-gradient(180deg, rgba(79,70,229,.06), transparent 40%) ,
      #fff;
    border: 1px solid rgba(15,23,42,.06);
  }

  /* Scrollable yatay ray */
  .teacherim_menu_track{
    position: relative;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
  }
  .teacherim_menu_track::-webkit-scrollbar{ display:none } /* Chrome */

  /* Linkler */
  .teacherim_menu_link{
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    color: var(--t-text);
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
    will-change: transform;
  }
  .teacherim_menu_link:focus-visible{
    outline: 2px solid color-mix(in oklab, var(--t-primary) 65%, white);
    outline-offset: 2px;
    border-radius: 12px;
  }
  .teacherim_menu_link:hover{
    color: var(--t-primary);
    transform: translateY(-1px);
    background: color-mix(in oklab, var(--t-primary) 8%, white);
  }
  .teacherim_menu_link.is-active{
    color: var(--t-primary);
  }

  /* Kayar underline bar */
  .teacherim_menu_underline{
    position: absolute;
    height: 3px;
    left: 0; bottom: 0;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--t-primary), var(--t-accent));
    transition: transform .35s cubic-bezier(.2,.8,.2,1.05), width .35s cubic-bezier(.2,.8,.2,1.05);
    will-change: transform, width;
  }

  /* İnce alt çizgi (ray için) */
  .teacherim_menu_ray{
    position: absolute;
    left: 12px; right: 12px; bottom: 0;
    height: 1px;
    background: rgba(15,23,42,.06);
  }

  /* Scroll gradient ipucu */
  .teacherim_menu_nav::before,
  .teacherim_menu_nav::after{
    content:"";
    position:absolute; top:0; bottom:0; width:36px; pointer-events:none;
  }
  .teacherim_menu_nav::before{
    left:0;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
    border-radius:16px 0 0 16px;
  }
  .teacherim_menu_nav::after{
    right:0;
    background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
    border-radius:0 16px 16px 0;
  }

  /* Küçük ekran optimizasyonu */
  @media (max-width:640px){
    .teacherim_menu_link{ padding: 12px 14px; font-weight: 600; font-size: 15px }
    .teacherim_menu_nav{ margin: 10px auto; border-radius: 14px }
  }