/* Полноэкранная рабочая компоновка для компьютеров */
@media (min-width: 900px) {
  html, body { min-height: 100%; background: var(--bg); }
  body { padding: 0; }

  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0 0 0 260px;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .topbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    height: 100vh;
    padding: 26px 22px;
    align-items: flex-start;
    z-index: 20;
    box-shadow: 10px 0 36px #07122918;
  }

  .brand { align-items: center; }
  .brand img { width: 62px; height: 62px; }
  .brand small { font-size: 9px; letter-spacing: 1.2px; }
  .brand strong { font-size: 25px; }
  .icon-button { position: absolute; left: 22px; bottom: 24px; }

  .bottom-nav {
    position: fixed;
    left: 0;
    top: 118px;
    bottom: auto;
    transform: none;
    width: 260px;
    height: auto;
    padding: 14px 18px;
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    z-index: 30;
  }

  .bottom-nav button {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border-radius: 13px;
    color: #cbd3e3;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .bottom-nav span { font-size: 23px; }
  .bottom-nav small { font-size: 14px; }
  .bottom-nav button:hover { background: #ffffff12; color: #fff; }
  .bottom-nav button.active { background: #ffffff17; color: #fff; }
  .bottom-nav button.active span { color: var(--gold2); }

  main { width: 100%; min-height: 100vh; }
  .view { padding: 38px clamp(32px, 5vw, 76px) 46px; }
  .view.active { min-height: 100vh; }
  .welcome h1, .page-heading h1 { font-size: clamp(32px, 3vw, 45px); }
  .section-title { font-size: 25px; }

  .view[data-view="home"] {
    max-width: 1500px;
    margin: 0 auto;
  }
  .next-class { padding: 30px 34px; }
  .next-class::after { right: 30px; font-size: 190px; }
  .class-main h2 { font-size: 30px; }
  .class-main p, .place { font-size: 16px; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .quick-card { min-height: 105px; padding: 22px; }
  .quick-card b { font-size: 17px; }
  .quick-card small { font-size: 13px; }

  .view[data-view="schedule"],
  .view[data-view="payments"],
  .view[data-view="events"],
  .view[data-view="profile"] { max-width: 1500px; margin: 0 auto; }

  .week-strip { max-width: 760px; }
  .schedule-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .schedule-list article { min-height: 105px; }
  .locations #liveLocations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  .balance-card { padding: 34px; }
  .balance-card .gold-button { max-width: 420px; margin: 20px auto 0; }
  .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-history { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #liveEvents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .event-feature { margin: 0; }

  .profile-head, .profile-menu { max-width: 820px; margin-left: auto; margin-right: auto; }
  .profile-menu span { font-size: 16px; }

  .director-view { max-width: 1680px; margin: 0 auto; padding-top: 34px; }
  .director-heading h1 { font-size: 38px; }
  .director-heading p { font-size: 13px; }
  .director-stats { grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 15px; }
  .director-stats article { padding: 20px; }
  .director-stats small { min-height: 0; font-size: 14px; }
  .director-stats strong { font-size: 32px; }
  .director-tabs { gap: 10px; padding-bottom: 18px; }
  .director-tabs button { padding: 13px 20px; font-size: 15px; }
  .director-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .director-panel > .tab-section-title,
  .director-panel > section.management-card,
  .director-panel > .director-loading,
  .director-panel > .director-empty { grid-column: 1 / -1; }
  .management-card { padding: 22px; }
  .management-card > h2, .management-card summary { font-size: 23px; }
  .management-form input, .management-form select { min-height: 46px; }
  .user-list, .record-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .user-row, .record-row { padding: 17px; }

  .modal { align-items: center; padding-left: 260px; }
  .modal-sheet { width: min(720px, calc(100vw - 320px)); border-radius: 24px; padding: 32px; }
  .toast { left: calc(50% + 130px); bottom: 28px; }
}

@media (min-width: 1450px) {
  .schedule-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .user-list, .record-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
