@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .top-bar {
    padding-left: 24px !important;
  }

  #back-btn {
    display: none !important;
  }

  #bottomNav {
    display: none !important;
  }

  .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px;
  }

  .desktop-workspace {
    min-height: calc(100vh - 92px);
    display: grid;
    align-items: start;
    gap: 22px;
  }

  .desktop-workspace.is-home {
    grid-template-columns: minmax(320px, 460px);
    justify-content: center;
    padding-top: 18px;
  }

  .desktop-workspace.has-panel {
    grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
    animation: desktopWorkspaceIn 0.22s ease-out both;
  }

  .desktop-home-pane {
    position: sticky;
    top: 92px;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .desktop-workspace.has-panel .desktop-home-pane {
    animation: desktopMenuSlideLeft 0.24s ease-out both;
  }

  .desktop-home-pane .home-view {
    margin: 0;
    width: 100%;
  }

  .desktop-tab-pane {
    min-width: 0;
    width: 100%;
    max-width: none;
    animation: desktopPanelIn 0.24s ease-out both;
  }

  .desktop-tab-head {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--card-bg), color-mix(in srgb, var(--brand) 5%, var(--card-bg)));
    box-shadow: var(--shadow-soft);
  }

  .desktop-tab-head small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .desktop-tab-head h2 {
    margin: 2px 0 0;
    font-size: 1.24rem;
  }

  .desktop-tab-actions {
    display: flex;
    gap: 8px;
  }

  .desktop-close-tab,
  .desktop-step-tab,
  .desktop-arrow-btn {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 900;
    font-size: 1.15rem;
  }

  .desktop-close-tab {
    font-size: 1.28rem;
  }

  .desktop-close-tab:hover,
  .desktop-step-tab:hover,
  .desktop-arrow-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
  }

  .desktop-tab-body {
    width: 100%;
  }

  .desktop-tab-body > .page-card,
  .desktop-tab-body > .card,
  .desktop-tab-body > .screen-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .desktop-tab-body .page-cash,
  .desktop-tab-body .page-salary,
  .desktop-tab-body .page-kitchen,
  .desktop-tab-body .page-settings,
  .desktop-tab-body .page-danger,
  .desktop-tab-body .page-shopping,
  .desktop-tab-body .page-schedule {
    max-width: none !important;
  }

  .desktop-tab-body .calendar-grid,
  .desktop-tab-body .week-days {
    gap: 6px;
  }

  .desktop-tab-body .day-cell {
    min-height: 78px;
  }

  @keyframes desktopWorkspaceIn {
    from { opacity: 0.96; }
    to { opacity: 1; }
  }

  @keyframes desktopMenuSlideLeft {
    from { transform: translateX(28px); opacity: 0.92; }
    to { transform: translateX(0); opacity: 1; }
  }

  @keyframes desktopPanelIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
  }
}
