/* TT24_D2A_DESKTOP_READABILITY_FIXED_LIGHT_V1_BEGIN
   Readability refinement requested after D2.
   Scope: desktop typography/icon sizing, selected real Bold headings, decorative square removal,
   and a defensive hide for the removed theme control. Routes, roles, permissions, APIs and data are untouched.
*/

@font-face {
  font-family: 'TT24 B Yekan Plus Bold';
  src: url('fonts/TT24-BYekanPlus-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* The JavaScript no longer creates this control; this is only a defensive visual guard. */
.tt24-theme-toggle { display: none !important; }

@media (min-width: 881px) {
  /* Give the larger labels a little more breathing room without changing the shell model. */
  .tt24-d2-shell { --tt24-d2-sidebar-w: 252px !important; }

  /* Remove the low-opacity pseudo logo that appeared as an empty square. */
  .tt24-d2-shell .sidebar::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
  }

  .tt24-d2-shell .sidebar-head .t {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
  }
  .tt24-d2-shell .sidebar-head .s {
    font-size: 11.5px !important;
    line-height: 1.65 !important;
  }

  .tt24-d2-shell .nav { padding: 11px 10px 15px !important; }
  .tt24-d2-shell .nav-sep {
    font-size: 12px !important;
    padding: 14px 12px 7px !important;
  }
  .tt24-d2-shell .nav-item {
    min-height: 44px !important;
    padding: 9px 12px !important;
    gap: 10px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  .tt24-d2-shell .nav-item .ico {
    width: 22px !important;
    min-width: 22px !important;
    font-size: 18px !important;
  }
  .tt24-d2-shell .nav-item.nav-sub {
    min-height: 39px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
  }
  .tt24-d2-shell .nav-item.active {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-weight: 700 !important;
  }

  .tt24-d2-shell .user-chip { padding: 10px 11px !important; gap: 10px !important; }
  .tt24-d2-shell .user-chip .av {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 14px !important;
  }
  .tt24-d2-shell .user-chip .nm {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
  }
  .tt24-d2-shell .user-chip .rl {
    font-size: 11.5px !important;
    line-height: 1.55 !important;
  }

  .tt24-d2-shell .topbar .page-title {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-size: 16.5px !important;
    font-weight: 700 !important;
  }
  .tt24-d2-shell .tt24-d2-topbar-identity b { font-size: 13px !important; }
  .tt24-d2-shell .tt24-d2-topbar-identity small { font-size: 11px !important; }
  .tt24-d2-shell .tt24-d2-topbar-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 13px !important;
  }

  /* Dashboard labels that were visually smaller than table and activity text. */
  body .tt24-d1-kpi-top {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
  }
  body .tt24-d1-kpi small {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
  }
  body .tt24-d1-card-head h3 {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-size: 17.5px !important;
    font-weight: 700 !important;
  }
  body .tt24-d1-hero h2 {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-weight: 700 !important;
  }

  /* Login brand title requested with the real B Yekan Plus Bold face. */
  .tt24-l1-auth .tt24-l1-brand-copy .tt24-l1-brand-title {
    font-family: 'TT24 B Yekan Plus Bold','TT24 B Yekan Plus','B Yekan+',Tahoma,sans-serif !important;
    font-weight: 700 !important;
  }
}

/* TT24_D2A_DESKTOP_READABILITY_FIXED_LIGHT_V1_END */
